function __vite__mapDeps(indexes) {
  if (!__vite__mapDeps.viteFileDeps) {
    __vite__mapDeps.viteFileDeps = ["./pages-login-login.C1GUi9dv.js","./uni-forms.PuLW4LTF.js","./uni-icons.CV2B5ecl.js","./uni-icons-DhvOQdwS.css","./uni-forms-Bp4L5Mn5.css","./login-fplNMCqG.css","./pages-register-register.CbZswnhE.js","./register-CvBkPmbE.css","./pages-chat-chat.T1qVkP4p.js","./next-watermark.DRUgy6-Y.js","./next-watermark-D63zsrfA.css","./pop-menu.v4jCzxRv.js","./pop-menu-DERMqo0R.css","./uni-search-bar.DM2ZXH6d.js","./uni-search-bar-DbNGjZlM.css","./head-image.D_cPfMwA.js","./head-image-vGvEOewH.css","./uni-tag.BwE3udJk.js","./uni-tag-CLxyZ6Mz.css","./chat-Cm19QXdi.css","./pages-friend-friend.DFkOTQzD.js","./uni-transition.09NitZtR.js","./friend-CfckPyDs.css","./pages-group-group.CK-FpWEL.js","./group-item.CQWn2jxr.js","./group-item-BWnq1vmo.css","./group-CI9grjQR.css","./pages-AI-AI.D7n2ONNv.js","./AI-DWIuULg-.css","./pages-mine-mine.Bu9Wm8Wp.js","./mine-CJaJqC67.css","./pages-common-user-info.CwJVuYYn.js","./user-info-DUHVua0t.css","./pages-chat-chat-box.C7-p-k2a.js","./image-upload.CLesDllw.js","./image-upload-DoQ4hDIW.css","./file-upload.BXxH9VMH.js","./file-upload-qs-UOauP.css","./chat-box-BhbL1EvS.css","./pages-chat-chat-private-video.D1NPdZ1q.js","./chat-private-video-B_SY1GJM.css","./pages-chat-chat-group-video.Czro5i7s.js","./chat-group-video-BBGM-RH9.css","./pages-friend-friend-add.CaI0GXA3.js","./friend-add-B6QcLCkg.css","./pages-friend-group.D2vXg3a8.js","./group-BQ-C3HkX.css","./pages-group-group-info.DYP1NO3P.js","./uni-notice-bar.vpGby9VA.js","./uni-notice-bar-BfF-XKC0.css","./group-info-Ceqjo_Q1.css","./pages-group-group-edit.D5OAaonj.js","./group-edit-BeSGu-Nm.css","./pages-group-group-invite.BWHKV75A.js","./group-invite-fkPbTyqN.css","./pages-group-group-sending-check.DES7IWNc.js","./group-sending-check-Bbrg6fk2.css","./pages-group-group-member.CSN2hVtX.js","./group-member-C-PKIxgK.css","./pages-mine-mine-edit.CmfP3Vox.js","./mine-edit-C-rZkn9M.css","./pages-mine-mine-password.4gboKFTq.js","./mine-password-CbgpHXtF.css","./pages-common-previewFile.Ctk5mTTF.js","./previewFile-BKISQ-_k.css","./uni_modules-uni-upgrade-center-app-pages-upgrade-popup.D55r9Ioo.js","./upgrade-popup-ZNtL5VTR.css","./pages-common-setting.YEU3OSh3.js","./setting-whfRGpyU.css","./pages-update-update.DXCtU08S.js","./update-DBxYDSMe.css","./pages-push-push.BvLnsyPm.js","./push-BWzuzDBW.css","./pages-synergy-synergy-group.DKnowUUO.js","./synergy-group-jG-B00j1.css","./pages-synergy-synergy-detail.CEvtgrHS.js","./synergy-detail-s64wQZhu.css","./pages-synergy-synergy-info.CUs8eq7f.js","./synergy-info-D30xiJX7.css","./pages-synergy-synergy-detail-more.sf8s343t.js","./synergy-detail-more-CURkgXN2.css","./pages-synergy-synergy-person-add.Dq8jstAr.js","./synergy-person-add-CNGOIUdf.css","./pages-synergy-synergy-person-related.Bme2ypBi.js","./synergy-person-related-Dr2FRHKv.css","./pages-synergy-synergy-add.FQeOrWM8.js","./synergy-add-DKjHswis.css"]
  }
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,n,o){let i=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),a=(null==r?void 0:r.nonce)||(null==r?void 0:r.getAttribute("nonce"));i=Promise.all(n.map((n=>{if(n=function(e,t){return new URL(e,t).href}(n,o),n in e)return;e[n]=!0;const i=n.endsWith(".css"),r=i?'[rel="stylesheet"]':"";if(!!o)for(let e=t.length-1;e>=0;e--){const o=t[e];if(o.href===n&&(!i||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${n}"]${r}`))return;const s=document.createElement("link");return s.rel=i?"stylesheet":"modulepreload",i||(s.as="script",s.crossOrigin=""),s.href=n,a&&s.setAttribute("nonce",a),document.head.appendChild(s),i?new Promise(((e,t)=>{s.addEventListener("load",e),s.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${n}`))))})):void 0})))}return i.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))};
/**
* @vue/shared v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
function n(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const o={},i=[],r=()=>{},a=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,h=(e,t)=>d.call(e,t),p=Array.isArray,f=e=>"[object Map]"===w(e),m=e=>"[object Set]"===w(e),g=e=>"function"==typeof e,y=e=>"string"==typeof e,b=e=>"symbol"==typeof e,v=e=>null!==e&&"object"==typeof e,_=e=>(v(e)||g(e))&&g(e.then)&&g(e.catch),S=Object.prototype.toString,w=e=>S.call(e),x=e=>"[object Object]"===w(e),C=e=>y(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,k=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),A=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},T=/-(\w)/g,I=A((e=>e.replace(T,((e,t)=>t?t.toUpperCase():"")))),B=/\B([A-Z])/g,E=A((e=>e.replace(B,"-$1").toLowerCase())),P=A((e=>e.charAt(0).toUpperCase()+e.slice(1))),O=A((e=>e?`on${P(e)}`:"")),M=(e,t)=>!Object.is(e,t),D=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},z=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},R=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let N;const L=()=>N||(N="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function j(e){if(p(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],i=y(o)?V(o):j(o);if(i)for(const e in i)t[e]=i[e]}return t}if(y(e)||v(e))return e}const $=/;(?![^(]*\))/g,F=/:([^]+)/,H=/\/\*[^]*?\*\//g;function V(e){const t={};return e.replace(H,"").split($).forEach((e=>{if(e){const n=e.split(F);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function U(e){let t="";if(y(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){const o=U(e[n]);o&&(t+=o+" ")}else if(v(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const W=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Q(e){return!!e||""===e}const q=e=>y(e)?e:null==e?"":p(e)||v(e)&&(e.toString===S||!g(e.toString))?JSON.stringify(e,G,2):String(e),G=(e,t)=>t&&t.__v_isRef?G(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[Y(t,o)+" =>"]=n,e)),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>Y(e)))}:b(t)?Y(t):!v(t)||p(t)||x(t)?t:String(t),Y=(e,t="")=>{var n;return b(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},X=["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)),J=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),K=["list-item"].map((e=>"uni-"+e));function Z(e){if(-1!==K.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==X.indexOf(t)||-1!==J.indexOf(t)}const ee=["%","%"],te=/^([a-z-]+:)?\/\//i,ne=/^data:.*,.*/;function oe(e){return 0===e.indexOf("/")}function ie(e){return oe(e)?e:"/"+e}function re(e){return oe(e)?e.slice(1):e}function ae(e,t){for(const n in t)e.style[n]=t[n]}function se(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}function le(e,t){e=e||{},y(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?g(e.success)&&e.success(t):g(e.fail)&&e.fail(t),g(e.complete)&&e.complete(t)}let ce;function ue(){return ce||(ce=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")()}(),ce)}function de(e){return e&&(e.appContext?e.proxy:e)}function he(e){if(!e)return;let t=e.type.name;for(;t&&Z(E(t));)t=(e=e.parent).type.name;return e.proxy}function pe(e){return 1===e.nodeType}function fe(e){const t=ue();if(t&&t.UTSJSONObject&&e instanceof t.UTSJSONObject){const n={};return t.UTSJSONObject.keys(e).forEach((t=>{n[t]=e[t]})),j(n)}if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),j(t)}if(y(e))return V(e);if(p(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],i=y(o)?V(o):fe(o);if(i)for(const e in i)t[e]=i[e]}return t}return j(e)}function me(e){let t="";const n=ue();if(n&&n.UTSJSONObject&&e instanceof n.UTSJSONObject)n.UTSJSONObject.keys(e).forEach((n=>{e[n]&&(t+=n+" ")}));else if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(p(e))for(let o=0;o<e.length;o++){const n=me(e[o]);n&&(t+=n+" ")}else t=U(e);return t.trim()}function ge(e){return I(e.substring(5))}const ye=se((e=>{e=e||(e=>e.tagName.startsWith("UNI-"));const t=HTMLElement.prototype,n=t.setAttribute;t.setAttribute=function(t,o){if(t.startsWith("data-")&&e(this)){(this.__uniDataset||(this.__uniDataset={}))[ge(t)]=o}n.call(this,t,o)};const o=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[ge(t)],o.call(this,t)}}));function be(e){return c({},e.dataset,e.__uniDataset)}const ve=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function _e(e){return{passive:e}}function Se(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:be(e),offsetTop:n,offsetLeft:o}}function we(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function xe(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=we(e[n])}catch(o){t[n]=e[n]}})),t}const Ce=/\+/g;function ke(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(Ce," ");let i=e.indexOf("="),r=we(i<0?e:e.slice(0,i)),a=i<0?null:we(e.slice(i+1));if(r in t){let e=t[r];p(e)||(e=t[r]=[e]),e.push(a)}else t[r]=a}return t}function Ae(e,t,{clearTimeout:n,setTimeout:o}){let i;const r=function(){n(i);const r=()=>e.apply(this,arguments);i=o(r,t)};return r.cancel=function(){n(i)},r}class Te{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;o<n.length;)n[o].fn===t&&(n.splice(o,1),o--),o++;else delete this.listener[e]}_clearCache(e){for(let t=0;t<this.emitCache.length;t++){const n=this.emitCache[t],o=e?n.eventName===e?e:null:n.eventName;if(!o)continue;"number"!=typeof this.emit.apply(this,[o,...n.args])?(this.emitCache.splice(t,1),t--):this.emitCache.pop()}}_addListener(e,t,n){(this.listener[e]||(this.listener[e]=[])).push({fn:n,type:t})}}const Ie=["onInit","onLoad","onShow","onHide","onUnload","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onShareAppMessage","onShareChat","onAddToFavorites","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const Be=["onShow","onHide","onLaunch","onError","onThemeChange","onPageNotFound","onUnhandledRejection","onExit","onInit","onLoad","onReady","onUnload","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onAddToFavorites","onShareAppMessage","onShareChat","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const Ee=[];const Pe=se(((e,t)=>t(e))),Oe=function(){};Oe.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var o=this;function i(){o.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,i=n.length;o<i;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],i=[];if(o&&t){for(var r=o.length-1;r>=0;r--)if(o[r].fn===t||o[r].fn._===t||o[r]._id===t){o.splice(r,1);break}i=o}return i.length?n[e]=i:delete n[e],this}};var Me=Oe;const De={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function ze(e,t,n){if(y(t)&&t.startsWith("@")){let i=e[t.replace("@","")]||t;switch(n){case"titleColor":i="black"===i?"#000000":"#ffffff";break;case"borderStyle":i=(o=i)&&o in De?De[o]:o}return i}var o;return t}function Re(e,t={},n="light"){const o=t[n],i={};return void 0!==o&&e?(Object.keys(e).forEach((r=>{const a=e[r];i[r]=x(a)?Re(a,t,n):p(a)?a.map((e=>x(e)?Re(e,t,n):ze(o,e))):ze(o,a,r)})),i):e}
/**
* @dcloudio/uni-h5-vue v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Ne,Le;class je{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ne,!e&&Ne&&(this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Ne;try{return Ne=this,e()}finally{Ne=t}}}on(){Ne=this}off(){Ne=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function $e(e){return new je(e)}function Fe(){return Ne}class He{constructor(e,t,n,o){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,function(e,t=Ne){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Ye();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(t.computed.value,this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Xe()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Qe,t=Le;try{return Qe=!0,Le=this,this._runnings++,Ve(this),this.fn()}finally{Ue(this),this._runnings--,Le=t,Qe=e}}stop(){var e;this.active&&(Ve(this),Ue(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Ve(e){e._trackId++,e._depsLength=0}function Ue(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)We(e.deps[t],e);e.deps.length=e._depsLength}}function We(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let Qe=!0,qe=0;const Ge=[];function Ye(){Ge.push(Qe),Qe=!1}function Xe(){const e=Ge.pop();Qe=void 0===e||e}function Je(){qe++}function Ke(){for(qe--;!qe&&et.length;)et.shift()()}function Ze(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&We(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const et=[];function tt(e,t,n){Je();for(const o of e.keys()){let n;o._dirtyLevel<t&&(null!=n?n:n=e.get(o)===o._trackId)&&(o._shouldSchedule||(o._shouldSchedule=0===o._dirtyLevel),o._dirtyLevel=t),o._shouldSchedule&&(null!=n?n:n=e.get(o)===o._trackId)&&(o.trigger(),o._runnings&&!o.allowRecurse||2===o._dirtyLevel||(o._shouldSchedule=!1,o.scheduler&&et.push(o.scheduler)))}Ke()}const nt=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ot=new WeakMap,it=Symbol(""),rt=Symbol("");function at(e,t,n){if(Qe&&Le){let t=ot.get(e);t||ot.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=nt((()=>t.delete(n)))),Ze(Le,o)}}function st(e,t,n,o,i,r){const a=ot.get(e);if(!a)return;let s=[];if("clear"===t)s=[...a.values()];else if("length"===n&&p(e)){const e=Number(o);a.forEach(((t,n)=>{("length"===n||!b(n)&&n>=e)&&s.push(t)}))}else switch(void 0!==n&&s.push(a.get(n)),t){case"add":p(e)?C(n)&&s.push(a.get("length")):(s.push(a.get(it)),f(e)&&s.push(a.get(rt)));break;case"delete":p(e)||(s.push(a.get(it)),f(e)&&s.push(a.get(rt)));break;case"set":f(e)&&s.push(a.get(it))}Je();for(const l of s)l&&tt(l,4);Ke()}const lt=n("__proto__,__v_isRef,__isVue"),ct=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(b)),ut=dt();function dt(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Zt(this);for(let t=0,i=this.length;t<i;t++)at(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Zt)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Ye(),Je();const n=Zt(this)[t].apply(this,e);return Ke(),Xe(),n}})),e}function ht(e){const t=Zt(this);return at(t,0,e),t.hasOwnProperty(e)}class pt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return i;if("__v_raw"===t)return n===(o?i?Vt:Ht:i?Ft:$t).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=p(e);if(!o){if(r&&h(ut,t))return Reflect.get(ut,t,n);if("hasOwnProperty"===t)return ht}const a=Reflect.get(e,t,n);return(b(t)?ct.has(t):lt(t))?a:(o||at(e,0,t),i?a:sn(a)?r&&C(t)?a:a.value:v(a)?o?qt(a):Wt(a):a)}}class ft extends pt{constructor(e=!1){super(!1,e)}set(e,t,n,o){let i=e[t];if(!this._isShallow){const t=Xt(i);if(Jt(n)||Xt(n)||(i=Zt(i),n=Zt(n)),!p(e)&&sn(i)&&!sn(n))return!t&&(i.value=n,!0)}const r=p(e)&&C(t)?Number(t)<e.length:h(e,t),a=Reflect.set(e,t,n,o);return e===Zt(o)&&(r?M(n,i)&&st(e,"set",t,n):st(e,"add",t,n)),a}deleteProperty(e,t){const n=h(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&st(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return b(t)&&ct.has(t)||at(e,0,t),n}ownKeys(e){return at(e,0,p(e)?"length":it),Reflect.ownKeys(e)}}class mt extends pt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const gt=new ft,yt=new mt,bt=new ft(!0),vt=e=>e,_t=e=>Reflect.getPrototypeOf(e);function St(e,t,n=!1,o=!1){const i=Zt(e=e.__v_raw),r=Zt(t);n||(M(t,r)&&at(i,0,t),at(i,0,r));const{has:a}=_t(i),s=o?vt:n?nn:tn;return a.call(i,t)?s(e.get(t)):a.call(i,r)?s(e.get(r)):void(e!==i&&e.get(t))}function wt(e,t=!1){const n=this.__v_raw,o=Zt(n),i=Zt(e);return t||(M(e,i)&&at(o,0,e),at(o,0,i)),e===i?n.has(e):n.has(e)||n.has(i)}function xt(e,t=!1){return e=e.__v_raw,!t&&at(Zt(e),0,it),Reflect.get(e,"size",e)}function Ct(e){e=Zt(e);const t=Zt(this);return _t(t).has.call(t,e)||(t.add(e),st(t,"add",e,e)),this}function kt(e,t){t=Zt(t);const n=Zt(this),{has:o,get:i}=_t(n);let r=o.call(n,e);r||(e=Zt(e),r=o.call(n,e));const a=i.call(n,e);return n.set(e,t),r?M(t,a)&&st(n,"set",e,t):st(n,"add",e,t),this}function At(e){const t=Zt(this),{has:n,get:o}=_t(t);let i=n.call(t,e);i||(e=Zt(e),i=n.call(t,e)),o&&o.call(t,e);const r=t.delete(e);return i&&st(t,"delete",e,void 0),r}function Tt(){const e=Zt(this),t=0!==e.size,n=e.clear();return t&&st(e,"clear",void 0,void 0),n}function It(e,t){return function(n,o){const i=this,r=i.__v_raw,a=Zt(r),s=t?vt:e?nn:tn;return!e&&at(a,0,it),r.forEach(((e,t)=>n.call(o,s(e),s(t),i)))}}function Bt(e,t,n){return function(...o){const i=this.__v_raw,r=Zt(i),a=f(r),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,c=i[e](...o),u=n?vt:t?nn:tn;return!t&&at(r,0,l?rt:it),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Et(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Pt(){const e={get(e){return St(this,e)},get size(){return xt(this)},has:wt,add:Ct,set:kt,delete:At,clear:Tt,forEach:It(!1,!1)},t={get(e){return St(this,e,!1,!0)},get size(){return xt(this)},has:wt,add:Ct,set:kt,delete:At,clear:Tt,forEach:It(!1,!0)},n={get(e){return St(this,e,!0)},get size(){return xt(this,!0)},has(e){return wt.call(this,e,!0)},add:Et("add"),set:Et("set"),delete:Et("delete"),clear:Et("clear"),forEach:It(!0,!1)},o={get(e){return St(this,e,!0,!0)},get size(){return xt(this,!0)},has(e){return wt.call(this,e,!0)},add:Et("add"),set:Et("set"),delete:Et("delete"),clear:Et("clear"),forEach:It(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((i=>{e[i]=Bt(i,!1,!1),n[i]=Bt(i,!0,!1),t[i]=Bt(i,!1,!0),o[i]=Bt(i,!0,!0)})),[e,n,t,o]}const[Ot,Mt,Dt,zt]=Pt();function Rt(e,t){const n=t?e?zt:Dt:e?Mt:Ot;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(h(n,o)&&o in t?n:t,o,i)}const Nt={get:Rt(!1,!1)},Lt={get:Rt(!1,!0)},jt={get:Rt(!0,!1)},$t=new WeakMap,Ft=new WeakMap,Ht=new WeakMap,Vt=new WeakMap;function Ut(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>w(e).slice(8,-1))(e))}function Wt(e){return Xt(e)?e:Gt(e,!1,gt,Nt,$t)}function Qt(e){return Gt(e,!1,bt,Lt,Ft)}function qt(e){return Gt(e,!0,yt,jt,Ht)}function Gt(e,t,n,o,i){if(!v(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const a=Ut(e);if(0===a)return e;const s=new Proxy(e,2===a?o:n);return i.set(e,s),s}function Yt(e){return Xt(e)?Yt(e.__v_raw):!(!e||!e.__v_isReactive)}function Xt(e){return!(!e||!e.__v_isReadonly)}function Jt(e){return!(!e||!e.__v_isShallow)}function Kt(e){return Yt(e)||Xt(e)}function Zt(e){const t=e&&e.__v_raw;return t?Zt(t):e}function en(e){return Object.isExtensible(e)&&z(e,"__v_skip",!0),e}const tn=e=>v(e)?Wt(e):e,nn=e=>v(e)?qt(e):e;class on{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new He((()=>e(this._value)),(()=>an(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=Zt(this);return e._cacheable&&!e.effect.dirty||!M(e._value,e._value=e.effect.run())||an(e,4),rn(e),e.effect._dirtyLevel>=2&&an(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function rn(e){var t;Qe&&Le&&(e=Zt(e),Ze(Le,null!=(t=e.dep)?t:e.dep=nt((()=>e.dep=void 0),e instanceof on?e:void 0)))}function an(e,t=4,n){const o=(e=Zt(e)).dep;o&&tt(o,t)}function sn(e){return!(!e||!0!==e.__v_isRef)}function ln(e){return un(e,!1)}function cn(e){return un(e,!0)}function un(e,t){return sn(e)?e:new dn(e,t)}class dn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Zt(e),this._value=t?e:tn(e)}get value(){return rn(this),this._value}set value(e){const t=this.__v_isShallow||Jt(e)||Xt(e);e=t?e:Zt(e),M(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:tn(e),an(this,4))}}function hn(e){return sn(e)?e.value:e}const pn={get:(e,t,n)=>hn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const i=e[t];return sn(i)&&!sn(n)?(i.value=n,!0):Reflect.set(e,t,n,o)}};function fn(e){return Yt(e)?e:new Proxy(e,pn)}class mn{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=Zt(this._object),t=this._key,null==(n=ot.get(e))?void 0:n.get(t);var e,t,n}}class gn{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function yn(e,t,n){return sn(e)?e:g(e)?new gn(e):v(e)&&arguments.length>1?bn(e,t,n):ln(e)}function bn(e,t,n){const o=e[t];return sn(o)?o:new mn(e,t,n)}function vn(e,t,n,o){try{return o?e(...o):e()}catch(i){Sn(i,t,n)}}function _n(e,t,n,o){if(g(e)){const i=vn(e,t,n,o);return i&&_(i)&&i.catch((e=>{Sn(e,t,n)})),i}const i=[];for(let r=0;r<e.length;r++)i.push(_n(e[r],t,n,o));return i}function Sn(e,t,n,o=!0){const i=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,r=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,i,r))return;o=o.parent}const a=t.appContext.config.errorHandler;if(a)return void vn(a,null,10,[e,i,r])}wn(e,n,i,o)}function wn(e,t,n,o=!0){console.error(e)}let xn=!1,Cn=!1;const kn=[];let An=0;const Tn=[];let In=null,Bn=0;const En=Promise.resolve();let Pn=null;function On(e){const t=Pn||En;return e?t.then(this?e.bind(this):e):t}function Mn(e){kn.length&&kn.includes(e,xn&&e.allowRecurse?An+1:An)||(null==e.id?kn.push(e):kn.splice(function(e){let t=An+1,n=kn.length;for(;t<n;){const o=t+n>>>1,i=kn[o],r=Nn(i);r<e||r===e&&i.pre?t=o+1:n=o}return t}(e.id),0,e),Dn())}function Dn(){xn||Cn||(Cn=!0,Pn=En.then(jn))}function zn(e,t,n=(xn?An+1:0)){for(;n<kn.length;n++){const t=kn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;kn.splice(n,1),n--,t()}}}function Rn(e){if(Tn.length){const e=[...new Set(Tn)].sort(((e,t)=>Nn(e)-Nn(t)));if(Tn.length=0,In)return void In.push(...e);for(In=e,Bn=0;Bn<In.length;Bn++)In[Bn]();In=null,Bn=0}}const Nn=e=>null==e.id?1/0:e.id,Ln=(e,t)=>{const n=Nn(e)-Nn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function jn(e){Cn=!1,xn=!0,kn.sort(Ln);try{for(An=0;An<kn.length;An++){const e=kn[An];e&&!1!==e.active&&vn(e,null,14)}}finally{An=0,kn.length=0,Rn(),xn=!1,Pn=null,(kn.length||Tn.length)&&jn()}}function $n(e,t,...n){if(e.isUnmounted)return;const i=e.vnode.props||o;let r=n;const a=t.startsWith("update:"),s=a&&t.slice(7);if(s&&s in i){const e=`${"modelValue"===s?"model":s}Modifiers`,{number:t,trim:a}=i[e]||o;a&&(r=n.map((e=>y(e)?e.trim():e))),t&&(r=n.map(R))}let l,c=i[l=O(t)]||i[l=O(I(t))];!c&&a&&(c=i[l=O(E(t))]),c&&_n(c,e,6,Fn(e,c,r));const u=i[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,_n(u,e,6,Fn(e,u,r))}}function Fn(e,t,n){if(1!==n.length)return n;if(g(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&h(o,"type")&&h(o,"timeStamp")&&h(o,"target")&&h(o,"currentTarget")&&h(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function Hn(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(void 0!==i)return i;const r=e.emits;let a={},s=!1;if(!g(e)){const o=e=>{const n=Hn(e,t,!0);n&&(s=!0,c(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return r||s?(p(r)?r.forEach((e=>a[e]=null)):c(a,r),v(e)&&o.set(e,a),a):(v(e)&&o.set(e,null),null)}function Vn(e,t){return!(!e||!s(t))&&(t=t.slice(2).replace(/Once$/,""),h(e,t[0].toLowerCase()+t.slice(1))||h(e,E(t))||h(e,t))}let Un=null,Wn=null;function Qn(e){const t=Un;return Un=e,Wn=e&&e.type.__scopeId||null,t}function qn(e,t=Un,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&tr(-1);const i=Qn(t);let r;try{r=e(...n)}finally{Qn(i),o._d&&tr(1)}return r};return o._n=!0,o._c=!0,o._d=!0,o}function Gn(e){const{type:t,vnode:n,proxy:o,withProxy:i,props:r,propsOptions:[a],slots:s,attrs:c,emit:u,render:d,renderCache:h,data:p,setupState:f,ctx:m,inheritAttrs:g}=e;let y,b;const v=Qn(e);try{if(4&n.shapeFlag){const e=i||o,t=e;y=mr(d.call(t,e,h,r,f,p,m)),b=c}else{const e=t;0,y=mr(e.length>1?e(r,{attrs:c,slots:s,emit:u}):e(r,null)),b=t.props?c:Yn(c)}}catch(S){Ji.length=0,Sn(S,e,1),y=dr(Yi)}let _=y;if(b&&!1!==g){const e=Object.keys(b),{shapeFlag:t}=_;e.length&&7&t&&(a&&e.some(l)&&(b=Xn(b,a)),_=hr(_,b))}return n.dirs&&(_=hr(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),y=_,Qn(v),y}const Yn=e=>{let t;for(const n in e)("class"===n||"style"===n||s(n))&&((t||(t={}))[n]=e[n]);return t},Xn=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Jn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let i=0;i<o.length;i++){const r=o[i];if(t[r]!==e[r]&&!Vn(n,r))return!0}return!1}function Kn(e,t){return to("components",e,!0,t)||e}const Zn=Symbol.for("v-ndc");function eo(e){return y(e)?to("components",e,!1)||e:e||Zn}function to(e,t,n=!0,o=!1){const i=Un||wr;if(i){const n=i.type;if("components"===e){const e=Mr(n,!1);if(e&&(e===t||e===I(t)||e===P(I(t))))return n}const r=no(i[e]||n[e],t)||no(i.appContext[e],t);return!r&&o?n:r}}function no(e,t){return e&&(e[t]||e[I(t)]||e[P(I(t))])}const oo=e=>e.__isSuspense;const io=Symbol.for("v-scx");function ro(e,t){return lo(e,null,t)}const ao={};function so(e,t,n){return lo(e,t,n)}function lo(e,t,{immediate:n,deep:i,flush:a,once:s,onTrack:l,onTrigger:c}=o){if(t&&s){const e=t;t=(...t)=>{e(...t),A()}}const d=wr,h=e=>!0===i?e:ho(e,!1===i?1:void 0);let f,m,y=!1,b=!1;if(sn(e)?(f=()=>e.value,y=Jt(e)):Yt(e)?(f=()=>h(e),y=!0):p(e)?(b=!0,y=e.some((e=>Yt(e)||Jt(e))),f=()=>e.map((e=>sn(e)?e.value:Yt(e)?h(e):g(e)?vn(e,d,2):void 0))):f=g(e)?t?()=>vn(e,d,2):()=>(m&&m(),_n(e,d,3,[_])):r,t&&i){const e=f;f=()=>ho(e())}let v,_=e=>{m=C.onStop=()=>{vn(e,d,4),m=C.onStop=void 0}};if(Br){if(_=r,t?n&&_n(t,d,3,[f(),b?[]:void 0,_]):f(),"sync"!==a)return r;{const e=Ai(io);v=e.__watcherHandles||(e.__watcherHandles=[])}}let S=b?new Array(e.length).fill(ao):ao;const w=()=>{if(C.active&&C.dirty)if(t){const e=C.run();(i||y||(b?e.some(((e,t)=>M(e,S[t]))):M(e,S)))&&(m&&m(),_n(t,d,3,[e,S===ao?void 0:b&&S[0]===ao?[]:S,_]),S=e)}else C.run()};let x;w.allowRecurse=!!t,"sync"===a?x=w:"post"===a?x=()=>Fi(w,d&&d.suspense):(w.pre=!0,d&&(w.id=d.uid),x=()=>Mn(w));const C=new He(f,r,x),k=Fe(),A=()=>{C.stop(),k&&u(k.effects,C)};return t?n?w():S=C.run():"post"===a?Fi(C.run.bind(C),d&&d.suspense):C.run(),v&&v.push(A),A}function co(e,t,n){const o=this.proxy,i=y(e)?e.includes(".")?uo(o,e):()=>o[e]:e.bind(o,o);let r;g(t)?r=t:(r=t.handler,n=t);const a=Ar(this),s=lo(i,r.bind(o),n);return a(),s}function uo(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function ho(e,t,n=0,o){if(!v(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),sn(e))ho(e.value,t,n,o);else if(p(e))for(let i=0;i<e.length;i++)ho(e[i],t,n,o);else if(m(e)||f(e))e.forEach((e=>{ho(e,t,n,o)}));else if(x(e))for(const i in e)ho(e[i],t,n,o);return e}function po(e,t){if(null===Un)return e;const n=Or(Un)||Un.proxy,i=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[e,a,s,l=o]=t[r];e&&(g(e)&&(e={mounted:e,updated:e}),e.deep&&ho(a),i.push({dir:e,instance:n,value:a,oldValue:void 0,arg:s,modifiers:l}))}return e}function fo(e,t,n,o){const i=e.dirs,r=t&&t.dirs;for(let a=0;a<i.length;a++){const s=i[a];r&&(s.oldValue=r[a].value);let l=s.dir[o];l&&(Ye(),_n(l,n,8,[e.el,s,e,t]),Xe())}}const mo=Symbol("_leaveCb"),go=Symbol("_enterCb");const yo=[Function,Array],bo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:yo,onEnter:yo,onAfterEnter:yo,onEnterCancelled:yo,onBeforeLeave:yo,onLeave:yo,onAfterLeave:yo,onLeaveCancelled:yo,onBeforeAppear:yo,onAppear:yo,onAfterAppear:yo,onAppearCancelled:yo},vo={name:"BaseTransition",props:bo,setup(e,{slots:t}){const n=xr(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Qo((()=>{e.isMounted=!0})),Yo((()=>{e.isUnmounting=!0})),e}();return()=>{const i=t.default&&ko(t.default(),!0);if(!i||!i.length)return;let r=i[0];if(i.length>1)for(const e of i)if(e.type!==Yi){r=e;break}const a=Zt(e),{mode:s}=a;if(o.isLeaving)return wo(r);const l=xo(r);if(!l)return wo(r);const c=So(l,a,o,n);Co(l,c);const u=n.subTree,d=u&&xo(u);if(d&&d.type!==Yi&&!ar(l,d)){const e=So(d,a,o,n);if(Co(d,e),"out-in"===s)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},wo(r);"in-out"===s&&l.type!==Yi&&(e.delayLeave=(e,t,n)=>{_o(o,d)[String(d.key)]=d,e[mo]=()=>{t(),e[mo]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return r}}};function _o(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function So(e,t,n,o){const{appear:i,mode:r,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:f,onLeaveCancelled:m,onBeforeAppear:g,onAppear:y,onAfterAppear:b,onAppearCancelled:v}=t,_=String(e.key),S=_o(n,e),w=(e,t)=>{e&&_n(e,o,9,t)},x=(e,t)=>{const n=t[1];w(e,t),p(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},C={mode:r,persisted:a,beforeEnter(t){let o=s;if(!n.isMounted){if(!i)return;o=g||s}t[mo]&&t[mo](!0);const r=S[_];r&&ar(e,r)&&r.el[mo]&&r.el[mo](),w(o,[t])},enter(e){let t=l,o=c,r=u;if(!n.isMounted){if(!i)return;t=y||l,o=b||c,r=v||u}let a=!1;const s=e[go]=t=>{a||(a=!0,w(t?r:o,[e]),C.delayedLeave&&C.delayedLeave(),e[go]=void 0)};t?x(t,[e,s]):s()},leave(t,o){const i=String(e.key);if(t[go]&&t[go](!0),n.isUnmounting)return o();w(d,[t]);let r=!1;const a=t[mo]=n=>{r||(r=!0,o(),w(n?m:f,[t]),t[mo]=void 0,S[i]===e&&delete S[i])};S[i]=e,h?x(h,[t,a]):a()},clone:e=>So(e,t,n,o)};return C}function wo(e){if(Eo(e))return(e=hr(e)).children=null,e}function xo(e){return Eo(e)?e.children?e.children[0]:void 0:e}function Co(e,t){6&e.shapeFlag&&e.component?Co(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 ko(e,t=!1,n){let o=[],i=0;for(let r=0;r<e.length;r++){let a=e[r];const s=null==n?a.key:String(n)+String(null!=a.key?a.key:r);a.type===qi?(128&a.patchFlag&&i++,o=o.concat(ko(a.children,t,s))):(t||a.type!==Yi)&&o.push(null!=s?hr(a,{key:s}):a)}if(i>1)for(let r=0;r<o.length;r++)o[r].patchFlag=-2;return o}
/*! #__NO_SIDE_EFFECTS__ */function Ao(e,t){return g(e)?(()=>c({name:e.name},t,{setup:e}))():e}const To=e=>!!e.type.__asyncLoader
/*! #__NO_SIDE_EFFECTS__ */;function Io(e){g(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:i=200,timeout:r,suspensible:a=!0,onError:s}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise(((t,n)=>{s(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return Ao({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=wr;if(l)return()=>Bo(l,e);const t=t=>{c=null,Sn(t,e,13,!o)};if(a&&e.suspense||Br)return d().then((t=>()=>Bo(t,e))).catch((e=>(t(e),()=>o?dr(o,{error:e}):null)));const s=ln(!1),u=ln(),h=ln(!!i);return i&&setTimeout((()=>{h.value=!1}),i),null!=r&&setTimeout((()=>{if(!s.value&&!u.value){const e=new Error(`Async component timed out after ${r}ms.`);t(e),u.value=e}}),r),d().then((()=>{s.value=!0,e.parent&&Eo(e.parent.vnode)&&(e.parent.effect.dirty=!0,Mn(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>s.value&&l?Bo(l,e):u.value&&o?dr(o,{error:u.value}):n&&!h.value?dr(n):void 0}})}function Bo(e,t){const{ref:n,props:o,children:i,ce:r}=t.vnode,a=dr(e,o,i);return a.ref=n,a.ce=r,delete t.vnode.ce,a}const Eo=e=>e.type.__isKeepAlive;class Po{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:o}=this,i=t.get(e);if(i)n.delete(e),n.add(e);else if(n.add(e),o&&n.size>o){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return i}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 Oo={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=xr(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const i=e.cache||new Po(e.max);i.pruneCacheEntry=a;let r=null;function a(t){var o;!r||!ar(t,r)||"key"===e.matchBy&&t.key!==r.key?(jo(o=t),u(o,n,s,!0)):r&&jo(r)}const s=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,h=d("div");function p(t){i.forEach(((n,o)=>{const r=Fo(n,e.matchBy);!r||t&&t(r)||(i.delete(o),a(n))}))}o.activate=(e,t,n,o,i)=>{const r=e.component;if(r.ba){const e=r.isDeactivated;r.isDeactivated=!1,D(r.ba),r.isDeactivated=e}c(e,t,n,0,s),l(r.vnode,e,t,n,r,s,o,e.slotScopeIds,i),Fi((()=>{r.isDeactivated=!1,r.a&&D(r.a);const t=e.props&&e.props.onVnodeMounted;t&&vr(t,r.parent,e)}),s)},o.deactivate=e=>{const t=e.component;t.bda&&Ho(t.bda),c(e,h,null,1,s),Fi((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&D(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&vr(n,t.parent,e),t.isDeactivated=!0}),s)},so((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&p((t=>Do(e,t))),t&&p((e=>!Do(t,e)))}),{flush:"post",deep:!0});let f=null;const m=()=>{null!=f&&i.set(f,$o(n.subTree))};return Qo(m),Go(m),Yo((()=>{i.forEach(((t,o)=>{i.delete(o),a(t);const{subTree:r,suspense:s}=n,l=$o(r);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&D(l.component.bda),jo(l);const e=l.component.da;e&&Fi(e,s)}}))})),()=>{if(f=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return r=null,n;if(!rr(o)||!(4&o.shapeFlag)&&!oo(o.type))return r=null,o;let a=$o(o);const s=a.type,l=Fo(a,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!Do(c,l))||u&&l&&Do(u,l))return r=a,o;const d=null==a.key?s:a.key,h=i.get(d);return a.el&&(a=hr(a),oo(o.type)&&(o.ssContent=a)),f=d,h&&(a.el=h.el,a.component=h.component,a.transition&&Co(a,a.transition),a.shapeFlag|=512),a.shapeFlag|=256,r=a,oo(o.type)?o:a}}},Mo=Oo;function Do(e,t){return p(e)?e.some((e=>Do(e,t))):y(e)?e.split(",").includes(t):"[object RegExp]"===w(e)&&e.test(t)}function zo(e,t){No(e,"a",t)}function Ro(e,t){No(e,"da",t)}function No(e,t,n=wr){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,Vo(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Eo(e.parent.vnode)&&Lo(o,t,n,e),e=e.parent}}function Lo(e,t,n,o){const i=Vo(t,e,o,!0);Xo((()=>{u(o[t],i)}),n)}function jo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function $o(e){return oo(e.type)?e.ssContent:e}function Fo(e,t){if("name"===t){const t=e.type;return Mr(To(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Ho(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function Vo(e,t,n=wr,o=!1){if(n){if(i=e,Ie.indexOf(i)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return["onLoad","onShow"].indexOf(e)>-1}(e))){const o=n.proxy;_n(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const r=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Ye();const i=Ar(n),r=_n(t,n,e,o);return i(),Xe(),r});return o?r.unshift(a):r.push(a),a}var i}const Uo=e=>(t,n=wr)=>(!Br||"sp"===e)&&Vo(e,((...e)=>t(...e)),n),Wo=Uo("bm"),Qo=Uo("m"),qo=Uo("bu"),Go=Uo("u"),Yo=Uo("bum"),Xo=Uo("um"),Jo=Uo("sp"),Ko=Uo("rtg"),Zo=Uo("rtc");function ei(e,t=wr){Vo("ec",e,t)}function ti(e,t,n,o){let i;const r=n&&n[o];if(p(e)||y(e)){i=new Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(e[n],n,void 0,r&&r[n])}else if("number"==typeof e){i=new Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,r&&r[n])}else if(v(e))if(e[Symbol.iterator])i=Array.from(e,((e,n)=>t(e,n,void 0,r&&r[n])));else{const n=Object.keys(e);i=new Array(n.length);for(let o=0,a=n.length;o<a;o++){const a=n[o];i[o]=t(e[a],a,o,r&&r[o])}}else i=[];return n&&(n[o]=i),i}function ni(e,t,n={},o,i){if(Un.isCE||Un.parent&&To(Un.parent)&&Un.parent.isCE)return"default"!==t&&(n.name=t),dr("slot",n,o&&o());let r=e[t];r&&r._c&&(r._d=!1),Zi();const a=r&&oi(r(n)),s=ir(qi,{key:n.key||a&&a.key||`_${t}`},a||(o?o():[]),a&&1===e._?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),r&&r._c&&(r._d=!0),s}function oi(e){return e.some((e=>!rr(e)||e.type!==Yi&&!(e.type===qi&&!oi(e.children))))?e:null}const ii=e=>{if(!e)return null;if(Ir(e)){return Or(e)||e.proxy}return ii(e.parent)},ri=c(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ii(e.parent),$root:e=>ii(e.root),$emit:e=>e.emit,$options:e=>pi(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,Mn(e.update)})(e)),$nextTick:e=>e.n||(e.n=On.bind(e.proxy)),$watch:e=>co.bind(e)}),ai=(e,t)=>e!==o&&!e.__isScriptSetup&&h(e,t),si={get({_:e},t){const{ctx:n,setupState:i,data:r,props:a,accessCache:s,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=s[t];if(void 0!==l)switch(l){case 1:return i[t];case 2:return r[t];case 4:return n[t];case 3:return a[t]}else{if(ai(i,t))return s[t]=1,i[t];if(r!==o&&h(r,t))return s[t]=2,r[t];if((u=e.propsOptions[0])&&h(u,t))return s[t]=3,a[t];if(n!==o&&h(n,t))return s[t]=4,n[t];ci&&(s[t]=0)}}const d=ri[t];let p,f;return d?("$attrs"===t&&at(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==o&&h(n,t)?(s[t]=4,n[t]):(f=c.config.globalProperties,h(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:i,setupState:r,ctx:a}=e;return ai(r,t)?(r[t]=n,!0):i!==o&&h(i,t)?(i[t]=n,!0):!h(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:r,propsOptions:a}},s){let l;return!!n[s]||e!==o&&h(e,s)||ai(t,s)||(l=a[0])&&h(l,s)||h(i,s)||h(ri,s)||h(r.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:h(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function li(e){return p(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let ci=!0;function ui(e){const t=pi(e),n=e.proxy,o=e.ctx;ci=!1,t.beforeCreate&&di(t.beforeCreate,e,"bc");const{data:i,computed:a,methods:s,watch:l,provide:c,inject:u,created:d,beforeMount:h,mounted:f,beforeUpdate:m,updated:y,activated:b,deactivated:_,beforeDestroy:S,beforeUnmount:w,destroyed:x,unmounted:C,render:k,renderTracked:A,renderTriggered:T,errorCaptured:I,serverPrefetch:B,expose:E,inheritAttrs:P,components:O,directives:M,filters:D}=t;if(u&&function(e,t,n=r){p(e)&&(e=yi(e));for(const o in e){const n=e[o];let i;i=v(n)?"default"in n?Ai(n.from||o,n.default,!0):Ai(n.from||o):Ai(n),sn(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[o]=i}}(u,o,null),s)for(const r in s){const e=s[r];g(e)&&(o[r]=e.bind(n))}if(i){const t=i.call(n,n);v(t)&&(e.data=Wt(t))}if(ci=!0,a)for(const p in a){const e=a[p],t=g(e)?e.bind(n,n):g(e.get)?e.get.bind(n,n):r,i=!g(e)&&g(e.set)?e.set.bind(n):r,s=Dr({get:t,set:i});Object.defineProperty(o,p,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(l)for(const r in l)hi(l[r],o,n,r);if(c){const e=g(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{ki(t,e[t])}))}function z(e,t){p(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&di(d,e,"c"),z(Wo,h),z(Qo,f),z(qo,m),z(Go,y),z(zo,b),z(Ro,_),z(ei,I),z(Zo,A),z(Ko,T),z(Yo,w),z(Xo,C),z(Jo,B),p(E))if(E.length){const t=e.exposed||(e.exposed={});E.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});k&&e.render===r&&(e.render=k),null!=P&&(e.inheritAttrs=P),O&&(e.components=O),M&&(e.directives=M);const R=e.appContext.config.globalProperties.$applyOptions;R&&R(t,e,n)}function di(e,t,n){_n(p(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function hi(e,t,n,o){const i=o.includes(".")?uo(n,o):()=>n[o];if(y(e)){const n=t[e];g(n)&&so(i,n)}else if(g(e))so(i,e.bind(n));else if(v(e))if(p(e))e.forEach((e=>hi(e,t,n,o)));else{const o=g(e.handler)?e.handler.bind(n):t[e.handler];g(o)&&so(i,o,e)}}function pi(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,s=r.get(t);let l;return s?l=s:i.length||n||o?(l={},i.length&&i.forEach((e=>fi(l,e,a,!0))),fi(l,t,a)):l=t,v(t)&&r.set(t,l),l}function fi(e,t,n,o=!1){const{mixins:i,extends:r}=t;r&&fi(e,r,n,!0),i&&i.forEach((t=>fi(e,t,n,!0)));for(const a in t)if(o&&"expose"===a);else{const o=mi[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const mi={data:gi,props:_i,emits:_i,methods:vi,computed:vi,beforeCreate:bi,created:bi,beforeMount:bi,mounted:bi,beforeUpdate:bi,updated:bi,beforeDestroy:bi,beforeUnmount:bi,destroyed:bi,unmounted:bi,activated:bi,deactivated:bi,errorCaptured:bi,serverPrefetch:bi,components:vi,directives:vi,watch:function(e,t){if(!e)return t;if(!t)return e;const n=c(Object.create(null),e);for(const o in t)n[o]=bi(e[o],t[o]);return n},provide:gi,inject:function(e,t){return vi(yi(e),yi(t))}};function gi(e,t){return t?e?function(){return c(g(e)?e.call(this,this):e,g(t)?t.call(this,this):t)}:t:e}function yi(e){if(p(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function bi(e,t){return e?[...new Set([].concat(e,t))]:t}function vi(e,t){return e?c(Object.create(null),e,t):t}function _i(e,t){return e?p(e)&&p(t)?[...new Set([...e,...t])]:c(Object.create(null),li(e),li(null!=t?t:{})):t}function Si(){return{app:null,config:{isNativeTag:a,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let wi=0;function xi(e,t){return function(n,o=null){g(n)||(n=c({},n)),null==o||v(o)||(o=null);const i=Si(),r=new WeakSet;let a=!1;const s=i.app={_uid:wi++,_component:n,_props:o,_container:null,_context:i,_instance:null,version:Rr,get config(){return i.config},set config(e){},use:(e,...t)=>(r.has(e)||(e&&g(e.install)?(r.add(e),e.install(s,...t)):g(e)&&(r.add(e),e(s,...t))),s),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),s),component:(e,t)=>t?(i.components[e]=t,s):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,s):i.directives[e],mount(r,l,c){if(!a){const u=dr(n,o);return u.appContext=i,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,r):e(u,r,c),a=!0,s._container=r,r.__vue_app__=s,s._instance=u.component,Or(u.component)||u.component.proxy}},unmount(){a&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,s),runWithContext(e){const t=Ci;Ci=s;try{return e()}finally{Ci=t}}};return s}}let Ci=null;function ki(e,t){if(wr){let n=wr.provides;const o=wr.parent&&wr.parent.provides;o===n&&(n=wr.provides=Object.create(o)),n[e]=t,"app"===wr.type.mpType&&wr.appContext.app.provide(e,t)}else;}function Ai(e,t,n=!1){const o=wr||Un;if(o||Ci){const i=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Ci._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&g(t)?t.call(o&&o.proxy):t}}function Ti(){return!!(wr||Un||Ci)}function Ii(e,t,n,i){const[r,a]=e.propsOptions;let s,l=!1;if(t)for(let o in t){if(k(o))continue;const c=t[o];let u;r&&h(r,u=I(o))?a&&a.includes(u)?(s||(s={}))[u]=c:n[u]=c:Vn(e.emitsOptions,o)||o in i&&c===i[o]||(i[o]=c,l=!0)}if(a){const t=Zt(n),i=s||o;for(let o=0;o<a.length;o++){const s=a[o];n[s]=Bi(r,t,s,i[s],e,!h(i,s))}}return l}function Bi(e,t,n,o,i,r){const a=e[n];if(null!=a){const e=h(a,"default");if(e&&void 0===o){const e=a.default;if(a.type!==Function&&!a.skipFactory&&g(e)){const{propsDefaults:r}=i;if(n in r)o=r[n];else{const a=Ar(i);o=r[n]=e.call(null,t),a()}}else o=e}a[0]&&(r&&!e?o=!1:!a[1]||""!==o&&o!==E(n)||(o=!0))}return o}function Ei(e,t,n=!1){const r=t.propsCache,a=r.get(e);if(a)return a;const s=e.props,l={},u=[];let d=!1;if(!g(e)){const o=e=>{d=!0;const[n,o]=Ei(e,t,!0);c(l,n),o&&u.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!s&&!d)return v(e)&&r.set(e,i),i;if(p(s))for(let i=0;i<s.length;i++){const e=I(s[i]);Pi(e)&&(l[e]=o)}else if(s)for(const o in s){const e=I(o);if(Pi(e)){const t=s[o],n=l[e]=p(t)||g(t)?{type:t}:c({},t);if(n){const t=Di(Boolean,n.type),o=Di(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||h(n,"default"))&&u.push(e)}}}const f=[l,u];return v(e)&&r.set(e,f),f}function Pi(e){return"$"!==e[0]&&!k(e)}function Oi(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 Mi(e,t){return Oi(e)===Oi(t)}function Di(e,t){return p(t)?t.findIndex((t=>Mi(t,e))):g(t)&&Mi(t,e)?0:-1}const zi=e=>"_"===e[0]||"$stable"===e,Ri=e=>p(e)?e.map(mr):[mr(e)],Ni=(e,t,n)=>{if(t._n)return t;const o=qn(((...e)=>Ri(t(...e))),n);return o._c=!1,o},Li=(e,t,n)=>{const o=e._ctx;for(const i in e){if(zi(i))continue;const n=e[i];if(g(n))t[i]=Ni(0,n,o);else if(null!=n){const e=Ri(n);t[i]=()=>e}}},ji=(e,t)=>{const n=Ri(t);e.slots.default=()=>n};function $i(e,t,n,i,r=!1){if(p(e))return void e.forEach(((e,o)=>$i(e,t&&(p(t)?t[o]:t),n,i,r)));if(To(i)&&!r)return;const a=4&i.shapeFlag?Or(i.component)||i.component.proxy:i.el,s=r?null:a,{i:l,r:c}=e,d=t&&t.r,f=l.refs===o?l.refs={}:l.refs,m=l.setupState;if(null!=d&&d!==c&&(y(d)?(f[d]=null,h(m,d)&&(m[d]=null)):sn(d)&&(d.value=null)),g(c))vn(c,l,12,[s,f]);else{const t=y(c),o=sn(c);if(t||o){const i=()=>{if(e.f){const n=t?h(m,c)?m[c]:f[c]:c.value;r?p(n)&&u(n,a):p(n)?n.includes(a)||n.push(a):t?(f[c]=[a],h(m,c)&&(m[c]=f[c])):(c.value=[a],e.k&&(f[e.k]=c.value))}else t?(f[c]=s,h(m,c)&&(m[c]=s)):o&&(c.value=s,e.k&&(f[e.k]=s))};s?(i.id=-1,Fi(i,n)):i()}}}const Fi=function(e,t){var n;t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):(p(n=e)?Tn.push(...n):In&&In.includes(n,n.allowRecurse?Bn+1:Bn)||Tn.push(n),Dn())};function Hi(e){return function(e,t){L().__VUE__=!0;const{insert:n,remove:a,patchProp:s,forcePatchProp:l,createElement:u,createText:d,createComment:p,setText:f,setElementText:m,parentNode:g,nextSibling:y,setScopeId:b=r,insertStaticContent:v}=e,S=(e,t,n,o=null,i=null,r=null,a,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!ar(e,t)&&(o=te(e),X(e,i,r,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Gi:w(e,t,n,o);break;case Yi:x(e,t,n,o);break;case Xi:null==e&&C(t,n,o,a);break;case qi:$(e,t,n,o,i,r,a,s,l);break;default:1&d?B(e,t,n,o,i,r,a,s,l):6&d?F(e,t,n,o,i,r,a,s,l):(64&d||128&d)&&c.process(e,t,n,o,i,r,a,s,l,ie)}null!=u&&i&&$i(u,e&&e.ref,r,t||e,!t)},w=(e,t,o,i)=>{if(null==e)n(t.el=d(t.children),o,i);else{const n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},x=(e,t,o,i)=>{null==e?n(t.el=p(t.children||""),o,i):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=v(e.children,t,n,o,e.el,e.anchor)},A=({el:e,anchor:t},o,i)=>{let r;for(;e&&e!==t;)r=y(e),n(e,o,i),e=r;n(t,o,i)},T=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=y(e),a(e),e=n;a(t)},B=(e,t,n,o,i,r,a,s,l)=>{"svg"===t.type?a="svg":"math"===t.type&&(a="mathml"),null==e?P(t,n,o,i,r,a,s,l):R(e,t,i,r,a,s,l)},P=(e,t,o,i,r,a,l,c)=>{let d,h;const{props:p,shapeFlag:f,transition:g,dirs:y}=e;if(d=e.el=u(e.type,a,p&&p.is,p),8&f?m(d,e.children):16&f&&M(e.children,d,null,i,r,Vi(e,a),l,c),y&&fo(e,null,i,"created"),O(d,e,e.scopeId,l,i),p){for(const t in p)"value"===t||k(t)||s(d,t,null,p[t],a,e.children,i,r,ee);"value"in p&&s(d,"value",null,p.value,a),(h=p.onVnodeBeforeMount)&&vr(h,i,e)}Object.defineProperty(d,"__vueParentComponent",{value:i,enumerable:!1}),y&&fo(e,null,i,"beforeMount");const b=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(r,g);b&&g.beforeEnter(d),n(d,t,o),((h=p&&p.onVnodeMounted)||b||y)&&Fi((()=>{h&&vr(h,i,e),b&&g.enter(d),y&&fo(e,null,i,"mounted")}),r)},O=(e,t,n,o,i)=>{if(n&&b(e,n),o)for(let r=0;r<o.length;r++)b(e,o[r]);if(i){if(t===i.subTree){const t=i.vnode;O(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},M=(e,t,n,o,i,r,a,s,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=s?gr(e[c]):mr(e[c]);S(null,l,t,n,o,i,r,a,s)}},R=(e,t,n,i,r,a,c)=>{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:h,dirs:p}=t;d|=16&e.patchFlag;const f=e.props||o,g=t.props||o;let y;if(n&&Ui(n,!1),(y=g.onVnodeBeforeUpdate)&&vr(y,n,t,e),p&&fo(t,e,n,"beforeUpdate"),n&&Ui(n,!0),h?N(e.dynamicChildren,h,u,n,i,Vi(t,r),a):c||Q(e,t,u,null,n,i,Vi(t,r),a,!1),d>0){if(16&d)j(u,t,f,g,n,i,r);else if(2&d&&f.class!==g.class&&s(u,"class",null,g.class,r),4&d&&s(u,"style",f.style,g.style,r),8&d){const o=t.dynamicProps;for(let t=0;t<o.length;t++){const a=o[t],c=f[a],d=g[a];(d!==c||"value"===a||l&&l(u,a))&&s(u,a,c,d,r,e.children,n,i,ee)}}1&d&&e.children!==t.children&&m(u,t.children)}else c||null!=h||j(u,t,f,g,n,i,r);((y=g.onVnodeUpdated)||p)&&Fi((()=>{y&&vr(y,n,t,e),p&&fo(t,e,n,"updated")}),i)},N=(e,t,n,o,i,r,a)=>{for(let s=0;s<t.length;s++){const l=e[s],c=t[s],u=l.el&&(l.type===qi||!ar(l,c)||70&l.shapeFlag)?g(l.el):n;S(l,c,u,null,o,i,r,a,!0)}},j=(e,t,n,i,r,a,c)=>{if(n!==i){if(n!==o)for(const o in n)k(o)||o in i||s(e,o,n[o],null,c,t.children,r,a,ee);for(const o in i){if(k(o))continue;const u=i[o],d=n[o];(u!==d&&"value"!==o||l&&l(e,o))&&s(e,o,d,u,c,t.children,r,a,ee)}"value"in i&&s(e,"value",n.value,i.value,c)}},$=(e,t,o,i,r,a,s,l,c)=>{const u=t.el=e?e.el:d(""),h=t.anchor=e?e.anchor:d("");let{patchFlag:p,dynamicChildren:f,slotScopeIds:m}=t;m&&(l=l?l.concat(m):m),null==e?(n(u,o,i),n(h,o,i),M(t.children||[],o,h,r,a,s,l,c)):p>0&&64&p&&f&&e.dynamicChildren?(N(e.dynamicChildren,f,o,r,a,s,l),(null!=t.key||r&&t===r.subTree)&&Wi(e,t,!0)):Q(e,t,o,h,r,a,s,l,c)},F=(e,t,n,o,i,r,a,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?i.ctx.activate(t,n,o,a,l):H(t,n,o,i,r,a,l):V(e,t,l)},H=(e,t,n,i,r,a,s)=>{const l=e.component=function(e,t,n){const i=e.type,r=(t?t.appContext:e.appContext)||_r,a={uid:Sr++,vnode:e,type:i,parent:t,appContext:r,get renderer(){return"app"===i.mpType?"app":this.$pageInstance&&this.$pageInstance==a?"page":"component"},root:null,next:null,subTree:null,effect:null,update:null,scope:new je(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ei(i,r),emitsOptions:Hn(i,r),emit:null,emitted:null,propsDefaults:o,inheritAttrs:i.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};a.ctx={_:a},a.root=t?t.root:a,a.emit=$n.bind(null,a),a.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(a);return a}(e,i,r);if(Eo(e)&&(l.ctx.renderer=ie),function(e,t=!1){t&&kr(t);const{props:n,children:o}=e.vnode,i=Ir(e);(function(e,t,n,o=!1){const i={},r={};z(r,sr,1),e.propsDefaults=Object.create(null),Ii(e,t,i,r);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=o?i:Qt(i):e.type.props?e.props=i:e.props=r,e.attrs=r})(e,n,i,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Zt(t),z(t,"_",n)):Li(t,e.slots={})}else e.slots={},t&&ji(e,t);z(e.slots,sr,1)})(e,o);const r=i?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=en(new Proxy(e.ctx,si));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(at(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,i=Ar(e);Ye();const r=vn(o,e,0,[e.props,n]);if(Xe(),i(),_(r)){if(r.then(Tr,Tr),t)return r.then((n=>{Er(e,n,t)})).catch((t=>{Sn(t,e,0)}));e.asyncDep=r}else Er(e,r,t)}else Pr(e,t)}(e,t):void 0;t&&kr(!1)}(l),l.asyncDep){if(r&&r.registerDep(l,U),!e.el){const e=l.subTree=dr(Yi);x(null,e,t,n)}}else U(l,e,t,n,r,a,s)},V=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:i,component:r}=e,{props:a,children:s,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!i&&!s||s&&s.$stable)||o!==a&&(o?!a||Jn(o,a,c):!!a);if(1024&l)return!0;if(16&l)return o?Jn(o,a,c):!!a;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(a[n]!==o[n]&&!Vn(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void W(o,t,n);o.next=t,function(e){const t=kn.indexOf(e);t>An&&kn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},U=(e,t,n,o,i,a,s)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:r,vnode:c}=e;{const n=Qi(e);if(n)return t&&(t.el=c.el,W(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;Ui(e,!1),t?(t.el=c.el,W(e,t,s)):t=c,n&&D(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&vr(u,r,t,c),Ui(e,!0);const h=Gn(e),p=e.subTree;e.subTree=h,S(p,h,g(p.el),te(p),e,i,a),t.el=h.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,h.el),o&&Fi(o,i),(u=t.props&&t.props.onVnodeUpdated)&&Fi((()=>vr(u,r,t,c)),i)}else{let r;const{el:s,props:l}=t,{bm:c,m:u,parent:d}=e,h=To(t);if(Ui(e,!1),c&&D(c),!h&&(r=l&&l.onVnodeBeforeMount)&&vr(r,d,t),Ui(e,!0),s&&ae){const n=()=>{e.subTree=Gn(e),ae(s,e.subTree,e,i,null)};h?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const r=e.subTree=Gn(e);S(null,r,n,o,e,i,a),t.el=r.el}if(u&&Fi(u,i),!h&&(r=l&&l.onVnodeMounted)){const e=t;Fi((()=>vr(r,d,e)),i)}(256&t.shapeFlag||d&&To(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&Ho(e.ba),e.a&&Fi(e.a,i)),e.isMounted=!0,t=n=o=null}},c=e.effect=new He(l,r,(()=>Mn(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,Ui(e,!0),u()},W=(e,t,n)=>{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:i,attrs:r,vnode:{patchFlag:a}}=e,s=Zt(i),[l]=e.propsOptions;let c=!1;if(!(o||a>0)||16&a){let o;Ii(e,t,i,r)&&(c=!0);for(const r in s)t&&(h(t,r)||(o=E(r))!==r&&h(t,o))||(l?!n||void 0===n[r]&&void 0===n[o]||(i[r]=Bi(l,s,r,void 0,e,!0)):delete i[r]);if(r!==s)for(const e in r)t&&h(t,e)||(delete r[e],c=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let a=n[o];if(Vn(e.emitsOptions,a))continue;const u=t[a];if(l)if(h(r,a))u!==r[a]&&(r[a]=u,c=!0);else{const t=I(a);i[t]=Bi(l,s,t,u,e,!1)}else u!==r[a]&&(r[a]=u,c=!0)}}c&&st(e,"set","$attrs")}(e,t.props,i,n),((e,t,n)=>{const{vnode:i,slots:r}=e;let a=!0,s=o;if(32&i.shapeFlag){const e=t._;e?n&&1===e?a=!1:(c(r,t),n||1!==e||delete r._):(a=!t.$stable,Li(t,r)),s=t}else t&&(ji(e,t),s={default:1});if(a)for(const o in r)zi(o)||null!=s[o]||delete r[o]})(e,t.children,n),Ye(),zn(e),Xe()},Q=(e,t,n,o,i,r,a,s,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:h,shapeFlag:p}=t;if(h>0){if(128&h)return void G(c,d,n,o,i,r,a,s,l);if(256&h)return void q(c,d,n,o,i,r,a,s,l)}8&p?(16&u&&ee(c,i,r),d!==c&&m(n,d)):16&u?16&p?G(c,d,n,o,i,r,a,s,l):ee(c,i,r,!0):(8&u&&m(n,""),16&p&&M(d,n,o,i,r,a,s,l))},q=(e,t,n,o,r,a,s,l,c)=>{t=t||i;const u=(e=e||i).length,d=t.length,h=Math.min(u,d);let p;for(p=0;p<h;p++){const o=t[p]=c?gr(t[p]):mr(t[p]);S(e[p],o,n,null,r,a,s,l,c)}u>d?ee(e,r,a,!0,!1,h):M(t,n,o,r,a,s,l,c,h)},G=(e,t,n,o,r,a,s,l,c)=>{let u=0;const d=t.length;let h=e.length-1,p=d-1;for(;u<=h&&u<=p;){const o=e[u],i=t[u]=c?gr(t[u]):mr(t[u]);if(!ar(o,i))break;S(o,i,n,null,r,a,s,l,c),u++}for(;u<=h&&u<=p;){const o=e[h],i=t[p]=c?gr(t[p]):mr(t[p]);if(!ar(o,i))break;S(o,i,n,null,r,a,s,l,c),h--,p--}if(u>h){if(u<=p){const e=p+1,i=e<d?t[e].el:o;for(;u<=p;)S(null,t[u]=c?gr(t[u]):mr(t[u]),n,i,r,a,s,l,c),u++}}else if(u>p)for(;u<=h;)X(e[u],r,a,!0),u++;else{const f=u,m=u,g=new Map;for(u=m;u<=p;u++){const e=t[u]=c?gr(t[u]):mr(t[u]);null!=e.key&&g.set(e.key,u)}let y,b=0;const v=p-m+1;let _=!1,w=0;const x=new Array(v);for(u=0;u<v;u++)x[u]=0;for(u=f;u<=h;u++){const o=e[u];if(b>=v){X(o,r,a,!0);continue}let i;if(null!=o.key)i=g.get(o.key);else for(y=m;y<=p;y++)if(0===x[y-m]&&ar(o,t[y])){i=y;break}void 0===i?X(o,r,a,!0):(x[i-m]=u+1,i>=w?w=i:_=!0,S(o,t[i],n,null,r,a,s,l,c),b++)}const C=_?function(e){const t=e.slice(),n=[0];let o,i,r,a,s;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(i=n[n.length-1],e[i]<l){t[o]=i,n.push(o);continue}for(r=0,a=n.length-1;r<a;)s=r+a>>1,e[n[s]]<l?r=s+1:a=s;l<e[n[r]]&&(r>0&&(t[o]=n[r-1]),n[r]=o)}}r=n.length,a=n[r-1];for(;r-- >0;)n[r]=a,a=t[a];return n}(x):i;for(y=C.length-1,u=v-1;u>=0;u--){const e=m+u,i=t[e],h=e+1<d?t[e+1].el:o;0===x[u]?S(null,i,n,h,r,a,s,l,c):_&&(y<0||u!==C[y]?Y(i,n,h,2):y--)}}},Y=(e,t,o,i,r=null)=>{const{el:a,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void Y(e.component.subTree,t,o,i);if(128&u)return void e.suspense.move(t,o,i);if(64&u)return void s.move(e,t,o,ie);if(s===qi){n(a,t,o);for(let e=0;e<c.length;e++)Y(c[e],t,o,i);return void n(e.anchor,t,o)}if(s===Xi)return void A(e,t,o);if(2!==i&&1&u&&l)if(0===i)l.beforeEnter(a),n(a,t,o),Fi((()=>l.enter(a)),r);else{const{leave:e,delayLeave:i,afterLeave:r}=l,s=()=>n(a,t,o),c=()=>{e(a,(()=>{s(),r&&r()}))};i?i(a,s,c):c()}else n(a,t,o)},X=(e,t,n,o=!1,i=!1)=>{const{type:r,props:a,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:h}=e;if(null!=s&&$i(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&h,f=!To(e);let m;if(f&&(m=a&&a.onVnodeBeforeUnmount)&&vr(m,t,e),6&u)Z(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&fo(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,i,ie,o):c&&(r!==qi||d>0&&64&d)?ee(c,t,n,!1,!0):(r===qi&&384&d||!i&&16&u)&&ee(l,t,n),o&&J(e)}(f&&(m=a&&a.onVnodeUnmounted)||p)&&Fi((()=>{m&&vr(m,t,e),p&&fo(e,null,t,"unmounted")}),n)},J=e=>{const{type:t,el:n,anchor:o,transition:i}=e;if(t===qi)return void K(n,o);if(t===Xi)return void T(e);const r=()=>{a(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,a=()=>t(n,r);o?o(e.el,r,a):a()}else r()},K=(e,t)=>{let n;for(;e!==t;)n=y(e),a(e),e=n;a(t)},Z=(e,t,n)=>{const{bum:o,scope:i,update:r,subTree:a,um:s}=e;o&&D(o),i.stop(),r&&(r.active=!1,X(a,e,t,n)),s&&Fi(s,t),Fi((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,i=!1,r=0)=>{for(let a=r;a<e.length;a++)X(e[a],t,n,o,i)},te=e=>6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():y(e.anchor||e.el);let ne=!1;const oe=(e,t,n)=>{null==e?t._vnode&&X(t._vnode,null,null,!0):S(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,zn(),Rn(),ne=!1),t._vnode=e},ie={p:S,um:X,m:Y,r:J,mt:H,mc:M,pc:Q,pbc:N,n:te,o:e};let re,ae;t&&([re,ae]=t(ie));return{render:oe,hydrate:re,createApp:xi(oe,re)}}(e)}function Vi({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 Ui({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Wi(e,t,n=!1){const o=e.children,i=t.children;if(p(o)&&p(i))for(let r=0;r<o.length;r++){const e=o[r];let t=i[r];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=i[r]=gr(i[r]),t.el=e.el),n||Wi(e,t)),t.type===Gi&&(t.el=e.el)}}function Qi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Qi(t)}const qi=Symbol.for("v-fgt"),Gi=Symbol.for("v-txt"),Yi=Symbol.for("v-cmt"),Xi=Symbol.for("v-stc"),Ji=[];let Ki=null;function Zi(e=!1){Ji.push(Ki=e?null:[])}let er=1;function tr(e){er+=e}function nr(e){return e.dynamicChildren=er>0?Ki||i:null,Ji.pop(),Ki=Ji[Ji.length-1]||null,er>0&&Ki&&Ki.push(e),e}function or(e,t,n,o,i,r){return nr(ur(e,t,n,o,i,r,!0))}function ir(e,t,n,o,i){return nr(dr(e,t,n,o,i,!0))}function rr(e){return!!e&&!0===e.__v_isVNode}function ar(e,t){return e.type===t.type&&e.key===t.key}const sr="__vInternal",lr=({key:e})=>null!=e?e:null,cr=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?y(e)||sn(e)||g(e)?{i:Un,r:e,k:t,f:!!n}:e:null);function ur(e,t=null,n=null,o=0,i=null,r=(e===qi?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&lr(t),ref:t&&cr(t),scopeId:Wn,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:r,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Un};return s?(yr(l,n),128&r&&e.normalize(l)):n&&(l.shapeFlag|=y(n)?8:16),er>0&&!a&&Ki&&(l.patchFlag>0||6&r)&&32!==l.patchFlag&&Ki.push(l),l}const dr=function(e,t=null,n=null,o=0,i=null,r=!1){e&&e!==Zn||(e=Yi);if(rr(e)){const o=hr(e,t,!0);return n&&yr(o,n),er>0&&!r&&Ki&&(6&o.shapeFlag?Ki[Ki.indexOf(e)]=o:Ki.push(o)),o.patchFlag|=-2,o}a=e,g(a)&&"__vccOpts"in a&&(e=e.__vccOpts);var a;if(t){t=function(e){return e?Kt(e)||sr in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!y(e)&&(t.class=me(e)),v(n)&&(Kt(n)&&!p(n)&&(n=c({},n)),t.style=fe(n))}const s=y(e)?1:oo(e)?128:(e=>e.__isTeleport)(e)?64:v(e)?4:g(e)?2:0;return ur(e,t,n,o,i,s,r,!0)};function hr(e,t,n=!1){const{props:o,ref:i,patchFlag:r,children:a}=e,s=t?br(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&lr(s),ref:t&&t.ref?n&&i?p(i)?i.concat(cr(t)):[i,cr(t)]:cr(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==qi?-1===r?16:16|r:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&hr(e.ssContent),ssFallback:e.ssFallback&&hr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function pr(e=" ",t=0){return dr(Gi,null,e,t)}function fr(e="",t=!1){return t?(Zi(),ir(Yi,null,e)):dr(Yi,null,e)}function mr(e){return null==e||"boolean"==typeof e?dr(Yi):p(e)?dr(qi,null,e.slice()):"object"==typeof e?gr(e):dr(Gi,null,String(e))}function gr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:hr(e)}function yr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(p(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),yr(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||sr in t?3===o&&Un&&(1===Un.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Un}}else g(t)?(t={default:t,_ctx:Un},n=32):(t=String(t),64&o?(n=16,t=[pr(t)]):n=8);e.children=t,e.shapeFlag|=n}function br(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=me([t.class,o.class]));else if("style"===e)t.style=fe([t.style,o.style]);else if(s(e)){const n=t[e],i=o[e];!i||n===i||p(n)&&n.includes(i)||(t[e]=n?[].concat(n,i):i)}else""!==e&&(t[e]=o[e])}return t}function vr(e,t,n,o=null){_n(e,t,7,[n,o])}const _r=Si();let Sr=0;let wr=null;const xr=()=>wr||Un;let Cr,kr;{const e=L(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};Cr=t("__VUE_INSTANCE_SETTERS__",(e=>wr=e)),kr=t("__VUE_SSR_SETTERS__",(e=>Br=e))}const Ar=e=>{const t=wr;return Cr(e),e.scope.on(),()=>{e.scope.off(),Cr(t)}},Tr=()=>{wr&&wr.scope.off(),Cr(null)};function Ir(e){return 4&e.vnode.shapeFlag}let Br=!1;function Er(e,t,n){g(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:v(t)&&(e.setupState=fn(t)),Pr(e,n)}function Pr(e,t,n){const o=e.type;e.render||(e.render=o.render||r);{const t=Ar(e);Ye();try{ui(e)}finally{Xe(),t()}}}function Or(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(fn(en(e.exposed)),{get:(t,n)=>n in t?t[n]:n in ri?ri[n](e):void 0,has:(e,t)=>t in e||t in ri}))}function Mr(e,t=!0){return g(e)?e.displayName||e.name:e.name||t&&e.__name}const Dr=(e,t)=>{const n=function(e,t,n=!1){let o,i;const a=g(e);return a?(o=e,i=r):(o=e.get,i=e.set),new on(o,i,a||!i,n)}(e,0,Br);return n};function zr(e,t,n){const o=arguments.length;return 2===o?v(t)&&!p(t)?rr(t)?dr(e,null,[t]):dr(e,t):dr(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&rr(n)&&(n=[n]),dr(e,t,n))}const Rr="3.4.21",Nr="undefined"!=typeof document?document:null,Lr=Nr&&Nr.createElement("template"),jr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const i="svg"===t?Nr.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Nr.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Nr.createElement(e,{is:n}):Nr.createElement(e);return"select"===e&&o&&null!=o.multiple&&i.setAttribute("multiple",o.multiple),i},createText:e=>Nr.createTextNode(e),createComment:e=>Nr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Nr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,i,r){const a=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==r&&(i=i.nextSibling););else{Lr.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const i=Lr.content;if("svg"===o||"mathml"===o){const e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},$r="transition",Fr=Symbol("_vtc"),Hr=(e,{slots:t})=>zr(vo,function(e){const t={};for(const c in e)c in Vr||(t[c]=e[c]);if(!1===e.css)return t;const{name:n="v",type:o,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:u=a,appearToClass:d=s,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if(v(e))return[Qr(e.enter),Qr(e.leave)];{const t=Qr(e);return[t,t]}}(i),g=m&&m[0],y=m&&m[1],{onBeforeEnter:b,onEnter:_,onEnterCancelled:S,onLeave:w,onLeaveCancelled:x,onBeforeAppear:C=b,onAppear:k=_,onAppearCancelled:A=S}=t,T=(e,t,n)=>{Gr(e,t?d:s),Gr(e,t?u:a),n&&n()},I=(e,t)=>{e._isLeaving=!1,Gr(e,h),Gr(e,f),Gr(e,p),t&&t()},B=e=>(t,n)=>{const i=e?k:_,a=()=>T(t,e,n);Ur(i,[t,a]),Yr((()=>{Gr(t,e?l:r),qr(t,e?d:s),Wr(i)||Jr(t,o,g,a)}))};return c(t,{onBeforeEnter(e){Ur(b,[e]),qr(e,r),qr(e,a)},onBeforeAppear(e){Ur(C,[e]),qr(e,l),qr(e,u)},onEnter:B(!1),onAppear:B(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>I(e,t);qr(e,h),document.body.offsetHeight,qr(e,p),Yr((()=>{e._isLeaving&&(Gr(e,h),qr(e,f),Wr(w)||Jr(e,o,y,n))})),Ur(w,[e,n])},onEnterCancelled(e){T(e,!1),Ur(S,[e])},onAppearCancelled(e){T(e,!0),Ur(A,[e])},onLeaveCancelled(e){I(e),Ur(x,[e])}})}(e),t);Hr.displayName="Transition";const Vr={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};Hr.props=c({},bo,Vr);const Ur=(e,t=[])=>{p(e)?e.forEach((e=>e(...t))):e&&e(...t)},Wr=e=>!!e&&(p(e)?e.some((e=>e.length>1)):e.length>1);function Qr(e){const t=(e=>{const t=y(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function qr(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Fr]||(e[Fr]=new Set)).add(t)}function Gr(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Fr];n&&(n.delete(t),n.size||(e[Fr]=void 0))}function Yr(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Xr=0;function Jr(e,t,n,o){const i=e._endId=++Xr,r=()=>{i===e._endId&&o()};if(n)return setTimeout(r,n);const{type:a,timeout:s,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),i=o("transitionDelay"),r=o("transitionDuration"),a=Kr(i,r),s=o("animationDelay"),l=o("animationDuration"),c=Kr(s,l);let u=null,d=0,h=0;t===$r?a>0&&(u=$r,d=a,h=r.length):"animation"===t?c>0&&(u="animation",d=c,h=l.length):(d=Math.max(a,c),u=d>0?a>c?$r:"animation":null,h=u?u===$r?r.length:l.length:0);const p=u===$r&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:h,hasTransform:p}}(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,h),r()},h=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),s+1),e.addEventListener(c,h)}function Kr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Zr(t)+Zr(e[n]))))}function Zr(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const ea=Symbol("_vod"),ta=Symbol("_vsh"),na={beforeMount(e,{value:t},{transition:n}){e[ea]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):oa(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),oa(e,!0),o.enter(e)):o.leave(e,(()=>{oa(e,!1)})):oa(e,t))},beforeUnmount(e,{value:t}){oa(e,t)}};function oa(e,t){e.style.display=t?e[ea]:"none",e[ta]=!t}const ia=Symbol("");function ra(e){const t=xr();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>sa(e,n)))},o=()=>{const o=e(t.proxy);aa(t.subTree,o),n(o)};lo(o,null,{flush:"post"}),Qo((()=>{const e=new MutationObserver(o);e.observe(t.subTree.el.parentNode,{childList:!0}),Xo((()=>e.disconnect()))}))}function aa(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{aa(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)sa(e.el,t);else if(e.type===qi)e.children.forEach((e=>aa(e,t)));else if(e.type===Xi){let{el:n,anchor:o}=e;for(;n&&(sa(n,t),n!==o);)n=n.nextSibling}}function sa(e,t){if(1===e.nodeType){const n=e.style;let o="";for(const e in t){const i=_a(t[e]);n.setProperty(`--${e}`,i),o+=`--${e}: ${i};`}n[ia]=o}}const la=/(^|;)\s*display\s*:/;const ca=/\s*!important$/;function ua(e,t,n){if(p(n))n.forEach((n=>ua(e,t,n)));else if(null==n&&(n=""),n=_a(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=ha[t];if(n)return n;let o=I(t);if("filter"!==o&&o in e)return ha[t]=o;o=P(o);for(let i=0;i<da.length;i++){const n=da[i]+o;if(n in e)return ha[t]=n}return t}(e,t);ca.test(n)?e.setProperty(E(o),n.replace(ca,""),"important"):e[o]=n}}const da=["Webkit","Moz","ms"],ha={};const{unit:pa,unitRatio:fa,unitPrecision:ma}={unit:"rem",unitRatio:10/320,unitPrecision:5},ga=(ya=pa,ba=fa,va=ma,e=>e.replace(ve,((e,t)=>{if(!t)return e;if(1===ba)return`${t}${ya}`;const n=function(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return 10*Math.round(o/10)/n}(parseFloat(t)*ba,va);return 0===n?"0":`${n}${ya}`})));var ya,ba,va;const _a=e=>y(e)?ga(e):e,Sa="http://www.w3.org/1999/xlink";const wa=Symbol("_vei");function xa(e,t,n,o,i=null){const r=e[wa]||(e[wa]={}),a=r[t];if(o&&a)a.value=o;else{const[n,s]=function(e){let t;if(Ca.test(e)){let n;for(t={};n=e.match(Ca);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):E(e.slice(2)),t]}(t);if(o){const a=r[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,i=o&&o.$nne,{value:r}=n;if(i&&p(r)){const n=Ta(e,r);for(let o=0;o<n.length;o++){const r=n[o];_n(r,t,5,r.__wwe?[e]:i(e))}}else _n(Ta(e,n.value),t,5,i&&!r.__wwe?i(e,r,t):[e])};return n.value=e,n.attached=(()=>ka||(Aa.then((()=>ka=0)),ka=Date.now()))(),n}(o,i);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,a,s)}else a&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,a,s),r[t]=void 0)}}const Ca=/(?:Once|Passive|Capture)$/;let ka=0;const Aa=Promise.resolve();function Ta(e,t){if(p(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 Ia=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Ba=["ctrl","shift","alt","meta"],Ea={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)=>Ba.some((n=>e[`${n}Key`]&&!t.includes(n)))},Pa=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e<t.length;e++){const o=Ea[t[e]];if(o&&o(n,t))return}return e(n,...o)})},Oa=c({patchProp:(e,t,n,o,i,r,a,c,u)=>{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const i=t.replace("change:",""),{attrs:r}=o,a=r[i],s=(e.__wxsProps||(e.__wxsProps={}))[i];if(s===a)return;e.__wxsProps[i]=a;const l=o.proxy;On((()=>{n(a,s,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,a);const d="svg"===i;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:i}=e;i&&i.length&&(t=(t||"").split(/\s+/).filter((e=>-1===i.indexOf(e))).join(" "),i.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const r=e[Fr];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,d):"style"===t?function(e,t,n){const o=e.style,i=y(n);let r=!1;if(n&&!i){if(t)if(y(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&ua(o,t,"")}else for(const e in t)null==n[e]&&ua(o,e,"");for(const e in n)"display"===e&&(r=!0),ua(o,e,n[e])}else if(i){if(t!==n){const e=o[ia];e&&(n+=";"+e),o.cssText=n,r=la.test(n)}}else t&&e.removeAttribute("style");ea in e&&(e[ea]=r?o.display:"",e[ta]&&(o.display="none"));const{__wxsStyle:a}=e;if(a)for(const s in a)ua(o,s,a[s])}(e,n,o):s(t)?l(t)||xa(e,t,0,o,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ia(t)&&g(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(Ia(t)&&y(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,i,r,a){if("innerHTML"===t||"textContent"===t)return o&&a(o,i,r),void(e[t]=null==n?"":n);const s=e.tagName;if("value"===t&&"PROGRESS"!==s&&!s.includes("-")){const o=null==n?"":n;return("OPTION"===s?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=Q(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}(e,t,o,r,a,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,i){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Sa,t.slice(6,t.length)):e.setAttributeNS(Sa,t,n);else{const o=W(t);null==n||o&&!Q(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,d))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},jr);let Ma;const Da=(...e)=>{const t=(Ma||(Ma=Hi(Oa))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(y(e)){return document.querySelector(e)}return e}
/*!
  * vue-router v4.3.0
  * (c) 2024 Eduardo San Martin Morote
  * @license MIT
  */(e);if(!o)return;const i=t._component;g(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const r=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t};const za="undefined"!=typeof document;const Ra=Object.assign;function Na(e,t){const n={};for(const o in t){const i=t[o];n[o]=ja(i)?i.map(e):e(i)}return n}const La=()=>{},ja=Array.isArray,$a=/#/g,Fa=/&/g,Ha=/\//g,Va=/=/g,Ua=/\?/g,Wa=/\+/g,Qa=/%5B/g,qa=/%5D/g,Ga=/%5E/g,Ya=/%60/g,Xa=/%7B/g,Ja=/%7C/g,Ka=/%7D/g,Za=/%20/g;function es(e){return encodeURI(""+e).replace(Ja,"|").replace(Qa,"[").replace(qa,"]")}function ts(e){return es(e).replace(Wa,"%2B").replace(Za,"+").replace($a,"%23").replace(Fa,"%26").replace(Ya,"`").replace(Xa,"{").replace(Ka,"}").replace(Ga,"^")}function ns(e){return null==e?"":function(e){return es(e).replace($a,"%23").replace(Ua,"%3F")}(e).replace(Ha,"%2F")}function os(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const is=/\/$/;function rs(e,t,n="/"){let o,i={},r="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(o=t.slice(0,l),r=t.slice(l+1,s>-1?s:t.length),i=e(r)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),i=o[o.length-1];".."!==i&&"."!==i||o.push("");let r,a,s=n.length-1;for(r=0;r<o.length;r++)if(a=o[r],"."!==a){if(".."!==a)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+o.slice(r).join("/")}(null!=o?o:t,n),{fullPath:o+(r&&"?")+r+a,path:o,query:i,hash:os(a)}}function as(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function ss(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ls(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!cs(e[n],t[n]))return!1;return!0}function cs(e,t){return ja(e)?us(e,t):ja(t)?us(t,e):e===t}function us(e,t){return ja(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var ds,hs,ps,fs;function ms(e){if(!e)if(za){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(is,"")}(hs=ds||(ds={})).pop="pop",hs.push="push",(fs=ps||(ps={})).back="back",fs.forward="forward",fs.unknown="";const gs=/^[^#]+#/;function ys(e,t){return e.replace(gs,"#")+t}const bs=()=>({left:window.scrollX,top:window.scrollY});function vs(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),i="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(i,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 _s(e,t){return(history.state?history.state.position-t:-1)+e}const Ss=new Map;function ws(e,t){const{pathname:n,search:o,hash:i}=t,r=e.indexOf("#");if(r>-1){let t=i.includes(e.slice(r))?e.slice(r).length:1,n=i.slice(t);return"/"!==n[0]&&(n="/"+n),as(n,"")}return as(n,e)+o+i}function xs(e,t,n,o=!1,i=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:i?bs():null}}function Cs(e){const{history:t,location:n}=window,o={value:ws(e,n)},i={value:t.state};function r(o,r,a){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+o:location.protocol+"//"+location.host+e+o;try{t[a?"replaceState":"pushState"](r,"",l),i.value=r}catch(c){console.error(c),n[a?"replace":"assign"](l)}}return i.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:i,push:function(e,n){const a=Ra({},i.value,t.state,{forward:e,scroll:bs()});r(a.current,a,!0),r(e,Ra({},xs(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){r(e,Ra({},t.state,xs(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),o.value=e}}}function ks(e){const t=Cs(e=ms(e)),n=function(e,t,n,o){let i=[],r=[],a=null;const s=({state:r})=>{const s=ws(e,location),l=n.value,c=t.value;let u=0;if(r){if(n.value=s,t.value=r,a&&a===l)return void(a=null);u=c?r.position-c.position:0}else o(s);i.forEach((e=>{e(n.value,l,{delta:u,type:ds.pop,direction:u?u>0?ps.forward:ps.back:ps.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Ra({},e.state,{scroll:bs()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){a=n.value},listen:function(e){i.push(e);const t=()=>{const t=i.indexOf(e);t>-1&&i.splice(t,1)};return r.push(t),t},destroy:function(){for(const e of r)e();r=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=Ra({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:ys.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function As(e){return"string"==typeof e||"symbol"==typeof e}const Ts={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Is=Symbol("");var Bs,Es;function Ps(e,t){return Ra(new Error,{type:e,[Is]:!0},t)}function Os(e,t){return e instanceof Error&&Is in e&&(null==t||!!(e.type&t))}(Es=Bs||(Bs={}))[Es.aborted=4]="aborted",Es[Es.cancelled=8]="cancelled",Es[Es.duplicated=16]="duplicated";const Ms={sensitive:!1,strict:!1,start:!0,end:!0},Ds=/[.+*?^${}()[\]/\\]/g;function zs(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function Rs(e,t){let n=0;const o=e.score,i=t.score;for(;n<o.length&&n<i.length;){const e=zs(o[n],i[n]);if(e)return e;n++}if(1===Math.abs(i.length-o.length)){if(Ns(o))return 1;if(Ns(i))return-1}return i.length-o.length}function Ns(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Ls={type:0,value:""},js=/[a-zA-Z0-9_]/;function $s(e,t,n){const o=function(e,t){const n=Ra({},Ms,t),o=[];let i=n.start?"^":"";const r=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(i+="/");for(let t=0;t<l.length;t++){const o=l[t];let a=40+(n.sensitive?.25:0);if(0===o.type)t||(i+="/"),i+=o.value.replace(Ds,"\\$&"),a+=40;else if(1===o.type){const{value:e,repeatable:n,optional:c,regexp:u}=o;r.push({name:e,repeatable:n,optional:c});const d=u||"[^/]+?";if("[^/]+?"!==d){a+=10;try{new RegExp(`(${d})`)}catch(s){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+s.message)}}let h=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(h=c&&l.length<2?`(?:/${h})`:"/"+h),c&&(h+="?"),i+=h,a+=20,c&&(a+=-8),n&&(a+=-20),".*"===d&&(a+=-50)}e.push(a)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const a=new RegExp(i,n.sensitive?"":"i");return{re:a,score:o,keys:r,parse:function(e){const t=e.match(a),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",i=r[o-1];n[i.name]=e&&i.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const i of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const e of i)if(0===e.type)n+=e.value;else if(1===e.type){const{value:r,repeatable:a,optional:s}=e,l=r in t?t[r]:"";if(ja(l)&&!a)throw new Error(`Provided param "${r}" is an array but it is not repeatable (* or + modifiers)`);const c=ja(l)?l.join("/"):l;if(!c){if(!s)throw new Error(`Missing required param "${r}"`);i.length<2&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[Ls]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,o=n;const i=[];let r;function a(){r&&i.push(r),r=[]}let s,l=0,c="",u="";function d(){c&&(0===n?r.push({type:0,value:c}):1===n||2===n||3===n?(r.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function h(){c+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||2===n)switch(n){case 0:"/"===s?(c&&d(),a()):":"===s?(d(),n=1):h();break;case 4:h(),n=o;break;case 1:"("===s?n=2:js.test(s)?h():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:n=3:u+=s;break;case 3:d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),i}(e.path),n),i=Ra(o,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function Fs(e,t){const n=[],o=new Map;function i(e,n,o){const s=!o,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Vs(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=o&&o.record;const c=Qs(t,e),u=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(Ra({},l,{components:o?o.record.components:l.components,path:e,aliasOf:o?o.record:l}))}let d,h;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,o="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&o+u)}if(d=$s(t,n,c),o?o.alias.push(d):(h=h||d,h!==d&&h.alias.push(d),s&&e.name&&!Us(d)&&r(e.name)),l.children){const e=l.children;for(let t=0;t<e.length;t++)i(e[t],d,o&&o.children[t])}o=o||d,(d.record.components&&Object.keys(d.record.components).length||d.record.name||d.record.redirect)&&a(d)}return h?()=>{r(h)}:La}function r(e){if(As(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(r),t.alias.forEach(r))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(r),e.alias.forEach(r))}}function a(e){let t=0;for(;t<n.length&&Rs(e,n[t])>=0&&(e.record.path!==n[t].record.path||!qs(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!Us(e)&&o.set(e.record.name,e)}return t=Qs({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>i(e))),{addRoute:i,resolve:function(e,t){let i,r,a,s={};if("name"in e&&e.name){if(i=o.get(e.name),!i)throw Ps(1,{location:e});a=i.record.name,s=Ra(Hs(t.params,i.keys.filter((e=>!e.optional)).concat(i.parent?i.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Hs(e.params,i.keys.map((e=>e.name)))),r=i.stringify(s)}else if(null!=e.path)r=e.path,i=n.find((e=>e.re.test(r))),i&&(s=i.parse(r),a=i.record.name);else{if(i=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!i)throw Ps(1,{location:e,currentLocation:t});a=i.record.name,s=Ra({},t.params,e.params),r=i.stringify(s)}const l=[];let c=i;for(;c;)l.unshift(c.record),c=c.parent;return{name:a,path:r,params:s,matched:l,meta:Ws(l)}},removeRoute:r,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Hs(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Vs(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function Us(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ws(e){return e.reduce(((e,t)=>Ra(e,t.meta)),{})}function Qs(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function qs(e,t){return t.children.some((t=>t===e||qs(e,t)))}function Gs(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(Wa," "),i=e.indexOf("="),r=os(i<0?e:e.slice(0,i)),a=i<0?null:os(e.slice(i+1));if(r in t){let e=t[r];ja(e)||(e=t[r]=[e]),e.push(a)}else t[r]=a}return t}function Ys(e){let t="";for(let n in e){const o=e[n];if(n=ts(n).replace(Va,"%3D"),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(ja(o)?o.map((e=>e&&ts(e))):[o&&ts(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Xs(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=ja(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Js=Symbol(""),Ks=Symbol(""),Zs=Symbol(""),el=Symbol(""),tl=Symbol("");function nl(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function ol(e,t,n,o,i,r=(e=>e())){const a=o&&(o.enterCallbacks[i]=o.enterCallbacks[i]||[]);return()=>new Promise(((s,l)=>{const c=e=>{var r;!1===e?l(Ps(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(r=e)||r&&"object"==typeof r?l(Ps(2,{from:t,to:e})):(a&&o.enterCallbacks[i]===a&&"function"==typeof e&&a.push(e),s())},u=r((()=>e.call(o&&o.instances[i],t,n,c)));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch((e=>l(e)))}))}function il(e,t,n,o,i=(e=>e())){const r=[];for(const s of e)for(const e in s.components){let l=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if("object"==typeof(a=l)||"displayName"in a||"props"in a||"__vccOpts"in a){const a=(l.__vccOpts||l)[t];a&&r.push(ol(a,n,o,s,e,i))}else{let a=l();r.push((()=>a.then((r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${s.path}"`));const a=(l=r).__esModule||"Module"===l[Symbol.toStringTag]?r.default:r;var l;s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&ol(c,n,o,s,e,i)()}))))}}var a;return r}function rl(e){const t=Ai(Zs),n=Ai(el),o=Dr((()=>t.resolve(hn(e.to)))),i=Dr((()=>{const{matched:e}=o.value,{length:t}=e,i=e[t-1],r=n.matched;if(!i||!r.length)return-1;const a=r.findIndex(ss.bind(null,i));if(a>-1)return a;const s=sl(e[t-2]);return t>1&&sl(i)===s&&r[r.length-1].path!==s?r.findIndex(ss.bind(null,e[t-2])):a})),r=Dr((()=>i.value>-1&&function(e,t){for(const n in t){const o=t[n],i=e[n];if("string"==typeof o){if(o!==i)return!1}else if(!ja(i)||i.length!==o.length||o.some(((e,t)=>e!==i[t])))return!1}return!0}(n.params,o.value.params))),a=Dr((()=>i.value>-1&&i.value===n.matched.length-1&&ls(n.params,o.value.params)));return{route:o,href:Dr((()=>o.value.href)),isActive:r,isExactActive:a,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[hn(e.replace)?"replace":"push"](hn(e.to)).catch(La):Promise.resolve()}}}const al=Ao({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:rl,setup(e,{slots:t}){const n=Wt(rl(e)),{options:o}=Ai(Zs),i=Dr((()=>({[ll(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[ll(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:zr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}});function sl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ll=(e,t,n)=>null!=e?e:null!=t?t:n;function cl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const ul=Ao({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Ai(tl),i=Dr((()=>e.route||o.value)),r=Ai(Ks,0),a=Dr((()=>{let e=hn(r);const{matched:t}=i.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),s=Dr((()=>i.value.matched[a.value]));ki(Ks,Dr((()=>a.value+1))),ki(Js,s),ki(tl,i);const l=ln();return so((()=>[l.value,s.value,e.name]),(([e,t,n],[o,i,r])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),!e||!t||i&&ss(t,i)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=i.value,r=e.name,a=s.value,c=a&&a.components[r];if(!c)return cl(n.default,{Component:c,route:o});const u=a.props[r],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,h=zr(c,Ra({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[r]=null)},ref:l}));return cl(n.default,{Component:h,route:o})||h}}});function dl(e){const t=Fs(e.routes,e),n=e.parseQuery||Gs,o=e.stringifyQuery||Ys,i=e.history,r=nl(),a=nl(),s=nl(),l=cn(Ts);let c=Ts;za&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Na.bind(null,(e=>""+e)),d=Na.bind(null,ns),h=Na.bind(null,os);function p(e,r){if(r=Ra({},r||l.value),"string"==typeof e){const o=rs(n,e,r.path),a=t.resolve({path:o.path},r),s=i.createHref(o.fullPath);return Ra(o,a,{params:h(a.params),hash:os(o.hash),redirectedFrom:void 0,href:s})}let a;if(null!=e.path)a=Ra({},e,{path:rs(n,e.path,r.path).path});else{const t=Ra({},e.params);for(const e in t)null==t[e]&&delete t[e];a=Ra({},e,{params:d(t)}),r.params=d(r.params)}const s=t.resolve(a,r),c=e.hash||"";s.params=u(h(s.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,Ra({},e,{hash:(f=c,es(f).replace(Xa,"{").replace(Ka,"}").replace(Ga,"^")),path:s.path}));var f;const m=i.createHref(p);return Ra({fullPath:p,hash:c,query:o===Ys?Xs(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function f(e){return"string"==typeof e?rs(n,e,l.value.path):Ra({},e)}function m(e,t){if(c!==e)return Ps(8,{from:t,to:e})}function g(e){return b(e)}function y(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=f(o):{path:o},o.params={}),Ra({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function b(e,t){const n=c=p(e),i=l.value,r=e.state,a=e.force,s=!0===e.replace,u=y(n);if(u)return b(Ra(f(u),{state:"object"==typeof u?Ra({},r,u.state):r,force:a,replace:s}),t||n);const d=n;let h;return d.redirectedFrom=t,!a&&function(e,t,n){const o=t.matched.length-1,i=n.matched.length-1;return o>-1&&o===i&&ss(t.matched[o],n.matched[i])&&ls(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,i,n)&&(h=Ps(16,{to:d,from:i}),P(i,i,!0,!1)),(h?Promise.resolve(h):S(d,i)).catch((e=>Os(e)?Os(e,2)?e:E(e):B(e,d,i))).then((e=>{if(e){if(Os(e,2))return b(Ra({replace:s},f(e.to),{state:"object"==typeof e.to?Ra({},r,e.to.state):r,force:a}),t||d)}else e=x(d,i,!0,s,r);return w(d,i,e),e}))}function v(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=D.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function S(e,t){let n;const[o,i,s]=function(e,t){const n=[],o=[],i=[],r=Math.max(t.matched.length,e.matched.length);for(let a=0;a<r;a++){const r=t.matched[a];r&&(e.matched.find((e=>ss(e,r)))?o.push(r):n.push(r));const s=e.matched[a];s&&(t.matched.find((e=>ss(e,s)))||i.push(s))}return[n,o,i]}(e,t);n=il(o.reverse(),"beforeRouteLeave",e,t);for(const r of o)r.leaveGuards.forEach((o=>{n.push(ol(o,e,t))}));const l=v.bind(null,e,t);return n.push(l),R(n).then((()=>{n=[];for(const o of r.list())n.push(ol(o,e,t));return n.push(l),R(n)})).then((()=>{n=il(i,"beforeRouteUpdate",e,t);for(const o of i)o.updateGuards.forEach((o=>{n.push(ol(o,e,t))}));return n.push(l),R(n)})).then((()=>{n=[];for(const o of s)if(o.beforeEnter)if(ja(o.beforeEnter))for(const i of o.beforeEnter)n.push(ol(i,e,t));else n.push(ol(o.beforeEnter,e,t));return n.push(l),R(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=il(s,"beforeRouteEnter",e,t,_),n.push(l),R(n)))).then((()=>{n=[];for(const o of a.list())n.push(ol(o,e,t));return n.push(l),R(n)})).catch((e=>Os(e,8)?e:Promise.reject(e)))}function w(e,t,n){s.list().forEach((o=>_((()=>o(e,t,n)))))}function x(e,t,n,o,r){const a=m(e,t);if(a)return a;const s=t===Ts,c=za?history.state:{};n&&(o||s?i.replace(e.fullPath,Ra({scroll:s&&c&&c.scroll},r)):i.push(e.fullPath,r)),l.value=e,P(e,t,n,s),E()}let C;function k(){C||(C=i.listen(((e,t,n)=>{if(!z.listening)return;const o=p(e),r=y(o);if(r)return void b(Ra(r,{replace:!0}),o).catch(La);c=o;const a=l.value;var s,u;za&&(s=_s(a.fullPath,n.delta),u=bs(),Ss.set(s,u)),S(o,a).catch((e=>Os(e,12)?e:Os(e,2)?(b(e.to,o).then((e=>{Os(e,20)&&!n.delta&&n.type===ds.pop&&i.go(-1,!1)})).catch(La),Promise.reject()):(n.delta&&i.go(-n.delta,!1),B(e,o,a)))).then((e=>{(e=e||x(o,a,!1))&&(n.delta&&!Os(e,8)?i.go(-n.delta,!1):n.type===ds.pop&&Os(e,20)&&i.go(-1,!1)),w(o,a,e)})).catch(La)})))}let A,T=nl(),I=nl();function B(e,t,n){E(e);const o=I.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function E(e){return A||(A=!e,k(),T.list().forEach((([t,n])=>e?n(e):t())),T.reset()),e}function P(t,n,o,i){const{scrollBehavior:r}=e;if(!za||!r)return Promise.resolve();const a=!o&&function(e){const t=Ss.get(e);return Ss.delete(e),t}(_s(t.fullPath,0))||(i||!o)&&history.state&&history.state.scroll||null;return On().then((()=>r(t,n,a))).then((e=>e&&vs(e))).catch((e=>B(e,t,n)))}const O=e=>i.go(e);let M;const D=new Set,z={currentRoute:l,listening:!0,addRoute:function(e,n){let o,i;return As(e)?(o=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:p,options:e,push:g,replace:function(e){return g(Ra(f(e),{replace:!0}))},go:O,back:()=>O(-1),forward:()=>O(1),beforeEach:r.add,beforeResolve:a.add,afterEach:s.add,onError:I.add,isReady:function(){return A&&l.value!==Ts?Promise.resolve():new Promise(((e,t)=>{T.add([e,t])}))},install(e){e.component("RouterLink",al),e.component("RouterView",ul),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>hn(l)}),za&&!M&&l.value===Ts&&(M=!0,g(i.location).catch((e=>{})));const t={};for(const o in Ts)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Zs,this),e.provide(el,Qt(t)),e.provide(tl,l);const n=e.unmount;D.add(e),e.unmount=function(){D.delete(e),D.size<1&&(c=Ts,C&&C(),C=null,l.value=Ts,M=!1,A=!1),n()}}};function R(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return z}function hl(){return Ai(el)}const pl=["{","}"];const fl=/^(?:\d)+/,ml=/^(?:\w)+/;const gl=Object.prototype.hasOwnProperty,yl=(e,t)=>gl.call(e,t),bl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=pl){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let i=0,r="";for(;i<e.length;){let a=e[i++];if(a===t){r&&o.push({type:"text",value:r}),r="";let t="";for(a=e[i++];void 0!==a&&a!==n;)t+=a,a=e[i++];const s=a===n,l=fl.test(t)?"list":s&&ml.test(t)?"named":"unknown";o.push({value:t,type:l})}else r+=a}return r&&o.push({type:"text",value:r}),o}(e,n),this._caches[e]=o),function(e,t){const n=[];let o=0;const i=Array.isArray(t)?"list":(r=t,null!==r&&"object"==typeof r?"named":"unknown");var r;if("unknown"===i)return n;for(;o<e.length;){const r=e[o];switch(r.type){case"text":n.push(r.value);break;case"list":n.push(t[parseInt(r.value,10)]);break;case"named":"named"===i&&n.push(t[r.value])}o++}return n}(o,t)}};function vl(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const i=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return i||void 0}class _l{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:i}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=i||bl,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=vl(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach((e=>{e(this.locale,t)}))}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach((e=>{yl(o,e)||(o[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=vl(t,this.messages))&&(o=this.messages[t]):n=t,yl(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function Sl(e,t={},n,o){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&Ah?Ah():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const i=new _l({locale:e,fallbackLocale:n,messages:t,watcher:o});let r=(e,t)=>{{let e=!1;r=function(t,n){const o=fy().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(o,i))),i.t(t,n)}}return r(e,t)};return{i18n:i,f:(e,t,n)=>i.f(e,t,n),t:(e,t)=>r(e,t),add:(e,t,n=!0)=>i.add(e,t,n),watch:e=>i.watchLocale(e),getLocale:()=>i.getLocale(),setLocale:e=>i.setLocale(e)}}function wl(e,t){return e.indexOf(t[0])>-1}const xl=se((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let Cl;function kl(e){return wl(e,ee)?Il().f(e,function(){const e=Ah(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),ee):e}function Al(e,t){if(1===t.length){if(e){const n=e=>y(e)&&wl(e,ee),o=t[0];let i=[];if(p(e)&&(i=e.filter((e=>n(e[o])))).length)return i;const r=e[t[0]];if(n(r))return e}return}const n=t.shift();return Al(e&&e[n],t)}function Tl(e,t){const n=Al(e,t);if(!n)return!1;const o=t[t.length-1];if(p(n))n.forEach((e=>Tl(e,[o])));else{let e=n[o];Object.defineProperty(n,o,{get:()=>kl(e),set(t){e=t}})}return!0}function Il(){if(!Cl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,Cl=Sl(e),xl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>Cl.add(e,__uniConfig.locales[e]))),Cl.setLocale(e)}}return Cl}function Bl(e,t,n){return t.reduce(((t,o,i)=>(t[e+o]=n[i],t)),{})}const El=se((()=>{const e="uni.async.",t=["error"];Il().add("en",Bl(e,t,["The connection timed out, click the screen to try again."]),!1),Il().add("es",Bl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Il().add("fr",Bl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Il().add("zh-Hans",Bl(e,t,["连接服务器超时，点击屏幕重试"]),!1),Il().add("zh-Hant",Bl(e,t,["連接服務器超時，點擊屏幕重試"]),!1)})),Pl=se((()=>{const e="uni.showToast.",t=["unpaired"];Il().add("en",Bl(e,t,["Please note showToast must be paired with hideToast"]),!1),Il().add("es",Bl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Il().add("fr",Bl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Il().add("zh-Hans",Bl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),Il().add("zh-Hant",Bl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),Ol=se((()=>{const e="uni.showLoading.",t=["unpaired"];Il().add("en",Bl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),Il().add("es",Bl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Il().add("fr",Bl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Il().add("zh-Hans",Bl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),Il().add("zh-Hant",Bl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),Ml=se((()=>{const e="uni.showModal.",t=["cancel","confirm"];Il().add("en",Bl(e,t,["Cancel","OK"]),!1),Il().add("es",Bl(e,t,["Cancelar","OK"]),!1),Il().add("fr",Bl(e,t,["Annuler","OK"]),!1),Il().add("zh-Hans",Bl(e,t,["取消","确定"]),!1),Il().add("zh-Hant",Bl(e,t,["取消","確定"]),!1)})),Dl=se((()=>{const e="uni.chooseFile.",t=["notUserActivation"];Il().add("en",Bl(e,t,["File chooser dialog can only be shown with a user activation"]),!1),Il().add("es",Bl(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),Il().add("fr",Bl(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),Il().add("zh-Hans",Bl(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),Il().add("zh-Hant",Bl(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),zl=se((()=>{const e="uni.setClipboardData.",t=["success","fail"];Il().add("en",Bl(e,t,["Content copied","Copy failed, please copy manually"]),!1),Il().add("es",Bl(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),Il().add("fr",Bl(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),Il().add("zh-Hans",Bl(e,t,["内容已复制","复制失败，请手动复制"]),!1),Il().add("zh-Hant",Bl(e,t,["內容已復制","復制失敗，請手動復製"]),!1)})),Rl=se((()=>{const e="uni.video.",t=["danmu","volume"];Il().add("en",Bl(e,t,["Danmu","Volume"]),!1),Il().add("es",Bl(e,t,["Danmu","Volumen"]),!1),Il().add("fr",Bl(e,t,["Danmu","Le Volume"]),!1),Il().add("zh-Hans",Bl(e,t,["弹幕","音量"]),!1),Il().add("zh-Hant",Bl(e,t,["彈幕","音量"]),!1)}));function Nl(e){const t=new Me;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,i=!1){t[i?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,i){t.emit(`${e}.${n}`,o,i)}}}let Ll=1;const jl=Object.create(null);function $l(e,t){return e+"."+t}function Fl(e,t,n){t=$l(e,t),jl[t]||(jl[t]=n)}function Hl({id:e,name:t,args:n},o){t=$l(o,t);const i=t=>{e&&Kv.publishHandler("invokeViewApi."+e,t)},r=jl[t];r?r(n,i):i({})}const Vl=c(Nl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:i}=Kv,r=n?Ll++:0;n&&o("invokeServiceApi."+r,n,!0),i("invokeServiceApi",{id:r,name:e,args:t})}}),Ul=_e(!0);let Wl;function Ql(){Wl&&(clearTimeout(Wl),Wl=null)}let ql=0,Gl=0;function Yl(e){if(Ql(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];ql=t,Gl=n,Wl=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 Xl(e){if(!Wl)return;if(1!==e.touches.length)return Ql();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-ql)>10||Math.abs(n-Gl)>10?Ql():void 0}function Jl(e,t){const n=Number(e);return isNaN(n)?t:n}function Kl(){const e=__uniConfig.globalStyle||{},t=Jl(e.rpxCalcMaxDeviceWidth,960),n=Jl(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function Zl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ec,tc,nc=["top","left","right","bottom"],oc={};function ic(){return tc="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 rc(){if(tc="string"==typeof tc?tc:ic()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(s){}var o=document.createElement("div");i(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),nc.forEach((function(e){a(o,e)})),document.body.appendChild(o),r(),ec=!0}else nc.forEach((function(e){oc[e]=0}));function i(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function r(t){t?e.push(t):e.forEach((function(e){e()}))}function a(e,n){var o=document.createElement("div"),a=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:tc+"(safe-area-inset-"+n+")"};i(o,c),i(a,c),i(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),i(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(s),a.appendChild(l),e.appendChild(o),e.appendChild(a),r((function(){o.scrollTop=a.scrollTop=1e4;var e=o.scrollTop,i=a.scrollTop;function r(){this.scrollTop!==(this===o?e:i)&&(o.scrollTop=a.scrollTop=1e4,e=o.scrollTop,i=a.scrollTop,function(e){sc.length||setTimeout((function(){var e={};sc.forEach((function(t){e[t]=oc[t]})),sc.length=0,lc.forEach((function(t){t(e)}))}),0);sc.push(e)}(n))}o.addEventListener("scroll",r,t),a.addEventListener("scroll",r,t)}));var u=getComputedStyle(o);Object.defineProperty(oc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function ac(e){return ec||rc(),oc[e]}var sc=[];var lc=[];const cc=Zl({get support(){return 0!=("string"==typeof tc?tc:ic()).length},get top(){return ac("top")},get left(){return ac("left")},get right(){return ac("right")},get bottom(){return ac("bottom")},onChange:function(e){ic()&&(ec||rc(),"function"==typeof e&&lc.push(e))},offChange:function(e){var t=lc.indexOf(e);t>=0&&lc.splice(t,1)}}),uc=Pa((()=>{}),["prevent"]),dc=Pa((e=>{}),["stop"]);function hc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function pc(){const e=hc(document.documentElement.style,"--window-top");return e?e+cc.top:0}function fc(){const e=document.documentElement.style,t=pc(),n=hc(e,"--window-bottom"),o=hc(e,"--window-left"),i=hc(e,"--window-right"),r=hc(e,"--top-window-height");return{top:t,bottom:n?n+cc.bottom:0,left:o?o+cc.left:0,right:i?i+cc.right:0,topWindowHeight:r||0}}function mc(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function gc(e){return mc(e)}function yc(e){return Symbol(e)}function bc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function vc(e,t=!1){if(t)return function(e){if(!bc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>Id(parseFloat(t))+"px"))}(e);if(y(e)){const t=parseInt(e)||0;return bc(e)?Id(t):t}return e}function _c(e){return e.$page}function Sc(e){return 0===e.tagName.indexOf("UNI-")}const wc="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",xc="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 kc(e,t="#000",n=27){return dr("svg",{width:n,height:n,viewBox:"0 0 32 32"},[dr("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Ac(){{const{$pageInstance:e}=xr();return e&&Dc(e.proxy)}}function Tc(e){const t=de(e);if(t.$page)return Dc(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return Dc(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?Dc(n):void 0}function Ic(){const e=Qp(),t=e.length;if(t)return e[t-1]}function Bc(){var e;const t=null==(e=Ic())?void 0:e.$page;if(t)return t.meta}function Ec(){const e=Bc();return e?e.id:-1}function Pc(){const e=Ic();if(e)return e.$vm}const Oc=["navigationBar","pullToRefresh"];function Mc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);Oc.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:i}=o;return i.titleText&&i.titleImage&&(i.titleText=""),o}function Dc(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function zc(e,t,n){if(y(e))n=t,t=e,e=Pc();else if("number"==typeof e){const t=Qp().find((t=>_c(t).id===e));e=t?t.$vm:Pc()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(o,n)}function Rc(e){e.preventDefault()}let Nc,Lc=0;function jc({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,i=!1,r=!0;const a=()=>{function a(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,r=o>0&&e>t&&o+t+n>=e,a=Math.abs(e-Lc)>n;return!r||i&&!a?(!r&&i&&(i=!1),!1):(Lc=e,i=!0,!0)})())return t&&t(),r=!1,setTimeout((function(){r=!0}),350),!0}e&&e(window.pageYOffset),t&&r&&(a()||(Nc=setTimeout(a,300))),o=!1};return function(){clearTimeout(Nc),o||requestAnimationFrame(a),o=!0}}function $c(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return $c(e,t.slice(2));const n=t.split("/"),o=n.length;let i=0;for(;i<o&&".."===n[i];i++);n.splice(0,i),t=n.join("/");const r=e.length>0?e.split("/"):[];return r.splice(r.length-i-1,i+1),ie(r.concat(n).join("/"))}function Fc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function Hc(){Kl(),ye(Sc),window.addEventListener("touchstart",Yl,Ul),window.addEventListener("touchmove",Xl,Ul),window.addEventListener("touchend",Ql,Ul),window.addEventListener("touchcancel",Ql,Ul)}class Vc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(pe(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(16&o.shapeFlag){const e=o.children.filter((e=>e.el&&pe(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=qc(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 o=0;o<n.length;o++){const e=qc(n[o]);e&&t.push(Uc(e,!1))}return t}forceUpdate(e){"class"===e?this.$bindClass?(this.$el.__wxsClassChanged=!0,this.$vm.$forceUpdate()):this.updateWxsClass():"style"===e&&(this.$bindStyle?(this.$el.__wxsStyleChanged=!0,this.$vm.$forceUpdate()):this.updateWxsStyle())}updateWxsClass(){const{__wxsAddClass:e}=this.$el;e.length&&(this.$el.className=e.join(" "))}updateWxsStyle(){const{__wxsStyle:e}=this.$el;e&&this.$el.setAttribute("style",function(e){let t="";if(!e||y(e))return t;for(const n in e){const o=e[n],i=n.startsWith("--")?n:E(n);(y(o)||"number"==typeof o)&&(t+=`${i}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(y(e)&&(e=V(e)),x(e)&&(this.$el.__wxsStyle=e,this.forceUpdate("style")),this):this}addClass(e){if(!this.$el||!e)return this;const t=this.$el.__wxsAddClass||(this.$el.__wxsAddClass=[]);return-1===t.indexOf(e)&&(t.push(e),this.forceUpdate("class")),this}removeClass(e){if(!this.$el||!e)return this;const{__wxsAddClass:t}=this.$el;if(t){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];g(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Kv.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=he(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Vc(e)),e.$el.__wxsComponentDescriptor}function Wc(e,t){return Uc(e,t)}function Qc(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Wc(n.proxy,!1)}));const i=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=he(t);if(!o)return!1;const i=o.$.type;return!(!i.$wxs&&!i.$renderjs)&&o}(t,n,o);if(i)return[e,Wc(i,!1)]}}function qc(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Gc(e,t=!1){const{type:n,timeStamp:o,target:i,currentTarget:r}=e;let a,s;a=Se(t?i:function(e){for(;!Sc(e);)e=e.parentElement;return e}(i)),s=Se(r);const l={type:n,timeStamp:o,target:a,detail:{},currentTarget:s};return e instanceof CustomEvent&&x(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Yc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Xc(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:i,pageX:r,pageY:a,clientX:s,clientY:l,force:c}=e[o];n.push({identifier:i,pageX:r,pageY:a-t,clientX:s,clientY:l-t,force:c||0})}return n}const Jc=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const i=!Sc(o);if(i)return Qc(e,t,n,!1)||[e];const r=Gc(e,i);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,i=pc();e.detail={x:n,y:o-i},e.touches=e.changedTouches=[Yc(t,i)]}(r,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=pc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Yc(t,n)]}(r,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=pc();r.touches=Xc(e.touches,t),r.changedTouches=Xc(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(r,t,{get:()=>e[t]})}))}return Qc(r,t,n)||[r]},createNativeEvent:Gc},Symbol.toStringTag,{value:"Module"});function Kc(e){!function(e){const t=e.globalProperties;c(t,Jc),t.$gcd=Wc}(e._context.config)}let Zc=1;function eu(e){return(e||Ec())+".invokeViewApi"}const tu=c(Nl("view"),{invokeOnCallback:(e,t)=>Zv.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:i,publishHandler:r}=Zv,a=o?Zc++:0;o&&i("invokeViewApi."+a,o,!0),r(eu(n),{id:a,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:i,unsubscribe:r,publishHandler:a}=Zv,s=Zc++,l="invokeViewApi."+s;return i(l,n),a(eu(o),{id:s,name:e,args:t},o),()=>{r(l)}}});function nu(e){zc(Ic(),"onResize",e),Zv.invokeOnCallback("onWindowResize",e)}function ou(e){const t=Ic();zc(fy(),"onShow",e),zc(t,"onShow")}function iu(){zc(fy(),"onHide"),zc(Ic(),"onHide")}const ru=["onPageScroll","onReachBottom"];function au(){ru.forEach((e=>Zv.subscribe(e,function(e){return(t,n)=>{zc(parseInt(n),e,t)}}(e))))}function su(){!function(){const{on:e}=Zv;e("onResize",nu),e("onAppEnterForeground",ou),e("onAppEnterBackground",iu)}(),au()}function lu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Te(this.$page.id)),e.eventChannel}}function cu(e){e._context.config.globalProperties.getOpenerEventChannel=lu}function uu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function du(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Id(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function hu(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,i=t.actions.length;function r(){const t=o[n],a=t.option.transition,s=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],i=["width","height","left","right","top","bottom"],r=e.animates,a=e.option,s=a.transition,l={},c=[];return r.forEach((e=>{let r=e.type,a=[...e.args];if(t.concat(n).includes(r))r.startsWith("rotate")||r.startsWith("skew")?a=a.map((e=>parseFloat(e)+"deg")):r.startsWith("translate")&&(a=a.map(du)),n.indexOf(r)>=0&&(a.length=1),c.push(`${r}(${a.join(",")})`);else if(o.concat(i).includes(a[0])){r=a[0];const e=a[1];l[r]=i.includes(r)?du(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)} ${s.duration}ms ${s.timingFunction} ${s.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=a.transformOrigin,l}(t);Object.keys(s).forEach((t=>{e.$el.style[t]=s[t]})),n+=1,n<i&&setTimeout(r,a.duration+a.delay)}setTimeout((()=>{r()}),0)}const pu={props:["animation"],watch:{animation:{deep:!0,handler(){hu(this)}}},mounted(){hu(this)}},fu=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},Ao(e));function gu(e){return e.__wwe=!0,e}function yu(e,t){return(n,o,i)=>{e.value&&t(n,function(e,t,n,o){let i;return i=Se(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:i,currentTarget:i,detail:o}}(n,o,e.value,i||{}))}}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 vu(e){const t=ln(!1);let n,o,i=!1;function r(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function a(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),i=!0,n=setTimeout((()=>{t.value=!0,i||r()}),parseInt(e.hoverStartTime)))}function s(){i=!1,t.value&&r()}function l(){s(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:gu((function(e){e.touches.length>1||a(e)})),onMousedown:gu((function(e){i||(a(e),window.addEventListener("mouseup",l))})),onTouchend:gu((function(){s()})),onMouseup:gu((function(){i&&l()})),onTouchcancel:gu((function(){i=!1,t.value=!1,clearTimeout(n)}))}}}function _u(e,t){return y(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const Su=yc("uf"),wu=fu({name:"Form",emits:["submit","reset"],setup(e,{slots:t,emit:n}){const o=ln(null);return function(e){const t=[];ki(Su,{addField(e){t.push(e)},removeField(e){t.splice(t.indexOf(e),1)},submit(n){e("submit",n,{value:t.reduce(((e,t)=>{if(t.submit){const[n,o]=t.submit();n&&(e[n]=o)}return e}),Object.create(null))})},reset(n){t.forEach((e=>e.reset&&e.reset())),e("reset",n)}})}(yu(o,n)),()=>dr("uni-form",{ref:o},[dr("span",null,[t.default&&t.default()])],512)}});const xu={for:{type:String,default:""}},Cu=yc("ul");const ku=fu({name:"Label",props:xu,setup(e,{slots:t}){const n=ln(null),o=Ac(),i=function(){const e=[];return ki(Cu,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}(),r=Dr((()=>e.for||t.default&&t.default.length)),a=gu((t=>{const n=t.target;let r=/^uni-(checkbox|radio|switch)-/.test(n.className);r||(r=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(n.tagName)),r||(e.for?Kv.emit("uni-label-click-"+o+"-"+e.for,t,!0):i.length&&i[0](t,!0))}));return()=>dr("uni-label",{ref:n,class:{"uni-label-pointer":r},onClick:a},[t.default&&t.default()],10,["onClick"])}});function Au(e,t){Tu(e.id,t),so((()=>e.id),((e,n)=>{Iu(n,t,!0),Tu(e,t,!0)})),Xo((()=>{Iu(e.id,t)}))}function Tu(e,t,n){const o=Ac();n&&!e||x(t)&&Object.keys(t).forEach((i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&Kv.on(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?Kv.on(i,t[i]):e&&Kv.on(`uni-${i}-${o}-${e}`,t[i])}))}function Iu(e,t,n){const o=Ac();n&&!e||x(t)&&Object.keys(t).forEach((i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&Kv.off(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?Kv.off(i,t[i]):e&&Kv.off(`uni-${i}-${o}-${e}`,t[i])}))}const Bu=fu({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=ln(null),o=Ai(Su,!1),{hovering:i,binding:r}=vu(e),a=gu(((t,i)=>{if(e.disabled)return t.stopImmediatePropagation();i&&n.value.click();const r=e.formType;if(r){if(!o)return;"submit"===r?o.submit(t):"reset"===r&&o.reset(t)}else;})),s=Ai(Cu,!1);return s&&(s.addHandler(a),Yo((()=>{s.removeHandler(a)}))),Au(e,{"label-click":a}),()=>{const o=e.hoverClass,s=_u(e,"disabled"),l=_u(e,"loading"),c=_u(e,"plain"),u=o&&"none"!==o;return dr("uni-button",br({ref:n,onClick:a,id:e.id,class:u&&i.value?o:""},u&&r,s,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),Eu=yc("upm");function Pu(){return Ai(Eu)}function Ou(e){const t=function(e){return Wt(function(e){{const{navigationBar:t}=e,{titleSize:n,titleColor:o,backgroundColor:i}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=o||"#000000",t.backgroundColor=i||"#F8F8F8"}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Qp().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(Mc(hl().meta,e)))))}(e);return ki(Eu,t),t}function Mu(){return hl()}function Du(){return history.state&&history.state.__id__||1}const zu=["original","compressed"],Ru=["album","camera"],Nu=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function Lu(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function ju(e,t){return!p(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function $u(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let Fu=1;const Hu={};function Vu(e,t,n,o=!1){return Hu[e]={name:t,keepAlive:o,callback:n},e}function Uu(e,t,n){if("number"==typeof e){const o=Hu[e];if(o)return o.keepAlive||delete Hu[e],o.callback(t,n)}return t}function Wu(e){for(const t in Hu)if(Hu[t].name===e)return!0;return!1}const Qu="success",qu="fail",Gu="complete";function Yu(e,t={},{beforeAll:n,beforeSuccess:o}={}){x(t)||(t={});const{success:i,fail:r,complete:a}=function(e){const t={};for(const n in e){const o=e[n];g(o)&&(t[n]=$u(o),delete e[n])}return t}(t),s=g(i),l=g(r),c=g(a),u=Fu++;return Vu(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),g(n)&&n(u),u.errMsg===e+":ok"?(g(o)&&o(u,t),s&&i(u)):l&&r(u),c&&a(u)})),u}const Xu="success",Ju="fail",Ku="complete",Zu={},ed={};function td(e,t){return function(n){return e(n,t)||n}}function nd(e,t,n){let o=!1;for(let i=0;i<e.length;i++){const r=e[i];if(o)o=Promise.resolve(td(r,n));else{const e=r(t,n);if(_(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function od(e,t={}){return[Xu,Ju,Ku].forEach((n=>{const o=e[n];if(!p(o))return;const i=t[n];t[n]=function(e){nd(o,e,t).then((e=>g(i)&&i(e)||e))}})),t}function id(e,t){const n=[];p(Zu.returnValue)&&n.push(...Zu.returnValue);const o=ed[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function rd(e){const t=Object.create(null);Object.keys(Zu).forEach((e=>{"returnValue"!==e&&(t[e]=Zu[e].slice())}));const n=ed[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function ad(e,t,n,o){const i=rd(e);if(i&&Object.keys(i).length){if(p(i.invoke)){return nd(i.invoke,n).then((n=>t(od(rd(e),n),...o)))}return t(od(i,n),...o)}return t(n,...o)}function sd(e,t){return(n={},...o)=>function(e){return!(!x(e)||![Qu,qu,Gu].find((t=>g(e[t]))))}(n)?id(e,ad(e,t,c({},n),o)):id(e,new Promise(((i,r)=>{ad(e,t,c({},n,{success:i,fail:r}),o)})))}function ld(e,t,n,o={}){const i=t+":fail";let r="";return r=n?0===n.indexOf(i)?n:i+" "+n:i,delete o.errCode,Uu(e,c({errMsg:r},o))}function cd(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(y(e))return e}const i=function(e,t){const n=e[0];if(!t||!t.formatArgs||!x(t.formatArgs)&&x(n))return;const o=t.formatArgs,i=Object.keys(o);for(let r=0;r<i.length;r++){const t=i[r],a=o[t];if(g(a)){const o=a(e[0][t],n);if(y(o))return o}else h(n,t)||(n[t]=a)}}(t,o);if(i)return i}function ud(e){if(!g(e))throw new Error('Invalid args: type check failed for args "callback". Expected Function')}function dd(e,t,n){return o=>{ud(o);const i=cd(0,[o],0,n);if(i)throw new Error(i);const r=!Wu(e);!function(e,t){Vu(Fu++,e,t,!0)}(e,o),r&&(!function(e){Zv.on("api."+e,(t=>{for(const n in Hu){const o=Hu[n];o.name===e&&o.callback(t)}}))}(e),t())}}function hd(e,t,n){return o=>{ud(o);const i=cd(0,[o],0,n);if(i)throw new Error(i);!function(e,t){for(const n in Hu){const o=Hu[n];o.callback===t&&o.name===e&&delete Hu[n]}}(e=e.replace("off","on"),o);Wu(e)||(!function(e){Zv.off("api."+e)}(e),t())}}function pd(e,t,n,o){return n=>{const i=Yu(e,n,o),r=cd(0,[n],0,o);return r?ld(i,e,r):t(n,{resolve:t=>function(e,t,n){return Uu(e,c(n||{},{errMsg:t+":ok"}))}(i,e,t),reject:(t,n)=>ld(i,e,function(e){return!e||y(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function fd(e,t,n){return dd(e,t,n)}function md(e,t,n){return hd(e,t,n)}function gd(e,t,n,o){return sd(e,pd(e,t,0,o))}function yd(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=cd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function bd(e,t,n,o){return sd(e,function(e,t,n,o){return pd(e,t,0,o)}(e,t,0,o))}function vd(e){return(t,{reject:n})=>n(function(e){return`method 'uni.${e}' not supported`}(e))}let _d=!1,Sd=0,wd=0,xd=960,Cd=375,kd=750;function Ad(){let e,t,n;{const{windowWidth:o,pixelRatio:i,platform:r}=function(){const e=vf(),t=wf(Sf(e,_f(e)));return{platform:ff?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=i,n=r}Sd=e,wd=t,_d="ios"===n}function Td(e,t){const n=Number(e);return isNaN(n)?t:n}const Id=yd(0,((e,t)=>{if(0===Sd&&(Ad(),function(){const e=__uniConfig.globalStyle||{};xd=Td(e.rpxCalcMaxDeviceWidth,960),Cd=Td(e.rpxCalcBaseDeviceWidth,375),kd=Td(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Sd;n=e===kd||n<=xd?n:Cd;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==wd&&_d?.5:1),e<0?-o:o}));function Bd(e,t){Object.keys(t).forEach((n=>{g(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):p(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}(e[n],t[n]))}))}const Ed=yd(0,((e,t)=>{y(e)&&x(t)?Bd(ed[e]||(ed[e]={}),t):x(e)&&Bd(Zu,e)}));const Pd=new class{constructor(){this.$emitter=new Me}on(e,t){return this.$emitter.on(e,t)}once(e,t){return this.$emitter.once(e,t)}off(e,t){e?this.$emitter.off(e,t):this.$emitter.e={}}emit(e,...t){this.$emitter.emit(e,...t)}},Od=yd(0,((e,t)=>(Pd.on(e,t),()=>Pd.off(e,t)))),Md=yd(0,((e,t)=>(Pd.once(e,t),()=>Pd.off(e,t)))),Dd=yd(0,((e,t)=>{p(e)||(e=e?[e]:[]),e.forEach((e=>{Pd.off(e,t)}))})),zd=yd(0,((e,...t)=>{Pd.emit(e,...t)})),Rd=[.5,.8,1,1.25,1.5,2];class Nd{constructor(e,t){this.id=e,this.pageId=t}play(){xf(this.id,this.pageId,"play")}pause(){xf(this.id,this.pageId,"pause")}stop(){xf(this.id,this.pageId,"stop")}seek(e){xf(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){xf(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Rd.indexOf(e)||(e=1),xf(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){xf(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){xf(this.id,this.pageId,"exitFullScreen")}showStatusBar(){xf(this.id,this.pageId,"showStatusBar")}hideStatusBar(){xf(this.id,this.pageId,"hideStatusBar")}}const Ld=yd(0,((e,t)=>new Nd(e,Tc(t||Pc())))),jd=(e,t,n,o)=>{!function(e,t,n,o,i){Zv.invokeViewMethod("map."+e,{type:n,data:o},t,i)}(e,t,n,o,(e=>{o&&((e,t)=>{const n=t.errMsg||"";new RegExp("\\:\\s*fail").test(n)?e.fail&&e.fail(t):e.success&&e.success(t),e.complete&&e.complete(t)})(o,e)}))};function $d(e,t){return function(n,o){n?o[e]=Math.round(n):void 0!==t&&(o[e]=t)}}const Fd=$d("width"),Hd=$d("height"),Vd={PNG:"png",JPG:"jpg",JPEG:"jpg"},Ud={formatArgs:{x:$d("x",0),y:$d("y",0),width:Fd,height:Hd,destWidth:$d("destWidth"),destHeight:$d("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=Vd[e];n||(n=Vd.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}};function Wd(e,t,n,o,i){Zv.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{i&&i(e)}))}var Qd=["scale","rotate","translate","setTransform","transform"],qd=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],Gd=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const Yd={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 Xd(e){let t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),o=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),o=parseInt(o+o,16),[e,n,o,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e){return Math.min(255,parseInt(e.trim()))})).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))}));var n=e.toLowerCase();if(h(Yd,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(Yd[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),i=parseInt(t[1].slice(4,6),16);let r=parseInt(t[1].slice(6,8),16);return r=r>=0?r:255,[e,o,i,r]}return console.error("unsupported color:"+e),[0,0,0,255]}class Jd{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,Xd(t)])}}class Kd{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class Zd{constructor(e){this.width=e}}class eh{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,o){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,o){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,o){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,o){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,o,i,r,a,s,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,o,i,r){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],Wd(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new Jd("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new Jd("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 Kd(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 Zd(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,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,i,r){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,i,r]}),this.subpath.push([i,r])}arc(e,t,n,o,i,r=!1){this.path.push({method:"arc",data:[e,t,n,o,i,r]}),this.subpath.push([e,t])}rect(e,t,n,o){this.path.push({method:"rect",data:[e,t,n,o]}),this.subpath=[[e,t]]}arcTo(e,t,n,o,i){this.path.push({method:"arcTo",data:[e,t,n,o,i]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),i=parseFloat(n[3]),r=n[7],a=[];o.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(a.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal","lighter","bolder"].indexOf(e)>-1||/^\d+$/.test(e)?(a.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(a.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&s()})),1===o.length&&s(),o=a.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=i,this.state.fontFamily=r,this.actions.push({method:"setFont",data:[`${o} ${i}px ${r}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function s(){a.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}}const th=se((()=>{[...Qd,...qd].forEach((function(e){eh.prototype[e]=function(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:[...this.path]})};case"fillRect":return function(e,t,n,o){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,o]}]})};case"strokeRect":return function(e,t,n,o){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,o]}]})};case"fillText":case"strokeText":return function(t,n,o,i){var r=[t.toString(),n,o];"number"==typeof i&&r.push(i),this.actions.push({method:e,data:r})};case"drawImage":return function(t,n,o,i,r,a,s,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(a=n,s=o,l=i,c=r,n=void 0,o=void 0,i=void 0,r=void 0),u=d(n)&&d(o)&&d(i)&&d(r)?[t,a,s,l,c,n,o,i,r]:d(l)&&d(c)?[t,a,s,l,c]:[t,a,s],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})),Gd.forEach((function(e){eh.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",Xd(t)]}):this.actions.push({method:e,data:[t.type,t.data,t.colorStop]})};case"setGlobalAlpha":return function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:e,data:[t]})};case"setShadow":return function(t,n,o,i){i=Xd(i),this.actions.push({method:e,data:[t,n,o,i]}),this.state.shadowBlur=o,this.state.shadowColor=i,this.state.shadowOffsetX=t,this.state.shadowOffsetY=n};case"setLineDash":return function(t,n){t=t||[0,0],n=n||0,this.actions.push({method:e,data:[t,n]}),this.state.lineDash=t};case"setFontSize":return function(t){this.state.font=this.state.font.replace(/\d+\.?\d*px/,t+"px"),this.state.fontSize=t,this.actions.push({method:e,data:[t]})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)}))})),nh=yd(0,((e,t)=>{if(th(),t)return new eh(e,Tc(t));const n=Tc(Pc());if(n)return new eh(e,n);Zv.emit("onError","createCanvasContext:fail")})),oh=bd("canvasToTempFilePath",(({x:e=0,y:t=0,width:n,height:o,destWidth:i,destHeight:r,canvasId:a,fileType:s,quality:l},{resolve:c,reject:u})=>{var d=Tc(Pc());if(!d)return void u();Wd(a,d,"toTempFilePath",{x:e,y:t,width:n,height:o,destWidth:i,destHeight:r,fileType:s,quality:l,dirname:"/canvas"},(e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?u("",e):c(e)}))}),0,Ud),ih=["onCanplay","onPlay","onPause","onStop","onEnded","onTimeUpdate","onError","onWaiting","onSeeking","onSeeked"],rh=["offCanplay","offPlay","offPause","offStop","offEnded","offTimeUpdate","offError","offWaiting","offSeeking","offSeeked"],ah={thresholds:[0],initialRatio:0,observeAll:!1},sh=["top","right","bottom","left"];let lh=1;function ch(e={}){return sh.map((t=>`${Number(e[t])||0}px`)).join(" ")}class uh{constructor(e,t){this._pageId=Tc(e),this._component=e,this._options=c({},ah,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=ch(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=ch(e),this}observe(e,t){g(t)&&(this._options.selector=e,this._reqId=lh++,function({reqId:e,component:t,options:n,callback:o},i){const r=cf(t);(r.__io||(r.__io={}))[e]=function(e,t,n){!function(){if("object"!=typeof window)return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)return void("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}));function e(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}var t=function(t){for(var n=window.document,o=e(n);o;)o=e(n=o.ownerDocument);return n}(),n=[],o=null,i=null;function r(e){this.time=e.time,this.target=e.target,this.rootBounds=f(e.rootBounds),this.boundingClientRect=f(e.boundingClientRect),this.intersectionRect=f(e.intersectionRect||p()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,o=this.intersectionRect,i=o.width*o.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function a(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType&&9!=n.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(){return window.performance&&performance.now&&performance.now()}function l(e,t){var n=null;return function(){n||(n=setTimeout((function(){e(),n=null}),t))}}function c(e,t,n,o){"function"==typeof e.addEventListener?e.addEventListener(t,n,o):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function u(e,t,n,o){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,o):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function d(e,t){var n=Math.max(e.top,t.top),o=Math.min(e.bottom,t.bottom),i=Math.max(e.left,t.left),r=Math.min(e.right,t.right),a=r-i,s=o-n;return a>=0&&s>=0&&{top:n,bottom:o,left:i,right:r,width:a,height:s}||null}function h(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):p()}function p(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function f(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function m(e,t){var n=t.top-e.top,o=t.left-e.left;return{top:n,left:o,height:t.height,width:t.width,bottom:n+t.height,right:o+t.width}}function g(e,t){for(var n=t;n;){if(n==e)return!0;n=y(n)}return!1}function y(n){var o=n.parentNode;return 9==n.nodeType&&n!=t?e(n):(o&&o.assignedSlot&&(o=o.assignedSlot.parentNode),o&&11==o.nodeType&&o.host?o.host:o)}function b(e){return e&&9===e.nodeType}a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return o||(o=function(e,t){i=e&&t?m(e,t):p(),n.forEach((function(e){e._checkForIntersections()}))}),o},a._resetCrossOriginUpdater=function(){o=null,i=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(n){var o=n.defaultView;if(o&&-1==this._monitoringDocuments.indexOf(n)){var i=this._checkForIntersections,r=null,a=null;this.POLL_INTERVAL?r=o.setInterval(i,this.POLL_INTERVAL):(c(o,"resize",i,!0),c(n,"scroll",i,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in o&&(a=new o.MutationObserver(i)).observe(n,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(n),this._monitoringUnsubscribes.push((function(){var e=n.defaultView;e&&(r&&e.clearInterval(r),u(e,"resize",i,!0)),u(n,"scroll",i,!0),a&&a.disconnect()}));var s=this.root&&(this.root.ownerDocument||this.root)||t;if(n!=s){var l=e(n);l&&this._monitorIntersections(l.ownerDocument)}}},a.prototype._unmonitorIntersections=function(n){var o=this._monitoringDocuments.indexOf(n);if(-1!=o){var i=this.root&&(this.root.ownerDocument||this.root)||t;if(!this._observationTargets.some((function(t){var o=t.element.ownerDocument;if(o==n)return!0;for(;o&&o!=i;){var r=e(o);if((o=r&&r.ownerDocument)==n)return!0}return!1}))){var r=this._monitoringUnsubscribes[o];if(this._monitoringDocuments.splice(o,1),this._monitoringUnsubscribes.splice(o,1),r(),n!=i){var a=e(n);a&&this._unmonitorIntersections(a.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},a.prototype._checkForIntersections=function(){if(this.root||!o||i){var e=this._rootIsInDom(),t=e?this._getRootRect():p();this._observationTargets.forEach((function(n){var i=n.element,a=h(i),l=this._rootContainsTarget(i),c=n.entry,u=e&&l&&this._computeTargetAndRootIntersection(i,a,t),d=null;this._rootContainsTarget(i)?o&&!this.root||(d=t):d=p();var f=n.entry=new r({time:s(),target:i,boundingClientRect:a,rootBounds:d,intersectionRect:u});c?e&&l?this._hasCrossedThreshold(c,f)&&this._queuedEntries.push(f):c&&c.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(e,n,r){if("none"!=window.getComputedStyle(e).display){for(var a=n,s=y(e),l=!1;!l&&s;){var c=null,u=1==s.nodeType?window.getComputedStyle(s):{};if("none"==u.display)return null;if(s==this.root||9==s.nodeType)if(l=!0,s==this.root||s==t)o&&!this.root?!i||0==i.width&&0==i.height?(s=null,c=null,a=null):c=i:c=r;else{var p=y(s),f=p&&h(p),g=p&&this._computeTargetAndRootIntersection(p,f,r);f&&g?(s=p,c=m(f,g)):(s=null,a=null)}else{var b=s.ownerDocument;s!=b.body&&s!=b.documentElement&&"visible"!=u.overflow&&(c=h(s))}if(c&&(a=d(c,a)),!a)break;s=s&&y(s)}return a}},a.prototype._getRootRect=function(){var e;if(this.root&&!b(this.root))e=h(this.root);else{var n=b(this.root)?this.root:t,o=n.documentElement,i=n.body;e={top:0,left:0,right:o.clientWidth||i.clientWidth,width:o.clientWidth||i.clientWidth,bottom:o.clientHeight||i.clientHeight,height:o.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(e)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,o=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==o)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==n||r==o||r<n!=r<o)return!0}},a.prototype._rootIsInDom=function(){return!this.root||g(t,this.root)},a.prototype._rootContainsTarget=function(e){var n=this.root&&(this.root.ownerDocument||this.root)||t;return g(n,e)&&(!this.root||n==e.ownerDocument)},a.prototype._registerInstance=function(){n.indexOf(this)<0&&n.push(this)},a.prototype._unregisterInstance=function(){var e=n.indexOf(this);-1!=e&&n.splice(e,1)},window.IntersectionObserver=a,window.IntersectionObserverEntry=r}();const o=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,i=new IntersectionObserver((e=>{e.forEach((e=>{n({intersectionRatio:bp(e),intersectionRect:yp(e.intersectionRect),boundingClientRect:yp(e.boundingClientRect),relativeRect:yp(e.rootBounds),time:Date.now(),dataset:be(e.target),id:e.target.id})}))}),{root:o,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){i.USE_MUTATION_OBSERVER=!0;const n=e.querySelectorAll(t.selector);for(let e=0;e<n.length;e++)i.observe(n[e])}else{i.USE_MUTATION_OBSERVER=!1;const n=e.matches(t.selector)?e:e.querySelector(t.selector);n?i.observe(n):console.warn(`Node ${t.selector} is not found. Intersection observer will not trigger.`)}return i}(r,n,o)}({reqId:this._reqId,component:this._component,options:this._options,callback:t},this._pageId))}disconnect(){this._reqId&&function({reqId:e,component:t},n){const o=cf(t),i=o.__io&&o.__io[e];i&&(i.disconnect(),delete o.__io[e])}({reqId:this._reqId,component:this._component},this._pageId)}}const dh=yd(0,((e,t)=>((e=de(e))&&!Tc(e)&&(t=e,e=null),new uh(e||Pc(),t))));let hh=0,ph={};const fh={canvas:eh,map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){jd(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){jd(this.id,this.pageId,"moveToLocation",e)}getScale(e){jd(this.id,this.pageId,"getScale",e)}getRegion(e){jd(this.id,this.pageId,"getRegion",e)}includePoints(e){jd(this.id,this.pageId,"includePoints",e)}translateMarker(e){jd(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){jd(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){jd(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){jd(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){jd(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){jd(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){jd(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){jd(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){jd(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){jd(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){jd(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){jd(this.id,this.pageId,"openMapApp",e)}on(e,t){jd(this.id,this.pageId,"on",{name:e,callback:t})}},video:Nd,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,o){const i={options:o},r=o&&("success"in o||"fail"in o||"complete"in o);if(r){const e=String(hh++);i.callbackId=e,ph[e]=o}Zv.invokeViewMethod(`editor.${e}`,{type:n,data:i},t,(({callbackId:e,data:t})=>{r&&(le(ph[e],t),delete ph[e])}))}(this.id,this.pageId,e,t)}}};function mh(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,i=fh[n];e.context=new i(t,o),delete e.contextInfo}}class gh{constructor(e,t,n,o){this._selectorQuery=e,this._component=t,this._selector=n,this._single=o}boundingClientRect(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}fields(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}scrollOffset(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}context(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}node(e){return this._selectorQuery._push(this._selector,this._component,this._single,{node:!0},e),this._selectorQuery}}class yh{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return function(e,t,n){const o=[];t.forEach((({component:t,selector:n,single:i,fields:r})=>{null===t?o.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}(r)):o.push(function(e,t,n,o,i){const r=function(e,t){if(!e)return t.$el;return e.$el}(t,e),a=r.parentElement;if(!a)return o?null:[];const{nodeType:s}=r,l=3===s||8===s;if(o){const e=l?a.querySelector(n):kf(r,n)?r:r.querySelector(n);return e?Cf(e,i):null}{let e=[];const t=(l?a:r).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(Cf(t,i))})),!l&&kf(r,n)&&e.unshift(Cf(r,i)),e}}(e,t,n,i,r))})),n(o)}(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{p(e)?e.forEach(mh):mh(e);const o=n[t];g(o)&&o.call(this,e)})),g(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=de(e),this}select(e){return this._nodesRef=new gh(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new gh(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new gh(this,null,"",!0)}_push(e,t,n,o,i){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(i)}}const bh=yd(0,(e=>((e=de(e))&&!Tc(e)&&(e=null),new yh(e||Pc())))),vh={formatArgs:{}},_h={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class Sh{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=c({},_h,e)}_getOption(e){const t={transition:c({},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 wh=se((()=>{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=>{Sh.prototype[n]=function(...o){return e.concat(t).includes(n)?this._pushAnimates("style",[this._converType(n),t.includes(n)?this._getValue(o[0]):o[0]]):this._pushAnimates(n,o),this}}))})),xh=yd(0,(e=>(wh(),new Sh(e))),0,vh),Ch=fd("onWindowResize",(()=>{})),kh=md("offWindowResize",(()=>{})),Ah=yd(0,(()=>{const e=fy();return e&&e.$vm?e.$vm.$locale:Il().getLocale()})),Th={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const Ih=yd(0,(()=>c({},Pf)));let Bh,Eh,Ph;const Oh=[];const Mh=bd("getPushClientId",((e,{resolve:t,reject:n})=>{Promise.resolve().then((()=>{var e,o;void 0===Ph&&(Ph=!1,Bh="",Eh="uniPush is not enabled"),Oh.push(((e,o)=>{e?t({cid:e}):n(o)})),void 0!==Bh&&(e=Bh,o=Eh,Oh.forEach((t=>{t(e,o)})),Oh.length=0)}))})),Dh=e=>{},zh=e=>{},Rh={formatArgs:{showToast:!0},beforeInvoke(){zl()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=Il(),o=n("uni.setClipboardData.success");o&&xv({title:o,icon:"success",mask:!1})}},Nh=(Boolean,{formatArgs:{filePath(e,t){t.filePath=df(e)}}}),Lh={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=ju(e,zu)},sourceType(e,t){t.sourceType=ju(e,Ru)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},jh={formatArgs:{sourceType(e,t){t.sourceType=ju(e,Ru)},compressed:!0,maxDuration:60,camera:"back",extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},$h=(Boolean,["all","image","video"]),Fh={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=ju(e,Ru)},type(e,t){t.type=Lu(e,$h)},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=[""])}}},Hh={formatArgs:{src(e,t){t.src=df(e)}}},Vh={formatArgs:{urls(e,t){t.urls=e.map((e=>y(e)&&e?df(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:y(e)&&e&&(t.current=df(e))}}},Uh="json",Wh=["text","arraybuffer"],Qh=encodeURIComponent;ArrayBuffer,Boolean;const qh={formatArgs:{method(e,t){t.method=Lu((e||"").toUpperCase(),Nu)},data(e,t){t.data=e||""},url(e,t){t.method===Nu[0]&&x(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let i=n[1]||"";e=n[0];const r=i.split("&").filter((e=>e)),a={};r.forEach((e=>{const t=e.split("=");a[t[0]]=t[1]}));for(const s in t)if(h(t,s)){let e=t[s];null==e?e="":x(e)&&(e=JSON.stringify(e)),a[Qh(s)]=Qh(e)}return i=Object.keys(a).map((e=>`${e}=${a[e]}`)).join("&"),e+(i?"?"+i:"")+(o?"#"+o:"")}(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||Uh).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Wh.indexOf(t.responseType)&&(t.responseType="text")}}},Gh={formatArgs:{header(e,t){t.header=e||{}}}},Yh={formatArgs:{filePath(e,t){e&&(t.filePath=df(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},Xh={formatArgs:{header(e,t){t.header=e||{}},method(e,t){t.method=Lu((e||"").toUpperCase(),Nu)},protocols(e,t){y(e)&&(t.protocols=[e])}}};const Jh={url:{type:String,required:!0}},Kh=(op(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),op(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),ap("navigateTo")),Zh=ap("redirectTo"),ep=ap("reLaunch"),tp=ap("switchTab"),np={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Qp().length-1,e)}}};function op(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 ip;function rp(){ip=""}function ap(e){return{formatArgs:{url:sp(e)},beforeAll:rp}}function sp(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=Qp();return n.length&&(t=_c(n[n.length-1]).route),$c(t,e)}(t)).split("?")[0],i=Fc(o,!0);if(!i)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(i.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!i.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!i.meta.isTabBar||"appLaunch"===n.openType||(t=o),i.meta.isEntry&&(t=t.replace(i.alias,"/")),n.url=function(e){if(!y(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),i=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(i))})),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(ip===t&&"appLaunch"!==n.openType)return`${ip} locked`;__uniConfig.ready&&(ip=t)}else if(i.meta.isTabBar){const e=Qp(),t=i.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const lp={formatArgs:{duration:300}},cp=(Boolean,{formatArgs:{title:"",mask:!1}}),up=(Boolean,{beforeInvoke(){Ml()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!h(t,"cancelText")){const{t:e}=Il();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!h(t,"confirmText")){const{t:e}=Il();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),dp=["success","loading","none","error"],hp=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=Lu(e,dp)},image(e,t){t.image=e?df(e):""},duration:1500,mask:!1}}),pp={beforeInvoke(){const e=Bc();if(e&&!e.isTabBar)return"not TabBar page"},formatArgs:{index(e){if(!__uniConfig.tabBar.list[e])return"tabbar item not found"}}},fp={beforeInvoke:pp.beforeInvoke,formatArgs:c({pagePath(e,t){e&&(t.pagePath=re(e))}},pp.formatArgs)},mp=pp,gp={beforeInvoke:pp.beforeInvoke,formatArgs:c({text(e,t){(function(e=""){return(""+e).replace(/[^\x00-\xff]/g,"**").length})(e)>=4&&(t.text="...")}},pp.formatArgs)};function yp(e){const{bottom:t,height:n,left:o,right:i,top:r,width:a}=e||{};return{bottom:t,height:n,left:o,right:i,top:r,width:a}}function bp(e){const{intersectionRatio:t,boundingClientRect:{height:n,width:o},intersectionRect:{height:i,width:r}}=e;return 0!==t?t:i===n?r/o:i/n}function vp(){const e=Pc();if(!e)return;const t=Wp(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Gp(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,zc(e,"onHide"))}function _p(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function Sp(e){const t=Wp().values();for(const n of t){const t=jp(n);if(_p(e,t))return n.$.__isActive=!0,t.id}}const wp=bd("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:i})=>{if($p.handledBeforeEntryPageRoutes)return vp(),Tp({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},Sp(e)).then(o).catch(i);Hp.push({args:{type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:i})}),0,tp);function xp(){const e=Ic();if(!e)return;const t=jp(e);Gp(Kp(t.path,t.id))}const Cp=bd("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if($p.handledBeforeEntryPageRoutes)return xp(),Tp({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o);Vp.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,Zh);function kp(){const e=Wp().keys();for(const t of e)Gp(t)}const Ap=bd("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if($p.handledBeforeEntryPageRoutes)return kp(),Tp({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o);Up.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,ep);function Tp({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:i},r){const a=fy().$router,{path:s,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||++Yp,__type__:e}}(e,r);a["navigateTo"===e?"push":"replace"]({path:s,query:l,state:u,force:!0}).then((r=>{if(Os(r))return c(r.message);if("switchTab"===e&&(a.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=a.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach((t=>{e.eventChannel._addListener(t,"on",o[t])})),e.eventChannel._clearCache()):e.eventChannel=new Te(u.__id__,o),t(i?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return i?t({__id__:u.__id__}):t()}))}))}function Ip(){if($p.handledBeforeEntryPageRoutes)return;$p.handledBeforeEntryPageRoutes=!0;const e=[...Fp];Fp.length=0,e.forEach((({args:e,resolve:t,reject:n})=>Tp(e).then(t).catch(n)));const t=[...Hp];Hp.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(vp(),Tp(e,Sp(e.url)).then(t).catch(n))));const n=[...Vp];Vp.length=0,n.forEach((({args:e,resolve:t,reject:n})=>(xp(),Tp(e).then(t).catch(n))));const o=[...Up];Up.length=0,o.forEach((({args:e,resolve:t,reject:n})=>(kp(),Tp(e).then(t).catch(n))))}let Bp;function Ep(){var e;return Bp||(Bp=__uniConfig.tabBar&&Wt((e=__uniConfig.tabBar,xl()&&e.list&&e.list.forEach((e=>{Tl(e,["text"])})),e))),Bp}function Pp(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const Op=Pp("top:env(a)"),Mp=Pp("top:constant(a)"),Dp=Pp("backdrop-filter:blur(10px)"),zp=(()=>Op?"env":Mp?"constant":"")();function Rp(e){let t=0,n=0;if("custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),e.isTabBar){const e=Ep();e.shown&&(n=parseInt(e.height))}var o;gc({"--window-top":(o=t,zp?`calc(${o}px + ${zp}(safe-area-inset-top))`:`${o}px`),"--window-bottom":Np(n)})}function Np(e){return zp?`calc(${e}px + ${zp}(safe-area-inset-bottom))`:`${e}px`}const Lp=new Map;function jp(e){return e.$page}const $p={handledBeforeEntryPageRoutes:!1},Fp=[],Hp=[],Vp=[],Up=[];function Wp(){return Lp}function Qp(){return qp()}function qp(){const e=[],t=Lp.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Gp(e,t=!0){const n=Lp.get(e);n.$.__isUnload=!0,zc(n,"onUnload"),Lp.delete(e),t&&function(e){const t=Zp.get(e);t&&(Zp.delete(e),ef.pruneCacheEntry(t))}(e)}let Yp=Du();function Xp(e){const t=Pu();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,i,r){const{id:a,route:s}=o,l=Re(o.navigationBar,__uniConfig.themeConfig,r).titleColor;return{id:a,path:ie(s),route:s,fullPath:t,options:n,meta:o,openType:e,eventChannel:i,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function Jp(e){const t=Xp(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),Lp.set(Kp(t.path,t.id),e),1===Lp.size&&setTimeout((()=>{Ip()}),0)}function Kp(e,t){return e+"$$"+t}const Zp=new Map,ef={get:e=>Zp.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;ef.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;ef.delete(n),ef.pruneCacheEntry(e),On((()=>{Lp.forEach(((e,t)=>{e.$.isUnmounted&&Lp.delete(t)}))}))}}))}(e),Zp.set(e,t)},delete(e){Zp.get(e)&&Zp.delete(e)},forEach(e){Zp.forEach(e)}};function tf(e,t){!function(e){const t=of(e),{body:n}=document;rf&&n.removeAttribute(rf),t&&n.setAttribute(t,""),rf=t}(e),Rp(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),lf(e,t)}function nf(e){const t=of(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function of(e){return e.type.__scopeId}let rf;const af=!!(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",(()=>{}),t)}catch(t){}return e})()&&{passive:!1};let sf;function lf(e,t){if(document.removeEventListener("touchmove",Rc),sf&&document.removeEventListener("scroll",sf),t.disableScroll)return document.addEventListener("touchmove",Rc,af);const{onPageScroll:n,onReachBottom:o}=e,i="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!i)return;const r={},a=jp(e.proxy).id;(n||i)&&(r.onPageScroll=function(e,t,n){return o=>{t&&Kv.publishHandler("onPageScroll",{scrollTop:o},e),n&&Kv.emit(e+".onPageScroll",{scrollTop:o})}}(a,n,i)),(null==o?void 0:o.length)&&(r.onReachBottomDistance=t.onReachBottomDistance||50,r.onReachBottom=()=>Kv.publishHandler("onReachBottom",{},a)),sf=jc(r),requestAnimationFrame((()=>document.addEventListener("scroll",sf)))}function cf(e){return e.$el}function uf(e){const{base:t}=__uniConfig.router;return 0===ie(e).indexOf(t)?ie(e):t+e}function df(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 uf(e.slice(1));e="https:"+e}if(te.test(e)||ne.test(e)||0===e.indexOf("blob:"))return e;const o=qp();return o.length?uf($c(jp(o[o.length-1]).route,e).slice(1)):e}const hf=navigator.userAgent,pf=/android/i.test(hf),ff=/iphone|ipad|ipod/i.test(hf),mf=hf.match(/Windows NT ([\d|\d.\d]*)/i),gf=/Macintosh|Mac/i.test(hf),yf=/Linux|X11/i.test(hf),bf=gf&&navigator.maxTouchPoints>0;function vf(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function _f(e){return e&&90===Math.abs(window.orientation)}function Sf(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function wf(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function xf(e,t,n,o){Zv.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function Cf(e,t){const n={},{top:o,topWindowHeight:i}=fc();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=be(e)),t.rect||t.size){const r=e.getBoundingClientRect();t.rect&&(n.left=r.left,n.right=r.right,n.top=r.top-o-i,n.bottom=r.bottom-o-i),t.size&&(n.width=r.width,n.height=r.height)}if(p(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(p(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=o[e]}))}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function kf(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 Af={};function Tf(e,t){const n=Af[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",i=atob(t[1]);let r=i.length;const a=new Uint8Array(r);for(;r--;)a[r]=i.charCodeAt(r);return If(a,o)}(e)):t?Promise.reject(new Error("not find")):new Promise(((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()}))}function If(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const i=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],i,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||i}}return n}function Bf(e){for(const n in Af)if(h(Af,n)){if(Af[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Af[t]=e,t}function Ef(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete Af[e]}const Pf=uu(),Of=uu();const Mf=fu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=ln(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),i=function(e,t,n){const o=Wt({width:-1,height:-1});return so((()=>c({},o)),(e=>t("resize",e))),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){zo(o),Qo((()=>{t.initial&&On(n);const i=e.value;i.offsetParent!==i.parentElement&&(i.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,i,o),()=>dr("uni-resize-sensor",{ref:n,onAnimationstartOnce:i},[dr("div",{onScroll:i},[dr("div",null,null)],40,["onScroll"]),dr("div",{onScroll:i},[dr("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const Df=function(){if(navigator.userAgent.includes("jsdom"))return 1;const e=document.createElement("canvas");e.height=e.width=0;const t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function zf(e,t=!0){const n=t?Df:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let Rf=!1;function Nf(){if(Rf)return;Rf=!0;const e={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",transform:[4,5],setTransform:[4,5]},t=CanvasRenderingContext2D.prototype;t.drawImageByCanvas=function(e){return function(t,n,o,i,r,a,s,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=Df,o*=Df,i*=Df,r*=Df,a*=Df,s*=Df,l=u?l*Df:l,c=u?c*Df:c,e.call(this,t,n,o,i,r,a,s,l,c)}}(t.drawImage),1!==Df&&(!function(e,t){for(const n in e)h(e,n)&&t(e[n],n)}(e,(function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map((function(e){return e*Df}));else if(Array.isArray(e))for(let t=0;t<e.length;t++)n[e[t]]*=Df;return t.apply(this,n)}}(t[n])})),t.stroke=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.lineWidth*=Df,e.apply(this,arguments),this.lineWidth/=Df}}(t.stroke),t.fillText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);const t=Array.prototype.slice.call(arguments);t[1]*=Df,t[2]*=Df,t[3]&&"number"==typeof t[3]&&(t[3]*=Df);var n=this.__font__||this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*Df+n})),e.apply(this,t),this.font=n}}(t.fillText),t.strokeText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var t=Array.prototype.slice.call(arguments);t[1]*=Df,t[2]*=Df,t[3]&&"number"==typeof t[3]&&(t[3]*=Df);var n=this.__font__||this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*Df+n})),e.apply(this,t),this.font=n}}(t.strokeText),t.drawImage=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.scale(Df,Df),e.apply(this,arguments),this.scale(1/Df,1/Df)}}(t.drawImage))}const Lf=se((()=>Nf()));function jf(e){return e?df(e):e}function $f(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function Ff(e,t){Array.from(t).forEach((t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top}))}let Hf;function Vf(e=0,t=0){return Hf||(Hf=document.createElement("canvas")),Hf.width=e,Hf.height=t,Hf}const Uf=fu({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){Lf();const o=ln(null),i=ln(null),r=ln(null),a=ln(!1),s=function(e){return(t,n)=>{e(t,Gc(n))}}(t),{$attrs:l,$excludeAttrs:u,$listeners:d}=Om({excludeListeners:!0}),{_listeners:p}=function(e,t,n){const o=Dr((()=>{let o=["onTouchstart","onTouchmove","onTouchend"],i=t.value,r=c({},(()=>{let e={};for(const t in i)if(h(i,t)){const n=i[t];e[t]=n}return e})());return o.forEach((t=>{let o=[];r[t]&&o.push(gu((e=>{const o=e.currentTarget.getBoundingClientRect();Ff(o,e.touches),Ff(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)}))),e.disableScroll&&"onTouchmove"===t&&o.push(uc),r[t]=o})),r}));return{_listeners:o}}(e,d,s),{_handleSubscribe:f,_resize:m}=function(e,t,n){let o=[],i={};const r=Dr((()=>e.hidpi?Df:1));function a(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*r.value)||o.height!==Math.floor(n.height*r.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);zf(o,e.hidpi),t.putImageData(n,0,0)}else zf(o,e.hidpi)}function s({actions:e,reserve:r},a){if(!e)return;if(n.value)return void o.push([e,r]);let s=t.value,c=s.getContext("2d");r||(c.fillStyle="#000000",c.strokeStyle="#000000",c.shadowColor="#000000",c.shadowBlur=0,c.shadowOffsetX=0,c.shadowOffsetY=0,c.setTransform(1,0,0,1,0,0),c.clearRect(0,0,s.width,s.height)),l(e);for(let t=0;t<e.length;t++){const n=e[t];let o=n.method;const r=n.data,s=r[0];if(/^set/.test(o)&&"setTransform"!==o){const n=o[3].toLowerCase()+o.slice(4);let i;if("fillStyle"===n||"strokeStyle"===n){if("normal"===s)i=$f(r[1]);else if("linear"===s){const e=c.createLinearGradient(...r[1]);r[2].forEach((function(t){const n=t[0],o=$f(t[1]);e.addColorStop(n,o)})),i=e}else if("radial"===s){let e=r[1];const t=e[0],n=e[1],o=e[2],a=c.createRadialGradient(t,n,0,t,n,o);r[2].forEach((function(e){const t=e[0],n=$f(e[1]);a.addColorStop(t,n)})),i=a}else if("pattern"===s){if(!u(r[1],e.slice(t+1),a,(function(e){e&&(c[n]=c.createPattern(e,r[2]))})))break;continue}c[n]=i}else if("globalAlpha"===n)c[n]=Number(s)/255;else if("shadow"===n){let e=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];r.forEach((function(t,n){c[e[n]]="shadowColor"===e[n]?$f(t):t}))}else if("fontSize"===n){const e=c.__font__||c.font;c.__font__=c.font=e.replace(/\d+\.?\d*px/,s+"px")}else"lineDash"===n?(c.setLineDash(s),c.lineDashOffset=r[1]||0):"textBaseline"===n?("normal"===s&&(r[0]="alphabetic"),c[n]=s):"font"===n?c.__font__=c.font=s:c[n]=s}else if("fillPath"===o||"strokePath"===o)o=o.replace(/Path/,""),c.beginPath(),r.forEach((function(e){c[e.method].apply(c,e.data)})),c[o]();else if("fillText"===o)c.fillText.apply(c,r);else if("drawImage"===o){if("break"===function(){let n=[...r],o=n[0],s=n.slice(1);if(i=i||{},!u(o,e.slice(t+1),a,(function(e){e&&c.drawImage.apply(c,[e].concat([...s.slice(4,8)],[...s.slice(0,4)]))})))return"break"}())break}else"clip"===o?(r.forEach((function(e){c[e.method].apply(c,e.data)})),c.clip()):c[o].apply(c,r)}n.value||a({errMsg:"drawCanvas:ok"})}function l(e){e.forEach((function(e){let t=e.method,n=e.data,o="";function r(){const e=i[o]=new Image;e.onload=function(){e.ready=!0},function(e){const t=document.createElement("a");return t.href=e,t.origin===location.origin?Promise.resolve(e):Tf(e).then(Bf)}(o).then((t=>{e.src=t})).catch((()=>{e.src=o}))}"drawImage"===t?(o=n[0],o=jf(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=jf(o),n[1]=o),o&&!i[o]&&r()}))}function u(e,t,r,a){let l=i[e];return l.ready?(a(l),!0):(o.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,a(l),n.value=!1;let e=o.slice(0);o=[];for(let t=e.shift();t;)s({actions:t[0],reserve:t[1]},r),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:o,height:i,destWidth:a,destHeight:s,hidpi:l=!0,dataType:c,quality:u=1,type:d="png"},h){const p=t.value;let f;const m=p.offsetWidth-e;o=o?Math.min(o,m):m;const g=p.offsetHeight-n;i=i?Math.min(i,g):g,l?(a=o,s=i):a||s?a?s||(s=Math.round(i/o*a)):(s||(s=Math.round(i*r.value)),a=Math.round(o/i*s)):(a=Math.round(o*r.value),s=Math.round(i*r.value));const y=Vf(a,s),b=y.getContext("2d");let v;"jpeg"!==d&&"jpg"!==d||(d="jpeg",b.fillStyle="#fff",b.fillRect(0,0,a,s)),b.__hidpi__=!0,b.drawImageByCanvas(p,e,n,o,i,0,0,a,s,!1);try{let e;if("base64"===c)f=y.toDataURL(`image/${d}`,u);else{const e=b.getImageData(0,0,a,s);f=Array.prototype.slice.call(e.data)}v={data:f,compressed:e,width:a,height:s}}catch(_){v={errMsg:`canvasGetImageData:fail ${_}`}}if(y.height=y.width=0,b.__hidpi__=!1,!h)return v;h(v)}function h({data:e,x:n,y:o,width:i,height:r,compressed:a},s){try{0,r||(r=Math.round(e.length/4/i));const a=Vf(i,r);a.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),i,r),0,0),t.value.getContext("2d").drawImage(a,n,o,i,r),a.height=a.width=0}catch(l){return void s({errMsg:"canvasPutImageData:fail"})}s({errMsg:"canvasPutImageData:ok"})}function p({x:e=0,y:t=0,width:n,height:o,destWidth:i,destHeight:r,fileType:a,quality:s,dirname:l},c){const u=d({x:e,y:t,width:n,height:o,destWidth:i,destHeight:r,hidpi:!1,dataType:"base64",type:a,quality:s});var h;u.errMsg?c({errMsg:u.errMsg.replace("canvasPutImageData","toTempFilePath")}):(h=u.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),c({errMsg:n,tempFilePath:t})})(null,h))}const f={actionsChanged:s,getImageData:d,putImageData:h,toTempFilePath:p};function m(e,t,n){let o=f[e];0!==e.indexOf("_")&&g(o)&&o(t,n)}return c(f,{_resize:a,_handleSubscribe:m})}(e,i,a);return Wg(f,qg(e.canvasId),!0),Qo((()=>{m()})),()=>{const{canvasId:t,disableScroll:a}=e;return dr("uni-canvas",br({ref:o,"canvas-id":t,"disable-scroll":a},l.value,u.value,p.value),[dr("canvas",{ref:i,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),dr("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),dr(Mf,{ref:r,onResize:m},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function Wf(){}const Qf={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 qf(e,t,n){function o(e){const t=Dr((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",Wf,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",Wf,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}so((()=>t.value),(e=>e&&o(e)))}var Gf=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Yf=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Xf=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Jf=om("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Kf=om("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"),Zf=om("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"),em=om("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),tm=om("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),nm=om("script,style");function om(e){for(var t={},n=e.split(","),o=0;o<n.length;o++)t[n[o]]=!0;return t}const im={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},rm={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},am={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"]},sm=fu({name:"Image",props:im,setup(e,{emit:t}){const n=ln(null),o=function(e,t){const n=ln(""),o=Dr((()=>{let e="auto",o="";const i=am[t.mode];return i?(i[0]&&(o=i[0]),i[1]&&(e=i[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),i=Wt({rootEl:e,src:Dr((()=>t.src?df(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Qo((()=>{const t=e.value;i.origWidth=t.clientWidth||0,i.origHeight=t.clientHeight||0})),i}(n,e),i=yu(n,t),{fixSize:r}=function(e,t,n){const o=()=>{const{mode:o}=t,i=rm[o];if(!i)return;const{origWidth:r,origHeight:a}=n,s=r&&a?r/a:0;if(!s)return;const l=e.value,c=l[i[0]];c&&(l.style[i[1]]=function(e){lm&&e>10&&(e=2*Math.round(e/2));return e}(i[2](c,s))+"px")},i=()=>{const{style:t}=e.value,{origStyle:{width:o,height:i}}=n;t.width=o,t.height=i};return so((()=>t.mode),((e,t)=>{rm[t]&&i(),rm[e]&&o()})),{fixSize:o,resetSize:i}}(n,e,o);return function(e,t,n,o,i){let r,a;const s=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void s();r=r||new Image,r.onload=e=>{const{width:u,height:d}=r;s(u,d,l),On((()=>{o()})),r.draggable=t.draggable,a&&a.remove(),a=r,n.value.appendChild(r),c(),i("load",e,{width:u,height:d})},r.onerror=t=>{s(),c(),i("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},r.src=l},c=()=>{r&&(r.onload=null,r.onerror=null,r=null)};so((()=>e.src),(e=>l(e))),so((()=>e.imgSrc),(e=>{!e&&a&&(a.remove(),a=null)})),Qo((()=>l(e.src))),Yo((()=>c()))}(o,e,n,r,i),()=>dr("uni-image",{ref:n},[dr("div",{style:o.modeStyle},null,4),rm[e.mode]?dr(Mf,{onResize:r},null,8,["onResize"]):dr("span",null,null)],512)}});const lm="Google Inc."===navigator.vendor;const cm=_e(!0),um=[];let dm=0,hm=!1;const pm=e=>um.forEach((t=>t.userAction=e));function fm(e={userAction:!1}){if(!hm){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!dm&&pm(!0),dm++,setTimeout((()=>{!--dm&&pm(!1)}),0)}),cm)})),hm=!0}um.push(e)}const mm=()=>!!dm;function gm(){const e=Wt({userAction:!1});return Qo((()=>{fm(e)})),Yo((()=>{!function(e){const t=um.indexOf(e);t>=0&&um.splice(t,1)}(e)})),{state:e}}function ym(){const e=Wt({attrs:{}});return Qo((()=>{let t=xr();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function bm(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}function vm(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const _m=["none","text","decimal","numeric","tel","search","email","url"],Sm=c({},{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=>!!~_m.indexOf(e)},cursorColor:{type:String,default:""}},Qf),wm=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function xm(e,t,n,o){let i=null;i=Ae((n=>{t.value=vm(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),so((()=>e.modelValue),i),so((()=>e.value),i);const r=function(e,t){let n,o,i=0;const r=function(...r){const a=Date.now();clearTimeout(n),o=()=>{o=null,i=a,e.apply(this,r)},a-i<t?n=setTimeout(o,t-(a-i)):o()};return r.cancel=function(){clearTimeout(n),o=null},r.flush=function(){clearTimeout(n),o&&o()},r}(((e,t)=>{i.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return Wo((()=>{i.cancel(),r.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{i.cancel(),r(e,t),n&&r.flush()}}}function Cm(e,t){gm();const n=Dr((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}so((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Qo((()=>{n.value&&On(o)}))}function km(e,t,n,o){Fl(Ec(),"getSelectedTextRange",bm);const{fieldRef:i,state:r,trigger:a}=function(e,t,n){const o=ln(null),i=yu(t,n),r=Dr((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),a=Dr((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),s=Dr((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=Dr((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=vm(e.modelValue,e.type)||vm(e.value,e.type);const u=Wt({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:r,selectionEnd:a,cursor:s});return so((()=>u.focus),(e=>n("update:focus",e))),so((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:i}}(e,t,n),{triggerInput:s}=xm(e,r,n,a);Cm(e,i),qf(0,i);const{state:l}=ym();!function(e,t){const n=Ai(Su,!1);if(!n)return;const o=xr(),i={submit(){const n=o.proxy;return[n[e],y(t)?n[t]:t.value]},reset(){y(t)?o.proxy[t]="":t.value=""}};n.addField(i),Yo((()=>{n.removeField(i)}))}("name",r),function(e,t,n,o,i,r){function a(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function s(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}so([()=>t.selectionStart,()=>t.selectionEnd],a),so((()=>t.cursor),s),so((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),g(r)&&!1===r(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||i(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),a(),s()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),c.addEventListener("compositionupdate",d)}))}(i,r,e,a,s,o);return{fieldRef:i,state:r,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:a}}const Am=c({},Sm,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),Tm=se((()=>{{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 Im(e,t,n,o,i){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",i&&(i.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",i.fn)},o.addEventListener("blur",i.fn)),!1}else if("deleteContentBackward"===e.inputType&&Tm()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}const Bm=fu({name:"Input",props:Am,emits:["confirm",...wm],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],i=["off","one-time-code"],r=Dr((()=>{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=o.includes(e.type)?e.type:"text"}return e.password?"password":t})),a=Dr((()=>{const t=i.indexOf(e.textContentType),n=i.indexOf(E(e.textContentType));return i[-1!==t?t:-1!==n?n:0]}));let s=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=ln(null!=t?t.toLocaleString():"");return so((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),so((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return ln("")}(e,r),l={fn:null};const c=ln(null),{fieldRef:u,state:d,scopedAttrsState:h,fixDisabledColor:p,trigger:f}=km(e,c,t,((t,n)=>{const o=t.target;if("number"===r.value){if(l.fn&&(o.removeEventListener("blur",l.fn),l.fn=null),o.validity&&!o.validity.valid){if((!s.value||!o.value)&&"-"===t.data||"-"===s.value[0]&&"deleteContentBackward"===t.inputType)return s.value="-",n.value="",l.fn=()=>{s.value=o.value=""},o.addEventListener("blur",l.fn),!1;const e=Im(t,s,n,o,l);return"boolean"==typeof e?e:(s.value=n.value=o.value="-"===s.value?"":s.value,!1)}{const e=Im(t,s,n,o,l);if("boolean"==typeof e)return e;s.value=o.value}const i=n.maxlength;if(i>0&&o.value.length>i){o.value=o.value.slice(0,i),n.value=o.value;return(void 0!==e.modelValue&&null!==e.modelValue?e.modelValue.toString():"")!==o.value}}}));so((()=>d.value),(t=>{"number"!==e.type||"-"===s.value&&""===t||(s.value=t.toString())}));const m=["number","digit"],g=Dr((()=>m.includes(e.type)?e.step:""));function y(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),f("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&&p?dr("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:r.value,maxlength:d.maxlength,step:g.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):dr("input",{key:"input",ref:u,value:d.value,onInput:e=>{d.value=e.target.value.toString()},disabled:!!e.disabled,type:r.value,maxlength:d.maxlength,step:g.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:a.value,onKeyup:y,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return dr("uni-input",{ref:c},[dr("div",{class:"uni-input-wrapper"},[po(dr("div",br(h.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[na,!(d.value.length||"-"===s.value||s.value.includes("."))]]),"search"===e.confirmType?dr("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const Em=["class","style"],Pm=/^on[A-Z]+/,Om=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=xr(),i=cn({}),r=cn({}),a=cn({}),s=n.concat(Em);return o.attrs=Wt(o.attrs),ro((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:Pm.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e)),{exclude:{},attrs:{},listeners:{}});var n;i.value=e.attrs,r.value=e.listeners,a.value=e.exclude})),{$attrs:i,$listeners:r,$excludeAttrs:a}};function Mm(e){const t=[];return p(e)&&e.forEach((e=>{rr(e)?e.type===qi?t.push(...Mm(e.children)):t.push(e):p(e)&&t.push(...Mm(e))})),t}const Dm=fu({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=ln(null),o=ln(!1);let{setContexts:i,events:r}=function(e,t){const n=ln(0),o=ln(0),i=Wt({x:null,y:null}),r=ln(null);let a=null,s=[];function l(t){t&&1!==t&&(e.scaleArea?s.forEach((function(e){e._setScale(t)})):a&&a._setScale(t))}function c(e,n=s){let o=t.value;function i(e){for(let t=0;t<n.length;t++){const o=n[t];if(e===o.rootRef.value)return o}return e===o||e===document.body||e===document?null:i(e.parentNode)}return i(e)}const u=gu((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(r.value=zm(t),i.x=t.x,i.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);a=e&&e===t?e:null}}})),d=gu((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!==i.x&&r.value&&r.value>0){l(zm(n)/r.value)}i.x=n.x,i.y=n.y}})),h=gu((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(i.x=0,i.y=0,r.value=null,e.scaleArea?s.forEach((function(e){e._endScale()})):a&&a._endScale())}));function p(){f(),s.forEach((function(e,t){e.setParent()}))}function f(){let e=window.getComputedStyle(t.value),i=t.value.getBoundingClientRect();n.value=i.width-["Left","Right"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0),o.value=i.height-["Top","Bottom"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0)}return ki("movableAreaWidth",n),ki("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:h,_resize:p}}}(e,n);const{$listeners:a,$attrs:s,$excludeAttrs:l}=Om(),c=a.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=r[`_${e}`];c[e]=t?[].concat(t,n):n})),Qo((()=>{r._resize(),o.value=!0}));let u=[];const d=[];function h(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n=n.el;const o=d.find((e=>n===e.rootRef.value));o&&e.push(en(o))}i(e)}return ki("_isMounted",o),ki("movableAreaRootRef",n),ki("addMovableViewContext",(e=>{d.push(e),h()})),ki("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),h())})),()=>{const e=t.default&&t.default();return u=Mm(e),dr("uni-movable-area",br({ref:n},s.value,l.value,c),[dr(Mf,{onResize:r._resize},null,8,["onResize"]),u],16)}}});function zm(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const Rm=function(e,t,n,o){e.addEventListener(t,(e=>{g(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let Nm,Lm;function jm(e,t,n){Yo((()=>{document.removeEventListener("mousemove",Nm),document.removeEventListener("mouseup",Lm)}));let o=0,i=0,r=0,a=0;const s=function(e,n,s,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:s,y:l,dx:s-o,dy:l-i,ddx:s-r,ddy:l-a,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;Rm(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=r=e.touches[0].pageX,i=a=e.touches[0].pageY,s(e,"start",o,i)})),Rm(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,o=r=e.pageX,i=a=e.pageY,s(e,"start",o,i)})),Rm(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=s(e,"move",e.touches[0].pageX,e.touches[0].pageY);return r=e.touches[0].pageX,a=e.touches[0].pageY,t}}));const d=Nm=function(e){if(!l&&c&&u){const t=s(e,"move",e.pageX,e.pageY);return r=e.pageX,a=e.pageY,t}};document.addEventListener("mousemove",d),Rm(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,s(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const h=Lm=function(e){if(c=!1,!l&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",h),Rm(e,"touchcancel",(function(e){if(u){l=!1;const t=u;return u=null,s(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function $m(e,t,n){return e>t-n&&e<t+n}function Fm(e,t){return $m(e,0,t)}function Hm(){}function Vm(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function Um(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function Wm(e,t,n){this._springX=new Um(e,t,n),this._springY=new Um(e,t,n),this._springScale=new Um(e,t,n),this._startTime=0}Hm.prototype.x=function(e){return Math.sqrt(e)},Vm.prototype.setV=function(e,t){const n=Math.pow(Math.pow(e,2)+Math.pow(t,2),.5);this._x_v=e,this._y_v=t,this._x_a=-this._f*this._x_v/n,this._y_a=-this._f*this._y_v/n,this._t=Math.abs(e/this._x_a)||Math.abs(t/this._y_a),this._lastDt=null,this._startTime=(new Date).getTime()},Vm.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},Vm.prototype.s=function(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t,this._lastDt=e);let t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&t<this._endPositionX||this._x_a<0&&t>this._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&n<this._endPositionY||this._y_a<0&&n>this._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},Vm.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}},Vm.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}},Vm.prototype.dt=function(){return-this._x_v/this._x_a},Vm.prototype.done=function(){const e=$m(this.s().x,this._endPositionX)||$m(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Vm.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Vm.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Um.prototype._solve=function(e,t){const n=this._c,o=this._m,i=this._k,r=n*n-4*o*i;if(0===r){const i=-n/(2*o),r=e,a=t/(i*e);return{x:function(e){return(r+a*e)*Math.pow(Math.E,i*e)},dx:function(e){const t=Math.pow(Math.E,i*e);return i*(r+a*e)*t+a*t}}}if(r>0){const i=(-n-Math.sqrt(r))/(2*o),a=(-n+Math.sqrt(r))/(2*o),s=(t-i*e)/(a-i),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*i*t+s*a*n}}}const a=Math.sqrt(4*o*i-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}},Um.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Um.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Um.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Fm(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Fm(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Fm(t,.1)&&(t=0),Fm(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Fm(o-e,.1)&&Fm(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},Um.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Um.prototype.done=function(e){return e||(e=(new Date).getTime()),$m(this.x(),this._endPosition,.1)&&Fm(this.dx(),.1)},Um.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())},Um.prototype.springConstant=function(){return this._k},Um.prototype.damping=function(){return this._c},Um.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}]},Wm.prototype.setEnd=function(e,t,n,o){const i=(new Date).getTime();this._springX.setEnd(e,o,i),this._springY.setEnd(t,o,i),this._springScale.setEnd(n,o,i),this._startTime=i},Wm.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)}},Wm.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Wm.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 Qm(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const qm=fu({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 o=ln(null),i=yu(o,n),{setParent:r}=function(e,t,n){const o=Ai("_isMounted",ln(!1)),i=Ai("addMovableViewContext",(()=>{})),r=Ai("removeMovableViewContext",(()=>{}));let a,s,l=ln(1),c=ln(1),u=ln(!1),d=ln(0),h=ln(0),p=null,f=null,m=!1,g=null,y=null;const b=new Hm,v=new Hm,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},S=Dr((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),w=new Vm(1,S.value);so((()=>e.disabled),(()=>{W()}));const{_updateOldScale:x,_endScale:C,_setScale:k,scaleValueSync:A,_updateBoundary:T,_updateOffset:I,_updateWH:B,_scaleOffset:E,minX:P,minY:O,maxX:M,maxY:D,FAandSFACancel:z,_getLimitXY:R,_setTransform:N,_revise:L,dampingNumber:j,xMove:$,yMove:F,xSync:H,ySync:V,_STD:U}=function(e,t,n,o,i,r,a,s,l,c){const u=Dr((()=>{let t=Number(e.scaleMin);return isNaN(t)?.1:t})),d=Dr((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),h=ln(Number(e.scaleValue)||1);so(h,(e=>{N(e)})),so(u,(()=>{R()})),so(d,(()=>{R()})),so((()=>e.scaleValue),(e=>{h.value=Number(e)||0}));const{_updateBoundary:p,_updateOffset:f,_updateWH:m,_scaleOffset:g,minX:y,minY:b,maxX:v,maxY:_}=function(e,t,n){const o=Ai("movableAreaWidth",ln(0)),i=Ai("movableAreaHeight",ln(0)),r=Ai("movableAreaRootRef"),a={x:0,y:0},s={x:0,y:0},l=ln(0),c=ln(0),u=ln(0),d=ln(0),h=ln(0),p=ln(0);function f(){let e=0-a.x+s.x,t=o.value-l.value-a.x-s.x;u.value=Math.min(e,t),h.value=Math.max(e,t);let n=0-a.y+s.y,r=i.value-c.value-a.y-s.y;d.value=Math.min(n,r),p.value=Math.max(n,r)}function m(){a.x=Xm(e.value,r.value),a.y=Jm(e.value,r.value)}function g(o){o=o||t.value,o=n(o);let i=e.value.getBoundingClientRect();c.value=i.height/t.value,l.value=i.width/t.value;let r=c.value*o,a=l.value*o;s.x=(a-l.value)/2,s.y=(r-c.value)/2}return{_updateBoundary:f,_updateOffset:m,_updateWH:g,_scaleOffset:s,minX:u,minY:d,maxX:h,maxY:p}}(t,o,z),{FAandSFACancel:S,_getLimitXY:w,_animationTo:x,_setTransform:C,_revise:k,dampingNumber:A,xMove:T,yMove:I,xSync:B,ySync:E,_STD:P}=function(e,t,n,o,i,r,a,s,l,c,u,d,h,p){const f=Dr((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),m=Dr((()=>"all"===t.direction||"horizontal"===t.direction)),g=Dr((()=>"all"===t.direction||"vertical"===t.direction)),y=ln(Zm(t.x)),b=ln(Zm(t.y));so((()=>t.x),(e=>{y.value=Zm(e)})),so((()=>t.y),(e=>{b.value=Zm(e)})),so(y,(e=>{k(e)})),so(b,(e=>{A(e)}));const v=new Wm(1,9*Math.pow(f.value,2)/40,f.value);function _(e,t){let n=!1;return e>i.value?(e=i.value,n=!0):e<a.value&&(e=a.value,n=!0),t>r.value?(t=r.value,n=!0):t<s.value&&(t=s.value,n=!0),{x:e,y:t,outOfBounds:n}}function S(){d&&d.cancel(),u&&u.cancel()}function w(e,n,i,r,a,s){S(),m.value||(e=l.value),g.value||(n=c.value),t.scale||(i=o.value);let d=_(e,n);e=d.x,n=d.y,t.animation?(v._springX._solution=null,v._springY._solution=null,v._springScale._solution=null,v._springX._endPosition=l.value,v._springY._endPosition=c.value,v._springScale._endPosition=o.value,v.setEnd(e,n,i,1),u=Km(v,(function(){let e=v.x();x(e.x,e.y,e.scale,r,a,s)}),(function(){u.cancel()}))):x(e,n,i,r,a,s)}function x(i,r,a,s="",u,d){null!==i&&"NaN"!==i.toString()&&"number"==typeof i||(i=l.value||0),null!==r&&"NaN"!==r.toString()&&"number"==typeof r||(r=c.value||0),i=Number(i.toFixed(1)),r=Number(r.toFixed(1)),a=Number(a.toFixed(1)),l.value===i&&c.value===r||u||p("change",{},{x:Qm(i,n.x),y:Qm(r,n.y),source:s}),t.scale||(a=o.value),a=+(a=h(a)).toFixed(3),d&&a!==o.value&&p("scale",{},{x:i,y:r,scale:a});let f="translateX("+i+"px) translateY("+r+"px) translateZ(0px) scale("+a+")";e.value&&(e.value.style.transform=f,e.value.style.webkitTransform=f,l.value=i,c.value=r,o.value=a)}function C(e){let t=_(l.value,c.value),n=t.x,i=t.y,r=t.outOfBounds;return r&&w(n,i,o.value,e),r}function k(e){if(m.value){if(e+n.x===l.value)return l;u&&u.cancel(),w(e+n.x,b.value+n.y,o.value)}return e}function A(e){if(g.value){if(e+n.y===c.value)return c;u&&u.cancel(),w(y.value+n.x,e+n.y,o.value)}return e}return{FAandSFACancel:S,_getLimitXY:_,_animationTo:w,_setTransform:x,_revise:C,dampingNumber:f,xMove:m,yMove:g,xSync:y,ySync:b,_STD:v}}(t,e,g,o,v,_,y,b,a,s,l,c,z,n);function O(t,n){if(e.scale){t=z(t),m(t),p();const e=w(a.value,s.value),o=e.x,i=e.y;n?x(o,i,t,"",!0,!0):Ym((function(){C(o,i,t,"",!0,!0)}))}}function M(){r.value=!0}function D(e){i.value=e}function z(e){return e=Math.max(.1,u.value,e),e=Math.min(10,d.value,e)}function R(){if(!e.scale)return!1;O(o.value,!0),D(o.value)}function N(t){return!!e.scale&&(O(t=z(t),!0),D(t),t)}function L(){r.value=!1,D(o.value)}function j(e){e&&(e=i.value*e,M(),O(e))}return{_updateOldScale:D,_endScale:L,_setScale:j,scaleValueSync:h,_updateBoundary:p,_updateOffset:f,_updateWH:m,_scaleOffset:g,minX:y,minY:b,maxX:v,maxY:_,FAandSFACancel:S,_getLimitXY:w,_animationTo:x,_setTransform:C,_revise:k,dampingNumber:A,xMove:T,yMove:I,xSync:B,ySync:E,_STD:P}}(e,n,t,l,c,u,d,h,p,f);function W(){u.value||e.disabled||(z(),_.historyX=[0,0],_.historyY=[0,0],_.historyT=[0,0],$.value&&(a=d.value),F.value&&(s=h.value),n.value.style.willChange="transform",g=null,y=null,m=!0)}function Q(t){if(!u.value&&!e.disabled&&m){let n=d.value,o=h.value;if(null===y&&(y=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),$.value&&(n=t.detail.dx+a,_.historyX.shift(),_.historyX.push(n),F.value||null!==g||(g=Math.abs(t.detail.dx/t.detail.dy)<1)),F.value&&(o=t.detail.dy+s,_.historyY.shift(),_.historyY.push(o),$.value||null!==g||(g=Math.abs(t.detail.dy/t.detail.dx)<1)),_.historyT.shift(),_.historyT.push(t.detail.timeStamp),!g){t.preventDefault();let i="touch";n<P.value?e.outOfBounds?(i="touch-out-of-bounds",n=P.value-b.x(P.value-n)):n=P.value:n>M.value&&(e.outOfBounds?(i="touch-out-of-bounds",n=M.value+b.x(n-M.value)):n=M.value),o<O.value?e.outOfBounds?(i="touch-out-of-bounds",o=O.value-v.x(O.value-o)):o=O.value:o>D.value&&(e.outOfBounds?(i="touch-out-of-bounds",o=D.value+v.x(o-D.value)):o=D.value),Ym((function(){N(n,o,l.value,i)}))}}}function q(){if(!u.value&&!e.disabled&&m&&(n.value.style.willChange="auto",m=!1,!g&&!L("out-of-bounds")&&e.inertia)){const e=1e3*(_.historyX[1]-_.historyX[0])/(_.historyT[1]-_.historyT[0]),t=1e3*(_.historyY[1]-_.historyY[0])/(_.historyT[1]-_.historyT[0]),n=d.value,o=h.value;w.setV(e,t),w.setS(n,o);const i=w.delta().x,r=w.delta().y;let a=i+n,s=r+o;a<P.value?(a=P.value,s=o+(P.value-n)*r/i):a>M.value&&(a=M.value,s=o+(M.value-n)*r/i),s<O.value?(s=O.value,a=n+(O.value-o)*i/r):s>D.value&&(s=D.value,a=n+(D.value-o)*i/r),w.setEnd(a,s),f=Km(w,(function(){let e=w.s(),t=e.x,n=e.y;N(t,n,l.value,"friction")}),(function(){f.cancel()}))}e.outOfBounds||e.inertia||z()}function G(){if(!o.value)return;z();let t=e.scale?A.value:1;I(),B(t),T();let n=R(H.value+E.x,V.value+E.y),i=n.x,r=n.y;N(i,r,t,"",!0),x(t)}return Qo((()=>{jm(n.value,(e=>{switch(e.detail.state){case"start":W();break;case"move":Q(e);break;case"end":q()}})),G(),w.reconfigure(1,S.value),U.reconfigure(1,9*Math.pow(j.value,2)/40,j.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:G,_endScale:C,_setScale:k};i(e),Xo((()=>{r(e)}))})),Xo((()=>{z()})),{setParent:G}}(e,i,o);return()=>dr("uni-movable-view",{ref:o},[dr(Mf,{onResize:r},null,8,["onResize"]),t.default&&t.default()],512)}});let Gm=!1;function Ym(e){Gm||(Gm=!0,requestAnimationFrame((function(){e(),Gm=!1})))}function Xm(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=Xm(e.offsetParent,t):0}function Jm(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Jm(e.offsetParent,t):0}function Km(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,i){if(!t||!t.cancelled){o(n);let r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,i))),r&&i&&i(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function Zm(e){return/\d+[ur]px$/i.test(e)?Id(parseFloat(e)):Number(e)||0}const eg=["navigate","redirect","switchTab","reLaunch","navigateBack"],tg=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],ng=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],og={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~eg.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||tg.concat(ng).includes(e)},animationDuration:{type:[String,Number],default:300}};const ig=fu({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:c({},og,{renderLink:{type:Boolean,default:!0}}),setup(e,{slots:t}){const n=ln(null),o=xr(),i=o&&o.vnode.scopeId||"",{hovering:r,binding:a}=vu(e),s=function(e){return()=>{if("navigateBack"!==e.openType&&!e.url)return void console.error("<navigator/> should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");const t=parseInt(e.animationDuration);switch(e.openType){case"navigate":nv({url:e.url,animationType:e.animationType||"pop-in",animationDuration:t});break;case"redirect":Cp({url:e.url,exists:e.exists});break;case"switchTab":wp({url:e.url});break;case"reLaunch":Ap({url:e.url});break;case"navigateBack":tv({delta:e.delta,animationType:e.animationType||"pop-out",animationDuration:t})}}}(e);return()=>{const{hoverClass:l,url:c}=e,u=e.hoverClass&&"none"!==e.hoverClass,d=e.renderLink?dr("a",{class:"navigator-wrap",href:c,onClick:uc,onMousedown:uc},[t.default&&t.default()],40,["href","onClick","onMousedown"]):t.default&&t.default();return dr("uni-navigator",br({class:u&&r.value?l:"",ref:n},u&&a,o?o.attrs:{},{[i]:""},{onClick:s}),[d],16,["onClick"])}}});const rg=fu({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return p(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=ln(null),i=ln(null),r=yu(o,n),a=function(e){const t=Wt([...e.value]),n=Wt({value:t,height:34});return so((()=>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),s=ln(null);Qo((()=>{const e=s.value;e&&(a.height=e.$el.offsetHeight)}));let l=ln([]),c=ln([]);function u(e){let t=c.value;t=t.filter((e=>e.type!==Yi));let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return ki("getPickerViewColumn",(function(e){return Dr({get(){const t=u(e.vnode);return a.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(a.value[o]!==t){a.value[o]=t;const e=a.value.map((e=>e));n("update:value",e),r("change",{},{value:e})}}})})),ki("pickerViewProps",e),ki("pickerViewState",a),()=>{const e=t.default&&t.default();{const t=Mm(e);l.value=t,On((()=>{c.value=t}))}return dr("uni-picker-view",{ref:o},[dr(Mf,{ref:s,onResize:({height:e})=>a.height=e},null,8,["onResize"]),dr("div",{ref:i,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class ag{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 sg(e,t,n){return e>t-n&&e<t+n}function lg(e,t){return sg(e,0,t)}class cg{constructor(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}_solve(e,t){const n=this._c,o=this._m,i=this._k,r=n*n-4*o*i;if(0===r){const i=-n/(2*o),r=e,a=t/(i*e);return{x:function(e){return(r+a*e)*Math.pow(Math.E,i*e)},dx:function(e){const t=Math.pow(Math.E,i*e);return i*(r+a*e)*t+a*t}}}if(r>0){const i=(-n-Math.sqrt(r))/(2*o),a=(-n+Math.sqrt(r))/(2*o),s=(t-i*e)/(a-i),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*i*t+s*a*n}}}const a=Math.sqrt(4*o*i-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!lg(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(lg(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),lg(t,.4)&&(t=0),lg(o,.4)&&(o=0),o+=this._endPosition),this._solution&&lg(o-e,.4)&&lg(t,.4)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),sg(this.x(),this._endPosition,.4)&&lg(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 ug{constructor(e,t,n){this._extent=e,this._friction=t||new ag(.01),this._spring=n||new cg(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 dg{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 ug(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)<this._itemSize&&Math.abs(n.y)<300||Math.abs(n.y)<150))return void this.snap();if(this._enableX&&(Math.abs(e)<this._itemSize&&Math.abs(n.x)<300||Math.abs(n.x)<150))return void this.snap()}let o;if(this._enableX?this._scroll.set(this._position,n.x):this._enableY&&this._scroll.set(this._position,n.y),this._enableSnap){const e=this._scroll._friction.x(100),t=e%this._itemSize;o=Math.abs(t)>this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=function(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,i){if(!t||!t.cancelled){o(n);const r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,i))),r&&i&&i(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}(this._scroll,(()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)}),(()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),g(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),g(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(g(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let o=0;const i=this._position;this._enableX?(o=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(o=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-o?this._position=-o:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),i!==this._position&&(this.dispatchScroll(),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}const hg=fu({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=ln(null),i=ln(null),r=Ai("getPickerViewColumn"),a=xr(),s=r?r(a):ln(0),l=Ai("pickerViewProps"),c=Ai("pickerViewState"),u=ln(34),d=ln(null);Qo((()=>{const e=d.value;u.value=e.$el.offsetHeight}));const h=Dr((()=>(c.height-u.value)/2)),{state:p}=ym();let f;const m=Wt({current:s.value,length:0});let g;function y(){f&&!g&&(g=!0,On((()=>{g=!1;let e=Math.min(m.current,m.length-1);e=Math.max(e,0),f.update(e*u.value,void 0,u.value)})))}so((()=>s.value),(e=>{e!==m.current&&(m.current=e,y())})),so((()=>m.current),(e=>s.value=e)),so([()=>u.value,()=>m.length,()=>c.height],y);let b=0;function v(e){const t=b+e.deltaY;if(Math.abs(t)>10){b=0;let e=Math.min(m.current+(t<0?-1:1),m.length-1);m.current=e=Math.max(e,0),f.scrollTo(e*u.value)}else b=t;e.preventDefault()}function _({clientY:e}){const t=o.value;if(!f.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let i=Math.min(m.current+t,m.length-1);m.current=i=Math.max(i,0),f.scrollTo(i*u.value)}}}const S=()=>{const e=o.value,t=i.value,{scroller:n,handleTouchStart:r,handleTouchMove:a,handleTouchEnd:s}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new dg(e,t);function i(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,i=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=i.screenX,n.y=i.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||i.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const r=i(e);if(r){for(n.maxDy=Math.max(n.maxDy,Math.abs(r.y)),n.maxDx=Math.max(n.maxDx,Math.abs(r.x)),n.historyX.push(r.x),n.historyY.push(r.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(r.x,r.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=i(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,i=n.historyTime[t],r=n.historyX[t],a=n.historyY[t];t>0;){t--;const e=i-n.historyTime[t];if(e>30&&e<50){o.x=(r-n.historyX[t])/(e/1e3),o.y=(a-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new ag(1e-4),spring:new cg(2,90,20),onSnap:e=>{isNaN(e)||e===m.current||(m.current=e)}});f=n,jm(e,(e=>{switch(e.detail.state){case"start":r(e);break;case"move":a(e),e.stopPropagation();break;case"end":case"cancel":s(e)}}),!0),function(e){let t=0,n=0;e.addEventListener("touchstart",(e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY})),e.addEventListener("touchend",(e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((e=>{n[e]=o[e]})),e.target.dispatchEvent(n)}}))}(e),y()};return Qo(S),()=>{const e=t.default&&t.default();m.length=Mm(e).length;const n=`${h.value}px 0`;return dr("uni-picker-view-column",{ref:o},[dr("div",{onWheel:v,onClick:_,class:"uni-picker-view-group"},[dr("div",br(p.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${h.value}px;${l.maskStyle}`}),null,16),dr("div",br(p.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[dr(Mf,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),dr("div",{ref:i,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${u.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}}),pg="#007aff",fg="backwards",mg=fu({name:"Progress",props:{percent:{type:[Number,String],default:0,validator:e=>!isNaN(parseFloat(e))},fontSize:{type:[String,Number],default:16},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator:e=>!isNaN(parseFloat(e))},color:{type:String,default:pg},activeColor:{type:String,default:pg},backgroundColor:{type:String,default:"#EBEBEB"},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:fg},duration:{type:[Number,String],default:30,validator:e=>!isNaN(parseFloat(e))},borderRadius:{type:[Number,String],default:0}},setup(e){const t=ln(null),n=function(e){const t=ln(0),n=Dr((()=>`background-color: ${e.backgroundColor}; height: ${vc(e.strokeWidth)}px;`)),o=Dr((()=>{const n=e.color!==pg&&e.activeColor===pg?e.color:e.activeColor;return`width: ${t.value}%;background-color: ${n}`})),i=Dr((()=>{if("string"==typeof e.percent&&!/^-?\d*\.?\d*$/.test(e.percent))return 0;let t=parseFloat(e.percent);return Number.isNaN(t)||t<0?t=0:t>100&&(t=100),t}));return Wt({outerBarStyle:n,innerBarStyle:o,realPercent:i,currentPercent:t,strokeTimer:0,lastPercent:0})}(e);return gg(n,e),so((()=>n.realPercent),((t,o)=>{n.strokeTimer&&clearInterval(n.strokeTimer),n.lastPercent=o||0,gg(n,e)})),()=>{const{showInfo:o}=e,{outerBarStyle:i,innerBarStyle:r,currentPercent:a}=n;return dr("uni-progress",{class:"uni-progress",ref:t},[dr("div",{style:i,class:"uni-progress-bar"},[dr("div",{style:r,class:"uni-progress-inner-bar"},null,4)],4),o?dr("p",{class:"uni-progress-info"},[a+"%"]):""],512)}}});function gg(e,t){t.active?(e.currentPercent=t.activeMode===fg?0:e.lastPercent,e.strokeTimer=setInterval((()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1}),parseFloat(t.duration))):e.currentPercent=e.realPercent}const yg=yc("ucg"),bg=fu({name:"RadioGroup",props:{name:{type:String,default:""}},setup(e,{emit:t,slots:n}){const o=ln(null);return function(e,t){const n=[];Qo((()=>{s(n.length-1)}));const o=()=>{var e;return null==(e=n.find((e=>e.value.radioChecked)))?void 0:e.value.value};ki(yg,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},radioChange(e,i){s(n.indexOf(i),!0),t("change",e,{value:o()})}});const i=Ai(Su,!1),r={submit:()=>{let t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=o()),t}};i&&(i.addField(r),Yo((()=>{i.removeField(r)})));function a(e,t){e.value={radioChecked:t,value:e.value.value}}function s(e,t){n.forEach(((o,i)=>{i!==e&&(t?a(n[i],!1):n.forEach(((e,t)=>{i>=t||n[t].value.radioChecked&&a(n[i],!1)})))}))}}(e,yu(o,t)),()=>dr("uni-radio-group",{ref:o},[n.default&&n.default()],512)}});const vg=fu({name:"Radio",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},value:{type:String,default:""},color:{type:String,default:"#007aff"},backgroundColor:{type:String,default:""},borderColor:{type:String,default:""},activeBackgroundColor:{type:String,default:""},activeBorderColor:{type:String,default:""},iconColor:{type:String,default:"#ffffff"}},setup(e,{slots:t}){const n=ln(null),o=ln(e.checked),i=ln(e.value);const r=Dr((()=>function(t){if(e.disabled)return{backgroundColor:"#E1E1E1",borderColor:"#D1D1D1"};const n={};return o.value?(n.backgroundColor=e.activeBackgroundColor||e.color,n.borderColor=e.activeBorderColor||n.backgroundColor):(e.borderColor&&(n.borderColor=e.borderColor),e.backgroundColor&&(n.backgroundColor=e.backgroundColor)),n}(o.value)));so([()=>e.checked,()=>e.value],(([e,t])=>{o.value=e,i.value=t}));const{uniCheckGroup:a,uniLabel:s,field:l}=function(e,t,n){const o=Dr({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:({radioChecked:t})=>{e.value=t}}),i={reset:n},r=Ai(yg,!1);r&&r.addField(o);const a=Ai(Su,!1);a&&a.addField(i);const s=Ai(Cu,!1);return Yo((()=>{r&&r.removeField(o),a&&a.removeField(i)})),{uniCheckGroup:r,uniForm:a,uniLabel:s,field:o}}(o,i,(()=>{o.value=!1})),c=t=>{e.disabled||o.value||(o.value=!0,a&&a.radioChange(t,l),t.stopPropagation())};return s&&(s.addHandler(c),Yo((()=>{s.removeHandler(c)}))),Au(e,{"label-click":c}),()=>{const i=_u(e,"disabled");let a;return a=o.value,dr("uni-radio",br(i,{id:e.id,onClick:c,ref:n}),[dr("div",{class:"uni-radio-wrapper",style:{"--HOVER-BD-COLOR":o.value?r.value.borderColor:e.activeBorderColor}},[dr("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:r.value},[a?kc(wc,e.disabled?"#ADADAD":e.iconColor,18):""],6),t.default&&t.default()],4)],16,["id","onClick"])}}});const _g={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:""},Sg={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"￥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const wg=(e,t,n)=>!n||p(n)&&!n.length?[]:n.map((n=>{var o;if(x(n)){if(!h(n,"type")||"node"===n.type){let i={[e]:""};const r=null==(o=n.name)?void 0:o.toLowerCase();if(!h(_g,r))return;return function(e,t){if(x(t))for(const n in t)if(h(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=df(o))}}(r,n.attrs),i=c(i,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),zr(n.name,i,wg(e,t,n.children))}return"text"===n.type&&y(n.text)&&""!==n.text?pr((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(e,t){return h(Sg,t)&&Sg[t]?Sg[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 xg(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"")}(e);const t=[],n={node:"root",children:[]};return function(e,t){var n,o,i,r=[],a=e;for(r.last=function(){return this[this.length-1]};e;){if(o=!0,r.last()&&nm[r.last()])e=e.replace(new RegExp("([\\s\\S]*?)</"+r.last()+"[^>]*>"),(function(e,n){return n=n.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),t.chars&&t.chars(n),""})),c("",r.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),o=!1):0==e.indexOf("</")?(i=e.match(Yf))&&(e=e.substring(i[0].length),i[0].replace(Yf,c),o=!1):0==e.indexOf("<")&&(i=e.match(Gf))&&(e=e.substring(i[0].length),i[0].replace(Gf,l),o=!1),o){var s=(n=e.indexOf("<"))<0?e:e.substring(0,n);e=n<0?"":e.substring(n),t.chars&&t.chars(s)}if(e==a)throw"Parse Error: "+e;a=e}function l(e,n,o,i){if(n=n.toLowerCase(),Kf[n])for(;r.last()&&Zf[r.last()];)c("",r.last());if(em[n]&&r.last()==n&&c("",n),(i=Jf[n]||!!i)||r.push(n),t.start){var a=[];o.replace(Xf,(function(e,t){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:tm[t]?t:"";a.push({name:t,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})})),t.start&&t.start(n,a,i)}}function c(e,n){if(n)for(o=r.length-1;o>=0&&r[o]!=n;o--);else var o=0;if(o>=0){for(var i=r.length-1;i>=o;i--)t.end&&t.end(r[i]);r.length=o}}c()}(e,{start:function(e,o,i){const r={name:e};if(0!==o.length&&(r.attrs=function(e){return e.reduce((function(e,t){let n=t.value;const o=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(o)&&(n=n.split(" ")),e[o]?Array.isArray(e[o])?e[o].push(n):e[o]=[e[o],n]:e[o]=n,e}),{})}(o)),i){const e=t[0]||n;e.children||(e.children=[]),e.children.push(r)}else t.unshift(r)},end:function(e){const o=t.shift();if(o.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},chars:function(e){const o={type:"text",text:e};if(0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},comment:function(e){const n={node:"comment",text:e},o=t[0];o&&(o.children||(o.children=[]),o.children.push(n))}}),n.children}const Cg=fu({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["itemclick"],setup(e,{emit:t}){const n=xr(),o=n&&n.vnode.scopeId||"",i=ln(null),r=ln([]),a=yu(i,t);function s(e,t={}){a("itemclick",e,t)}return so((()=>e.nodes),(function(){let t=e.nodes;y(t)&&(t=xg(e.nodes)),r.value=wg(o,s,t)}),{immediate:!0,deep:!0}),()=>zr("uni-rich-text",{ref:i},zr("div",{},r.value))}}),kg=fu({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=ln(null),o=Dr((()=>{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})),i=Dr((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:r,refresherDefaultStyle:a,refresherThreshold:s}=e;return dr("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==a?dr("div",{class:"uni-scroll-view-refresh"},[dr("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==r?dr("svg",{key:"refresh__icon",style:{transform:"rotate("+i.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[dr("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),dr("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==r?dr("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[dr("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===a?dr("div",{class:"uni-scroll-view-refresher-container",style:{height:`${s}px`}},[t.default&&t.default()]):null],4)}}}),Ag=_e(!0),Tg=fu({name:"ScrollView",compatConfig:{MODE:3},props:{direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const i=ln(null),r=ln(null),a=ln(null),s=ln(null),l=yu(i,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=Dr((()=>Number(e.scrollTop)||0)),n=Dr((()=>Number(e.scrollLeft)||0));return{state:Wt({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:h,realScrollY:p,_scrollLeftChanged:f,_scrollTopChanged:m}=function(e,t,n,o,i,r,a,s,l){let c=!1,u=0,d=!1,h=()=>{};const p=Dr((()=>e.scrollX)),f=Dr((()=>e.scrollY)),m=Dr((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),g=Dr((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function y(e,t){const n=a.value;let o=0,i="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let r=s.value;r.style.transition="transform .3s ease-out",r.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?i="translateX("+o+"px) translateZ(0)":"y"===t&&(i="translateY("+o+"px) translateZ(0)"),r.removeEventListener("transitionend",h),r.removeEventListener("webkitTransitionEnd",h),h=()=>w(e,t),r.addEventListener("transitionend",h),r.addEventListener("webkitTransitionEnd",h),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),r.style.transform=i,r.style.webkitTransform=i}function b(e){const n=e.target;i("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),f.value&&(n.scrollTop<=m.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+g.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=m.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+g.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function v(t){f.value&&(e.scrollWithAnimation?y(t,"y"):a.value.scrollTop=t)}function _(t){p.value&&(e.scrollWithAnimation?y(t,"x"):a.value.scrollLeft=t)}function S(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=r.value.querySelector("#"+t);if(n){let t=a.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,i=a.value.scrollLeft+n;e.scrollWithAnimation?y(i,"x"):a.value.scrollLeft=i}if(f.value){let n=o.top-t.top,i=a.value.scrollTop+n;e.scrollWithAnimation?y(i,"y"):a.value.scrollTop=i}}}}function w(e,t){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";let n=a.value;"x"===t?(n.style.overflowX=p.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=f.value?"auto":"hidden",n.scrollTop=e),s.value.removeEventListener("transitionend",h),s.value.removeEventListener("webkitTransitionEnd",h)}function x(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,i("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),i("refresherrefresh",{},{dy:k.y-C.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,i("refresherrestore",{},{dy:k.y-C.y})),"refresherabort"===n&&d&&(d=!1,i("refresherabort",{},{dy:k.y-C.y}))}t.refreshState=n}}let C={x:0,y:0},k={x:0,y:e.refresherThreshold};return Qo((()=>{On((()=>{v(n.value),_(o.value)})),S(e.scrollIntoView);let r=function(e){e.preventDefault(),e.stopPropagation(),b(e)},s=null,l=function(n){if(null===C)return;let o=n.touches[0].pageX,r=n.touches[0].pageY,l=a.value;if(Math.abs(o-C.x)>Math.abs(r-C.y))if(p.value){if(0===l.scrollLeft&&o>C.x)return void(s=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&o<C.x)return void(s=!1);s=!0}else s=!1;else if(f.value)if(0===l.scrollTop&&r>C.y)s=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&r<C.y)return void(s=!1);s=!0}else s=!1;if(s&&n.stopPropagation(),0===l.scrollTop&&1===n.touches.length&&x("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const o=r-C.y;0===u&&(u=r),c?(t.refresherHeight=o+e.refresherThreshold,d=!1):(t.refresherHeight=r-u,t.refresherHeight>0&&(d=!0,i("refresherpulling",n,{deltaY:o,dy:o})))}},h=function(e){1===e.touches.length&&(C={x:e.touches[0].pageX,y:e.touches[0].pageY})},m=function(n){k={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?x("refreshing"):x("refresherabort"),C={x:0,y:0},k={x:0,y:e.refresherThreshold}};a.value.addEventListener("touchstart",h,Ag),a.value.addEventListener("touchmove",l,_e(!1)),a.value.addEventListener("scroll",r,_e(!1)),a.value.addEventListener("touchend",m,Ag),Yo((()=>{a.value.removeEventListener("touchstart",h),a.value.removeEventListener("touchmove",l),a.value.removeEventListener("scroll",r),a.value.removeEventListener("touchend",m)}))})),zo((()=>{f.value&&(a.value.scrollTop=t.lastScrollTop),p.value&&(a.value.scrollLeft=t.lastScrollLeft)})),so(n,(e=>{v(e)})),so(o,(e=>{_(e)})),so((()=>e.scrollIntoView),(e=>{S(e)})),so((()=>e.refresherTriggered),(e=>{!0===e?x("refreshing"):!1===e&&x("restore")})),{realScrollX:p,realScrollY:f,_scrollTopChanged:v,_scrollLeftChanged:_}}(e,c,u,d,l,i,r,s,t),g=Dr((()=>{let e="";return h.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),y=Dr((()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t}));return o({$getMain:()=>r.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:h}=c;return dr("uni-scroll-view",{ref:i},[dr("div",{ref:a,class:"uni-scroll-view"},[dr("div",{ref:r,style:g.value,class:y.value},[t?dr(kg,{refreshState:h,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,dr("div",{ref:s,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});const Ig=fu({name:"Slider",props:{name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},emits:["changing","change"],setup(e,{emit:t}){const n=ln(null),o=ln(null),i=ln(null),r=ln(Number(e.value));so((()=>e.value),(e=>{r.value=Number(e)}));const a=yu(n,t),s=function(e,t){const n=()=>{return n=t.value,o=e.min,i=e.max,i=Number(i),o=Number(o),100*(n-o)/(i-o)+"%";var n,o,i},o=()=>"#e9e9e9"!==e.backgroundColor?e.backgroundColor:"#007aff"!==e.color?e.color:"#007aff",i=()=>"#007aff"!==e.activeColor?e.activeColor:"#e9e9e9"!==e.selectedColor?e.selectedColor:"#e9e9e9";return{setBgColor:Dr((()=>({backgroundColor:o()}))),setBlockBg:Dr((()=>({left:n()}))),setActiveColor:Dr((()=>({backgroundColor:i(),width:n()}))),setBlockStyle:Dr((()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:n(),backgroundColor:e.blockColor})))}}(e,r),{_onClick:l,_onTrack:c}=function(e,t,n,o,i){const r=n=>{e.disabled||(s(n),i("change",n,{value:t.value}))},a=t=>{const n=Number(e.max),o=Number(e.min),i=Number(e.step);return t<o?o:t>n?n:Bg.mul.call(Math.round((t-o)/i),i)+o},s=i=>{const r=Number(e.max),s=Number(e.min),l=o.value,c=getComputedStyle(l,null).marginLeft;let u=l.offsetWidth;u+=parseInt(c);const d=n.value,h=d.offsetWidth-(e.showValue?u:0),p=d.getBoundingClientRect().left,f=(i.x-p)*(r-s)/h+s;t.value=a(f)},l=n=>{if(!e.disabled)return"move"===n.detail.state?(s({x:n.detail.x}),i("changing",n,{value:t.value}),!1):"end"===n.detail.state&&i("change",n,{value:t.value})},c=Ai(Su,!1);if(c){const n={reset:()=>t.value=Number(e.min),submit:()=>{const n=["",null];return""!==e.name&&(n[0]=e.name,n[1]=t.value),n}};c.addField(n),Yo((()=>{c.removeField(n)}))}return{_onClick:r,_onTrack:l}}(e,r,n,o,a);return Qo((()=>{jm(i.value,c)})),()=>{const{setBgColor:t,setBlockBg:a,setActiveColor:c,setBlockStyle:u}=s;return dr("uni-slider",{ref:n,onClick:gu(l)},[dr("div",{class:"uni-slider-wrapper"},[dr("div",{class:"uni-slider-tap-area"},[dr("div",{style:t.value,class:"uni-slider-handle-wrapper"},[dr("div",{ref:i,style:a.value,class:"uni-slider-handle"},null,4),dr("div",{style:u.value,class:"uni-slider-thumb"},null,4),dr("div",{style:c.value,class:"uni-slider-track"},null,4)],4)]),po(dr("span",{ref:o,class:"uni-slider-value"},[r.value],512),[[na,e.showValue]])])],8,["onClick"])}}});var Bg={mul:function(e){let t=0,n=this.toString(),o=e.toString();try{t+=n.split(".")[1].length}catch(i){}try{t+=o.split(".")[1].length}catch(i){}return Number(n.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,t)}};function Eg(e,t,n,o,i,r){function a(){c&&(clearTimeout(c),c=null)}let s,l,c=null,u=!0,d=0,h=1,p=null,f=!1,m=0,g="";const y=Dr((()=>n.value.length>t.displayMultipleItems)),b=Dr((()=>e.circular&&y.value));function v(i){Math.floor(2*d)===Math.floor(2*i)&&Math.ceil(2*d)===Math.ceil(2*i)||b.value&&function(o){if(!u)for(let i=n.value,r=i.length,a=o+t.displayMultipleItems,s=0;s<r;s++){const t=i[s],n=Math.floor(o/r)*r+s,l=n+r,c=n-r,u=Math.max(o-(n+1),n-a,0),d=Math.max(o-(l+1),l-a,0),h=Math.max(o-(c+1),c-a,0),p=Math.min(u,d,h),f=[n,l,c][[u,d,h].indexOf(p)];t.updatePosition(f,e.vertical)}}(i);const a="translate("+(e.vertical?"0":100*-i*h+"%")+", "+(e.vertical?100*-i*h+"%":"0")+") translateZ(0)",l=o.value;if(l&&(l.style.webkitTransform=a,l.style.transform=a),d=i,!s){if(i%1==0)return;s=i}i-=Math.floor(s);const c=n.value;i<=-(c.length-1)?i+=c.length:i>=c.length&&(i-=c.length),i=s%1>.5||s<0?i-1:i,r("transition",{},{dx:e.vertical?0:i*l.offsetWidth,dy:e.vertical?i*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const i=(Math.round(e)%o+o)%o;if(b.value){if(o<=t.displayMultipleItems)return 0}else if(i>o-t.displayMultipleItems)return o-t.displayMultipleItems;return i}function S(){p=null}function w(){if(!p)return void(f=!1);const e=p,o=e.toPos,i=e.acc,a=e.endTime,c=e.source,u=a-Date.now();if(u<=0){v(o),p=null,f=!1,s=null;const e=n.value[t.current];if(e){const n=e.getItemId();r("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}v(o+i*u*u/2),l=requestAnimationFrame(w)}function x(e,o,i){S();const r=t.duration,a=n.value.length;let s=d;if(b.value)if(i<0){for(;s<e;)s+=a;for(;s-a>e;)s-=a}else if(i>0){for(;s>e;)s-=a;for(;s+a<e;)s+=a;s+a-e<e-s&&(s+=a)}else{for(;s+a<e;)s+=a;for(;s-a>e;)s-=a;s+a-e<e-s&&(s+=a)}else"click"===o&&(e=e+t.displayMultipleItems-1<a?e:0);p={toPos:e,acc:2*(s-e)/(r*r),endTime:Date.now()+r,source:o},f||(f=!0,l=requestAnimationFrame(w))}function C(){a();const e=n.value,o=function(){c=null,g="autoplay",b.value?t.current=_(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,x(t.current,"autoplay",b.value?1:0),c=setTimeout(o,t.interval)};u||e.length<=t.displayMultipleItems||(c=setTimeout(o,t.interval))}function k(e){e?C():a()}return so([()=>e.current,()=>e.currentItemId,()=>[...n.value]],(()=>{let o=-1;if(e.currentItemId)for(let t=0,i=n.value;t<i.length;t++){if(i[t].getItemId()===e.currentItemId){o=t;break}}o<0&&(o=Math.round(e.current)||0),o=o<0?0:o,t.current!==o&&(g="",t.current=o)})),so([()=>e.vertical,()=>b.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){a(),p&&(v(p.toPos),p=null);const i=n.value;for(let t=0;t<i.length;t++)i[t].updatePosition(t,e.vertical);h=1;const r=o.value;if(1===t.displayMultipleItems&&i.length){const e=i[0].getBoundingClientRect(),t=r.getBoundingClientRect();h=e.width/t.width,h>0&&h<1||(h=1)}const s=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(v(s+l-m),m=l):(v(l),e.autoplay&&C())):(u=!0,v(-t.displayMultipleItems-1))})),so((()=>t.interval),(()=>{c&&(a(),C())})),so((()=>t.current),((e,o)=>{!function(e,o){const i=g;g="";const a=n.value;if(!i){const t=a.length;x(e,"",b.value&&o+(t-e)%t>t/2?1:0)}const s=a[e];if(s){const e=t.currentItemId=s.getItemId();r("change",{},{current:t.current,currentItemId:e,source:i})}}(e,o),i("update:current",e)})),so((()=>t.currentItemId),(e=>{i("update:currentItemId",e)})),so((()=>e.autoplay&&!t.userTracking),k),k(e.autoplay&&!t.userTracking),Qo((()=>{let i=!1,r=0,s=0;function l(e){t.userTracking=!1;const n=r/Math.abs(r);let o=0;!e&&Math.abs(r)>.2&&(o=.5*n);const i=_(d+o);e?v(m):(g="touch",t.current=i,x(i,"touch",0!==o?o:0===i&&b.value&&d>=1?1:0))}jm(o.value,(c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,i=!1,a(),m=d,r=0,s=Date.now(),void S();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!i){i=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&C())}return function(i){const a=s;s=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=m+e;r=.6*r+.4*t,b.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),r=0),v(n)}const d=s-a||1,h=o.value;e.vertical?u(-i.dy/h.offsetHeight,-i.ddy/d):u(-i.dx/h.offsetWidth,-i.ddx/d)}(c.detail),!1}}}))})),Xo((()=>{a(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){x(t.current=e,g="click",b.value?1:0)},circularEnabled:b,swiperEnabled:y}}const Pg=fu({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=ln(null),i=yu(o,n),r=ln(null),a=ln(null),s=function(e){return Wt({interval:Dr((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:Dr((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:Dr((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=Dr((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:vc(e.previousMargin,!0),bottom:vc(e.nextMargin,!0)}:{top:0,bottom:0,left:vc(e.previousMargin,!0),right:vc(e.nextMargin,!0)}),t})),c=Dr((()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],h=ln([]);function p(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n instanceof Element||(n=n.el);const o=d.find((e=>n===e.rootRef.value));o&&e.push(en(o))}h.value=e}ki("addSwiperContext",(function(e){d.push(e),p()}));ki("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())}));const{onSwiperDotClick:f,circularEnabled:m,swiperEnabled:g}=Eg(e,s,h,a,n,i);let y=()=>null;return y=Og(o,e,s,f,h,m,g),()=>{const n=t.default&&t.default();return u=Mm(n),dr("uni-swiper",{ref:o},[dr("div",{ref:r,class:"uni-swiper-wrapper"},[dr("div",{class:"uni-swiper-slides",style:l.value},[dr("div",{ref:a,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&dr("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[h.value.map(((t,n,o)=>dr("div",{onClick:()=>f(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<s.current+s.displayMultipleItems&&n>=s.current||n<s.current+s.displayMultipleItems-o.length},style:{background:n===s.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"])))],2),y()],512)],512)}}}),Og=(e,t,n,o,i,r,a)=>{let s=!1,l=!1,u=!1,d=ln(!1);function h(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}ro((()=>{s="auto"===t.navigation,d.value=!0!==t.navigation||s,v()})),ro((()=>{const e=i.value.length,t=!r.value;l=0===n.current&&t,u=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,a.value||(l=!0,u=!0,s&&(d.value=!0))}));const p={onMouseover:e=>h(e,"over"),onMouseout:e=>h(e,"out")};function f(e,t,a){if(e.stopPropagation(),a)return;const s=i.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&r.value&&(l=s-1);break;case"next":l++,l>=s&&r.value&&(l=0)}o(l)}const m=()=>kc(Cc,t.navigationColor,26);let g;const y=n=>{clearTimeout(g);const{clientX:o,clientY:i}=n,{left:r,right:a,top:s,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let h=!1;if(h=t.vertical?!(i-s<u/3||l-i<u/3):!(o-r<c/3||a-o<c/3),h)return g=setTimeout((()=>{d.value=h}),300);d.value=h},b=()=>{d.value=!0};function v(){e.value&&(e.value.removeEventListener("mousemove",y),e.value.removeEventListener("mouseleave",b),s&&(e.value.addEventListener("mousemove",y),e.value.addEventListener("mouseleave",b)))}return Qo(v),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?dr(qi,null,[dr("div",br({class:["uni-swiper-navigation uni-swiper-navigation-prev",c({"uni-swiper-navigation-disabled":l},e)],onClick:e=>f(e,"prev",l)},p),[m()],16,["onClick"]),dr("div",br({class:["uni-swiper-navigation uni-swiper-navigation-next",c({"uni-swiper-navigation-disabled":u},e)],onClick:e=>f(e,"next",u)},p),[m()],16,["onClick"])]):null}},Mg=fu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=ln(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",i=t?100*e+"%":"0",r=n.value,a=`translate(${o},${i}) translateZ(0)`;r&&(r.style.webkitTransform=a,r.style.transform=a)}};return Qo((()=>{const e=Ai("addSwiperContext");e&&e(o)})),Xo((()=>{const e=Ai("removeSwiperContext");e&&e(o)})),()=>dr("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Dg={ensp:" ",emsp:" ",nbsp:" "};function zg(e,t){return function(e,{space:t,decode:n}){let o="",i=!1;for(let r of e)t&&Dg[t]&&" "===r&&(r=Dg[t]),i?(o+="n"===r?"\n":"\\"===r?"\\":"\\"+r,i=!1):"\\"===r?i=!0:o+=r;return n?o.replace(/&nbsp;/g,Dg.nbsp).replace(/&ensp;/g,Dg.ensp).replace(/&emsp;/g,Dg.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'"):o}(e,t).split("\n")}const Rg=fu({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=ln(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Yi){const n=zg(t.children,{space:e.space,decode:e.decode}),i=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(pr(e)),t!==i&&o.push(dr("br"))}))}else o.push(t)})),dr("uni-text",{ref:n,selectable:!!e.selectable||null},[dr("span",null,o)],8,["selectable"])}}}),Ng=c({},Sm,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>jg.concat("return").includes(e)}});let Lg=!1;const jg=["done","go","next","search","send"];const $g=fu({name:"Textarea",props:Ng,emits:["confirm","linechange",...wm],setup(e,{emit:t,expose:n}){const o=ln(null),i=ln(null),{fieldRef:r,state:a,scopedAttrsState:s,fixDisabledColor:l,trigger:c}=km(e,o,t),u=Dr((()=>a.value.split("\n"))),d=Dr((()=>jg.includes(e.confirmType))),h=ln(0),p=ln(null);function f({height:e}){h.value=e}function m(e){"Enter"===e.key&&d.value&&e.preventDefault()}function g(t){if("Enter"===t.key&&d.value){!function(e){c("confirm",e,{value:a.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return so((()=>h.value),(t=>{const n=o.value,r=p.value,a=i.value;let s=parseFloat(getComputedStyle(n).lineHeight);isNaN(s)&&(s=r.offsetHeight);var l=Math.round(t/s);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(a.style.height=t+"px")})),function(){const e="(prefers-color-scheme: dark)";Lg=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}(),n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),a.value=e.value}}),()=>{let t=e.disabled&&l?dr("textarea",{key:"disabled-textarea",ref:r,value:a.value,tabindex:"-1",readonly:!!e.disabled,maxlength:a.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Lg},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):dr("textarea",{key:"textarea",ref:r,value:a.value,disabled:!!e.disabled,maxlength:a.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Lg},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:m,onKeyup:g},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup"]);return dr("uni-textarea",{ref:o,"auto-height":e.autoHeight},[dr("div",{ref:i,class:"uni-textarea-wrapper"},[po(dr("div",br(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[na,!a.value.length]]),dr("div",{ref:p,class:"uni-textarea-line"},[" "],512),dr("div",{class:"uni-textarea-compute"},[u.value.map((e=>dr("div",null,[e.trim()?e:"."]))),dr(Mf,{initial:!0,onResize:f},null,8,["initial","onResize"])]),"search"===e.confirmType?dr("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],8,["auto-height"])}}}),Fg=fu({name:"View",props:c({},bu),setup(e,{slots:t}){const n=ln(null),{hovering:o,binding:i}=vu(e);return()=>{const r=e.hoverClass;return r&&"none"!==r?dr("uni-view",br({class:o.value?r:"",ref:n},i),[ni(t,"default")],16):dr("uni-view",{ref:n},[ni(t,"default")],512)}}});function Hg(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Vg(e,t,n){e&&Fl(n||Ec(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function Ug(e,t){e&&function(e,t){t=$l(e,t),delete jl[t]}(t||Ec(),e)}function Wg(e,t,n,o){const i=xr().proxy;Qo((()=>{Vg(t||Hg(i),e,o),!n&&t||so((()=>i.id),((t,n)=>{Vg(Hg(i,t),e,o),Ug(n&&Hg(i,n))}))})),Yo((()=>{Ug(t||Hg(i),o)}))}let Qg=0;function qg(e){const t=Ac(),n=xr().proxy,o=n.$options.name.toLowerCase(),i=e||n.id||"context"+Qg++;return Qo((()=>{n.$el.__uniContextInfo={id:i,type:o,page:t}})),`${o}.${i}`}function Gg(e,t,n,o){g(t)&&Vo(e,t.bind(n),o)}function Yg(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&("page"!==o||"component"!==t.renderer)&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!g(t))&&(Be.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const i=e[o];p(i)?i.forEach((e=>Gg(o,e,n,t))):Gg(o,i,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,zc(n,"onLoad",e),delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&zc(n,"onShow")}catch(i){console.error(i.message+"\n"+i.stack)}}}function Xg(e,t,n){Yg(e,t,n)}function Jg(e,t,n){return e[t]=n}function Kg(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Zg(e){const t=e.config.errorHandler;return function(n,o,i){t&&t(n,o,i);const r=e._instance;if(!r||!r.proxy)throw n;r.onError?zc(r.proxy,"onError",n):wn(n,0,o&&o.$.vnode,!1)}}function ey(e,t){return e?[...new Set([].concat(e,t))]:t}function ty(e){const t=e.config;var n;t.errorHandler=Pe(e,Zg),n=t.optionMergeStrategies,Be.forEach((e=>{n[e]=ey}));const o=t.globalProperties;o.$set=Jg,o.$applyOptions=Xg,o.$callMethod=Kg,function(e){Ee.forEach((t=>t(e)))}(e)}function ny(e){const t=dl({history:ry(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:iy});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(oy[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let oy=Object.create(null);const iy=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,oy[o]);if(t)return t}return{left:0,top:0};var o};function ry(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),ks(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=qp(),n=t.length-1,o=n-e;for(let i=n;i>o;i--){const e=jp(t[i]);Gp(Kp(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const ay={install(e){ty(e),Kc(e),cu(e),e.config.warnHandler||(e.config.warnHandler=sy),ny(e)}};function sy(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const o=[`[Vue warn]: ${e}`];n.length&&o.push("\n",n),console.warn(...o)}const ly={class:"uni-async-loading"},cy=dr("i",{class:"uni-loading"},null,-1),uy=mu({name:"AsyncLoading",render:()=>(Zi(),ir("div",ly,[cy]))});function dy(){window.location.reload()}const hy=mu({name:"AsyncError",props:["error"],setup(){El();const{t:e}=Il();return()=>dr("div",{class:"uni-async-error",onClick:dy},[e("uni.async.error")],8,["onClick"])}});let py;function fy(){return py}function my(e){py=e,Object.defineProperty(py.$.ctx,"$children",{get:()=>qp().map((e=>e.$vm))});const t=py.$.appContext.app;t.component(uy.name)||t.component(uy.name,uy),t.component(hy.name)||t.component(hy.name,hy),function(e){e.$vm=e,e.$mpType="app";const t=ln(Il().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(py),function(e,t){const n=e.$options||{};n.globalData=c(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(py),su(),Hc()}function gy(e,{clone:t,init:n,setup:o,before:i}){t&&(e=c({},e)),i&&i(e);const r=e.setup;return e.setup=(e,t)=>{const i=xr();if(n(i.proxy),o(i),r)return r(e,t)},e}function yy(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?gy(e.default,t):gy(e,t)}function by(e){return yy(e,{clone:!0,init:Jp,setup(e){e.$pageInstance=e;const t=Mu(),n=xe(t.query);e.attrs.__pageQuery=n,jp(e.proxy).options=n,e.proxy.options=n;const o=Pu();var i,r;return Rp(o),e.onReachBottom=Wt([]),e.onPageScroll=Wt([]),so([e.onReachBottom,e.onPageScroll],(()=>{const t=Ic();e.proxy===t&&lf(e,o)}),{once:!0}),Wo((()=>{tf(e,o)})),Qo((()=>{nf(e);const{onReady:n}=e;n&&D(n),wy(t)})),No((()=>{if(!e.__isVisible){tf(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&D(n),On((()=>{wy(t)}))}}),"ba",i),function(e,t){No(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&D(t)}}})),r=o.id,Kv.subscribe($l(r,"invokeViewApi"),Hl),Yo((()=>{!function(e){Kv.unsubscribe($l(e,"invokeViewApi")),Object.keys(jl).forEach((t=>{0===t.indexOf(e+".")&&delete jl[t]}))}(o.id)})),n}})}function vy(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Wy(),i=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Zv.emit("onResize",{deviceOrientation:i,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function _y(e){x(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&Zv.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Sy(){const{emit:e}=Zv;"visible"===document.visibilityState?e("onAppEnterForeground",c({},Of)):e("onAppEnterBackground")}function wy(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&zc("onTabItemTap",{index:n,text:t,pagePath:o})}function xy(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),i=(t<10?"0":"")+t;let r=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==i&&(r=i+":"+r),r}function Cy(e,t,n){const o=Wt({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),i={x:0,y:0};let r=null;let a;return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];i.x=t.pageX,i.y=t.pageY,o.gestureType="none",o.volumeOld=0},onTouchmove:function(s){function l(){s.stopPropagation(),s.preventDefault()}n.fullscreen&&l();const c=o.gestureType;if("stop"===c)return;const u=s.targetTouches[0],d=u.pageX,h=u.pageY,p=i,f=t.value;if("progress"===c?(!function(e){const n=t.value.duration;let i=e/600*n+o.currentTimeOld;i<0?i=0:i>n&&(i=n);o.currentTimeNew=i}(d-p.x),o.seeking=!0):"volume"===c&&function(e){const n=t.value,i=o.volumeOld;let r;"number"==typeof i&&(r=i-e/200,r<0?r=0:r>1&&(r=1),clearTimeout(a),a=void 0,null==a&&(a=setTimeout((()=>{o.toastThin=!1,a=void 0}),1e3)),n.volume=r,o.volumeNew=r)}(h-p.y),"none"===c)if(Math.abs(d-p.x)>Math.abs(h-p.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=f.currentTime,n.fullscreen||l()}else{if(!e.pageGesture&&!e.vslideGesture)return void(o.gestureType="stop");"none"!==o.gestureType&&null!=r||(r=setTimeout((()=>{o.toastThin=!0}),500)),o.gestureType="volume",o.volumeOld=f.volume,n.fullscreen||l()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}const ky={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},vslideGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},Ay=fu({name:"Video",props:ky,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const i=ln(null),r=ln(null),a=yu(i,t),{state:s}=gm(),{$attrs:l}=Om({excludeListeners:!0});Il(),Rl();const{videoRef:c,state:u,play:d,pause:h,stop:f,seek:m,playbackRate:g,toggle:y,onDurationChange:b,onLoadedMetadata:v,onProgress:_,onWaiting:S,onVideoError:w,onPlay:x,onPause:C,onEnded:k,onTimeUpdate:A}=function(e,t,n){const o=ln(null),i=Dr((()=>df(e.src))),r=Dr((()=>"true"===e.muted||!0===e.muted)),a=Wt({start:!1,src:i,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:r,pauseUpdatingCurrentTime:!1});function s(e){const t=e.target,n=t.buffered;n.length&&(a.buffered=n.end(n.length-1)/t.duration*100)}function l(){o.value.pause()}function c(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return so((()=>i.value),(()=>{a.playing=!1,a.currentTime=0})),so((()=>a.buffered),(e=>{n("progress",{},{buffered:e})})),so((()=>r.value),(e=>{o.value.muted=e})),{videoRef:o,state:a,play:function(){const e=o.value;a.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;a.playing?e.pause():e.play()},onDurationChange:function({target:e}){a.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,i=t.target;o>0&&(i.currentTime=o),n("loadedmetadata",t,{width:i.videoWidth,height:i.videoHeight,duration:i.duration}),s(t)},onProgress:s,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){a.playing=!1,n("error",e,{})},onPlay:function(e){a.start=!0,a.playing=!0,n("play",e,{})},onPause:function(e){a.playing=!1,n("pause",e,{})},onEnded:function(e){a.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target;a.pauseUpdatingCurrentTime||(a.currentTime=t.currentTime);const o=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,a),{state:T,danmuRef:I,updateDanmu:B,toggleDanmu:E,sendDanmu:P}=function(e,t){const n=ln(null),o=Wt({enable:Boolean(e.enableDanmu)});let i={time:0,index:-1};const r=p(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function a(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout((function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout((function(){t.remove()}),4e3)}),17)}return r.sort((function(e,t){return(e.time||0)-(t.time||0)})),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,s=i,l={time:n,index:s.index};if(n>s.time)for(let i=s.index+1;i<r.length;i++){const e=r[i];if(!(n>=(e.time||0)))break;l.index=i,t.playing&&o.enable&&a(e)}else if(n<s.time)for(let t=s.index-1;t>-1&&n<=(r[t].time||0);t--)l.index=t-1;i=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){r.splice(i.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,u),{state:O,onFullscreenChange:M,emitFullscreenChange:D,toggleFullscreen:z,requestFullScreen:R,exitFullScreen:N}=function(e,t,n,o,i){const r=Wt({fullscreen:!1}),a=/^Apple/.test(navigator.vendor);function s(t){r.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const r=i.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||a&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),r.appendChild(l)),u&&s(e)}function c(){l(!1)}return Yo(c),{state:r,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||s(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:s,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(a,r,c,s,i),{state:L,onTouchstart:j,onTouchend:$,onTouchmove:F}=Cy(e,c,O),{state:H,progressRef:V,ballRef:U,clickProgress:W,toggleControls:Q,autoHideEnd:q,autoHideStart:G}=function(e,t,n,o){const i=ln(null),r=ln(null),a=Dr((()=>e.showCenterPlayBtn&&!t.start)),s=ln(!0),l=Dr((()=>!a.value&&e.controls&&s.value)),c=Wt({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:a,controlsShow:l,controlsVisible:s});let u;function d(){u=setTimeout((()=>{c.controlsVisible=!1}),3e3)}function h(){u&&(clearTimeout(u),u=null)}return Yo((()=>{u&&clearTimeout(u)})),so((()=>c.controlsShow&&t.playing&&!c.controlsTouching),(e=>{e?d():h()})),Qo((()=>{const e=_e(!1);let a,s,l,u=!0;const d=r.value;function h(e){const n=e.targetTouches[0],r=n.pageX,d=n.pageY;if(u&&Math.abs(r-a)<Math.abs(d-s))return void p(e);u=!1;const h=i.value.offsetWidth;let f=l+(r-a)/h*100;f<0?f=0:f>100&&(f=100),t.progress=f,null==o||o(t.duration*f/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function p(o){c.controlsTouching=!1,c.touching&&(d.removeEventListener("touchmove",h,e),u||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),c.touching=!1)}d.addEventListener("touchstart",(n=>{c.controlsTouching=!0;const o=n.targetTouches[0];a=o.pageX,s=o.pageY,l=t.progress,u=!0,c.touching=!0,d.addEventListener("touchmove",h,e)})),d.addEventListener("touchend",p),d.addEventListener("touchcancel",p)})),{state:c,progressRef:i,ballRef:r,clickProgress:function(e){const o=i.value;let r=e.target,a=e.offsetX;for(;r&&r!==o;)a+=r.offsetLeft,r=r.parentNode;const s=o.offsetWidth;let l=0;a>=0&&a<=s&&(l=a/s,n(t.duration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:d,autoHideEnd:h}}(e,u,m,(e=>{L.currentTimeNew=e}));!function(e,t,n,o,i,r,a,s){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:i,playbackRate:r,requestFullScreen:a,exitFullScreen:s};Wg(((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in l&&l[e](n)}),qg(),!0)}(d,h,f,m,P,g,R,N);const Y=function(e,t,n,o,i){const r=Dr((()=>"progress"===t.gestureType||n.touching));return so(r,(o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)})),so([()=>e.currentTime,()=>{ky.duration}],(()=>{e.progress=e.currentTime/e.duration*100})),so((()=>t.currentTimeNew),(t=>{e.currentTime=t})),r}(u,L,H);return()=>dr("uni-video",{ref:i,id:e.id,onClick:Q},[dr("div",{ref:r,class:"uni-video-container",onTouchstart:j,onTouchend:$,onTouchmove:F,onFullscreenchange:Pa(M,["stop"]),onWebkitfullscreenchange:Pa((e=>M(e,!0)),["stop"])},[dr("video",br({ref:c,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:u.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:b,onLoadedmetadata:v,onProgress:_,onWaiting:S,onError:w,onPlay:x,onPause:C,onEnded:k,onTimeupdate:e=>{A(e),B(e)},onWebkitbeginfullscreen:()=>D(!0),onX5videoenterfullscreen:()=>D(!0),onWebkitendfullscreen:()=>D(!1),onX5videoexitfullscreen:()=>D(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),po(dr("div",{class:"uni-video-bar uni-video-bar-full",onClick:Pa((()=>{}),["stop"])},[dr("div",{class:"uni-video-controls"},[po(dr("div",{class:{"uni-video-icon":!0,"uni-video-control-button":!0,"uni-video-control-button-play":!u.playing,"uni-video-control-button-pause":u.playing},onClick:Pa(y,["stop"])},null,10,["onClick"]),[[na,e.showPlayBtn]]),po(dr("div",{class:"uni-video-current-time"},[xy(u.currentTime)],512),[[na,e.showProgress]]),po(dr("div",{ref:V,class:"uni-video-progress-container",onClick:Pa(W,["stop"])},[dr("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":Y.value}},[dr("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),dr("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),dr("div",{ref:U,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":Y.value}},[dr("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[na,e.showProgress]]),po(dr("div",{class:"uni-video-duration"},[xy(Number(e.duration)||u.duration)],512),[[na,e.showProgress]])]),po(dr("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":T.enable},onClick:Pa(E,["stop"])},null,10,["onClick"]),[[na,e.danmuBtn]]),po(dr("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":O.fullscreen},onClick:Pa((()=>z(!O.fullscreen)),["stop"])},null,10,["onClick"]),[[na,e.showFullscreenBtn]])],8,["onClick"]),[[na,H.controlsShow]]),po(dr("div",{ref:I,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[na,u.start&&T.enable]]),H.centerPlayBtnShow&&dr("div",{class:"uni-video-cover",onClick:Pa((()=>{}),["stop"])},[dr("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:Pa(d,["stop"])},null,8,["onClick"])],8,["onClick"]),dr("div",{class:"uni-video-loading"},["volume"===L.gestureType?dr("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":L.toastThin},style:{marginTop:"5px"}},[!L.toastThin&&L.volumeNew>0&&"volume"===L.gestureType?dr("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!L.toastThin&&dr("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),dr("div",{class:"uni-video-toast-draw",style:{width:100*L.volumeNew+"%"}},null)],2):null]),dr("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":Y.value}},[dr("div",{class:"uni-video-toast-title"},[dr("span",{class:"uni-video-toast-title-current-time"},[xy(L.currentTimeNew)])," / ",Number(e.duration)||xy(u.duration)])],2),dr("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),Ty=({name:e,arg:t})=>{"postMessage"===e||uni[e](t)},Iy=se((()=>Zv.on("onWebInvokeAppService",Ty))),By=fu({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},emits:["load"],setup(e,{emit:t}){Iy();const n=ln(null),o=ln(null),{$attrs:i,$excludeAttrs:r,$listeners:a}=Om({excludeListeners:!0}),s=yu(n,t);let l;return(()=>{const t=document.createElement("iframe");t.onload=function(t){s("load",t,{src:e.src})},ro((()=>{for(const e in i.value)if(h(i.value,e)){const n=i.value[e];t[e]=n}})),ro((()=>{t.src=df(e.src)})),o.value=t,l=function(e,t,n){return()=>{var o,i;if(n){const{top:n,left:o,width:i,height:r}=e.value.getBoundingClientRect();ae(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:i+"px",height:r+"px"})}else ae(t.value,{width:(null==(o=e.value)?void 0:o.style.width)||"300px",height:(null==(i=e.value)?void 0:i.style.height)||"150px"})}}(n,o,e.fullscreen),e.fullscreen&&document.body.appendChild(t)})(),Qo((()=>{var t;l(),!e.fullscreen&&(null==(t=n.value)||t.appendChild(o.value))})),zo((()=>{e.fullscreen&&(o.value.style.display="block")})),Ro((()=>{e.fullscreen&&(o.value.style.display="none")})),Yo((()=>{e.fullscreen&&document.body.removeChild(o.value)})),()=>dr(qi,null,[dr("uni-web-view",br({class:e.fullscreen?"uni-webview--fullscreen":""},a.value,r.value,{ref:n}),[dr(Mf,{onResize:l},null,8,["onResize"])],16)])}});const Ey=se((()=>{ih.forEach((e=>{Py.prototype[e]=function(t){g(t)&&this._events[e].push(t)}})),rh.forEach((e=>{Py.prototype[e]=function(t){var n=this._events[e.replace("off","on")],o=n.indexOf(t);o>=0&&n.splice(o,1)}}))}));class Py{constructor(){this._src="";var e=this._audio=new Audio;this._stoping=!1;["src","autoplay","loop","duration","currentTime","paused","volume"].forEach((t=>{Object.defineProperty(this,t,{set:"src"===t?t=>(e.src=df(t),this._src=t,t):n=>(e[t]=n,n),get:"src"===t?()=>this._src:()=>e[t]})})),this.startTime=0,Object.defineProperty(this,"obeyMuteSwitch",{set:()=>!1,get:()=>!1}),Object.defineProperty(this,"buffered",{get(){var t=e.buffered;return t.length?t.end(t.length-1):0}}),this._events={},ih.forEach((e=>{this._events[e]=[]})),e.addEventListener("loadedmetadata",(()=>{var t=Number(this.startTime)||0;t>0&&(e.currentTime=t)}));var t=["canplay","pause","seeking","seeked","timeUpdate"];t.concat(["play","ended","error","waiting"]).forEach((n=>{e.addEventListener(n.toLowerCase(),(()=>{if(this._stoping&&t.indexOf(n)>=0)return;const e=`on${n.slice(0,1).toUpperCase()}${n.slice(1)}`;this._events[e].forEach((e=>{e()}))}),!1)})),Ey()}play(){this._stoping=!1,this._audio.play()}pause(){this._audio.pause()}stop(){this._stoping=!0,this._audio.pause(),this._audio.currentTime=0,this._events.onStop.forEach((e=>{e()}))}seek(e){this._stoping=!1,"number"!=typeof(e=Number(e))||isNaN(e)||(this._audio.currentTime=e)}destroy(){this.stop()}}const Oy=yd(0,(()=>new Py)),My=bd("makePhoneCall",(({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t()))),Dy=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let zy;function Ry(){if(zy=zy||Dy.__DC_STAT_UUID,!zy){zy=Date.now()+""+Math.floor(1e7*Math.random());try{Dy.__DC_STAT_UUID=zy}catch(e){}}return zy}function Ny(){if(!0!==__uniConfig.darkmode)return y(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Ly(){let e,t="0",n="",o="phone";const i=navigator.language;if(ff){e="iOS";const o=hf.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const i=hf.match(/\(([a-zA-Z]+);/);i&&(n=i[1])}else if(pf){e="Android";const o=hf.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const i=hf.match(/\((.+?)\)/),r=i?i[1].split(";"):hf.split(" "),a=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e<r.length;e++){const t=r[e];if(t.indexOf("Build")>0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e<a.length;e++)if(a[e].test(t)){o=!0;break}if(!o){n=t.trim();break}}}else if(bf){if(n="iPad",e="iOS",o="pad",t=g(window.BigInt)?"14.0":"13.0",14===parseInt(t)){const e=hf.match(/Version\/(\S*)\b/);e&&(t=e[1])}}else if(mf||gf||yf){n="PC",e="PC",o="pc",t="0";let i=hf.match(/\((.+?)\)/)[1];if(mf){switch(e="Windows",mf[1]){case"5.1":t="XP";break;case"6.0":t="Vista";break;case"6.1":t="7";break;case"6.2":t="8";break;case"6.3":t="8.1";break;case"10.0":t="10"}const n=i&&i.match(/[Win|WOW]([\d]+)/);n&&(t+=` x${n[1]}`)}else if(gf){e="macOS";const n=i&&i.match(/Mac OS X (.+)/)||"";t&&(t=n[1].replace(/_/g,"."),-1!==t.indexOf(";")&&(t=t.split(";")[0]))}else if(yf){e="Linux";const n=i&&i.match(/Linux (.*)/)||"";n&&(t=n[1],-1!==t.indexOf(";")&&(t=t.split(";")[0]))}}else e="Other",t="0",o="unknown";const r=`${e} ${t}`,a=e.toLowerCase();let s="",l=String(function(){const e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)s="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n<e.length;n++){const o=e[n],i=new RegExp(`(${o})/(\\S*)\\b`);i.test(hf)&&(s=t[n],l=hf.match(i)[2])}}let c="portrait";const u=void 0===window.screen.orientation?window.orientation:window.screen.orientation.angle;return c=90===Math.abs(u)?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:c,model:n,system:r,platform:a,browserName:s.toLowerCase(),browserVersion:l,language:i,deviceType:o,ua:hf,osname:e,osversion:t,theme:Ny()}}const jy=yd(0,(()=>{const e=window.devicePixelRatio,t=vf(),n=_f(t),o=Sf(t,n),i=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),r=wf(o);let a=window.innerHeight;const s=cc.top,l={left:cc.left,right:r-cc.right,top:cc.top,bottom:a-cc.bottom,width:r-cc.left-cc.right,height:a-cc.top-cc.bottom},{top:c,bottom:u}=fc();return a-=c,a-=u,{windowTop:c,windowBottom:u,windowWidth:r,windowHeight:a,pixelRatio:e,screenWidth:o,screenHeight:i,statusBarHeight:s,safeArea:l,safeAreaInsets:{top:cc.top,right:cc.right,bottom:cc.bottom,left:cc.left},screenTop:i-a}}));let $y,Fy=!0;function Hy(){Fy&&($y=Ly())}const Vy=yd(0,(()=>{Hy();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:i,system:r,deviceOrientation:a,deviceType:s,osname:l,osversion:u}=$y;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Ry(),deviceOrientation:a,deviceType:s,model:o,platform:i,system:r,osName:l?l.toLowerCase():void 0,osVersion:u})})),Uy=yd(0,(()=>{Hy();const{theme:e,language:t,browserName:n,browserVersion:o}=$y;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Ah?Ah():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:"",uniPlatform:"web",isUniAppX:!1,uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion},{})})),Wy=yd(0,(()=>{Fy=!0,Hy(),Fy=!1;const e=jy(),t=Vy(),n=Uy();Fy=!0;const{ua:o,browserName:i,browserVersion:r,osname:a,osversion:s}=$y,l=c(e,t,n,{ua:o,browserName:i,browserVersion:r,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:a.toLowerCase(),osVersion:s,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return x(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)})),Qy=bd("getSystemInfo",((e,{resolve:t})=>t(Wy())));function qy(){Xy().then((({networkType:e})=>{Zv.invokeOnCallback("onNetworkStatusChange",{isConnected:"none"!==e,networkType:e})}))}function Gy(){return navigator.connection||navigator.webkitConnection||navigator.mozConnection}const Yy=fd("onNetworkStatusChange",(()=>{const e=Gy();e?e.addEventListener("change",qy):(window.addEventListener("offline",qy),window.addEventListener("online",qy))})),Xy=bd("getNetworkType",((e,{resolve:t})=>{const n=Gy();let o="unknown";return n?(o=n.type,"cellular"===o&&n.effectiveType?o=n.effectiveType.replace("slow-",""):!o&&n.effectiveType?o=n.effectiveType:["none","wifi"].includes(o)||(o="unknown")):!1===navigator.onLine&&(o="none"),t({networkType:o})})),Jy=!!window.navigator.vibrate,Ky=bd("vibrateShort",((e,{resolve:t,reject:n})=>{Jy&&window.navigator.vibrate(15)?t():n("vibrateLong:fail")}));const Zy=bd("setClipboardData",((e,t)=>{return n=void 0,o=[e,t],i=function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(o){!function(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const i=document.createElement("textarea");i.setAttribute("inputmode","none"),i.id="#clipboard",i.style.position="fixed",i.style.top="-9999px",i.style.zIndex="-9999",document.body.appendChild(i),i.value=e,i.select(),i.setSelectionRange(0,i.value.length);const r=document.execCommand("Copy",!1);i.blur(),r?t():n()}(e,t,n)}},new Promise(((e,t)=>{var r=e=>{try{s(i.next(e))}catch(n){t(n)}},a=e=>{try{s(i.throw(e))}catch(n){t(n)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,a);s((i=i.apply(n,o)).next())}));var n,o,i}),0,Rh);const eb=yd(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)})),tb=bd("setStorage",(({key:e,data:t},{resolve:n,reject:o})=>{try{eb(e,t),n()}catch(i){o(i.message)}}));function nb(e){const t=localStorage&&localStorage.getItem(e);if(!y(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=y(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const ob=yd(0,(e=>{try{return nb(e)}catch(t){return""}})),ib=yd(0,(e=>{localStorage&&localStorage.removeItem(e)})),rb=yd(0,(()=>{localStorage&&localStorage.clear()})),ab=bd("openDocument",(({filePath:e},{resolve:t})=>(window.open(e),t())),0,Nh),sb=bd("hideKeyboard",((e,{resolve:t,reject:n})=>{const o=document.activeElement;!o||"TEXTAREA"!==o.tagName&&"INPUT"!==o.tagName||(o.blur(),t())}));const lb=bd("getImageInfo",(({src:e},{resolve:t,reject:n})=>{const o=new Image;o.onload=function(){t({width:o.naturalWidth,height:o.naturalHeight,path:0===e.indexOf("/")?window.location.protocol+"//"+window.location.host+e:e})},o.onerror=function(){n()},o.src=e}),0,Hh),cb={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 ub({count:e,sourceType:t,type:n,extension:o}){fm();const i=document.createElement("input");return i.type="file",ae(i,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),i.accept=o.map((e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${cb[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&&(i.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&i.setAttribute("capture","camera"),i}let db=null;const hb=bd("chooseFile",(({count:e,sourceType:t,type:n,extension:o},{resolve:i,reject:r})=>{Dl();const{t:a}=Il();db&&(document.body.removeChild(db),db=null),db=ub({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(db),db.addEventListener("cancel",(()=>{r("chooseFile:fail cancel")})),db.addEventListener("change",(function(t){const n=t.target,o=[];if(n&&n.files){const t=n.files.length;for(let i=0;i<t;i++){const t=n.files[i];let r;Object.defineProperty(t,"path",{get:()=>(r=r||Bf(t),r)}),i<e&&o.push(t)}}i({get tempFilePaths(){return o.map((({path:e})=>e))},tempFiles:o})})),db.click(),mm()||console.warn(a("uni.chooseFile.notUserActivation"))}),0,Fh);let pb=null;const fb=bd("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:o,reject:i})=>{Dl();const{t:r}=Il();pb&&(document.body.removeChild(pb),pb=null),pb=ub({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(pb),pb.addEventListener("cancel",(()=>{i("chooseImage:fail cancel")})),pb.addEventListener("change",(function(t){const n=t.target,i=[];if(n&&n.files){const t=n.files.length;for(let o=0;o<t;o++){const t=n.files[o];let r;Object.defineProperty(t,"path",{get:()=>(r=r||Bf(t),r)}),o<e&&i.push(t)}}o({get tempFilePaths(){return i.map((({path:e})=>e))},tempFiles:i})})),pb.click(),mm()||console.warn(r("uni.chooseFile.notUserActivation"))}),0,Lh),mb={esc:["Esc","Escape"],enter:["Enter"]},gb=Object.keys(mb);function yb(){const e=ln(""),t=ln(!1),n=n=>{if(t.value)return;const o=gb.find((e=>-1!==mb[e].indexOf(n.key)));o&&(e.value=o),On((()=>e.value=""))};return Qo((()=>{document.addEventListener("keyup",n)})),Yo((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}const bb=dr("div",{class:"uni-mask"},null,-1);function vb(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),Da(Ao({setup:()=>()=>(Zi(),ir(e,t,null,16))}))}function _b(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Sb(e,{onEsc:t,onEnter:n}){const o=ln(e.visible),{key:i,disable:r}=yb();return so((()=>e.visible),(e=>o.value=e)),so((()=>o.value),(e=>r.value=!e)),ro((()=>{const{value:e}=i;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}let wb=0,xb="";function Cb(e){let t=wb;wb+=e?1:-1,wb=Math.max(0,wb),wb>0?0===t&&(xb=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=xb,xb="")}const kb=mu({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=Wt({direction:"none"});let n=1,o=0,i=0,r=0,a=0;function s({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();o=t.width,i=t.height}function c(e){const t=e.target.getBoundingClientRect();r=t.width,a=t.height,d(e)}function u(e){const s=n*o>r,l=n*i>a;t.direction=s&&l?"all":s?"horizontal":l?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return dr(Dm,{style:n,onTouchstart:gu(c),onTouchmove:gu(d),onTouchend:gu(u)},{default:()=>[dr(qm,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[dr("img",{src:e.src,style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxHeight:"100%",maxWidth:"100%"},onLoad:l},null,40,["src","onLoad"])]},8,["style","direction","inertia","scale","onScale"])]},8,["style","onTouchstart","onTouchmove","onTouchend"])}}});function Ab(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const Tb=mu({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){Qo((()=>Cb(!0))),Xo((()=>Cb(!1)));const{key:n}=yb(),o=ln(null),i=ln(Ab(e));let r;function a(){r||On((()=>{t("close")}))}function s(e){i.value=e.detail.current}so((()=>e.current),(()=>i.value=Ab(e))),so((()=>n.value),(e=>{"esc"===e&&a()})),Qo((()=>{const e=o.value;let t=0,n=0;e.addEventListener("mousedown",(e=>{r=!1,t=e.clientX,n=e.clientY})),e.addEventListener("mouseup",(e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-n)>20)&&(r=!0)}))}));const l={position:"absolute","box-sizing":"border-box",top:"0",right:"0",width:"60px",height:"44px",padding:"6px","line-height":"32px","font-size":"26px",color:"white","text-align":"center",cursor:"pointer"};return()=>{let t;return dr("div",{ref:o,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:a},[dr(Pg,{navigation:"auto",current:i.value,onChange:s,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(n=t=e.urls.map((e=>dr(Mg,null,{default:()=>[dr(kb,{src:e},null,8,["src"])]}))),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!rr(n)?t:{default:()=>[t],_:1}),8,["current","onChange"]),dr("div",{style:l},[kc("M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z","#ffffff",26)],4)],8,["onClick"]);var n}}});let Ib,Bb=null;const Eb=()=>{Bb=null,On((()=>{null==Ib||Ib.unmount(),Ib=null}))},Pb=bd("previewImage",((e,{resolve:t})=>{Bb?c(Bb,e):(Bb=Wt(e),On((()=>{Ib=vb(Tb,Bb,Eb),Ib.mount(_b("u-a-p"))}))),t()}),0,Vh);let Ob=null;const Mb=bd("chooseVideo",(({sourceType:e,extension:t},{resolve:n,reject:o})=>{Dl();const{t:i}=Il();Ob&&(document.body.removeChild(Ob),Ob=null),Ob=ub({sourceType:e,extension:t,type:"video"}),document.body.appendChild(Ob),Ob.addEventListener("cancel",(()=>{o("chooseVideo:fail cancel")})),Ob.addEventListener("change",(function(e){const t=e.target.files[0];let o="";const i={tempFilePath:o,tempFile:t,size:t.size,duration:0,width:0,height:0,name:t.name};Object.defineProperty(i,"tempFilePath",{get(){return o=o||Bf(this.tempFile),o}});const r=document.createElement("video");if(void 0!==r.onloadedmetadata){const e=Bf(t);r.onloadedmetadata=function(){Ef(e),n(c(i,{duration:r.duration||0,width:r.videoWidth||0,height:r.videoHeight||0}))},setTimeout((()=>{r.onloadedmetadata=null,Ef(e),n(i)}),300),r.src=e}else n(i)})),Ob.click(),mm()||console.warn(i("uni.chooseFile.notUserActivation"))}),0,jh),Db=gd("request",(({url:e,data:t,header:n={},method:o,dataType:i,responseType:r,enableChunked:a,withCredentials:s,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:u})=>{let d=null;const p=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(y(t)||t instanceof ArrayBuffer)d=t;else if("json"===p)try{d=JSON.stringify(t)}catch(m){d=t.toString()}else if("urlencoded"===p){const e=[];for(const n in t)h(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));d=e.join("&")}else d=t.toString();let f;if(a){if(void 0===typeof window.fetch||void 0===typeof window.AbortController)throw new Error("fetch or AbortController is not supported in this environment");const t=new AbortController,a=t.signal;f=new Rb(t);const h={method:o,headers:n,body:d,signal:a,credentials:s?"include":"same-origin"},p=setTimeout((function(){f.abort(),u("timeout",{errCode:5})}),l);h.signal.addEventListener("abort",(function(){clearTimeout(p),u("abort",{errCode:600003})})),window.fetch(e,h).then((e=>{const t=e.status,n=e.headers,o=e.body,a={};n.forEach(((e,t)=>{a[t]=e}));const s=zb(a);if(f._emitter.emit("headersReceived",{header:a,statusCode:t,cookies:s}),!o)return void c({data:"",statusCode:t,header:a,cookies:s});const l=o.getReader(),u=[],d=()=>{l.read().then((({done:e,value:n})=>{if(e){const e=function(e){const t=e.reduce(((e,t)=>e+t.byteLength),0),n=new Uint8Array(t);let o=0;for(const i of e)n.set(new Uint8Array(i),o),o+=i.byteLength;return n.buffer}(u);let n="text"===r?(new TextDecoder).decode(e):e;return"text"===r&&(n=Lb(n,r,i)),void c({data:n,statusCode:t,header:a,cookies:s})}const o=n;u.push(o),f._emitter.emit("chunkReceived",{data:o}),d()}))};d()}),(e=>{u(e,{errCode:5})}))}else{const t=new XMLHttpRequest;f=new Rb(t),t.open(o,e);for(const e in n)h(n,e)&&t.setRequestHeader(e,n[e]);const a=setTimeout((function(){t.onload=t.onabort=t.onerror=null,f.abort(),u("timeout",{errCode:5})}),l);t.responseType=r,t.onload=function(){clearTimeout(a);const e=t.status;let n="text"===r?t.responseText:t.response;"text"===r&&(n=Lb(n,r,i)),c({data:n,statusCode:e,header:Nb(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(a),u("abort",{errCode:600003})},t.onerror=function(){clearTimeout(a),u(void 0,{errCode:5})},t.withCredentials=s,t.send(d)}return f}),0,qh),zb=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];"["===t[0]&&"]"===t[t.length-1]&&(t=t.slice(1,-1));const o=t.split(";");for(let i=0;i<o.length;i++)-1!==o[i].indexOf("Expires=")||-1!==o[i].indexOf("expires=")?n.push(o[i].replace(",","")):n.push(o[i]);return n=n.join(";").split(","),n};class Rb{constructor(e){this._requestOnChunkReceiveCallbackId=0,this._requestOnChunkReceiveCallbacks=new Map,this._requestOnHeadersReceiveCallbackId=0,this._requestOnHeadersReceiveCallbacks=new Map,this._emitter=new Me,this._controller=e}abort(){this._controller&&(this._controller.abort(),delete this._controller)}onHeadersReceived(e){return this._emitter.on("headersReceived",e),this._requestOnHeadersReceiveCallbackId++,this._requestOnHeadersReceiveCallbacks.set(this._requestOnHeadersReceiveCallbackId,e),this._requestOnHeadersReceiveCallbackId}offHeadersReceived(e){if(null==e)return void this._emitter.off("headersReceived");if("function"==typeof e)return void this._requestOnHeadersReceiveCallbacks.forEach(((t,n)=>{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))}));const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach(((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))}));const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function Nb(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}function Lb(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(i){}return o}class jb{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){g(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const $b=gd("downloadFile",(({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:i})=>{var r,a=new XMLHttpRequest,s=new jb(a);return a.open("GET",e,!0),Object.keys(t).forEach((e=>{a.setRequestHeader(e,t[e])})),a.responseType="blob",a.onload=function(){clearTimeout(r);const t=a.status,n=this.response;let i;const s=a.getResponseHeader("content-disposition");if(s){const e=s.match(/filename="?(\S+)"?\b/);e&&(i=e[1])}n.name=i||function(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}(e),o({statusCode:t,tempFilePath:Bf(n)})},a.onabort=function(){clearTimeout(r),i("abort",{errCode:600003})},a.onerror=function(){clearTimeout(r),i("",{errCode:602001})},a.onprogress=function(e){s._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesWritten:n,totalBytesExpectedToWrite:o})}))},a.send(),r=setTimeout((function(){a.onprogress=a.onload=a.onabort=a.onerror=null,s.abort(),i("timeout",{errCode:5})}),n),s}),0,Gh);class Fb{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){g(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 Hb=gd("uploadFile",(({url:e,file:t,filePath:n,name:o,files:i,header:r={},formData:a={},timeout:s=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new Fb;return p(i)&&i.length||(i=[{name:o,file:t,uri:n}]),Promise.all(i.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(If(e)):Tf(t)))).then((function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(a).forEach((e=>{d.append(e,a[e])})),Object.values(i).forEach((({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)})),o.open("POST",e),Object.keys(r).forEach((e=>{o.setRequestHeader(e,r[e])})),o.upload.onprogress=function(e){u._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})}))},o.onerror=function(){clearTimeout(n),c("",{errCode:602001})},o.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout((function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout",{errCode:5})}),s),o.send(d),u._xhr=o)})).catch((()=>{setTimeout((()=>{c("file error")}),0)})),u}),0,Yh),Vb=[],Ub={open:"",close:"",error:"",message:""};class Wb{constructor(e,t,n){let o;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:o,reason:i}=t,r="message"===e?{data:n}:"close"===e?{code:o,reason:i}:{};if(this._callbacks[e].forEach((t=>{try{t(r)}catch(n){console.error(`thirdScriptError\n${n};at socketTask.on${P(e)} callback function\n`,n)}})),this===Vb[0]&&Ub[e]&&Zv.invokeOnCallback(Ub[e],r),"error"===e||"close"===e){const e=Vb.indexOf(this);e>=0&&Vb.splice(e,1)}}))}));["CLOSED","CLOSING","CONNECTING","OPEN","readyState"].forEach((e=>{Object.defineProperty(this,e,{get:()=>n[e]})}))}catch(i){o=i}n&&n(o,this)}send(e){const t=(e||{}).data,n=this._webSocket;try{if(n.readyState!==n.OPEN)throw le(e,{errMsg:"sendSocketMessage:fail SocketTask.readyState is not OPEN",errCode:10002}),new Error("SocketTask.readyState is not OPEN");n.send(t),le(e,"sendSocketMessage:ok")}catch(o){le(e,{errMsg:`sendSocketMessage:fail ${o}`,errCode:602001})}}close(e={}){const t=this._webSocket;try{const n=e.code||1e3,o=e.reason;y(o)?t.close(n,o):t.close(n),le(e,"closeSocket:ok")}catch(n){le(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 Qb=gd("connectSocket",(({url:e,protocols:t},{resolve:n,reject:o})=>new Wb(e,t,((e,t)=>{e?o(e.toString(),{errCode:600009}):(Vb.push(t),n())}))),0,Xh);function qb(e,t,n,o,i){const r=e[t];g(r)&&r.call(e,c({},n,{success(){o()},fail({errMsg:e}){i(e.replace("sendSocketMessage:fail ",""))},complete:void 0}))}const Gb=bd("sendSocketMessage",((e,{resolve:t,reject:n})=>{const o=Vb[0];o&&o.readyState===o.OPEN?qb(o,"send",e,t,n):n("WebSocket is not connected")})),Yb=bd("closeSocket",((e,{resolve:t,reject:n})=>{const o=Vb[0];o?qb(o,"close",e,t,n):n("WebSocket is not connected")}));function Xb(e){const t=`onSocket${P(e)}`;return fd(t,(()=>{Ub[e]=t}))}const Jb=Xb("open"),Kb=Xb("error"),Zb=Xb("message"),ev=Xb("close"),tv=bd("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===zc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(fy().$router.go(-e.delta),t()):n("onBackPress")}),0,np),nv=bd("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:i})=>{if($p.handledBeforeEntryPageRoutes)return Tp({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(i);Fp.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:o,reject:i})}),0,Kh);function ov(e){__uniConfig.darkmode&&Zv.on("onThemeChange",e)}function iv(e){Zv.off("onThemeChange",e)}function rv(e){let t={};return __uniConfig.darkmode&&(t=Re(e,__uniConfig.themeConfig,Ny())),__uniConfig.darkmode?t:e}function av(e,t){const n=Yt(e),o=n?Wt(rv(e)):rv(e);return __uniConfig.darkmode&&n&&so(e,(e=>{const t=rv(e);for(const n in t)o[n]=t[n]})),t&&ov(t),o}const sv={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},lv=Ao({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=ln(""),o=()=>a.value=!1,i=()=>(o(),t("close","cancel")),r=()=>(o(),t("close","confirm",n.value)),a=Sb(e,{onEsc:i,onEnter:()=>{!e.editable&&r()}}),s=function(e){const t=ln(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=sv[e].cancelColor})(e,t)};return ro((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Ny()&&n({theme:"dark"}),ov(n))):iv(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:h}=e;return n.value=o,dr(Hr,{name:"uni-fade"},{default:()=>[po(dr("uni-modal",{onTouchmove:uc},[bb,dr("div",{class:"uni-modal"},[t?dr("div",{class:"uni-modal__hd"},[dr("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?dr("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:h,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):dr("div",{class:"uni-modal__bd",onTouchmovePassive:dc,textContent:o},null,40,["onTouchmovePassive","textContent"]),dr("div",{class:"uni-modal__ft"},[l&&dr("div",{style:{color:s.value},class:"uni-modal__btn uni-modal__btn_default",onClick:i},[e.cancelText],12,["onClick"]),dr("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:r},[c],12,["onClick"])])])],40,["onTouchmove"]),[[na,a.value]])]})}}});let cv;const uv=se((()=>{Zv.on("onHidePopup",(()=>cv.visible=!1))}));let dv;function hv(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&cv.editable&&(o.content=t),dv&&dv(o)}const pv=bd("showModal",((e,{resolve:t})=>{uv(),dv=t,cv?(c(cv,e),cv.visible=!0):(cv=Wt(e),On((()=>(vb(lv,cv,hv).mount(_b("u-a-m")),On((()=>cv.visible=!0))))))}),0,up),fv={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==dp.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},mv={light:"#fff",dark:"rgba(255,255,255,0.9)"},gv=e=>mv[e],yv=Ao({name:"Toast",props:fv,setup(e){Pl(),Ol();const{Icon:t}=function(e){const t=ln(gv(Ny())),n=({theme:e})=>t.value=gv(e);ro((()=>{e.visible?ov(n):iv(n)}));return{Icon:Dr((()=>{switch(e.icon){case"success":return dr(kc(wc,t.value,38),{class:"uni-toast__icon"});case"error":return dr(kc(xc,t.value,38),{class:"uni-toast__icon"});case"loading":return dr("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=Sb(e,{});return()=>{const{mask:o,duration:i,title:r,image:a}=e;return dr(Hr,{name:"uni-fade"},{default:()=>[po(dr("uni-toast",{"data-duration":i},[o?dr("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:uc},null,40,["onTouchmove"]):"",a||t.value?dr("div",{class:"uni-toast"},[a?dr("img",{src:a,class:"uni-toast__icon"},null,10,["src"]):t.value,dr("p",{class:"uni-toast__content"},[r])]):dr("div",{class:"uni-sample-toast"},[dr("p",{class:"uni-simple-toast__text"},[r])])],8,["data-duration"]),[[na,n.value]])]})}}});let bv,vv,_v="";const Sv=$e();function wv(e){bv?c(bv,e):(bv=Wt(c(e,{visible:!1})),On((()=>{Sv.run((()=>{so([()=>bv.visible,()=>bv.duration],(([e,t])=>{if(e){if(vv&&clearTimeout(vv),"onShowLoading"===_v)return;vv=setTimeout((()=>{Tv("onHideToast")}),t)}else vv&&clearTimeout(vv)}))})),Zv.on("onHidePopup",(()=>Tv("onHidePopup"))),vb(yv,bv,(()=>{})).mount(_b("u-a-t"))}))),setTimeout((()=>{bv.visible=!0}),10)}const xv=bd("showToast",((e,{resolve:t,reject:n})=>{wv(e),_v="onShowToast",t()}),0,hp),Cv={icon:"loading",duration:1e8,image:""},kv=bd("showLoading",((e,{resolve:t,reject:n})=>{c(e,Cv),wv(e),_v="onShowLoading",t()}),0,cp),Av=bd("hideLoading",((e,{resolve:t,reject:n})=>{Tv("onHideLoading"),t()}));function Tv(e){const{t:t}=Il();if(!_v)return;let n="";if("onHideToast"===e&&"onShowToast"!==_v?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==_v&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);_v="",setTimeout((()=>{bv.visible=!1}),10)}const Iv=bd("loadFontFace",(({family:e,source:t,desc:n},{resolve:o,reject:i})=>{(function(e,t,n){const o=document.fonts;if(o){const i=new FontFace(e,t,n);return i.load().then((()=>{o.add&&o.add(i)}))}return new Promise((o=>{const i=document.createElement("style"),r=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:i,variant:a,featureSettings:s}=n;e&&r.push(`font-style:${e}`),t&&r.push(`font-weight:${t}`),o&&r.push(`font-stretch:${o}`),i&&r.push(`unicode-range:${i}`),a&&r.push(`font-variant:${a}`),s&&r.push(`font-feature-settings:${s}`)}i.innerText=`@font-face{font-family:"${e}";src:${t};${r.join(";")}}`,document.head.appendChild(i),o()}))})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${df(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${df(t.substring(4,t.length-1))}')`:df(t),n).then((()=>{o()})).catch((e=>{i(`loadFontFace:fail ${e}`)}))}));function Bv(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,Zv.emit("onNavigationBarChange",{titleText:t})}ro(t),zo(t)}const Ev=bd("setNavigationBarTitle",((e,{resolve:t,reject:n})=>{!function(e,t,n,o,i){if(!e)return i("page not found");const{navigationBar:r}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:i,timingFunc:a}=o;e&&(r.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(r.backgroundColor=t),r.duration=i+"ms",r.timingFunc=a;break;case"showNavigationBarLoading":r.loading=!0;break;case"hideNavigationBarLoading":r.loading=!1;break;case"setNavigationBarTitle":const{title:s}=n;r.titleText=s}o()}(Bc(),"setNavigationBarTitle",e,t,n)})),Pv=bd("pageScrollTo",(({scrollTop:e,selector:t,duration:n},{resolve:o})=>{!function(e,t,n){if(y(e)){const t=document.querySelector(e);if(t){const{top:n}=t.getBoundingClientRect();e=n+window.pageYOffset;const o=document.querySelector("uni-page-head");o&&(e-=o.offsetHeight)}}e<0&&(e=0);const o=document.documentElement,{clientHeight:i,scrollHeight:r}=o;if(e=Math.min(e,r-i),0===t)return void(o.scrollTop=document.body.scrollTop=e);if(window.scrollY===e)return;const a=t=>{if(t<=0)return void window.scrollTo(0,e);const n=e-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/t*10),a(t-10)}))};a(t)}(t||e||0,n),o()}),0,lp),Ov=["text","iconPath","iconfont","selectedIconPath","visible"],Mv=["color","selectedColor","backgroundColor","borderStyle","borderColor","midButton"],Dv=["badge","redDot"];function zv(e,t,n){t.forEach((function(t){h(n,t)&&(e[t]=n[t])}))}function Rv(e,t,n,o){var i;let r=!1;const a=qp();if(a.length&&jp(a[a.length-1]).meta.isTabBar&&(r=!0),!r)return o("not TabBar page");const{index:s}=t;if("number"==typeof s){const e=null==(i=null==__uniConfig?void 0:__uniConfig.tabBar)?void 0:i.list.length;if(!e||s>=e)return o("tabbar item not found")}const l=Ep();switch(e){case"showTabBar":l.shown=!0;break;case"hideTabBar":l.shown=!1;break;case"setTabBarItem":const e=l.list[s],n=e.pagePath;zv(e,Ov,t);const{pagePath:o}=t;if(o){const e=ie(o);e!==n&&function(e,t,n){const o=Fc(ie(t));if(o){const{meta:e}=o;delete e.tabBarIndex,e.isQuit=e.isTabBar=!1}const i=Fc(ie(n));if(i){const{meta:t}=i;t.tabBarIndex=e,t.isQuit=t.isTabBar=!0;const o=__uniConfig.tabBar;o&&o.list&&o.list[e]&&(o.list[e].pagePath=re(n))}}(s,n,e)}break;case"setTabBarStyle":zv(l,Mv,t);break;case"showTabBarRedDot":zv(l.list[s],Dv,{badge:"",redDot:!0});break;case"setTabBarBadge":zv(l.list[s],Dv,{badge:t.text,redDot:!0});break;case"hideTabBarRedDot":case"removeTabBarBadge":zv(l.list[s],Dv,{badge:"",redDot:!1})}n()}const Nv=bd("setTabBarItem",((e,{resolve:t,reject:n})=>{Rv("setTabBarItem",e,t,n)}),0,fp),Lv=bd("removeTabBarBadge",((e,{resolve:t,reject:n})=>{Rv("removeTabBarBadge",e,t,n)}),0,mp),jv=bd("setTabBarBadge",((e,{resolve:t,reject:n})=>{Rv("setTabBarBadge",e,t,n)}),0,gp),$v=mu({name:"TabBar",setup(){const e=ln([]),t=Ep(),n=av(t,(()=>{const e=rv(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){function n(){let n=[];n=e.list.filter((e=>!1!==e.visible)),t.value=n}ln(c({type:"midButton"},e.midButton)),ro(n)}(n,e),function(e){so((()=>e.shown),(t=>{gc({"--window-bottom":Np(t?parseInt(e.height):0)})}))}(n);const o=function(e,t,n){return ro((()=>{const o=e.meta;if(o.isTabBar){const e=o.route,i=n.value.findIndex((t=>t.pagePath===e));t.selectedIndex=i}})),(t,n)=>()=>{const{pagePath:o,text:i}=t;let r=ie(o);r===__uniRoutes[0].alias&&(r="/"),e.path!==r?wp({from:"tabBar",url:r,tabBarText:i}):zc("onTabItemTap",{index:n,text:i,pagePath:o})}}(hl(),n,e),{style:i,borderStyle:r,placeholderStyle:a}=function(e){const t=Dr((()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||Dp&&n&&"none"!==n&&(t=Fv[n]),{backgroundColor:t||"#f7f7fa",backdropFilter:"none"!==n?"blur(10px)":n}})),n=Dr((()=>{const{borderStyle:t,borderColor:n}=e;return n&&y(n)?{backgroundColor:n}:{backgroundColor:Hv[t]||Hv.black}})),o=Dr((()=>({height:e.height})));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return Qo((()=>{n.iconfontSrc&&Iv({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})})),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:i,color:r}=e;return n.value.map(((n,a)=>{const s=o===a;return function(e,t,n,o,i,r,a,s){return dr("div",{key:a,class:"uni-tabbar__item",onClick:s(i,a)},[Vv(e,t||"",n,o,i,r)],8,["onClick"])}(s?i:r,s&&n.selectedIconPath||n.iconPath||"",n.iconfont?s&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?s&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,a,t)}))}(n,o,e);return dr("uni-tabbar",{class:"uni-tabbar-"+n.position},[dr("div",{class:"uni-tabbar",style:i.value},[dr("div",{class:"uni-tabbar-border",style:r.value},null,4),t],4),dr("div",{class:"uni-placeholder",style:a.value},null,4)],2)}}});const Fv={dark:"rgb(0, 0, 0, 0.8)",light:"rgb(250, 250, 250, 0.8)",extralight:"rgb(250, 250, 250, 0.8)"},Hv={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function Vv(e,t,n,o,i,r){const{height:a}=r;return dr("div",{class:"uni-tabbar__bd",style:{height:a}},[n?Wv(n,o||"rgb(0, 0, 0, 0.8)",i,r):t&&Uv(t,i,r),i.text&&Qv(e,i,r),i.redDot&&qv(i.badge)],4)}function Uv(e,t,n){const{type:o,text:i}=t,{iconWidth:r}=n;return dr("div",{class:"uni-tabbar__icon"+(i?" uni-tabbar__icon__diff":""),style:{width:r,height:r}},["midButton"!==o&&dr("img",{src:df(e)},null,8,["src"])],6)}function Wv(e,t,n,o){var i;const{type:r,text:a}=n,{iconWidth:s}=o,l="uni-tabbar__icon"+(a?" uni-tabbar__icon__diff":""),c={width:s,height:s},u={fontSize:(null==(i=n.iconfont)?void 0:i.fontSize)||s,color:t};return dr("div",{class:l,style:c},["midButton"!==r&&dr("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function Qv(e,t,n){const{iconPath:o,text:i}=t,{fontSize:r,spacing:a}=n;return dr("div",{class:"uni-tabbar__label",style:{color:e,fontSize:r,lineHeight:o?"normal":1.8,marginTop:o?a:"inherit"}},[i],4)}function qv(e){return dr("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const Gv=mu({name:"Layout",setup(e,{emit:t}){const n=ln(null);mc({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const o=function(){const e=hl();return{routeKey:Dr((()=>Kp("/"+e.meta.route,Du()))),isTabBar:Dr((()=>e.meta.isTabBar)),routeCache:ef}}(),{layoutState:i,windowState:r}=function(){Mu();{const e=Wt({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return so((()=>e.marginWidth),(e=>mc({"--window-margin":e+"px"}))),so((()=>e.leftWindowWidth+e.marginWidth),(e=>{mc({"--window-left":e+"px"})})),so((()=>e.rightWindowWidth+e.marginWidth),(e=>{mc({"--window-right":e+"px"})})),{layoutState:e,windowState:Dr((()=>({})))}}}();!function(e,t){const n=Mu();function o(){const o=document.body.clientWidth,i=qp();let r={};if(i.length>0){r=jp(i[i.length-1]).meta}else{const e=Fc(n.path,!0);e&&(r=e.meta)}const a=parseInt(String((h(r,"maxWidth")?r.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let s=!1;s=o>a,s&&a?(e.marginWidth=(o-a)/2,On((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+a+"px;margin:0 auto;")}))):(e.marginWidth=0,On((()=>{const e=t.value;e&&e.removeAttribute("style")})))}so([()=>n.path],o),Qo((()=>{o(),window.addEventListener("resize",o)}))}(i,n);const a=function(e){const t=Mu(),n=Ep(),o=Dr((()=>t.meta.isTabBar&&n.shown));return mc({"--tab-bar-height":n.height}),o}(),s=function(e){const t=ln(!1);return Dr((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(a);return()=>{const e=function(e,t,n,o,i,r){return function({routeKey:e,isTabBar:t,routeCache:n}){return dr(ul,null,{default:qn((({Component:o})=>[(Zi(),ir(Mo,{matchBy:"key",cache:n},[(Zi(),ir(eo(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o),t=function(e){return po(dr($v,null,null,512),[[na,e.value]])}(a);return dr("uni-app",{ref:n,class:s.value},[e,t],2)}}});const Yv=bd("saveImageToPhotosAlbum",vd("saveImageToPhotosAlbum")),Xv=bd("saveFile",vd("saveFile")),Jv=bd("removeSavedFile",vd("removeSavedFile")),Kv=c(Vl,{publishHandler(e,t,n){Zv.subscribeHandler(e,t,n)}}),Zv=c(tu,{publishHandler(e,t,n){Kv.subscribeHandler(e,t,n)}}),e_=mu({name:"PageHead",setup(){const e=ln(null),t=Pu(),n=av(t.navigationBar,(()=>{const e=rv(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor})),{clazz:o,style:i}=function(e){const t=Dr((()=>{const{type:t,titlePenetrate:n,shadowColorType:o}=e,i={"uni-page-head":!0,"uni-page-head-transparent":"transparent"===t,"uni-page-head-titlePenetrate":"YES"===n,"uni-page-head-shadow":!!o};return o&&(i[`uni-page-head-shadow-${o}`]=!0),i})),n=Dr((()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc})));return{clazz:t,style:n}}(n);return()=>{const r=function(e,t){if(!t)return dr("div",{class:"uni-page-head-btn",onClick:n_},[kc(Cc,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),a=n.type||"default",s="transparent"!==a&&"float"!==a&&dr("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return dr("uni-page-head",{"uni-page-head-type":a},[dr("div",{ref:e,class:o.value,style:i.value},[dr("div",{class:"uni-page-head-hd"},[r]),t_(n),dr("div",{class:"uni-page-head-ft"},[])],6),s],8,["uni-page-head-type"])}}});function t_(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:i}){return dr("div",{class:"uni-page-head-bd"},[dr("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?dr("i",{class:"uni-loading"},null):i?dr("img",{src:i,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function n_(){1===Qp().length?Ap({url:"/"}):tv({from:"backbutton",success(){}})}const o_=mu({name:"PageBody",setup(e,t){const n=ln(null),o=ln(null);return so((()=>false.enablePullDownRefresh),(()=>{o.value=null}),{immediate:!0}),()=>dr(qi,null,[!1,dr("uni-page-wrapper",br({ref:n},o.value),[dr("uni-page-body",null,[ni(t.slots,"default")]),null],16)])}}),i_=mu({name:"Page",setup(e,t){let n=Ou(Du());const o=n.navigationBar,i={};return Bv(n),()=>dr("uni-page",{"data-page":n.route,style:i},"custom"!==o.style?[dr(e_),r_(t),null]:[r_(t),null])}});function r_(e){return Zi(),ir(o_,{key:0},{default:qn((()=>[ni(e.slots,"page")])),_:3})}const a_={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Id;const s_=Object.assign({}),l_=Object.assign;window.__uniConfig=l_({easycom:{autoscan:!0,custom:{"^u--(.*)":"@/uni_modules/uview-plus/components/u-$1/u-$1.vue","^up-(.*)":"@/uni_modules/uview-plus/components/u-$1/u-$1.vue","^u-([^-].*)":"@/uni_modules/uview-plus/components/u-$1/u-$1.vue"}},globalStyle:{backgroundColor:"#fdfdfd",navigationBar:{backgroundColor:"#F0F0F0",titleText:"",type:"default",titleColor:"#000000"},isNVue:!1},tabBar:{position:"bottom",color:"#000000",selectedColor:"#587ff0",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{pagePath:"pages/chat/chat",iconPath:"/static/tarbar/chat.png",selectedIconPath:"/static/tarbar/chat_active.png",text:"消息"},{pagePath:"pages/friend/friend",iconPath:"/static/tarbar/friend.png",selectedIconPath:"/static/tarbar/friend_active.png",text:"通讯录"},{pagePath:"pages/group/group",iconPath:"/static/tarbar/group.png",selectedIconPath:"/static/tarbar/group_active.png",text:"群聊"},{pagePath:"pages/AI/AI",iconPath:"/static/tarbar/AI.png",selectedIconPath:"/static/tarbar/AI_active.png",text:"AI助手"},{pagePath:"pages/mine/mine",iconPath:"/static/tarbar/mine.png",selectedIconPath:"/static/tarbar/mine_active.png",text:"我的"}],backgroundColor:"#ffffff",selectedIndex:0,shown:!0},uniIdRouter:{},compilerVersion:"4.76"},{appId:"__UNI__B2AC8BD",appName:"通讯助手",appVersion:"3.6.9",appVersionCode:369,async:a_,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{},qqMapKey:void 0,bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(s_).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return l_(e[n]||(e[n]={}),s_[t].default),e}),{}),router:{mode:"hash",base:"./",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const c_={delay:a_.delay,timeout:a_.timeout,suspensible:a_.suspensible};a_.loading&&(c_.loadingComponent={name:"SystemAsyncLoading",render:()=>dr(Kn(a_.loading))}),a_.error&&(c_.errorComponent={name:"SystemAsyncError",props:["error"],render(){return dr(Kn(a_.error),{error:this.error})}});const u_=()=>t((()=>import("./pages-login-login.C1GUi9dv.js")),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url).then((e=>by(e.default||e))),d_=Io(l_({loader:u_},c_)),h_=()=>t((()=>import("./pages-register-register.CbZswnhE.js")),__vite__mapDeps([6,1,2,3,4,7]),import.meta.url).then((e=>by(e.default||e))),p_=Io(l_({loader:h_},c_)),f_=()=>t((()=>import("./pages-chat-chat.T1qVkP4p.js")),__vite__mapDeps([8,9,10,11,2,3,12,13,14,15,16,17,18,19]),import.meta.url).then((e=>by(e.default||e))),m_=Io(l_({loader:f_},c_)),g_=()=>t((()=>import("./pages-friend-friend.DFkOTQzD.js")),__vite__mapDeps([20,9,10,13,2,3,14,15,16,21,22]),import.meta.url).then((e=>by(e.default||e))),y_=Io(l_({loader:g_},c_)),b_=()=>t((()=>import("./pages-group-group.CK-FpWEL.js")),__vite__mapDeps([23,9,10,13,2,3,14,24,15,16,25,26]),import.meta.url).then((e=>by(e.default||e))),v_=Io(l_({loader:b_},c_)),__=()=>t((()=>import("./pages-AI-AI.D7n2ONNv.js")),__vite__mapDeps([27,9,10,28]),import.meta.url).then((e=>by(e.default||e))),S_=Io(l_({loader:__},c_)),w_=()=>t((()=>import("./pages-mine-mine.Bu9Wm8Wp.js")),__vite__mapDeps([29,9,10,15,16,30]),import.meta.url).then((e=>by(e.default||e))),x_=Io(l_({loader:w_},c_)),C_=()=>t((()=>import("./pages-common-user-info.CwJVuYYn.js")),__vite__mapDeps([31,9,10,15,16,2,3,32]),import.meta.url).then((e=>by(e.default||e))),k_=Io(l_({loader:C_},c_)),A_=()=>t((()=>import("./pages-chat-chat-box.C7-p-k2a.js")),__vite__mapDeps([33,9,10,2,3,15,16,11,12,21,34,35,36,37,13,14,38]),import.meta.url).then((e=>by(e.default||e))),T_=Io(l_({loader:A_},c_)),I_=()=>t((()=>import("./pages-chat-chat-private-video.D1NPdZ1q.js")),__vite__mapDeps([39,40]),import.meta.url).then((e=>by(e.default||e))),B_=Io(l_({loader:I_},c_)),E_=()=>t((()=>import("./pages-chat-chat-group-video.Czro5i7s.js")),__vite__mapDeps([41,42]),import.meta.url).then((e=>by(e.default||e))),P_=Io(l_({loader:E_},c_)),O_=()=>t((()=>import("./pages-friend-friend-add.CaI0GXA3.js")),__vite__mapDeps([43,9,10,13,2,3,14,15,16,44]),import.meta.url).then((e=>by(e.default||e))),M_=Io(l_({loader:O_},c_)),D_=()=>t((()=>import("./pages-friend-group.D2vXg3a8.js")),__vite__mapDeps([45,9,10,13,2,3,14,24,15,16,25,46]),import.meta.url).then((e=>by(e.default||e))),z_=Io(l_({loader:D_},c_)),R_=()=>t((()=>import("./pages-group-group-info.DYP1NO3P.js")),__vite__mapDeps([47,9,10,15,16,2,3,48,49,50]),import.meta.url).then((e=>by(e.default||e))),N_=Io(l_({loader:R_},c_)),L_=()=>t((()=>import("./pages-group-group-edit.D5OAaonj.js")),__vite__mapDeps([51,9,10,34,35,15,16,1,2,3,4,52]),import.meta.url).then((e=>by(e.default||e))),j_=Io(l_({loader:L_},c_)),$_=()=>t((()=>import("./pages-group-group-invite.BWHKV75A.js")),__vite__mapDeps([53,9,10,13,2,3,14,15,16,54]),import.meta.url).then((e=>by(e.default||e))),F_=Io(l_({loader:$_},c_)),H_=()=>t((()=>import("./pages-group-group-sending-check.DES7IWNc.js")),__vite__mapDeps([55,9,10,13,2,3,14,15,16,56]),import.meta.url).then((e=>by(e.default||e))),V_=Io(l_({loader:H_},c_)),U_=()=>t((()=>import("./pages-group-group-member.CSN2hVtX.js")),__vite__mapDeps([57,9,10,13,2,3,14,15,16,17,18,58]),import.meta.url).then((e=>by(e.default||e))),W_=Io(l_({loader:U_},c_)),Q_=()=>t((()=>import("./pages-mine-mine-edit.CmfP3Vox.js")),__vite__mapDeps([59,9,10,34,35,1,2,3,4,60]),import.meta.url).then((e=>by(e.default||e))),q_=Io(l_({loader:Q_},c_)),G_=()=>t((()=>import("./pages-mine-mine-password.4gboKFTq.js")),__vite__mapDeps([61,1,2,3,4,62]),import.meta.url).then((e=>by(e.default||e))),Y_=Io(l_({loader:G_},c_)),X_=()=>t((()=>import("./pages-common-previewFile.Ctk5mTTF.js")),__vite__mapDeps([63,64]),import.meta.url).then((e=>by(e.default||e))),J_=Io(l_({loader:X_},c_)),K_=()=>t((()=>import("./uni_modules-uni-upgrade-center-app-pages-upgrade-popup.D55r9Ioo.js")),__vite__mapDeps([65,66]),import.meta.url).then((e=>by(e.default||e))),Z_=Io(l_({loader:K_},c_)),eS=()=>t((()=>import("./pages-common-setting.YEU3OSh3.js")),__vite__mapDeps([67,68]),import.meta.url).then((e=>by(e.default||e))),tS=Io(l_({loader:eS},c_)),nS=()=>t((()=>import("./pages-update-update.DXCtU08S.js")),__vite__mapDeps([69,36,37,70]),import.meta.url).then((e=>by(e.default||e))),oS=Io(l_({loader:nS},c_)),iS=()=>t((()=>import("./pages-push-push.BvLnsyPm.js")),__vite__mapDeps([71,72]),import.meta.url).then((e=>by(e.default||e))),rS=Io(l_({loader:iS},c_)),aS=()=>t((()=>import("./pages-synergy-synergy-group.DKnowUUO.js")),__vite__mapDeps([73,9,10,13,2,3,14,24,15,16,25,74]),import.meta.url).then((e=>by(e.default||e))),sS=Io(l_({loader:aS},c_)),lS=()=>t((()=>import("./pages-synergy-synergy-detail.CEvtgrHS.js")),__vite__mapDeps([75,9,10,1,2,3,4,76]),import.meta.url).then((e=>by(e.default||e))),cS=Io(l_({loader:lS},c_)),uS=()=>t((()=>import("./pages-synergy-synergy-info.CUs8eq7f.js")),__vite__mapDeps([77,9,10,15,16,2,3,48,49,1,4,78]),import.meta.url).then((e=>by(e.default||e))),dS=Io(l_({loader:uS},c_)),hS=()=>t((()=>import("./pages-synergy-synergy-detail-more.sf8s343t.js")),__vite__mapDeps([79,9,10,80]),import.meta.url).then((e=>by(e.default||e))),pS=Io(l_({loader:hS},c_)),fS=()=>t((()=>import("./pages-synergy-synergy-person-add.Dq8jstAr.js")),__vite__mapDeps([81,9,10,1,2,3,4,82]),import.meta.url).then((e=>by(e.default||e))),mS=Io(l_({loader:fS},c_)),gS=()=>t((()=>import("./pages-synergy-synergy-person-related.Bme2ypBi.js")),__vite__mapDeps([83,9,10,84]),import.meta.url).then((e=>by(e.default||e))),yS=Io(l_({loader:gS},c_)),bS=()=>t((()=>import("./pages-synergy-synergy-add.FQeOrWM8.js")),__vite__mapDeps([85,9,10,86]),import.meta.url).then((e=>by(e.default||e))),vS=Io(l_({loader:bS},c_));function _S(e,t){return Zi(),ir(i_,null,{page:qn((()=>[dr(e,l_({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/login/login",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(d_,t)}},loader:u_,meta:{isQuit:!0,isEntry:!0,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/register/register",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(p_,t)}},loader:h_,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/chat/chat",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(m_,t)}},loader:f_,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:0,navigationBar:{titleText:"消息",type:"default"},isNVue:!1}},{path:"/pages/friend/friend",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(y_,t)}},loader:g_,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"通讯录",type:"default"},isNVue:!1}},{path:"/pages/group/group",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(v_,t)}},loader:b_,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,navigationBar:{titleText:"群聊",type:"default"},isNVue:!1}},{path:"/pages/AI/AI",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(S_,t)}},loader:__,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:3,softinputmode:"adjustPan",navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/mine/mine",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(x_,t)}},loader:w_,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:4,navigationBar:{titleText:"我的",type:"default"},isNVue:!1}},{path:"/pages/common/user-info",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(k_,t)}},loader:C_,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/chat/chat-box",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(T_,t)}},loader:A_,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/chat/chat-private-video",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(B_,t)}},loader:I_,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/chat/chat-group-video",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(P_,t)}},loader:E_,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/friend/friend-add",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(M_,t)}},loader:O_,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/friend/group",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(z_,t)}},loader:D_,meta:{navigationBar:{titleText:"群聊",type:"default"},isNVue:!1}},{path:"/pages/group/group-info",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(N_,t)}},loader:R_,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/group/group-edit",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(j_,t)}},loader:L_,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/group/group-invite",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(F_,t)}},loader:$_,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/group/group-sending-check",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(V_,t)}},loader:H_,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/group/group-member",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(W_,t)}},loader:U_,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/mine/mine-edit",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(q_,t)}},loader:Q_,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/mine/mine-password",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(Y_,t)}},loader:G_,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/common/previewFile",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(J_,t)}},loader:X_,meta:{navigationBar:{},isNVue:!1}},{path:"/uni_modules/uni-upgrade-center-app/pages/upgrade-popup",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(Z_,t)}},loader:K_,meta:{disableScroll:!0,backgroundColorTop:"transparent",background:"transparent",titleNView:!1,scrollIndicator:!1,popGesture:"none",animationType:"fade-in",animationDuration:200,navigationBar:{type:"default",style:"custom"},isNVue:!1}},{path:"/pages/common/setting",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(tS,t)}},loader:eS,meta:{navigationBar:{titleText:"设置",type:"default"},isNVue:!1}},{path:"/pages/update/update",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(oS,t)}},loader:nS,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/push/push",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(rS,t)}},loader:iS,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/synergy/synergy-group",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(sS,t)}},loader:aS,meta:{navigationBar:{titleText:"一键协同",type:"default"},isNVue:!1}},{path:"/pages/synergy/synergy-detail",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(cS,t)}},loader:lS,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/synergy/synergy-info",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(dS,t)}},loader:uS,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/synergy/synergy-detail-more",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(pS,t)}},loader:hS,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/synergy/synergy-person-add",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(mS,t)}},loader:fS,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/synergy/synergy-person-related",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(yS,t)}},loader:gS,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/synergy/synergy-add",component:{setup(){const e=fy(),t=e&&e.$route&&e.$route.query||{};return()=>_S(vS,t)}},loader:bS,meta:{navigationBar:{},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const SS={BASE_URL:"http://20.47.196.98:40080/fwzx/v1.0.0/getServiceInfoByServiceId/32092423SJNB12202507111046530001/320924230000-3-0800-5CDEC9969D674E1CBB7E2F86A697B0D7/api",WS_URL:"ws://20.47.196.98:40080/fwzx/v1.0.0/getServiceInfoByServiceId/32092423SJNB12202507111046530001/320924230000-3-0800-5CDEC9969D674E1CBB7E2F86A697B0D7/im",MSG:!0,FILE_WW:"http://218.92.207.242:9000/box-im",FILE_NW:"http://50.146.63.127:9000/box-im"},wS=e=>{const t=e.header||{},n=e.timeout||6e5,o=ob("loginInfo");return o&&(t.accessToken=o.accessToken),new Promise((function(o,i){Db({url:SS.BASE_URL+e.url,method:e.method||"GET",header:t,timeout:n,data:e.data||{},async success(e){if(200==e.data.code)return o(e.data.data);if(400==e.data.code)fy().$vm.exit();else{if(401!=e.data.code)return console.log(`网络连接失败：------${e.data.message}`),xv({icon:"none",title:e.data.message,duration:1500}),i(e.data);console.log("token过期，退出登录"),zd("token:exceed"),xv({title:"已超过24小时，请重新登录！",icon:"none"})}},fail:e=>(xv({title:"网络似乎有点不给力哟",icon:"none",duration:1500}),i(e))})}))};let xS=function(e){return e>=200&&e<300};const CS=Object.freeze(Object.defineProperty({__proto__:null,isAction:function(e){return e>=40&&e<50},isNormal:function(e){return e>=0&&e<10},isRtcGroup:xS,isRtcPrivate:function(e){return e>=100&&e<200},isStatus:function(e){return e>=10&&e<20},isTip:function(e){return e>=20&&e<30}},Symbol.toStringTag,{value:"Module"})),kS={TEXT:0,IMAGE:1,FILE:2,FILEIN:1111,FILEOUT:1110,AUDIO:3,VIDEO:4,RECALL:10,READED:11,RECEIPT:12,TIP_TIME:20,TIP_TEXT:21,LOADING:30,ACT_RT_VOICE:40,ACT_RT_VIDEO:41,USER_BANNED:50,RTC_CALL_VOICE:100,RTC_CALL_VIDEO:101,RTC_ACCEPT:102,RTC_REJECT:103,RTC_CANCEL:104,RTC_FAILED:105,RTC_HANDUP:106,RTC_CANDIDATE:107,RTC_GROUP_SETUP:200,RTC_GROUP_ACCEPT:201,RTC_GROUP_REJECT:202,RTC_GROUP_FAILED:203,RTC_GROUP_CANCEL:204,RTC_GROUP_QUIT:205,RTC_GROUP_INVITE:206,RTC_GROUP_JOIN:207,RTC_GROUP_OFFER:208,RTC_GROUP_ANSWER:209,RTC_GROUP_CANDIDATE:210,RTC_GROUP_DEVICE:211},AS={WEB:0,APP:1},TS={UNSEND:0,SENDED:1,RECALL:2,READED:3},IS=Object.freeze(Object.defineProperty({__proto__:null,MESSAGE_STATUS:TS,MESSAGE_TYPE:kS,TERMINAL_TYPE:AS,USER_STATE:{OFFLINE:0,FREE:1,BUSY:2}},Symbol.toStringTag,{value:"Module"}));let BS="",ES="",PS=null,OS=null,MS=null,DS=!1,zS=null,RS=!1,NS=new Date,LS=()=>{RS||(RS=!0,Jb((e=>{console.log("WebSocket连接已打开"),DS=!0;let t={cmd:0,data:{accessToken:ES}};Gb({data:JSON.stringify(t)})})),Zb((e=>{let t=JSON.parse(e.data);0==t.cmd?(HS.start(),MS&&MS(),console.log("WebSocket登录成功")):1==t.cmd?HS.reset():PS&&PS(t.cmd,t.data)})),ev((e=>{console.log("WebSocket连接关闭"),DS=!1,OS&&OS(e)})),Kb((e=>{console.log(e),DS=!1,OS&&OS({code:1006})})))},jS=(e,t)=>{BS=e,ES=t,DS||(NS=new Date,Qb({url:BS,success:e=>{console.log("websocket连接成功"+JSON.stringify(e))},fail:e=>{console.log(e),console.log("websocket连接失败，10s后重连"),setTimeout((()=>{jS()}),1e4)}}))},$S=(e,t)=>{if(DS)return;let n=(new Date).getTime()-NS.getTime(),o=n<1e4?1e4-n:0;zS&&clearTimeout(zS),zS=setTimeout((function(){jS(e,t)}),o)},FS=e=>{DS&&Yb({code:e,complete:e=>{console.log("关闭websocket连接"),DS=!1},fail:e=>{console.log("关闭websocket连接失败",e)}})};var HS={timeout:1e4,timeoutObj:null,start:function(){if(DS){let e={cmd:1,data:{}};Gb({data:JSON.stringify(e),fail(e){console.log(e)}})}},reset:function(){clearTimeout(this.timeoutObj),this.timeoutObj=setTimeout((function(){HS.start()}),this.timeout)}};let VS=e=>{MS=e};function US(e){PS=e}function WS(e){OS=e}const QS=Object.freeze(Object.defineProperty({__proto__:null,close:FS,connect:jS,init:LS,onClose:WS,onConnect:VS,onMessage:US,reconnect:$S,sendMessage:function(e){Gb({data:e})}},Symbol.toStringTag,{value:"Module"}));
/*!
 * pinia v2.1.7
 * (c) 2023 Eduardo San Martin Morote
 * @license MIT
 */
let qS;const GS=e=>qS=e,YS=Symbol();function XS(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var JS,KS;(KS=JS||(JS={})).direct="direct",KS.patchObject="patch object",KS.patchFunction="patch function";const ZS="undefined"!=typeof window;function ew(){const e=$e(!0),t=e.run((()=>ln({})));let n=[],o=[];const i=en({install(e){GS(i),i._a=e,e.provide(YS,i),e.config.globalProperties.$pinia=i,o.forEach((e=>n.push(e))),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const tw=()=>{};function nw(e,t,n,o=tw){e.push(t);const i=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),o())};var r;return!n&&Fe()&&(r=i,Ne&&Ne.cleanups.push(r)),i}function ow(e,...t){e.slice().forEach((e=>{e(...t)}))}const iw=e=>e();function rw(e,t){e instanceof Map&&t instanceof Map&&t.forEach(((t,n)=>e.set(n,t))),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],i=e[n];XS(i)&&XS(o)&&e.hasOwnProperty(n)&&!sn(o)&&!Yt(o)?e[n]=rw(i,o):e[n]=o}return e}const aw=Symbol();const{assign:sw}=Object;function lw(e,t,n,o){const{state:i,actions:r,getters:a}=t,s=n.state.value[e];let l;return l=cw(e,(function(){s||(n.state.value[e]=i?i():{});const t=function(e){const t=p(e)?new Array(e.length):{};for(const n in e)t[n]=bn(e,n);return t}(n.state.value[e]);return sw(t,r,Object.keys(a||{}).reduce(((t,o)=>(t[o]=en(Dr((()=>{GS(n);const t=n._s.get(e);return a[o].call(t,t)}))),t)),{}))}),t,n,o,!0),l}function cw(e,t,n={},o,i,r){let a;const s=sw({actions:{}},n),l={deep:!0};let c,u,d,h=[],p=[];const f=o.state.value[e];let m;function g(t){let n;c=u=!1,"function"==typeof t?(t(o.state.value[e]),n={type:JS.patchFunction,storeId:e,events:d}):(rw(o.state.value[e],t),n={type:JS.patchObject,payload:t,storeId:e,events:d});const i=m=Symbol();On().then((()=>{m===i&&(c=!0)})),u=!0,ow(h,n,o.state.value[e])}r||f||(o.state.value[e]={}),ln({});const y=r?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{sw(e,t)}))}:tw;function b(t,n){return function(){GS(o);const i=Array.from(arguments),r=[],a=[];function s(e){r.push(e)}function l(e){a.push(e)}let c;ow(p,{args:i,name:t,store:v,after:s,onError:l});try{c=n.apply(this&&this.$id===e?this:v,i)}catch(u){throw ow(a,u),u}return c instanceof Promise?c.then((e=>(ow(r,e),e))).catch((e=>(ow(a,e),Promise.reject(e)))):(ow(r,c),c)}}const v=Wt({_p:o,$id:e,$onAction:nw.bind(null,p),$patch:g,$reset:y,$subscribe(t,n={}){const i=nw(h,t,n.detached,(()=>r())),r=a.run((()=>so((()=>o.state.value[e]),(o=>{("sync"===n.flush?u:c)&&t({storeId:e,type:JS.direct,events:d},o)}),sw({},l,n))));return i},$dispose:function(){a.stop(),h=[],p=[],o._s.delete(e)}});o._s.set(e,v);const _=(o._a&&o._a.runWithContext||iw)((()=>o._e.run((()=>(a=$e()).run(t)))));for(const x in _){const t=_[x];if(sn(t)&&(!sn(w=t)||!w.effect)||Yt(t))r||(!f||XS(S=t)&&S.hasOwnProperty(aw)||(sn(t)?t.value=f[x]:rw(t,f[x])),o.state.value[e][x]=t);else if("function"==typeof t){const e=b(x,t);_[x]=e,s.actions[x]=t}}var S,w;return sw(v,_),sw(Zt(v),_),Object.defineProperty(v,"$state",{get:()=>o.state.value[e],set:e=>{g((t=>{sw(t,e)}))}}),o._p.forEach((e=>{sw(v,a.run((()=>e({store:v,app:o._a,pinia:o,options:s}))))})),f&&r&&n.hydrate&&n.hydrate(v.$state,f),c=!0,u=!0,v}function uw(e,t,n){let o,i;const r="function"==typeof t;function a(e,n){const a=Ti();(e=e||(a?Ai(YS,null):null))&&GS(e),(e=qS)._s.has(o)||(r?cw(o,t,i,e):lw(o,i,e));return e._s.get(o)}return"string"==typeof e?(o=e,i=r?n:t):(i=e,o=e.id),a.$id=o,a}let dw="Store";function hw(e,t){return Array.isArray(t)?t.reduce(((t,n)=>(t[n]=function(){return e(this.$pinia)[n]},t)),{}):Object.keys(t).reduce(((n,o)=>(n[o]=function(){const n=e(this.$pinia),i=t[o];return"function"==typeof i?i.call(this,n):n[i]},n)),{})}const pw=hw;const fw=Object.freeze(Object.defineProperty({__proto__:null,get MutationType(){return JS},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[YS]=t,this.$pinia||(this.$pinia=t),t._a=this,ZS&&GS(t)}else!this.$pinia&&e.parent&&e.parent.$pinia&&(this.$pinia=e.parent.$pinia)},destroyed(){delete this._pStores}})},acceptHMRUpdate:function(e,t){return()=>{}},createPinia:ew,defineStore:uw,getActivePinia:()=>Ti()&&Ai(YS)||qS,mapActions:function(e,t){return Array.isArray(t)?t.reduce(((t,n)=>(t[n]=function(...t){return e(this.$pinia)[n](...t)},t)),{}):Object.keys(t).reduce(((n,o)=>(n[o]=function(...n){return e(this.$pinia)[t[o]](...n)},n)),{})},mapGetters:pw,mapState:hw,mapStores:function(...e){return e.reduce(((e,t)=>(e[t.$id+dw]=function(){return t(this.$pinia)},e)),{})},mapWritableState:function(e,t){return Array.isArray(t)?t.reduce(((t,n)=>(t[n]={get(){return e(this.$pinia)[n]},set(t){return e(this.$pinia)[n]=t}},t)),{}):Object.keys(t).reduce(((n,o)=>(n[o]={get(){return e(this.$pinia)[t[o]]},set(n){return e(this.$pinia)[t[o]]=n}},n)),{})},setActivePinia:GS,setMapStoreSuffix:function(e){dw=e},skipHydrate:function(e){return Object.defineProperty(e,aw,{})},storeToRefs:function(e){{e=Zt(e);const t={};for(const n in e){const o=e[n];(sn(o)||Yt(o))&&(t[n]=yn(e,n))}return t}}},Symbol.toStringTag,{value:"Module"})),mw=uw("user-device",(()=>{const e=ln("");return{deviceUuid:e,setDeviceUuid:t=>{console.log("store中获取设备唯一标识符："+t),t?e.value=JSON.parse(t):plus.device.getInfo({success(t){e.value=JSON.stringify(t.uuid)}})}}})),gw=uw("userStore",{state:()=>({userInfo:{},chatTag:!0,isOutUser:!1,watermark:""}),actions:{setUserInfo(e){this.userInfo=e,this.watermark=`${e.userName}  ${e.nickName}`;const t=151e3===e.deptId||"外部支撑部门"===e.deptName;console.log("是否为外部人员："+t),this.isOutUser=t;const n=[{index:1,visible:!1},{index:2,visible:!0},{index:3,visible:!1}],o=[{index:1,visible:!0},{index:2,visible:!1},{index:3,visible:!1}];this.timer=setTimeout((()=>{t?n.map((e=>{Nv({index:e.index,visible:e.visible})})):o.map((e=>{Nv({index:e.index,visible:e.visible})}))}),500)},setChatTag(e){this.chatTag=e},clear(){this.userInfo={},this.timer&&clearTimeout(this.timer)},loadUser(e){return new Promise(((e,t)=>{wS({url:"/user/self",method:"GET"}).then((t=>{this.setUserInfo(t),e()})).catch((e=>{t(e)}))}))}},unistorage:!0});var yw="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function bw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function vw(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})})),n}var _w={exports:{}};const Sw=vw(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var ww;function xw(){return ww?_w.exports:(ww=1,_w.exports=(e=e||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==yw&&yw.crypto&&(n=yw.crypto),!n)try{n=Sw}catch(m){}var o=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(m){}if("function"==typeof n.randomBytes)try{return n.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}}(),r={},a=r.lib={},s=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)}}}(),l=a.WordArray=s.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,n=e.words,o=this.sigBytes,i=e.sigBytes;if(this.clamp(),o%4)for(var r=0;r<i;r++){var a=n[r>>>2]>>>24-r%4*8&255;t[o+r>>>2]|=a<<24-(o+r)%4*8}else for(var s=0;s<i;s+=4)t[o+s>>>2]=n[s>>>2];return this.sigBytes+=i,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=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(o());return new l.init(t,e)}}),c=r.enc={},u=c.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],i=0;i<n;i++){var r=t[i>>>2]>>>24-i%4*8&255;o.push((r>>>4).toString(16)),o.push((15&r).toString(16))}return o.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o<t;o+=2)n[o>>>3]|=parseInt(e.substr(o,2),16)<<24-o%8*4;return new l.init(n,t/2)}},d=c.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],i=0;i<n;i++){var r=t[i>>>2]>>>24-i%4*8&255;o.push(String.fromCharCode(r))}return o.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o<t;o++)n[o>>>2]|=(255&e.charCodeAt(o))<<24-o%4*8;return new l.init(n,t)}},h=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},p=a.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=h.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,o=this._data,i=o.words,r=o.sigBytes,a=this.blockSize,s=r/(4*a),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,u=e.min(4*c,r);if(c){for(var d=0;d<c;d+=a)this._doProcessBlock(i,d);n=i.splice(0,c),o.sigBytes-=u}return new l.init(n,u)},clone:function(){var e=s.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});a.Hasher=p.extend({cfg:s.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new f.HMAC.init(e,n).finalize(t)}}});var f=r.algo={};return r}(Math),e));var e}var Cw,kw={exports:{}};function Aw(){return Cw?kw.exports:(Cw=1,kw.exports=(a=xw(),n=(t=a).lib,o=n.Base,i=n.WordArray,(r=t.x64={}).Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),r.WordArray=o.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=n!=e?n:8*t.length},toX32:function(){for(var e=this.words,t=e.length,n=[],o=0;o<t;o++){var r=e[o];n.push(r.high),n.push(r.low)}return i.create(n,this.sigBytes)},clone:function(){for(var e=o.clone.call(this),t=e.words=this.words.slice(0),n=t.length,i=0;i<n;i++)t[i]=t[i].clone();return e}}),a));var e,t,n,o,i,r,a}var Tw,Iw={exports:{}};function Bw(){return Tw?Iw.exports:(Tw=1,Iw.exports=(e=xw(),function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,n=t.init,o=t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,o=[],i=0;i<t;i++)o[i>>>2]|=e[i]<<24-i%4*8;n.call(this,o,t)}else n.apply(this,arguments)};o.prototype=t}}(),e.lib.WordArray));var e}var Ew,Pw={exports:{}};function Ow(){return Ew?Pw.exports:(Ew=1,Pw.exports=(e=xw(),function(){var t=e,n=t.lib.WordArray,o=t.enc;function i(e){return e<<8&4278255360|e>>>8&16711935}o.Utf16=o.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],i=0;i<n;i+=2){var r=t[i>>>2]>>>16-i%4*8&65535;o.push(String.fromCharCode(r))}return o.join("")},parse:function(e){for(var t=e.length,o=[],i=0;i<t;i++)o[i>>>1]|=e.charCodeAt(i)<<16-i%2*16;return n.create(o,2*t)}},o.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],r=0;r<n;r+=2){var a=i(t[r>>>2]>>>16-r%4*8&65535);o.push(String.fromCharCode(a))}return o.join("")},parse:function(e){for(var t=e.length,o=[],r=0;r<t;r++)o[r>>>1]|=i(e.charCodeAt(r)<<16-r%2*16);return n.create(o,2*t)}}}(),e.enc.Utf16));var e}var Mw,Dw={exports:{}};function zw(){return Mw?Dw.exports:(Mw=1,Dw.exports=(e=xw(),function(){var t=e,n=t.lib.WordArray;function o(e,t,o){for(var i=[],r=0,a=0;a<t;a++)if(a%4){var s=o[e.charCodeAt(a-1)]<<a%4*2|o[e.charCodeAt(a)]>>>6-a%4*2;i[r>>>2]|=s<<24-r%4*8,r++}return n.create(i,r)}t.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,o=this._map;e.clamp();for(var i=[],r=0;r<n;r+=3)for(var a=(t[r>>>2]>>>24-r%4*8&255)<<16|(t[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|t[r+2>>>2]>>>24-(r+2)%4*8&255,s=0;s<4&&r+.75*s<n;s++)i.push(o.charAt(a>>>6*(3-s)&63));var l=o.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var r=0;r<n.length;r++)i[n.charCodeAt(r)]=r}var a=n.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return o(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64));var e}var Rw,Nw={exports:{}};function Lw(){return Rw?Nw.exports:(Rw=1,Nw.exports=(e=xw(),function(){var t=e,n=t.lib.WordArray;function o(e,t,o){for(var i=[],r=0,a=0;a<t;a++)if(a%4){var s=o[e.charCodeAt(a-1)]<<a%4*2|o[e.charCodeAt(a)]>>>6-a%4*2;i[r>>>2]|=s<<24-r%4*8,r++}return n.create(i,r)}t.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var n=e.words,o=e.sigBytes,i=t?this._safe_map:this._map;e.clamp();for(var r=[],a=0;a<o;a+=3)for(var s=(n[a>>>2]>>>24-a%4*8&255)<<16|(n[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|n[a+2>>>2]>>>24-(a+2)%4*8&255,l=0;l<4&&a+.75*l<o;l++)r.push(i.charAt(s>>>6*(3-l)&63));var c=i.charAt(64);if(c)for(;r.length%4;)r.push(c);return r.join("")},parse:function(e,t){void 0===t&&(t=!0);var n=e.length,i=t?this._safe_map:this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var a=0;a<i.length;a++)r[i.charCodeAt(a)]=a}var s=i.charAt(64);if(s){var l=e.indexOf(s);-1!==l&&(n=l)}return o(e,n,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),e.enc.Base64url));var e}var jw,$w={exports:{}};function Fw(){return jw?$w.exports:(jw=1,$w.exports=(e=xw(),function(t){var n=e,o=n.lib,i=o.WordArray,r=o.Hasher,a=n.algo,s=[];!function(){for(var e=0;e<64;e++)s[e]=4294967296*t.abs(t.sin(e+1))|0}();var l=a.MD5=r.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var o=t+n,i=e[o];e[o]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var r=this._hash.words,a=e[t+0],l=e[t+1],p=e[t+2],f=e[t+3],m=e[t+4],g=e[t+5],y=e[t+6],b=e[t+7],v=e[t+8],_=e[t+9],S=e[t+10],w=e[t+11],x=e[t+12],C=e[t+13],k=e[t+14],A=e[t+15],T=r[0],I=r[1],B=r[2],E=r[3];T=c(T,I,B,E,a,7,s[0]),E=c(E,T,I,B,l,12,s[1]),B=c(B,E,T,I,p,17,s[2]),I=c(I,B,E,T,f,22,s[3]),T=c(T,I,B,E,m,7,s[4]),E=c(E,T,I,B,g,12,s[5]),B=c(B,E,T,I,y,17,s[6]),I=c(I,B,E,T,b,22,s[7]),T=c(T,I,B,E,v,7,s[8]),E=c(E,T,I,B,_,12,s[9]),B=c(B,E,T,I,S,17,s[10]),I=c(I,B,E,T,w,22,s[11]),T=c(T,I,B,E,x,7,s[12]),E=c(E,T,I,B,C,12,s[13]),B=c(B,E,T,I,k,17,s[14]),T=u(T,I=c(I,B,E,T,A,22,s[15]),B,E,l,5,s[16]),E=u(E,T,I,B,y,9,s[17]),B=u(B,E,T,I,w,14,s[18]),I=u(I,B,E,T,a,20,s[19]),T=u(T,I,B,E,g,5,s[20]),E=u(E,T,I,B,S,9,s[21]),B=u(B,E,T,I,A,14,s[22]),I=u(I,B,E,T,m,20,s[23]),T=u(T,I,B,E,_,5,s[24]),E=u(E,T,I,B,k,9,s[25]),B=u(B,E,T,I,f,14,s[26]),I=u(I,B,E,T,v,20,s[27]),T=u(T,I,B,E,C,5,s[28]),E=u(E,T,I,B,p,9,s[29]),B=u(B,E,T,I,b,14,s[30]),T=d(T,I=u(I,B,E,T,x,20,s[31]),B,E,g,4,s[32]),E=d(E,T,I,B,v,11,s[33]),B=d(B,E,T,I,w,16,s[34]),I=d(I,B,E,T,k,23,s[35]),T=d(T,I,B,E,l,4,s[36]),E=d(E,T,I,B,m,11,s[37]),B=d(B,E,T,I,b,16,s[38]),I=d(I,B,E,T,S,23,s[39]),T=d(T,I,B,E,C,4,s[40]),E=d(E,T,I,B,a,11,s[41]),B=d(B,E,T,I,f,16,s[42]),I=d(I,B,E,T,y,23,s[43]),T=d(T,I,B,E,_,4,s[44]),E=d(E,T,I,B,x,11,s[45]),B=d(B,E,T,I,A,16,s[46]),T=h(T,I=d(I,B,E,T,p,23,s[47]),B,E,a,6,s[48]),E=h(E,T,I,B,b,10,s[49]),B=h(B,E,T,I,k,15,s[50]),I=h(I,B,E,T,g,21,s[51]),T=h(T,I,B,E,x,6,s[52]),E=h(E,T,I,B,f,10,s[53]),B=h(B,E,T,I,S,15,s[54]),I=h(I,B,E,T,l,21,s[55]),T=h(T,I,B,E,v,6,s[56]),E=h(E,T,I,B,A,10,s[57]),B=h(B,E,T,I,y,15,s[58]),I=h(I,B,E,T,C,21,s[59]),T=h(T,I,B,E,m,6,s[60]),E=h(E,T,I,B,w,10,s[61]),B=h(B,E,T,I,p,15,s[62]),I=h(I,B,E,T,_,21,s[63]),r[0]=r[0]+T|0,r[1]=r[1]+I|0,r[2]=r[2]+B|0,r[3]=r[3]+E|0},_doFinalize:function(){var e=this._data,n=e.words,o=8*this._nDataBytes,i=8*e.sigBytes;n[i>>>5]|=128<<24-i%32;var r=t.floor(o/4294967296),a=o;n[15+(i+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),n[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,l=s.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,o,i,r,a){var s=e+(t&n|~t&o)+i+a;return(s<<r|s>>>32-r)+t}function u(e,t,n,o,i,r,a){var s=e+(t&o|n&~o)+i+a;return(s<<r|s>>>32-r)+t}function d(e,t,n,o,i,r,a){var s=e+(t^n^o)+i+a;return(s<<r|s>>>32-r)+t}function h(e,t,n,o,i,r,a){var s=e+(n^(t|~o))+i+a;return(s<<r|s>>>32-r)+t}n.MD5=r._createHelper(l),n.HmacMD5=r._createHmacHelper(l)}(Math),e.MD5));var e}var Hw,Vw={exports:{}};function Uw(){return Hw?Vw.exports:(Hw=1,Vw.exports=(s=xw(),t=(e=s).lib,n=t.WordArray,o=t.Hasher,i=e.algo,r=[],a=i.SHA1=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,o=n[0],i=n[1],a=n[2],s=n[3],l=n[4],c=0;c<80;c++){if(c<16)r[c]=0|e[t+c];else{var u=r[c-3]^r[c-8]^r[c-14]^r[c-16];r[c]=u<<1|u>>>31}var d=(o<<5|o>>>27)+l+r[c];d+=c<20?1518500249+(i&a|~i&s):c<40?1859775393+(i^a^s):c<60?(i&a|i&s|a&s)-1894007588:(i^a^s)-899497514,l=s,s=a,a=i<<30|i>>>2,i=o,o=d}n[0]=n[0]+o|0,n[1]=n[1]+i|0,n[2]=n[2]+a|0,n[3]=n[3]+s|0,n[4]=n[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;return t[o>>>5]|=128<<24-o%32,t[14+(o+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(o+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}}),e.SHA1=o._createHelper(a),e.HmacSHA1=o._createHmacHelper(a),s.SHA1));var e,t,n,o,i,r,a,s}var Ww,Qw={exports:{}};function qw(){return Ww?Qw.exports:(Ww=1,Qw.exports=(e=xw(),function(t){var n=e,o=n.lib,i=o.WordArray,r=o.Hasher,a=n.algo,s=[],l=[];!function(){function e(e){for(var n=t.sqrt(e),o=2;o<=n;o++)if(!(e%o))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var o=2,i=0;i<64;)e(o)&&(i<8&&(s[i]=n(t.pow(o,.5))),l[i]=n(t.pow(o,1/3)),i++),o++}();var c=[],u=a.SHA256=r.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,o=n[0],i=n[1],r=n[2],a=n[3],s=n[4],u=n[5],d=n[6],h=n[7],p=0;p<64;p++){if(p<16)c[p]=0|e[t+p];else{var f=c[p-15],m=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,g=c[p-2],y=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;c[p]=m+c[p-7]+y+c[p-16]}var b=o&i^o&r^i&r,v=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),_=h+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&d)+l[p]+c[p];h=d,d=u,u=s,s=a+_|0,a=r,r=i,i=o,o=_+(v+b)|0}n[0]=n[0]+o|0,n[1]=n[1]+i|0,n[2]=n[2]+r|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+h|0},_doFinalize:function(){var e=this._data,n=e.words,o=8*this._nDataBytes,i=8*e.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=t.floor(o/4294967296),n[15+(i+64>>>9<<4)]=o,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=r._createHelper(u),n.HmacSHA256=r._createHmacHelper(u)}(Math),e.SHA256));var e}var Gw,Yw={exports:{}};var Xw,Jw={exports:{}};function Kw(){return Xw?Jw.exports:(Xw=1,Jw.exports=(e=xw(),Aw(),function(){var t=e,n=t.lib.Hasher,o=t.x64,i=o.Word,r=o.WordArray,a=t.algo;function s(){return i.create.apply(i,arguments)}var l=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],c=[];!function(){for(var e=0;e<80;e++)c[e]=s()}();var u=a.SHA512=n.extend({_doReset:function(){this._hash=new r.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,o=n[0],i=n[1],r=n[2],a=n[3],s=n[4],u=n[5],d=n[6],h=n[7],p=o.high,f=o.low,m=i.high,g=i.low,y=r.high,b=r.low,v=a.high,_=a.low,S=s.high,w=s.low,x=u.high,C=u.low,k=d.high,A=d.low,T=h.high,I=h.low,B=p,E=f,P=m,O=g,M=y,D=b,z=v,R=_,N=S,L=w,j=x,$=C,F=k,H=A,V=T,U=I,W=0;W<80;W++){var Q,q,G=c[W];if(W<16)q=G.high=0|e[t+2*W],Q=G.low=0|e[t+2*W+1];else{var Y=c[W-15],X=Y.high,J=Y.low,K=(X>>>1|J<<31)^(X>>>8|J<<24)^X>>>7,Z=(J>>>1|X<<31)^(J>>>8|X<<24)^(J>>>7|X<<25),ee=c[W-2],te=ee.high,ne=ee.low,oe=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,ie=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),re=c[W-7],ae=re.high,se=re.low,le=c[W-16],ce=le.high,ue=le.low;q=(q=(q=K+ae+((Q=Z+se)>>>0<Z>>>0?1:0))+oe+((Q+=ie)>>>0<ie>>>0?1:0))+ce+((Q+=ue)>>>0<ue>>>0?1:0),G.high=q,G.low=Q}var de,he=N&j^~N&F,pe=L&$^~L&H,fe=B&P^B&M^P&M,me=E&O^E&D^O&D,ge=(B>>>28|E<<4)^(B<<30|E>>>2)^(B<<25|E>>>7),ye=(E>>>28|B<<4)^(E<<30|B>>>2)^(E<<25|B>>>7),be=(N>>>14|L<<18)^(N>>>18|L<<14)^(N<<23|L>>>9),ve=(L>>>14|N<<18)^(L>>>18|N<<14)^(L<<23|N>>>9),_e=l[W],Se=_e.high,we=_e.low,xe=V+be+((de=U+ve)>>>0<U>>>0?1:0),Ce=ye+me;V=F,U=H,F=j,H=$,j=N,$=L,N=z+(xe=(xe=(xe=xe+he+((de+=pe)>>>0<pe>>>0?1:0))+Se+((de+=we)>>>0<we>>>0?1:0))+q+((de+=Q)>>>0<Q>>>0?1:0))+((L=R+de|0)>>>0<R>>>0?1:0)|0,z=M,R=D,M=P,D=O,P=B,O=E,B=xe+(ge+fe+(Ce>>>0<ye>>>0?1:0))+((E=de+Ce|0)>>>0<de>>>0?1:0)|0}f=o.low=f+E,o.high=p+B+(f>>>0<E>>>0?1:0),g=i.low=g+O,i.high=m+P+(g>>>0<O>>>0?1:0),b=r.low=b+D,r.high=y+M+(b>>>0<D>>>0?1:0),_=a.low=_+R,a.high=v+z+(_>>>0<R>>>0?1:0),w=s.low=w+L,s.high=S+N+(w>>>0<L>>>0?1:0),C=u.low=C+$,u.high=x+j+(C>>>0<$>>>0?1:0),A=d.low=A+H,d.high=k+F+(A>>>0<H>>>0?1:0),I=h.low=I+U,h.high=T+V+(I>>>0<U>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;return t[o>>>5]|=128<<24-o%32,t[30+(o+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(o+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=n._createHelper(u),t.HmacSHA512=n._createHmacHelper(u)}(),e.SHA512));var e}var Zw,ex={exports:{}};var tx,nx={exports:{}};function ox(){return tx?nx.exports:(tx=1,nx.exports=(e=xw(),Aw(),function(t){var n=e,o=n.lib,i=o.WordArray,r=o.Hasher,a=n.x64.Word,s=n.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 o=(2*e+3*t)%5;e=t%5,t=o}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 i=1,r=0;r<24;r++){for(var s=0,d=0,h=0;h<7;h++){if(1&i){var p=(1<<h)-1;p<32?d^=1<<p:s^=1<<p-32}128&i?i=i<<1^113:i<<=1}u[r]=a.create(s,d)}}();var d=[];!function(){for(var e=0;e<25;e++)d[e]=a.create()}();var h=s.SHA3=r.extend({cfg:r.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,o=this.blockSize/2,i=0;i<o;i++){var r=e[t+2*i],a=e[t+2*i+1];r=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(I=n[i]).high^=a,I.low^=r}for(var s=0;s<24;s++){for(var h=0;h<5;h++){for(var p=0,f=0,m=0;m<5;m++)p^=(I=n[h+5*m]).high,f^=I.low;var g=d[h];g.high=p,g.low=f}for(h=0;h<5;h++){var y=d[(h+4)%5],b=d[(h+1)%5],v=b.high,_=b.low;for(p=y.high^(v<<1|_>>>31),f=y.low^(_<<1|v>>>31),m=0;m<5;m++)(I=n[h+5*m]).high^=p,I.low^=f}for(var S=1;S<25;S++){var w=(I=n[S]).high,x=I.low,C=l[S];C<32?(p=w<<C|x>>>32-C,f=x<<C|w>>>32-C):(p=x<<C-32|w>>>64-C,f=w<<C-32|x>>>64-C);var k=d[c[S]];k.high=p,k.low=f}var A=d[0],T=n[0];for(A.high=T.high,A.low=T.low,h=0;h<5;h++)for(m=0;m<5;m++){var I=n[S=h+5*m],B=d[S],E=d[(h+1)%5+5*m],P=d[(h+2)%5+5*m];I.high=B.high^~E.high&P.high,I.low=B.low^~E.low&P.low}I=n[0];var O=u[s];I.high^=O.high,I.low^=O.low}},_doFinalize:function(){var e=this._data,n=e.words;this._nDataBytes;var o=8*e.sigBytes,r=32*this.blockSize;n[o>>>5]|=1<<24-o%32,n[(t.ceil((o+1)/r)*r>>>5)-1]|=128,e.sigBytes=4*n.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,l=s/8,c=[],u=0;u<l;u++){var d=a[u],h=d.high,p=d.low;h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),c.push(p),c.push(h)}return new i.init(c,s)},clone:function(){for(var e=r.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});n.SHA3=r._createHelper(h),n.HmacSHA3=r._createHmacHelper(h)}(Math),e.SHA3));var e}var ix,rx={exports:{}};var ax,sx={exports:{}};function lx(){return ax?sx.exports:(ax=1,sx.exports=(e=xw(),n=(t=e).lib.Base,o=t.enc.Utf8,void(t.algo.HMAC=n.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var r=this._oKey=t.clone(),a=this._iKey=t.clone(),s=r.words,l=a.words,c=0;c<n;c++)s[c]^=1549556828,l[c]^=909522486;r.sigBytes=a.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}}))));var e,t,n,o}var cx,ux={exports:{}};var dx,hx={exports:{}};function px(){return dx?hx.exports:(dx=1,hx.exports=(s=xw(),Uw(),lx(),t=(e=s).lib,n=t.Base,o=t.WordArray,i=e.algo,r=i.MD5,a=i.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:r,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,i=this.cfg,r=i.hasher.create(),a=o.create(),s=a.words,l=i.keySize,c=i.iterations;s.length<l;){n&&r.update(n),n=r.update(e).finalize(t),r.reset();for(var u=1;u<c;u++)n=r.finalize(n),r.reset();a.concat(n)}return a.sigBytes=4*l,a}}),e.EvpKDF=function(e,t,n){return a.create(n).compute(e,t)},s.EvpKDF));var e,t,n,o,i,r,a,s}var fx,mx={exports:{}};function gx(){return fx?mx.exports:(fx=1,mx.exports=(e=xw(),px(),void(e.lib.Cipher||function(t){var n=e,o=n.lib,i=o.Base,r=o.WordArray,a=o.BufferedBlockAlgorithm,s=n.enc;s.Utf8;var l=s.Base64,c=n.algo.EvpKDF,u=o.Cipher=a.extend({cfg:i.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(){a.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?v:y}return function(t){return{encrypt:function(n,o,i){return e(o).encrypt(t,n,o,i)},decrypt:function(n,o,i){return e(o).decrypt(t,n,o,i)}}}}()});o.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var d=n.mode={},h=o.BlockCipherMode=i.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}}),p=d.CBC=function(){var e=h.extend();function n(e,n,o){var i,r=this._iv;r?(i=r,this._iv=t):i=this._prevBlock;for(var a=0;a<o;a++)e[n+a]^=i[a]}return e.Encryptor=e.extend({processBlock:function(e,t){var o=this._cipher,i=o.blockSize;n.call(this,e,t,i),o.encryptBlock(e,t),this._prevBlock=e.slice(t,t+i)}}),e.Decryptor=e.extend({processBlock:function(e,t){var o=this._cipher,i=o.blockSize,r=e.slice(t,t+i);o.decryptBlock(e,t),n.call(this,e,t,i),this._prevBlock=r}}),e}(),f=(n.pad={}).Pkcs7={pad:function(e,t){for(var n=4*t,o=n-e.sigBytes%n,i=o<<24|o<<16|o<<8|o,a=[],s=0;s<o;s+=4)a.push(i);var l=r.create(a,o);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}};o.BlockCipher=u.extend({cfg:u.cfg.extend({mode:p,padding:f}),reset:function(){var e;u.reset.call(this);var t=this.cfg,n=t.iv,o=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=o.createEncryptor:(e=o.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(o,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 m=o.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),g=(n.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?r.create([1398893684,1701076831]).concat(n).concat(t):t).toString(l)},parse:function(e){var t,n=l.parse(e),o=n.words;return 1398893684==o[0]&&1701076831==o[1]&&(t=r.create(o.slice(2,4)),o.splice(0,4),n.sigBytes-=16),m.create({ciphertext:n,salt:t})}},y=o.SerializableCipher=i.extend({cfg:i.extend({format:g}),encrypt:function(e,t,n,o){o=this.cfg.extend(o);var i=e.createEncryptor(n,o),r=i.finalize(t),a=i.cfg;return m.create({ciphertext:r,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:o.format})},decrypt:function(e,t,n,o){return o=this.cfg.extend(o),t=this._parse(t,o.format),e.createDecryptor(n,o).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),b=(n.kdf={}).OpenSSL={execute:function(e,t,n,o,i){if(o||(o=r.random(8)),i)a=c.create({keySize:t+n,hasher:i}).compute(e,o);else var a=c.create({keySize:t+n}).compute(e,o);var s=r.create(a.words.slice(t),4*n);return a.sigBytes=4*t,m.create({key:a,iv:s,salt:o})}},v=o.PasswordBasedCipher=y.extend({cfg:y.cfg.extend({kdf:b}),encrypt:function(e,t,n,o){var i=(o=this.cfg.extend(o)).kdf.execute(n,e.keySize,e.ivSize,o.salt,o.hasher);o.iv=i.iv;var r=y.encrypt.call(this,e,t,i.key,o);return r.mixIn(i),r},decrypt:function(e,t,n,o){o=this.cfg.extend(o),t=this._parse(t,o.format);var i=o.kdf.execute(n,e.keySize,e.ivSize,t.salt,o.hasher);return o.iv=i.iv,y.decrypt.call(this,e,t,i.key,o)}})}())));var e}var yx,bx={exports:{}};var vx,_x={exports:{}};var Sx,wx={exports:{}};function xx(){return Sx?wx.exports:(Sx=1,wx.exports=(e=xw(),gx(),
/** @preserve
       * Counter block mode compatible with  Dr Brian Gladman fileenc.c
       * derived from CryptoJS.mode.CTR
       * Jan Hruby jhruby.web@gmail.com
       */
e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function n(e){if(255==(e>>24&255)){var t=e>>16&255,n=e>>8&255,o=255&e;255===t?(t=0,255===n?(n=0,255===o?o=0:++o):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=o}else e+=1<<24;return e}function o(e){return 0===(e[0]=n(e[0]))&&(e[1]=n(e[1])),e}var i=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,r=this._iv,a=this._counter;r&&(a=this._counter=r.slice(0),this._iv=void 0),o(a);var s=a.slice(0);n.encryptBlock(s,0);for(var l=0;l<i;l++)e[t+l]^=s[l]}});return t.Decryptor=i,t}(),e.mode.CTRGladman));var e}var Cx,kx={exports:{}};var Ax,Tx={exports:{}};var Ix,Bx={exports:{}};var Ex,Px={exports:{}};var Ox,Mx={exports:{}};var Dx,zx={exports:{}};var Rx,Nx={exports:{}};var Lx,jx={exports:{}};var $x,Fx={exports:{}};var Hx,Vx={exports:{}};function Ux(){return Hx?Vx.exports:(Hx=1,Vx.exports=(e=xw(),zw(),Fw(),px(),gx(),function(){var t=e,n=t.lib,o=n.WordArray,i=n.BlockCipher,r=t.algo,a=[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],s=[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=r.DES=i.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var o=a[n]-1;t[n]=e[o>>>5]>>>31-o%32&1}for(var i=this._subKeys=[],r=0;r<16;r++){var c=i[r]=[],u=l[r];for(n=0;n<24;n++)c[n/6|0]|=t[(s[n]-1+u)%28]<<31-n%6,c[4+(n/6|0)]|=t[28+(s[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]=i[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),p.call(this,2,858993459),p.call(this,8,16711935),h.call(this,1,1431655765);for(var o=0;o<16;o++){for(var i=n[o],r=this._lBlock,a=this._rBlock,s=0,l=0;l<8;l++)s|=c[l][((a^i[l])&u[l])>>>0];this._lBlock=a,this._rBlock=r^s}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,h.call(this,1,1431655765),p.call(this,8,16711935),p.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}function p(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}t.DES=i._createHelper(d);var f=r.TripleDES=i.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=d.createEncryptor(o.create(t)),this._des2=d.createEncryptor(o.create(n)),this._des3=d.createEncryptor(o.create(i))},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});t.TripleDES=i._createHelper(f)}(),e.TripleDES));var e}var Wx,Qx={exports:{}};var qx,Gx={exports:{}};var Yx,Xx={exports:{}};var Jx,Kx,Zx,eC,tC,nC,oC,iC={exports:{}};function rC(){return Jx?iC.exports:(Jx=1,iC.exports=(e=xw(),zw(),Fw(),px(),gx(),function(){var t=e,n=t.lib.BlockCipher,o=t.algo;const i=16,r=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],a=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var s={pbox:[],sbox:[]};function l(e,t){let n=t>>24&255,o=t>>16&255,i=t>>8&255,r=255&t,a=e.sbox[0][n]+e.sbox[1][o];return a^=e.sbox[2][i],a+=e.sbox[3][r],a}function c(e,t,n){let o,r=t,a=n;for(let s=0;s<i;++s)r^=e.pbox[s],a=l(e,r)^a,o=r,r=a,a=o;return o=r,r=a,a=o,a^=e.pbox[i],r^=e.pbox[i+1],{left:r,right:a}}function u(e,t,n){let o,r=t,a=n;for(let s=i+1;s>1;--s)r^=e.pbox[s],a=l(e,r)^a,o=r,r=a,a=o;return o=r,r=a,a=o,a^=e.pbox[1],r^=e.pbox[0],{left:r,right:a}}function d(e,t,n){for(let i=0;i<4;i++){e.sbox[i]=[];for(let t=0;t<256;t++)e.sbox[i][t]=a[i][t]}let o=0;for(let a=0;a<i+2;a++)e.pbox[a]=r[a]^t[o],o++,o>=n&&(o=0);let s=0,l=0,u=0;for(let r=0;r<i+2;r+=2)u=c(e,s,l),s=u.left,l=u.right,e.pbox[r]=s,e.pbox[r+1]=l;for(let i=0;i<4;i++)for(let t=0;t<256;t+=2)u=c(e,s,l),s=u.left,l=u.right,e.sbox[i][t]=s,e.sbox[i][t+1]=l;return!0}var h=o.Blowfish=n.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4;d(s,t,n)}},encryptBlock:function(e,t){var n=c(s,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},decryptBlock:function(e,t){var n=u(s,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=n._createHelper(h)}(),e.Blowfish));var e}xw(),Aw(),Bw(),Ow(),zw(),Lw(),Fw(),Uw(),qw(),Gw||(Gw=1,Yw.exports=(oC=xw(),qw(),Zx=(Kx=oC).lib.WordArray,eC=Kx.algo,tC=eC.SHA256,nC=eC.SHA224=tC.extend({_doReset:function(){this._hash=new Zx.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=tC._doFinalize.call(this);return e.sigBytes-=4,e}}),Kx.SHA224=tC._createHelper(nC),Kx.HmacSHA224=tC._createHmacHelper(nC),oC.SHA224)),Kw(),function(){return Zw?ex.exports:(Zw=1,ex.exports=(s=xw(),Aw(),Kw(),t=(e=s).x64,n=t.Word,o=t.WordArray,i=e.algo,r=i.SHA512,a=i.SHA384=r.extend({_doReset:function(){this._hash=new o.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var e=r._doFinalize.call(this);return e.sigBytes-=16,e}}),e.SHA384=r._createHelper(a),e.HmacSHA384=r._createHmacHelper(a),s.SHA384));var e,t,n,o,i,r,a,s}(),ox(),function(){return ix?rx.exports:(ix=1,rx.exports=(e=xw(),
/** @preserve
      			(c) 2012 by Cédric Mesnil. All rights reserved.
      
      			Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
      
      			    - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
      			    - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
      
      			THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
      			*/
function(t){var n=e,o=n.lib,i=o.WordArray,r=o.Hasher,a=n.algo,s=i.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=i.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=i.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=i.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=i.create([0,1518500249,1859775393,2400959708,2840853838]),h=i.create([1352829926,1548603684,1836072691,2053994217,0]),p=a.RIPEMD160=r.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var o=t+n,i=e[o];e[o]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var r,a,p,_,S,w,x,C,k,A,T,I=this._hash.words,B=d.words,E=h.words,P=s.words,O=l.words,M=c.words,D=u.words;for(w=r=I[0],x=a=I[1],C=p=I[2],k=_=I[3],A=S=I[4],n=0;n<80;n+=1)T=r+e[t+P[n]]|0,T+=n<16?f(a,p,_)+B[0]:n<32?m(a,p,_)+B[1]:n<48?g(a,p,_)+B[2]:n<64?y(a,p,_)+B[3]:b(a,p,_)+B[4],T=(T=v(T|=0,M[n]))+S|0,r=S,S=_,_=v(p,10),p=a,a=T,T=w+e[t+O[n]]|0,T+=n<16?b(x,C,k)+E[0]:n<32?y(x,C,k)+E[1]:n<48?g(x,C,k)+E[2]:n<64?m(x,C,k)+E[3]:f(x,C,k)+E[4],T=(T=v(T|=0,D[n]))+A|0,w=A,A=k,k=v(C,10),C=x,x=T;T=I[1]+p+k|0,I[1]=I[2]+_+A|0,I[2]=I[3]+S+w|0,I[3]=I[4]+r+x|0,I[4]=I[0]+a+C|0,I[0]=T},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;t[o>>>5]|=128<<24-o%32,t[14+(o+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,r=i.words,a=0;a<5;a++){var s=r[a];r[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return i},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function y(e,t,n){return e&n|t&~n}function b(e,t,n){return e^(t|~n)}function v(e,t){return e<<t|e>>>32-t}n.RIPEMD160=r._createHelper(p),n.HmacRIPEMD160=r._createHmacHelper(p)}(),e.RIPEMD160));var e}(),lx(),function(){return cx?ux.exports:(cx=1,ux.exports=(l=xw(),qw(),lx(),t=(e=l).lib,n=t.Base,o=t.WordArray,i=e.algo,r=i.SHA256,a=i.HMAC,s=i.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:r,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,i=a.create(n.hasher,e),r=o.create(),s=o.create([1]),l=r.words,c=s.words,u=n.keySize,d=n.iterations;l.length<u;){var h=i.update(t).finalize(s);i.reset();for(var p=h.words,f=p.length,m=h,g=1;g<d;g++){m=i.finalize(m),i.reset();for(var y=m.words,b=0;b<f;b++)p[b]^=y[b]}r.concat(h),c[0]++}return r.sigBytes=4*u,r}}),e.PBKDF2=function(e,t,n){return s.create(n).compute(e,t)},l.PBKDF2));var e,t,n,o,i,r,a,s,l}(),px(),gx(),function(){return yx?bx.exports:(yx=1,bx.exports=(e=xw(),gx(),e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function n(e,t,n,o){var i,r=this._iv;r?(i=r.slice(0),this._iv=void 0):i=this._prevBlock,o.encryptBlock(i,0);for(var a=0;a<n;a++)e[t+a]^=i[a]}return t.Encryptor=t.extend({processBlock:function(e,t){var o=this._cipher,i=o.blockSize;n.call(this,e,t,i,o),this._prevBlock=e.slice(t,t+i)}}),t.Decryptor=t.extend({processBlock:function(e,t){var o=this._cipher,i=o.blockSize,r=e.slice(t,t+i);n.call(this,e,t,i,o),this._prevBlock=r}}),t}(),e.mode.CFB));var e}(),function(){return vx?_x.exports:(vx=1,_x.exports=(n=xw(),gx(),n.mode.CTR=(e=n.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize,i=this._iv,r=this._counter;i&&(r=this._counter=i.slice(0),this._iv=void 0);var a=r.slice(0);n.encryptBlock(a,0),r[o-1]=r[o-1]+1|0;for(var s=0;s<o;s++)e[t+s]^=a[s]}}),e.Decryptor=t,e),n.mode.CTR));var e,t,n}(),xx(),function(){return Cx?kx.exports:(Cx=1,kx.exports=(n=xw(),gx(),n.mode.OFB=(e=n.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize,i=this._iv,r=this._keystream;i&&(r=this._keystream=i.slice(0),this._iv=void 0),n.encryptBlock(r,0);for(var a=0;a<o;a++)e[t+a]^=r[a]}}),e.Decryptor=t,e),n.mode.OFB));var e,t,n}(),function(){return Ax?Tx.exports:(Ax=1,Tx.exports=(t=xw(),gx(),t.mode.ECB=((e=t.lib.BlockCipherMode.extend()).Encryptor=e.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),e.Decryptor=e.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),e),t.mode.ECB));var e,t}(),function(){return Ix?Bx.exports:(Ix=1,Bx.exports=(e=xw(),gx(),e.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,o=4*t,i=o-n%o,r=n+i-1;e.clamp(),e.words[r>>>2]|=i<<24-r%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923));var e}(),function(){return Ex?Px.exports:(Ex=1,Px.exports=(e=xw(),gx(),e.pad.Iso10126={pad:function(t,n){var o=4*n,i=o-t.sigBytes%o;t.concat(e.lib.WordArray.random(i-1)).concat(e.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126));var e}(),function(){return Ox?Mx.exports:(Ox=1,Mx.exports=(e=xw(),gx(),e.pad.Iso97971={pad:function(t,n){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,n)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971));var e}(),function(){return Dx?zx.exports:(Dx=1,zx.exports=(e=xw(),gx(),e.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}}},e.pad.ZeroPadding));var e}(),function(){return Rx?Nx.exports:(Rx=1,Nx.exports=(e=xw(),gx(),e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding));var e}(),function(){return Lx?jx.exports:(Lx=1,jx.exports=(o=xw(),gx(),t=(e=o).lib.CipherParams,n=e.enc.Hex,e.format.Hex={stringify:function(e){return e.ciphertext.toString(n)},parse:function(e){var o=n.parse(e);return t.create({ciphertext:o})}},o.format.Hex));var e,t,n,o}(),function(){return $x?Fx.exports:($x=1,Fx.exports=(e=xw(),zw(),Fw(),px(),gx(),function(){var t=e,n=t.lib.BlockCipher,o=t.algo,i=[],r=[],a=[],s=[],l=[],c=[],u=[],d=[],h=[],p=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,o=0;for(t=0;t<256;t++){var f=o^o<<1^o<<2^o<<3^o<<4;f=f>>>8^255&f^99,i[n]=f,r[f]=n;var m=e[n],g=e[m],y=e[g],b=257*e[f]^16843008*f;a[n]=b<<24|b>>>8,s[n]=b<<16|b>>>16,l[n]=b<<8|b>>>24,c[n]=b,b=16843009*y^65537*g^257*m^16843008*n,u[f]=b<<24|b>>>8,d[f]=b<<16|b>>>16,h[f]=b<<8|b>>>24,p[f]=b,n?(n=m^e[e[e[y^m]]],o^=e[e[o]]):n=o=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],m=o.AES=n.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,o=4*((this._nRounds=n+6)+1),r=this._keySchedule=[],a=0;a<o;a++)a<n?r[a]=t[a]:(c=r[a-1],a%n?n>6&&a%n==4&&(c=i[c>>>24]<<24|i[c>>>16&255]<<16|i[c>>>8&255]<<8|i[255&c]):(c=i[(c=c<<8|c>>>24)>>>24]<<24|i[c>>>16&255]<<16|i[c>>>8&255]<<8|i[255&c],c^=f[a/n|0]<<24),r[a]=r[a-n]^c);for(var s=this._invKeySchedule=[],l=0;l<o;l++){if(a=o-l,l%4)var c=r[a];else c=r[a-4];s[l]=l<4||a<=4?c:u[i[c>>>24]]^d[i[c>>>16&255]]^h[i[c>>>8&255]]^p[i[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,l,c,i)},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,p,r),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,o,i,r,a,s){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],p=4,f=1;f<l;f++){var m=o[c>>>24]^i[u>>>16&255]^r[d>>>8&255]^a[255&h]^n[p++],g=o[u>>>24]^i[d>>>16&255]^r[h>>>8&255]^a[255&c]^n[p++],y=o[d>>>24]^i[h>>>16&255]^r[c>>>8&255]^a[255&u]^n[p++],b=o[h>>>24]^i[c>>>16&255]^r[u>>>8&255]^a[255&d]^n[p++];c=m,u=g,d=y,h=b}m=(s[c>>>24]<<24|s[u>>>16&255]<<16|s[d>>>8&255]<<8|s[255&h])^n[p++],g=(s[u>>>24]<<24|s[d>>>16&255]<<16|s[h>>>8&255]<<8|s[255&c])^n[p++],y=(s[d>>>24]<<24|s[h>>>16&255]<<16|s[c>>>8&255]<<8|s[255&u])^n[p++],b=(s[h>>>24]<<24|s[c>>>16&255]<<16|s[u>>>8&255]<<8|s[255&d])^n[p++],e[t]=m,e[t+1]=g,e[t+2]=y,e[t+3]=b},keySize:8});t.AES=n._createHelper(m)}(),e.AES));var e}(),Ux(),function(){return Wx?Qx.exports:(Wx=1,Qx.exports=(e=xw(),zw(),Fw(),px(),gx(),function(){var t=e,n=t.lib.StreamCipher,o=t.algo,i=o.RC4=n.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,o=this._S=[],i=0;i<256;i++)o[i]=i;i=0;for(var r=0;i<256;i++){var a=i%n,s=t[a>>>2]>>>24-a%4*8&255;r=(r+o[i]+s)%256;var l=o[i];o[i]=o[r],o[r]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=r.call(this)},keySize:8,ivSize:0});function r(){for(var e=this._S,t=this._i,n=this._j,o=0,i=0;i<4;i++){n=(n+e[t=(t+1)%256])%256;var r=e[t];e[t]=e[n],e[n]=r,o|=e[(e[t]+e[n])%256]<<24-8*i}return this._i=t,this._j=n,o}t.RC4=n._createHelper(i);var a=o.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)r.call(this)}});t.RC4Drop=n._createHelper(a)}(),e.RC4));var e}(),function(){return qx?Gx.exports:(qx=1,Gx.exports=(e=xw(),zw(),Fw(),px(),gx(),function(){var t=e,n=t.lib.StreamCipher,o=t.algo,i=[],r=[],a=[],s=o.Rabbit=n.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 o=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],i=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++)i[n]^=o[n+4&7];if(t){var r=t.words,a=r[0],s=r[1],c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=c>>>16|4294901760&u,h=u<<16|65535&c;for(i[0]^=c,i[1]^=d,i[2]^=u,i[3]^=h,i[4]^=c,i[5]^=d,i[6]^=u,i[7]^=h,n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)i[o]=16711935&(i[o]<<8|i[o]>>>24)|4278255360&(i[o]<<24|i[o]>>>8),e[t+o]^=i[o]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)r[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<r[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<r[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<r[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<r[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<r[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<r[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<r[6]>>>0?1:0)|0,this._b=t[7]>>>0<r[7]>>>0?1:0,n=0;n<8;n++){var o=e[n]+t[n],i=65535&o,s=o>>>16,l=((i*i>>>17)+i*s>>>15)+s*s,c=((4294901760&o)*o|0)+((65535&o)*o|0);a[n]=l^c}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.Rabbit=n._createHelper(s)}(),e.Rabbit));var e}(),function(){return Yx?Xx.exports:(Yx=1,Xx.exports=(e=xw(),zw(),Fw(),px(),gx(),function(){var t=e,n=t.lib.StreamCipher,o=t.algo,i=[],r=[],a=[],s=o.RabbitLegacy=n.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=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]];this._b=0;for(var i=0;i<4;i++)l.call(this);for(i=0;i<8;i++)o[i]^=n[i+4&7];if(t){var r=t.words,a=r[0],s=r[1],c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>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,i=0;i<4;i++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)i[o]=16711935&(i[o]<<8|i[o]>>>24)|4278255360&(i[o]<<24|i[o]>>>8),e[t+o]^=i[o]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)r[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<r[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<r[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<r[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<r[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<r[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<r[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<r[6]>>>0?1:0)|0,this._b=t[7]>>>0<r[7]>>>0?1:0,n=0;n<8;n++){var o=e[n]+t[n],i=65535&o,s=o>>>16,l=((i*i>>>17)+i*s>>>15)+s*s,c=((4294901760&o)*o|0)+((65535&o)*o|0);a[n]=l^c}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}t.RabbitLegacy=n._createHelper(s)}(),e.RabbitLegacy));var e}(),rC();const aC={phone:{regex:/1[3-9]\d{9}/g,mask:e=>e.slice(0,3)+"****"+e.slice(-4),originMask:e=>e.slice(3,7)},idCard:{regex:/\d{17}[\dXx]/g,mask:e=>e.slice(0,6)+"********"+(18===e.length?e.slice(-4):""),originMask:e=>e.slice(6,14)}};function sC(e,t=aC){let n=e;const o={};for(const[i,{regex:r,mask:a,originMask:s}]of Object.entries(t)){const t=[];(e.match(r)||[]).forEach((e=>{t.push(e),n=n.replace(e,a(e)),console.log(n)})),s&&(o[i]=t.map((e=>s(e))))}return{text:e,maskedText:n,originSensitiveData:o}}const lC=()=>ob("SDJDHJDKJ01")?JSON.parse(ob("SDJDHJDKJ01")):[],cC=e=>{eb("SDJDHJDKJ01",JSON.stringify(e))},uC=()=>{ib("SDJDHJDKJ01")};function dC(){return{encrypt:e=>{let t="";try{return t=e,t}catch(n){return console.error("加密失败:",n),e}},decrypt:e=>{let t="";try{return t=e,t}catch(n){return console.error("解密失败:",n),e}}}}const hC=async()=>{try{const{version:e}=await new Promise(((e,t)=>{plus.runtime.getProperty(plus.runtime.appid,(t=>{console.log(t),e({version:t.version,name:t.name})}))}));return e}catch(e){console.log(e)}},pC={data:()=>({isExit:!1,audioTip:null,reconnecting:!1}),created(){const{decrypt:e}=dC();this.decrypt=e},mounted(){Od("token:exceed",(()=>{this.exit()})),Od("dissolve:group",(()=>{console.log("解散群聊"),this.init()})),Od("message:ok",(()=>{SS.MSG&&this.pullOfflineMessageApp()}))},methods:{async checkAppUpdate(){try{const e=await hC(),t=await this.$http({url:"/appVersion/check",method:"POST",data:{version:e}}),{version:n,downloadUrl:o,updateLog:i}=t;console.log(`当前版本: ${e}`),console.log(`返回版本: ${n}`);1===((e,t)=>{const n=e.split(".").map(Number),o=t.split(".").map(Number),i=Math.max(n.length,o.length);for(let r=0;r<i;r++){const e=r<n.length?n[r]:0,t=r<o.length?o[r]:0;if(e<t)return 1;if(e>t)return-1}return 0})(e,n)&&zd("update:apk",{version:n,downloadUrl:o,updateLog:i})}catch(e){console.error(e)}},disableScreenCaptrue(){},init(){this.isExit=!1,this.loadStore().then((()=>{this.initWebSocket()})).catch((e=>{console.log(e+"error"),this.exit()})),this.checkAppUpdate()},async initWebSocket(){await this.chatStore.queryChatStatus(),await this.chatStore.queryDelMessage(),SS.MSG?(this.pullOfflineMessageApp(!0),setInterval((async()=>{await this.chatStore.queryChatStatus(),await this.chatStore.queryDelMessage(),this.pullOfflineMessageApp()}),1e4)):this.initWS()},initWS(){let e=ob("loginInfo");LS(),jS(SS.WS_URL,e.accessToken),VS((()=>{this.reconnecting&&(this.reconnecting=!1,xv({title:"已重新连接",icon:"none"})),this.pullPrivateOfflineMessage(this.chatStore.privateMsgMaxId),this.pullGroupOfflineMessage(this.chatStore.groupMsgMaxId)})),US(((e,t)=>{this.reduceMsg(e,t)})),WS((e=>{console.log("ws断开",e),this.reconnectWs()}))},reduceMsg(e,t){if(2==e)pv({content:"您已在其他地方登陆，将被强制下线",showCancel:!1}),this.exit();else if(3==e){if(this.chatStore.delMessages.includes(t.id))return;try{JSON.parse(t.content)&&t.content}catch(n){t.content=this.decrypt(t.content)}this.handlePrivateMessage(t)}else if(4==e){if(this.chatStore.delMessages.includes(t.id))return;try{JSON.parse(t.content)&&t.content}catch(n){t.content=this.decrypt(t.content)}this.handleGroupMessage(t)}else 5==e&&this.handleSystemMessage(t)},loadStore(){return this.userStore.loadUser().then((()=>{const e=[];return e.push(this.friendStore.loadFriend()),e.push(this.groupStore.loadGroup()),e.push(this.chatStore.loadChat()),e.push(this.configStore.loadConfig()),Promise.all(e)}))},unloadStore(){this.friendStore.clear(),this.groupStore.clear(),this.chatStore.clear(),this.chatStore.clearStorage(),this.configStore.clear(),this.userStore.clear()},pullPrivateOfflineMessage(e){this.chatStore.setLoadingPrivateMsg(!0),wS({url:"/message/private/pullOfflineMessage?minId="+e,method:"GET"}).catch((()=>{this.chatStore.setLoadingPrivateMsg(!1)}))},pullGroupOfflineMessage(e){this.chatStore.setLoadingGroupMsg(!0),wS({url:"/message/group/pullOfflineMessage?minId="+e,method:"GET"}).catch((()=>{this.chatStore.setLoadingGroupMsg(!1)}))},async pullOfflineMessageApp(e){e&&this.chatStore.setLoadingPrivateMsg(!0),await wS({url:"/message/private/pullOfflineMessageApp?minId="+this.chatStore.privateMsgMaxId,method:"GET"}).then((e=>{if(e.length)for(var t=0;t<e.length;t++)this.reduceMsg(3,e[t].data);this.chatStore.setLoadingPrivateMsg(!1)})).catch((()=>{this.chatStore.setLoadingPrivateMsg(!1)})),e&&this.chatStore.setLoadingGroupMsg(!0),await wS({url:"/message/group/pullOfflineMessageApp?minId="+this.chatStore.groupMsgMaxId,method:"GET"}).then((e=>{if(e.length)for(var t=0;t<e.length;t++)this.reduceMsg(4,e[t].data);this.chatStore.setLoadingGroupMsg(!1)})).catch((()=>{this.chatStore.setLoadingGroupMsg(!1)})),wS({url:"/message/group/getRecallMess",method:"GET"}).then((e=>{const t=e.filter((e=>e.sendTime&&Date.now()-e.sendTime<=864e5));if(t.length)for(var n=0;n<t.length;n++){let e={};e=t[n].groupId?{content:`${t[n].sendId===this.userStore.userInfo.id?"你":t[n].sendNickName}撤回了一条消息`,groupId:t[n].groupId,id:t[n].id,readedCount:0,receipt:!1,receiptOk:!1,sendId:t[n].sendId,sendNickName:t[n].sendNickName,sendTime:t[n].sendTime,status:t[n].status,type:10,selfSend:t[n].sendId===this.userStore.userInfo.id}:{content:(t[n].sendId===this.userStore.userInfo.id?"你":"对方")+"撤回了一条消息",id:t[n].id,recvId:t[n].recvId,sendId:t[n].sendId,sendTime:t[n].sendTime,status:t[n].status,type:10,selfSend:t[n].sendId===this.userStore.userInfo.id};let o=this.chatStore.findChat(e),i=this.chatStore.findMessage(o,e);o&&i&&10!==i.type&&this.reduceMsg(t[n].groupId?4:3,e)}}))},async handlePrivateMessage(e){var t;if(e.type==kS.LOADING)return void this.chatStore.setLoadingPrivateMsg(e.content);if(e.type==kS.READED)return void this.chatStore.resetUnreadCount({type:"PRIVATE",targetId:e.recvId});if(e.type==kS.RECEIPT)return void this.chatStore.readedMessage({friendId:e.sendId});this.chatStore.isLoading()||await this.chatStore.queryChatStatus("PRIVATE");const n=e.sendId==this.userStore.userInfo.id?e.recvId:e.sendId;if(this.chatStore.privateStatus.length&&1===(null==(t=this.chatStore.privateStatus.filter((e=>e.userId===n))[0])?void 0:t.status))return;e.selfSend=e.sendId==this.userStore.userInfo.id;let o=e.selfSend?e.recvId:e.sendId;this.loadFriendInfo(o,(t=>{this.insertPrivateMessage(t,e)}))},insertPrivateMessage(e,t){let n={type:"PRIVATE",targetId:e.id,showName:e.nickName,headImage:e.headImage,phone:e.phone,phoneShort:e.phoneShort};this.chatStore.openChat(n),this.chatStore.insertMessage(t),this.playAudioTip()},async handleGroupMessage(e){var t;if(e.type!==kS.LOADING)if(e.type!=kS.READED)if(e.type!=kS.RECEIPT)this.chatStore.isLoading()||await this.chatStore.queryChatStatus("GROUP"),this.chatStore.chatStatus.length&&1===(null==(t=this.chatStore.chatStatus.filter((t=>t.groupId===e.groupId))[0])?void 0:t.status)||(e.selfSend=e.sendId==this.userStore.userInfo.id,this.loadGroupInfo(e.groupId,(t=>{this.insertGroupMessage(t,e)})));else{let t={id:e.id,groupId:e.groupId,readedCount:e.readedCount,receiptOk:e.receiptOk};this.chatStore.updateMessage(t)}else{let t={type:"GROUP",targetId:e.groupId};this.chatStore.resetUnreadCount(t)}else this.chatStore.setLoadingGroupMsg(e.content)},handleSystemMessage(e){e.type==kS.USER_BANNED&&(FS(3099),pv({content:"您的账号已被管理员封禁，原因:"+e.content,showCancel:!1}),this.exit())},insertGroupMessage(e,t){if(xS(t.type))return;let n={type:"GROUP",targetId:e.id,showName:e.showGroupName,headImage:e.headImageThumb,caseNum:e.caseNum,groupType:e.groupType};this.chatStore.openChat(n),this.chatStore.insertMessage(t),this.playAudioTip()},loadFriendInfo(e,t){let n=this.friendStore.findFriend(e);n?t(n):wS({url:`/friend/find/${e}`,method:"GET"}).then((e=>{this.friendStore.addFriend(e),t(e)}))},loadGroupInfo(e,t){let n=this.groupStore.findGroup(e);n?t(n):wS({url:`/group/find/${e}`,method:"GET"}).then((e=>{this.groupStore.addGroup(e),t(e)}))},exit(){console.log("exit"),this.isExit=!0,FS(3099),ib("loginInfo"),uC(),Ap({url:"/pages/login/login"}),this.unloadStore()},playAudioTip(){},refreshToken:e=>new Promise(((t,n)=>{e&&e.refreshToken?wS({url:"/refreshToken",method:"PUT",header:{refreshToken:e.refreshToken}}).then((e=>{eb("loginInfo",e),t()})).catch((e=>{n(e)})):n()})),reconnectWs(){this.isExit||(this.reconnecting=!0,this.reloadUserInfo().then((e=>{xv({title:"连接已断开，尝试重新连接...",icon:"none"}),this.userStore.setUserInfo(e);let t=ob("loginInfo");$S(SS.WS_URL,t.accessToken)})).catch((()=>{setTimeout((()=>{this.reconnectWs()}),5e3)})))},reloadUserInfo:()=>wS({url:"/user/self",method:"GET"})},onLaunch(){this.$mountStore();let e=ob("loginInfo");this.refreshToken(e).then((()=>{this.init(),wp({url:"/pages/chat/chat"})})).catch((()=>{nv({url:"/pages/login/login"})})),gw().setChatTag(!0),console.log(gw().userInfo,gw().isOutUser)},onReady(){},onHide(){},onShow(){}};yy(pC,{init:my,setup(e){const t=Mu(),n=()=>{var n;n=e,Object.keys(Th).forEach((e=>{Th[e].forEach((t=>{Vo(e,t,n)}))}));const{onLaunch:o,onShow:i,onPageNotFound:r}=e,a=function({path:e,query:t}){return c(Pf,{path:e,query:t}),c(Of,Pf),c({},Pf)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:xe(t.query)});if(o&&D(o,a),i&&D(i,a),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};Ip(),r&&D(r,e)}};return Ai(Zs).isReady().then(n),Qo((()=>{window.addEventListener("resize",Ae(vy,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",_y),document.addEventListener("visibilitychange",Sy),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{Zv.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=()=>(Zi(),ir(Gv));e.setup=(e,o)=>{const i=t&&t(e,o);return g(i)?n:i},e.render=n}});const fC=["憨笑","媚眼","开心","坏笑","可怜","爱心","笑哭","拍手","惊喜","打气","大哭","流泪","饥饿","难受","健身","示爱","色色","眨眼","暴怒","惊恐","思考","头晕","大吐","酷笑","翻滚","享受","鼻涕","快乐","雀跃","微笑","贪婪","红心","粉心","星星","大火","眼睛","音符","叹号","问号","绿叶","燃烧","喇叭","警告","信封","房子","礼物","点赞","举手","拍手","点头","摇头","偷瞄","庆祝","疾跑","打滚","惊吓","起跳"];let mC=e=>{let t=e.replace(/\#|\;/gi,"");return-1==fC.indexOf(t)?e:`<img src="${gC(e)}" style="with:30px;height:30px;\n\t\tmargin: 0 -2px;vertical-align:bottom;"/>`},gC=e=>{let t=e.replace(/\#|\;/gi,"");return`/static/emoji/${fC.indexOf(t)}.gif`};const yC={emoTextList:fC,transform:e=>e.replace(/\#[\u4E00-\u9FA5]{1,3}\;/gi,mC),textToImg:mC,textToPath:gC};let bC=e=>{var t=new Date(new Date-864e5);return t.getYear()===e.getYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()},vC=e=>e.getYear()===(new Date).getYear(),_C=e=>{if(""===e||!e)return"";var t=new Date(e),n=t.getFullYear(),o=t.getMonth()+1;o=o<10?"0"+o:o;var i=t.getDate();i=i<10?"0"+i:i;var r=t.getHours();r=r<10?"0"+r:r;var a=t.getMinutes();a=a<10?"0"+a:a;var s=t.getSeconds();return n+"/"+o+"/"+i+" "+r+":"+a+":"+(s=s<10?"0"+s:s)};const SC=Object.freeze(Object.defineProperty({__proto__:null,formatDateTime:_C,isYear:vC,isYestday:bC,substrTime:(e,t)=>e?8==t?`${e.substring(0,4)}-${e.substring(4,6)}-${e.substring(6,8)}`:`${e.substring(0,4)}-${e.substring(4,6)}-${e.substring(6,8)} ${e.substring(8,10)}:${e.substring(10,12)}:${e.substring(12,14)}`:"",toTimeText:(e,t)=>{var n=new Date(e),o=Date.parse(new Date)-n,i="";return o<=6e4?i="刚刚":o>6e4&&o<36e5?i=Math.floor(o/6e4)+"分钟前":o>=36e5&&o<864e5&&!bC(n)?i=_C(n).substr(11,5):bC(n)?i="昨天"+_C(n).substr(11,5):vC(n)?i=_C(n).substr(5,t?5:14):(i=_C(n),t&&(i=i.substr(2,8))),i}},Symbol.toStringTag,{value:"Module"})),wC={v:"3",version:"3",type:["primary","success","info","error","warning"],color:{"u-primary":"#2979ff","u-warning":"#ff9900","u-success":"#19be6b","u-error":"#fa3534","u-info":"#909399","u-main-color":"#303133","u-content-color":"#606266","u-tips-color":"#909399","u-light-color":"#c0c4cc","up-primary":"#2979ff","up-warning":"#ff9900","up-success":"#19be6b","up-error":"#fa3534","up-info":"#909399","up-main-color":"#303133","up-content-color":"#606266","up-tips-color":"#909399","up-light-color":"#c0c4cc"},unit:"px",interceptor:{navbarLeftClick:null}},xC={toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965},CC={primary:"#3c9cff",info:"#909399",default:"#909399",warning:"#f9ae3d",error:"#f56c6c",success:"#5ac725",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"},{toString:kC}=Object.prototype;function AC(e){return"[object Array]"===kC.call(e)}function TC(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),AC(e))for(let n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.call(null,e[n],n,e)}function IC(){const e={};function t(t,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=IC(e[n],t):e[n]="object"==typeof t?IC({},t):t}for(let n=0,o=arguments.length;n<o;n++)TC(arguments[n],t);return e}function BC(e){return void 0===e}function EC(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function PC(e,t){if(!t)return e;let n;if(o=t,"undefined"!=typeof URLSearchParams&&o instanceof URLSearchParams)n=t.toString();else{const e=[];TC(t,((t,n)=>{null!=t&&(AC(t)?n=`${n}[]`:t=[t],TC(t,(t=>{!function(e){return"[object Date]"===kC.call(e)}(t)?function(e){return null!==e&&"object"==typeof e}(t)&&(t=JSON.stringify(t)):t=t.toISOString(),e.push(`${EC(n)}=${EC(t)}`)})))})),n=e.join("&")}var o;if(n){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}const OC=(e,t)=>{const n={};return e.forEach((e=>{BC(t[e])||(n[e]=t[e])})),n},MC=e=>(e=>new Promise(((t,n)=>{const o=PC((i=e.baseURL,r=e.url,i&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)?function(e,t){return t?`${e.replace(/\/+$/,"")}/${t.replace(/^\/+/,"")}`:e}(i,r):r),e.params);var i,r;const a={url:o,header:e.header,complete:i=>{e.fullPath=o,i.config=e;try{"string"==typeof i.data&&(i.data=JSON.parse(i.data))}catch(r){}!function(e,t,n){const{validateStatus:o}=n.config,i=n.statusCode;!i||o&&!o(i)?t(n):e(n)}(t,n,i)}};let s;if("UPLOAD"===e.method){delete a.header["content-type"],delete a.header["Content-Type"];const t={filePath:e.filePath,name:e.name},n=["files","file","timeout","formData"];s=Hb({...a,...t,...OC(n,e)})}else if("DOWNLOAD"===e.method)BC(e.timeout)||(a.timeout=e.timeout),s=$b(a);else{const t=["data","method","timeout","dataType","responseType","withCredentials"];s=Db({...a,...OC(t,e)})}e.getTask&&e.getTask(s,e)})))(e);function DC(){this.handlers=[]}DC.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},DC.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},DC.prototype.forEach=function(e){this.handlers.forEach((t=>{null!==t&&e(t)}))};const zC=(e,t,n)=>{const o={};return e.forEach((e=>{BC(n[e])?BC(t[e])||(o[e]=t[e]):o[e]=n[e]})),o},RC={baseURL:"",header:{},method:"GET",dataType:"json",responseType:"text",custom:{},timeout:6e4,withCredentials:!1,validateStatus:function(e){return e>=200&&e<300}};var NC=function(){function e(e,t){return null!=t&&e instanceof t}var t,n,o;try{t=Map}catch(s){t=function(){}}try{n=Set}catch(s){n=function(){}}try{o=Promise}catch(s){o=function(){}}function i(r,s,l,c,u){"object"==typeof s&&(l=s.depth,c=s.prototype,u=s.includeNonEnumerable,s=s.circular);var d=[],h=[],p="undefined"!=typeof Buffer;return void 0===s&&(s=!0),void 0===l&&(l=1/0),function r(l,f){if(null===l)return null;if(0===f)return l;var m,g;if("object"!=typeof l)return l;if(e(l,t))m=new t;else if(e(l,n))m=new n;else if(e(l,o))m=new o((function(e,t){l.then((function(t){e(r(t,f-1))}),(function(e){t(r(e,f-1))}))}));else if(i.__isArray(l))m=[];else if(i.__isRegExp(l))m=new RegExp(l.source,a(l)),l.lastIndex&&(m.lastIndex=l.lastIndex);else if(i.__isDate(l))m=new Date(l.getTime());else{if(p&&Buffer.isBuffer(l))return Buffer.from?m=Buffer.from(l):(m=new Buffer(l.length),l.copy(m)),m;e(l,Error)?m=Object.create(l):void 0===c?(g=Object.getPrototypeOf(l),m=Object.create(g)):(m=Object.create(c),g=c)}if(s){var y=d.indexOf(l);if(-1!=y)return h[y];d.push(l),h.push(m)}for(var b in e(l,t)&&l.forEach((function(e,t){var n=r(t,f-1),o=r(e,f-1);m.set(n,o)})),e(l,n)&&l.forEach((function(e){var t=r(e,f-1);m.add(t)})),l){Object.getOwnPropertyDescriptor(l,b)&&(m[b]=r(l[b],f-1));try{if("undefined"===Object.getOwnPropertyDescriptor(l,b).set)continue;m[b]=r(l[b],f-1)}catch(C){if(C instanceof TypeError)continue;if(C instanceof ReferenceError)continue}}if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(l);for(b=0;b<v.length;b++){var _=v[b];(!(w=Object.getOwnPropertyDescriptor(l,_))||w.enumerable||u)&&(m[_]=r(l[_],f-1),Object.defineProperty(m,_,w))}}if(u){var S=Object.getOwnPropertyNames(l);for(b=0;b<S.length;b++){var w,x=S[b];(w=Object.getOwnPropertyDescriptor(l,x))&&w.enumerable||(m[x]=r(l[x],f-1),Object.defineProperty(m,x,w))}}return m}(r,l)}function r(e){return Object.prototype.toString.call(e)}function a(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return i.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},i.__objToStr=r,i.__isDate=function(e){return"object"==typeof e&&"[object Date]"===r(e)},i.__isArray=function(e){return"object"==typeof e&&"[object Array]"===r(e)},i.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===r(e)},i.__getRegExpFlags=a,i}();const LC=new class{constructor(e={}){var t;t=e,"[object Object]"!==Object.prototype.toString.call(t)&&(e={},console.warn("设置全局参数必须接收一个Object")),this.config=NC({...RC,...e}),this.interceptors={request:new DC,response:new DC}}setConfig(e){this.config=e(this.config)}middleware(e){e=((e,t={})=>{const n=t.method||e.method||"GET";let o={baseURL:e.baseURL||"",method:n,url:t.url||"",params:t.params||{},custom:{...e.custom||{},...t.custom||{}},header:IC(e.header||{},t.header||{})};if(o={...o,...zC(["getTask","validateStatus"],e,t)},"DOWNLOAD"===n)BC(t.timeout)?BC(e.timeout)||(o.timeout=e.timeout):o.timeout=t.timeout;else if("UPLOAD"===n)delete o.header["content-type"],delete o.header["Content-Type"],["files","file","filePath","name","timeout","formData"].forEach((e=>{BC(t[e])||(o[e]=t[e])})),BC(o.timeout)&&!BC(e.timeout)&&(o.timeout=e.timeout);else{const n=["data","timeout","dataType","responseType","withCredentials"];o={...o,...zC(n,e,t)}}return o})(this.config,e);const t=[MC,void 0];let n=Promise.resolve(e);for(this.interceptors.request.forEach((e=>{t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((e=>{t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n}request(e={}){return this.middleware(e)}get(e,t={}){return this.middleware({url:e,method:"GET",...t})}post(e,t,n={}){return this.middleware({url:e,data:t,method:"POST",...n})}put(e,t,n={}){return this.middleware({url:e,data:t,method:"PUT",...n})}delete(e,t,n={}){return this.middleware({url:e,data:t,method:"DELETE",...n})}connect(e,t,n={}){return this.middleware({url:e,data:t,method:"CONNECT",...n})}head(e,t,n={}){return this.middleware({url:e,data:t,method:"HEAD",...n})}options(e,t,n={}){return this.middleware({url:e,data:t,method:"OPTIONS",...n})}trace(e,t,n={}){return this.middleware({url:e,data:t,method:"TRACE",...n})}upload(e,t={}){return t.url=e,t.method="UPLOAD",this.middleware(t)}download(e,t={}){return t.url=e,t.method="DOWNLOAD",this.middleware(t)}};function jC(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function $C(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(const t in e)return!1;return!0}return!1}function FC(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function HC(e){return"[object Object]"===Object.prototype.toString.call(e)}function VC(e){return"function"==typeof e}const UC={email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},mobile:function(e){return/^1[23456789]\d{9}$/.test(e)},url:function(e){return/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e)},date:function(e){if(!e)return!1;if("number"==typeof e)return(10===e.toString().length||13===e.toString().length)&&!isNaN(new Date(e).getTime());if("string"==typeof e){const t=Number(e);if(!isNaN(t)&&(10===t.toString().length||13===t.toString().length))return!isNaN(new Date(t).getTime());if(e.length<10||e.length>19)return!1;if(!/^\d{4}[-\/]\d{2}[-\/]\d{2}( \d{1,2}:\d{2}(:\d{2})?)?$/.test(e))return!1;const n=new Date(e);return!isNaN(n.getTime())}return!1},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:jC,digits:function(e){return/^\d+$/.test(e)},idCard:function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},carNo:function(e){const t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,n=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?n.test(e):8===e.length&&t.test(e)},amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},contains:function(e,t){return e.indexOf(t)>=0},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},empty:$C,isEmpty:$C,jsonString:function(e){if("string"==typeof e)try{const t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(t){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:HC,array:FC,code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)},func:VC,promise:function(e){return HC(e)&&VC(e.then)&&VC(e.catch)},video:function(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e)},image:function(e){const t=e.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t)},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e}};function WC(e,t=15){return+parseFloat(Number(e).toPrecision(t))}function QC(e){const t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function qC(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));const t=QC(e);return t>0?WC(Number(e)*Math.pow(10,t)):Number(e)}function GC(e){(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&console.warn(`${e} 超出了精度限制，结果可能不正确`)}function YC(e,t){const[n,o,...i]=e;let r=t(n,o);return i.forEach((e=>{r=t(r,e)})),r}function XC(...e){if(e.length>2)return YC(e,XC);const[t,n]=e,o=qC(t),i=qC(n),r=QC(t)+QC(n),a=o*i;return GC(a),a/Math.pow(10,r)}function JC(...e){if(e.length>2)return YC(e,JC);const[t,n]=e,o=qC(t),i=qC(n);return GC(o),GC(i),XC(o/i,WC(Math.pow(10,QC(n)-QC(t))))}function KC(e=0,t=0,n=0){return Math.max(e,Math.min(t,Number(n)))}function ZC(e,t=!1){return jC(e)?t?`${e}px`:Number(e):/(rpx|upx)$/.test(e)?t?`${Id(parseInt(e))}px`:Number(Id(parseInt(e))):t?`${parseInt(e)}px`:parseInt(e)}function ek(e=30){return new Promise((t=>{setTimeout((()=>{t()}),e)}))}function tk(){return Vy().platform.toLowerCase()}function nk(){return Wy()}function ok(){let e={};return e=jy(),e}function ik(){let e={};return e=Vy(),e}function rk(e,t){if(e>=0&&t>0&&t>=e){const n=t-e+1;return Math.floor(Math.random()*n+e)}return 0}function ak(e=32,t=!0,n=null){const o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[];if(n=n||o.length,e)for(let r=0;r<e;r++)i[r]=o[0|Math.random()*n];else{let e;i[8]=i[13]=i[18]=i[23]="-",i[14]="4";for(let t=0;t<36;t++)i[t]||(e=0|16*Math.random(),i[t]=o[19==t?3&e|8:e])}return t?(i.shift(),`u${i.join("")}`):i.join("")}function sk(e){let t=this.$parent;for(;t;){if(e=e.replace(/up-([a-zA-Z0-9-_]+)/g,"u-$1"),!t.$options||t.$options.name===e)return t;t=t.$parent}return!1}function lk(e,t="object"){if($C(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=gk(e)).split(";"),n={};for(let e=0;e<t.length;e++)if(t[e]){const o=t[e].split(":");n[gk(o[0])]=gk(o[1])}return n}let n="";return"object"==typeof e&&e.forEach(((e,t)=>{const o=t.replace(/([A-Z])/g,"-$1").toLowerCase();n+=`${o}:${e};`})),gk(n)}function ck(e="auto",t=""){return t||(t=wC.unit||"px"),"rpx"==t&&jC(String(e))&&(e*=2),jC(e=String(e))?`${e}${t}`:e}function uk(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;const t=FC(e)?[]:{};for(const n in e)e.hasOwnProperty(n)&&(t[n]="object"==typeof e[n]?uk(e[n]):e[n]);return t}function dk(e={},t={}){let n=uk(e);if("object"!=typeof n||"object"!=typeof t)return!1;for(const o in t)t.hasOwnProperty(o)&&(o in n?null==t[o]||"object"!=typeof n[o]||"object"!=typeof t[o]?n[o]=t[o]:n[o].concat&&t[o].concat?n[o]=n[o].concat(t[o]):n[o]=dk(n[o],t[o]):n[o]=t[o]);return n}function hk(e,t={}){if("object"!=typeof e||"object"!=typeof t)return!1;for(const n in t)t.hasOwnProperty(n)&&(n in e?null==t[n]||"object"!=typeof e[n]||"object"!=typeof t[n]?e[n]=t[n]:e[n].concat&&t[n].concat?e[n]=e[n].concat(t[n]):e[n]=hk(e[n],t[n]):e[n]=t[n]);return e}function pk(e){}function fk(e=[]){return e.sort((()=>Math.random()-.5))}function mk(e=null,t="yyyy-mm-dd"){let n;n=e?/^\d{10}$/.test(e.toString().trim())?new Date(1e3*e):"string"==typeof e&&/^\d+$/.test(e.trim())?new Date(Number(e)):new Date("string"==typeof e?e.replace(/-/g,"/"):e):new Date;const o={y:n.getFullYear().toString(),m:(n.getMonth()+1).toString().padStart(2,"0"),d:n.getDate().toString().padStart(2,"0"),h:n.getHours().toString().padStart(2,"0"),M:n.getMinutes().toString().padStart(2,"0"),s:n.getSeconds().toString().padStart(2,"0")};for(const i in o){const[e]=new RegExp(`${i}+`).exec(t)||[];if(e){const n="y"===i&&2===e.length?2:0;t=t.replace(e,o[i].slice(n))}}return t}function gk(e,t="both"){return e=String(e),"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e}function yk(e={},t=!0,n="brackets"){const o=t?"?":"",i=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");for(const r in e){const t=e[r];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n<t.length;n++)i.push(`${r}[${n}]=${t[n]}`);break;case"brackets":default:t.forEach((e=>{i.push(`${r}[]=${e}`)}));break;case"repeat":t.forEach((e=>{i.push(`${r}=${e}`)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),i.push(`${r}=${e}`)}else i.push(`${r}=${t}`)}return i.length?o+i.join("&"):""}function bk(e,t=2e3){xv({title:String(e),icon:"none",duration:t})}function vk(e="success",t=!1){-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");let n="";switch(e){case"primary":case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;default:n="checkmark-circle"}return t&&(n+="-fill"),n}function _k(e,t=0,n=".",o=","){e=`${e}`.replace(/[^0-9+-Ee.]/g,"");const i=isFinite(+e)?+e:0,r=isFinite(+t)?Math.abs(t):0,a=void 0===o?",":o,s=void 0===n?".":n;let l="";l=(r?function(e,t){const n=Math.pow(10,t);let o=JC(Math.round(Math.abs(XC(e,n))),n);return e<0&&0!==o&&(o=XC(o,-1)),o}(i,r)+"":`${Math.round(i)}`).split(".");const c=/(-?\d+)(\d{3})/;for(;c.test(l[0]);)l[0]=l[0].replace(c,`$1${a}$2`);return(l[1]||"").length<r&&(l[1]=l[1]||"",l[1]+=new Array(r-l[1].length+1).join("0")),l.join(s)}function Sk(e){return`00${e}`.slice(-2)}function wk(e,t){const n=sk.call(e,"u-form-item"),o=sk.call(e,"u-form");n&&o&&o.validateField(n.prop,(()=>{}),t)}function xk(e,t){if("object"!=typeof e||null==e)return"";if("string"!=typeof t||""===t)return"";if(-1!==t.indexOf(".")){const n=t.split(".");let o=e[n[0]]||{};for(let e=1;e<n.length;e++)o&&(o=o[n[e]]);return o}return e[t]}function Ck(e,t,n){if("object"!=typeof e||null==e)return;const o=function(e,t,n){if(1!==t.length)for(;t.length>1;){const i=t[0];e[i]&&"object"==typeof e[i]||(e[i]={}),t.shift(),o(e[i],t,n)}else e[t[0]]=n};if("string"!=typeof t||""===t);else if(-1!==t.indexOf(".")){const i=t.split(".");o(e,i,n)}else e[t]=n}function kk(){const e=Qp();return`/${e[e.length-1].route||""}`}function Ak(e,t=95){const n=function(e){const t=e.toLowerCase().trim();if(t.startsWith("#")){const e=t.replace("#",""),n=3===e.length?e.split("").map((e=>e+e)).join(""):e;return{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16)}}const n=t.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);if(n)return{r:+n[1],g:+n[2],b:+n[3]};throw new Error("Invalid color format")}(e),o=function(e,t,n){e/=255,t/=255,n/=255;const o=Math.max(e,t,n),i=Math.min(e,t,n);let r,a,s=(o+i)/2;if(o===i)r=a=0;else{const l=o-i;switch(a=s>.5?l/(2-o-i):l/(o+i),o){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r=(60*r).toFixed(1)}return{h:+r,s:+(100*a).toFixed(1),l:+(100*s).toFixed(1)}}(n.r,n.g,n.b),i={h:o.h,s:o.s,l:Math.min(t,95)};return function(e,t,n){n/=100;const o=t*Math.min(n,1-n)/100,i=t=>{const i=(t+e/30)%12,r=n-o*Math.max(Math.min(i-3,9-i,1),-1);return Math.round(255*r).toString(16).padStart(2,"0")};return`#${i(0)}${i(8)}${i(4)}`}(i.h,i.s,i.l)}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");const n=this;if(n.length>=e)return String(n);const o=e-n.length;let i=Math.ceil(o/t.length);for(;i>>=1;)t+=t,1===i&&(t+=t);return t.slice(0,o)+n});const Tk={range:KC,getPx:ZC,sleep:ek,os:tk,sys:nk,getWindowInfo:ok,random:rk,guid:ak,$parent:sk,addStyle:lk,addUnit:ck,deepClone:uk,deepMerge:dk,shallowMerge:hk,error:pk,randomArray:fk,timeFormat:mk,timeFrom:function(e=null,t="yyyy-mm-dd"){null==e&&(e=Number(new Date)),10==(e=parseInt(e)).toString().length&&(e*=1e3);let n=(new Date).getTime()-e;n=parseInt(n/1e3);let o="";switch(!0){case n<300:o="刚刚";break;case n>=300&&n<3600:o=`${parseInt(n/60)}分钟前`;break;case n>=3600&&n<86400:o=`${parseInt(n/3600)}小时前`;break;case n>=86400&&n<2592e3:o=`${parseInt(n/86400)}天前`;break;default:o=!1===t?n>=2592e3&&n<31536e3?`${parseInt(n/2592e3)}个月前`:`${parseInt(n/31536e3)}年前`:mk(e,t)}return o},trim:gk,queryParams:yk,toast:bk,type2icon:vk,priceFormat:_k,getDuration:function(e,t=!0){const n=parseInt(e);return t?/s$/.test(e)?e:e>30?`${e}ms`:`${e}s`:/ms$/.test(e)?n:/s$/.test(e)?n>30?n:1e3*n:n},padZero:Sk,formValidate:wk,getProperty:xk,setProperty:Ck,page:kk,pages:function(){return Qp()},getValueByPath:function(e,t){return t.split(".").reduce(((e,t)=>e&&void 0!==e[t]?e[t]:void 0),e)},genLightColor:Ak},Ik={calendar:{title:"日期选择",showTitle:!0,showSubtitle:!0,mode:"single",startText:"开始",endText:"结束",customList:[],color:"#3c9cff",minDate:0,maxDate:0,defaultDate:null,maxCount:Number.MAX_SAFE_INTEGER,rowHeight:56,formatter:null,showLunar:!1,showMark:!0,confirmText:"确定",confirmDisabledText:"确定",show:!1,closeOnClickOverlay:!1,readonly:!1,showConfirm:!0,maxRange:Number.MAX_SAFE_INTEGER,rangePrompt:"",showRangePrompt:!0,allowSameDay:!1,round:0,monthNum:3,weekText:["一","二","三","四","五","六","日"],forbidDays:[],forbidDaysToast:"该日期已禁用"}},Bk={datetimePicker:{show:!1,popupMode:"bottom",showToolbar:!0,value:"",title:"",mode:"datetime",maxDate:new Date((new Date).getFullYear()+10,0,1).getTime(),minDate:new Date((new Date).getFullYear()-10,0,1).getTime(),minHour:0,maxHour:23,minMinute:0,maxMinute:59,filter:null,formatter:null,loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,closeOnClickOverlay:!1,defaultIndex:[]}},{color:Ek}=wC,Pk={icon:{name:"",color:Ek["u-content-color"],size:"16px",bold:!1,index:"",hoverClass:"",customPrefix:"uicon",label:"",labelPos:"right",labelSize:"15px",labelColor:Ek["u-content-color"],space:"3px",imgMode:"",width:"",height:"",top:0,stop:!1}},{color:Ok}=wC,Mk={link:{color:Ok["u-primary"],fontSize:15,underLine:!1,href:"",mpTips:"链接已复制，请在浏览器打开",lineColor:"",text:""}},{color:Dk}=wC,zk={actionSheet:{show:!1,title:"",description:"",actions:[],index:"",cancelText:"",closeOnClickAction:!0,safeAreaInsetBottom:!0,openType:"",closeOnClickOverlay:!0,round:0,wrapMaxHeight:"600px"},album:{urls:[],keyName:"",singleSize:180,multipleSize:70,space:6,singleMode:"scaleToFill",multipleMode:"aspectFill",maxCount:9,previewFullImage:!0,rowCount:3,showMore:!0,autoWrap:!1,unit:"px",stop:!0},alert:{title:"",type:"warning",description:"",closable:!1,showIcon:!1,effect:"light",center:!1,fontSize:14},avatar:{src:"",shape:"circle",size:40,mode:"scaleToFill",text:"",bgColor:"#c0c4cc",color:"#ffffff",fontSize:18,icon:"",mpAvatar:!1,randomBgColor:!1,defaultUrl:"",colorIndex:"",name:""},avatarGroup:{urls:[],maxCount:5,shape:"circle",mode:"scaleToFill",showMore:!0,size:40,keyName:"",gap:.5,extraValue:0},backtop:{mode:"circle",icon:"arrow-upward",text:"",duration:100,scrollTop:0,top:400,bottom:100,right:20,zIndex:9,iconStyle:{color:"#909399",fontSize:"19px"}},badge:{isDot:!1,value:"",show:!0,max:999,type:"error",showZero:!1,bgColor:null,color:null,shape:"circle",numberType:"overflow",offset:[],inverted:!1,absolute:!1},button:{hairline:!1,type:"info",size:"normal",shape:"square",plain:!1,disabled:!1,loading:!1,loadingText:"",loadingMode:"spinner",loadingSize:15,openType:"",formType:"",appParameter:"",hoverStopPropagation:!0,lang:"en",sessionFrom:"",sendMessageTitle:"",sendMessagePath:"",sendMessageImg:"",showMessageCard:!1,dataName:"",throttleTime:0,hoverStartTime:0,hoverStayTime:200,text:"",icon:"",iconColor:"",color:"",stop:!0},...Ik,carKeyboard:{random:!1},cell:{customClass:"",title:"",label:"",value:"",icon:"",disabled:!1,border:!0,center:!1,url:"",linkType:"navigateTo",clickable:!1,isLink:!1,required:!1,arrowDirection:"",iconStyle:{},rightIconStyle:{},rightIcon:"arrow-right",titleStyle:{},size:"",stop:!0,name:""},cellGroup:{title:"",border:!0,customStyle:{}},checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""},checkboxGroup:{name:"",value:[],shape:"square",disabled:!1,activeColor:"#2979ff",inactiveColor:"#c8c9cc",size:18,placement:"row",labelSize:14,labelColor:"#303133",labelDisabled:!1,iconColor:"#ffffff",iconSize:12,iconPlacement:"left",borderBottom:!1},circleProgress:{percentage:30},code:{seconds:60,startText:"获取验证码",changeText:"X秒重新获取",endText:"重新获取",keepRunning:!1,uniqueKey:""},codeInput:{adjustPosition:!0,maxlength:6,dot:!1,mode:"box",hairline:!1,space:10,value:"",focus:!1,bold:!1,color:"#606266",fontSize:18,size:35,disabledKeyboard:!1,borderColor:"#c9cacc",disabledDot:!0},col:{span:12,offset:0,justify:"start",align:"stretch",textAlign:"left"},collapse:{value:null,accordion:!1,border:!0},collapseItem:{title:"",value:"",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0,align:"left",name:"",icon:"",duration:300,showRight:!0,titleStyle:{},iconStyle:{},rightIconStyle:{},cellCustomStyle:{},cellCustomClass:""},columnNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80,step:!1,duration:1500,disableTouch:!0,justifyContent:"flex-start"},countDown:{time:0,format:"HH:mm:ss",autoStart:!0,millisecond:!1},countTo:{startVal:0,endVal:0,duration:2e3,autoplay:!0,decimals:0,useEasing:!0,decimal:".",color:"#606266",fontSize:22,bold:!1,separator:""},...Bk,divider:{dashed:!1,hairline:!0,dot:!1,textPosition:"center",text:"",textSize:14,textColor:"#909399",lineColor:"#dcdfe6"},empty:{icon:"",text:"",textColor:"#c0c4cc",textSize:14,iconColor:"#c0c4cc",iconSize:90,mode:"data",width:160,height:160,show:!0,marginTop:0},form:{model:{},rules:{},errorType:"message",borderBottom:!0,labelPosition:"left",labelWidth:45,labelAlign:"left",labelStyle:{}},formItem:{label:"",prop:"",rules:[],borderBottom:"",labelPosition:"",labelWidth:"",rightIcon:"",leftIcon:"",required:!1,leftIconStyle:""},gap:{bgColor:"transparent",height:20,marginTop:0,marginBottom:0,customStyle:{}},grid:{col:3,border:!1,align:"left"},gridItem:{name:null,bgColor:"transparent"},...Pk,image:{src:"",mode:"aspectFill",width:"300",height:"225",shape:"square",radius:0,lazyLoad:!0,showMenuByLongpress:!0,loadingIcon:"photo",errorIcon:"error-circle",showLoading:!0,showError:!0,fade:!0,webp:!1,duration:500,bgColor:"#f3f4f6"},indexAnchor:{text:"",color:"#606266",size:14,bgColor:"#dedede",height:32},indexList:{inactiveColor:"#606266",activeColor:"#5677fc",indexList:[],sticky:!0,customNavHeight:0,safeBottomFix:!1},input:{value:"",type:"text",fixed:!1,disabled:!1,disabledColor:"#f5f7fa",clearable:!1,password:!1,maxlength:140,placeholder:null,placeholderClass:"input-placeholder",placeholderStyle:"color: #c0c4cc",showWordLimit:!1,confirmType:"done",confirmHold:!1,holdKeyboard:!1,focus:!1,autoBlur:!1,disableDefaultPadding:!1,cursor:-1,cursorSpacing:30,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,inputAlign:"left",fontSize:"15px",color:"#303133",prefixIcon:"",prefixIconStyle:"",suffixIcon:"",suffixIconStyle:"",border:"surround",readonly:!1,shape:"square",formatter:null},keyboard:{mode:"number",dotDisabled:!1,tooltip:!0,showTips:!0,tips:"",showCancel:!0,showConfirm:!0,random:!1,safeAreaInsetBottom:!0,closeOnClickOverlay:!0,show:!1,overlay:!0,zIndex:10075,cancelText:"取消",confirmText:"确定",autoChange:!1},line:{color:"#d6d7d9",length:"100%",direction:"row",hairline:!0,margin:0,dashed:!1},lineProgress:{activeColor:"#19be6b",inactiveColor:"#ececec",percentage:0,showText:!0,height:12},...Mk,list:{showScrollbar:!1,lowerThreshold:50,upperThreshold:0,scrollTop:0,offsetAccuracy:10,enableFlex:!1,pagingEnabled:!1,scrollable:!0,scrollIntoView:"",scrollWithAnimation:!1,enableBackToTop:!1,height:0,width:0,preLoadScreen:1},listItem:{anchor:""},...{loadingIcon:{show:!0,color:Dk["u-tips-color"],textColor:Dk["u-tips-color"],vertical:!1,mode:"spinner",size:24,textSize:15,text:"",timingFunction:"ease-in-out",duration:1200,inactiveColor:""}},loadingPage:{loadingText:"正在加载",image:"",loadingMode:"circle",loading:!1,bgColor:"#ffffff",color:"#C8C8C8",fontSize:19,iconSize:28,loadingColor:"#C8C8C8",zIndex:10},loadmore:{status:"loadmore",bgColor:"transparent",icon:!0,fontSize:14,iconSize:17,color:"#606266",loadingIcon:"spinner",loadmoreText:"加载更多",loadingText:"正在加载...",nomoreText:"没有更多了",isDot:!1,iconColor:"#b7b7b7",marginTop:10,marginBottom:10,height:"auto",line:!1,lineColor:"#E6E8EB",dashed:!1},modal:{show:!1,title:"",content:"",confirmText:"确认",cancelText:"取消",showConfirmButton:!0,showCancelButton:!1,confirmColor:"#2979ff",cancelColor:"#606266",buttonReverse:!1,zoom:!0,asyncClose:!1,closeOnClickOverlay:!1,negativeTop:0,width:"650rpx",confirmButtonShape:"",contentTextAlign:"left",asyncCloseTip:"操作中...",asyncCancelClose:!1},...{navbar:{safeAreaInsetTop:!0,placeholder:!1,fixed:!0,border:!1,leftIcon:"arrow-left",leftText:"",rightText:"",rightIcon:"",title:"",titleColor:"",bgColor:"#ffffff",titleWidth:"400rpx",height:"44px",leftIconSize:20,leftIconColor:CC.mainColor,autoBack:!1,titleStyle:""}},noNetwork:{tips:"哎呀，网络信号丢失",zIndex:"",image:"data:image/png;base64, "},noticeBar:{text:[],direction:"row",step:!1,icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",speed:80,fontSize:14,duration:2e3,disableTouch:!0,url:"",linkType:"navigateTo",justifyContent:"flex-start"},notify:{top:0,type:"primary",color:"#ffffff",bgColor:"",message:"",duration:3e3,fontSize:15,safeAreaInsetTop:!1},...{numberBox:{name:"",value:0,min:1,max:Number.MAX_SAFE_INTEGER,step:1,integer:!1,disabled:!1,disabledInput:!1,asyncChange:!1,inputWidth:35,showMinus:!0,showPlus:!0,decimalLength:null,longPress:!0,color:"#323233",buttonWidth:30,buttonSize:30,buttonRadius:"0px",bgColor:"#EBECEE",inputBgColor:"#EBECEE",cursorSpacing:100,disableMinus:!1,disablePlus:!1,iconStyle:"",miniMode:!1}},numberKeyboard:{mode:"number",dotDisabled:!1,random:!1},overlay:{show:!1,zIndex:10070,duration:300,opacity:.5},parse:{copyLink:!0,errorImg:"",lazyLoad:!1,loadingImg:"",pauseVideo:!0,previewImg:!0,setTitle:!0,showImgMenu:!0},picker:{show:!1,popupMode:"bottom",showToolbar:!0,title:"",columns:[],loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确定",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,keyName:"text",closeOnClickOverlay:!1,defaultIndex:[],immediateChange:!0,zIndex:10076},popup:{show:!1,overlay:!0,mode:"bottom",duration:300,closeable:!1,overlayStyle:{},closeOnClickOverlay:!0,zIndex:10075,safeAreaInsetBottom:!0,safeAreaInsetTop:!1,closeIconPos:"top-right",round:0,zoom:!0,bgColor:"",overlayOpacity:.5},radio:{name:"",shape:"",disabled:"",labelDisabled:"",activeColor:"",inactiveColor:"",iconSize:"",labelSize:"",label:"",labelColor:"",size:"",iconColor:"",placement:""},radioGroup:{value:"",disabled:!1,shape:"circle",activeColor:"#2979ff",inactiveColor:"#c8c9cc",name:"",size:18,placement:"row",label:"",labelColor:"#303133",labelSize:14,labelDisabled:!1,iconColor:"#ffffff",iconSize:12,borderBottom:!1,iconPlacement:"left",gap:"10px"},rate:{value:1,count:5,disabled:!1,size:18,inactiveColor:"#b2b2b2",activeColor:"#FA3534",gutter:4,minCount:1,allowHalf:!1,activeIcon:"star-fill",inactiveIcon:"star",touchable:!0},readMore:{showHeight:400,toggle:!1,closeText:"展开阅读全文",openText:"收起",color:"#2979ff",fontSize:14,textIndent:"2em",name:""},row:{gutter:0,justify:"start",align:"center"},rowNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80},scrollList:{indicatorWidth:50,indicatorBarWidth:20,indicator:!0,indicatorColor:"#f2f2f2",indicatorActiveColor:"#3c9cff",indicatorStyle:""},search:{shape:"round",bgColor:"#f2f2f2",placeholder:"请输入关键字",clearabled:!0,focus:!1,showAction:!0,actionStyle:{},actionText:"搜索",inputAlign:"left",inputStyle:{},disabled:!1,borderColor:"transparent",searchIconColor:"#909399",searchIconSize:22,color:"#606266",placeholderColor:"#909399",searchIcon:"search",margin:"0",animation:!1,value:"",maxlength:"-1",height:32,label:null},section:{title:"",subTitle:"更多",right:!0,fontSize:15,bold:!0,color:"#303133",subColor:"#909399",showLine:!0,lineColor:"",arrow:!0},skeleton:{loading:!0,animate:!0,rows:0,rowsWidth:"100%",rowsHeight:18,title:!0,titleWidth:"50%",titleHeight:18,avatar:!1,avatarSize:32,avatarShape:"circle"},slider:{value:0,blockSize:18,min:0,max:100,step:1,activeColor:"#2979ff",inactiveColor:"#c0c4cc",blockColor:"#ffffff",showValue:!1,disabled:!1,blockStyle:{},useNative:!1,height:"2px"},statusBar:{bgColor:"transparent"},steps:{direction:"row",current:0,activeColor:"#3c9cff",inactiveColor:"#969799",activeIcon:"",inactiveIcon:"",dot:!1},stepsItem:{title:"",desc:"",iconSize:17,error:!1},sticky:{offsetTop:0,customNavHeight:0,disabled:!1,bgColor:"transparent",zIndex:"",index:""},subsection:{list:[],current:0,activeColor:"#3c9cff",inactiveColor:"#303133",mode:"button",fontSize:12,bold:!0,bgColor:"#eeeeef",keyName:"name"},swipeAction:{autoClose:!0},swipeActionItem:{show:!1,closeOnClick:!0,name:"",disabled:!1,threshold:20,autoClose:!0,options:[],duration:300},swiper:{list:[],indicator:!1,indicatorActiveColor:"#FFFFFF",indicatorInactiveColor:"rgba(255, 255, 255, 0.35)",indicatorStyle:"",indicatorMode:"line",autoplay:!0,current:0,currentItemId:"",interval:3e3,duration:300,circular:!1,previousMargin:0,nextMargin:0,acceleration:!1,displayMultipleItems:1,easingFunction:"default",keyName:"url",imgMode:"aspectFill",height:130,bgColor:"#f3f4f6",radius:4,loading:!1,showTitle:!1},swiperIndicator:{length:0,current:0,indicatorActiveColor:"",indicatorInactiveColor:"",indicatorMode:"line"},switch:{loading:!1,disabled:!1,size:25,activeColor:"#2979ff",inactiveColor:"#ffffff",value:!1,activeValue:!0,inactiveValue:!1,asyncChange:!1,space:0},tabbar:{value:null,safeAreaInsetBottom:!0,border:!0,zIndex:1,activeColor:"#1989fa",inactiveColor:"#7d7e80",fixed:!0,placeholder:!0},tabbarItem:{name:null,icon:"",badge:null,dot:!1,text:"",badgeStyle:"top: 6px;right:2px;"},tabs:{duration:300,list:[],lineColor:"#3c9cff",activeStyle:{color:"#303133"},inactiveStyle:{color:"#606266"},lineWidth:20,lineHeight:3,lineBgSize:"cover",itemStyle:{height:"44px"},scrollable:!0,current:0,keyName:"name",iconStyle:{}},tag:{type:"primary",disabled:!1,size:"medium",shape:"square",text:"",bgColor:"",color:"",borderColor:"",closeColor:"#C6C7CB",name:"",plainFill:!1,plain:!1,closable:!1,show:!0,icon:"",iconColor:"",textSize:"",height:"",padding:"",borderRadius:"",autoBgColor:0},text:{type:"",show:!0,text:"",prefixIcon:"",suffixIcon:"",mode:"",href:"",format:"",call:!1,openType:"",bold:!1,block:!1,lines:"",color:"#303133",size:15,iconStyle:{fontSize:"15px"},decoration:"none",margin:0,lineHeight:"",align:"left",wordWrap:"normal",flex1:!0},textarea:{value:"",placeholder:"",placeholderClass:"textarea-placeholder",placeholderStyle:"color: #c0c4cc",height:70,confirmType:"done",disabled:!1,count:!1,focus:!1,autoHeight:!1,fixed:!1,cursorSpacing:0,cursor:"",showConfirmBar:!0,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,disableDefaultPadding:!1,holdKeyboard:!1,maxlength:140,border:"surround",formatter:null},toast:{zIndex:10090,loading:!1,message:"",icon:"",type:"",loadingMode:"",show:"",overlay:!1,position:"center",params:{},duration:2e3,isTab:!1,url:"",callback:null,back:!1},toolbar:{show:!0,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",title:""},tooltip:{text:"",copyText:"",size:14,color:"#606266",bgColor:"transparent",direction:"top",zIndex:10071,showCopy:!0,buttons:[],overlay:!0,showToast:!0},transition:{show:!1,mode:"fade",duration:"300",timingFunction:"ease-out"},...{upload:{accept:"image",extension:[],capture:["album","camera"],compressed:!0,camera:"back",maxDuration:60,uploadIcon:"camera-fill",uploadIconColor:"#D3D4D6",useBeforeRead:!1,previewFullImage:!0,maxCount:52,disabled:!1,imageMode:"aspectFill",name:"",sizeType:["original","compressed"],multiple:!1,deletable:!0,maxSize:Number.MAX_VALUE,fileList:[],uploadText:"",width:80,height:80,previewImage:!0,autoDelete:!1,autoUpload:!1,autoUploadApi:"",autoUploadAuthUrl:"",autoUploadDriver:"",autoUploadHeader:{},getVideoThumb:!1}}};if(uni&&uni.upuiParams){console.log("setting uview-plus");let e=uni.upuiParams();e.httpIns&&e.httpIns(LC),e.options&&(Rk=e.options,hk(wC,Rk.config||{}),hk(zk,Rk.props||{}),hk(CC,Rk.color||{}),hk(xC,Rk.zIndex||{}))}var Rk;const Nk={props:{model:{type:Object,default:()=>zk.form.model},rules:{type:[Object,Function,Array],default:()=>zk.form.rules},errorType:{type:String,default:()=>zk.form.errorType},borderBottom:{type:Boolean,default:()=>zk.form.borderBottom},labelPosition:{type:String,default:()=>zk.form.labelPosition},labelWidth:{type:[String,Number],default:()=>zk.form.labelWidth},labelAlign:{type:String,default:()=>zk.form.labelAlign},labelStyle:{type:Object,default:()=>zk.form.labelStyle}}},Lk={};const jk=(new class{constructor(){this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}addRootPath(e){return"/"===e[0]?e:`/${e}`}mixinParam(e,t){e=e&&this.addRootPath(e);let n="";return/.*\/.*\?.*=.*/.test(e)?(n=yk(t,!1),e+`&${n}`):(n=yk(t),e+n)}async route(e={},t={}){let n={};if("string"==typeof e?(n.url=this.mixinParam(e,t),n.type="navigateTo"):(n=dk(this.config,e),n.url=this.mixinParam(e.url,e.params)),n.url!==kk())if(t.intercept&&(this.config.intercept=t.intercept),n.params=t,n=dk(this.config,n),"function"==typeof uni.$u.routeIntercept){await new Promise(((e,t)=>{uni.$u.routeIntercept(n,e)}))&&this.openPage(n)}else this.openPage(n)}openPage(e){const{url:t,type:n,delta:o,animationType:i,animationDuration:r}=e;"navigateTo"!=e.type&&"to"!=e.type||nv({url:t,animationType:i,animationDuration:r}),"redirectTo"!=e.type&&"redirect"!=e.type||Cp({url:t}),"switchTab"!=e.type&&"tab"!=e.type||wp({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||Ap({url:t}),"navigateBack"!=e.type&&"back"!=e.type||tv({delta:o})}}).route,$k={props:{customStyle:{type:[Object,String],default:()=>({})},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},created(){this.$u.getRect=this.$uGetRect},computed:{$u:()=>dk(uni.$u,{props:void 0,http:void 0,mixin:void 0}),bem:()=>function(e,t,n){const o=`u-${e}--`,i={};return t&&t.map((e=>{i[o+this[e]]=!0})),n&&n.map((e=>{this[e]?i[o+e]=this[e]:delete i[o+e]})),Object.keys(i)}},methods:{openPage(e="url"){const t=this[e];t&&jk({type:this.linkType,url:t})},navTo(e="",t="navigateTo"){jk({type:this.linkType,url:e})},$uGetRect(e,t){return new Promise((n=>{bh().in(this)[t?"selectAll":"select"](e).boundingClientRect((e=>{t&&Array.isArray(e)&&e.length&&n(e),!t&&e&&n(e)})).exec()}))},getParentData(e=""){this.parent||(this.parent={}),this.parent=sk.call(this,e),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map((e=>{this.parentData[e]=this.parent[e]}))},preventEvent(e){e&&"function"==typeof e.stopPropagation&&e.stopPropagation()},noop(e){this.preventEvent(e)}},onReachBottom(){zd("uOnReachBottom")},beforeUnmount(){if(this.parent&&UC.array(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}}};const Fk=/%[sdj%]/g;let Hk=function(){};function Vk(e){if(!e||!e.length)return null;const t={};return e.forEach((e=>{const{field:n}=e;t[n]=t[n]||[],t[n].push(e)})),t}function Uk(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];let o=1;const i=t[0],r=t.length;if("function"==typeof i)return i.apply(null,t.slice(1));if("string"==typeof i){let e=String(i).replace(Fk,(e=>{if("%%"===e)return"%";if(o>=r)return e;switch(e){case"%s":return String(t[o++]);case"%d":return Number(t[o++]);case"%j":try{return JSON.stringify(t[o++])}catch(n){return"[Circular]"}break;default:return e}}));for(let n=t[o];o<r;n=t[++o])e+=` ${n}`;return e}return i}function Wk(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function Qk(e,t,n){let o=0;const i=e.length;!function r(a){if(a&&a.length)return void n(a);const s=o;o+=1,s<i?t(e[s],r):n([])}([])}function qk(e,t,n,o){if(t.first){const t=new Promise(((t,i)=>{const r=function(e){const t=[];return Object.keys(e).forEach((n=>{t.push.apply(t,e[n])})),t}(e);Qk(r,n,(function(e){return o(e),e.length?i({errors:e,fields:Vk(e)}):t()}))}));return t.catch((e=>e)),t}let i=t.firstFields||[];!0===i&&(i=Object.keys(e));const r=Object.keys(e),a=r.length;let s=0;const l=[],c=new Promise(((t,c)=>{const u=function(e){if(l.push.apply(l,e),s++,s===a)return o(l),l.length?c({errors:l,fields:Vk(l)}):t()};r.length||(o(l),t()),r.forEach((t=>{const o=e[t];-1!==i.indexOf(t)?Qk(o,n,u):function(e,t,n){const o=[];let i=0;const r=e.length;function a(e){o.push.apply(o,e),i++,i===r&&n(o)}e.forEach((e=>{t(e,a)}))}(o,n,u)}))}));return c.catch((e=>e)),c}function Gk(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:"function"==typeof t?t():t,field:t.field||e.fullField}}}function Yk(e,t){if(t)for(const n in t)if(t.hasOwnProperty(n)){const o=t[n];"object"==typeof o&&"object"==typeof e[n]?e[n]={...e[n],...o}:e[n]=o}return e}function Xk(e,t,n,o,i,r){!e.required||n.hasOwnProperty(e.field)&&!Wk(t,r||e.type)||o.push(Uk(i.messages.required,e.fullField))}const Jk={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i};var Kk={integer:function(e){return/^(-)?\d+$/.test(e)},float:function(e){return/^(-)?\d+(\.\d+)?$/.test(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof+e},object:function(e){return"object"==typeof e&&!Kk.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(Jk.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(Jk.url)},hex:function(e){return"string"==typeof e&&!!e.match(Jk.hex)}};const Zk={required:Xk,whitespace:function(e,t,n,o,i){(/^\s+$/.test(t)||""===t)&&o.push(Uk(i.messages.whitespace,e.fullField))},type:function(e,t,n,o,i){if(e.required&&void 0===t)return void Xk(e,t,n,o,i);const r=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(r)>-1?Kk[r](t)||o.push(Uk(i.messages.types[r],e.fullField,e.type)):r&&typeof t!==e.type&&o.push(Uk(i.messages.types[r],e.fullField,e.type))},range:function(e,t,n,o,i){const r="number"==typeof e.len,a="number"==typeof e.min,s="number"==typeof e.max,l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;let c=t,u=null;const d="number"==typeof t,h="string"==typeof t,p=Array.isArray(t);if(d?u="number":h?u="string":p&&(u="array"),!u)return!1;p&&(c=t.length),h&&(c=t.replace(l,"_").length),r?c!==e.len&&o.push(Uk(i.messages[u].len,e.fullField,e.len)):a&&!s&&c<e.min?o.push(Uk(i.messages[u].min,e.fullField,e.min)):s&&!a&&c>e.max?o.push(Uk(i.messages[u].max,e.fullField,e.max)):a&&s&&(c<e.min||c>e.max)&&o.push(Uk(i.messages[u].range,e.fullField,e.min,e.max))},enum:function(e,t,n,o,i){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(Uk(i.messages.enum,e.fullField,e.enum.join(", ")))},pattern:function(e,t,n,o,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(Uk(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(Uk(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};function eA(e,t,n,o,i){const r=e.type,a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(Wk(t,r)&&!e.required)return n();Zk.required(e,t,o,a,i,r),Wk(t,r)||Zk.type(e,t,o,a,i)}n(a)}const tA={string:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(Wk(t,"string")&&!e.required)return n();Zk.required(e,t,o,r,i,"string"),Wk(t,"string")||(Zk.type(e,t,o,r,i),Zk.range(e,t,o,r,i),Zk.pattern(e,t,o,r,i),!0===e.whitespace&&Zk.whitespace(e,t,o,r,i))}n(r)},method:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(Wk(t)&&!e.required)return n();Zk.required(e,t,o,r,i),void 0!==t&&Zk.type(e,t,o,r,i)}n(r)},number:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(""===t&&(t=void 0),Wk(t)&&!e.required)return n();Zk.required(e,t,o,r,i),void 0!==t&&(Zk.type(e,t,o,r,i),Zk.range(e,t,o,r,i))}n(r)},boolean:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(Wk(t)&&!e.required)return n();Zk.required(e,t,o,r,i),void 0!==t&&Zk.type(e,t,o,r,i)}n(r)},regexp:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(Wk(t)&&!e.required)return n();Zk.required(e,t,o,r,i),Wk(t)||Zk.type(e,t,o,r,i)}n(r)},integer:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(Wk(t)&&!e.required)return n();Zk.required(e,t,o,r,i),void 0!==t&&(Zk.type(e,t,o,r,i),Zk.range(e,t,o,r,i))}n(r)},float:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(Wk(t)&&!e.required)return n();Zk.required(e,t,o,r,i),void 0!==t&&(Zk.type(e,t,o,r,i),Zk.range(e,t,o,r,i))}n(r)},array:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(Wk(t,"array")&&!e.required)return n();Zk.required(e,t,o,r,i,"array"),Wk(t,"array")||(Zk.type(e,t,o,r,i),Zk.range(e,t,o,r,i))}n(r)},object:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(Wk(t)&&!e.required)return n();Zk.required(e,t,o,r,i),void 0!==t&&Zk.type(e,t,o,r,i)}n(r)},enum:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(Wk(t)&&!e.required)return n();Zk.required(e,t,o,r,i),void 0!==t&&Zk.enum(e,t,o,r,i)}n(r)},pattern:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(Wk(t,"string")&&!e.required)return n();Zk.required(e,t,o,r,i),Wk(t,"string")||Zk.pattern(e,t,o,r,i)}n(r)},date:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(Wk(t)&&!e.required)return n();if(Zk.required(e,t,o,r,i),!Wk(t)){let n;n="number"==typeof t?new Date(t):t,Zk.type(e,n,o,r,i),n&&Zk.range(e,n.getTime(),o,r,i)}}n(r)},url:eA,hex:eA,email:eA,required:function(e,t,n,o,i){const r=[],a=Array.isArray(t)?"array":typeof t;Zk.required(e,t,o,r,i,a),n(r)},any:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(Wk(t)&&!e.required)return n();Zk.required(e,t,o,r,i)}n(r)}};function nA(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){const e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}const oA=nA();function iA(e){this.rules=null,this._messages=oA,this.define(e)}iA.prototype={messages:function(e){return e&&(this._messages=Yk(nA(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");let t,n;for(t in this.rules={},e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e,t,n){const o=this;void 0===t&&(t={}),void 0===n&&(n=function(){});let i,r,a=e,s=t,l=n;if("function"==typeof s&&(l=s,s={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(),Promise.resolve();if(s.messages){let e=this.messages();e===oA&&(e=nA()),Yk(e,s.messages),s.messages=e}else s.messages=this.messages();const c={};(s.keys||Object.keys(this.rules)).forEach((t=>{i=o.rules[t],r=a[t],i.forEach((n=>{let i=n;"function"==typeof i.transform&&(a===e&&(a={...a}),r=a[t]=i.transform(r)),i="function"==typeof i?{validator:i}:{...i},i.validator=o.getValidationMethod(i),i.field=t,i.fullField=i.fullField||t,i.type=o.getType(i),i.validator&&(c[t]=c[t]||[],c[t].push({rule:i,value:r,source:a,field:t}))}))}));const u={};return qk(c,s,((e,t)=>{const{rule:n}=e;let o,i=!("object"!==n.type&&"array"!==n.type||"object"!=typeof n.fields&&"object"!=typeof n.defaultField);function r(e,t){return{...t,fullField:`${n.fullField}.${e}`}}function a(o){void 0===o&&(o=[]);let a=o;if(Array.isArray(a)||(a=[a]),!s.suppressWarning&&a.length&&iA.warning("async-validator:",a),a.length&&n.message&&(a=[].concat(n.message)),a=a.map(Gk(n)),s.first&&a.length)return u[n.field]=1,t(a);if(i){if(n.required&&!e.value)return a=n.message?[].concat(n.message).map(Gk(n)):s.error?[s.error(n,Uk(s.messages.required,n.field))]:[],t(a);let o={};if(n.defaultField)for(const t in e.value)e.value.hasOwnProperty(t)&&(o[t]=n.defaultField);o={...o,...e.rule.fields};for(const e in o)if(o.hasOwnProperty(e)){const t=Array.isArray(o[e])?o[e]:[o[e]];o[e]=t.map(r.bind(null,e))}const i=new iA(o);i.messages(s.messages),e.rule.options&&(e.rule.options.messages=s.messages,e.rule.options.error=s.error),i.validate(e.value,e.rule.options||s,(e=>{const n=[];a&&a.length&&n.push.apply(n,a),e&&e.length&&n.push.apply(n,e),t(n.length?n:null)}))}else t(a)}i=i&&(n.required||!n.required&&e.value),n.field=e.field,n.asyncValidator?o=n.asyncValidator(n,e.value,a,e.source,s):n.validator&&(o=n.validator(n,e.value,a,e.source,s),!0===o?a():!1===o?a(n.message||`${n.field} fails`):o instanceof Array?a(o):o instanceof Error&&a(o.message)),o&&o.then&&o.then((()=>a()),(e=>a(e)))}),(e=>{!function(e){let t,n=[],o={};function i(e){if(Array.isArray(e)){let t;n=(t=n).concat.apply(t,e)}else n.push(e)}for(t=0;t<e.length;t++)i(e[t]);n.length?o=Vk(n):(n=null,o=null),l(n,o)}(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!tA.hasOwnProperty(e.type))throw new Error(Uk("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"==typeof e.validator)return e.validator;const t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?tA.required:tA[this.getType(e)]||!1}},iA.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");tA[e]=t},iA.warning=Hk,iA.messages=oA;const rA=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};iA.warning=function(){};const aA=rA({name:"u-form",mixins:[Lk,$k,Nk],provide(){return{uForm:this}},data:()=>({formRules:{},validator:{},originalModel:null}),watch:{rules:{immediate:!0,handler(e){this.setRules(e)}},propsChange(e){var t;(null==(t=this.children)?void 0:t.length)&&this.children.map((e=>{"function"==typeof e.updateParentData&&e.updateParentData()}))},model:{immediate:!0,handler(e){this.originalModel||(this.originalModel=uk(e))}}},computed:{propsChange(){return[this.errorType,this.borderBottom,this.labelPosition,this.labelWidth,this.labelAlign,this.labelStyle]}},created(){this.children=[]},methods:{setRules(e){0!==Object.keys(e).length&&(this.formRules=e,this.validator=new iA(e))},resetFields(){this.resetModel()},resetModel(e){this.children.map((e=>{const t=null==e?void 0:e.prop,n=xk(this.originalModel,t);Ck(this.model,t,n)}))},clearValidate(e){e=[].concat(e),this.children.map((t=>{(void 0===e[0]||e.includes(t.prop))&&(t.message=null)}))},async validateField(e,t,n=null,o){this.$nextTick((()=>{const i=[];e=[].concat(e);let r=this.children.map((t=>new Promise(((r,a)=>{const s=[];if(e.includes(t.prop)){const e=xk(this.model,t.prop),a=t.prop.split("."),l=a[a.length-1];let c=[];if(c=t.itemRules&&t.itemRules.length>0?t.itemRules:this.formRules[t.prop],!c)return void r();const u=[].concat(c);u.length||r();for(let d=0;d<u.length;d++){const a=u[d],c=[].concat(null==a?void 0:a.trigger);if(n&&!c.includes(n)){r();continue}new iA({[l]:a}).validate({[l]:e},((e,n)=>{var a;UC.array(e)&&(e.forEach((e=>{e.prop=t.prop})),i.push(...e),s.push(...e)),o&&1!=(null==o?void 0:o.showErrorMsg)||(t.message=(null==(a=s[0])?void 0:a.message)?s[0].message:null),d==u.length-1&&r(i)}))}}else r({})}))));Promise.all(r).then((e=>{"function"==typeof t&&t(i)})).catch((e=>{console.error("An error occurred:",e)}))}))},validate(e){return new Promise(((t,n)=>{this.$nextTick((()=>{const o=this.children.map((e=>e.prop));this.validateField(o,(e=>{e.length?("toast"===this.errorType&&bk(e[0].message),n(e)):t(!0)}),null,e)}))}))}}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:"u-form"},{default:qn((()=>[ni(e.$slots,"default")])),_:3})}]]),sA=Object.freeze(Object.defineProperty({__proto__:null,default:aA},Symbol.toStringTag,{value:"Module"}));const lA=rA({name:"u--form",mixins:[Lk,Nk,$k],components:{uvForm:aA},created(){this.children=[]},methods:{setRules(e){this.$refs.uForm.setRules(e)},validate(e){return this.$refs.uForm.validate(e)},validateField(e,t){return this.$refs.uForm.validateField(e,t)},resetFields(){return this.$refs.uForm.resetFields()},clearValidate(e){return this.$refs.uForm.clearValidate(e)},setMpData(){this.$refs.uForm.children=this.children}}},[["render",function(e,t,n,o,i,r){const a=Kn("uvForm");return Zi(),ir(a,{ref:"uForm",model:e.model,rules:e.rules,errorType:e.errorType,borderBottom:e.borderBottom,labelPosition:e.labelPosition,labelWidth:e.labelWidth,labelAlign:e.labelAlign,labelStyle:e.labelStyle,customStyle:e.customStyle},{default:qn((()=>[ni(e.$slots,"default")])),_:3},8,["model","rules","errorType","borderBottom","labelPosition","labelWidth","labelAlign","labelStyle","customStyle"])}]]),cA=Object.freeze(Object.defineProperty({__proto__:null,default:lA},Symbol.toStringTag,{value:"Module"})),uA={"uicon-level":"","uicon-column-line":"","uicon-checkbox-mark":"","uicon-folder":"","uicon-movie":"","uicon-star-fill":"","uicon-star":"","uicon-phone-fill":"","uicon-phone":"","uicon-apple-fill":"","uicon-chrome-circle-fill":"","uicon-backspace":"","uicon-attach":"","uicon-cut":"","uicon-empty-car":"","uicon-empty-coupon":"","uicon-empty-address":"","uicon-empty-favor":"","uicon-empty-permission":"","uicon-empty-news":"","uicon-empty-search":"","uicon-github-circle-fill":"","uicon-rmb":"","uicon-person-delete-fill":"","uicon-reload":"","uicon-order":"","uicon-server-man":"","uicon-search":"","uicon-fingerprint":"","uicon-more-dot-fill":"","uicon-scan":"","uicon-share-square":"","uicon-map":"","uicon-map-fill":"","uicon-tags":"","uicon-tags-fill":"","uicon-bookmark-fill":"","uicon-bookmark":"","uicon-eye":"","uicon-eye-fill":"","uicon-mic":"","uicon-mic-off":"","uicon-calendar":"","uicon-calendar-fill":"","uicon-trash":"","uicon-trash-fill":"","uicon-play-left":"","uicon-play-right":"","uicon-minus":"","uicon-plus":"","uicon-info":"","uicon-info-circle":"","uicon-info-circle-fill":"","uicon-question":"","uicon-error":"","uicon-close":"","uicon-checkmark":"","uicon-android-circle-fill":"","uicon-android-fill":"","uicon-ie":"","uicon-IE-circle-fill":"","uicon-google":"","uicon-google-circle-fill":"","uicon-setting-fill":"","uicon-setting":"","uicon-minus-square-fill":"","uicon-plus-square-fill":"","uicon-heart":"","uicon-heart-fill":"","uicon-camera":"","uicon-camera-fill":"","uicon-more-circle":"","uicon-more-circle-fill":"","uicon-chat":"","uicon-chat-fill":"","uicon-bag-fill":"","uicon-bag":"","uicon-error-circle-fill":"","uicon-error-circle":"","uicon-close-circle":"","uicon-close-circle-fill":"","uicon-checkmark-circle":"","uicon-checkmark-circle-fill":"","uicon-question-circle-fill":"","uicon-question-circle":"","uicon-share":"","uicon-share-fill":"","uicon-shopping-cart":"","uicon-shopping-cart-fill":"","uicon-bell":"","uicon-bell-fill":"","uicon-list":"","uicon-list-dot":"","uicon-zhihu":"","uicon-zhihu-circle-fill":"","uicon-zhifubao":"","uicon-zhifubao-circle-fill":"","uicon-weixin-circle-fill":"","uicon-weixin-fill":"","uicon-twitter-circle-fill":"","uicon-twitter":"","uicon-taobao-circle-fill":"","uicon-taobao":"","uicon-weibo-circle-fill":"","uicon-weibo":"","uicon-qq-fill":"","uicon-qq-circle-fill":"","uicon-moments-circel-fill":"","uicon-moments":"","uicon-qzone":"","uicon-qzone-circle-fill":"","uicon-baidu-circle-fill":"","uicon-baidu":"","uicon-facebook-circle-fill":"","uicon-facebook":"","uicon-car":"","uicon-car-fill":"","uicon-warning-fill":"","uicon-warning":"","uicon-clock-fill":"","uicon-clock":"","uicon-edit-pen":"","uicon-edit-pen-fill":"","uicon-email":"","uicon-email-fill":"","uicon-minus-circle":"","uicon-minus-circle-fill":"","uicon-plus-circle":"","uicon-plus-circle-fill":"","uicon-file-text":"","uicon-file-text-fill":"","uicon-pushpin":"","uicon-pushpin-fill":"","uicon-grid":"","uicon-grid-fill":"","uicon-play-circle":"","uicon-play-circle-fill":"","uicon-pause-circle-fill":"","uicon-pause":"","uicon-pause-circle":"","uicon-eye-off":"","uicon-eye-off-outline":"","uicon-gift-fill":"","uicon-gift":"","uicon-rmb-circle-fill":"","uicon-rmb-circle":"","uicon-kefu-ermai":"","uicon-server-fill":"","uicon-coupon-fill":"","uicon-coupon":"","uicon-integral":"","uicon-integral-fill":"","uicon-home-fill":"","uicon-home":"","uicon-hourglass-half-fill":"","uicon-hourglass":"","uicon-account":"","uicon-plus-people-fill":"","uicon-minus-people-fill":"","uicon-account-fill":"","uicon-thumb-down-fill":"","uicon-thumb-down":"","uicon-thumb-up":"","uicon-thumb-up-fill":"","uicon-lock-fill":"","uicon-lock-open":"","uicon-lock-opened-fill":"","uicon-lock":"","uicon-red-packet-fill":"","uicon-photo-fill":"","uicon-photo":"","uicon-volume-off-fill":"","uicon-volume-off":"","uicon-volume-fill":"","uicon-volume":"","uicon-red-packet":"","uicon-download":"","uicon-arrow-up-fill":"","uicon-arrow-down-fill":"","uicon-play-left-fill":"","uicon-play-right-fill":"","uicon-rewind-left-fill":"","uicon-rewind-right-fill":"","uicon-arrow-downward":"","uicon-arrow-leftward":"","uicon-arrow-rightward":"","uicon-arrow-upward":"","uicon-arrow-down":"","uicon-arrow-right":"","uicon-arrow-left":"","uicon-arrow-up":"","uicon-skip-back-left":"","uicon-skip-forward-right":"","uicon-rewind-right":"","uicon-rewind-left":"","uicon-arrow-right-double":"","uicon-arrow-left-double":"","uicon-wifi-off":"","uicon-wifi":"","uicon-empty-data":"","uicon-empty-history":"","uicon-empty-list":"","uicon-empty-page":"","uicon-empty-order":"","uicon-man":"","uicon-woman":"","uicon-man-add":"","uicon-man-add-fill":"","uicon-man-delete":"","uicon-man-delete-fill":"","uicon-zh":"","uicon-en":""},dA={props:{name:{type:String,default:()=>zk.icon.name},color:{type:String,default:()=>zk.icon.color},size:{type:[String,Number],default:()=>zk.icon.size},bold:{type:Boolean,default:()=>zk.icon.bold},index:{type:[String,Number],default:()=>zk.icon.index},hoverClass:{type:String,default:()=>zk.icon.hoverClass},customPrefix:{type:String,default:()=>zk.icon.customPrefix},label:{type:[String,Number],default:()=>zk.icon.label},labelPos:{type:String,default:()=>zk.icon.labelPos},labelSize:{type:[String,Number],default:()=>zk.icon.labelSize},labelColor:{type:String,default:()=>zk.icon.labelColor},space:{type:[String,Number],default:()=>zk.icon.space},imgMode:{type:String,default:()=>zk.icon.imgMode},width:{type:[String,Number],default:()=>zk.icon.width},height:{type:[String,Number],default:()=>zk.icon.height},top:{type:[String,Number],default:()=>zk.icon.top},stop:{type:Boolean,default:()=>zk.icon.stop}}};const hA=rA({name:"u-icon",beforeCreate(){},data:()=>({}),emits:["click"],mixins:[Lk,$k,dA],computed:{uClasses(){let e=[];return e.push(this.customPrefix+"-"+this.name),"uicon"==this.customPrefix?e.push("u-iconfont"):e.push(this.customPrefix),this.color&&wC.type.includes(this.color)&&e.push("u-icon__icon--"+this.color),e},iconStyle(){let e={};return e={fontSize:ck(this.size),lineHeight:ck(this.size),fontWeight:this.bold?"bold":"normal",top:ck(this.top)},this.color&&!wC.type.includes(this.color)&&(e.color=this.color),e},isImg(){return-1!==this.name.indexOf("/")},imgStyle(){let e={};return e.width=this.width?ck(this.width):ck(this.size),e.height=this.height?ck(this.height):ck(this.size),e},icon(){return"uicon"!==this.customPrefix?this.customIcons[this.customPrefix+"-"+this.name]||this.name:uA["uicon-"+this.name]||this.name}},methods:{addStyle:lk,addUnit:ck,clickHandler(e){this.$emit("click",this.index,e),this.stop&&this.preventEvent(e)}}},[["render",function(e,t,n,o,i,r){const a=sm,s=Rg,l=Fg;return Zi(),ir(l,{class:me(["u-icon",["u-icon--"+e.labelPos]]),onClick:r.clickHandler},{default:qn((()=>[r.isImg?(Zi(),ir(a,{key:0,class:"u-icon__img",src:e.name,mode:e.imgMode,style:fe([r.imgStyle,r.addStyle(e.customStyle)])},null,8,["src","mode","style"])):(Zi(),ir(s,{key:1,class:me(["u-icon__icon",r.uClasses]),style:fe([r.iconStyle,r.addStyle(e.customStyle)]),"hover-class":e.hoverClass},{default:qn((()=>[pr(q(r.icon),1)])),_:1},8,["class","style","hover-class"])),""!==e.label?(Zi(),ir(s,{key:2,class:"u-icon__label",style:fe({color:e.labelColor,fontSize:r.addUnit(e.labelSize),marginLeft:"right"==e.labelPos?r.addUnit(e.space):0,marginTop:"bottom"==e.labelPos?r.addUnit(e.space):0,marginRight:"left"==e.labelPos?r.addUnit(e.space):0,marginBottom:"top"==e.labelPos?r.addUnit(e.space):0})},{default:qn((()=>[pr(q(e.label),1)])),_:1},8,["style"])):fr("",!0)])),_:1},8,["onClick","class"])}],["__scopeId","data-v-19f754d3"]]),pA=Object.freeze(Object.defineProperty({__proto__:null,default:hA},Symbol.toStringTag,{value:"Module"}));function fA(e,t){return"string"==typeof e?t:e}const mA=((e,t=0)=>(t,n=xr())=>{!Br&&Vo(e,t,n)})("onBackPress",2),gA={props:{show:{type:Boolean,default:()=>zk.transition.show},mode:{type:String,default:()=>zk.transition.mode},duration:{type:[String,Number],default:()=>zk.transition.duration},timingFunction:{type:String,default:()=>zk.transition.timingFunction}}},yA=e=>({enter:`u-${e}-enter u-${e}-enter-active`,"enter-to":`u-${e}-enter-to u-${e}-enter-active`,leave:`u-${e}-leave u-${e}-leave-active`,"leave-to":`u-${e}-leave-to u-${e}-leave-active`});const bA=rA({name:"u-transition",data:()=>({inited:!1,viewStyle:{},status:"",transitionEnded:!1,display:!1,classes:""}),emits:["click","beforeEnter","enter","afterEnter","beforeLeave","leave","afterLeave"],computed:{mergeStyle(){const{viewStyle:e,customStyle:t}=this;return{transitionDuration:`${this.duration}ms`,transitionTimingFunction:this.timingFunction,...lk(t),...e}}},mixins:[Lk,$k,{methods:{clickHandler(){this.$emit("click")},async vueEnter(){const e=yA(this.mode);this.status="enter",this.$emit("beforeEnter"),this.inited=!0,this.display=!0,this.classes=e.enter,await On(),await ek(20),this.$emit("enter"),this.transitionEnded=!1,this.$emit("afterEnter"),this.classes=e["enter-to"]},async vueLeave(){if(!this.display)return;const e=yA(this.mode);this.status="leave",this.$emit("beforeLeave"),this.classes=e.leave,await On(),this.transitionEnded=!1,this.$emit("leave"),setTimeout(this.onTransitionEnd,this.duration),this.classes=e["leave-to"]},onTransitionEnd(){this.transitionEnded||(this.transitionEnded=!0,this.$emit("leave"===this.status?"afterLeave":"afterEnter"),!this.show&&this.display&&(this.display=!1,this.inited=!1))}}},gA],watch:{show:{handler(e){e?this.vueEnter():this.vueLeave()},immediate:!0}}},[["render",function(e,t,n,o,i,r){const a=Fg;return i.inited?(Zi(),ir(a,{key:0,class:me(["u-transition",i.classes]),ref:"u-transition",onClick:e.clickHandler,style:fe([r.mergeStyle]),onTouchmove:e.noop},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["onClick","class","style","onTouchmove"])):fr("",!0)}],["__scopeId","data-v-cbb98c35"]]),vA=Object.freeze(Object.defineProperty({__proto__:null,default:bA},Symbol.toStringTag,{value:"Module"})),_A={props:{src:{type:String,default:()=>zk.image.src},mode:{type:String,default:()=>zk.image.mode},width:{type:[String,Number],default:()=>zk.image.width},height:{type:[String,Number],default:()=>zk.image.height},shape:{type:String,default:()=>zk.image.shape},radius:{type:[String,Number],default:()=>zk.image.radius},lazyLoad:{type:Boolean,default:()=>zk.image.lazyLoad},showMenuByLongpress:{type:Boolean,default:()=>zk.image.showMenuByLongpress},loadingIcon:{type:String,default:()=>zk.image.loadingIcon},errorIcon:{type:String,default:()=>zk.image.errorIcon},showLoading:{type:Boolean,default:()=>zk.image.showLoading},showError:{type:Boolean,default:()=>zk.image.showError},fade:{type:Boolean,default:()=>zk.image.fade},webp:{type:Boolean,default:()=>zk.image.webp},duration:{type:[String,Number],default:()=>zk.image.duration},bgColor:{type:String,default:()=>zk.image.bgColor}}};const SA=rA({name:"u-image",mixins:[Lk,$k,_A],data(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{},show:!1}},watch:{src:{immediate:!0,handler(e){e?(this.isError=!1,this.loading=!0):this.isError=!0}}},computed:{transStyle(){let e={};return this.loading||this.isError||"100%"==this.width||"heightFix"!=this.mode?e.width=this.width:e.width="fit-content",this.loading||this.isError||"100%"==this.height||"widthFix"!=this.mode?e.height=this.height:e.height="fit-content",e},wrapStyle(){let e={};return this.loading||this.isError||"100%"==this.width||"heightFix"!=this.mode?e.width=this.width:e.width="fit-content",this.loading||this.isError||"100%"==this.height||"widthFix"!=this.mode?e.height=this.height:e.height="fit-content",e.borderRadius="circle"==this.shape?"10000px":ck(this.radius),e.overflow=this.radius>0?"hidden":"visible",dk(e,lk(this.customStyle))}},mounted(){this.show=!0},emits:["click","error","load"],methods:{addUnit:ck,onClick(e){this.$emit("click",e)},onErrorHandler(e){this.loading=!1,this.isError=!0,this.$emit("error",e)},onLoadHandler(e){this.loading=!1,this.isError=!1,this.$emit("load",e),this.removeBgColor()},removeBgColor(){this.backgroundStyle={backgroundColor:this.bgColor||"#ffffff"}}}},[["render",function(e,t,n,o,i,r){const a=sm,s=fA(eo("u-icon"),hA),l=Fg,c=fA(eo("u-transition"),bA);return Zi(),ir(c,{mode:"fade",show:i.show,style:fe(r.transStyle),duration:e.fade?1e3:0},{default:qn((()=>[dr(l,{class:"u-image box-border",onClick:r.onClick,style:fe([r.wrapStyle,i.backgroundStyle])},{default:qn((()=>[i.isError?fr("",!0):(Zi(),ir(a,{key:0,src:e.src,mode:e.mode,onError:r.onErrorHandler,onLoad:r.onLoadHandler,"show-menu-by-longpress":e.showMenuByLongpress,"lazy-load":e.lazyLoad,class:"u-image__image",style:fe({width:r.addUnit(e.width),height:r.addUnit(e.height),borderRadius:"circle"==e.shape?"10000px":r.addUnit(e.radius)})},null,8,["src","mode","onError","onLoad","show-menu-by-longpress","lazy-load","style"])),e.showLoading&&i.loading?(Zi(),ir(l,{key:1,class:"u-image__loading",style:fe({borderRadius:"circle"==e.shape?"50%":r.addUnit(e.radius),backgroundColor:this.bgColor,width:r.addUnit(e.width),height:r.addUnit(e.height)})},{default:qn((()=>[ni(e.$slots,"loading",{},(()=>[dr(s,{name:e.loadingIcon},null,8,["name"])]),!0)])),_:3},8,["style"])):fr("",!0),e.showError&&i.isError&&!i.loading?(Zi(),ir(l,{key:2,class:"u-image__error",style:fe({borderRadius:"circle"==e.shape?"50%":r.addUnit(e.radius)})},{default:qn((()=>[ni(e.$slots,"error",{},(()=>[dr(s,{name:e.errorIcon},null,8,["name"])]),!0)])),_:3},8,["style"])):fr("",!0)])),_:3},8,["onClick","style"])])),_:3},8,["show","style","duration"])}],["__scopeId","data-v-761d02be"]]),wA=Object.freeze(Object.defineProperty({__proto__:null,default:SA},Symbol.toStringTag,{value:"Module"}));const xA=rA({name:"u--image",mixins:[Lk,_A,$k],components:{uvImage:SA},emits:["click","error","load"]},[["render",function(e,t,n,o,i,r){const a=Kn("uvImage");return Zi(),ir(a,{src:e.src,mode:e.mode,width:e.width,height:e.height,shape:e.shape,radius:e.radius,lazyLoad:e.lazyLoad,showMenuByLongpress:e.showMenuByLongpress,loadingIcon:e.loadingIcon,errorIcon:e.errorIcon,showLoading:e.showLoading,showError:e.showError,fade:e.fade,webp:e.webp,duration:e.duration,bgColor:e.bgColor,customStyle:e.customStyle,onClick:t[0]||(t[0]=t=>e.$emit("click")),onError:t[1]||(t[1]=t=>e.$emit("error")),onLoad:t[2]||(t[2]=t=>e.$emit("load"))},{loading:qn((()=>[ni(e.$slots,"loading")])),error:qn((()=>[ni(e.$slots,"error")])),_:3},8,["src","mode","width","height","shape","radius","lazyLoad","showMenuByLongpress","loadingIcon","errorIcon","showLoading","showError","fade","webp","duration","bgColor","customStyle"])}]]),CA=Object.freeze(Object.defineProperty({__proto__:null,default:xA},Symbol.toStringTag,{value:"Module"})),kA={props:{modelValue:{type:[String,Number],default:()=>zk.input.value},type:{type:String,default:()=>zk.input.type},fixed:{type:Boolean,default:()=>zk.input.fixed},disabled:{type:Boolean,default:()=>zk.input.disabled},disabledColor:{type:String,default:()=>zk.input.disabledColor},clearable:{type:Boolean,default:()=>zk.input.clearable},password:{type:Boolean,default:()=>zk.input.password},maxlength:{type:[String,Number],default:()=>zk.input.maxlength},placeholder:{type:String,default:()=>zk.input.placeholder},placeholderClass:{type:String,default:()=>zk.input.placeholderClass},placeholderStyle:{type:[String,Object],default:()=>zk.input.placeholderStyle},showWordLimit:{type:Boolean,default:()=>zk.input.showWordLimit},confirmType:{type:String,default:()=>zk.input.confirmType},confirmHold:{type:Boolean,default:()=>zk.input.confirmHold},holdKeyboard:{type:Boolean,default:()=>zk.input.holdKeyboard},focus:{type:Boolean,default:()=>zk.input.focus},autoBlur:{type:Boolean,default:()=>zk.input.autoBlur},disableDefaultPadding:{type:Boolean,default:()=>zk.input.disableDefaultPadding},cursor:{type:[String,Number],default:()=>zk.input.cursor},cursorSpacing:{type:[String,Number],default:()=>zk.input.cursorSpacing},selectionStart:{type:[String,Number],default:()=>zk.input.selectionStart},selectionEnd:{type:[String,Number],default:()=>zk.input.selectionEnd},adjustPosition:{type:Boolean,default:()=>zk.input.adjustPosition},inputAlign:{type:String,default:()=>zk.input.inputAlign},fontSize:{type:[String,Number],default:()=>zk.input.fontSize},color:{type:String,default:()=>zk.input.color},prefixIcon:{type:String,default:()=>zk.input.prefixIcon},prefixIconStyle:{type:[String,Object],default:()=>zk.input.prefixIconStyle},suffixIcon:{type:String,default:()=>zk.input.suffixIcon},suffixIconStyle:{type:[String,Object],default:()=>zk.input.suffixIconStyle},border:{type:String,default:()=>zk.input.border},readonly:{type:Boolean,default:()=>zk.input.readonly},shape:{type:String,default:()=>zk.input.shape},formatter:{type:[Function,null],default:()=>zk.input.formatter},ignoreCompositionEvent:{type:Boolean,default:!0}}};let AA=null;const TA=rA({name:"u-input",mixins:[Lk,$k,kA],data:()=>({clearInput:!1,innerValue:"",focused:!1,firstChange:!0,changeFromInner:!1,innerFormatter:e=>e}),created(){this.formatter&&(this.innerFormatter=this.formatter)},watch:{modelValue:{immediate:!0,handler(e,t){this.changeFromInner||this.innerValue===e||(this.innerValue=e,!1===this.firstChange&&!1===this.changeFromInner?this.valueChange(this.innerValue,!0):this.firstChange||wk(this,"change"),this.firstChange=!1),this.changeFromInner=!1}}},computed:{isShowClear(){const{clearable:e,readonly:t,focused:n,innerValue:o}=this;return!!e&&!t&&!!n&&""!==o},inputClass(){let e=[],{border:t,disabled:n,shape:o}=this;return"surround"===t&&(e=e.concat(["u-border","u-input--radius"])),e.push(`u-input--${o}`),"bottom"===t&&(e=e.concat(["u-border-bottom","u-input--no-radius"])),e.join(" ")},wrapperStyle(){const e={};return this.disabled&&(e.backgroundColor=this.disabledColor),"none"===this.border?e.padding="0":(e.paddingTop="6px",e.paddingBottom="6px",e.paddingLeft="9px",e.paddingRight="9px"),dk(e,lk(this.customStyle))},inputStyle(){return{color:this.color,fontSize:ck(this.fontSize),textAlign:this.inputAlign}}},emits:["update:modelValue","focus","blur","change","confirm","clear","keyboardheightchange","nicknamereview"],methods:{setFormatter(e){this.innerFormatter=e},onInput(e){let{value:t=""}=e.detail||{};this.innerValue=t,this.$nextTick((()=>{let e=this.innerFormatter(t);this.innerValue=e,this.valueChange(e)}))},onBlur(e){this.$emit("blur",e.detail.value),ek(150).then((()=>{this.focused=!1})),wk(this,"blur")},onFocus(e){this.focused=!0,this.$emit("focus")},doFocus(){this.$refs["input-native"].focus()},doBlur(){this.$refs["input-native"].blur()},onConfirm(e){this.$emit("confirm",this.innerValue)},onkeyboardheightchange(e){this.$emit("keyboardheightchange",e)},onnicknamereview(e){this.$emit("nicknamereview",e)},valueChange(e,t=!1){this.clearInput&&(this.innerValue="",this.clearInput=!1),this.$nextTick((()=>{t&&!this.clearInput||(this.changeFromInner=!0,this.$emit("change",e),this.$emit("update:modelValue",e)),wk(this,"change")}))},onClear(){this.clearInput=!0,this.innerValue="",this.$nextTick((()=>{this.valueChange(""),this.$emit("clear")}))},clickHandler(){(this.disabled||this.readonly)&&sb()}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-icon"),hA),s=Fg,l=Bm;return Zi(),ir(s,{class:me(["u-input",r.inputClass]),style:fe([r.wrapperStyle])},{default:qn((()=>[dr(s,{class:"u-input__content"},{default:qn((()=>[e.prefixIcon||e.$slots.prefix?(Zi(),ir(s,{key:0,class:"u-input__content__prefix-icon"},{default:qn((()=>[ni(e.$slots,"prefix",{},(()=>[dr(a,{name:e.prefixIcon,size:"18",customStyle:e.prefixIconStyle},null,8,["name","customStyle"])]),!0)])),_:3})):fr("",!0),dr(s,{class:"u-input__content__field-wrapper",onClick:r.clickHandler},{default:qn((()=>[dr(l,{ref:"input-native",class:"u-input__content__field-wrapper__field",style:fe([r.inputStyle]),type:e.type,focus:e.focus,cursor:e.cursor,value:i.innerValue,"auto-blur":e.autoBlur,disabled:e.disabled||e.readonly,maxlength:e.maxlength,placeholder:e.placeholder,"placeholder-style":e.placeholderStyle,"placeholder-class":e.placeholderClass,"confirm-type":e.confirmType,"confirm-hold":e.confirmHold,"hold-keyboard":e.holdKeyboard,"cursor-spacing":e.cursorSpacing,"adjust-position":e.adjustPosition,"selection-end":e.selectionEnd,"selection-start":e.selectionStart,password:e.password||"password"===e.type||!1,ignoreCompositionEvent:e.ignoreCompositionEvent,onInput:r.onInput,onBlur:r.onBlur,onFocus:r.onFocus,onConfirm:r.onConfirm,onKeyboardheightchange:r.onkeyboardheightchange,onNicknamereview:r.onnicknamereview},null,8,["style","type","focus","cursor","value","auto-blur","disabled","maxlength","placeholder","placeholder-style","placeholder-class","confirm-type","confirm-hold","hold-keyboard","cursor-spacing","adjust-position","selection-end","selection-start","password","ignoreCompositionEvent","onInput","onBlur","onFocus","onConfirm","onKeyboardheightchange","onNicknamereview"])])),_:1},8,["onClick"]),r.isShowClear?(Zi(),ir(s,{key:1,class:"u-input__content__clear",onClick:r.onClear},{default:qn((()=>[dr(a,{name:"close",size:"11",color:"#ffffff",customStyle:"line-height: 12px"})])),_:1},8,["onClick"])):fr("",!0),e.suffixIcon||e.$slots.suffix?(Zi(),ir(s,{key:2,class:"u-input__content__subfix-icon"},{default:qn((()=>[ni(e.$slots,"suffix",{},(()=>[dr(a,{name:e.suffixIcon,size:"18",customStyle:e.suffixIconStyle},null,8,["name","customStyle"])]),!0)])),_:3})):fr("",!0)])),_:3})])),_:3},8,["class","style"])}],["__scopeId","data-v-246e1ddc"]]),IA=Object.freeze(Object.defineProperty({__proto__:null,default:TA},Symbol.toStringTag,{value:"Module"}));const BA=rA({name:"u--input",mixins:[Lk,kA,$k],components:{uvInput:TA}},[["render",function(e,t,n,o,i,r){const a=Kn("uvInput");return Zi(),ir(a,{modelValue:e.modelValue,"onUpdate:modelValue":t[0]||(t[0]=t=>e.$emit("update:modelValue",t)),type:e.type,fixed:e.fixed,disabled:e.disabled,disabledColor:e.disabledColor,clearable:e.clearable,password:e.password,maxlength:e.maxlength,placeholder:e.placeholder,placeholderClass:e.placeholderClass,placeholderStyle:e.placeholderStyle,showWordLimit:e.showWordLimit,confirmType:e.confirmType,confirmHold:e.confirmHold,holdKeyboard:e.holdKeyboard,focus:e.focus,autoBlur:e.autoBlur,disableDefaultPadding:e.disableDefaultPadding,cursor:e.cursor,cursorSpacing:e.cursorSpacing,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd,adjustPosition:e.adjustPosition,inputAlign:e.inputAlign,fontSize:e.fontSize,color:e.color,prefixIcon:e.prefixIcon,suffixIcon:e.suffixIcon,suffixIconStyle:e.suffixIconStyle,prefixIconStyle:e.prefixIconStyle,border:e.border,readonly:e.readonly,shape:e.shape,customStyle:e.customStyle,formatter:e.formatter,ignoreCompositionEvent:e.ignoreCompositionEvent},{default:qn((()=>[ni(e.$slots,"prefix",{slot:"prefix"}),ni(e.$slots,"suffix",{slot:"suffix"})])),_:3},8,["modelValue","type","fixed","disabled","disabledColor","clearable","password","maxlength","placeholder","placeholderClass","placeholderStyle","showWordLimit","confirmType","confirmHold","holdKeyboard","focus","autoBlur","disableDefaultPadding","cursor","cursorSpacing","selectionStart","selectionEnd","adjustPosition","inputAlign","fontSize","color","prefixIcon","suffixIcon","suffixIconStyle","prefixIconStyle","border","readonly","shape","customStyle","formatter","ignoreCompositionEvent"])}]]),EA=Object.freeze(Object.defineProperty({__proto__:null,default:BA},Symbol.toStringTag,{value:"Module"})),PA={props:{color:{type:String,default:()=>zk.link.color},fontSize:{type:[String,Number],default:()=>zk.link.fontSize},underLine:{type:Boolean,default:()=>zk.link.underLine},href:{type:String,default:()=>zk.link.href},mpTips:{type:String,default:()=>zk.link.mpTips},lineColor:{type:String,default:()=>zk.link.lineColor},text:{type:String,default:()=>zk.link.text}}};const OA=rA({name:"u-link",mixins:[Lk,$k,PA],computed:{linkStyle(){return{color:this.color,fontSize:ck(this.fontSize),lineHeight:ck(ZC(this.fontSize)+2),textDecoration:this.underLine?"underline":"none"}}},emits:["click"],methods:{addStyle:lk,openLink(){window.open(this.href),this.$emit("click")}}},[["render",function(e,t,n,o,i,r){const a=Rg;return Zi(),ir(a,{class:"u-link",onClick:Pa(r.openLink,["stop"]),style:fe([r.linkStyle,r.addStyle(e.customStyle)])},{default:qn((()=>[pr(q(e.text),1)])),_:1},8,["onClick","style"])}],["__scopeId","data-v-a621806d"]]),MA=Object.freeze(Object.defineProperty({__proto__:null,default:OA},Symbol.toStringTag,{value:"Module"})),DA={props:{type:{type:String,default:()=>zk.text.type},show:{type:Boolean,default:()=>zk.text.show},text:{type:[String,Number],default:()=>zk.text.text},prefixIcon:{type:String,default:()=>zk.text.prefixIcon},suffixIcon:{type:String,default:()=>zk.text.suffixIcon},mode:{type:String,default:()=>zk.text.mode},href:{type:String,default:()=>zk.text.href},format:{type:[String,Function],default:()=>zk.text.format},call:{type:Boolean,default:()=>zk.text.call},openType:{type:String,default:()=>zk.text.openType},bold:{type:Boolean,default:()=>zk.text.bold},block:{type:Boolean,default:()=>zk.text.block},lines:{type:[String,Number],default:()=>zk.text.lines},color:{type:String,default:()=>zk.text.color},size:{type:[String,Number],default:()=>zk.text.size},iconStyle:{type:[Object,String],default:()=>zk.text.iconStyle},decoration:{tepe:String,default:()=>zk.text.decoration},margin:{type:[Object,String,Number],default:()=>zk.text.margin},lineHeight:{type:[String,Number],default:()=>zk.text.lineHeight},align:{type:String,default:()=>zk.text.align},wordWrap:{type:String,default:()=>zk.text.wordWrap},flex1:{type:Boolean,default:()=>zk.text.flex1}}},zA={props:{lang:String,sessionFrom:String,sendMessageTitle:String,sendMessagePath:String,sendMessageImg:String,showMessageCard:Boolean,appParameter:String,formType:String,openType:String}},RA={props:{openType:String},methods:{onGetUserInfo(e){this.$emit("getuserinfo",e.detail)},onContact(e){this.$emit("contact",e.detail)},onGetPhoneNumber(e){this.$emit("getphonenumber",e.detail)},onError(e){this.$emit("error",e.detail)},onLaunchApp(e){this.$emit("launchapp",e.detail)},onOpenSetting(e){this.$emit("opensetting",e.detail)}}};const NA=rA({name:"up-text",mixins:[Lk,$k,{computed:{value(){const{text:e,mode:t,format:n,href:o}=this;return"price"===t?UC.func(n)?n(e):_k(e,2):"date"===t?(UC.date(e),UC.func(n)?n(e):mk(e,n||"yyyy-mm-dd")):"phone"===t?UC.func(n)?n(e):"encrypt"===n?`${e.substr(0,3)}****${e.substr(7)}`:e:"name"===t?UC.func(n)?n(e):"encrypt"===n?this.formatName(e):e:"link"===t?(UC.url(o),e):e}},methods:{formatName(e){let t="";if(2===e.length)t=e.substr(0,1)+"*";else if(e.length>2){let n="";for(let t=0,o=e.length-2;t<o;t++)n+="*";t=e.substr(0,1)+n+e.substr(-1,1)}else t=e;return t}}},DA],emits:["click"],computed:{wrapStyle(){let e={margin:this.margin,justifyContent:"left"===this.align?"flex-start":"center"===this.align?"center":"flex-end"};return this.flex1&&(e.flex=1,e.width="100%"),e},valueStyle(){const e={textDecoration:this.decoration,fontWeight:this.bold?"bold":"normal",wordWrap:this.wordWrap,fontSize:ck(this.size)};return!this.type&&(e.color=this.color),this.isNvue&&this.lines&&(e.lines=this.lines),this.lineHeight&&(e.lineHeight=ck(this.lineHeight)),!this.isNvue&&this.block&&(e.display="block"),dk(e,lk(this.customStyle))},isNvue:()=>!1,isMp:()=>!1},data:()=>({}),methods:{addStyle:lk,clickHandler(e){this.call&&"phone"===this.mode&&My({phoneNumber:this.text}),this.$emit("click",e)}}},[["render",function(e,t,n,o,i,r){const a=Rg,s=fA(eo("u-icon"),hA),l=Fg,c=fA(eo("u-link"),OA),u=Bu;return e.show?(Zi(),ir(l,{key:0,class:me(["u-text",[e.customClass]]),style:fe(r.wrapStyle),onClick:r.clickHandler},{default:qn((()=>["price"===e.mode?(Zi(),ir(a,{key:0,class:me(["u-text__price",e.type&&`u-text__value--${e.type}`]),style:fe([r.valueStyle])},{default:qn((()=>[pr("￥")])),_:1},8,["class","style"])):fr("",!0),e.prefixIcon?(Zi(),ir(l,{key:1,class:"u-text__prefix-icon"},{default:qn((()=>[dr(s,{name:e.prefixIcon,customStyle:r.addStyle(e.iconStyle)},null,8,["name","customStyle"])])),_:1})):fr("",!0),"link"===e.mode?(Zi(),ir(c,{key:2,class:me(["u-text__value",[e.type&&`u-text__value--${e.type}`,e.lines&&`u-line-${e.lines}`]]),style:fe({fontWeight:r.valueStyle.fontWeight,wordWrap:r.valueStyle.wordWrap,fontSize:r.valueStyle.fontSize}),text:e.value,href:e.href,underLine:""},null,8,["style","class","text","href"])):e.openType&&r.isMp?(Zi(),ir(u,{key:3,class:"u-reset-button u-text__value",style:fe([r.valueStyle]),"data-index":e.index,openType:e.openType,onGetuserinfo:e.onGetUserInfo,onContact:e.onContact,onGetphonenumber:e.onGetPhoneNumber,onError:e.onError,onLaunchapp:e.onLaunchApp,onOpensetting:e.onOpenSetting,lang:e.lang,"session-from":e.sessionFrom,"send-message-title":e.sendMessageTitle,"send-message-path":e.sendMessagePath,"send-message-img":e.sendMessageImg,"show-message-card":e.showMessageCard,"app-parameter":e.appParameter},{default:qn((()=>[pr(q(e.value),1)])),_:1},8,["style","data-index","openType","onGetuserinfo","onContact","onGetphonenumber","onError","onLaunchapp","onOpensetting","lang","session-from","send-message-title","send-message-path","send-message-img","show-message-card","app-parameter"])):(Zi(),ir(a,{key:4,class:me(["u-text__value",[e.type&&`u-text__value--${e.type}`,e.lines&&`u-line-${e.lines}`]]),style:fe([r.valueStyle])},{default:qn((()=>[pr(q(e.value),1)])),_:1},8,["style","class"])),e.suffixIcon?(Zi(),ir(l,{key:5,class:"u-text__suffix-icon"},{default:qn((()=>[dr(s,{name:e.suffixIcon,customStyle:r.addStyle(e.iconStyle)},null,8,["name","customStyle"])])),_:1})):fr("",!0)])),_:1},8,["class","style","onClick"])):fr("",!0)}],["__scopeId","data-v-9690e476"]]),LA=Object.freeze(Object.defineProperty({__proto__:null,default:NA},Symbol.toStringTag,{value:"Module"}));const jA=rA({name:"u--text",mixins:[Lk,$k,DA],components:{uvText:NA}},[["render",function(e,t,n,o,i,r){const a=Kn("uvText");return Zi(),ir(a,{type:e.type,show:e.show,text:e.text,prefixIcon:e.prefixIcon,suffixIcon:e.suffixIcon,mode:e.mode,href:e.href,format:e.format,call:e.call,openType:e.openType,bold:e.bold,block:e.block,lines:e.lines,color:e.color,decoration:e.decoration,size:e.size,iconStyle:e.iconStyle,margin:e.margin,lineHeight:e.lineHeight,align:e.align,wordWrap:e.wordWrap,customStyle:e.customStyle},null,8,["type","show","text","prefixIcon","suffixIcon","mode","href","format","call","openType","bold","block","lines","color","decoration","size","iconStyle","margin","lineHeight","align","wordWrap","customStyle"])}]]),$A=Object.freeze(Object.defineProperty({__proto__:null,default:jA},Symbol.toStringTag,{value:"Module"})),FA={props:{value:{type:[String,Number],default:()=>zk.textarea.value},modelValue:{type:[String,Number],default:()=>zk.textarea.value},placeholder:{type:[String,Number],default:()=>zk.textarea.placeholder},placeholderClass:{type:String,default:()=>zk.input.placeholderClass},placeholderStyle:{type:[String,Object],default:()=>zk.input.placeholderStyle},height:{type:[String,Number],default:()=>zk.textarea.height},confirmType:{type:String,default:()=>zk.textarea.confirmType},disabled:{type:Boolean,default:()=>zk.textarea.disabled},count:{type:Boolean,default:()=>zk.textarea.count},focus:{type:Boolean,default:()=>zk.textarea.focus},autoHeight:{type:Boolean,default:()=>zk.textarea.autoHeight},fixed:{type:Boolean,default:()=>zk.textarea.fixed},cursorSpacing:{type:Number,default:()=>zk.textarea.cursorSpacing},cursor:{type:[String,Number],default:()=>zk.textarea.cursor},showConfirmBar:{type:Boolean,default:()=>zk.textarea.showConfirmBar},selectionStart:{type:Number,default:()=>zk.textarea.selectionStart},selectionEnd:{type:Number,default:()=>zk.textarea.selectionEnd},adjustPosition:{type:Boolean,default:()=>zk.textarea.adjustPosition},disableDefaultPadding:{type:Boolean,default:()=>zk.textarea.disableDefaultPadding},holdKeyboard:{type:Boolean,default:()=>zk.textarea.holdKeyboard},maxlength:{type:[String,Number],default:()=>zk.textarea.maxlength},border:{type:String,default:()=>zk.textarea.border},formatter:{type:[Function,null],default:()=>zk.textarea.formatter},ignoreCompositionEvent:{type:Boolean,default:!0}}};const HA=rA({name:"u-textarea",mixins:[Lk,$k,FA],data:()=>({innerValue:"",focused:!1,firstChange:!0,changeFromInner:!1,innerFormatter:e=>e}),created(){},watch:{modelValue:{immediate:!0,handler(e,t){this.innerValue=e,!1===this.firstChange&&!1===this.changeFromInner&&this.valueChange(),this.firstChange=!1,this.changeFromInner=!1}}},computed:{fieldStyle(){let e={};return e.height=ck(this.height),this.autoHeight&&(e.height="auto",e.minHeight=ck(this.height)),e},textareaClass(){let e=[],{border:t,disabled:n}=this;return"surround"===t&&(e=e.concat(["u-border","u-textarea--radius"])),"bottom"===t&&(e=e.concat(["u-border-bottom","u-textarea--no-radius"])),n&&e.push("u-textarea--disabled"),e.join(" ")},textareaStyle(){return dk({},lk(this.customStyle))}},emits:["update:modelValue","linechange","focus","blur","change","confirm","keyboardheightchange"],methods:{addStyle:lk,addUnit:ck,setFormatter(e){this.innerFormatter=e},onFocus(e){this.$emit("focus",e)},onBlur(e){this.$emit("blur",e),wk(this,"blur")},onLinechange(e){this.$emit("linechange",e)},onInput(e){let{value:t=""}=e.detail||{};const n=(this.formatter||this.innerFormatter)(t);this.innerValue=t,this.$nextTick((()=>{this.innerValue=n,this.valueChange()}))},valueChange(){const e=this.innerValue;this.$nextTick((()=>{this.$emit("update:modelValue",e),this.changeFromInner=!0,this.$emit("change",e),wk(this,"change")}))},onConfirm(e){this.$emit("confirm",e)},onKeyboardheightchange(e){this.$emit("keyboardheightchange",e)}}},[["render",function(e,t,n,o,i,r){const a=$g,s=Rg,l=Fg;return Zi(),ir(l,{class:me(["u-textarea",r.textareaClass]),style:fe([r.textareaStyle])},{default:qn((()=>[dr(a,{class:"u-textarea__field",value:i.innerValue,style:fe(r.fieldStyle),placeholder:e.placeholder,"placeholder-style":r.addStyle(e.placeholderStyle,"string"==typeof e.placeholderStyle?"string":"object"),"placeholder-class":e.placeholderClass,disabled:e.disabled,focus:e.focus,autoHeight:e.autoHeight,fixed:e.fixed,cursorSpacing:e.cursorSpacing,cursor:e.cursor,showConfirmBar:e.showConfirmBar,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd,adjustPosition:e.adjustPosition,disableDefaultPadding:e.disableDefaultPadding,holdKeyboard:e.holdKeyboard,maxlength:e.maxlength,"confirm-type":e.confirmType,ignoreCompositionEvent:e.ignoreCompositionEvent,onFocus:r.onFocus,onBlur:r.onBlur,onLinechange:r.onLinechange,onInput:r.onInput,onConfirm:r.onConfirm,onKeyboardheightchange:r.onKeyboardheightchange},null,8,["value","style","placeholder","placeholder-style","placeholder-class","disabled","focus","autoHeight","fixed","cursorSpacing","cursor","showConfirmBar","selectionStart","selectionEnd","adjustPosition","disableDefaultPadding","holdKeyboard","maxlength","confirm-type","ignoreCompositionEvent","onFocus","onBlur","onLinechange","onInput","onConfirm","onKeyboardheightchange"]),e.count?(Zi(),ir(s,{key:0,class:"u-textarea__count",style:fe({"background-color":e.disabled?"transparent":"#fff"})},{default:qn((()=>[pr(q(i.innerValue.length)+"/"+q(e.maxlength),1)])),_:1},8,["style"])):fr("",!0)])),_:1},8,["class","style"])}],["__scopeId","data-v-c4d6d9b5"]]),VA=Object.freeze(Object.defineProperty({__proto__:null,default:HA},Symbol.toStringTag,{value:"Module"}));const UA=rA({name:"u--textarea",mixins:[Lk,FA,$k],components:{uvTextarea:HA}},[["render",function(e,t,n,o,i,r){const a=Kn("uvTextarea");return Zi(),ir(a,{value:e.value,modelValue:e.modelValue,placeholder:e.placeholder,height:e.height,confirmType:e.confirmType,disabled:e.disabled,count:e.count,focus:e.focus,autoHeight:e.autoHeight,fixed:e.fixed,cursorSpacing:e.cursorSpacing,cursor:e.cursor,showConfirmBar:e.showConfirmBar,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd,adjustPosition:e.adjustPosition,disableDefaultPadding:e.disableDefaultPadding,holdKeyboard:e.holdKeyboard,maxlength:e.maxlength,border:e.border,customStyle:e.customStyle,formatter:e.formatter,ignoreCompositionEvent:e.ignoreCompositionEvent,onInput:t[0]||(t[0]=t=>e.$emit("input",t)),"onUpdate:modelValue":t[1]||(t[1]=t=>e.$emit("update:modelValue",t))},null,8,["value","modelValue","placeholder","height","confirmType","disabled","count","focus","autoHeight","fixed","cursorSpacing","cursor","showConfirmBar","selectionStart","selectionEnd","adjustPosition","disableDefaultPadding","holdKeyboard","maxlength","border","customStyle","formatter","ignoreCompositionEvent"])}]]),WA=Object.freeze(Object.defineProperty({__proto__:null,default:UA},Symbol.toStringTag,{value:"Module"})),QA={props:{color:{type:String,default:()=>zk.line.color},length:{type:[String,Number],default:()=>zk.line.length},direction:{type:String,default:()=>zk.line.direction},hairline:{type:Boolean,default:()=>zk.line.hairline},margin:{type:[String,Number],default:()=>zk.line.margin},dashed:{type:Boolean,default:()=>zk.line.dashed}}};const qA=rA({name:"u-line",mixins:[Lk,$k,QA],computed:{lineStyle(){const e={};return e.margin=this.margin,"row"===this.direction?(e.borderBottomWidth="1px",e.borderBottomStyle=this.dashed?"dashed":"solid",e.width=ck(this.length),this.hairline&&(e.transform="scaleY(0.5)")):(e.borderLeftWidth="1px",e.borderLeftStyle=this.dashed?"dashed":"solid",e.height=ck(this.length),this.hairline&&(e.transform="scaleX(0.5)")),e.borderColor=this.color,dk(e,lk(this.customStyle))}}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:"u-line",style:fe([r.lineStyle])},null,8,["style"])}],["__scopeId","data-v-2b56168c"]]),GA=Object.freeze(Object.defineProperty({__proto__:null,default:qA},Symbol.toStringTag,{value:"Module"})),YA={props:{show:{type:Boolean,default:()=>zk.loadingIcon.show},color:{type:String,default:()=>zk.loadingIcon.color},textColor:{type:String,default:()=>zk.loadingIcon.textColor},vertical:{type:Boolean,default:()=>zk.loadingIcon.vertical},mode:{type:String,default:()=>zk.loadingIcon.mode},size:{type:[String,Number],default:()=>zk.loadingIcon.size},textSize:{type:[String,Number],default:()=>zk.loadingIcon.textSize},text:{type:[String,Number],default:()=>zk.loadingIcon.text},timingFunction:{type:String,default:()=>zk.loadingIcon.timingFunction},duration:{type:[String,Number],default:()=>zk.loadingIcon.duration},inactiveColor:{type:String,default:()=>zk.loadingIcon.inactiveColor}}};function XA(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){const o=JA(e,!1),i=o[0],r=o[1],a=o[2],s=JA(t,!1),l=(s[0]-i)/n,c=(s[1]-r)/n,u=(s[2]-a)/n,d=[];for(let h=0;h<n;h++){let o=KA(`rgb(${Math.round(l*h+i)},${Math.round(c*h+r)},${Math.round(u*h+a)})`);0===h&&(o=KA(e)),h===n-1&&(o=KA(t)),d.push(o)}return d}function JA(e,t=!0){if((e=String(e).toLowerCase())&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){if(4===e.length){let t="#";for(let n=1;n<4;n+=1)t+=e.slice(n,n+1).concat(e.slice(n,n+1));e=t}const n=[];for(let t=1;t<7;t+=2)n.push(parseInt(`0x${e.slice(t,t+2)}`));return t?`rgb(${n[0]},${n[1]},${n[2]})`:n}if(/^(rgb|RGB)/.test(e)){return e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").map((e=>Number(e)))}return e}function KA(e){const t=e;if(/^(rgb|RGB)/.test(t)){const e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");let n="#";for(let t=0;t<e.length;t++){let o=Number(e[t]).toString(16);o=1==String(o).length?`0${o}`:o,"0"===o&&(o+=o),n+=o}return 7!==n.length&&(n=t),n}if(!/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t))return t;{const e=t.replace(/#/,"").split("");if(6===e.length)return t;if(3===e.length){let t="#";for(let n=0;n<e.length;n+=1)t+=e[n]+e[n];return t}}}const ZA={colorGradient:XA,hexToRgb:JA,rgbToHex:KA,colorToRgba:function(e,t){e=KA(e);let n=String(e).toLowerCase();if(n&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(n)){if(4===n.length){let e="#";for(let t=1;t<4;t+=1)e+=n.slice(t,t+1).concat(n.slice(t,t+1));n=e}const e=[];for(let t=1;t<7;t+=2)e.push(parseInt(`0x${n.slice(t,t+2)}`));return`rgba(${e.join(",")},${t})`}return n}};const eT=rA({name:"u-loading-icon",mixins:[Lk,$k,YA],data:()=>({array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}),computed:{otherBorderColor(){const e=XA(this.color,"#ffffff",100)[80];return"circle"===this.mode?this.inactiveColor?this.inactiveColor:e:"transparent"}},watch:{show(e){}},mounted(){this.init()},methods:{addUnit:ck,addStyle:lk,init(){setTimeout((()=>{}),20)},addEventListenerToWebview(){const e=Qp(),t=e[e.length-1].$getAppWebview();t.addEventListener("hide",(()=>{this.webviewHide=!0})),t.addEventListener("show",(()=>{this.webviewHide=!1}))}}},[["render",function(e,t,n,o,i,r){const a=Fg,s=Rg;return e.show?(Zi(),ir(a,{key:0,class:me(["u-loading-icon",[e.vertical&&"u-loading-icon--vertical"]]),style:fe([r.addStyle(e.customStyle)])},{default:qn((()=>[i.webviewHide?fr("",!0):(Zi(),ir(a,{key:0,class:me(["u-loading-icon__spinner",[`u-loading-icon__spinner--${e.mode}`]]),ref:"ani",style:fe({color:e.color,width:r.addUnit(e.size),height:r.addUnit(e.size),borderTopColor:e.color,borderBottomColor:r.otherBorderColor,borderLeftColor:r.otherBorderColor,borderRightColor:r.otherBorderColor,"animation-duration":`${e.duration}ms`,"animation-timing-function":"semicircle"===e.mode||"circle"===e.mode?e.timingFunction:""})},{default:qn((()=>["spinner"===e.mode?(Zi(!0),or(qi,{key:0},ti(i.array12,((e,t)=>(Zi(),ir(a,{key:t,class:"u-loading-icon__dot"})))),128)):fr("",!0)])),_:1},8,["class","style"])),e.text?(Zi(),ir(s,{key:1,class:"u-loading-icon__text",style:fe({fontSize:r.addUnit(e.textSize),color:e.textColor})},{default:qn((()=>[pr(q(e.text),1)])),_:1},8,["style"])):fr("",!0)])),_:1},8,["style","class"])):fr("",!0)}],["__scopeId","data-v-2da858c9"]]),tT=Object.freeze(Object.defineProperty({__proto__:null,default:eT},Symbol.toStringTag,{value:"Module"}));const nT=rA({name:"u-gap",mixins:[Lk,$k,{props:{bgColor:{type:String,default:()=>zk.gap.bgColor},height:{type:[String,Number],default:()=>zk.gap.height},marginTop:{type:[String,Number],default:()=>zk.gap.marginTop},marginBottom:{type:[String,Number],default:()=>zk.gap.marginBottom}}}],computed:{gapStyle(){return dk({backgroundColor:this.bgColor,height:ck(this.height),marginTop:ck(this.marginTop),marginBottom:ck(this.marginBottom)},lk(this.customStyle))}}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:"u-gap",style:fe([r.gapStyle])},null,8,["style"])}],["__scopeId","data-v-aaff016e"]]),oT=Object.freeze(Object.defineProperty({__proto__:null,default:nT},Symbol.toStringTag,{value:"Module"})),iT={props:{show:{type:Boolean,default:()=>zk.overlay.show},zIndex:{type:[String,Number],default:()=>zk.overlay.zIndex},duration:{type:[String,Number],default:()=>zk.overlay.duration},opacity:{type:[String,Number],default:()=>zk.overlay.opacity}}};const rT=rA({name:"u-overlay",mixins:[Lk,$k,iT],computed:{overlayStyle(){return dk({position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":`rgba(0, 0, 0, ${this.opacity})`},lk(this.customStyle))}},emits:["click"],methods:{clickHandler(){this.$emit("click")}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-transition"),bA);return Zi(),ir(a,{show:e.show,"custom-class":"u-overlay",duration:e.duration,"custom-style":r.overlayStyle,onClick:r.clickHandler,onTouchmove:Pa(e.noop,["stop","prevent"])},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["show","duration","custom-style","onClick","onTouchmove"])}],["__scopeId","data-v-3d2a9b4a"]]),aT=Object.freeze(Object.defineProperty({__proto__:null,default:rT},Symbol.toStringTag,{value:"Module"}));const sT=rA({name:"u-status-bar",mixins:[Lk,$k,{props:{bgColor:{type:String,default:()=>zk.statusBar.bgColor}}}],data:()=>({isH5:!1}),created(){this.isH5=!0},computed:{style(){const e={};let t=ok().statusBarHeight;return 0==t?this.isH5=!0:e.height=ck(t,"px"),e.backgroundColor=this.bgColor,dk(e,lk(this.customStyle))}}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{style:fe([r.style]),class:me(["u-status-bar",[i.isH5&&"u-safe-area-inset-top"]])},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["style","class"])}],["__scopeId","data-v-d0f8a5a0"]]),lT=Object.freeze(Object.defineProperty({__proto__:null,default:sT},Symbol.toStringTag,{value:"Module"}));const cT=rA({name:"u-safe-bottom",mixins:[Lk,$k,{props:{}}],data:()=>({safeAreaBottomHeight:0,isNvue:!1}),computed:{style(){return dk({},lk(this.customStyle))}},mounted(){}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:me(["u-safe-bottom",[!i.isNvue&&"u-safe-area-inset-bottom"]]),style:fe([r.style])},null,8,["style","class"])}],["__scopeId","data-v-9fd63ca1"]]),uT=Object.freeze(Object.defineProperty({__proto__:null,default:cT},Symbol.toStringTag,{value:"Module"})),dT={props:{show:{type:Boolean,default:()=>zk.popup.show},overlay:{type:Boolean,default:()=>zk.popup.overlay},mode:{type:String,default:()=>zk.popup.mode},duration:{type:[String,Number],default:()=>zk.popup.duration},closeable:{type:Boolean,default:()=>zk.popup.closeable},overlayStyle:{type:[Object,String],default:()=>zk.popup.overlayStyle},closeOnClickOverlay:{type:Boolean,default:()=>zk.popup.closeOnClickOverlay},zIndex:{type:[String,Number],default:()=>zk.popup.zIndex},safeAreaInsetBottom:{type:Boolean,default:()=>zk.popup.safeAreaInsetBottom},safeAreaInsetTop:{type:Boolean,default:()=>zk.popup.safeAreaInsetTop},closeIconPos:{type:String,default:()=>zk.popup.closeIconPos},round:{type:[Boolean,String,Number],default:()=>zk.popup.round},zoom:{type:Boolean,default:()=>zk.popup.zoom},bgColor:{type:String,default:()=>zk.popup.bgColor},overlayOpacity:{type:[Number,String],default:()=>zk.popup.overlayOpacity}}};const hT=rA({name:"u-popup",mixins:[Lk,$k,dT],data(){return{overlayDuration:this.duration+50}},watch:{show(e,t){}},computed:{transitionStyle(){const e={zIndex:this.zIndex,position:"fixed",display:"flex"};return e[this.mode]=0,"left"===this.mode||"right"===this.mode?dk(e,{bottom:0,top:0}):"top"===this.mode||"bottom"===this.mode?dk(e,{left:0,right:0}):"center"===this.mode?dk(e,{alignItems:"center","justify-content":"center",top:0,left:0,right:0,bottom:0}):void 0},contentStyle(){const e={};if(ok(),"center"!==this.mode&&(e.flex=1),this.bgColor&&(e.backgroundColor=this.bgColor),this.round){const t=ck(this.round);"top"===this.mode?(e.borderBottomLeftRadius=t,e.borderBottomRightRadius=t):"bottom"===this.mode?(e.borderTopLeftRadius=t,e.borderTopRightRadius=t):"center"===this.mode&&(e.borderRadius=t)}return dk(e,lk(this.customStyle))},position(){return"center"===this.mode?this.zoom?"fade-zoom":"fade":"left"===this.mode?"slide-left":"right"===this.mode?"slide-right":"bottom"===this.mode?"slide-up":"top"===this.mode?"slide-down":void 0}},emits:["open","close","click","update:show"],methods:{overlayClick(){this.closeOnClickOverlay&&(this.$emit("update:show",!1),this.$emit("close"))},open(e){this.$emit("update:show",!0)},close(e){this.$emit("update:show",!1),this.$emit("close")},afterEnter(){this.$emit("open")},clickHandler(){"center"===this.mode&&this.overlayClick(),this.$emit("click")}}},[["render",function(e,t,n,o,i,r){const a=Fg,s=fA(eo("u-overlay"),rT),l=fA(eo("u-status-bar"),sT),c=fA(eo("u-icon"),hA),u=fA(eo("u-safe-bottom"),cT),d=fA(eo("u-transition"),bA);return Zi(),ir(a,{class:me(["u-popup",[e.customClass]])},{default:qn((()=>[dr(a,{class:"u-popup__trigger"},{default:qn((()=>[ni(e.$slots,"trigger",{},void 0,!0),dr(a,{onClick:r.open,class:"u-popup__trigger__cover"},null,8,["onClick"])])),_:3}),e.overlay?(Zi(),ir(s,{key:0,show:e.show,onClick:r.overlayClick,zIndex:e.zIndex,duration:i.overlayDuration,customStyle:e.overlayStyle,opacity:e.overlayOpacity},null,8,["show","onClick","zIndex","duration","customStyle","opacity"])):fr("",!0),dr(d,{show:e.show,customStyle:r.transitionStyle,mode:r.position,duration:e.duration,onAfterEnter:r.afterEnter,onClick:r.clickHandler},{default:qn((()=>[dr(a,{class:"u-popup__content",style:fe([r.contentStyle]),onClick:Pa(e.noop,["stop"]),onTouchmove:Pa(e.noop,["stop","prevent"])},{default:qn((()=>[e.safeAreaInsetTop?(Zi(),ir(l,{key:0})):fr("",!0),ni(e.$slots,"default",{},void 0,!0),e.closeable?(Zi(),ir(a,{key:1,onClick:Pa(r.close,["stop"]),class:me(["u-popup__content__close",["u-popup__content__close--"+e.closeIconPos]]),"hover-class":"u-popup__content__close--hover","hover-stay-time":"150"},{default:qn((()=>[dr(c,{name:"close",color:"#909399",size:"18",bold:""})])),_:1},8,["onClick","class"])):fr("",!0),e.safeAreaInsetBottom?(Zi(),ir(u,{key:2})):fr("",!0)])),_:3},8,["style","onClick","onTouchmove"])])),_:3},8,["show","customStyle","mode","duration","onAfterEnter","onClick"])])),_:3},8,["class"])}],["__scopeId","data-v-f2e7b264"]]),pT=Object.freeze(Object.defineProperty({__proto__:null,default:hT},Symbol.toStringTag,{value:"Module"})),fT={props:{show:{type:Boolean,default:()=>zk.actionSheet.show},title:{type:String,default:()=>zk.actionSheet.title},description:{type:String,default:()=>zk.actionSheet.description},actions:{type:Array,default:()=>zk.actionSheet.actions},cancelText:{type:String,default:()=>zk.actionSheet.cancelText},closeOnClickAction:{type:Boolean,default:()=>zk.actionSheet.closeOnClickAction},safeAreaInsetBottom:{type:Boolean,default:()=>zk.actionSheet.safeAreaInsetBottom},openType:{type:String,default:()=>zk.actionSheet.openType},closeOnClickOverlay:{type:Boolean,default:()=>zk.actionSheet.closeOnClickOverlay},round:{type:[Boolean,String,Number],default:()=>zk.actionSheet.round},wrapMaxHeight:{type:[String],default:()=>zk.actionSheet.wrapMaxHeight}}};const mT=rA({name:"u-action-sheet",mixins:[RA,zA,$k,fT],data:()=>({}),computed:{itemStyle(){return e=>{let t={};return this.actions[e].color&&(t.color=this.actions[e].color),this.actions[e].fontSize&&(t.fontSize=ck(this.actions[e].fontSize)),this.actions[e].disabled&&(t.color="#c0c4cc"),t}}},emits:["close","select","update:show"],methods:{closeHandler(){this.closeOnClickOverlay&&(this.$emit("update:show",!1),this.$emit("close"))},cancel(){this.$emit("update:show",!1),this.$emit("close")},selectHandler(e){const t=this.actions[e];!t||t.disabled||t.loading||(this.$emit("select",t),this.closeOnClickAction&&(this.$emit("update:show",!1),this.$emit("close")))}}},[["render",function(e,t,n,o,i,r){const a=Rg,s=fA(eo("u-icon"),hA),l=Fg,c=fA(eo("u-line"),qA),u=fA(eo("u-loading-icon"),eT),d=Tg,h=fA(eo("u-gap"),nT),p=fA(eo("u-popup"),hT);return Zi(),ir(p,{show:e.show,mode:"bottom",onClose:r.closeHandler,safeAreaInsetBottom:e.safeAreaInsetBottom,round:e.round},{default:qn((()=>[dr(l,{class:"u-action-sheet"},{default:qn((()=>[e.title?(Zi(),ir(l,{key:0,class:"u-action-sheet__header"},{default:qn((()=>[dr(a,{class:"u-action-sheet__header__title u-line-1"},{default:qn((()=>[pr(q(e.title),1)])),_:1}),dr(l,{class:"u-action-sheet__header__icon-wrap",onClick:Pa(r.cancel,["stop"])},{default:qn((()=>[dr(s,{name:"close",size:"17",color:"#c8c9cc",bold:""})])),_:1},8,["onClick"])])),_:1})):fr("",!0),e.description?(Zi(),ir(a,{key:1,class:"u-action-sheet__description",style:fe([{marginTop:`${e.title&&e.description?0:"18px"}`}])},{default:qn((()=>[pr(q(e.description),1)])),_:1},8,["style"])):fr("",!0),ni(e.$slots,"default",{},(()=>[e.description?(Zi(),ir(c,{key:0})):fr("",!0),dr(d,{"scroll-y":"",class:"u-action-sheet__item-wrap",style:fe({maxHeight:e.wrapMaxHeight})},{default:qn((()=>[(Zi(!0),or(qi,null,ti(e.actions,((t,n)=>(Zi(),ir(l,{key:n},{default:qn((()=>[dr(l,{class:"u-action-sheet__item-wrap__item",onClick:Pa((e=>r.selectHandler(n)),["stop"]),"hover-class":t.disabled||t.loading?"":"u-action-sheet--hover","hover-stay-time":150},{default:qn((()=>[t.loading?(Zi(),ir(u,{key:1,"custom-class":"van-action-sheet__loading",size:"18",mode:"circle"})):(Zi(),or(qi,{key:0},[dr(a,{class:"u-action-sheet__item-wrap__item__name",style:fe([r.itemStyle(n)])},{default:qn((()=>[pr(q(t.name),1)])),_:2},1032,["style"]),t.subname?(Zi(),ir(a,{key:0,class:"u-action-sheet__item-wrap__item__subname"},{default:qn((()=>[pr(q(t.subname),1)])),_:2},1024)):fr("",!0)],64))])),_:2},1032,["onClick","hover-class"]),n!==e.actions.length-1?(Zi(),ir(c,{key:0})):fr("",!0)])),_:2},1024)))),128))])),_:1},8,["style"])]),!0),e.cancelText?(Zi(),ir(h,{key:2,bgColor:"#eaeaec",height:"6"})):fr("",!0),e.cancelText?(Zi(),ir(l,{key:3,class:"u-action-sheet__item-wrap__item u-action-sheet__cancel","hover-class":"u-action-sheet--hover",onClick:r.cancel},{default:qn((()=>[dr(a,{onTouchmove:t[0]||(t[0]=Pa((()=>{}),["stop","prevent"])),"hover-stay-time":150,class:"u-action-sheet__cancel-text"},{default:qn((()=>[pr(q(e.cancelText),1)])),_:1})])),_:1},8,["onClick"])):fr("",!0)])),_:3})])),_:3},8,["show","onClose","safeAreaInsetBottom","round"])}],["__scopeId","data-v-5381af30"]]),gT=Object.freeze(Object.defineProperty({__proto__:null,default:mT},Symbol.toStringTag,{value:"Module"}));const yT=rA({props:{modelValue:{type:[String,Number],default:""},title:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[]},valueKey:{type:String,default:"value"},labelKey:{type:String,default:"name"}},data:()=>({show:!1,current:""}),created(){this.modelValue&&this.options.forEach((e=>{e[this.valueKey]==this.modelValue&&(this.current=e[this.labelKey])}))},emits:["update:modelValue"],watch:{modelValue(){this.options.forEach((e=>{e[this.valueKey]==this.modelValue&&(this.current=e[this.labelKey])}))}},methods:{hideKeyboard(){sb()},select(e){this.$emit("update:modelValue",e[this.valueKey]),this.current=e[this.labelKey]}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("up-input"),TA),s=Fg,l=fA(eo("up-action-sheet"),mT);return Zi(),ir(s,{class:"u-action-sheet-data"},{default:qn((()=>[dr(s,{class:"u-action-sheet-data__trigger"},{default:qn((()=>[ni(e.$slots,"trigger",{},void 0,!0),e.$slots.trigger?fr("",!0):(Zi(),ir(a,{key:0,modelValue:i.current,disabled:"",disabledColor:"#ffffff",placeholder:n.title,border:"none"},null,8,["modelValue","placeholder"])),dr(s,{onClick:t[0]||(t[0]=e=>i.show=!0),class:"u-action-sheet-data__trigger__cover"})])),_:3}),dr(l,{show:i.show,actions:n.options,title:n.title,safeAreaInsetBottom:"",description:n.description,onClose:t[1]||(t[1]=e=>i.show=!1),onSelect:r.select},null,8,["show","actions","title","description","onSelect"])])),_:3})}],["__scopeId","data-v-80b17548"]]),bT=Object.freeze(Object.defineProperty({__proto__:null,default:yT},Symbol.toStringTag,{value:"Module"})),vT={props:{urls:{type:Array,default:()=>zk.album.urls},keyName:{type:String,default:()=>zk.album.keyName},singleSize:{type:[String,Number],default:()=>zk.album.singleSize},multipleSize:{type:[String,Number],default:()=>zk.album.multipleSize},space:{type:[String,Number],default:()=>zk.album.space},singleMode:{type:String,default:()=>zk.album.singleMode},multipleMode:{type:String,default:()=>zk.album.multipleMode},maxCount:{type:[String,Number],default:()=>zk.album.maxCount},previewFullImage:{type:Boolean,default:()=>zk.album.previewFullImage},rowCount:{type:[String,Number],default:()=>zk.album.rowCount},showMore:{type:Boolean,default:()=>zk.album.showMore},shape:{type:String,default:()=>zk.image.shape},radius:{type:[String,Number],default:()=>zk.image.radius},autoWrap:{type:Boolean,default:()=>zk.album.autoWrap},unit:{type:[String],default:()=>zk.album.unit},stop:{type:Boolean,default:()=>zk.album.stop}}};const _T=rA({name:"u-album",mixins:[Lk,$k,vT],data:()=>({singleWidth:0,singleHeight:0,singlePercent:.6}),watch:{urls:{immediate:!0,handler(e){1===e.length&&this.getImageRect()}}},emits:["albumWidth"],computed:{imageStyle(){return(e,t)=>{const{space:n,rowCount:o,multipleSize:i,urls:r}=this,a=this.showUrls.length;this.urls.length;const s={marginRight:ck(n),marginBottom:ck(n)};return e!==a||this.autoWrap||(s.marginBottom=0),this.autoWrap||(t===o||e===a&&t===this.showUrls[e-1].length)&&(s.marginRight=0),s}},showUrls(){if(this.autoWrap)return[this.urls.slice(0,this.maxCount)];{const e=[];return this.urls.map(((t,n)=>{if(n+1<=this.maxCount){const o=Math.floor(n/this.rowCount);e[o]||(e[o]=[]),e[o].push(t)}})),e}},imageWidth(){return ck(1===this.urls.length?this.singleWidth:this.multipleSize,this.unit)},imageHeight(){return ck(1===this.urls.length?this.singleHeight:this.multipleSize,this.unit)},albumWidth(){let e=0;return e=1===this.urls.length?this.singleWidth:this.showUrls[0].length*this.multipleSize+this.space*(this.showUrls[0].length-1),this.$emit("albumWidth",e),e}},methods:{addUnit:ck,onPreviewTap(e,t){const n=this.urls.map((e=>this.getSrc(e)));Pb({current:t,urls:n}),this.stop&&this.preventEvent(e)},getSrc(e){return UC.object(e)?this.keyName&&e[this.keyName]||e.src:e},getImageRect(){const e=this.getSrc(this.urls[0]);lb({src:e,success:e=>{const t=e.width>=e.height;this.singleWidth=t?this.singleSize:e.width/e.height*this.singleSize,this.singleHeight=t?e.height/e.width*this.singleWidth:this.singleSize},fail:()=>{this.getComponentWidth()}})},async getComponentWidth(){await ek(30),this.$uGetRect(".u-album__row").then((e=>{this.singleWidth=e.width*this.singlePercent}))}}},[["render",function(e,t,n,o,i,r){const a=sm,s=fA(eo("up-text"),NA),l=Fg;return Zi(),ir(l,{class:"u-album"},{default:qn((()=>[(Zi(!0),or(qi,null,ti(r.showUrls,((t,n)=>(Zi(),ir(l,{class:"u-album__row",ref_for:!0,ref:"u-album__row",forComputedUse:r.albumWidth,key:n,style:fe({flexWrap:e.autoWrap?"wrap":"nowrap"})},{default:qn((()=>[(Zi(!0),or(qi,null,ti(t,((t,o)=>(Zi(),ir(l,{class:"u-album__row__wrapper",key:o,style:fe([r.imageStyle(n+1,o+1)]),onClick:n=>e.previewFullImage?r.onPreviewTap(n,r.getSrc(t)):""},{default:qn((()=>[dr(a,{src:r.getSrc(t),mode:1===e.urls.length?r.imageHeight>0?e.singleMode:"widthFix":e.multipleMode,style:fe([{width:r.imageWidth,height:r.imageHeight,borderRadius:"circle"==e.shape?"10000px":r.addUnit(e.radius)}])},null,8,["src","mode","style"]),e.showMore&&e.urls.length>e.rowCount*r.showUrls.length&&n===r.showUrls.length-1&&o===r.showUrls[r.showUrls.length-1].length-1?(Zi(),ir(l,{key:0,class:"u-album__row__wrapper__text",style:fe({borderRadius:"circle"==e.shape?"50%":r.addUnit(e.radius)})},{default:qn((()=>[dr(s,{text:"+"+(e.urls.length-e.maxCount),color:"#fff",size:.3*e.multipleSize,align:"center",customStyle:"justify-content: center"},null,8,["text","size"])])),_:1},8,["style"])):fr("",!0)])),_:2},1032,["style","onClick"])))),128))])),_:2},1032,["forComputedUse","style"])))),128))])),_:1})}],["__scopeId","data-v-02a53a66"]]),ST=Object.freeze(Object.defineProperty({__proto__:null,default:_T},Symbol.toStringTag,{value:"Module"})),wT={props:{title:{type:String,default:()=>zk.alert.title},type:{type:String,default:()=>zk.alert.type},description:{type:String,default:()=>zk.alert.description},closable:{type:Boolean,default:()=>zk.alert.closable},showIcon:{type:Boolean,default:()=>zk.alert.showIcon},effect:{type:String,default:()=>zk.alert.effect},center:{type:Boolean,default:()=>zk.alert.center},fontSize:{type:[String,Number],default:()=>zk.alert.fontSize}}};const xT=rA({name:"u-alert",mixins:[Lk,$k,wT],data:()=>({show:!0}),computed:{iconColor(){return"light"===this.effect?this.type:"#fff"},iconName(){switch(this.type){case"success":return"checkmark-circle-fill";case"error":return"close-circle-fill";case"warning":default:return"error-circle-fill";case"info":return"info-circle-fill";case"primary":return"more-circle-fill"}}},emits:["click","close"],methods:{addUnit:ck,addStyle:lk,clickHandler(){this.$emit("click")},closeHandler(){this.show=!1,this.$emit("close")}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-icon"),hA),s=Fg,l=Rg,c=fA(eo("u-transition"),bA);return Zi(),ir(c,{mode:"fade",show:i.show},{default:qn((()=>[dr(s,{class:me(["u-alert",[`u-alert--${e.type}--${e.effect}`]]),onClick:Pa(r.clickHandler,["stop"]),style:fe([r.addStyle(e.customStyle)])},{default:qn((()=>[e.showIcon?(Zi(),ir(s,{key:0,class:"u-alert__icon"},{default:qn((()=>[dr(a,{name:r.iconName,size:"18",color:r.iconColor},null,8,["name","color"])])),_:1})):fr("",!0),dr(s,{class:"u-alert__content",style:fe([{paddingRight:e.closable?"20px":0}])},{default:qn((()=>[e.title?(Zi(),ir(l,{key:0,class:me(["u-alert__content__title",["dark"===e.effect?"u-alert__text--dark":`u-alert__text--${e.type}--light`]]),style:fe([{fontSize:r.addUnit(e.fontSize),textAlign:e.center?"center":"left"}])},{default:qn((()=>[pr(q(e.title),1)])),_:1},8,["style","class"])):fr("",!0),e.description?(Zi(),ir(l,{key:1,class:me(["u-alert__content__desc",["dark"===e.effect?"u-alert__text--dark":`u-alert__text--${e.type}--light`]]),style:fe([{fontSize:r.addUnit(e.fontSize),textAlign:e.center?"center":"left"}])},{default:qn((()=>[pr(q(e.description),1)])),_:1},8,["style","class"])):fr("",!0)])),_:1},8,["style"]),e.closable?(Zi(),ir(s,{key:1,class:"u-alert__close",onClick:Pa(r.closeHandler,["stop"])},{default:qn((()=>[dr(a,{name:"close",color:r.iconColor,size:"15"},null,8,["color"])])),_:1},8,["onClick"])):fr("",!0)])),_:1},8,["class","onClick","style"])])),_:1},8,["show"])}],["__scopeId","data-v-883f3d49"]]),CT=Object.freeze(Object.defineProperty({__proto__:null,default:xT},Symbol.toStringTag,{value:"Module"})),kT={props:{src:{type:String,default:()=>zk.avatar.src},shape:{type:String,default:()=>zk.avatar.shape},size:{type:[String,Number],default:()=>zk.avatar.size},mode:{type:String,default:()=>zk.avatar.mode},text:{type:String,default:()=>zk.avatar.text},bgColor:{type:String,default:()=>zk.avatar.bgColor},color:{type:String,default:()=>zk.avatar.color},fontSize:{type:[String,Number],default:()=>zk.avatar.fontSize},icon:{type:String,default:()=>zk.avatar.icon},mpAvatar:{type:Boolean,default:()=>zk.avatar.mpAvatar},randomBgColor:{type:Boolean,default:()=>zk.avatar.randomBgColor},defaultUrl:{type:String,default:()=>zk.avatar.defaultUrl},colorIndex:{type:[String,Number],validator:e=>UC.range(e,[0,19])||""===e,default:()=>zk.avatar.colorIndex},name:{type:String,default:()=>zk.avatar.name}}};const AT=rA({name:"u-avatar",mixins:[Lk,$k,kT],data(){return{colors:["#ffb34b","#f2bba9","#f7a196","#f18080","#88a867","#bfbf39","#89c152","#94d554","#f19ec2","#afaae4","#e1b0df","#c38cc1","#72dcdc","#9acdcb","#77b1cc","#448aca","#86cefa","#98d1ee","#73d1f1","#80a7dc"],avatarUrl:this.src,allowMp:!1}},watch:{src:{immediate:!0,handler(e){this.avatarUrl=e,e||this.errorHandler()}}},computed:{imageStyle:()=>({})},created(){this.init()},emits:["click"],methods:{addStyle:lk,addUnit:ck,random:rk,init(){},isImg(){return-1!==this.src.indexOf("/")},errorHandler(){this.avatarUrl=this.defaultUrl||"data:image/jpg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjREMEQwRkY0RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjREMEQwRkY1RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NEQwRDBGRjJGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NEQwRDBGRjNGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAGBAQEBQQGBQUGCQYFBgkLCAYGCAsMCgoLCgoMEAwMDAwMDBAMDg8QDw4MExMUFBMTHBsbGxwfHx8fHx8fHx8fAQcHBw0MDRgQEBgaFREVGh8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx//wAARCADIAMgDAREAAhEBAxEB/8QAcQABAQEAAwEBAAAAAAAAAAAAAAUEAQMGAgcBAQAAAAAAAAAAAAAAAAAAAAAQAAIBAwICBgkDBQAAAAAAAAABAhEDBCEFMVFBYXGREiKBscHRMkJSEyOh4XLxYjNDFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8A/fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHbHFyZ/Dam+yLA+Z2L0Pjtyj2poD4AAAAAAAAAAAAAAAAAAAAAAAAKWFs9y6lcvvwQeqj8z9wFaziY1n/HbUX9XF97A7QAGXI23EvJ1goyfzR0YEfN269jeZ+a03pNe0DIAAAAAAAAAAAAAAAAAAAACvtO3RcVkXlWutuL9YFYAAAAAOJRjKLjJVi9GmB5/csH/mu1h/in8PU+QGMAAAAAAAAAAAAAAAAAAaMDG/6MmMH8C80+xAelSSVFolwQAAAAAAAHVlWI37ErUulaPk+hgeYnCUJuElSUXRrrQHAAAAAAAAAAAAAAAAABa2Oz4bM7r4zdF2ICmAAAAAAAAAg7zZ8GX41wuJP0rRgYAAAAAAAAAAAAAAAAAD0m2R8ODaXU33tsDSAAAAAAAAAlb9HyWZcnJd9PcBHAAAAAAAAAAAAAAAAAPS7e64Vn+KA0AAAAAAAAAJm+v8Ftf3ewCKAAAAAAAAAAAAAAAAAX9muqeGo9NttP06+0DcAAAAAAAAAjb7dTu2ra+VOT9P8AQCWAAAAAAAAAAAAAAAAAUNmyPt5Ltv4bui/kuAF0AAAAAAADiUlGLlJ0SVW+oDzOXfd/Ind6JPRdS0QHSAAAAAAAAAAAAAAAAAE2nVaNcGB6Lbs6OTao9LsF51z60BrAAAAAABJ3jOVHjW3r/sa9QEgAAAAAAAAAAAAAAAAAAAPu1duWriuW34ZR4MC9hbnZyEoy8l36XwfYBsAAADaSq9EuLAlZ+7xSdrGdW9Hc5dgEdtt1erfFgAAAAAAAAAAAAAAAAADVjbblX6NR8MH80tEBRs7HYivyzlN8lovaBPzduvY0m6eK10TXtAyAarO55lpJK54orolr+4GqO/Xaea1FvqbXvA+Z77kNeW3GPbV+4DJfzcm/pcm3H6Vou5AdAFLC2ed2Pjv1txa8sV8T6wOL+yZEKu1JXFy4MDBOE4ScZxcZLinoB8gAAAAAAAAAAAB242LeyJ+C3GvN9C7QLmJtePYpKS+5c+p8F2IDYAANJqj1T4oCfk7Nj3G5Wn9qXJax7gJ93Z82D8sVNc4v30A6Xg5i42Z+iLfqARwcyT0sz9MWvWBps7LlTf5Grce9/oBTxdtxseklHxT+uWr9AGoAB138ezfj4bsFJdD6V2MCPm7RdtJzs1uW1xXzL3gTgAAAAAAAAADRhYc8q74I6RWs5ckB6GxYtWLat21SK731sDsAAAAAAAAAAAAAAAASt021NO/YjrxuQXT1oCOAAAAAAABzGLlJRSq26JAelwsWONYjbXxcZvmwO8AAAAAAAAAAAAAAAAAAef3TEWPkVivx3NY9T6UBiAAAAAABo2+VmGXblddIJ8eivRUD0oAAAAAAAAAAAAAAAAAAAYt4tKeFKVNYNSXfRgefAAAAAAAAr7VuSSWPedKaW5v1MCsAAAAAAAAAAAAAAAAAAIe6bj96Ts2n+JPzSXzP3ATgAAAAAAAAFbbt1UUrOQ9FpC4/UwK6aaqtU+DAAAAAAAAAAAAAAA4lKMIuUmoxWrb4ARNx3R3q2rLpa4Sl0y/YCcAAAAAAAAAAANmFud7G8r89r6X0dgFvGzLGRGtuWvTF6NAdwAAAAAAAAAAAy5W442PVN+K59EePp5ARMvOv5MvO6QXCC4AZwAAAAAAAAAAAAAcxlKLUotprg1owN+PvORborq+7Hnwl3gUbO74VzRydt8pKn68ANcJwmqwkpLmnUDkAAAAfNy9atqtyagut0AxXt5xIV8Fbj6lRd7Am5G65V6qUvtwfyx94GMAAAAAAAAAAAAAAAAAAAOU2nVOj5gdsc3LiqRvTpyqwOxbnnrhdfpSfrQB7pnv/AGvuS9gHXPMy5/Fem1yq0v0A6W29XqwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAf//Z"},clickHandler(e){this.$emit("click",this.name,e)}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-icon"),hA),s=fA(eo("up-text"),NA),l=sm,c=Fg;return Zi(),ir(c,{class:me(["u-avatar",[`u-avatar--${e.shape}`]]),style:fe([{backgroundColor:e.text||e.icon?e.randomBgColor?i.colors[""!==e.colorIndex?e.colorIndex:r.random(0,19)]:e.bgColor:"transparent",width:r.addUnit(e.size),height:r.addUnit(e.size)},r.addStyle(e.customStyle)]),onClick:r.clickHandler},{default:qn((()=>[ni(e.$slots,"default",{},(()=>[e.mpAvatar&&i.allowMp?(Zi(),or(qi,{key:0},[],64)):e.icon?(Zi(),ir(a,{key:1,name:e.icon,size:e.fontSize,color:e.color},null,8,["name","size","color"])):e.text?(Zi(),ir(s,{key:2,text:e.text,size:e.fontSize,color:e.color,align:"center",customStyle:"justify-content: center"},null,8,["text","size","color"])):(Zi(),ir(l,{key:3,class:me(["u-avatar__image",[`u-avatar__image--${e.shape}`]]),src:i.avatarUrl||e.defaultUrl,mode:e.mode,onError:r.errorHandler,style:fe([{width:r.addUnit(e.size),height:r.addUnit(e.size)}])},null,8,["class","src","mode","onError","style"]))]),!0)])),_:3},8,["class","style","onClick"])}],["__scopeId","data-v-f7d986be"]]),TT=Object.freeze(Object.defineProperty({__proto__:null,default:AT},Symbol.toStringTag,{value:"Module"})),IT={props:{urls:{type:Array,default:()=>zk.avatarGroup.urls},maxCount:{type:[String,Number],default:()=>zk.avatarGroup.maxCount},shape:{type:String,default:()=>zk.avatarGroup.shape},mode:{type:String,default:()=>zk.avatarGroup.mode},showMore:{type:Boolean,default:()=>zk.avatarGroup.showMore},size:{type:[String,Number],default:()=>zk.avatarGroup.size},keyName:{type:String,default:()=>zk.avatarGroup.keyName},gap:{type:[String,Number],validator:e=>e>=0&&e<=1,default:()=>zk.avatarGroup.gap},extraValue:{type:[Number,String],default:()=>zk.avatarGroup.extraValue}}};const BT=rA({name:"u-avatar-group",mixins:[Lk,$k,IT],data:()=>({}),computed:{showUrl(){return this.urls.slice(0,this.maxCount)}},emits:["showMore"],methods:{addUnit:ck,testObject:UC.object,clickHandler(){this.$emit("showMore")}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-avatar"),AT),s=fA(eo("up-text"),NA),l=Fg;return Zi(),ir(l,{class:"u-avatar-group"},{default:qn((()=>[(Zi(!0),or(qi,null,ti(r.showUrl,((t,n)=>(Zi(),ir(l,{class:"u-avatar-group__item",key:n,style:fe({marginLeft:0===n?0:r.addUnit(-e.size*e.gap)})},{default:qn((()=>[dr(a,{size:e.size,shape:e.shape,mode:e.mode,src:r.testObject(t)?e.keyName&&t[e.keyName]||t.url:t},null,8,["size","shape","mode","src"]),e.showMore&&n===r.showUrl.length-1&&(e.urls.length>e.maxCount||e.extraValue>0)?(Zi(),ir(l,{key:0,class:"u-avatar-group__item__show-more",onClick:r.clickHandler},{default:qn((()=>[dr(s,{color:"#ffffff",size:.4*e.size,text:`+${e.extraValue||e.urls.length-r.showUrl.length}`,align:"center",customStyle:"justify-content: center"},null,8,["size","text"])])),_:1},8,["onClick"])):fr("",!0)])),_:2},1032,["style"])))),128))])),_:1})}],["__scopeId","data-v-faed28be"]]),ET=Object.freeze(Object.defineProperty({__proto__:null,default:BT},Symbol.toStringTag,{value:"Module"}));const PT=rA({name:"u-back-top",mixins:[Lk,$k,{props:{mode:{type:String,default:()=>zk.backtop.mode},icon:{type:String,default:()=>zk.backtop.icon},text:{type:String,default:()=>zk.backtop.text},duration:{type:[String,Number],default:()=>zk.backtop.duration},scrollTop:{type:[String,Number],default:()=>zk.backtop.scrollTop},top:{type:[String,Number],default:()=>zk.backtop.top},bottom:{type:[String,Number],default:()=>zk.backtop.bottom},right:{type:[String,Number],default:()=>zk.backtop.right},zIndex:{type:[String,Number],default:()=>zk.backtop.zIndex},iconStyle:{type:Object,default:()=>zk.backtop.iconStyle}}}],computed:{backTopStyle(){return{bottom:ck(this.bottom),right:ck(this.right),width:"40px",height:"40px",position:"fixed",zIndex:10}},show(){return ZC(this.scrollTop)>ZC(this.top)},contentStyle(){const e={};let t=0;return t="circle"===this.mode?"100px":"4px",e.borderTopLeftRadius=t,e.borderTopRightRadius=t,e.borderBottomLeftRadius=t,e.borderBottomRightRadius=t,dk(e,lk(this.customStyle))}},emits:["click"],methods:{backToTop(){Pv({scrollTop:0,duration:this.duration}),this.$emit("click")}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-icon"),hA),s=Rg,l=Fg,c=fA(eo("u-transition"),bA);return Zi(),ir(c,{mode:"fade",customStyle:r.backTopStyle,show:r.show},{default:qn((()=>[e.$slots.default||e.$slots.$default?ni(e.$slots,"default",{key:1},void 0,!0):(Zi(),ir(l,{key:0,class:"u-back-top",style:fe([r.contentStyle]),onClick:r.backToTop},{default:qn((()=>[dr(a,{name:e.icon,"custom-style":e.iconStyle},null,8,["name","custom-style"]),e.text?(Zi(),ir(s,{key:0,class:"u-back-top__text"},{default:qn((()=>[pr(q(e.text),1)])),_:1})):fr("",!0)])),_:1},8,["style","onClick"]))])),_:3},8,["customStyle","show"])}],["__scopeId","data-v-c418df2e"]]),OT=Object.freeze(Object.defineProperty({__proto__:null,default:PT},Symbol.toStringTag,{value:"Module"}));const MT=rA({name:"u-badge",mixins:[Lk,{props:{isDot:{type:Boolean,default:()=>zk.badge.isDot},value:{type:[Number,String],default:()=>zk.badge.value},modelValue:{type:[Number,String],default:()=>zk.badge.modelValue},show:{type:Boolean,default:()=>zk.badge.show},max:{type:[Number,String],default:()=>zk.badge.max},type:{type:String,default:()=>zk.badge.type},showZero:{type:Boolean,default:()=>zk.badge.showZero},bgColor:{type:[String,null],default:()=>zk.badge.bgColor},color:{type:[String,null],default:()=>zk.badge.color},shape:{type:String,default:()=>zk.badge.shape},numberType:{type:String,default:()=>zk.badge.numberType},offset:{type:Array,default:()=>zk.badge.offset},inverted:{type:Boolean,default:()=>zk.badge.inverted},absolute:{type:Boolean,default:()=>zk.badge.absolute}}},$k],computed:{boxStyle:()=>({}),badgeStyle(){const e={};if(this.color&&(e.color=this.color),this.bgColor&&!this.inverted&&(e.backgroundColor=this.bgColor),this.absolute&&(e.position="absolute",this.offset.length)){const t=this.offset[0],n=this.offset[1]||t;e.top=ck(t),e.right=ck(n)}return e},showValue(){switch(this.numberType){case"overflow":return Number(this.value)>Number(this.max)?this.max+"+":this.value;case"ellipsis":return Number(this.value)>Number(this.max)?"...":this.value;case"limit":return Number(this.value)>999?Number(this.value)>=9999?Math.floor(this.value/1e4*100)/100+"w":Math.floor(this.value/1e3*100)/100+"k":this.value;default:return Number(this.value)}}},methods:{addStyle:lk}},[["render",function(e,t,n,o,i,r){const a=Rg;return e.show&&(0!==Number(e.value)||e.showZero||e.isDot)?(Zi(),ir(a,{key:0,class:me([[e.isDot?"u-badge--dot":"u-badge--not-dot",e.inverted&&"u-badge--inverted","horn"===e.shape&&"u-badge--horn",`u-badge--${e.type}${e.inverted?"--inverted":""}`],"u-badge"]),style:fe([r.addStyle(e.customStyle),r.badgeStyle])},{default:qn((()=>[pr(q(e.isDot?"":r.showValue),1)])),_:1},8,["class","style"])):fr("",!0)}],["__scopeId","data-v-c4f301c4"]]),DT=Object.freeze(Object.defineProperty({__proto__:null,default:MT},Symbol.toStringTag,{value:"Module"}));const zT=rA({name:"up-box",data:()=>({}),mixins:[Lk,$k,{props:{bgColors:{type:[Array],default:["#EEFCFF","#FCF8FF","#FDF8F2"]},height:{type:[String],default:"160px"},borderRadius:{type:[String],default:"6px"},gap:{type:[String],default:"15px"}}}],computed:{},emits:[],methods:{addStyle:lk}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:"u-box",style:fe([{height:e.height},r.addStyle(e.customStyle)])},{default:qn((()=>[dr(a,{class:"u-box__left",style:fe({borderRadius:e.borderRadius,backgroundColor:e.bgColors[0]})},{default:qn((()=>[ni(e.$slots,"left",{},(()=>[pr("左")]),!0)])),_:3},8,["style"]),dr(a,{class:"u-box__gap",style:fe({width:e.gap,height:e.height})},null,8,["style"]),dr(a,{class:"u-box__right"},{default:qn((()=>[dr(a,{class:"u-box__right-top",style:fe({borderRadius:e.borderRadius,backgroundColor:e.bgColors[1]})},{default:qn((()=>[ni(e.$slots,"rightTop",{},(()=>[pr("右上")]),!0)])),_:3},8,["style"]),dr(a,{class:"u-box__right-gap",style:fe({height:e.gap})},null,8,["style"]),dr(a,{class:"u-box__right-bottom",style:fe({borderRadius:e.borderRadius,backgroundColor:e.bgColors[2]})},{default:qn((()=>[ni(e.$slots,"rightBottom",{},(()=>[pr("右下")]),!0)])),_:3},8,["style"])])),_:3})])),_:3},8,["style"])}],["__scopeId","data-v-29c2d627"]]),RT=Object.freeze(Object.defineProperty({__proto__:null,default:zT},Symbol.toStringTag,{value:"Module"})),NT={props:{hairline:{type:Boolean,default:()=>zk.button.hairline},type:{type:String,default:()=>zk.button.type},size:{type:String,default:()=>zk.button.size},shape:{type:String,default:()=>zk.button.shape},plain:{type:Boolean,default:()=>zk.button.plain},disabled:{type:Boolean,default:()=>zk.button.disabled},loading:{type:Boolean,default:()=>zk.button.loading},loadingText:{type:[String,Number],default:()=>zk.button.loadingText},loadingMode:{type:String,default:()=>zk.button.loadingMode},loadingSize:{type:[String,Number],default:()=>zk.button.loadingSize},openType:{type:String,default:()=>zk.button.openType},formType:{type:String,default:()=>zk.button.formType},appParameter:{type:String,default:()=>zk.button.appParameter},hoverStopPropagation:{type:Boolean,default:()=>zk.button.hoverStopPropagation},lang:{type:String,default:()=>zk.button.lang},sessionFrom:{type:String,default:()=>zk.button.sessionFrom},sendMessageTitle:{type:String,default:()=>zk.button.sendMessageTitle},sendMessagePath:{type:String,default:()=>zk.button.sendMessagePath},sendMessageImg:{type:String,default:()=>zk.button.sendMessageImg},showMessageCard:{type:Boolean,default:()=>zk.button.showMessageCard},dataName:{type:String,default:()=>zk.button.dataName},throttleTime:{type:[String,Number],default:()=>zk.button.throttleTime},hoverStartTime:{type:[String,Number],default:()=>zk.button.hoverStartTime},hoverStayTime:{type:[String,Number],default:()=>zk.button.hoverStayTime},text:{type:[String,Number],default:()=>zk.button.text},icon:{type:String,default:()=>zk.button.icon},iconColor:{type:String,default:()=>zk.button.icon},color:{type:String,default:()=>zk.button.color},stop:{type:Boolean,default:()=>zk.button.stop}}};let LT;function jT(e,t=500,n=!0){n?LT||(LT=!0,"function"==typeof e&&e(),setTimeout((()=>{LT=!1}),t)):LT||(LT=!0,setTimeout((()=>{LT=!1,"function"==typeof e&&e()}),t))}const $T=rA({name:"u-button",mixins:[Lk,$k,NT],data:()=>({}),computed:{bemClass(){return this.color?this.bem("button",["shape","size"],["disabled","plain","hairline"]):this.bem("button",["type","shape","size"],["disabled","plain","hairline"])},loadingColor(){return this.plain?this.color?this.color:CC[`u-${this.type}`]:"info"===this.type?"#c9c9c9":"rgb(200, 200, 200)"},iconColorCom(){return this.iconColor?this.iconColor:this.plain?this.color?this.color:this.type:"info"===this.type?"#000000":"#ffffff"},baseColor(){let e={};return this.color&&(e.color=this.plain?this.color:"white",this.plain||(e["background-color"]=this.color),-1!==this.color.indexOf("gradient")?(e.borderTopWidth=0,e.borderRightWidth=0,e.borderBottomWidth=0,e.borderLeftWidth=0,this.plain||(e.backgroundImage=this.color)):(e.borderColor=this.color,e.borderWidth="1px",e.borderStyle="solid")),e},nvueTextStyle(){let e={};return"info"===this.type&&(e.color="#323233"),this.color&&(e.color=this.plain?this.color:"white"),e.fontSize=this.textSize+"px",e},textSize(){let e=14,{size:t}=this;return"large"===t&&(e=16),"normal"===t&&(e=14),"small"===t&&(e=12),"mini"===t&&(e=10),e}},emits:["click","getphonenumber","getuserinfo","error","opensetting","launchapp","agreeprivacyauthorization"],methods:{addStyle:lk,clickHandler(e){this.disabled||this.loading||jT((()=>{this.$emit("click",e)}),this.throttleTime),this.stop&&this.preventEvent(e)},getphonenumber(e){this.$emit("getphonenumber",e)},getuserinfo(e){this.$emit("getuserinfo",e)},error(e){this.$emit("error",e)},opensetting(e){this.$emit("opensetting",e)},launchapp(e){this.$emit("launchapp",e)},agreeprivacyauthorization(e){this.$emit("agreeprivacyauthorization",e)}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-loading-icon"),eT),s=Rg,l=fA(eo("u-icon"),hA),c=Bu;return Zi(),ir(c,{"hover-start-time":Number(e.hoverStartTime),"hover-stay-time":Number(e.hoverStayTime),"form-type":e.formType,"open-type":e.openType,"app-parameter":e.appParameter,"hover-stop-propagation":e.hoverStopPropagation,"send-message-title":e.sendMessageTitle,"send-message-path":e.sendMessagePath,lang:e.lang,"data-name":e.dataName,"session-from":e.sessionFrom,"send-message-img":e.sendMessageImg,"show-message-card":e.showMessageCard,onGetphonenumber:r.getphonenumber,onGetuserinfo:r.getuserinfo,onError:r.error,onOpensetting:r.opensetting,onLaunchapp:r.launchapp,onAgreeprivacyauthorization:r.agreeprivacyauthorization,"hover-class":e.disabled||e.loading?"":"u-button--active",class:me(["u-button u-reset-button",r.bemClass]),style:fe([r.baseColor,r.addStyle(e.customStyle)]),onClick:r.clickHandler},{default:qn((()=>[e.loading?(Zi(),or(qi,{key:0},[dr(a,{mode:e.loadingMode,size:1.15*e.loadingSize,color:r.loadingColor},null,8,["mode","size","color"]),dr(s,{class:"u-button__loading-text",style:fe([{fontSize:r.textSize+"px"}])},{default:qn((()=>[pr(q(e.loadingText||e.text),1)])),_:1},8,["style"])],64)):(Zi(),or(qi,{key:1},[e.icon?(Zi(),ir(l,{key:0,name:e.icon,color:r.iconColorCom,size:1.35*r.textSize,customStyle:{marginRight:"2px"}},null,8,["name","color","size"])):fr("",!0),ni(e.$slots,"default",{},(()=>[dr(s,{class:"u-button__text",style:fe([{fontSize:r.textSize+"px"}])},{default:qn((()=>[pr(q(e.text),1)])),_:1},8,["style"])]),!0)],64))])),_:3},8,["hover-start-time","hover-stay-time","form-type","open-type","app-parameter","hover-stop-propagation","send-message-title","send-message-path","lang","data-name","session-from","send-message-img","show-message-card","onGetphonenumber","onGetuserinfo","onError","onOpensetting","onLaunchapp","onAgreeprivacyauthorization","hover-class","style","onClick","class"])}],["__scopeId","data-v-f0b26300"]]),FT=Object.freeze(Object.defineProperty({__proto__:null,default:$T},Symbol.toStringTag,{value:"Module"}));const HT=rA({name:"u-calendar-header",mixins:[Lk,$k],props:{title:{type:String,default:""},subtitle:{type:String,default:""},showTitle:{type:Boolean,default:!0},showSubtitle:{type:Boolean,default:!0},weekText:{type:Array,default:()=>["一","二","三","四","五","六","日"]}},data:()=>({}),methods:{name(){}}},[["render",function(e,t,n,o,i,r){const a=Rg,s=Fg;return Zi(),ir(s,{class:"u-calendar-header u-border-bottom"},{default:qn((()=>[n.showTitle?(Zi(),ir(a,{key:0,class:"u-calendar-header__title"},{default:qn((()=>[pr(q(n.title),1)])),_:1})):fr("",!0),n.showSubtitle?(Zi(),ir(a,{key:1,class:"u-calendar-header__subtitle"},{default:qn((()=>[pr(q(n.subtitle),1)])),_:1})):fr("",!0),dr(s,{class:"u-calendar-header__weekdays"},{default:qn((()=>[dr(a,{class:"u-calendar-header__weekdays__weekday"},{default:qn((()=>[pr(q(n.weekText[0]),1)])),_:1}),dr(a,{class:"u-calendar-header__weekdays__weekday"},{default:qn((()=>[pr(q(n.weekText[1]),1)])),_:1}),dr(a,{class:"u-calendar-header__weekdays__weekday"},{default:qn((()=>[pr(q(n.weekText[2]),1)])),_:1}),dr(a,{class:"u-calendar-header__weekdays__weekday"},{default:qn((()=>[pr(q(n.weekText[3]),1)])),_:1}),dr(a,{class:"u-calendar-header__weekdays__weekday"},{default:qn((()=>[pr(q(n.weekText[4]),1)])),_:1}),dr(a,{class:"u-calendar-header__weekdays__weekday"},{default:qn((()=>[pr(q(n.weekText[5]),1)])),_:1}),dr(a,{class:"u-calendar-header__weekdays__weekday"},{default:qn((()=>[pr(q(n.weekText[6]),1)])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-d57ae95b"]]);var VT="millisecond",UT="second",WT="minute",QT="hour",qT="day",GT="week",YT="month",XT="quarter",JT="year",KT="date",ZT=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,eI=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;const tI={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}};var nI=function(e,t,n){var o=String(e);return!o||o.length>=t?e:""+Array(t+1-o.length).join(n)+e};const oI={s:nI,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),o=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+nI(o,2,"0")+":"+nI(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var o=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(o,YT),r=n-i<0,a=t.clone().add(o+(r?-1:1),YT);return+(-(o+(n-i)/(r?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:YT,y:JT,w:GT,d:qT,D:KT,h:QT,m:WT,s:UT,ms:VT,Q:XT}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};var iI="en",rI={};rI[iI]=tI;var aI=function(e){return e instanceof uI||!(!e||!e.$isDayjsObject)},sI=function e(t,n,o){var i;if(!t)return iI;if("string"==typeof t){var r=t.toLowerCase();rI[r]&&(i=r),n&&(rI[r]=n,i=r);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;rI[s]=t,i=s}return!o&&i&&(iI=i),i||!o&&iI},lI=function(e,t){if(aI(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new uI(n)},cI=oI;cI.l=sI,cI.i=aI,cI.w=function(e,t){return lI(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var uI=function(){function e(e){this.$L=sI(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this.$isDayjsObject=!0}var t=e.prototype;return t.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(cI.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var o=t.match(ZT);if(o){var i=o[2]-1||0,r=(o[7]||"0").substring(0,3);return n?new Date(Date.UTC(o[1],i,o[3]||1,o[4]||0,o[5]||0,o[6]||0,r)):new Date(o[1],i,o[3]||1,o[4]||0,o[5]||0,o[6]||0,r)}}return new Date(t)}(e),this.init()},t.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},t.$utils=function(){return cI},t.isValid=function(){return!("Invalid Date"===this.$d.toString())},t.isSame=function(e,t){var n=lI(e);return this.startOf(t)<=n&&n<=this.endOf(t)},t.isAfter=function(e,t){return lI(e)<this.startOf(t)},t.isBefore=function(e,t){return this.endOf(t)<lI(e)},t.$g=function(e,t,n){return cI.u(e)?this[t]:this.set(n,e)},t.unix=function(){return Math.floor(this.valueOf()/1e3)},t.valueOf=function(){return this.$d.getTime()},t.startOf=function(e,t){var n=this,o=!!cI.u(t)||t,i=cI.p(e),r=function(e,t){var i=cI.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return o?i:i.endOf(qT)},a=function(e,t){return cI.w(n.toDate()[e].apply(n.toDate("s"),(o?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},s=this.$W,l=this.$M,c=this.$D,u="set"+(this.$u?"UTC":"");switch(i){case JT:return o?r(1,0):r(31,11);case YT:return o?r(1,l):r(0,l+1);case GT:var d=this.$locale().weekStart||0,h=(s<d?s+7:s)-d;return r(o?c-h:c+(6-h),l);case qT:case KT:return a(u+"Hours",0);case QT:return a(u+"Minutes",1);case WT:return a(u+"Seconds",2);case UT:return a(u+"Milliseconds",3);default:return this.clone()}},t.endOf=function(e){return this.startOf(e,!1)},t.$set=function(e,t){var n,o=cI.p(e),i="set"+(this.$u?"UTC":""),r=(n={},n[qT]=i+"Date",n[KT]=i+"Date",n[YT]=i+"Month",n[JT]=i+"FullYear",n[QT]=i+"Hours",n[WT]=i+"Minutes",n[UT]=i+"Seconds",n[VT]=i+"Milliseconds",n)[o],a=o===qT?this.$D+(t-this.$W):t;if(o===YT||o===JT){var s=this.clone().set(KT,1);s.$d[r](a),s.init(),this.$d=s.set(KT,Math.min(this.$D,s.daysInMonth())).$d}else r&&this.$d[r](a);return this.init(),this},t.set=function(e,t){return this.clone().$set(e,t)},t.get=function(e){return this[cI.p(e)]()},t.add=function(e,t){var n,o=this;e=Number(e);var i=cI.p(t),r=function(t){var n=lI(o);return cI.w(n.date(n.date()+Math.round(t*e)),o)};if(i===YT)return this.set(YT,this.$M+e);if(i===JT)return this.set(JT,this.$y+e);if(i===qT)return r(1);if(i===GT)return r(7);var a=(n={},n[WT]=6e4,n[QT]=36e5,n[UT]=1e3,n)[i]||1,s=this.$d.getTime()+e*a;return cI.w(s,this)},t.subtract=function(e,t){return this.add(-1*e,t)},t.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||"Invalid Date";var o=e||"YYYY-MM-DDTHH:mm:ssZ",i=cI.z(this),r=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,d=function(e,n,i,r){return e&&(e[n]||e(t,o))||i[n].slice(0,r)},h=function(e){return cI.s(r%12||12,e,"0")},p=u||function(e,t,n){var o=e<12?"AM":"PM";return n?o.toLowerCase():o};return o.replace(eI,(function(e,o){return o||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return cI.s(t.$y,4,"0");case"M":return s+1;case"MM":return cI.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,c,3);case"MMMM":return d(c,s);case"D":return t.$D;case"DD":return cI.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,l,2);case"ddd":return d(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(r);case"HH":return cI.s(r,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return p(r,a,!0);case"A":return p(r,a,!1);case"m":return String(a);case"mm":return cI.s(a,2,"0");case"s":return String(t.$s);case"ss":return cI.s(t.$s,2,"0");case"SSS":return cI.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},t.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},t.diff=function(e,t,n){var o,i=this,r=cI.p(t),a=lI(e),s=6e4*(a.utcOffset()-this.utcOffset()),l=this-a,c=function(){return cI.m(i,a)};switch(r){case JT:o=c()/12;break;case YT:o=c();break;case XT:o=c()/3;break;case GT:o=(l-s)/6048e5;break;case qT:o=(l-s)/864e5;break;case QT:o=l/36e5;break;case WT:o=l/6e4;break;case UT:o=l/1e3;break;default:o=l}return n?o:cI.a(o)},t.daysInMonth=function(){return this.endOf(YT).$D},t.$locale=function(){return rI[this.$L]},t.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),o=sI(e,t,!0);return o&&(n.$L=o),n},t.clone=function(){return cI.w(this.$d,this)},t.toDate=function(){return new Date(this.valueOf())},t.toJSON=function(){return this.isValid()?this.toISOString():null},t.toISOString=function(){return this.$d.toISOString()},t.toString=function(){return this.$d.toUTCString()},e}(),dI=uI.prototype;lI.prototype=dI,[["$ms",VT],["$s",UT],["$m",WT],["$H",QT],["$W",qT],["$M",YT],["$y",JT],["$D",KT]].forEach((function(e){dI[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),lI.extend=function(e,t){return e.$i||(e(t,uI,lI),e.$i=!0),lI},lI.locale=sI,lI.isDayjs=aI,lI.unix=function(e){return lI(1e3*e)},lI.en=rI[iI],lI.Ls=rI,lI.p={};const hI=rA({name:"u-calendar-month",mixins:[Lk,$k],props:{showMark:{type:Boolean,default:!0},color:{type:String,default:"#3c9cff"},months:{type:Array,default:()=>[]},mode:{type:String,default:"single"},rowHeight:{type:[String,Number],default:58},maxCount:{type:[String,Number],default:1/0},startText:{type:String,default:"开始"},endText:{type:String,default:"结束"},defaultDate:{type:[Array,String,Date],default:null},minDate:{type:[String,Number],default:0},maxDate:{type:[String,Number],default:0},maxMonth:{type:[String,Number],default:2},readonly:{type:Boolean,default:()=>zk.calendar.readonly},maxRange:{type:[Number,String],default:1/0},rangePrompt:{type:String,default:""},showRangePrompt:{type:Boolean,default:!0},allowSameDay:{type:Boolean,default:!1},forbidDays:{type:Array,default:()=>[]},forbidDaysToast:{type:String,default:""}},data:()=>({width:0,item:{},selected:[]}),watch:{selectedChange:{immediate:!0,handler(e){this.setDefaultDate()}}},computed:{selectedChange(){return[this.minDate,this.maxDate,this.defaultDate]},dayStyle(e,t,n){return(e,t,n)=>{const o={};let i=n.week;const r=Number(parseFloat(this.width/7).toFixed(3).slice(0,-1));return o.height=ck(this.rowHeight),0===t&&(i=(0===i?7:i)-1,o.marginLeft=ck(i*r,"px")),"range"===this.mode&&(o.paddingLeft=0,o.paddingRight=0,o.paddingBottom=0,o.paddingTop=0),o}},daySelectStyle(){return(e,t,n)=>{let o=lI(n.date).format("YYYY-MM-DD"),i={};if(this.selected.some((e=>this.dateSame(e,o)))&&(i.backgroundColor=this.color),"single"===this.mode)o===this.selected[0]&&(i.borderTopLeftRadius="3px",i.borderBottomLeftRadius="3px",i.borderTopRightRadius="3px",i.borderBottomRightRadius="3px");else if("range"===this.mode)if(this.selected.length>=2){const e=this.selected.length-1;this.dateSame(o,this.selected[0])&&(i.borderTopLeftRadius="3px",i.borderBottomLeftRadius="3px"),this.dateSame(o,this.selected[e])&&(i.borderTopRightRadius="3px",i.borderBottomRightRadius="3px"),lI(o).isAfter(lI(this.selected[0]))&&lI(o).isBefore(lI(this.selected[e]))&&(i.backgroundColor=XA(this.color,"#ffffff",100)[90],i.opacity=.7)}else 1===this.selected.length&&(i.borderTopLeftRadius="3px",i.borderBottomLeftRadius="3px");else this.selected.some((e=>this.dateSame(e,o)))&&(i.borderTopLeftRadius="3px",i.borderBottomLeftRadius="3px",i.borderTopRightRadius="3px",i.borderBottomRightRadius="3px");return i}},textStyle(){return e=>{const t=lI(e.date).format("YYYY-MM-DD"),n={};if(this.selected.some((e=>this.dateSame(e,t)))&&(n.color="#ffffff"),"range"===this.mode){const e=this.selected.length-1;lI(t).isAfter(lI(this.selected[0]))&&lI(t).isBefore(lI(this.selected[e]))&&(n.color=this.color)}return n}},getBottomInfo(){return(e,t,n)=>{const o=lI(n.date).format("YYYY-MM-DD"),i=n.bottomInfo;if("range"===this.mode&&this.selected.length>0){if(1===this.selected.length)return this.dateSame(o,this.selected[0])?this.startText:i;{const e=this.selected.length-1;return this.dateSame(o,this.selected[0])&&this.dateSame(o,this.selected[1])&&1===e?`${this.startText}/${this.endText}`:this.dateSame(o,this.selected[0])?this.startText:this.dateSame(o,this.selected[e])?this.endText:i}}return i}}},mounted(){this.init()},methods:{init(){this.$emit("monthSelected",this.selected),this.$nextTick((()=>{ek(10).then((()=>{this.getWrapperWidth(),this.getMonthRect()}))}))},isForbid(e){let t=lI(e.date).format("YYYY-MM-DD");return!("range"===this.mode||!this.forbidDays.includes(t))},dateSame:(e,t)=>lI(e).isSame(lI(t)),getWrapperWidth(){this.$uGetRect(".u-calendar-month-wrapper").then((e=>{this.width=e.width}))},getMonthRect(){const e=this.months.map(((e,t)=>this.getMonthRectByPromise(`u-calendar-month-${t}`)));Promise.all(e).then((e=>{let t=1;const n=[];for(let o=0;o<this.months.length;o++)n[o]=t,t+=e[o].height;this.$emit("updateMonthTop",n)}))},getMonthRectByPromise(e){return new Promise((t=>{this.$uGetRect(`.${e}`).then((e=>{t(e)}))}))},clickHandler(e,t,n){if(this.readonly)return;this.item=n;const o=lI(n.date).format("YYYY-MM-DD");if(n.disabled)return;if(this.isForbid(n))return void xv({title:this.forbidDaysToast});let i=uk(this.selected);if("single"===this.mode)i=[o];else if("multiple"===this.mode)if(i.some((e=>this.dateSame(e,o)))){const e=i.findIndex((e=>e===o));i.splice(e,1)}else i.length<this.maxCount&&i.push(o);else if(0===i.length||i.length>=2)i=[o];else if(1===i.length){const e=i[0];if(lI(o).isBefore(e))i=[o];else if(lI(o).isAfter(e)){if(lI(lI(o).subtract(this.maxRange,"day")).isAfter(lI(i[0]))&&this.showRangePrompt)return void(this.rangePrompt?bk(this.rangePrompt):bk(`选择天数不能超过 ${this.maxRange} 天`));i.push(o);const e=i[0],t=i[1],n=[];let r=0;do{n.push(lI(e).add(r,"day").format("YYYY-MM-DD")),r++}while(lI(e).add(r,"day").isBefore(lI(t)));n.push(t),i=n}else{if(i[0]===o&&!this.allowSameDay)return;i.push(o)}}this.setSelected(i)},setDefaultDate(){if(!this.defaultDate){const e=[lI().format("YYYY-MM-DD")];return this.setSelected(e,!1)}let e=[];const t=this.minDate||lI().format("YYYY-MM-DD"),n=this.maxDate||lI(t).add(this.maxMonth-1,"month").format("YYYY-MM-DD");if("single"===this.mode)e=UC.array(this.defaultDate)?[this.defaultDate[0]]:[lI(this.defaultDate).format("YYYY-MM-DD")];else{if(!UC.array(this.defaultDate))return;e=this.defaultDate}e=e.filter((e=>lI(e).isAfter(lI(t).subtract(1,"day"))&&lI(e).isBefore(lI(n).add(1,"day")))),this.setSelected(e,!1)},setSelected(e,t=!0){this.selected=e,t&&this.$emit("monthSelected",this.selected,"tap")}}},[["render",function(e,t,n,o,i,r){const a=Rg,s=Fg;return Zi(),ir(s,{class:"u-calendar-month-wrapper",ref:"u-calendar-month-wrapper"},{default:qn((()=>[(Zi(!0),or(qi,null,ti(n.months,((e,t)=>(Zi(),ir(s,{key:t,class:me([`u-calendar-month-${t}`]),ref_for:!0,ref:`u-calendar-month-${t}`,id:`month-${t}`},{default:qn((()=>[0!==t?(Zi(),ir(a,{key:0,class:"u-calendar-month__title"},{default:qn((()=>[pr(q(e.year)+"年"+q(e.month)+"月",1)])),_:2},1024)):fr("",!0),dr(s,{class:"u-calendar-month__days"},{default:qn((()=>[n.showMark?(Zi(),ir(s,{key:0,class:"u-calendar-month__days__month-mark-wrapper"},{default:qn((()=>[dr(a,{class:"u-calendar-month__days__month-mark-wrapper__text"},{default:qn((()=>[pr(q(e.month),1)])),_:2},1024)])),_:2},1024)):fr("",!0),(Zi(!0),or(qi,null,ti(e.date,((e,n)=>(Zi(),ir(s,{class:me(["u-calendar-month__days__day",[e.selected&&"u-calendar-month__days__day__select--selected"]]),key:n,style:fe([r.dayStyle(t,n,e)]),onClick:o=>r.clickHandler(t,n,e)},{default:qn((()=>[dr(s,{class:"u-calendar-month__days__day__select",style:fe([r.daySelectStyle(t,n,e)])},{default:qn((()=>[dr(a,{class:me(["u-calendar-month__days__day__select__info",[e.disabled||r.isForbid(e)?"u-calendar-month__days__day__select__info--disabled":""]]),style:fe([r.textStyle(e)])},{default:qn((()=>[pr(q(e.day),1)])),_:2},1032,["class","style"]),r.getBottomInfo(t,n,e)?(Zi(),ir(a,{key:0,class:me(["u-calendar-month__days__day__select__buttom-info",[e.disabled||r.isForbid(e)?"u-calendar-month__days__day__select__buttom-info--disabled":""]]),style:fe([r.textStyle(e)])},{default:qn((()=>[pr(q(r.getBottomInfo(t,n,e)),1)])),_:2},1032,["class","style"])):fr("",!0),e.dot?(Zi(),ir(a,{key:1,class:"u-calendar-month__days__day__select__dot"})):fr("",!0)])),_:2},1032,["style"])])),_:2},1032,["style","onClick","class"])))),128))])),_:2},1024)])),_:2},1032,["class","id"])))),128))])),_:1},512)}],["__scopeId","data-v-e64ee0bb"]]),pI={props:{title:{type:String,default:()=>zk.calendar.title},showTitle:{type:Boolean,default:()=>zk.calendar.showTitle},showSubtitle:{type:Boolean,default:()=>zk.calendar.showSubtitle},mode:{type:String,default:()=>zk.calendar.mode},startText:{type:String,default:()=>zk.calendar.startText},endText:{type:String,default:()=>zk.calendar.endText},customList:{type:Array,default:()=>zk.calendar.customList},color:{type:String,default:()=>zk.calendar.color},minDate:{type:[String,Number],default:()=>zk.calendar.minDate},maxDate:{type:[String,Number],default:()=>zk.calendar.maxDate},defaultDate:{type:[Array,String,Date,null],default:()=>zk.calendar.defaultDate},maxCount:{type:[String,Number],default:()=>zk.calendar.maxCount},rowHeight:{type:[String,Number],default:()=>zk.calendar.rowHeight},formatter:{type:[Function,null],default:()=>zk.calendar.formatter},showLunar:{type:Boolean,default:()=>zk.calendar.showLunar},showMark:{type:Boolean,default:()=>zk.calendar.showMark},confirmText:{type:String,default:()=>zk.calendar.confirmText},confirmDisabledText:{type:String,default:()=>zk.calendar.confirmDisabledText},show:{type:Boolean,default:()=>zk.calendar.show},closeOnClickOverlay:{type:Boolean,default:()=>zk.calendar.closeOnClickOverlay},readonly:{type:Boolean,default:()=>zk.calendar.readonly},showConfirm:{type:Boolean,default:()=>zk.calendar.showConfirm},maxRange:{type:[Number,String],default:()=>zk.calendar.maxRange},rangePrompt:{type:String,default:()=>zk.calendar.rangePrompt},showRangePrompt:{type:Boolean,default:()=>zk.calendar.showRangePrompt},allowSameDay:{type:Boolean,default:()=>zk.calendar.allowSameDay},round:{type:[Boolean,String,Number],default:()=>zk.calendar.round},monthNum:{type:[Number,String],default:3},weekText:{type:Array,default:zk.calendar.weekText},forbidDays:{type:Array,default:zk.calendar.forbidDays},forbidDaysToast:{type:String,default:zk.calendar.forbidDaysToast}}};var fI={lunarInfo:[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,23232,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,41696,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],solarMonth:[31,28,31,30,31,30,31,31,30,31,30,31],Gan:["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],Zhi:["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],Animals:["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"],solarTerm:["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],sTermInfo:["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],nStr1:["日","一","二","三","四","五","六","七","八","九","十"],nStr2:["初","十","廿","卅"],nStr3:["正","二","三","四","五","六","七","八","九","十","冬","腊"],lYearDays:function(e){var t,n=348;for(t=32768;t>8;t>>=1)n+=this.lunarInfo[e-1900]&t?1:0;return n+this.leapDays(e)},leapMonth:function(e){return 15&this.lunarInfo[e-1900]},leapDays:function(e){return this.leapMonth(e)?65536&this.lunarInfo[e-1900]?30:29:0},monthDays:function(e,t){return t>12||t<1?-1:this.lunarInfo[e-1900]&65536>>t?30:29},solarDays:function(e,t){if(t>12||t<1)return-1;var n=t-1;return 1==n?e%4==0&&e%100!=0||e%400==0?29:28:this.solarMonth[n]},toGanZhiYear:function(e){var t=(e-3)%10,n=(e-3)%12;return 0==t&&(t=10),0==n&&(n=12),this.Gan[t-1]+this.Zhi[n-1]},toAstro:function(e,t){return"魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯".substr(2*e-(t<[20,19,21,21,21,22,23,23,23,23,22,22][e-1]?2:0),2)+"座"},toGanZhi:function(e){return this.Gan[e%10]+this.Zhi[e%12]},getTerm:function(e,t){if(e<1900||e>2100)return-1;if(t<1||t>24)return-1;var n=this.sTermInfo[e-1900],o=[parseInt("0x"+n.substr(0,5)).toString(),parseInt("0x"+n.substr(5,5)).toString(),parseInt("0x"+n.substr(10,5)).toString(),parseInt("0x"+n.substr(15,5)).toString(),parseInt("0x"+n.substr(20,5)).toString(),parseInt("0x"+n.substr(25,5)).toString()],i=[o[0].substr(0,1),o[0].substr(1,2),o[0].substr(3,1),o[0].substr(4,2),o[1].substr(0,1),o[1].substr(1,2),o[1].substr(3,1),o[1].substr(4,2),o[2].substr(0,1),o[2].substr(1,2),o[2].substr(3,1),o[2].substr(4,2),o[3].substr(0,1),o[3].substr(1,2),o[3].substr(3,1),o[3].substr(4,2),o[4].substr(0,1),o[4].substr(1,2),o[4].substr(3,1),o[4].substr(4,2),o[5].substr(0,1),o[5].substr(1,2),o[5].substr(3,1),o[5].substr(4,2)];return parseInt(i[t-1])},toChinaMonth:function(e){if(e>12||e<1)return-1;var t=this.nStr3[e-1];return t+="月"},toChinaDay:function(e){var t;switch(e){case 10:t="初十";break;case 20:t="二十";break;case 30:t="三十";break;default:t=this.nStr2[Math.floor(e/10)],t+=this.nStr1[e%10]}return t},getAnimal:function(e){return this.Animals[(e-4)%12]},solar2lunar:function(e,t,n){if(e<1900||e>2100)return-1;if(1900==e&&1==t&&n<31)return-1;if(e)o=new Date(e,parseInt(t)-1,n);else var o=new Date;var i,r=0,a=(e=o.getFullYear(),t=o.getMonth()+1,n=o.getDate(),(Date.UTC(o.getFullYear(),o.getMonth(),o.getDate())-Date.UTC(1900,0,31))/864e5);for(i=1900;i<2101&&a>0;i++)a-=r=this.lYearDays(i);a<0&&(a+=r,i--);var s=new Date,l=!1;s.getFullYear()==e&&s.getMonth()+1==t&&s.getDate()==n&&(l=!0);var c=o.getDay(),u=this.nStr1[c];0==c&&(c=7);var d=i,h=this.leapMonth(i),p=!1;for(i=1;i<13&&a>0;i++)h>0&&i==h+1&&0==p?(--i,p=!0,r=this.leapDays(d)):r=this.monthDays(d,i),1==p&&i==h+1&&(p=!1),a-=r;0==a&&h>0&&i==h+1&&(p?p=!1:(p=!0,--i)),a<0&&(a+=r,--i);var f=i,m=a+1,g=t-1,y=this.toGanZhiYear(d),b=this.getTerm(e,2*t-1),v=this.getTerm(e,2*t),_=this.toGanZhi(12*(e-1900)+t+11);n>=b&&(_=this.toGanZhi(12*(e-1900)+t+12));var S=!1,w=null;b==n&&(S=!0,w=this.solarTerm[2*t-2]),v==n&&(S=!0,w=this.solarTerm[2*t-1]);var x=Date.UTC(e,g,1,0,0,0,0)/864e5+25567+10,C=this.toGanZhi(x+n-1),k=this.toAstro(t,n);return{lYear:d,lMonth:f,lDay:m,Animal:this.getAnimal(d),IMonthCn:(p?"闰":"")+this.toChinaMonth(f),IDayCn:this.toChinaDay(m),cYear:e,cMonth:t,cDay:n,gzYear:y,gzMonth:_,gzDay:C,isToday:l,isLeap:p,nWeek:c,ncWeek:"星期"+u,isTerm:S,Term:w,astro:k}},lunar2solar:function(e,t,n,o){o=!!o;var i=this.leapMonth(e);if(this.leapDays(e),o&&i!=t)return-1;if(2100==e&&12==t&&n>1||1900==e&&1==t&&n<31)return-1;var r=this.monthDays(e,t),a=r;if(o&&(a=this.leapDays(e,t)),e<1900||e>2100||n>a)return-1;for(var s=0,l=1900;l<e;l++)s+=this.lYearDays(l);var c=0,u=!1;for(l=1;l<t;l++)c=this.leapMonth(e),u||c<=l&&c>0&&(s+=this.leapDays(e),u=!0),s+=this.monthDays(e,l);o&&(s+=r);var d=Date.UTC(1900,1,30,0,0,0),h=new Date(864e5*(s+n-31)+d),p=h.getUTCFullYear(),f=h.getUTCMonth()+1,m=h.getUTCDate();return this.solar2lunar(p,f,m)}};const mI=rA({name:"u-calendar",mixins:[Lk,$k,pI],components:{uHeader:HT,uMonth:hI},data:()=>({months:[],monthIndex:0,listHeight:0,selected:[],scrollIntoView:"",scrollIntoViewScroll:"",scrollTop:0,innerFormatter:e=>e}),watch:{scrollIntoView:{immediate:!0,handler(e){}},selectedChange:{immediate:!0,handler(e){this.setMonth()}},show:{immediate:!0,handler(e){e?this.setMonth():this.scrollIntoView=""}}},computed:{innerMaxDate(){return UC.number(this.maxDate)?Number(this.maxDate):this.maxDate},innerMinDate(){return UC.number(this.minDate)?Number(this.minDate):this.minDate},selectedChange(){return[this.innerMinDate,this.innerMaxDate,this.defaultDate]},subtitle(){return this.months.length?`${this.months[this.monthIndex].year}年${this.months[this.monthIndex].month}月`:""},buttonDisabled(){return"range"===this.mode&&this.selected.length<=1}},mounted(){this.start=Date.now(),this.init()},emits:["confirm","close"],methods:{addUnit:ck,setFormatter(e){this.innerFormatter=e},monthSelected(e,t="init"){if(this.selected=e,!this.showConfirm&&("multiple"===this.mode||"single"===this.mode||"range"===this.mode&&this.selected.length>=2)){if("init"===t)return;"tap"===t&&this.$emit("confirm",this.selected)}},init(){this.innerMaxDate&&this.innerMinDate&&new Date(this.innerMaxDate).getTime()<new Date(this.innerMinDate).getTime()||(this.listHeight=5*this.rowHeight+30,this.setMonth())},close(){this.$emit("close")},confirm(){this.buttonDisabled||this.$emit("confirm",this.selected)},getMonths(e,t){const n=lI(e).year(),o=lI(e).month()+1;return 12*(lI(t).year()-n)+(lI(t).month()+1-o)+1},setMonth(){const e=this.innerMinDate||lI().valueOf(),t=this.innerMaxDate||lI(e).add(this.monthNum-1,"month").valueOf(),n=KC(1,this.monthNum,this.getMonths(e,t));this.months=[];for(let o=0;o<n;o++)this.months.push({date:new Array(lI(e).add(o,"month").daysInMonth()).fill(1).map(((n,i)=>{let r=i+1;const a=lI(e).add(o,"month").date(r).day(),s=lI(e).add(o,"month").date(r).format("YYYY-MM-DD");let l="";if(this.showLunar){l=fI.solar2lunar(lI(s).year(),lI(s).month()+1,lI(s).date()).IDayCn}let c={day:r,week:a,disabled:lI(s).isBefore(lI(e).format("YYYY-MM-DD"))||lI(s).isAfter(lI(t).format("YYYY-MM-DD")),date:new Date(s),bottomInfo:l,dot:!1,month:lI(e).add(o,"month").month()+1};return(this.formatter||this.innerFormatter)(c)})),month:lI(e).add(o,"month").month()+1,year:lI(e).add(o,"month").year()})},scrollIntoDefaultMonth(e){const t=this.months.findIndex((({year:t,month:n})=>`${t}-${n=Sk(n)}`===e));-1!==t&&this.$nextTick((()=>{this.scrollIntoView=`month-${t}`,this.scrollIntoViewScroll=this.scrollIntoView}))},onScroll(e){const t=Math.max(0,e.detail.scrollTop);for(let n=0;n<this.months.length;n++)t>=(this.months[n].top||this.listHeight)&&(this.monthIndex=n,this.scrollIntoViewScroll=`month-${n}`)},updateMonthTop(e=[]){if(e.map(((e,t)=>{this.months[t].top=e})),!this.defaultDate){const e=lI().format("YYYY-MM");return void this.scrollIntoDefaultMonth(e)}let t=lI().format("YYYY-MM");t=UC.array(this.defaultDate)?lI(this.defaultDate[0]).format("YYYY-MM"):lI(this.defaultDate).format("YYYY-MM"),this.scrollIntoDefaultMonth(t)}}},[["render",function(e,t,n,o,i,r){const a=Kn("uHeader"),s=Kn("uMonth"),l=Tg,c=fA(eo("u-button"),$T),u=Fg,d=fA(eo("u-popup"),hT);return Zi(),ir(d,{show:e.show,mode:"bottom",closeable:"",onClose:r.close,round:e.round,closeOnClickOverlay:e.closeOnClickOverlay},{default:qn((()=>[dr(u,{class:"u-calendar"},{default:qn((()=>[dr(a,{title:e.title,subtitle:r.subtitle,showSubtitle:e.showSubtitle,showTitle:e.showTitle,weekText:e.weekText},null,8,["title","subtitle","showSubtitle","showTitle","weekText"]),dr(l,{style:fe({height:r.addUnit(i.listHeight)}),"scroll-y":"",onScroll:r.onScroll,"scroll-top":i.scrollTop,scrollIntoView:i.scrollIntoView},{default:qn((()=>[dr(s,{color:e.color,rowHeight:e.rowHeight,showMark:e.showMark,months:i.months,mode:e.mode,maxCount:e.maxCount,startText:e.startText,endText:e.endText,defaultDate:e.defaultDate,minDate:r.innerMinDate,maxDate:r.innerMaxDate,maxMonth:e.monthNum,readonly:e.readonly,maxRange:e.maxRange,rangePrompt:e.rangePrompt,showRangePrompt:e.showRangePrompt,allowSameDay:e.allowSameDay,forbidDays:e.forbidDays,forbidDaysToast:e.forbidDaysToast,ref:"month",onMonthSelected:r.monthSelected,onUpdateMonthTop:r.updateMonthTop},null,8,["color","rowHeight","showMark","months","mode","maxCount","startText","endText","defaultDate","minDate","maxDate","maxMonth","readonly","maxRange","rangePrompt","showRangePrompt","allowSameDay","forbidDays","forbidDaysToast","onMonthSelected","onUpdateMonthTop"])])),_:1},8,["style","onScroll","scroll-top","scrollIntoView"]),e.showConfirm?ni(e.$slots,"footer",{key:0},(()=>[dr(u,{class:"u-calendar__confirm"},{default:qn((()=>[dr(c,{shape:"circle",text:r.buttonDisabled?e.confirmDisabledText:e.confirmText,color:e.color,onClick:r.confirm,disabled:r.buttonDisabled},null,8,["text","color","onClick","disabled"])])),_:1})]),!0):fr("",!0)])),_:3})])),_:3},8,["show","onClose","round","closeOnClickOverlay"])}],["__scopeId","data-v-274f3510"]]),gI=Object.freeze(Object.defineProperty({__proto__:null,default:mI},Symbol.toStringTag,{value:"Module"})),yI={props:{random:{type:Boolean,default:!1},autoChange:{type:Boolean,default:!1}}};const bI=rA({name:"u-car-keyboard",mixins:[Lk,$k,yI],data:()=>({abc:!1}),computed:{areaList(){let e=["京","沪","粤","津","冀","豫","云","辽","黑","湘","皖","鲁","苏","浙","赣","鄂","桂","甘","晋","陕","蒙","吉","闽","贵","渝","川","青","琼","宁","挂","藏","港","澳","新","使","学"],t=[];return this.random&&(e=fk(e)),t[0]=e.slice(0,10),t[1]=e.slice(10,20),t[2]=e.slice(20,30),t[3]=e.slice(30,36),t},engKeyBoardList(){let e=[1,2,3,4,5,6,7,8,9,0,"Q","W","E","R","T","Y","U","I","O","P","A","S","D","F","G","H","J","K","L","Z","X","C","V","B","N","M"],t=[];return this.random&&(e=fk(e)),t[0]=e.slice(0,10),t[1]=e.slice(10,20),t[2]=e.slice(20,30),t[3]=e.slice(30,36),t}},emits:["change","backspace"],methods:{carInputClick(e,t){let n="";n=this.abc?this.engKeyBoardList[e][t]:this.areaList[e][t],!this.abc&&this.autoChange&&ek(200).then((()=>this.abc=!0)),this.$emit("change",n)},changeCarInputMode(){this.abc=!this.abc},backspaceClick(){this.$emit("backspace"),clearInterval(this.timer),this.timer=null,this.timer=setInterval((()=>{this.$emit("backspace")}),250)},clearTimer(){clearInterval(this.timer),this.timer=null}}},[["render",function(e,t,n,o,i,r){const a=Rg,s=Fg,l=fA(eo("u-icon"),hA);return Zi(),ir(s,{class:"u-keyboard",onTouchmove:Pa(e.noop,["stop","prevent"])},{default:qn((()=>[(Zi(!0),or(qi,null,ti(i.abc?r.engKeyBoardList:r.areaList,((e,t)=>(Zi(),ir(s,{key:t,class:me(["u-keyboard__button",[t+1===4&&"u-keyboard__button--center"]]),index:t},{default:qn((()=>[3===t?(Zi(),ir(s,{key:0,class:"u-keyboard__button__inner-wrapper"},{default:qn((()=>[dr(s,{class:"u-keyboard__button__inner-wrapper__left","hover-class":"u-hover-class","hover-stay-time":200,onClick:r.changeCarInputMode},{default:qn((()=>[dr(a,{class:me(["u-keyboard__button__inner-wrapper__left__lang",[!i.abc&&"u-keyboard__button__inner-wrapper__left__lang--active"]])},{default:qn((()=>[pr("中")])),_:1},8,["class"]),dr(a,{class:"u-keyboard__button__inner-wrapper__left__line"},{default:qn((()=>[pr("/")])),_:1}),dr(a,{class:me(["u-keyboard__button__inner-wrapper__left__lang",[i.abc&&"u-keyboard__button__inner-wrapper__left__lang--active"]])},{default:qn((()=>[pr("英")])),_:1},8,["class"])])),_:1},8,["onClick"])])),_:1})):fr("",!0),(Zi(!0),or(qi,null,ti(e,((e,n)=>(Zi(),ir(s,{class:"u-keyboard__button__inner-wrapper",key:n},{default:qn((()=>[dr(s,{class:"u-keyboard__button__inner-wrapper__inner","hover-stay-time":200,onClick:e=>r.carInputClick(t,n),"hover-class":"u-hover-class"},{default:qn((()=>[dr(a,{class:"u-keyboard__button__inner-wrapper__inner__text"},{default:qn((()=>[pr(q(e),1)])),_:2},1024)])),_:2},1032,["onClick"])])),_:2},1024)))),128)),3===t?(Zi(),ir(s,{key:1,onTouchstart:r.backspaceClick,onTouchend:r.clearTimer,class:"u-keyboard__button__inner-wrapper"},{default:qn((()=>[dr(s,{class:"u-keyboard__button__inner-wrapper__right","hover-class":"u-hover-class","hover-stay-time":200},{default:qn((()=>[dr(l,{size:"28",name:"backspace",color:"#303133"})])),_:1})])),_:1},8,["onTouchstart","onTouchend"])):fr("",!0)])),_:2},1032,["index","class"])))),128))])),_:1},8,["onTouchmove"])}],["__scopeId","data-v-dbacb69c"]]),vI=Object.freeze(Object.defineProperty({__proto__:null,default:bI},Symbol.toStringTag,{value:"Module"})),_I={props:{full:{type:Boolean,default:!1},title:{type:String,default:""},titleColor:{type:String,default:"#303133"},titleSize:{type:[Number,String],default:"15px"},subTitle:{type:String,default:""},subTitleColor:{type:String,default:"#909399"},subTitleSize:{type:[Number,String],default:"13"},border:{type:Boolean,default:!0},index:{type:[Number,String,Object],default:""},margin:{type:String,default:"15px"},borderRadius:{type:[Number,String],default:"8px"},headStyle:{type:Object,default:()=>({})},bodyStyle:{type:Object,default:()=>({})},footStyle:{type:Object,default:()=>({})},headBorderBottom:{type:Boolean,default:!0},footBorderTop:{type:Boolean,default:!0},thumb:{type:String,default:""},thumbWidth:{type:[String,Number],default:"30px"},thumbCircle:{type:Boolean,default:!1},padding:{type:[String,Number],default:"15px"},paddingHead:{type:[String,Number],default:""},paddingBody:{type:[String,Number],default:""},paddingFoot:{type:[String,Number],default:""},showHead:{type:Boolean,default:!0},showFoot:{type:Boolean,default:!0},boxShadow:{type:String,default:"none"}}};const SI=rA({name:"up-card",data:()=>({}),mixins:[Lk,$k,_I],emits:["click","head-click","body-click","foot-click"],methods:{addStyle:lk,addUnit:ck,getPx:ZC,click(){this.$emit("click",this.index)},headClick(){this.$emit("head-click",this.index)},bodyClick(){this.$emit("body-click",this.index)},footClick(){this.$emit("foot-click",this.index)}}},[["render",function(e,t,n,o,i,r){const a=sm,s=Rg,l=Fg;return Zi(),ir(l,{class:me(["u-card",{"u-border":e.border,"u-card-full":e.full,"u-card--border":r.getPx(e.borderRadius)>0}]),onClick:Pa(r.click,["stop"]),style:fe({borderRadius:r.addUnit(e.borderRadius),margin:e.margin,boxShadow:e.boxShadow})},{default:qn((()=>[e.showHead?(Zi(),ir(l,{key:0,class:me(["u-card__head",{"u-border-bottom":e.headBorderBottom}]),style:fe([{padding:r.addUnit(e.paddingHead||e.padding)},e.headStyle]),onClick:r.headClick},{default:qn((()=>[e.$slots.head?ni(e.$slots,"head",{key:1},void 0,!0):(Zi(),ir(l,{key:0,class:"u-flex u-flex-between"},{default:qn((()=>[e.title?(Zi(),ir(l,{key:0,class:"u-card__head--left u-flex u-line-1"},{default:qn((()=>[e.thumb?(Zi(),ir(a,{key:0,src:e.thumb,class:"u-card__head--left__thumb",mode:"aspectFill",style:fe({height:r.addUnit(e.thumbWidth),width:r.addUnit(e.thumbWidth),borderRadius:e.thumbCircle?"50px":"4px"})},null,8,["src","style"])):fr("",!0),dr(s,{class:"u-card__head--left__title u-line-1",style:fe({fontSize:r.addUnit(e.titleSize),color:e.titleColor})},{default:qn((()=>[pr(q(e.title),1)])),_:1},8,["style"])])),_:1})):fr("",!0),e.subTitle?(Zi(),ir(l,{key:1,class:"u-card__head--right u-line-1"},{default:qn((()=>[dr(s,{class:"u-card__head__title__text",style:fe({fontSize:r.addUnit(e.subTitleSize),color:e.subTitleColor})},{default:qn((()=>[pr(q(e.subTitle),1)])),_:1},8,["style"])])),_:1})):fr("",!0)])),_:1}))])),_:3},8,["style","class","onClick"])):fr("",!0),dr(l,{onClick:r.bodyClick,class:"u-card__body",style:fe([{padding:r.addUnit(e.paddingBody||e.padding)},e.bodyStyle])},{default:qn((()=>[ni(e.$slots,"body",{},void 0,!0)])),_:3},8,["onClick","style"]),e.showFoot?(Zi(),ir(l,{key:1,class:me(["u-card__foot",{"u-border-top":e.footBorderTop}]),onClick:r.footClick,style:fe([{padding:e.$slots.foot?r.addUnit(e.paddingFoot||e.padding):0},e.footStyle])},{default:qn((()=>[ni(e.$slots,"foot",{},void 0,!0)])),_:3},8,["onClick","style","class"])):fr("",!0)])),_:3},8,["onClick","class","style"])}],["__scopeId","data-v-6d44caac"]]),wI=Object.freeze(Object.defineProperty({__proto__:null,default:SI},Symbol.toStringTag,{value:"Module"}));const xI=rA({name:"up-cate-tab",props:{tabList:{type:Array,default:()=>[]},tabKeyName:{type:String,default:"name"},itemKeyName:{type:String,default:"name"},current:{type:Number,default:0}},watch:{tabList(){this.getMenuItemTop()}},emits:["update:current"],data:()=>({scrollTop:0,oldScrollTop:0,innerCurrent:0,menuHeight:0,menuItemHeight:0,itemId:"",menuItemPos:[],rects:[],arr:[],scrollRightTop:0,timer:null}),onMounted(){this.innerCurrent=this.current,this.leftMenuStatus(this.innerCurrent),this.getMenuItemTop()},watch:{current(e){this.innerCurrent=e,this.leftMenuStatus(index)}},methods:{async swichMenu(e){0==this.arr.length&&await this.getMenuItemTop(),e!=this.innerCurrent&&(this.scrollRightTop=this.oldScrollTop,this.$nextTick((function(){this.scrollRightTop=this.arr[e],this.innerCurrent=e,this.leftMenuStatus(e),this.$emit("update:current",e)})))},getElRect(e,t){new Promise(((n,o)=>{bh().in(this).select("."+e).fields({size:!0},(o=>{o?(this[t]=o.height,n()):setTimeout((()=>{this.getElRect(e)}),10)})).exec()}))},async observer(){this.tabList.map(((e,t)=>{dh(this).relativeTo(".u-cate-tab__right-box",{top:0}).observe("#item"+t,(e=>{if(e.intersectionRatio>0){let t=e.id.substring(4);this.leftMenuStatus(t)}}))}))},async leftMenuStatus(e){this.innerCurrent=e,this.$emit("update:current",e),0!=this.menuHeight&&0!=this.menuItemHeight||(await this.getElRect("u-cate-tab__menu-scroll-view","menuHeight"),await this.getElRect("u-cate-tab__item","menuItemHeight")),this.scrollTop=e*this.menuItemHeight+this.menuItemHeight/2-this.menuHeight/2},getMenuItemTop(){new Promise((e=>{bh().in(this).selectAll(".u-cate-tab__page-item").boundingClientRect((t=>{t.length?(this.rects=t,t.forEach((n=>{this.arr.push(n.top-t[0].top),e()}))):setTimeout((()=>{this.getMenuItemTop()}),10)})).exec()}))},async rightScroll(e){this.oldScrollTop=e.detail.scrollTop,0==this.arr.length&&await this.getMenuItemTop(),this.timer||(this.menuHeight||await this.getElRect("u-cate-tab__menu-scroll-view","menuHeight"),setTimeout((()=>{this.timer=null;let t=e.detail.scrollTop+1;for(let e=0;e<this.arr.length;e++){let n=this.arr[e],o=this.arr[e+1];if(!o||t>=n&&t<=o)return void this.leftMenuStatus(e)}}),10))}}},[["render",function(e,t,n,o,i,r){const a=Rg,s=Fg,l=Tg,c=sm;return Zi(),ir(s,{class:"u-cate-tab"},{default:qn((()=>[dr(s,{class:"u-cate-tab__wrap"},{default:qn((()=>[dr(l,{class:"u-cate-tab__view u-cate-tab__menu-scroll-view","scroll-y":"","scroll-with-animation":"","scroll-top":i.scrollTop,"scroll-into-view":i.itemId},{default:qn((()=>[(Zi(!0),or(qi,null,ti(n.tabList,((t,o)=>(Zi(),ir(s,{key:o,class:me(["u-cate-tab__item",[i.innerCurrent==o?"u-cate-tab__item-active":""]]),onClick:Pa((e=>r.swichMenu(o)),["stop"])},{default:qn((()=>[ni(e.$slots,"tabItem",{item:t},void 0,!0),e.$slots.tabItem?fr("",!0):(Zi(),ir(a,{key:0,class:"u-line-1"},{default:qn((()=>[pr(q(t[n.tabKeyName]),1)])),_:2},1024))])),_:2},1032,["class","onClick"])))),128))])),_:3},8,["scroll-top","scroll-into-view"]),dr(l,{"scroll-top":i.scrollRightTop,"scroll-with-animation":"","scroll-y":"",class:"u-cate-tab__right-box",onScroll:r.rightScroll},{default:qn((()=>[dr(s,{class:"u-cate-tab__page-view"},{default:qn((()=>[(Zi(!0),or(qi,null,ti(n.tabList,((t,o)=>(Zi(),ir(s,{class:"u-cate-tab__page-item",id:"item"+o,key:o},{default:qn((()=>[ni(e.$slots,"itemList",{item:t},void 0,!0),e.$slots.itemList?fr("",!0):(Zi(),or(qi,{key:0},[dr(s,{class:"item-title"},{default:qn((()=>[dr(a,null,{default:qn((()=>[pr(q(t[n.tabKeyName]),1)])),_:2},1024)])),_:2},1024),dr(s,{class:"item-container"},{default:qn((()=>[(Zi(!0),or(qi,null,ti(t.children,((t,o)=>ni(e.$slots,"pageItem",{key:o,pageItem:t},(()=>[dr(s,{class:"thumb-box"},{default:qn((()=>[dr(c,{class:"item-menu-image",src:t.icon,mode:""},null,8,["src"]),dr(s,{class:"item-menu-name"},{default:qn((()=>[pr(q(t[n.itemKeyName]),1)])),_:2},1024)])),_:2},1024)]),!0))),128))])),_:2},1024)],64))])),_:2},1032,["id"])))),128))])),_:3})])),_:3},8,["scroll-top","onScroll"])])),_:3})])),_:3})}],["__scopeId","data-v-2313d949"]]),CI=Object.freeze(Object.defineProperty({__proto__:null,default:xI},Symbol.toStringTag,{value:"Module"})),kI={props:{title:{type:String,default:()=>zk.cellGroup.title},border:{type:Boolean,default:()=>zk.cellGroup.border}}};const AI=rA({name:"u-cell-group",mixins:[Lk,$k,kI],methods:{addStyle:lk}},[["render",function(e,t,n,o,i,r){const a=Rg,s=Fg,l=fA(eo("u-line"),qA);return Zi(),ir(s,{style:fe([r.addStyle(e.customStyle)]),class:me([[e.customClass],"u-cell-group"])},{default:qn((()=>[e.title?(Zi(),ir(s,{key:0,class:"u-cell-group__title"},{default:qn((()=>[ni(e.$slots,"title",{},(()=>[dr(a,{class:"u-cell-group__title__text"},{default:qn((()=>[pr(q(e.title),1)])),_:1})]),!0)])),_:3})):fr("",!0),dr(s,{class:"u-cell-group__wrapper"},{default:qn((()=>[e.border?(Zi(),ir(l,{key:0})):fr("",!0),ni(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3},8,["style","class"])}],["__scopeId","data-v-b1ca240c"]]),TI=Object.freeze(Object.defineProperty({__proto__:null,default:AI},Symbol.toStringTag,{value:"Module"})),II={props:{title:{type:[String,Number],default:()=>zk.cell.title},label:{type:[String,Number],default:()=>zk.cell.label},value:{type:[String,Number],default:()=>zk.cell.value},icon:{type:String,default:()=>zk.cell.icon},disabled:{type:Boolean,default:()=>zk.cell.disabled},border:{type:Boolean,default:()=>zk.cell.border},center:{type:Boolean,default:()=>zk.cell.center},url:{type:String,default:()=>zk.cell.url},linkType:{type:String,default:()=>zk.cell.linkType},clickable:{type:Boolean,default:()=>zk.cell.clickable},isLink:{type:Boolean,default:()=>zk.cell.isLink},required:{type:Boolean,default:()=>zk.cell.required},rightIcon:{type:String,default:()=>zk.cell.rightIcon},arrowDirection:{type:String,default:()=>zk.cell.arrowDirection},iconStyle:{type:[Object,String],default:()=>zk.cell.iconStyle},rightIconStyle:{type:[Object,String],default:()=>zk.cell.rightIconStyle},titleStyle:{type:[Object,String],default:()=>zk.cell.titleStyle},size:{type:String,default:()=>zk.cell.size},stop:{type:Boolean,default:()=>zk.cell.stop},name:{type:[Number,String],default:()=>zk.cell.name}}};const BI=rA({name:"u-cell",data:()=>({}),mixins:[Lk,$k,II],computed:{titleTextStyle(){return lk(this.titleStyle)}},emits:["click"],methods:{addStyle:lk,testEmpty:UC.empty,clickHandler(e){this.disabled||(this.$emit("click",{name:this.name}),this.openPage(),this.stop&&this.preventEvent(e))}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-icon"),hA),s=Fg,l=Rg,c=fA(eo("u-line"),qA);return Zi(),ir(s,{class:me(["u-cell",[e.customClass]]),style:fe([r.addStyle(e.customStyle)]),"hover-class":e.disabled||!e.clickable&&!e.isLink?"":"u-cell--clickable","hover-stay-time":250,onClick:r.clickHandler},{default:qn((()=>[dr(s,{class:me(["u-cell__body",[e.center&&"u-cell--center","large"===e.size&&"u-cell__body--large"]])},{default:qn((()=>[dr(s,{class:"u-cell__body__content"},{default:qn((()=>[e.$slots.icon||e.icon?(Zi(),ir(s,{key:0,class:"u-cell__left-icon-wrap"},{default:qn((()=>[e.$slots.icon?ni(e.$slots,"icon",{key:0},void 0,!0):(Zi(),ir(a,{key:1,name:e.icon,"custom-style":e.iconStyle,size:"large"===e.size?22:18},null,8,["name","custom-style","size"]))])),_:3})):fr("",!0),dr(s,{class:"u-cell__title"},{default:qn((()=>[e.$slots.title||!e.title?ni(e.$slots,"title",{key:0},void 0,!0):(Zi(),ir(l,{key:1,class:me(["u-cell__title-text",[e.required&&"u-cell--required",e.disabled&&"u-cell--disabled","large"===e.size&&"u-cell__title-text--large"]]),style:fe([r.titleTextStyle])},{default:qn((()=>[pr(q(e.title),1)])),_:1},8,["style","class"])),ni(e.$slots,"label",{},(()=>[e.label?(Zi(),ir(l,{key:0,class:me(["u-cell__label",[e.disabled&&"u-cell--disabled","large"===e.size&&"u-cell__label--large"]])},{default:qn((()=>[pr(q(e.label),1)])),_:1},8,["class"])):fr("",!0)]),!0)])),_:3})])),_:3}),ni(e.$slots,"value",{},(()=>[r.testEmpty(e.value)?fr("",!0):(Zi(),ir(l,{key:0,class:me(["u-cell__value",[e.disabled&&"u-cell--disabled","large"===e.size&&"u-cell__value--large"]])},{default:qn((()=>[pr(q(e.value),1)])),_:1},8,["class"]))]),!0),e.$slots["right-icon"]||e.isLink?(Zi(),ir(s,{key:0,class:me(["u-cell__right-icon-wrap",[`u-cell__right-icon-wrap--${e.arrowDirection}`]])},{default:qn((()=>[e.rightIcon&&!e.$slots["right-icon"]?(Zi(),ir(a,{key:0,name:e.rightIcon,"custom-style":e.rightIconStyle,color:e.disabled?"#c8c9cc":"info",size:"large"===e.size?18:16},null,8,["name","custom-style","color","size"])):ni(e.$slots,"right-icon",{key:1},void 0,!0)])),_:3},8,["class"])):fr("",!0),e.$slots.righticon?(Zi(),ir(s,{key:1,class:me(["u-cell__right-icon-wrap",[`u-cell__right-icon-wrap--${e.arrowDirection}`]])},{default:qn((()=>[ni(e.$slots,"righticon",{},void 0,!0)])),_:3},8,["class"])):fr("",!0)])),_:3},8,["class"]),e.border?(Zi(),ir(c,{key:0})):fr("",!0)])),_:3},8,["class","style","hover-class","onClick"])}],["__scopeId","data-v-288786ed"]]),EI=Object.freeze(Object.defineProperty({__proto__:null,default:BI},Symbol.toStringTag,{value:"Module"})),PI={props:{name:{type:String,default:()=>zk.checkboxGroup.name},modelValue:{type:Array,default:()=>zk.checkboxGroup.value},shape:{type:String,default:()=>zk.checkboxGroup.shape},disabled:{type:Boolean,default:()=>zk.checkboxGroup.disabled},activeColor:{type:String,default:()=>zk.checkboxGroup.activeColor},inactiveColor:{type:String,default:()=>zk.checkboxGroup.inactiveColor},size:{type:[String,Number],default:()=>zk.checkboxGroup.size},placement:{type:String,default:()=>zk.checkboxGroup.placement},labelSize:{type:[String,Number],default:()=>zk.checkboxGroup.labelSize},labelColor:{type:[String],default:()=>zk.checkboxGroup.labelColor},labelDisabled:{type:Boolean,default:()=>zk.checkboxGroup.labelDisabled},iconColor:{type:String,default:()=>zk.checkboxGroup.iconColor},iconSize:{type:[String,Number],default:()=>zk.checkboxGroup.iconSize},iconPlacement:{type:String,default:()=>zk.checkboxGroup.iconPlacement},borderBottom:{type:Boolean,default:()=>zk.checkboxGroup.borderBottom}}};const OI=rA({name:"u-checkbox-group",mixins:[Lk,$k,PI],computed:{parentData(){return[this.modelValue,this.disabled,this.inactiveColor,this.activeColor,this.size,this.labelDisabled,this.shape,this.iconSize,this.borderBottom,this.placement]},bemClass(){return this.bem("checkbox-group",["placement"])}},watch:{parentData:{handler(){this.children.length&&this.children.map((e=>{"function"==typeof e.init&&e.init()}))},deep:!0}},data:()=>({}),created(){this.children=[]},emits:["update:modelValue","change"],methods:{unCheckedOther(e){const t=[];this.children.map((e=>{e.isChecked&&t.push(e.name)})),this.$emit("update:modelValue",t),this.$emit("change",t)}}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:me(["u-checkbox-group",r.bemClass])},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["class"])}],["__scopeId","data-v-b83f0027"]]),MI=Object.freeze(Object.defineProperty({__proto__:null,default:OI},Symbol.toStringTag,{value:"Module"})),DI={props:{name:{type:[String,Number,Boolean],default:()=>zk.checkbox.name},shape:{type:String,default:()=>zk.checkbox.shape},size:{type:[String,Number],default:()=>zk.checkbox.size},checked:{type:Boolean,default:()=>zk.checkbox.checked},disabled:{type:[String,Boolean],default:()=>zk.checkbox.disabled},activeColor:{type:String,default:()=>zk.checkbox.activeColor},inactiveColor:{type:String,default:()=>zk.checkbox.inactiveColor},iconSize:{type:[String,Number],default:()=>zk.checkbox.iconSize},iconColor:{type:String,default:()=>zk.checkbox.iconColor},label:{type:[String,Number],default:()=>zk.checkbox.label},labelSize:{type:[String,Number],default:()=>zk.checkbox.labelSize},labelColor:{type:String,default:()=>zk.checkbox.labelColor},labelDisabled:{type:[String,Boolean],default:()=>zk.checkbox.labelDisabled},usedAlone:{type:[Boolean],default:()=>!1}}};const zI=rA({name:"u-checkbox",mixins:[Lk,$k,DI],data:()=>({isChecked:!1,parentData:{iconSize:12,labelDisabled:null,disabled:null,shape:"square",activeColor:null,inactiveColor:null,size:18,modelValue:null,iconColor:null,placement:"row",borderBottom:!1,iconPlacement:"left"}}),computed:{elDisabled(){return""!==this.disabled?this.disabled:null!==this.parentData.disabled&&this.parentData.disabled},elLabelDisabled(){return""!==this.labelDisabled?this.labelDisabled:null!==this.parentData.labelDisabled&&this.parentData.labelDisabled},elSize(){return this.size?this.size:this.parentData.size?this.parentData.size:21},elIconSize(){return this.iconSize?this.iconSize:this.parentData.iconSize?this.parentData.iconSize:12},elActiveColor(){return this.activeColor?this.activeColor:this.parentData.activeColor?this.parentData.activeColor:"#2979ff"},elInactiveColor(){return this.inactiveColor?this.inactiveColor:this.parentData.inactiveColor?this.parentData.inactiveColor:"#c8c9cc"},elLabelColor(){return this.labelColor?this.labelColor:this.parentData.labelColor?this.parentData.labelColor:"#606266"},elShape(){return this.shape?this.shape:this.parentData.shape?this.parentData.shape:"circle"},elLabelSize(){return ck(this.labelSize?this.labelSize:this.parentData.labelSize?this.parentData.labelSize:"15")},elIconColor(){const e=this.iconColor?this.iconColor:this.parentData.iconColor?this.parentData.iconColor:"#ffffff";return this.elDisabled?this.isChecked?this.elInactiveColor:"transparent":this.isChecked?e:"transparent"},iconClasses(){let e=[];return e.push("u-checkbox__icon-wrap--"+this.elShape),this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled"),this.isChecked&&this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled--checked"),e},iconWrapStyle(){const e={};return e.backgroundColor=this.isChecked&&!this.elDisabled?this.elActiveColor:"#ffffff",e.borderColor=this.isChecked&&!this.elDisabled?this.elActiveColor:this.elInactiveColor,e.width=ck(this.elSize),e.height=ck(this.elSize),this.usedAlone||"right"===this.parentData.iconPlacement&&(e.marginRight=0),e},checkboxStyle(){const e={};return this.usedAlone||(this.parentData.borderBottom&&this.parentData.placement,this.parentData.borderBottom&&"column"===this.parentData.placement&&(e.paddingBottom="8px")),dk(e,lk(this.customStyle))}},mounted(){this.init()},emits:["change","update:checked"],methods:{init(){if(this.usedAlone)this.checked&&(this.isChecked=!0);else{this.updateParentData(),this.parent;const e=this.parentData.modelValue;this.checked?this.isChecked=!0:!this.usedAlone&&UC.array(e)&&(this.isChecked=e.some((e=>e===this.name)))}},updateParentData(){this.getParentData("u-checkbox-group")},wrapperClickHandler(e){(this.usedAlone||"right"===this.parentData.iconPlacement)&&this.iconClickHandler(e)},iconClickHandler(e){this.preventEvent(e),this.elDisabled||this.setRadioCheckedStatus()},labelClickHandler(e){this.preventEvent(e),this.elLabelDisabled||this.elDisabled||this.setRadioCheckedStatus()},emitEvent(){this.$emit("change",this.isChecked,{name:this.name}),this.usedAlone&&this.$emit("update:checked",this.isChecked),this.$nextTick((()=>{wk(this,"change")}))},setRadioCheckedStatus(){this.isChecked=!this.isChecked,this.emitEvent(),this.usedAlone||"function"==typeof this.parent.unCheckedOther&&this.parent.unCheckedOther(this)}},watch:{checked(e,t){e!==this.isChecked&&(this.isChecked=e)}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-icon"),hA),s=Fg,l=Rg;return Zi(),ir(s,{class:me(["u-checkbox cursor-pointer",[`u-checkbox-label--${i.parentData.iconPlacement}`,i.parentData.borderBottom&&"column"===i.parentData.placement&&"u-border-bottom"]]),style:fe([r.checkboxStyle]),onClick:Pa(r.wrapperClickHandler,["stop"])},{default:qn((()=>[dr(s,{class:me(["u-checkbox__icon-wrap cursor-pointer",r.iconClasses]),onClick:Pa(r.iconClickHandler,["stop"]),style:fe([r.iconWrapStyle])},{default:qn((()=>[ni(e.$slots,"icon",{elIconSize:r.elIconSize,elIconColor:r.elIconColor},(()=>[dr(a,{class:"u-checkbox__icon-wrap__icon",name:"checkbox-mark",size:r.elIconSize,color:r.elIconColor},null,8,["size","color"])]),!0)])),_:3},8,["onClick","class","style"]),dr(s,{class:"u-checkbox__label-wrap cursor-pointer",onClick:Pa(r.labelClickHandler,["stop"])},{default:qn((()=>[ni(e.$slots,"label",{label:e.label,elDisabled:r.elDisabled},(()=>[dr(l,{style:fe({color:r.elDisabled?r.elInactiveColor:r.elLabelColor,fontSize:r.elLabelSize,lineHeight:r.elLabelSize})},{default:qn((()=>[pr(q(e.label),1)])),_:1},8,["style"])]),!0)])),_:3},8,["onClick"])])),_:3},8,["style","onClick","class"])}],["__scopeId","data-v-21ac74a4"]]),RI=Object.freeze(Object.defineProperty({__proto__:null,default:zI},Symbol.toStringTag,{value:"Module"}));const NI=rA({name:"u-circle-progress",mixins:[Lk,$k,{props:{percentage:{type:[String,Number],default:()=>zk.circleProgress.percentage}}}],data:()=>({leftBorderColor:"rgb(200, 200, 200)",rightBorderColor:"rgb(200, 200, 200)"}),computed:{leftSyle(){const e={};return e.borderTopColor=this.leftBorderColor,e.borderRightColor=this.leftBorderColor,e},rightSyle(){const e={};return e.borderLeftColor=this.rightBorderColor,e.borderBottomColor=this.rightBorderColor,e}},mounted(){ek().then((()=>{this.rightBorderColor="rgb(66, 185, 131)"}))},methods:{init(){animation.transition(this.$refs["right-circle"].ref,{styles:{transform:"rotate(45deg)",transformOrigin:"center center"}},(()=>{this.rightBorderColor="rgb(66, 185, 131)"}))}}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:"u-circle-progress"},{default:qn((()=>[dr(a,{class:"u-circle-progress__left"},{default:qn((()=>[dr(a,{class:"u-circle-progress__left__circle",style:fe([r.leftSyle]),ref:"left-circle"},null,8,["style"])])),_:1}),dr(a,{class:"u-circle-progress__right"},{default:qn((()=>[dr(a,{class:"u-circle-progress__right__circle",ref:"right-circle",style:fe([r.rightSyle])},null,8,["style"])])),_:1}),dr(a,{class:"u-circle-progress__circle"})])),_:1})}],["__scopeId","data-v-b577d8d3"]]),LI=Object.freeze(Object.defineProperty({__proto__:null,default:NI},Symbol.toStringTag,{value:"Module"})),jI={props:{adjustPosition:{type:Boolean,default:()=>zk.codeInput.adjustPosition},maxlength:{type:[String,Number],default:()=>zk.codeInput.maxlength},dot:{type:Boolean,default:()=>zk.codeInput.dot},mode:{type:String,default:()=>zk.codeInput.mode},hairline:{type:Boolean,default:()=>zk.codeInput.hairline},space:{type:[String,Number],default:()=>zk.codeInput.space},modelValue:{type:[String,Number],default:()=>zk.codeInput.value},focus:{type:Boolean,default:()=>zk.codeInput.focus},bold:{type:Boolean,default:()=>zk.codeInput.bold},color:{type:String,default:()=>zk.codeInput.color},fontSize:{type:[String,Number],default:()=>zk.codeInput.fontSize},size:{type:[String,Number],default:()=>zk.codeInput.size},disabledKeyboard:{type:Boolean,default:()=>zk.codeInput.disabledKeyboard},borderColor:{type:String,default:()=>zk.codeInput.borderColor},disabledDot:{type:Boolean,default:()=>zk.codeInput.disabledDot}}};const $I=rA({name:"u-code-input",mixins:[Lk,$k,jI],data(){return{inputValue:"",isFocus:this.focus,timer:null,opacity:1}},watch:{modelValue:{immediate:!0,handler(e){this.inputValue=String(e).substring(0,this.maxlength)}},isFocus:{handler(e){}}},created(){},beforeUnmount(){},computed:{codeLength(){return new Array(Number(this.maxlength))},itemStyle(){return e=>{const t={width:ck(this.size),height:ck(this.size)};return"box"===this.mode&&(t.border=`${this.hairline?.5:1}px solid ${this.borderColor}`,0===ZC(this.space)&&(0===e&&(t.borderTopLeftRadius="3px",t.borderBottomLeftRadius="3px"),e===this.codeLength.length-1&&(t.borderTopRightRadius="3px",t.borderBottomRightRadius="3px"),e!==this.codeLength.length-1&&(t.borderRight="none"))),e!==this.codeLength.length-1?t.marginRight=ck(this.space):t.marginRight=0,t}},codeArray(){return String(this.inputValue).split("")},lineStyle(){const e={};return e.height=this.hairline?"2px":"4px",e.width=ck(this.size),e.backgroundColor=this.borderColor,e}},emits:["change","finish","update:modelValue"],methods:{addUnit:ck,inputHandler(e){const t=e.detail.value;this.inputValue=t,this.disabledDot&&this.$nextTick((()=>{this.inputValue=t.replace(".","")})),this.$emit("change",t),this.$emit("update:modelValue",t),String(t).length>=Number(this.maxlength)&&this.$emit("finish",t)}}},[["render",function(e,t,n,o,i,r){const a=Fg,s=Rg,l=Bm;return Zi(),ir(a,{class:"u-code-input"},{default:qn((()=>[(Zi(!0),or(qi,null,ti(r.codeLength,((t,n)=>(Zi(),ir(a,{class:"u-code-input__item",style:fe([r.itemStyle(n)]),key:n},{default:qn((()=>[e.dot&&r.codeArray.length>n?(Zi(),ir(a,{key:0,class:"u-code-input__item__dot"})):(Zi(),ir(s,{key:1,style:fe({fontSize:r.addUnit(e.fontSize),fontWeight:e.bold?"bold":"normal",color:e.color})},{default:qn((()=>[pr(q(r.codeArray[n]),1)])),_:2},1032,["style"])),"line"===e.mode?(Zi(),ir(a,{key:2,class:"u-code-input__item__line",style:fe([r.lineStyle])},null,8,["style"])):fr("",!0),i.isFocus&&r.codeArray.length===n?(Zi(),ir(a,{key:3,style:fe({backgroundColor:e.color}),class:"u-code-input__item__cursor"},null,8,["style"])):fr("",!0)])),_:2},1032,["style"])))),128)),dr(l,{disabled:e.disabledKeyboard,type:"number",focus:e.focus,value:i.inputValue,maxlength:e.maxlength,adjustPosition:e.adjustPosition,class:"u-code-input__input",onInput:r.inputHandler,style:fe({height:r.addUnit(e.size)}),onFocus:t[0]||(t[0]=e=>i.isFocus=!0),onBlur:t[1]||(t[1]=e=>i.isFocus=!1)},null,8,["disabled","focus","value","maxlength","adjustPosition","onInput","style"])])),_:1})}],["__scopeId","data-v-285f2e59"]]),FI=Object.freeze(Object.defineProperty({__proto__:null,default:$I},Symbol.toStringTag,{value:"Module"})),HI={props:{seconds:{type:[String,Number],default:()=>zk.code.seconds},startText:{type:String,default:()=>zk.code.startText},changeText:{type:String,default:()=>zk.code.changeText},endText:{type:String,default:()=>zk.code.endText},keepRunning:{type:Boolean,default:()=>zk.code.keepRunning},uniqueKey:{type:String,default:()=>zk.code.uniqueKey}}};const VI=rA({name:"u-code",mixins:[Lk,$k,HI],data(){return{secNum:this.seconds,timer:null,canGetCode:!0}},mounted(){this.checkKeepRunning()},watch:{seconds:{immediate:!0,handler(e){this.secNum=e}}},emits:["start","end","change"],methods:{checkKeepRunning(){let e=Number(ob(this.uniqueKey+"_$uCountDownTimestamp"));if(!e)return this.changeEvent(this.startText);let t=Math.floor(+new Date/1e3);this.keepRunning&&e&&e>t?(this.secNum=e-t,ib(this.uniqueKey+"_$uCountDownTimestamp"),this.start()):this.changeEvent(this.startText)},start(){this.timer&&(clearInterval(this.timer),this.timer=null),this.$emit("start"),this.canGetCode=!1,this.changeEvent(this.changeText.replace(/x|X/,this.secNum)),this.timer=setInterval((()=>{--this.secNum?this.changeEvent(this.changeText.replace(/x|X/,this.secNum)):(clearInterval(this.timer),this.timer=null,this.changeEvent(this.endText),this.secNum=this.seconds,this.$emit("end"),this.canGetCode=!0)}),1e3),this.setTimeToStorage()},reset(){this.canGetCode=!0,clearInterval(this.timer),this.secNum=this.seconds,this.changeEvent(this.endText)},changeEvent(e){this.$emit("change",e)},setTimeToStorage(){if(this.keepRunning&&this.timer&&this.secNum>0&&this.secNum<=this.seconds){let e=Math.floor(+new Date/1e3);tb({key:this.uniqueKey+"_$uCountDownTimestamp",data:e+Number(this.secNum)})}}},beforeUnmount(){this.setTimeToStorage(),clearTimeout(this.timer),this.timer=null}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:"u-code"})}],["__scopeId","data-v-209e2819"]]),UI=Object.freeze(Object.defineProperty({__proto__:null,default:VI},Symbol.toStringTag,{value:"Module"}));const WI=rA({name:"u-col",mixins:[Lk,$k,{props:{span:{type:[String,Number],default:()=>zk.col.span},offset:{type:[String,Number],default:()=>zk.col.offset},justify:{type:String,default:()=>zk.col.justify},align:{type:String,default:()=>zk.col.align},textAlign:{type:String,default:()=>zk.col.textAlign}}}],data:()=>({width:0,parentData:{gutter:0},gridNum:12}),options:{virtualHost:!0},computed:{uJustify(){return"end"==this.justify||"start"==this.justify?"flex-"+this.justify:"around"==this.justify||"between"==this.justify?"space-"+this.justify:this.justify},uAlignItem(){return"top"==this.align?"flex-start":"bottom"==this.align?"flex-end":this.align},colStyle(){return dk({paddingLeft:ck(ZC(this.parentData.gutter)/2),paddingRight:ck(ZC(this.parentData.gutter)/2),alignItems:this.uAlignItem,justifyContent:this.uJustify,textAlign:this.textAlign,flex:`0 0 ${100/this.gridNum*this.span}%`,marginLeft:100/12*this.offset+"%"},lk(this.customStyle))}},mounted(){this.init()},emits:["click"],methods:{async init(){this.updateParentData(),this.width=await this.parent.getComponentWidth()},updateParentData(){this.getParentData("u-row")},clickHandler(e){this.$emit("click")}}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:me(["u-col",["u-col-"+e.span]]),ref:"u-col",style:fe([r.colStyle]),onClick:r.clickHandler},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["class","style","onClick"])}],["__scopeId","data-v-a335b4f6"]]),QI=Object.freeze(Object.defineProperty({__proto__:null,default:WI},Symbol.toStringTag,{value:"Module"})),qI={props:{title:{type:String,default:()=>zk.collapseItem.title},titleStyle:{type:[Object,String],default:()=>zk.collapseItem.titleStyle},value:{type:String,default:()=>zk.collapseItem.value},label:{type:String,default:()=>zk.collapseItem.label},disabled:{type:Boolean,default:()=>zk.collapseItem.disabled},isLink:{type:Boolean,default:()=>zk.collapseItem.isLink},clickable:{type:Boolean,default:()=>zk.collapseItem.clickable},border:{type:Boolean,default:()=>zk.collapseItem.border},align:{type:String,default:()=>zk.collapseItem.align},name:{type:[String,Number],default:()=>zk.collapseItem.name},icon:{type:String,default:()=>zk.collapseItem.icon},duration:{type:Number,default:()=>zk.collapseItem.duration},showRight:{type:Boolean,default:()=>zk.collapseItem.showRight},iconStyle:{type:[Object,String],default:()=>zk.collapseItem.iconStyle},rightIconStyle:{type:[Object,String],default:()=>zk.collapseItem.rightIconStyle},cellCustomStyle:{type:[Object,String],default:()=>zk.collapseItem.cellCustomStyle},cellCustomClass:{type:String,default:()=>zk.collapseItem.cellCustomClass}}};const GI=rA({name:"u-collapse-item",mixins:[Lk,$k,qI],props:{controlled:{type:Boolean,default:!1}},data:()=>({elId:ak(),animationData:{},expanded:!1,showBorder:!1,animating:!1,parentData:{accordion:!1,border:!1}}),watch:{expanded(e){clearTimeout(this.timer),this.timer=null,this.timer=setTimeout((()=>{this.showBorder=e}),e?10:290)}},mounted(){this.init()},methods:{async init(){if(this.updateParentData(),!this.parent)return;const{value:e,accordion:t,children:n=[]}=this.parent;if(t){if(UC.array(e))return;this.expanded=this.name==e}else{if(!UC.array(e)&&null!==e)return;this.expanded=(e||[]).some((e=>e==this.name))}await On(),this.setContentAnimate()},updateParentData(){this.getParentData("u-collapse")},async setContentAnimate(){const e=await this.queryRect(),t=this.expanded?e.height:0;this.animating=!0;const n=xh({timingFunction:"ease-in-out"});n.height(t).step({duration:this.duration}).step(),this.animationData=n.export(),ek(this.duration).then((()=>{this.animating=!1}))},clickHandler(){this.controlled||this.disabled&&this.animating||this.parent&&this.parent.onChange(this)},toggle(e){if("boolean"==typeof e){if(this.expanded===e)return;this.expanded=e}else this.expanded=!this.expanded;this.setContentAnimate(),this.$emit("change",this.expanded)},queryRect(){return new Promise((e=>{this.$uGetRect(`#${this.elId}`).then((t=>{e(t)}))}))},setup:()=>({})}},[["render",function(e,t,n,o,i,r){const a=Rg,s=fA(eo("u-icon"),hA),l=fA(eo("u-cell"),BI),c=Fg,u=fA(eo("u-line"),qA);return Zi(),ir(c,{class:"u-collapse-item"},{default:qn((()=>[dr(l,{title:e.$slots.title?"":e.title,value:e.value,label:e.label,icon:e.icon,isLink:e.isLink,clickable:e.clickable,border:i.parentData.border&&i.showBorder,onClick:r.clickHandler,arrowDirection:i.expanded?"up":"down",disabled:e.disabled,customClass:e.cellCustomClass,customStyle:e.cellCustomStyle},{title:qn((()=>[ni(e.$slots,"title",{},(()=>[!e.$slots.title&&e.title?(Zi(),ir(a,{key:0},{default:qn((()=>[pr(q(e.title),1)])),_:1})):fr("",!0)]),!0)])),icon:qn((()=>[ni(e.$slots,"icon",{},(()=>[!e.$slots.icon&&e.icon?(Zi(),ir(s,{key:0,size:22,name:e.icon},null,8,["name"])):fr("",!0)]),!0)])),value:qn((()=>[ni(e.$slots,"value",{},(()=>[!e.$slots.value&&e.value?(Zi(),ir(a,{key:0},{default:qn((()=>[pr(q(e.value),1)])),_:1})):fr("",!0)]),!0)])),"right-icon":qn((()=>[e.showRight?(Zi(),or(qi,{key:0},[e.$slots["right-icon"]?fr("",!0):(Zi(),ir(s,{key:0,size:16,name:"arrow-right"})),ni(e.$slots,"right-icon",{},void 0,!0)],64)):fr("",!0)])),_:3},8,["title","value","label","icon","isLink","clickable","border","onClick","arrowDirection","disabled","customClass","customStyle"]),dr(c,{class:"u-collapse-item__content",animation:i.animationData,ref:"animation"},{default:qn((()=>[dr(c,{class:"u-collapse-item__content__text content-class",id:i.elId,ref:i.elId},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["id"])])),_:3},8,["animation"]),i.parentData.border?(Zi(),ir(u,{key:0})):fr("",!0)])),_:3})}],["__scopeId","data-v-733c6ada"]]),YI=Object.freeze(Object.defineProperty({__proto__:null,default:GI},Symbol.toStringTag,{value:"Module"})),XI={props:{value:{type:[String,Number,Array,null],default:()=>zk.collapse.value},accordion:{type:Boolean,default:()=>zk.collapse.accordion},border:{type:Boolean,default:()=>zk.collapse.border}}};const JI=rA({name:"u-collapse",mixins:[Lk,$k,XI],watch:{needInit(){this.init()},parentData(){this.children.length&&this.children.map((e=>{"function"==typeof e.updateParentData&&e.updateParentData()}))}},created(){this.children=[]},computed:{needInit(){return[this.accordion,this.value]}},emits:["open","close","change"],methods:{init(){this.children.map((e=>{e.init()}))},onChange(e){let t=[];this.children.map(((n,o)=>{this.accordion?(n.expanded=n===e&&!e.expanded,n.setContentAnimate()):n===e&&(n.expanded=!n.expanded,n.setContentAnimate()),t.push({name:n.name||o,status:n.expanded?"open":"close"})})),this.$emit("change",t),this.$emit(e.expanded?"open":"close",e.name)}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-line"),qA),s=Fg;return Zi(),ir(s,{class:"u-collapse"},{default:qn((()=>[e.border?(Zi(),ir(a,{key:0})):fr("",!0),ni(e.$slots,"default",{},void 0,!0)])),_:3})}],["__scopeId","data-v-3bdeea84"]]),KI=Object.freeze(Object.defineProperty({__proto__:null,default:JI},Symbol.toStringTag,{value:"Module"})),ZI={props:{text:{type:[Array],default:()=>zk.columnNotice.text},icon:{type:String,default:()=>zk.columnNotice.icon},mode:{type:String,default:()=>zk.columnNotice.mode},color:{type:String,default:()=>zk.columnNotice.color},bgColor:{type:String,default:()=>zk.columnNotice.bgColor},fontSize:{type:[String,Number],default:()=>zk.columnNotice.fontSize},speed:{type:[String,Number],default:()=>zk.columnNotice.speed},step:{type:Boolean,default:()=>zk.columnNotice.step},duration:{type:[String,Number],default:()=>zk.columnNotice.duration},disableTouch:{type:Boolean,default:()=>zk.columnNotice.disableTouch},justifyContent:{type:String,default:()=>zk.columnNotice.justifyContent}}};const eB=rA({mixins:[Lk,$k,ZI],watch:{text:{immediate:!0,handler(e,t){UC.array(e)}}},computed:{textStyle(){let e={};return e.color=this.color,e.fontSize=ck(this.fontSize),e},vertical(){return"horizontal"!=this.mode}},data:()=>({index:0}),emits:["click","close"],methods:{noticeChange(e){this.index=e.detail.current},clickHandler(){this.$emit("click",this.index)},close(){this.$emit("close")}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-icon"),hA),s=Fg,l=Rg,c=Mg,u=Pg;return Zi(),ir(s,{class:"u-notice",onClick:r.clickHandler},{default:qn((()=>[ni(e.$slots,"icon",{},(()=>[e.icon?(Zi(),ir(s,{key:0,class:"u-notice__left-icon"},{default:qn((()=>[dr(a,{name:e.icon,color:e.color,size:"19"},null,8,["name","color"])])),_:1})):fr("",!0)]),!0),dr(u,{"disable-touch":e.disableTouch,vertical:!e.step,circular:"",interval:e.duration,autoplay:!0,class:"u-notice__swiper",onChange:r.noticeChange},{default:qn((()=>[(Zi(!0),or(qi,null,ti(e.text,((t,n)=>(Zi(),ir(c,{key:n,class:"u-notice__swiper__item",style:fe({justifyContent:e.justifyContent})},{default:qn((()=>[dr(l,{class:"u-notice__swiper__item__text u-line-1",style:fe([r.textStyle])},{default:qn((()=>[pr(q(t),1)])),_:2},1032,["style"])])),_:2},1032,["style"])))),128))])),_:1},8,["disable-touch","vertical","interval","onChange"]),["link","closable"].includes(e.mode)?(Zi(),ir(s,{key:0,class:"u-notice__right-icon"},{default:qn((()=>["link"===e.mode?(Zi(),ir(a,{key:0,name:"arrow-right",size:17,color:e.color},null,8,["color"])):fr("",!0),"closable"===e.mode?(Zi(),ir(a,{key:1,name:"close",size:16,color:e.color,onClick:r.close},null,8,["color","onClick"])):fr("",!0)])),_:1})):fr("",!0)])),_:3},8,["onClick"])}],["__scopeId","data-v-ba8e0bdf"]]),tB=Object.freeze(Object.defineProperty({__proto__:null,default:eB},Symbol.toStringTag,{value:"Module"}));const nB=rA({name:"up-copy",props:{content:{type:String,default:""},alertStyle:{type:String,default:"toast"},notice:{type:String,default:"复制成功"}},emits:["success"],methods:{handleClick(){let e=this.content;if(!e)return xv({title:"暂无",icon:"none",duration:2e3}),!1;e="string"==typeof e?e:e.toString();let t=this;Zy({data:e,success:function(){"modal"==t.alertStyle?pv({title:"提示",content:t.notice}):xv({title:t.notice,icon:"none"}),t.$emit("success")},fail:function(){xv({title:"复制失败",icon:"none",duration:3e3})}})}}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{onClick:r.handleClick},{default:qn((()=>[ni(e.$slots,"default",{},(()=>[pr("复制")]))])),_:3},8,["onClick"])}]]),oB=Object.freeze(Object.defineProperty({__proto__:null,default:nB},Symbol.toStringTag,{value:"Module"})),iB={props:{time:{type:[String,Number],default:()=>zk.countDown.time},format:{type:String,default:()=>zk.countDown.format},autoStart:{type:Boolean,default:()=>zk.countDown.autoStart},millisecond:{type:Boolean,default:()=>zk.countDown.millisecond}}};function rB(e,t=2){let n=`${e}`;for(;n.length<t;)n=`0${n}`;return n}function aB(e){return{days:Math.floor(e/864e5),hours:Math.floor(e%864e5/36e5),minutes:Math.floor(e%36e5/6e4),seconds:Math.floor(e%6e4/1e3),milliseconds:Math.floor(e%1e3)}}const sB=rA({name:"u-count-down",mixins:[Lk,$k,iB],data:()=>({timer:null,timeData:aB(0),formattedTime:"0",runing:!1,endTime:0,remainTime:0}),watch:{time(e){this.reset()}},mounted(){this.init()},emits:["change","finish"],methods:{init(){this.reset()},start(){this.runing||(this.runing=!0,this.endTime=Date.now()+this.remainTime,this.toTick())},toTick(){this.millisecond?this.microTick():this.macroTick()},macroTick(){this.clearTimeout(),this.timer=setTimeout((()=>{const e=this.getRemainTime();var t,n;t=e,n=this.remainTime,(Math.floor(t/1e3)!==Math.floor(n/1e3)||0===e)&&this.setRemainTime(e),0!==this.remainTime&&this.macroTick()}),30)},microTick(){this.clearTimeout(),this.timer=setTimeout((()=>{this.setRemainTime(this.getRemainTime()),0!==this.remainTime&&this.microTick()}),50)},getRemainTime(){return Math.max(this.endTime-Date.now(),0)},setRemainTime(e){this.remainTime=e;const t=aB(e);this.$emit("change",t),this.formattedTime=function(e,t){let{days:n,hours:o,minutes:i,seconds:r,milliseconds:a}=t;return-1===e.indexOf("DD")?o+=24*n:e=e.replace("DD",rB(n)),-1===e.indexOf("HH")?i+=60*o:e=e.replace("HH",rB(o)),-1===e.indexOf("mm")?r+=60*i:e=e.replace("mm",rB(i)),-1===e.indexOf("ss")?a+=1e3*r:e=e.replace("ss",rB(r)),e.replace("SSS",rB(a,3))}(this.format,t),e<=0&&(this.pause(),this.$emit("finish"))},reset(){this.pause(),this.remainTime=this.time,this.setRemainTime(this.remainTime),this.autoStart&&this.start()},pause(){this.runing=!1,this.clearTimeout()},clearTimeout(){clearTimeout(this.timer),this.timer=null}},beforeUnmount(){this.clearTimeout()}},[["render",function(e,t,n,o,i,r){const a=Rg,s=Fg;return Zi(),ir(s,{class:"u-count-down"},{default:qn((()=>[ni(e.$slots,"default",{},(()=>[dr(a,{class:"u-count-down__text"},{default:qn((()=>[pr(q(i.formattedTime),1)])),_:1})]),!0)])),_:3})}],["__scopeId","data-v-56af07cc"]]),lB=Object.freeze(Object.defineProperty({__proto__:null,default:sB},Symbol.toStringTag,{value:"Module"})),cB={props:{startVal:{type:[String,Number],default:()=>zk.countTo.startVal},endVal:{type:[String,Number],default:()=>zk.countTo.endVal},duration:{type:[String,Number],default:()=>zk.countTo.duration},autoplay:{type:Boolean,default:()=>zk.countTo.autoplay},decimals:{type:[String,Number],default:()=>zk.countTo.decimals},useEasing:{type:Boolean,default:()=>zk.countTo.useEasing},decimal:{type:[String,Number],default:()=>zk.countTo.decimal},color:{type:String,default:()=>zk.countTo.color},fontSize:{type:[String,Number],default:()=>zk.countTo.fontSize},bold:{type:Boolean,default:()=>zk.countTo.bold},separator:{type:String,default:()=>zk.countTo.separator}}};const uB=rA({name:"u-count-to",data(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:Number(this.duration),startTime:null,timestamp:null,remaining:null,rAF:null,lastTime:0}},mixins:[Lk,$k,cB],computed:{countDown(){return this.startVal>this.endVal}},watch:{startVal(){this.autoplay&&this.start()},endVal(){this.autoplay&&this.start()}},mounted(){this.autoplay&&this.start()},emits:["end"],methods:{addUnit:ck,easingFn:(e,t,n,o)=>n*(1-Math.pow(2,-10*e/o))*1024/1023+t,requestAnimationFrame(e){const t=(new Date).getTime(),n=Math.max(0,16-(t-this.lastTime)),o=setTimeout((()=>{e(t+n)}),n);return this.lastTime=t+n,o},cancelAnimationFrame(e){clearTimeout(e)},start(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=this.requestAnimationFrame(this.count)},reStart(){this.paused?(this.resume(),this.paused=!1):(this.stop(),this.paused=!0)},stop(){this.cancelAnimationFrame(this.rAF)},resume(){this.remaining&&(this.startTime=0,this.localDuration=this.remaining,this.localStartVal=this.printVal,this.requestAnimationFrame(this.count))},reset(){this.startTime=null,this.cancelAnimationFrame(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count(e){this.startTime||(this.startTime=e),this.timestamp=e;const t=e-this.startTime;this.remaining=this.localDuration-t,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(t,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(t,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(t/this.localDuration):this.printVal=this.localStartVal+(this.endVal-this.localStartVal)*(t/this.localDuration),this.countDown?this.printVal=this.printVal<this.endVal?this.endVal:this.printVal:this.printVal=this.printVal>this.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal)||0,t<this.localDuration?this.rAF=this.requestAnimationFrame(this.count):this.$emit("end")},isNumber:e=>!isNaN(parseFloat(e)),formatNumber(e){e=(e=Number(e)).toFixed(Number(this.decimals));const t=(e+="").split(".");let n=t[0];const o=t.length>1?this.decimal+t[1]:"",i=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;i.test(n);)n=n.replace(i,"$1"+this.separator+"$2");return n+o},destroyed(){this.cancelAnimationFrame(this.rAF)}}},[["render",function(e,t,n,o,i,r){const a=Rg;return Zi(),ir(a,{class:"u-count-num",style:fe({fontSize:r.addUnit(e.fontSize),fontWeight:e.bold?"bold":"normal",color:e.color})},{default:qn((()=>[pr(q(i.displayValue),1)])),_:1},8,["style"])}],["__scopeId","data-v-86cfd298"]]),dB=Object.freeze(Object.defineProperty({__proto__:null,default:uB},Symbol.toStringTag,{value:"Module"})),hB={props:{show:{type:Boolean,default:()=>zk.toolbar.show},cancelText:{type:String,default:()=>zk.toolbar.cancelText},confirmText:{type:String,default:()=>zk.toolbar.confirmText},cancelColor:{type:String,default:()=>zk.toolbar.cancelColor},confirmColor:{type:String,default:()=>zk.toolbar.confirmColor},title:{type:String,default:()=>zk.toolbar.title},rightSlot:{type:Boolean,default:!1}}};const pB=rA({name:"u-toolbar",mixins:[Lk,$k,hB],emits:["confirm","cancel"],created(){},methods:{cancel(){this.$emit("cancel")},confirm(){this.$emit("confirm")}}},[["render",function(e,t,n,o,i,r){const a=Rg,s=Fg;return e.show?(Zi(),ir(s,{key:0,class:"u-toolbar",onTouchmove:Pa(e.noop,["stop","prevent"])},{default:qn((()=>[dr(s,{class:"u-toolbar__left"},{default:qn((()=>[dr(s,{class:"u-toolbar__cancel__wrapper","hover-class":"u-hover-class"},{default:qn((()=>[dr(a,{class:"u-toolbar__wrapper__cancel",onClick:r.cancel,style:fe({color:e.cancelColor})},{default:qn((()=>[pr(q(e.cancelText),1)])),_:1},8,["onClick","style"])])),_:1})])),_:1}),e.title?(Zi(),ir(a,{key:0,class:"u-toolbar__title u-line-1"},{default:qn((()=>[pr(q(e.title),1)])),_:1})):fr("",!0),dr(s,{class:"u-toolbar__right"},{default:qn((()=>[e.rightSlot?ni(e.$slots,"right",{key:1},void 0,!0):(Zi(),ir(s,{key:0,class:"u-toolbar__confirm__wrapper","hover-class":"u-hover-class"},{default:qn((()=>[dr(a,{class:"u-toolbar__wrapper__confirm",onClick:r.confirm,style:fe({color:e.confirmColor})},{default:qn((()=>[pr(q(e.confirmText),1)])),_:1},8,["onClick","style"])])),_:1}))])),_:3})])),_:3},8,["onTouchmove"])):fr("",!0)}],["__scopeId","data-v-313de283"]]),fB=Object.freeze(Object.defineProperty({__proto__:null,default:pB},Symbol.toStringTag,{value:"Module"})),mB={props:{modelValue:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},disabledColor:{type:String,default:()=>zk.input.disabledColor},hasInput:{type:Boolean,default:!1},placeholder:{type:String,default:()=>"请选择"},show:{type:Boolean,default:()=>zk.picker.show},popupMode:{type:String,default:()=>zk.picker.popupMode},showToolbar:{type:Boolean,default:()=>zk.picker.showToolbar},title:{type:String,default:()=>zk.picker.title},columns:{type:Array,default:()=>zk.picker.columns},loading:{type:Boolean,default:()=>zk.picker.loading},itemHeight:{type:[String,Number],default:()=>zk.picker.itemHeight},cancelText:{type:String,default:()=>zk.picker.cancelText},confirmText:{type:String,default:()=>zk.picker.confirmText},cancelColor:{type:String,default:()=>zk.picker.cancelColor},confirmColor:{type:String,default:()=>zk.picker.confirmColor},visibleItemCount:{type:[String,Number],default:()=>zk.picker.visibleItemCount},keyName:{type:String,default:()=>zk.picker.keyName},closeOnClickOverlay:{type:Boolean,default:()=>zk.picker.closeOnClickOverlay},defaultIndex:{type:Array,default:()=>zk.picker.defaultIndex},immediateChange:{type:Boolean,default:()=>zk.picker.immediateChange},toolbarRightSlot:{type:Boolean,default:!1},zIndex:{type:[String,Number],default:()=>zk.picker.zIndex}}};const gB=rA({name:"u-picker",mixins:[Lk,$k,mB],data:()=>({lastIndex:[],innerIndex:[],innerColumns:[],columnIndex:0,showByClickInput:!1,currentActiveValue:[]}),watch:{defaultIndex:{immediate:!0,deep:!0,handler(e,t){t&&e.join("/")==t.join("/")||this.setIndexs(e,!0)}},columns:{immediate:!0,deep:!0,handler(e){this.setColumns(e)}}},emits:["close","cancel","confirm","change","update:modelValue","update:show"],computed:{inputLabel(){let e=this.innerColumns[0]&&this.innerColumns[0][0];if(e&&"[object Object]"===Object.prototype.toString.call(e)){let e=this.innerColumns[0].filter((e=>this.modelValue.includes(e.id)));return e=e.map((e=>e[this.keyName])),e.join("/")}return this.modelValue.join("/")},inputValue(){let e=this.innerColumns.map(((e,t)=>e[this.innerIndex[t]])),t=[];return e[0]&&"[object Object]"===Object.prototype.toString.call(e[0])?e.forEach((e=>{t.push(e&&e.id)})):e.forEach(((e,n)=>{t.push(e)})),t}},methods:{addUnit:ck,testArray:UC.array,onShowByClickInput(){this.disabled||(this.showByClickInput=!this.showByClickInput)},getItemText(e){return UC.object(e)?e[this.keyName]:e},closeHandler(){this.closeOnClickOverlay&&(this.hasInput&&(this.showByClickInput=!1),this.$emit("update:show",!1),this.$emit("close"))},cancel(){this.hasInput&&(this.showByClickInput=!1),this.$emit("update:show",!1),this.$emit("cancel")},confirm(){if(!this.currentActiveValue.length){let e=[0];e=Array.isArray(this.defaultIndex)&&this.defaultIndex.length==this.innerColumns.length?[...this.defaultIndex]:Array(this.innerColumns.length).fill(0),this.setLastIndex(e),this.setIndexs(e)}this.$emit("update:modelValue",this.inputValue),this.hasInput&&(this.showByClickInput=!1),this.$emit("update:show",!1),this.$emit("confirm",{indexs:this.innerIndex,value:this.innerColumns.map(((e,t)=>e[this.innerIndex[t]])),values:this.innerColumns})},changeHandler(e){const{value:t}=e.detail;let n=0,o=0;this.currentActiveValue=t;for(let r=0;r<t.length;r++){let e=t[r];if(e!==(this.lastIndex[r]||0)){o=r,n=e;break}}this.columnIndex=o;const i=this.innerColumns;this.setLastIndex(t),this.setIndexs(t),this.hasInput||this.$emit("update:modelValue",this.inputValue),this.$emit("change",{value:this.innerColumns.map(((e,n)=>e[t[n]])),index:n,indexs:t,values:i,columnIndex:o})},setIndexs(e,t){this.innerIndex=uk(e),t&&this.setLastIndex(e)},setLastIndex(e){this.lastIndex=uk(e)},setColumnValues(e,t){this.innerColumns.splice(e,1,t),this.setLastIndex(this.innerIndex.slice(0,e));let n=uk(this.innerIndex);for(let o=0;o<this.innerColumns.length;o++)o>this.columnIndex&&(n[o]=0);this.setIndexs(n)},getColumnValues(e){return(async()=>{await ek()})(),this.innerColumns[e]},setColumns(e){this.innerColumns=uk(e),0===this.innerIndex.length&&(this.innerIndex=new Array(e.length).fill(0))},getIndexs(){return this.innerIndex},getValues(){return(async()=>{await ek()})(),this.innerColumns.map(((e,t)=>e[this.innerIndex[t]]))}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("up-input"),TA),s=Fg,l=fA(eo("u-toolbar"),pB),c=hg,u=rg,d=fA(eo("u-loading-icon"),eT),h=fA(eo("u-popup"),hT);return Zi(),ir(s,{class:"u-picker-warrper"},{default:qn((()=>[e.hasInput?(Zi(),ir(s,{key:0,class:"u-picker-input cursor-pointer",onClick:r.onShowByClickInput},{default:qn((()=>[ni(e.$slots,"default",{},(()=>[dr(a,{disabled:e.disabled,disabledColor:e.disabledColor,placeholder:e.placeholder,readonly:!0,border:"surround",modelValue:r.inputLabel,"onUpdate:modelValue":t[0]||(t[0]=e=>r.inputLabel=e)},null,8,["disabled","disabledColor","placeholder","modelValue"]),ur("div",{class:"input-cover"})]),!0)])),_:3},8,["onClick"])):fr("",!0),dr(h,{show:e.show||e.hasInput&&i.showByClickInput,mode:e.popupMode,zIndex:e.zIndex,onClose:r.closeHandler},{default:qn((()=>[dr(s,{class:"u-picker"},{default:qn((()=>[e.showToolbar?(Zi(),ir(l,{key:0,cancelColor:e.cancelColor,confirmColor:e.confirmColor,cancelText:e.cancelText,confirmText:e.confirmText,title:e.title,rightSlot:!!e.toolbarRightSlot,onCancel:r.cancel,onConfirm:r.confirm},{right:qn((()=>[ni(e.$slots,"toolbar-right",{},void 0,!0)])),_:3},8,["cancelColor","confirmColor","cancelText","confirmText","title","rightSlot","onCancel","onConfirm"])):fr("",!0),ni(e.$slots,"toolbar-bottom",{},void 0,!0),dr(u,{class:"u-picker__view",indicatorStyle:`height: ${r.addUnit(e.itemHeight)}`,value:i.innerIndex,immediateChange:e.immediateChange,style:fe({height:`${r.addUnit(e.visibleItemCount*e.itemHeight)}`}),onChange:r.changeHandler},{default:qn((()=>[(Zi(!0),or(qi,null,ti(i.innerColumns,((t,n)=>(Zi(),ir(c,{key:n,class:"u-picker__view__column"},{default:qn((()=>[r.testArray(t)?(Zi(!0),or(qi,{key:0},ti(t,((t,o)=>(Zi(),ir(s,{class:me(["u-picker__view__column__item u-line-1",[o===i.innerIndex[n]&&"u-picker__view__column__item--selected"]]),key:o,style:fe({height:r.addUnit(e.itemHeight),lineHeight:r.addUnit(e.itemHeight),fontWeight:o===i.innerIndex[n]?"bold":"normal",display:"block"})},{default:qn((()=>[pr(q(r.getItemText(t)),1)])),_:2},1032,["class","style"])))),128)):fr("",!0)])),_:2},1024)))),128))])),_:1},8,["indicatorStyle","value","immediateChange","style","onChange"]),e.loading?(Zi(),ir(s,{key:1,class:"u-picker--loading"},{default:qn((()=>[dr(d,{mode:"circle"})])),_:1})):fr("",!0)])),_:3})])),_:3},8,["show","mode","zIndex","onClose"])])),_:3})}],["__scopeId","data-v-34ff7d56"]]),yB=Object.freeze(Object.defineProperty({__proto__:null,default:gB},Symbol.toStringTag,{value:"Module"})),bB={props:{hasInput:{type:Boolean,default:()=>!1},disabled:{type:Boolean,default:()=>!1},disabledColor:{type:String,default:()=>zk.input.disabledColor},placeholder:{type:String,default:()=>"请选择"},format:{type:String,default:()=>""},show:{type:Boolean,default:()=>zk.datetimePicker.show},popupMode:{type:String,default:()=>zk.picker.popupMode},showToolbar:{type:Boolean,default:()=>zk.datetimePicker.showToolbar},toolbarRightSlot:{type:Boolean,default:!1},modelValue:{type:[String,Number],default:()=>zk.datetimePicker.value},title:{type:String,default:()=>zk.datetimePicker.title},mode:{type:String,default:()=>zk.datetimePicker.mode},maxDate:{type:Number,default:()=>zk.datetimePicker.maxDate},minDate:{type:Number,default:()=>zk.datetimePicker.minDate},minHour:{type:Number,default:()=>zk.datetimePicker.minHour},maxHour:{type:Number,default:()=>zk.datetimePicker.maxHour},minMinute:{type:Number,default:()=>zk.datetimePicker.minMinute},maxMinute:{type:Number,default:()=>zk.datetimePicker.maxMinute},filter:{type:[Function,null],default:()=>zk.datetimePicker.filter},formatter:{type:[Function,null],default:()=>zk.datetimePicker.formatter},loading:{type:Boolean,default:()=>zk.datetimePicker.loading},itemHeight:{type:[String,Number],default:()=>zk.datetimePicker.itemHeight},cancelText:{type:String,default:()=>zk.datetimePicker.cancelText},confirmText:{type:String,default:()=>zk.datetimePicker.confirmText},cancelColor:{type:String,default:()=>zk.datetimePicker.cancelColor},confirmColor:{type:String,default:()=>zk.datetimePicker.confirmColor},visibleItemCount:{type:[String,Number],default:()=>zk.datetimePicker.visibleItemCount},closeOnClickOverlay:{type:Boolean,default:()=>zk.datetimePicker.closeOnClickOverlay},defaultIndex:{type:Array,default:()=>zk.datetimePicker.defaultIndex}}};const vB=rA({name:"up-datetime-picker",mixins:[Lk,$k,bB],data:()=>({inputValue:"",showByClickInput:!1,columns:[],innerDefaultIndex:[],innerFormatter:(e,t)=>t}),watch:{show(e,t){e&&this.updateColumnValue(this.innerValue)},modelValue(e){this.init()},propsChange(){this.init()}},computed:{propsChange(){return[this.mode,this.maxDate,this.minDate,this.minHour,this.maxHour,this.minMinute,this.maxMinute,this.filter]}},mounted(){this.init()},emits:["close","cancel","confirm","change","update:modelValue"],methods:{getInputValue(e){if(""!=e&&e&&null!=e)if("time"==this.mode)this.inputValue=e;else if(this.format)this.inputValue=lI(e).format(this.format);else{let t="";switch(this.mode){case"date":t="YYYY-MM-DD";break;case"year-month":t="YYYY-MM";break;case"datetime":t="YYYY-MM-DD HH:mm";break;case"time":t="HH:mm"}this.inputValue=lI(e).format(t)}else this.inputValue=""},init(){this.innerValue=this.correctValue(this.modelValue),this.updateColumnValue(this.innerValue),this.getInputValue(this.innerValue)},setFormatter(e){this.innerFormatter=e},close(){this.closeOnClickOverlay&&this.$emit("close")},cancel(){this.hasInput&&(this.showByClickInput=!1),this.$emit("cancel")},confirm(){this.$emit("update:modelValue",this.innerValue),this.hasInput&&(this.getInputValue(this.innerValue),this.showByClickInput=!1),this.$emit("confirm",{value:this.innerValue,mode:this.mode})},intercept(e,t){let n=e.match(/\d+/g);return n.length>1?0:t&&4==n[0].length?n[0]:n[0].length>2?0:n[0]},change(e){const{indexs:t,values:n}=e;let o="";if("time"===this.mode)o=`${this.intercept(n[0][t[0]])}:${this.intercept(n[1][t[1]])}`;else{const e=parseInt(this.intercept(n[0][t[0]],"year")),i=parseInt(this.intercept(n[1][t[1]]));let r=parseInt(n[2]?this.intercept(n[2][t[2]]):1),a=0,s=0;const l=lI(`${e}-${i}`).daysInMonth();"year-month"===this.mode&&(r=1),r=Math.min(l,r),"datetime"===this.mode&&(a=parseInt(this.intercept(n[3][t[3]])),s=parseInt(this.intercept(n[4][t[4]]))),o=Number(new Date(e,i-1,r,a,s))}o=this.correctValue(o),this.innerValue=o,this.updateColumnValue(o),this.$emit("change",{value:o,mode:this.mode})},updateColumnValue(e){this.innerValue=e,this.updateColumns(),setTimeout((()=>{this.updateIndexs(e)}),0)},updateIndexs(e){let t=[];const n=this.formatter||this.innerFormatter;if("time"===this.mode){const o=e.split(":");t=[n("hour",o[0]),n("minute",o[1])]}else t=[n("year",`${lI(e).year()}`),n("month",Sk(lI(e).month()+1))],"date"===this.mode&&t.push(n("day",Sk(lI(e).date()))),"datetime"===this.mode&&t.push(n("day",Sk(lI(e).date())),n("hour",Sk(lI(e).hour())),n("minute",Sk(lI(e).minute())));const o=this.columns.map(((e,n)=>Math.max(0,e.findIndex((e=>e===t[n])))));this.innerDefaultIndex=o},updateColumns(){const e=this.formatter||this.innerFormatter,t=this.getOriginColumns().map((t=>t.values.map((n=>e(t.type,n)))));this.columns=t},getOriginColumns(){return this.getRanges().map((({type:e,range:t})=>{let n=function(e,t){let n=-1;const o=Array(e<0?0:e);for(;++n<e;)o[n]=t(n);return o}(t[1]-t[0]+1,(n=>{let o=t[0]+n;return o="year"===e?`${o}`:Sk(o),o}));return this.filter&&(n=this.filter(e,n),(!n||n&&0==n.length)&&console.log("日期filter结果不能为空")),{type:e,values:n}}))},generateArray:(e,t)=>Array.from(new Array(t+1).keys()).slice(e),correctValue(e){const t="time"!==this.mode;if(t&&!lI.unix(e).isValid()?e=this.minDate:t||e||(e=`${Sk(this.minHour)}:${Sk(this.minMinute)}`),t)return e=lI(e).isBefore(lI(this.minDate))?this.minDate:e,e=lI(e).isAfter(lI(this.maxDate))?this.maxDate:e;{if(-1===String(e).indexOf(":"))return;let[t,n]=e.split(":");return t=Sk(KC(this.minHour,this.maxHour,Number(t))),n=Sk(KC(this.minMinute,this.maxMinute,Number(n))),`${t}:${n}`}},getRanges(){if("time"===this.mode)return[{type:"hour",range:[this.minHour,this.maxHour]},{type:"minute",range:[this.minMinute,this.maxMinute]}];const{maxYear:e,maxDate:t,maxMonth:n,maxHour:o,maxMinute:i}=this.getBoundary("max",this.innerValue),{minYear:r,minDate:a,minMonth:s,minHour:l,minMinute:c}=this.getBoundary("min",this.innerValue),u=[{type:"year",range:[r,e]},{type:"month",range:[s,n]},{type:"day",range:[a,t]},{type:"hour",range:[l,o]},{type:"minute",range:[c,i]}];return"date"===this.mode&&u.splice(3,2),"year-month"===this.mode&&u.splice(2,3),u},getBoundary(e,t){const n=new Date(t),o=new Date(this[`${e}Date`]),i=lI(o).year();let r=1,a=1,s=0,l=0;return"max"===e&&(r=12,a=lI(n).daysInMonth(),s=23,l=59),lI(n).year()===i&&(r=lI(o).month()+1,lI(n).month()+1===r&&(a=lI(o).date(),lI(n).date()===a&&(s=lI(o).hour(),lI(n).hour()===s&&(l=lI(o).minute())))),{[`${e}Year`]:i,[`${e}Month`]:r,[`${e}Date`]:a,[`${e}Hour`]:s,[`${e}Minute`]:l}},onShowByClickInput(){this.disabled||(this.showByClickInput=!this.showByClickInput)}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("up-input"),TA),s=Fg,l=fA(eo("u-picker"),gB);return Zi(),ir(s,{class:"u-datetime-picker"},{default:qn((()=>[e.hasInput?(Zi(),ir(s,{key:0,class:"u-datetime-picker__has-input",onClick:r.onShowByClickInput},{default:qn((()=>[ni(e.$slots,"trigger",{value:i.inputValue},(()=>[dr(a,{placeholder:e.placeholder,readonly:!!i.showByClickInput,border:"surround",modelValue:i.inputValue,"onUpdate:modelValue":t[0]||(t[0]=e=>i.inputValue=e),disabled:e.disabled,disabledColor:e.disabledColor},null,8,["placeholder","readonly","modelValue","disabled","disabledColor"]),ur("div",{class:"input-cover"})]),!0)])),_:3},8,["onClick"])):fr("",!0),dr(l,{ref:"picker",show:e.show||e.hasInput&&i.showByClickInput,popupMode:e.popupMode,closeOnClickOverlay:e.closeOnClickOverlay,columns:i.columns,title:e.title,itemHeight:e.itemHeight,showToolbar:e.showToolbar,visibleItemCount:e.visibleItemCount,defaultIndex:i.innerDefaultIndex,cancelText:e.cancelText,confirmText:e.confirmText,cancelColor:e.cancelColor,confirmColor:e.confirmColor,toolbarRightSlot:e.toolbarRightSlot,onClose:r.close,onCancel:r.cancel,onConfirm:r.confirm,onChange:r.change},{"toolbar-right":qn((()=>[ni(e.$slots,"toolbar-right",{},void 0,!0)])),"toolbar-bottom":qn((()=>[ni(e.$slots,"toolbar-bottom",{},void 0,!0)])),_:3},8,["show","popupMode","closeOnClickOverlay","columns","title","itemHeight","showToolbar","visibleItemCount","defaultIndex","cancelText","confirmText","cancelColor","confirmColor","toolbarRightSlot","onClose","onCancel","onConfirm","onChange"])])),_:3})}],["__scopeId","data-v-82f958dd"]]),_B=Object.freeze(Object.defineProperty({__proto__:null,default:vB},Symbol.toStringTag,{value:"Module"})),SB={props:{dashed:{type:Boolean,default:()=>zk.divider.dashed},hairline:{type:Boolean,default:()=>zk.divider.hairline},dot:{type:Boolean,default:()=>zk.divider.dot},textPosition:{type:String,default:()=>zk.divider.textPosition},text:{type:[String,Number],default:()=>zk.divider.text},textSize:{type:[String,Number],default:()=>zk.divider.textSize},textColor:{type:String,default:()=>zk.divider.textColor},lineColor:{type:String,default:()=>zk.divider.lineColor}}};const wB=rA({name:"u-divider",mixins:[Lk,$k,SB],computed:{textStyle(){const e={};return e.fontSize=ck(this.textSize),e.color=this.textColor,e},leftLineStyle(){const e={};return"left"===this.textPosition?e.width="80rpx":e.flex=1,e},rightLineStyle(){const e={};return"right"===this.textPosition?e.width="80rpx":e.flex=1,e}},emits:["click"],methods:{addStyle:lk,click(){this.$emit("click")}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-line"),qA),s=Rg,l=Fg;return Zi(),ir(l,{class:"u-divider",style:fe([r.addStyle(e.customStyle)]),onClick:r.click},{default:qn((()=>[dr(a,{color:e.lineColor,customStyle:r.leftLineStyle,hairline:e.hairline,dashed:e.dashed},null,8,["color","customStyle","hairline","dashed"]),e.dot?(Zi(),ir(s,{key:0,class:"u-divider__dot"},{default:qn((()=>[pr("●")])),_:1})):e.text?(Zi(),ir(s,{key:1,class:"u-divider__text",style:fe([r.textStyle])},{default:qn((()=>[pr(q(e.text),1)])),_:1},8,["style"])):fr("",!0),dr(a,{color:e.lineColor,customStyle:r.rightLineStyle,hairline:e.hairline,dashed:e.dashed},null,8,["color","customStyle","hairline","dashed"])])),_:1},8,["style","onClick"])}],["__scopeId","data-v-f8f756ef"]]),xB=Object.freeze(Object.defineProperty({__proto__:null,default:wB},Symbol.toStringTag,{value:"Module"})),CB={props:{modelValue:{type:[Number,String,Array],default:""},title:{type:[String,Number],default:""},options:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},height:{type:[Number,String],default:"auto"},closeOnClickOverlay:{type:Boolean,default:!0}}};const kB=rA({name:"u-dropdown-item",mixins:[Lk,$k,CB],options:{styleIsolation:"shared"},data:()=>({active:!1,activeColor:"#2979ff",inactiveColor:"#606266"}),computed:{propsChange(){return`${this.title}-${this.disabled}`}},watch:{propsChange(e){this.parent&&this.parent.init()}},created(){this.parent=!1},emits:["update:modelValue","change"],methods:{addUnit:ck,init(){let e=sk.call(this,"u-dropdown");if(e){this.parent=e,this.activeColor=e.activeColor,this.inactiveColor=e.inactiveColor,e.children.find((e=>this===e))||e.children.push(this),1==e.children.length&&(this.active=!0),e.menuList.push({title:this.title,disabled:this.disabled})}},cellClick(e){this.$emit("update:modelValue",e),this.parent.close(),this.$emit("change",e)}},mounted(){this.init()}},[["render",function(e,t,n,o,i,r){const a=fA(eo("up-icon"),hA),s=fA(eo("up-cell"),BI),l=fA(eo("up-cell-group"),AI),c=Fg,u=Tg;return i.active?(Zi(),ir(c,{key:0,class:"u-dropdown-item",onTouchmove:Pa((()=>{}),["stop","prevent"]),onClick:Pa((()=>{}),["stop","prevent"])},{default:qn((()=>[e.$slots.default||e.$slots.$default?ni(e.$slots,"default",{key:1},void 0,!0):(Zi(),ir(u,{key:0,class:"u-dropdown-item__scroll","scroll-y":"true",style:fe({height:r.addUnit(e.height)})},{default:qn((()=>[dr(c,{class:"u-dropdown-item__options"},{default:qn((()=>[dr(l,null,{default:qn((()=>[(Zi(!0),or(qi,null,ti(e.options,((t,n)=>(Zi(),ir(s,{onClick:e=>r.cellClick(t.value),arrow:!1,title:t.label,key:n,"title-style":{color:e.modelValue==t.value?i.activeColor:i.inactiveColor}},{default:qn((()=>[e.modelValue==t.value?(Zi(),ir(a,{key:0,name:"checkbox-mark",color:i.activeColor,size:"32"},null,8,["color"])):fr("",!0)])),_:2},1032,["onClick","title","title-style"])))),128))])),_:1})])),_:1})])),_:1},8,["style"]))])),_:3})):fr("",!0)}],["__scopeId","data-v-bad28b95"]]),AB=Object.freeze(Object.defineProperty({__proto__:null,default:kB},Symbol.toStringTag,{value:"Module"})),TB={props:{activeColor:{type:String,default:"#2979ff"},inactiveColor:{type:String,default:"#606266"},closeOnClickMask:{type:Boolean,default:!0},closeOnClickSelf:{type:Boolean,default:!0},duration:{type:[Number,String],default:300},height:{type:[Number,String],default:40},borderBottom:{type:Boolean,default:!1},titleSize:{type:[Number,String],default:14},borderRadius:{type:[Number,String],default:0},menuIcon:{type:String,default:"arrow-down"},menuIconSize:{type:[Number,String],default:14}}};const IB=rA({name:"u-dropdown",mixins:[Lk,$k,TB],data:()=>({showDropdown:!0,menuList:[],active:!1,current:99999,contentStyle:{zIndex:-1,opacity:0},highlightIndex:99999,contentHeight:0}),computed:{popupStyle(){let e={};return e.transform=`translateY(${this.active?0:"-100%"})`,e["transition-duration"]=this.duration/1e3+"s",e.borderRadius=`0 0 ${ck(this.borderRadius)} ${ck(this.borderRadius)}`,e}},created(){this.children=[]},mounted(){this.getContentHeight()},emits:["open","close"],methods:{addUnit:ck,init(){this.menuList=[],this.children.map((e=>{e.init()}))},menuClick(e){if(!this.menuList[e].disabled)return e===this.current&&this.closeOnClickSelf?(this.close(),void setTimeout((()=>{this.children[e].active=!1}),this.duration)):void this.open(e)},open(e){this.contentHeight<1&&this.getContentHeight(),this.contentStyle={zIndex:11},this.active=!0,this.current=e,this.children.map(((t,n)=>{t.active=e==n})),this.$emit("open",this.current)},close(){this.$emit("close",this.current),this.active=!1,this.current=99999,this.contentStyle={zIndex:-1,opacity:0}},maskClick(){this.closeOnClickMask&&this.close()},highlight(e){this.highlightIndex=void 0!==e?e:99999},getContentHeight(){let e=ok().windowHeight;this.$uGetRect(".u-dropdown__menu").then((t=>{this.contentHeight=e-t.bottom}))}}},[["render",function(e,t,n,o,i,r){const a=Rg,s=fA(eo("u-icon"),hA),l=Fg;return Zi(),ir(l,{class:"u-dropdown"},{default:qn((()=>[dr(l,{class:me(["u-dropdown__menu",{"u-border-bottom":e.borderBottom}]),style:fe({height:r.addUnit(e.height)})},{default:qn((()=>[(Zi(!0),or(qi,null,ti(i.menuList,((t,n)=>(Zi(),ir(l,{class:"u-dropdown__menu__item",key:n,onClick:Pa((e=>r.menuClick(n)),["stop"])},{default:qn((()=>[dr(l,{class:"u-flex u-flex-row"},{default:qn((()=>[dr(a,{class:"u-dropdown__menu__item__text",style:fe({color:t.disabled?"#c0c4cc":n===i.current||i.highlightIndex==n?e.activeColor:e.inactiveColor,fontSize:r.addUnit(e.titleSize)})},{default:qn((()=>[pr(q(t.title),1)])),_:2},1032,["style"]),dr(l,{class:me(["u-dropdown__menu__item__arrow",{"u-dropdown__menu__item__arrow--rotate":n===i.current}])},{default:qn((()=>[dr(s,{"custom-style":{display:"flex"},name:e.menuIcon,size:r.addUnit(e.menuIconSize),color:n===i.current||i.highlightIndex==n?e.activeColor:"#c0c4cc"},null,8,["name","size","color"])])),_:2},1032,["class"])])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1},8,["style","class"]),dr(l,{class:"u-dropdown__content",style:fe([i.contentStyle,{transition:`opacity ${e.duration/1e3}s linear`,top:r.addUnit(e.height),height:i.contentHeight+"px"}]),onClick:r.maskClick,onTouchmove:t[1]||(t[1]=Pa((()=>{}),["stop","prevent"]))},{default:qn((()=>[dr(l,{onClick:t[0]||(t[0]=Pa((()=>{}),["stop","prevent"])),class:"u-dropdown__content__popup",style:fe([r.popupStyle])},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["style"]),dr(l,{class:"u-dropdown__content__mask"})])),_:3},8,["style","onClick"])])),_:3})}],["__scopeId","data-v-9f02dd25"]]),BB=Object.freeze(Object.defineProperty({__proto__:null,default:IB},Symbol.toStringTag,{value:"Module"})),EB={props:{icon:{type:String,default:()=>zk.empty.icon},text:{type:String,default:()=>zk.empty.text},textColor:{type:String,default:()=>zk.empty.textColor},textSize:{type:[String,Number],default:()=>zk.empty.textSize},iconColor:{type:String,default:()=>zk.empty.iconColor},iconSize:{type:[String,Number],default:()=>zk.empty.iconSize},mode:{type:String,default:()=>zk.empty.mode},width:{type:[String,Number],default:()=>zk.empty.width},height:{type:[String,Number],default:()=>zk.empty.height},show:{type:Boolean,default:()=>zk.empty.show},marginTop:{type:[String,Number],default:()=>zk.empty.marginTop}}};const PB=rA({name:"u-empty",mixins:[Lk,$k,EB],data:()=>({icons:{car:"购物车为空",page:"页面不存在",search:"没有搜索结果",address:"没有收货地址",wifi:"没有WiFi",order:"订单为空",coupon:"没有优惠券",favor:"暂无收藏",permission:"无权限",history:"无历史记录",news:"无新闻列表",message:"消息列表为空",list:"列表为空",data:"数据为空",comment:"暂无评论"}}),computed:{emptyStyle(){const e={};return e.marginTop=ck(this.marginTop),dk(lk(this.customStyle),e)},textStyle(){const e={};return e.color=this.textColor,e.fontSize=ck(this.textSize),e},isSrc(){return this.icon.indexOf("/")>=0}},methods:{addUnit:ck}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-icon"),hA),s=sm,l=Rg,c=Fg;return e.show?(Zi(),ir(c,{key:0,class:"u-empty",style:fe([r.emptyStyle])},{default:qn((()=>[r.isSrc?(Zi(),ir(s,{key:1,style:fe({width:r.addUnit(e.width),height:r.addUnit(e.height)}),src:e.icon,mode:"widthFix"},null,8,["style","src"])):(Zi(),ir(a,{key:0,name:"message"===e.mode?"chat":`empty-${e.mode}`,size:e.iconSize,color:e.iconColor,"margin-top":"14"},null,8,["name","size","color"])),dr(l,{class:"u-empty__text",style:fe([r.textStyle])},{default:qn((()=>[pr(q(e.text?e.text:i.icons[e.mode]),1)])),_:1},8,["style"]),e.$slots.default||e.$slots.$default?(Zi(),ir(c,{key:2,class:"u-empty__wrap"},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3})):fr("",!0)])),_:3},8,["style"])):fr("",!0)}],["__scopeId","data-v-fdf76b6a"]]),OB=Object.freeze(Object.defineProperty({__proto__:null,default:PB},Symbol.toStringTag,{value:"Module"}));const MB=rA({name:"u-float-button",mixins:[Lk,$k],emits:["click","item-click"],computed:{},props:{backgroundColor:{type:String,default:"#2979ff"},color:{type:String,default:"#fff"},width:{type:String,default:"50px"},height:{type:String,default:"50px"},borderColor:{type:String,default:""},right:{type:[String,Number],default:"30px"},top:{type:[String,Number],default:""},bottom:{type:String,default:""},isMenu:{type:Boolean,default:!1},list:{type:Array,default:()=>[]}},data:()=>({showList:!1}),methods:{addStyle:lk,clickHandler(e){this.isMenu?(this.showList=!this.showList,this.$emit("click",e)):this.$emit("click",e)},itemClick(e,t){this.$emit("item-click",{...e,index:t})}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("up-icon"),hA),s=Fg;return Zi(),ir(s,{class:"u-float-button",style:fe({position:"fixed",top:n.top,bottom:n.bottom,right:n.right})},{default:qn((()=>[dr(s,{class:"u-float-button__main",onClick:r.clickHandler,style:fe({backgroundColor:n.backgroundColor,color:n.color,display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",width:n.width,height:n.height,borderRadius:"50%",borderColor:n.borderColor})},{default:qn((()=>[ni(e.$slots,"default",{showList:i.showList},(()=>[dr(a,{class:me(["cursor-pointer",{"show-list":i.showList}]),name:"plus",color:n.color},null,8,["class","color"])]),!0),i.showList?(Zi(),ir(s,{key:0,class:"u-float-button__list",style:fe({bottom:n.height})},{default:qn((()=>[ni(e.$slots,"list",{},(()=>[(Zi(!0),or(qi,null,ti(n.list,(t=>(Zi(),ir(s,{class:"u-float-button__item",style:fe({backgroundColor:(null==t?void 0:t.backgroundColor)?null==t?void 0:t.backgroundColor:n.backgroundColor,color:(null==t?void 0:t.color)?null==t?void 0:t.color:n.color,display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",width:n.width,height:n.height,borderRadius:"50%",borderColor:(null==t?void 0:t.borderColor)?null==t?void 0:t.borderColor:n.borderColor}),onClick:n=>r.itemClick(t,e.index)},{default:qn((()=>[dr(a,{name:t.name,color:(null==t?void 0:t.color)?null==t?void 0:t.color:n.color},null,8,["name","color"])])),_:2},1032,["style","onClick"])))),256))]),!0)])),_:3},8,["style"])):fr("",!0)])),_:3},8,["onClick","style"])])),_:3},8,["style"])}],["__scopeId","data-v-49ff024d"]]),DB=Object.freeze(Object.defineProperty({__proto__:null,default:MB},Symbol.toStringTag,{value:"Module"})),zB={props:{label:{type:String,default:()=>zk.formItem.label},prop:{type:String,default:()=>zk.formItem.prop},rules:{type:Array,default:()=>zk.formItem.rules},borderBottom:{type:[String,Boolean],default:()=>zk.formItem.borderBottom},labelPosition:{type:String,default:()=>zk.formItem.labelPosition},labelWidth:{type:[String,Number],default:()=>zk.formItem.labelWidth},rightIcon:{type:String,default:()=>zk.formItem.rightIcon},leftIcon:{type:String,default:()=>zk.formItem.leftIcon},required:{type:Boolean,default:()=>zk.formItem.required},leftIconStyle:{type:[String,Object],default:()=>zk.formItem.leftIconStyle}}};const RB=rA({name:"u-form-item",mixins:[Lk,$k,zB],data:()=>({message:"",parentData:{labelPosition:"left",labelAlign:"left",labelStyle:{},labelWidth:45,errorType:"message"},color:CC,itemRules:[]}),computed:{propsLine:()=>zk.line},mounted(){this.init()},emits:["click"],watch:{rules:{immediate:!0,handler(e){this.setRules(e)}}},methods:{addStyle:lk,addUnit:ck,init(){this.updateParentData(),this.parent},setRules(e){0!==e.length?this.itemRules=e:this.itemRules=[]},updateParentData(){this.getParentData("u-form")},clearValidate(){this.message=null},resetField(){const e=xk(this.parent.originalModel,this.prop);Ck(this.parent.model,this.prop,e),this.message=null},clickHandler(){this.$emit("click")}}},[["render",function(e,t,n,o,i,r){const a=Rg,s=fA(eo("u-icon"),hA),l=Fg,c=fA(eo("u-line"),qA);return Zi(),ir(l,{class:me(["u-form-item",{"u-form-item--error":!!i.message&&"message"===i.parentData.errorType}])},{default:qn((()=>[dr(l,{class:"u-form-item__body",onClick:r.clickHandler,style:fe([r.addStyle(e.customStyle),{flexDirection:"left"===(e.labelPosition||i.parentData.labelPosition)?"row":"column"}])},{default:qn((()=>[ni(e.$slots,"label",{},(()=>[e.required||e.leftIcon||e.label?(Zi(),ir(l,{key:0,class:"u-form-item__body__left",style:fe({width:r.addUnit(e.labelWidth||i.parentData.labelWidth),marginBottom:"left"===i.parentData.labelPosition?0:"5px"})},{default:qn((()=>[dr(l,{class:"u-form-item__body__left__content"},{default:qn((()=>[e.required?(Zi(),ir(a,{key:0,class:"u-form-item__body__left__content__required"},{default:qn((()=>[pr("*")])),_:1})):fr("",!0),e.leftIcon?(Zi(),ir(l,{key:1,class:"u-form-item__body__left__content__icon"},{default:qn((()=>[dr(s,{name:e.leftIcon,"custom-style":e.leftIconStyle},null,8,["name","custom-style"])])),_:1})):fr("",!0),dr(a,{class:"u-form-item__body__left__content__label",style:fe([i.parentData.labelStyle,{justifyContent:"left"===i.parentData.labelAlign?"flex-start":"center"===i.parentData.labelAlign?"center":"flex-end"}])},{default:qn((()=>[pr(q(e.label),1)])),_:1},8,["style"])])),_:1})])),_:1},8,["style"])):fr("",!0)]),!0),dr(l,{class:"u-form-item__body__right"},{default:qn((()=>[dr(l,{class:"u-form-item__body__right__content"},{default:qn((()=>[dr(l,{class:"u-form-item__body__right__content__slot"},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3}),e.$slots.right?(Zi(),ir(l,{key:0,class:"item__body__right__content__icon"},{default:qn((()=>[ni(e.$slots,"right",{},void 0,!0)])),_:3})):fr("",!0)])),_:3})])),_:3})])),_:3},8,["onClick","style"]),ni(e.$slots,"error",{},(()=>[i.message&&"message"===i.parentData.errorType?(Zi(),ir(a,{key:0,class:"u-form-item__body__right__message",style:fe({marginLeft:r.addUnit("top"===i.parentData.labelPosition?0:e.labelWidth||i.parentData.labelWidth)})},{default:qn((()=>[pr(q(i.message),1)])),_:1},8,["style"])):fr("",!0)]),!0),e.borderBottom?(Zi(),ir(c,{key:0,color:i.message&&"border-bottom"===i.parentData.errorType?i.color.error:r.propsLine.color,customStyle:`margin-top: ${i.message&&"message"===i.parentData.errorType?"5px":0}`},null,8,["color","customStyle"])):fr("",!0)])),_:3},8,["class"])}],["__scopeId","data-v-e3cb9cbd"]]),NB=Object.freeze(Object.defineProperty({__proto__:null,default:RB},Symbol.toStringTag,{value:"Module"}));const LB=rA({name:"u-grid-item",mixins:[Lk,$k,{props:{name:{type:[String,Number,null],default:()=>zk.gridItem.name},bgColor:{type:String,default:()=>zk.gridItem.bgColor}}}],data:()=>({parentData:{col:0,border:!0},classes:[]}),mounted(){this.init()},emits:["click"],computed:{itemStyle(){const e={background:this.bgColor,width:"100%"};return dk(e,lk(this.customStyle))}},methods:{init(){Od("$uGridItem",(()=>{this.gridItemClasses()})),this.updateParentData(),zd("$uGridItem"),this.gridItemClasses()},updateParentData(){this.getParentData("u-grid")},clickHandler(){var e;let t=this.name;const n=null==(e=this.parent)?void 0:e.children;n&&null===this.name&&(t=n.findIndex((e=>e===this))),this.parent&&this.parent.childClick(t),this.$emit("click",t)},async getItemWidth(){let e=0;if(this.parent){e=await this.getParentWidth()/Number(this.parentData.col)+"px"}this.width=e},getParentWidth(){},gridItemClasses(){if(this.parentData.border){let e=[];this.parent.children.map(((t,n)=>{if(this===t){const t=this.parent.children.length;(n+1)%this.parentData.col!=0&&n+1!==t&&e.push("u-border-right");n<t-(t%this.parentData.col==0?this.parentData.col:t%this.parentData.col)&&e.push("u-border-bottom")}})),this.classes=e}}},beforeUnmount(){Dd("$uGridItem")}},[["render",function(e,t,n,o,i,r){const a=Fg;return i.parentData.col>0?(Zi(),ir(a,{key:0,class:me(["u-grid-item",i.classes]),"hover-class":"u-grid-item--hover-class","hover-stay-time":200,onClick:r.clickHandler,style:fe([r.itemStyle])},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["onClick","class","style"])):fr("",!0)}],["__scopeId","data-v-56681137"]]),jB=Object.freeze(Object.defineProperty({__proto__:null,default:LB},Symbol.toStringTag,{value:"Module"})),$B={props:{col:{type:[String,Number],default:()=>zk.grid.col},border:{type:Boolean,default:()=>zk.grid.border},align:{type:String,default:()=>zk.grid.align},gap:{type:String,default:"0px"}}},FB={name:"u-grid",mixins:[Lk,$k,$B],data:()=>({index:0,width:0}),watch:{parentData(){this.children.length&&this.children.map((e=>{"function"==typeof e.updateParentData&&e.updateParentData()}))}},created(){this.children=[]},computed:{parentData(){return[this.hoverClass,this.col,this.size,this.border]},gridStyle(){let e={};switch(this.align){case"left":default:e.justifyContent="flex-start";break;case"center":e.justifyContent="center";break;case"right":e.justifyContent="flex-end"}return dk(e,lk(this.customStyle))}},emits:["click"],methods:{childClick(e){this.$emit("click",e)}}},HB=()=>{ra((e=>({"282d29f5":e.gap,"282d1c9f":e.col})))},VB=FB.setup;FB.setup=VB?(e,t)=>(HB(),VB(e,t)):HB;const UB=rA(FB,[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:"u-grid",ref:"u-grid",style:fe([r.gridStyle])},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["style"])}],["__scopeId","data-v-7600327d"]]),WB=Object.freeze(Object.defineProperty({__proto__:null,default:UB},Symbol.toStringTag,{value:"Module"}));const QB=rA({name:"u-index-anchor",mixins:[Lk,$k,{props:{text:{type:[String,Number],default:()=>zk.indexAnchor.text},color:{type:String,default:()=>zk.indexAnchor.color},size:{type:[String,Number],default:()=>zk.indexAnchor.size},bgColor:{type:String,default:()=>zk.indexAnchor.bgColor},height:{type:[String,Number],default:()=>zk.indexAnchor.height}}}],data:()=>({}),mounted(){this.init()},methods:{addUnit:ck,init(){const e=sk.call(this,"u-index-list");if(!e)return;e.anchors.push(this);const t=sk.call(this,"u-index-item");t&&(t.id=this.text.charCodeAt(0))}}},[["render",function(e,t,n,o,i,r){const a=Rg,s=Fg;return Zi(),ir(s,{class:"u-index-anchor u-border-bottom",ref:`u-index-anchor-${e.text}`,style:fe({height:r.addUnit(e.height),backgroundColor:e.bgColor})},{default:qn((()=>[dr(a,{class:"u-index-anchor__text",style:fe({fontSize:r.addUnit(e.size),color:e.color})},{default:qn((()=>[pr(q(e.text),1)])),_:1},8,["style"])])),_:1},8,["style"])}],["__scopeId","data-v-5433b0b0"]]),qB=Object.freeze(Object.defineProperty({__proto__:null,default:QB},Symbol.toStringTag,{value:"Module"}));const GB=rA({name:"u-index-item",mixins:[Lk,$k,{props:{}}],data:()=>({top:0,height:0,id:""}),created(){this.anchor={}},mounted(){this.init()},methods:{init(){this.getParentData("u-index-list"),this.parent&&ek().then((()=>{this.getIndexItemRect().then((e=>{this.top=Math.ceil(e.top),this.height=Math.ceil(e.height)}))}))},getIndexItemRect(){return new Promise((e=>{this.$uGetRect(".u-index-item").then((t=>{e(t)}))}))}}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:me(["u-index-item",[`u-index-item-${i.id}`]]),id:`u-index-item-${i.id}`},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["id","class"])}],["__scopeId","data-v-1c4bac16"]]),YB=Object.freeze(Object.defineProperty({__proto__:null,default:GB},Symbol.toStringTag,{value:"Module"})),XB={props:{inactiveColor:{type:String,default:()=>zk.indexList.inactiveColor},activeColor:{type:String,default:()=>zk.indexList.activeColor},indexList:{type:Array,default:()=>zk.indexList.indexList},sticky:{type:Boolean,default:()=>zk.indexList.sticky},customNavHeight:{type:[String,Number],default:()=>zk.indexList.customNavHeight},safeBottomFix:{type:Boolean,default:()=>zk.indexList.safeBottomFix}}};const JB=rA({name:"u-index-list",mixins:[Lk,$k,XB],data:()=>({activeIndex:-1,touchmoveIndex:1,letterInfo:{height:0,itemHeight:0,top:0},indicatorHeight:50,touching:!1,scrollTop:0,scrollViewHeight:0,sys:{},scrolling:!1,scrollIntoView:"",pageY:0,topOffset:0}),computed:{uIndexList(){return this.indexList.length?this.indexList:(()=>{const e=[],t="A".charCodeAt(0);for(let n=0;n<26;n++)e.push(String.fromCharCode(t+n));return e})()},indicatorTop(){const{top:e,height:t,itemHeight:n}=this.letterInfo;return Math.floor(e-t/2+n*this.activeIndex+n-35)}},watch:{uIndexList:{immediate:!1,handler(){ek(30).then((()=>{this.setIndexListLetterInfo()}))}}},created(){this.children=[],this.anchors=[],this.sys=ok()},mounted(){this.init(),ek(50).then((()=>{this.setIndexListLetterInfo()}))},methods:{addUnit:ck,init(){let e=ZC(this.customNavHeight);this.getIndexListRect().then((async t=>{this.scrollViewHeight=t.height?t.height:this.sys.windowHeight-e,this.topOffset=this.sys.windowHeight-this.scrollViewHeight}))},touchStart(e){const t=e.changedTouches[0];if(!t)return;this.touching=!0;const{pageY:n,screenY:o}=t,i=this.getIndexListLetter(n);this.setValueForTouch(i)},touchMove(e){let t=e.changedTouches[0];if(!t)return;this.touching||(this.touching=!0);const{pageY:n,screenY:o}=t,i=this.getIndexListLetter(n);this.setValueForTouch(i)},touchEnd(e){ek(300).then((()=>{this.touching=!1}))},getIndexListLetterRect(){return new Promise((e=>{this.$uGetRect(".u-index-list__letter").then((t=>{e(t)}))}))},getIndexListScrollViewRect(){return new Promise((e=>{this.$uGetRect(".u-index-list__scroll-view").then((t=>{e(t)}))}))},getIndexListRect(){return new Promise((e=>{this.$uGetRect(".u-index-list").then((t=>{e(t)}))}))},setIndexListLetterInfo(){this.getIndexListLetterRect().then((e=>{const{height:t}=e,n=ok();n.windowHeight,0==this.customNavHeight?n.windowTop:ZC(this.customNavHeight),this.getIndexListScrollViewRect().then((e=>{this.letterInfo={height:t,top:e.height/2,itemHeight:Math.floor(t/this.uIndexList.length)}}))}))},getIndexListLetter(e){this.pageY=e;let{top:t,height:n,itemHeight:o}=this.letterInfo,i=this.currentIndex;return t-=n/2,i=(e-=this.topOffset)<t?0:e>=t+n?this.uIndexList.length-1:Math.floor((e-t)/o),i},async setValueForTouch(e){e!==this.activeIndex&&(this.activeIndex=e,this.scrollIntoView=`u-index-item-${this.uIndexList[e].charCodeAt(0)}`)},getHeaderRect(){return new Promise((e=>{this.$slots.header||e({width:0,height:0}),this.$uGetRect(".u-index-list__header").then((t=>{e(t)}))}))},async scrollHandler(e){if(this.touching||this.scrolling)return;this.scrolling=!0,ek(10).then((()=>{this.scrolling=!1}));let t=0;const n=this.children.length;let o=this.children;let i=(await this.getHeaderRect()).height;this.anchors,o=this.children.map(((e,t)=>{const n={height:e.height,top:i};return i+=e.height,n})),t=e.detail.scrollTop,t+=ZC(this.customNavHeight);for(let r=0;r<n;r++){const e=o[r],i=o[r+1];if(t<=o[0].top||t>=o[n-1].top+o[n-1].height){this.activeIndex=-1;break}if(!i){this.activeIndex=n-1;break}if(t>e.top&&t<i.top){this.activeIndex=r;break}}}}},[["render",function(e,t,n,o,i,r){const a=Fg,s=Tg,l=Rg,c=fA(eo("u-transition"),bA);return Zi(),ir(a,{ref:"u-index-list",class:"u-index-list"},{default:qn((()=>[dr(s,{scrollTop:i.scrollTop,scrollIntoView:i.scrollIntoView,"offset-accuracy":1,style:fe({maxHeight:r.addUnit(i.scrollViewHeight)}),"scroll-y":"",onScroll:r.scrollHandler,ref:"u-index-list__scroll-view",class:"u-index-list__scroll-view"},{default:qn((()=>[e.$slots.header?(Zi(),ir(a,{key:0,class:"u-index-list__header"},{default:qn((()=>[ni(e.$slots,"header",{},void 0,!0)])),_:3})):fr("",!0),ni(e.$slots,"default",{},void 0,!0),e.$slots.footer?(Zi(),ir(a,{key:1,class:"u-index-list__footer"},{default:qn((()=>[ni(e.$slots,"footer",{},void 0,!0)])),_:3})):fr("",!0)])),_:3},8,["scrollTop","scrollIntoView","style","onScroll"]),dr(a,{class:"u-index-list__letter",ref:"u-index-list__letter",style:fe({top:r.addUnit(i.letterInfo.top),transform:"translateY(-50%)"}),onTouchstart:Pa(r.touchStart,["prevent"]),onTouchmove:Pa(r.touchMove,["prevent"]),onTouchend:Pa(r.touchEnd,["prevent"]),onTouchcancel:Pa(r.touchEnd,["prevent"])},{default:qn((()=>[(Zi(!0),or(qi,null,ti(r.uIndexList,((t,n)=>(Zi(),ir(a,{class:"u-index-list__letter__item",key:n,style:fe({backgroundColor:i.activeIndex===n?e.activeColor:"transparent"})},{default:qn((()=>[dr(l,{class:"u-index-list__letter__item__index",style:fe({color:i.activeIndex===n?"#fff":e.inactiveColor})},{default:qn((()=>[pr(q(t),1)])),_:2},1032,["style"])])),_:2},1032,["style"])))),128))])),_:1},8,["style","onTouchstart","onTouchmove","onTouchend","onTouchcancel"]),dr(c,{mode:"fade",show:i.touching,customStyle:{position:"absolute",right:"50px",top:r.addUnit(r.indicatorTop,"px"),zIndex:3}},{default:qn((()=>[dr(a,{class:me(["u-index-list__indicator",["u-index-list__indicator--show"]]),style:fe({height:r.addUnit(i.indicatorHeight),width:r.addUnit(i.indicatorHeight)})},{default:qn((()=>[dr(l,{class:"u-index-list__indicator__text"},{default:qn((()=>[pr(q(r.uIndexList[i.activeIndex]),1)])),_:1})])),_:1},8,["style"])])),_:1},8,["show","customStyle"])])),_:3},512)}],["__scopeId","data-v-6f791f1c"]]),KB=Object.freeze(Object.defineProperty({__proto__:null,default:JB},Symbol.toStringTag,{value:"Module"})),ZB={props:{mode:{type:String,default:()=>zk.numberKeyboard.value},dotDisabled:{type:Boolean,default:()=>zk.numberKeyboard.dotDisabled},random:{type:Boolean,default:()=>zk.numberKeyboard.random}}};const eE=rA({name:"u-number-keyboard",mixins:[Lk,$k,ZB],data:()=>({backspace:"backspace",dot:".",timer:null,cardX:"X"}),computed:{numList(){return this.dotDisabled&&"number"==this.mode?this.random?fk([1,2,3,4,5,6,7,8,9,0]):[1,2,3,4,5,6,7,8,9,0]:this.dotDisabled||"number"!=this.mode?"card"==this.mode?this.random?fk([1,2,3,4,5,6,7,8,9,this.cardX,0]):[1,2,3,4,5,6,7,8,9,this.cardX,0]:void 0:this.random?fk([1,2,3,4,5,6,7,8,9,this.dot,0]):[1,2,3,4,5,6,7,8,9,this.dot,0]},itemStyle(){return e=>{let t={};return"number"==this.mode&&this.dotDisabled&&9==e&&(t.width="464rpx"),t}},btnBgGray(){return e=>!this.random&&9==e&&("number"!=this.mode||"number"==this.mode&&!this.dotDisabled)}},created(){},emits:["backspace","change"],methods:{backspaceClick(){this.$emit("backspace"),clearInterval(this.timer),this.timer=null,this.timer=setInterval((()=>{this.$emit("backspace")}),250)},clearTimer(){clearInterval(this.timer),this.timer=null},keyboardClick(e){this.dotDisabled||e==this.dot||e==this.cardX||(e=Number(e)),this.$emit("change",e)}}},[["render",function(e,t,n,o,i,r){const a=Rg,s=Fg,l=fA(eo("u-icon"),hA);return Zi(),ir(s,{class:"u-keyboard",onTouchmove:Pa(e.noop,["stop","prevent"])},{default:qn((()=>[(Zi(!0),or(qi,null,ti(r.numList,((e,t)=>(Zi(),ir(s,{class:"u-keyboard__button-wrapper",key:t},{default:qn((()=>[dr(s,{class:"u-keyboard__button-wrapper__button",style:fe([r.itemStyle(t)]),onClick:t=>r.keyboardClick(e),"hover-class":"u-hover-class","hover-stay-time":200},{default:qn((()=>[dr(a,{class:"u-keyboard__button-wrapper__button__text"},{default:qn((()=>[pr(q(e),1)])),_:2},1024)])),_:2},1032,["style","onClick"])])),_:2},1024)))),128)),dr(s,{class:"u-keyboard__button-wrapper"},{default:qn((()=>[dr(s,{class:"u-keyboard__button-wrapper__button u-keyboard__button-wrapper__button--gray","hover-class":"u-hover-class","hover-stay-time":200,onTouchstart:Pa(r.backspaceClick,["stop"]),onTouchend:r.clearTimer},{default:qn((()=>[dr(l,{name:"backspace",color:"#303133",size:"28"})])),_:1},8,["onTouchstart","onTouchend"])])),_:1})])),_:1},8,["onTouchmove"])}],["__scopeId","data-v-d9938dc2"]]),tE=Object.freeze(Object.defineProperty({__proto__:null,default:eE},Symbol.toStringTag,{value:"Module"})),nE={props:{mode:{type:String,default:()=>zk.keyboard.mode},dotDisabled:{type:Boolean,default:()=>zk.keyboard.dotDisabled},tooltip:{type:Boolean,default:()=>zk.keyboard.tooltip},showTips:{type:Boolean,default:()=>zk.keyboard.showTips},tips:{type:String,default:()=>zk.keyboard.tips},showCancel:{type:Boolean,default:()=>zk.keyboard.showCancel},showConfirm:{type:Boolean,default:()=>zk.keyboard.showConfirm},random:{type:Boolean,default:()=>zk.keyboard.random},safeAreaInsetBottom:{type:Boolean,default:()=>zk.keyboard.safeAreaInsetBottom},closeOnClickOverlay:{type:Boolean,default:()=>zk.keyboard.closeOnClickOverlay},show:{type:Boolean,default:()=>zk.keyboard.show},overlay:{type:Boolean,default:()=>zk.keyboard.overlay},zIndex:{type:[String,Number],default:()=>zk.keyboard.zIndex},cancelText:{type:String,default:()=>zk.keyboard.cancelText},confirmText:{type:String,default:()=>zk.keyboard.confirmText},autoChange:{type:Boolean,default:()=>zk.keyboard.autoChange}}};const oE=rA({name:"u-keyboard",data:()=>({}),mixins:[Lk,$k,nE],emits:["change","close","confirm","cancel","backspace"],methods:{change(e){this.$emit("change",e)},popupClose(){this.$emit("close")},onConfirm(){this.$emit("confirm")},onCancel(){this.$emit("cancel")},backspace(){this.$emit("backspace")}}},[["render",function(e,t,n,o,i,r){const a=Rg,s=Fg,l=fA(eo("u-number-keyboard"),eE),c=fA(eo("u-car-keyboard"),bI),u=fA(eo("u-popup"),hT);return Zi(),ir(u,{overlay:e.overlay,closeOnClickOverlay:e.closeOnClickOverlay,mode:"bottom",popup:!1,show:e.show,safeAreaInsetBottom:e.safeAreaInsetBottom,onClose:r.popupClose,zIndex:e.zIndex,customStyle:{backgroundColor:"rgb(214, 218, 220)"}},{default:qn((()=>[dr(s,{class:"u-keyboard"},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0),e.tooltip?(Zi(),ir(s,{key:0,class:"u-keyboard__tooltip"},{default:qn((()=>[dr(s,{"hover-class":"u-hover-class","hover-stay-time":100},{default:qn((()=>[e.showCancel?(Zi(),ir(a,{key:0,class:"u-keyboard__tooltip__item u-keyboard__tooltip__cancel",onClick:r.onCancel},{default:qn((()=>[pr(q(e.showCancel&&e.cancelText),1)])),_:1},8,["onClick"])):fr("",!0)])),_:1}),dr(s,null,{default:qn((()=>[e.showTips?(Zi(),ir(a,{key:0,class:"u-keyboard__tooltip__item u-keyboard__tooltip__tips"},{default:qn((()=>[pr(q(e.tips?e.tips:"number"==e.mode?"数字键盘":"card"==e.mode?"身份证键盘":"车牌号键盘"),1)])),_:1})):fr("",!0)])),_:1}),dr(s,{"hover-class":"u-hover-class","hover-stay-time":100},{default:qn((()=>[e.showConfirm?(Zi(),ir(a,{key:0,onClick:r.onConfirm,class:"u-keyboard__tooltip__item u-keyboard__tooltip__submit","hover-class":"u-hover-class"},{default:qn((()=>[pr(q(e.showConfirm&&e.confirmText),1)])),_:1},8,["onClick"])):fr("",!0)])),_:1})])),_:1})):fr("",!0),"number"==e.mode||"card"==e.mode?(Zi(),ir(l,{key:1,random:e.random,onBackspace:r.backspace,onChange:r.change,mode:e.mode,dotDisabled:e.dotDisabled},null,8,["random","onBackspace","onChange","mode","dotDisabled"])):(Zi(),ir(c,{key:2,random:e.random,autoChange:e.autoChange,onBackspace:r.backspace,onChange:r.change},null,8,["random","autoChange","onBackspace","onChange"]))])),_:3})])),_:3},8,["overlay","closeOnClickOverlay","show","safeAreaInsetBottom","onClose","zIndex","customStyle"])}],["__scopeId","data-v-d694f594"]]),iE=Object.freeze(Object.defineProperty({__proto__:null,default:oE},Symbol.toStringTag,{value:"Module"}));const rE=rA({name:"u-lazy-load",props:{index:{type:[Number,String]},image:{type:String,default:""},imgMode:{type:String,default:"widthFix"},loadingImg:{type:String,default:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAMAAAC3Ycb+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUM0QjNBQjkyQUQ2MTFFQTlCNUQ4RTIzNDE5RUIxNjciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUM0QjNBQkEyQUQ2MTFFQTlCNUQ4RTIzNDE5RUIxNjciPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5QzRCM0FCNzJBRDYxMUVBOUI1RDhFMjM0MTlFQjE2NyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5QzRCM0FCODJBRDYxMUVBOUI1RDhFMjM0MTlFQjE2NyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PtRHfPcAAAAzUExURZWVldfX18PDw62trZubm9zc3Li4uKGhoebm5tLS0uHh4c3Nzaenp729vcjIyLKysuvr6141L40AAAcXSURBVHja7NzZlqpGAEBR5lG0//9rIw7IJKJi4or7PGTdtN10wr5SVAEGf/qqArsAiIAAERAgAgJEQIAIiIAAERAgAgJEQIAIiIAAERAgAgJEQIAIiIAAERAgAgJEQIAIiIAAERAgAgJEQIAIiIAAERAgAgJEQIAIiIAAERAgAgJEQIAIiIAAERAgAgJEQIAIiIAAERAgAgJEQIAIiIAAERAgAgJEQIAICBABERAgAgJEQIAICBABERAgAgJEQIAICBABERAgAgJEQIAICBABERAgAgJEQIAICBABERAgAgJEQIAICBABERAgAgJEQIAICBABERAgAgJEQIAICBABERAgAgJEQIAICBABERAg+nmQFMi5Jis+sIniED23jSzIgLTtg2D//iYme/8QBM/9lQ+CAEhbNLM3N9hEHAThX7GPCiBfAxK1b51kD+R7QMLjXg7iCsgWIPUh7pfVozG791oeBPngm48G583uW5GkBvI+SBaM2xXDn1oqum423bX/mgF5FySc2cv93Voug9TdZotsggnkBZB2NzbhrSY5HnoG07jei8dvzsJB/c3W60SALILE46+WCztsbhPR7R2VJq0ukEcT49nyy8QhaKcRa3fYHZD4+ufqOJAcgDz8/59vtw1I3QP5K6JsOG0vm3hce4I8LQp/BaRZGJC3AAn7IKOKXbC+7EdA5vdmmVwOLksgRThqOqiH4XEGsht+peoPUE8U/jJIO5OLH4GEwUslV5G0PTBG5Uiw/Y2jyigO3l9HAHKv9PYb82LloH74dZBoBUgar+l48NsNvtD0fkez9iwrAvIYZDRCl+Xs149Hm/KZmQ+QjUCiO1ei4ru7EsgnQYrkznlQb7thCuRfAzlOAPN72427P4VA/i2Q/DKT/Ls/VR8fvIBsDZIuz7TPF6TCbnk4GJkB2RokejTjuE7/unlgCuSTIO0Cy+Plp6vDfnQlBchy8QtjSHVd3EgmK1bHLm+H6+nXYbz2DuQRSPnqoL7vvq0u70on4zvxgCyWD3b9UyDVdW24PaWaiGTnFZJwPIQAebDpIKheBIm7n124ZthMJipAlkqHO+IZkP1tbfzOJark/A7MgKyvvl60fRqkvXfhuow+t9+q00+0/yyBrK8ZngOtBzldhw2X9tvpNGty0gvkmbPeJ0Cy/r09s/stbmfo0yMWkEdjevgKyOn2t2pxv7UXoibTdCDLje9/Ww1ymqzn87dbp92242ZmMRjI8hASvwKSLq4udqN6ksw8nxXN3tszD9L8Gkg+2mFrQYql5az4tvFj5xOx4VwnSdeBtGdyPwUytxK77pBVlNHdO7OK3rh/eTPUvdutT3fO52tuHMqD4N7llv8pyOQQ//w19YVDfX27+Sfuby9/6nau4pdA8vEdOZuChEH/quHt0Jg+IRJ/5+PrHwKZXfjbDiS73Zo7mu5UkzX7uTsXe0e/7nC3ePf1O69+BUg2XDfZCqSqOu7rGVf8cHBe8zhC2b61dtUHXv0OkGo6ZL4JkpbRYXdUaFevivx2M/1GIOctNh949TtAoumQ+TpIHMX54CJu+8BDd8FkE5BqcZh/59XvAClmTvKfB0nDqIlHo3T70SftyW1eX9dXtgQJqs1f/Q6QaOa/7wmQKtxH8eiGoCRuovODIO3VxOMmruZbHrLyD7z6DSDtGyT7ew1kf9hNn07c986JTovzzem0Id9wUG+Vk/IDr34DSNR7huZJkMFT6vEhqrPx/j5cnlZML8N6/PAzh9Y99Flm5Yde/c9BquDOkvkKkMP58dA4qi9vivE8JOvGz/j8FokfPpr288+pH2ZPOZrLmeGD+7KOh6dqYWJ48ki7yUg0tz0go/fv/LLddfV3sgOLJyaGPY/zrSlh1a36Arkzoue9CyG35ze6E6/dzO2Ga0EGHqdRJIkfn9/8OEjTW8Vq91ZWh39FeehWA7Nu9ft8CpUEk1WWOyDF0OPyEU2Pnzf/bZC0P6IPzmAvu7KauQBVrgKpJ0tG2arHzX8e5Pb3PezNs/PrX+3JMyCLn9XXf37tPFHvt09WfCDDjx+yyn1/p1V11j7GnB/q3leLuVva79S/tzed+db08YpF4uOZtmz/9oXWMq6BCAgQAQEiIEAERECACAgQAQEiIEAERECACAgQAQEiIEAERECACAgQAQEiIEAERECACAgQAQEiIEAERECACAgQAQEiIEAERECACAgQAQEiIEAERECACAgQAQEiIEAERECACAgQAQEiIEAERECACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiAALELvqt/BBgACqVeUBXxcCkAAAAASUVORK5CYII="},errorImg:{type:String,default:"data:image/png;base64, "},threshold:{type:[Number,String],default:100},duration:{type:[Number,String],default:500},effect:{type:String,default:"ease-in-out"},isEffect:{type:Boolean,default:!0},borderRadius:{type:[Number,String],default:0},height:{type:[Number,String],default:"200"}},data(){return{isShow:!1,opacity:1,time:this.duration,loadStatus:"",isError:!1,elIndex:ak()}},computed:{getThreshold(){let e=Id(Math.abs(this.threshold));return this.threshold<0?-e:e},imgHeight(){return ck(this.height)}},created(){this.observer={}},watch:{isShow(e){this.isEffect&&(this.time=0,this.opacity=0,setTimeout((()=>{this.time=this.duration,this.opacity=1}),30))},image(e){e?(this.init(),this.isError=!1):this.isError=!0}},emits:["click","load","error"],methods:{init(){this.isError=!1,this.loadStatus=""},clickImg(){0==this.isShow||this.isError,this.$emit("click",this.index)},imgLoaded(){""==this.loadStatus?this.loadStatus="lazyed":"lazyed"==this.loadStatus&&(this.loadStatus="loaded",this.$emit("load",this.index))},errorImgLoaded(){this.$emit("error",this.index)},loadError(){this.isError=!0},disconnectObserver(e){const t=this[e];t&&t.disconnect()}},beforeUnmount(){},mounted(){this.$nextTick((()=>{Md("uOnReachBottom",(()=>{this.isShow||(this.isShow=!0)}))})),setTimeout((()=>{const e=dh(this);e.relativeToViewport({bottom:this.getThreshold}).observe(".u-lazy-item-"+this.elIndex,(e=>{e.intersectionRatio>0&&(this.isShow=!0,this.disconnectObserver("contentObserver"))})),this.contentObserver=e}),30)}},[["render",function(e,t,n,o,i,r){const a=sm,s=Fg;return Zi(),ir(s,{class:me(["u-wrap","u-lazy-item-"+i.elIndex]),style:fe({opacity:Number(i.opacity),borderRadius:n.borderRadius+"rpx",transition:`opacity ${i.time/1e3}s ease-in-out`})},{default:qn((()=>[dr(s,{class:me("u-lazy-item-"+i.elIndex)},{default:qn((()=>[i.isError?(Zi(),ir(a,{key:1,style:fe({borderRadius:n.borderRadius+"rpx",height:r.imgHeight}),class:"u-lazy-item error",src:n.errorImg,mode:n.imgMode,onLoad:r.errorImgLoaded,onClick:r.clickImg},null,8,["style","src","mode","onLoad","onClick"])):(Zi(),ir(a,{key:0,style:fe({borderRadius:n.borderRadius+"rpx",height:r.imgHeight}),class:"u-lazy-item",src:i.isShow?n.image:n.loadingImg,mode:n.imgMode,onLoad:r.imgLoaded,onError:r.loadError,onClick:r.clickImg},null,8,["style","src","mode","onLoad","onError","onClick"]))])),_:1},8,["class"])])),_:1},8,["style","class"])}],["__scopeId","data-v-2ce164f3"]]),aE=Object.freeze(Object.defineProperty({__proto__:null,default:rE},Symbol.toStringTag,{value:"Module"})),sE={props:{activeColor:{type:String,default:()=>zk.lineProgress.activeColor},inactiveColor:{type:String,default:()=>zk.lineProgress.color},percentage:{type:[String,Number],default:()=>zk.lineProgress.inactiveColor},showText:{type:Boolean,default:()=>zk.lineProgress.showText},height:{type:[String,Number],default:()=>zk.lineProgress.height}}};const lE=rA({name:"u-line-progress",mixins:[Lk,$k,sE],data:()=>({lineWidth:0}),watch:{percentage(e){this.resizeProgressWidth()}},computed:{progressStyle(){let e={};return e.width=this.lineWidth,e.backgroundColor=this.activeColor,e.height=ck(this.height),e},innserPercentage(){return KC(0,100,this.percentage)}},mounted(){this.init()},methods:{addStyle:lk,addUnit:ck,init(){ek(20).then((()=>{this.resizeProgressWidth()}))},getProgressWidth(){return this.$uGetRect(".u-line-progress__background")},resizeProgressWidth(){this.getProgressWidth().then((e=>{const{width:t}=e;this.lineWidth=t*this.innserPercentage/100+"px"}))}}},[["render",function(e,t,n,o,i,r){const a=Fg,s=Rg;return Zi(),ir(a,{class:"u-line-progress",style:fe([r.addStyle(e.customStyle)])},{default:qn((()=>[dr(a,{class:"u-line-progress__background",ref:"u-line-progress__background",style:fe([{backgroundColor:e.inactiveColor,height:r.addUnit(e.height)}])},null,8,["style"]),dr(a,{class:"u-line-progress__line",style:fe([r.progressStyle])},{default:qn((()=>[ni(e.$slots,"default",{},(()=>[e.showText&&e.percentage>=10?(Zi(),ir(s,{key:0,class:"u-line-progress__text"},{default:qn((()=>[pr(q(r.innserPercentage+"%"),1)])),_:1})):fr("",!0)]),!0)])),_:3},8,["style"])])),_:3},8,["style"])}],["__scopeId","data-v-20852b3e"]]),cE=Object.freeze(Object.defineProperty({__proto__:null,default:lE},Symbol.toStringTag,{value:"Module"}));const uE=rA({name:"u-list-item",mixins:[Lk,$k,{props:{anchor:{type:[String,Number],default:()=>zk.listItem.anchor}}}],data:()=>({rect:{},index:0,show:!0,sys:ok()}),computed:{},inject:["uList"],watch:{"uList.innerScrollTop"(e){const t=this.uList.preLoadScreen,n=this.sys.windowHeight;e<=n*t?this.parent.updateOffsetFromChild(0):this.rect.top<=e-n*t&&this.parent.updateOffsetFromChild(this.rect.top)}},created(){this.parent={}},mounted(){this.init()},methods:{init(){this.updateParentData(),this.index=this.parent.children.indexOf(this),this.resize()},updateParentData(){this.getParentData("u-list")},resize(){this.queryRect(`u-list-item-${this.anchor}`).then((e=>{const t=this.parent.children[this.index-1];this.rect=e;const n=this.uList.preLoadScreen,o=this.sys.windowHeight;t&&(this.rect.top=t.rect.top+t.rect.height),e.top>=this.uList.innerScrollTop+(1+n)*o&&(this.show=!1)}))},queryRect(e){return new Promise((t=>{this.$uGetRect(`.${e}`).then((e=>{t(e)}))}))}}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:me(["u-list-item",[`u-list-item-${e.anchor}`]]),ref:`u-list-item-${e.anchor}`,anchor:`u-list-item-${e.anchor}`},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["anchor","class"])}],["__scopeId","data-v-117ac5f9"]]),dE=Object.freeze(Object.defineProperty({__proto__:null,default:uE},Symbol.toStringTag,{value:"Module"})),hE={props:{showScrollbar:{type:Boolean,default:()=>zk.list.showScrollbar},lowerThreshold:{type:[String,Number],default:()=>zk.list.lowerThreshold},upperThreshold:{type:[String,Number],default:()=>zk.list.upperThreshold},scrollTop:{type:[String,Number],default:()=>zk.list.scrollTop},offsetAccuracy:{type:[String,Number],default:()=>zk.list.offsetAccuracy},enableFlex:{type:Boolean,default:()=>zk.list.enableFlex},pagingEnabled:{type:Boolean,default:()=>zk.list.pagingEnabled},scrollable:{type:Boolean,default:()=>zk.list.scrollable},scrollIntoView:{type:String,default:()=>zk.list.scrollIntoView},scrollWithAnimation:{type:Boolean,default:()=>zk.list.scrollWithAnimation},enableBackToTop:{type:Boolean,default:()=>zk.list.enableBackToTop},height:{type:[String,Number],default:()=>zk.list.height},width:{type:[String,Number],default:()=>zk.list.width},preLoadScreen:{type:[String,Number],default:()=>zk.list.preLoadScreen},refresherEnabled:{type:Boolean,default:()=>!1},refresherThreshold:{type:Number,default:()=>45},refresherDefaultStyle:{type:String,default:()=>"black"},refresherBackground:{type:String,default:()=>"#FFF"},refresherTriggered:{type:Boolean,default:()=>!1}}};const pE=rA({name:"u-list",mixins:[Lk,$k,hE],watch:{scrollIntoView(e){this.scrollIntoViewById(e)}},data:()=>({innerScrollTop:0,offset:0,sys:ok()}),computed:{listStyle(){const e={};return 0!=this.width&&(e.width=ck(this.width)),0!=this.height&&(e.height=ck(this.height)),e.height||(e.height=ck(this.sys.windowHeight,"px")),dk(e,lk(this.customStyle))}},provide(){return{uList:this}},created(){this.refs=[],this.children=[],this.anchors=[]},mounted(){},emits:["scroll","scrolltolower","scrolltoupper","refresherpulling","refresherrefresh","refresherrestore","refresherabort"],methods:{updateOffsetFromChild(e){this.offset=e},onScroll(e){let t=0;t=e.detail.scrollTop,this.innerScrollTop=t,this.$emit("scroll",t)},scrollIntoViewById(e){},scrolltolower(e){ek(30).then((()=>{this.$emit("scrolltolower")}))},scrolltoupper(e){ek(30).then((()=>{this.$emit("scrolltoupper"),this.offset=0}))},refresherpulling(e){this.$emit("refresherpulling",e)},refresherrefresh(e){this.$emit("refresherrefresh",e)},refresherrestore(e){this.$emit("refresherrestore",e)},refresherabort(e){this.$emit("refresherabort",e)}}},[["render",function(e,t,n,o,i,r){const a=Fg,s=Tg;return Zi(),ir(s,{class:"u-list","scroll-into-view":e.scrollIntoView,style:fe([r.listStyle]),"scroll-y":e.scrollable,"scroll-top":Number(e.scrollTop),"lower-threshold":Number(e.lowerThreshold),"upper-threshold":Number(e.upperThreshold),"show-scrollbar":e.showScrollbar,"enable-back-to-top":e.enableBackToTop,"scroll-with-animation":e.scrollWithAnimation,onScroll:r.onScroll,onScrolltolower:r.scrolltolower,onScrolltoupper:r.scrolltoupper,"refresher-enabled":e.refresherEnabled,"refresher-threshold":e.refresherThreshold,"refresher-default-style":e.refresherDefaultStyle,"refresher-background":e.refresherBackground,"refresher-triggered":e.refresherTriggered,onRefresherpulling:r.refresherpulling,onRefresherrefresh:r.refresherrefresh,onRefresherrestore:r.refresherrestore,onRefresherabort:r.refresherabort,"scroll-anchoring":!0},{default:qn((()=>[dr(a,null,{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3},8,["scroll-into-view","style","scroll-y","scroll-top","lower-threshold","upper-threshold","show-scrollbar","enable-back-to-top","scroll-with-animation","onScroll","onScrolltolower","onScrolltoupper","refresher-enabled","refresher-threshold","refresher-default-style","refresher-background","refresher-triggered","onRefresherpulling","onRefresherrefresh","onRefresherrestore","onRefresherabort"])}],["__scopeId","data-v-4a5bdfe6"]]),fE=Object.freeze(Object.defineProperty({__proto__:null,default:pE},Symbol.toStringTag,{value:"Module"})),mE={props:{loadingText:{type:[String,Number],default:()=>zk.loadingPage.loadingText},image:{type:String,default:()=>zk.loadingPage.image},loadingMode:{type:String,default:()=>zk.loadingPage.loadingMode},loading:{type:Boolean,default:()=>zk.loadingPage.loading},bgColor:{type:String,default:()=>zk.loadingPage.bgColor},color:{type:String,default:()=>zk.loadingPage.color},fontSize:{type:[String,Number],default:()=>zk.loadingPage.fontSize},iconSize:{type:[String,Number],default:()=>zk.loadingPage.fontSize},loadingColor:{type:String,default:()=>zk.loadingPage.loadingColor},zIndex:{type:[Number],default:()=>zk.loadingPage.zIndex}}};const gE=rA({name:"u-loading-page",mixins:[Lk,$k,mE],data:()=>({}),methods:{addUnit:ck}},[["render",function(e,t,n,o,i,r){const a=sm,s=fA(eo("u-loading-icon"),eT),l=Fg,c=Rg,u=fA(eo("u-transition"),bA);return Zi(),ir(u,{show:e.loading,"custom-style":{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:e.bgColor,display:"flex",zIndex:e.zIndex,...e.customStyle}},{default:qn((()=>[dr(l,{class:"u-loading-page"},{default:qn((()=>[dr(l,{class:"u-loading-page__warpper"},{default:qn((()=>[dr(l,{class:"u-loading-page__warpper__loading-icon"},{default:qn((()=>[e.image?(Zi(),ir(a,{key:0,src:e.image,class:"u-loading-page__warpper__loading-icon__img",mode:"widthFit",style:fe({width:r.addUnit(e.iconSize),height:r.addUnit(e.iconSize)})},null,8,["src","style"])):(Zi(),ir(s,{key:1,mode:e.loadingMode,size:r.addUnit(e.iconSize),color:e.loadingColor},null,8,["mode","size","color"]))])),_:1}),ni(e.$slots,"default",{},(()=>[dr(c,{class:"u-loading-page__warpper__text",style:fe({fontSize:r.addUnit(e.fontSize),color:e.color})},{default:qn((()=>[pr(q(e.loadingText),1)])),_:1},8,["style"])]),!0)])),_:3})])),_:3})])),_:3},8,["show","custom-style"])}],["__scopeId","data-v-ff65acfd"]]),yE=Object.freeze(Object.defineProperty({__proto__:null,default:gE},Symbol.toStringTag,{value:"Module"})),bE={props:{status:{type:String,default:()=>zk.loadmore.status},bgColor:{type:String,default:()=>zk.loadmore.bgColor},icon:{type:Boolean,default:()=>zk.loadmore.icon},fontSize:{type:[String,Number],default:()=>zk.loadmore.fontSize},iconSize:{type:[String,Number],default:()=>zk.loadmore.iconSize},color:{type:String,default:()=>zk.loadmore.color},loadingIcon:{type:String,default:()=>zk.loadmore.loadingIcon},loadmoreText:{type:String,default:()=>zk.loadmore.loadmoreText},loadingText:{type:String,default:()=>zk.loadmore.loadingText},nomoreText:{type:String,default:()=>zk.loadmore.nomoreText},isDot:{type:Boolean,default:()=>zk.loadmore.isDot},iconColor:{type:String,default:()=>zk.loadmore.iconColor},marginTop:{type:[String,Number],default:()=>zk.loadmore.marginTop},marginBottom:{type:[String,Number],default:()=>zk.loadmore.marginBottom},height:{type:[String,Number],default:()=>zk.loadmore.height},line:{type:Boolean,default:()=>zk.loadmore.line},lineColor:{type:String,default:()=>zk.loadmore.lineColor},dashed:{type:Boolean,default:()=>zk.loadmore.dashed}}};const vE=rA({name:"u-loadmore",mixins:[Lk,$k,bE],data:()=>({dotText:"●"}),computed:{loadTextStyle(){return{color:this.color,fontSize:ck(this.fontSize),lineHeight:ck(this.fontSize),backgroundColor:this.bgColor}},showText(){let e="";return e="loadmore"==this.status?this.loadmoreText:"loading"==this.status?this.loadingText:"nomore"==this.status&&this.isDot?this.dotText:this.nomoreText,e}},emits:["loadmore"],methods:{addStyle:lk,addUnit:ck,loadMore(){"loadmore"==this.status&&this.$emit("loadmore")}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-line"),qA),s=fA(eo("u-loading-icon"),eT),l=Fg,c=Rg;return Zi(),ir(l,{class:"u-loadmore",style:fe([r.addStyle(e.customStyle),{backgroundColor:e.bgColor,marginBottom:r.addUnit(e.marginBottom),marginTop:r.addUnit(e.marginTop),height:r.addUnit(e.height)}])},{default:qn((()=>[e.line?(Zi(),ir(a,{key:0,length:"140rpx",color:e.lineColor,hairline:!1,dashed:e.dashed},null,8,["color","dashed"])):fr("",!0),dr(l,{class:me(["loadmore"==e.status||"nomore"==e.status?"u-more":"","u-loadmore__content"])},{default:qn((()=>["loading"===e.status&&e.icon?(Zi(),ir(l,{key:0,class:"u-loadmore__content__icon-wrap"},{default:qn((()=>[dr(s,{color:e.iconColor,size:e.iconSize,mode:e.loadingIcon},null,8,["color","size","mode"])])),_:1})):fr("",!0),dr(c,{class:me(["u-line-1",["nomore"==e.status&&1==e.isDot?"u-loadmore__content__dot-text":"u-loadmore__content__text"]]),style:fe([r.loadTextStyle]),onClick:r.loadMore},{default:qn((()=>[pr(q(r.showText),1)])),_:1},8,["style","class","onClick"])])),_:1},8,["class"]),e.line?(Zi(),ir(a,{key:1,length:"140rpx",color:e.lineColor,hairline:!1,dashed:e.dashed},null,8,["color","dashed"])):fr("",!0)])),_:1},8,["style"])}],["__scopeId","data-v-376a7cd7"]]),_E=Object.freeze(Object.defineProperty({__proto__:null,default:vE},Symbol.toStringTag,{value:"Module"}));const SE=rA({name:"u-message-input",props:{maxlength:{type:[Number,String],default:4},dotFill:{type:Boolean,default:!1},mode:{type:String,default:"box"},modelValue:{type:[String,Number],default:""},breathe:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},bold:{type:Boolean,default:!1},fontSize:{type:[String,Number],default:60},activeColor:{type:String,default:"#2979ff"},inactiveColor:{type:String,default:"#606266"},width:{type:[Number,String],default:"80"},disabledKeyboard:{type:Boolean,default:!1}},watch:{modelValue:{immediate:!0,handler(e){e=String(e),this.valueModel=e.substring(0,this.maxlength)}}},data:()=>({valueModel:""}),emits:["change","finish"],computed:{animationClass(){return e=>this.breathe&&this.charArr.length==e?"u-breathe":""},charArr(){return this.valueModel.split("")},charArrLength(){return this.charArr.length},loopCharArr(){return new Array(this.maxlength)}},methods:{getVal(e){let{value:t}=e.detail;this.valueModel=t,String(t).length>this.maxlength||(this.$emit("change",t),String(t).length==this.maxlength&&this.$emit("finish",t))}}},[["render",function(e,t,n,o,i,r){const a=Bm,s=Fg,l=Rg;return Zi(),ir(s,{class:"u-char-box"},{default:qn((()=>[dr(s,{class:"u-char-flex"},{default:qn((()=>[dr(a,{disabled:n.disabledKeyboard,value:i.valueModel,type:"number",focus:n.focus,maxlength:n.maxlength,class:"u-input",onInput:r.getVal},null,8,["disabled","value","focus","maxlength","onInput"]),(Zi(!0),or(qi,null,ti(r.loopCharArr,((e,t)=>(Zi(),ir(s,{key:t},{default:qn((()=>[dr(s,{class:me([n.breathe&&r.charArrLength==t?"u-breathe":"","u-char-item",r.charArrLength===t&&"box"==n.mode?"u-box-active":"","box"===n.mode?"u-box":""]),style:fe({fontWeight:n.bold?"bold":"normal",fontSize:n.fontSize+"rpx",width:n.width+"rpx",height:n.width+"rpx",color:n.inactiveColor,borderColor:r.charArrLength===t&&"box"==n.mode?n.activeColor:n.inactiveColor})},{default:qn((()=>["middleLine"!==n.mode?(Zi(),ir(s,{key:0,class:"u-placeholder-line",style:fe({display:r.charArrLength===t?"block":"none",height:.5*n.width+"rpx"})},null,8,["style"])):fr("",!0),"middleLine"===n.mode&&r.charArrLength<=t?(Zi(),ir(s,{key:1,class:me([[n.breathe&&r.charArrLength==t?"u-breathe":"",r.charArrLength===t?"u-middle-line-active":""],"u-middle-line"]),style:fe({height:n.bold?"4px":"2px",background:r.charArrLength===t?n.activeColor:n.inactiveColor})},null,8,["class","style"])):fr("",!0),"bottomLine"===n.mode?(Zi(),ir(s,{key:2,class:me([[n.breathe&&r.charArrLength==t?"u-breathe":"",r.charArrLength===t?"u-bottom-line-active":""],"u-bottom-line"]),style:fe({height:n.bold?"4px":"2px",background:r.charArrLength===t?n.activeColor:n.inactiveColor})},null,8,["class","style"])):fr("",!0),n.dotFill?(Zi(),ir(l,{key:4,class:"u-dot"},{default:qn((()=>[pr(q(r.charArr[t]?"●":""),1)])),_:2},1024)):(Zi(),or(qi,{key:3},[pr(q(r.charArr[t]?r.charArr[t]:""),1)],64))])),_:2},1032,["class","style"])])),_:2},1024)))),128))])),_:1})])),_:1})}],["__scopeId","data-v-613a7e13"]]),wE=Object.freeze(Object.defineProperty({__proto__:null,default:SE},Symbol.toStringTag,{value:"Module"})),xE={props:{show:{type:Boolean,default:()=>zk.modal.show},title:{type:[String],default:()=>zk.modal.title},content:{type:String,default:()=>zk.modal.content},confirmText:{type:String,default:()=>zk.modal.confirmText},cancelText:{type:String,default:()=>zk.modal.cancelText},showConfirmButton:{type:Boolean,default:()=>zk.modal.showConfirmButton},showCancelButton:{type:Boolean,default:()=>zk.modal.showCancelButton},confirmColor:{type:String,default:()=>zk.modal.confirmColor},cancelColor:{type:String,default:()=>zk.modal.cancelColor},buttonReverse:{type:Boolean,default:()=>zk.modal.buttonReverse},zoom:{type:Boolean,default:()=>zk.modal.zoom},asyncClose:{type:Boolean,default:()=>zk.modal.asyncClose},closeOnClickOverlay:{type:Boolean,default:()=>zk.modal.closeOnClickOverlay},negativeTop:{type:[String,Number],default:()=>zk.modal.negativeTop},width:{type:[String,Number],default:()=>zk.modal.width},confirmButtonShape:{type:String,default:()=>zk.modal.confirmButtonShape},contentTextAlign:{type:String,default:()=>zk.modal.contentTextAlign},asyncCloseTip:{type:String,default:()=>zk.modal.asyncCloseTip},asyncCancelClose:{type:Boolean,default:()=>zk.modal.asyncCancelClose}}};const CE=rA({name:"u-modal",mixins:[Lk,$k,xE],data:()=>({loading:!1}),watch:{show(e){e&&this.loading&&(this.loading=!1)}},emits:["confirm","cancel","close","update:show","cancelOnAsync"],methods:{addUnit:ck,confirmHandler(){this.asyncClose?this.loading=!0:this.$emit("update:show",!1),this.$emit("confirm")},cancelHandler(){this.asyncClose&&this.loading?(this.asyncCloseTip&&xv({title:this.asyncCloseTip,icon:"none"}),this.$emit("cancelOnAsync")):this.asyncCancelClose||this.$emit("update:show",!1),this.$emit("cancel")},clickHandler(){this.closeOnClickOverlay&&(this.$emit("update:show",!1),this.$emit("close"))}}},[["render",function(e,t,n,o,i,r){const a=Fg,s=Rg,l=fA(eo("u-line"),qA),c=fA(eo("u-loading-icon"),eT),u=fA(eo("u-popup"),hT);return Zi(),ir(u,{mode:"center",zoom:e.zoom,show:e.show,class:me([e.customClass]),customStyle:{borderRadius:"6px",overflow:"hidden",marginTop:`-${r.addUnit(e.negativeTop)}`},closeOnClickOverlay:e.closeOnClickOverlay,safeAreaInsetBottom:!1,duration:400,onClick:r.clickHandler},{default:qn((()=>[dr(a,{class:"u-modal",style:fe({width:r.addUnit(e.width)})},{default:qn((()=>[e.title?(Zi(),ir(a,{key:0,class:"u-modal__title"},{default:qn((()=>[pr(q(e.title),1)])),_:1})):fr("",!0),dr(a,{class:"u-modal__content",style:fe({paddingTop:(e.title?12:25)+"px"})},{default:qn((()=>[ni(e.$slots,"default",{},(()=>[dr(s,{class:"u-modal__content__text",style:fe({textAlign:e.contentTextAlign})},{default:qn((()=>[pr(q(e.content),1)])),_:1},8,["style"])]),!0)])),_:3},8,["style"]),e.$slots.confirmButton?(Zi(),ir(a,{key:1,class:"u-modal__button-group--confirm-button"},{default:qn((()=>[ni(e.$slots,"confirmButton",{},void 0,!0)])),_:3})):(Zi(),or(qi,{key:2},[dr(l),dr(a,{class:"u-modal__button-group",style:fe({flexDirection:e.buttonReverse?"row-reverse":"row"})},{default:qn((()=>[e.showCancelButton?(Zi(),ir(a,{key:0,class:me(["u-modal__button-group__wrapper u-modal__button-group__wrapper--cancel",[e.showCancelButton&&!e.showConfirmButton&&"u-modal__button-group__wrapper--only-cancel"]]),"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover",onClick:r.cancelHandler},{default:qn((()=>[dr(s,{class:"u-modal__button-group__wrapper__text",style:fe({color:e.cancelColor})},{default:qn((()=>[pr(q(e.cancelText),1)])),_:1},8,["style"])])),_:1},8,["class","onClick"])):fr("",!0),e.showConfirmButton&&e.showCancelButton?(Zi(),ir(l,{key:1,direction:"column"})):fr("",!0),e.showConfirmButton?(Zi(),ir(a,{key:2,class:me(["u-modal__button-group__wrapper u-modal__button-group__wrapper--confirm",[!e.showCancelButton&&e.showConfirmButton&&"u-modal__button-group__wrapper--only-confirm"]]),"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover",onClick:r.confirmHandler},{default:qn((()=>[i.loading?(Zi(),ir(c,{key:0})):(Zi(),ir(s,{key:1,class:"u-modal__button-group__wrapper__text",style:fe({color:e.confirmColor})},{default:qn((()=>[pr(q(e.confirmText),1)])),_:1},8,["style"]))])),_:1},8,["class","onClick"])):fr("",!0)])),_:1},8,["style"])],64))])),_:3},8,["style"])])),_:3},8,["zoom","show","class","customStyle","closeOnClickOverlay","onClick"])}],["__scopeId","data-v-fb80e39d"]]),kE=Object.freeze(Object.defineProperty({__proto__:null,default:CE},Symbol.toStringTag,{value:"Module"})),AE={props:{safeAreaInsetTop:{type:Boolean,default:()=>!0},fixed:{type:Boolean,default:()=>!0},leftIcon:{type:String,default:"arrow-leftward"},bgColor:{type:String,default:()=>"rgba(0,0,0,.15)"},height:{type:[String,Number],default:()=>"32px"},iconSize:{type:[String,Number],default:"20px"},iconColor:{type:String,default:"#fff"},autoBack:{type:Boolean,default:()=>!0},homeUrl:{type:[String],default:""}}};const TE=rA({name:"u-navbar-mini",mixins:[Lk,$k,AE],data:()=>({}),emits:["leftClick","homeClick"],created(){},methods:{addStyle:lk,addUnit:ck,sys:nk,getPx:ZC,leftClick(){this.$emit("leftClick"),this.autoBack&&tv()},homeClick(){this.homeUrl&&Ap({url:this.homeUrl})}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-status-bar"),sT),s=fA(eo("up-icon"),hA),l=Fg,c=fA(eo("up-line"),qA);return Zi(),ir(l,{class:me(["u-navbar-mini",[e.customClass]])},{default:qn((()=>[dr(l,{class:me(["u-navbar-mini__inner",[e.fixed&&"u-navbar-mini--fixed"]])},{default:qn((()=>[e.safeAreaInsetTop?(Zi(),ir(a,{key:0})):fr("",!0),dr(l,{class:me(["u-navbar-mini__content",[e.border&&"u-border-bottom"]]),style:fe({height:r.addUnit(e.height),backgroundColor:e.bgColor})},{default:qn((()=>[dr(l,{class:"u-navbar-mini__content__left","hover-class":"u-navbar-mini__content__left--hover","hover-start-time":"150",onClick:r.leftClick},{default:qn((()=>[ni(e.$slots,"left",{},(()=>[dr(s,{name:e.leftIcon,size:e.iconSize,color:e.iconColor},null,8,["name","size","color"])]),!0)])),_:3},8,["onClick"]),dr(l,{style:{padding:"10px 10px"}},{default:qn((()=>[dr(c,{direction:"col",color:"#fff",length:"16px"})])),_:1}),dr(l,{class:"u-navbar-mini__content__center",onClick:r.homeClick},{default:qn((()=>[ni(e.$slots,"center",{},(()=>[dr(s,{name:"home",size:e.iconSize,color:e.iconColor},null,8,["size","color"])]),!0)])),_:3},8,["onClick"])])),_:3},8,["class","style"])])),_:3},8,["class"])])),_:3},8,["class"])}],["__scopeId","data-v-b5363405"]]),IE=Object.freeze(Object.defineProperty({__proto__:null,default:TE},Symbol.toStringTag,{value:"Module"})),BE={props:{safeAreaInsetTop:{type:Boolean,default:()=>zk.navbar.safeAreaInsetTop},placeholder:{type:Boolean,default:()=>zk.navbar.placeholder},fixed:{type:Boolean,default:()=>zk.navbar.fixed},border:{type:Boolean,default:()=>zk.navbar.border},leftIcon:{type:String,default:()=>zk.navbar.leftIcon},leftText:{type:String,default:()=>zk.navbar.leftText},rightText:{type:String,default:()=>zk.navbar.rightText},rightIcon:{type:String,default:()=>zk.navbar.rightIcon},title:{type:[String,Number],default:()=>zk.navbar.title},titleColor:{type:String,default:()=>zk.navbar.titleColor},bgColor:{type:String,default:()=>zk.navbar.bgColor},titleWidth:{type:[String,Number],default:()=>zk.navbar.titleWidth},height:{type:[String,Number],default:()=>zk.navbar.height},leftIconSize:{type:[String,Number],default:()=>zk.navbar.leftIconSize},leftIconColor:{type:String,default:()=>zk.navbar.leftIconColor},autoBack:{type:Boolean,default:()=>zk.navbar.autoBack},titleStyle:{type:[String,Object],default:()=>zk.navbar.titleStyle}}};const EE=rA({name:"u-navbar",mixins:[Lk,$k,BE],data:()=>({}),emits:["leftClick","rightClick"],methods:{addStyle:lk,addUnit:ck,getWindowInfo:ok,getPx:ZC,leftClick(){this.$emit("leftClick"),null!=wC.interceptor.navbarLeftClick?wC.interceptor.navbarLeftClick():this.autoBack&&tv()},rightClick(){this.$emit("rightClick")}}},[["render",function(e,t,n,o,i,r){const a=Fg,s=fA(eo("u-status-bar"),sT),l=fA(eo("u-icon"),hA),c=Rg;return Zi(),ir(a,{class:me(["u-navbar",[e.customClass]])},{default:qn((()=>[e.fixed&&e.placeholder?(Zi(),ir(a,{key:0,class:"u-navbar__placeholder",style:fe({height:r.addUnit(r.getPx(e.height)+r.getWindowInfo().statusBarHeight,"px")})},null,8,["style"])):fr("",!0),dr(a,{class:me([e.fixed&&"u-navbar--fixed"])},{default:qn((()=>[e.safeAreaInsetTop?(Zi(),ir(s,{key:0,bgColor:e.bgColor},null,8,["bgColor"])):fr("",!0),dr(a,{class:me(["u-navbar__content",[e.border&&"u-border-bottom"]]),style:fe({height:r.addUnit(e.height),backgroundColor:e.bgColor})},{default:qn((()=>[dr(a,{class:"u-navbar__content__left","hover-class":"u-navbar__content__left--hover","hover-start-time":"150",onClick:r.leftClick},{default:qn((()=>[ni(e.$slots,"left",{},(()=>[e.leftIcon?(Zi(),ir(l,{key:0,name:e.leftIcon,size:e.leftIconSize,color:e.leftIconColor},null,8,["name","size","color"])):fr("",!0),e.leftText?(Zi(),ir(c,{key:1,style:fe({color:e.leftIconColor}),class:"u-navbar__content__left__text"},{default:qn((()=>[pr(q(e.leftText),1)])),_:1},8,["style"])):fr("",!0)]),!0)])),_:3},8,["onClick"]),ni(e.$slots,"center",{},(()=>[dr(c,{class:"u-line-1 u-navbar__content__title",style:fe([{width:r.addUnit(e.titleWidth),color:e.titleColor},r.addStyle(e.titleStyle)])},{default:qn((()=>[pr(q(e.title),1)])),_:1},8,["style"])]),!0),e.$slots.right||e.rightIcon||e.rightText?(Zi(),ir(a,{key:0,class:"u-navbar__content__right",onClick:r.rightClick},{default:qn((()=>[ni(e.$slots,"right",{},(()=>[e.rightIcon?(Zi(),ir(l,{key:0,name:e.rightIcon,size:"20"},null,8,["name"])):fr("",!0),e.rightText?(Zi(),ir(c,{key:1,class:"u-navbar__content__right__text"},{default:qn((()=>[pr(q(e.rightText),1)])),_:1})):fr("",!0)]),!0)])),_:3},8,["onClick"])):fr("",!0)])),_:3},8,["class","style"])])),_:3},8,["class"])])),_:3},8,["class"])}],["__scopeId","data-v-a1b3bd76"]]),PE=Object.freeze(Object.defineProperty({__proto__:null,default:EE},Symbol.toStringTag,{value:"Module"}));const OE=rA({name:"u-no-network",mixins:[Lk,$k,{props:{tips:{type:String,default:()=>zk.noNetwork.tips},zIndex:{type:[String,Number],default:()=>zk.noNetwork.zIndex},image:{type:String,default:()=>zk.noNetwork.image}}}],data:()=>({isConnected:!0,networkType:"none"}),mounted(){this.isIOS="ios"===ik().platform,Yy((e=>{this.isConnected=e.isConnected,this.networkType=e.networkType,this.emitEvent(this.networkType)})),Xy({success:e=>{this.networkType=e.networkType,this.emitEvent(this.networkType),"none"==e.networkType?this.isConnected=!1:this.isConnected=!0}})},emits:["disconnected","connected"],methods:{retry(){Xy({success:e=>{this.networkType=e.networkType,this.emitEvent(this.networkType),"none"==e.networkType?(bk("无网络连接"),this.isConnected=!1):(bk("网络已连接"),this.isConnected=!0)}}),this.$emit("retry")},emitEvent(e){this.$emit("none"===e?"disconnected":"connected")},async openSettings(){"none"!=this.networkType||this.openSystemSettings()},openAppSettings(){this.gotoAppSetting()},openSystemSettings(){this.isIOS?this.gotoiOSSetting():this.gotoAndroidSetting()},network(){var e=null,t=plus.ios.newObject("CTCellularData"),n=t.plusGetAttribute("restrictedState");return 0==n?e=null:2==n?e=1:1==n&&(e=2),plus.ios.deleteObject(t),e},gotoAppSetting(){if(this.isIOS){var e=plus.ios.import("UIApplication").sharedApplication(),t=plus.ios.import("NSURL"),n=t.URLWithString("app-settings:");e.openURL(n),plus.ios.deleteObject(n),plus.ios.deleteObject(t),plus.ios.deleteObject(e)}else{var o=plus.android.importClass("android.content.Intent"),i=plus.android.importClass("android.provider.Settings"),r=plus.android.importClass("android.net.Uri"),a=plus.android.runtimeMainActivity(),s=new o;s.setAction(i.ACTION_APPLICATION_DETAILS_SETTINGS);var l=r.fromParts("package",a.getPackageName(),null);s.setData(l),a.startActivity(s)}},gotoiOSSetting(){var e=plus.ios.import("UIApplication").sharedApplication(),t=plus.ios.import("NSURL"),n=t.URLWithString("App-prefs:root=General");e.openURL(n),plus.ios.deleteObject(n),plus.ios.deleteObject(t),plus.ios.deleteObject(e)},gotoAndroidSetting(){var e=plus.android.importClass("android.content.Intent"),t=plus.android.importClass("android.provider.Settings"),n=plus.android.runtimeMainActivity(),o=new e(t.ACTION_SETTINGS);n.startActivity(o)}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-icon"),hA),s=Rg,l=fA(eo("u-button"),$T),c=Fg,u=fA(eo("u-overlay"),rT);return Zi(),ir(u,{show:!i.isConnected,zIndex:e.zIndex,onTouchmove:Pa(e.noop,["stop","prevent"]),customStyle:{backgroundColor:"#fff",display:"flex",justifyContent:"center"}},{default:qn((()=>[dr(c,{class:"u-no-network"},{default:qn((()=>[dr(a,{name:e.image,size:"150",imgMode:"widthFit",class:"u-no-network__error-icon"},null,8,["name"]),dr(s,{class:"u-no-network__tips"},{default:qn((()=>[pr(q(e.tips),1)])),_:1}),dr(c,{class:"u-no-network__retry"},{default:qn((()=>[dr(l,{size:"mini",text:"重试",type:"primary",plain:"",onClick:r.retry},null,8,["onClick"])])),_:1})])),_:1})])),_:1},8,["show","zIndex","onTouchmove"])}],["__scopeId","data-v-9369c102"]]),ME=Object.freeze(Object.defineProperty({__proto__:null,default:OE},Symbol.toStringTag,{value:"Module"}));const DE=rA({name:"u-row-notice",mixins:[Lk,$k,{props:{text:{type:String,default:()=>zk.rowNotice.text},icon:{type:String,default:()=>zk.rowNotice.icon},mode:{type:String,default:()=>zk.rowNotice.mode},color:{type:String,default:()=>zk.rowNotice.color},bgColor:{type:String,default:()=>zk.rowNotice.bgColor},fontSize:{type:[String,Number],default:()=>zk.rowNotice.fontSize},speed:{type:[String,Number],default:()=>zk.rowNotice.speed}}}],data:()=>({animationDuration:"0",animationPlayState:"paused",nvueInit:!0,show:!0}),watch:{text:{immediate:!0,handler(e,t){this.vue(),UC.string(e)}},fontSize(){this.vue()},speed(){this.vue()}},computed:{textStyle(){let e={whiteSpace:"nowrap !important"};return e.color=this.color,e.fontSize=ck(this.fontSize),e},animationStyle(){let e={};return e.animationDuration=this.animationDuration,e.animationPlayState=this.animationPlayState,e},innerText(){let e=[];const t=this.text.split("");for(let n=0;n<t.length;n+=20)e.push(t.slice(n,n+20).join(""));return e}},mounted(){this.init()},emits:["click","close"],methods:{init(){this.vue(),UC.string(this.text)},async vue(){let e=0;await ek(),e=(await this.$uGetRect(".u-notice__content__text")).width,(await this.$uGetRect(".u-notice__content")).width,this.animationDuration=e/ZC(this.speed)+"s",this.animationPlayState="paused",setTimeout((()=>{this.animationPlayState="running"}),10)},async nvue(){},loopAnimation(e,t){},getNvueRect(e){},clickHandler(e){this.$emit("click")},close(){this.$emit("close")}},beforeUnmount(){this.stopAnimation=!0}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-icon"),hA),s=Fg,l=Rg;return Zi(),ir(s,{class:"u-notice",onClick:r.clickHandler},{default:qn((()=>[ni(e.$slots,"icon",{},(()=>[e.icon?(Zi(),ir(s,{key:0,class:"u-notice__left-icon"},{default:qn((()=>[dr(a,{name:e.icon,color:e.color,size:"19"},null,8,["name","color"])])),_:1})):fr("",!0)]),!0),dr(s,{class:"u-notice__content",ref:"u-notice__content"},{default:qn((()=>[dr(s,{ref:"u-notice__content__text",class:"u-notice__content__text",style:fe([r.animationStyle])},{default:qn((()=>[(Zi(!0),or(qi,null,ti(r.innerText,((e,t)=>(Zi(),ir(l,{key:t,style:fe([r.textStyle])},{default:qn((()=>[pr(q(e),1)])),_:2},1032,["style"])))),128))])),_:1},8,["style"])])),_:1},512),["link","closable"].includes(e.mode)?(Zi(),ir(s,{key:0,class:"u-notice__right-icon"},{default:qn((()=>["link"===e.mode?(Zi(),ir(a,{key:0,name:"arrow-right",size:17,color:e.color},null,8,["color"])):fr("",!0),"closable"===e.mode?(Zi(),ir(a,{key:1,onClick:r.close,name:"close",size:16,color:e.color},null,8,["onClick","color"])):fr("",!0)])),_:1})):fr("",!0)])),_:3},8,["onClick"])}],["__scopeId","data-v-ce8d2191"]]),zE=Object.freeze(Object.defineProperty({__proto__:null,default:DE},Symbol.toStringTag,{value:"Module"})),RE={props:{text:{type:[Array,String],default:()=>zk.noticeBar.text},direction:{type:String,default:()=>zk.noticeBar.direction},step:{type:Boolean,default:()=>zk.noticeBar.step},icon:{type:String,default:()=>zk.noticeBar.icon},mode:{type:String,default:()=>zk.noticeBar.mode},color:{type:String,default:()=>zk.noticeBar.color},bgColor:{type:String,default:()=>zk.noticeBar.bgColor},speed:{type:[String,Number],default:()=>zk.noticeBar.speed},fontSize:{type:[String,Number],default:()=>zk.noticeBar.fontSize},duration:{type:[String,Number],default:()=>zk.noticeBar.duration},disableTouch:{type:Boolean,default:()=>zk.noticeBar.disableTouch},url:{type:String,default:()=>zk.noticeBar.url},linkType:{type:String,default:()=>zk.noticeBar.linkType},justifyContent:{type:String,default:()=>zk.noticeBar.justifyContent}}};const NE=rA({name:"u-notice-bar",mixins:[Lk,$k,RE],data:()=>({show:!0}),emits:["click","close"],methods:{addStyle:lk,click(e){this.$emit("click",e),this.url&&this.linkType&&this.openPage()},close(){this.show=!1,this.$emit("close")}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-column-notice"),eB),s=fA(eo("u-row-notice"),DE),l=Fg;return i.show?(Zi(),ir(l,{key:0,class:"u-notice-bar",style:fe([{backgroundColor:e.bgColor},r.addStyle(e.customStyle)])},{default:qn((()=>["column"===e.direction||"row"===e.direction&&e.step?(Zi(),ir(a,{key:0,color:e.color,bgColor:e.bgColor,text:e.text,mode:e.mode,step:e.step,icon:e.icon,"disable-touch":e.disableTouch,fontSize:e.fontSize,duration:e.duration,justifyContent:e.justifyContent,onClose:r.close,onClick:r.click},null,8,["color","bgColor","text","mode","step","icon","disable-touch","fontSize","duration","justifyContent","onClose","onClick"])):(Zi(),ir(s,{key:1,color:e.color,bgColor:e.bgColor,text:e.text,mode:e.mode,fontSize:e.fontSize,speed:e.speed,url:e.url,linkType:e.linkType,icon:e.icon,onClose:r.close,onClick:r.click},null,8,["color","bgColor","text","mode","fontSize","speed","url","linkType","icon","onClose","onClick"]))])),_:1},8,["style"])):fr("",!0)}],["__scopeId","data-v-c9f6819c"]]),LE=Object.freeze(Object.defineProperty({__proto__:null,default:NE},Symbol.toStringTag,{value:"Module"})),jE={props:{top:{type:[String,Number],default:()=>zk.notify.top},type:{type:String,default:()=>zk.notify.type},color:{type:String,default:()=>zk.notify.color},bgColor:{type:String,default:()=>zk.notify.bgColor},message:{type:String,default:()=>zk.notify.message},duration:{type:[String,Number],default:()=>zk.notify.duration},fontSize:{type:[String,Number],default:()=>zk.notify.fontSize},safeAreaInsetTop:{type:Boolean,default:()=>zk.notify.safeAreaInsetTop}}};const $E=rA({name:"u-notify",mixins:[Lk,$k,jE],data:()=>({open:!1,timer:null,config:{top:zk.notify.top,type:zk.notify.type,color:zk.notify.color,bgColor:zk.notify.bgColor,message:zk.notify.message,duration:zk.notify.duration,fontSize:zk.notify.fontSize,safeAreaInsetTop:zk.notify.safeAreaInsetTop},tmpConfig:{}}),computed:{containerStyle(){let e=0;0===this.tmpConfig.top&&(e=44);return{top:ck(0===this.tmpConfig.top?e:this.tmpConfig.top),position:"fixed",left:0,right:0,zIndex:10076}},backgroundColor(){const e={};return this.tmpConfig.bgColor&&(e.backgroundColor=this.tmpConfig.bgColor),e},icon(){let e;return"success"===this.tmpConfig.type?e="checkmark-circle":"error"===this.tmpConfig.type?e="close-circle":"warning"===this.tmpConfig.type&&(e="error-circle"),e}},created(){["primary","success","error","warning"].map((e=>{this[e]=t=>this.show({type:e,message:t})}))},methods:{addStyle:lk,addUnit:ck,show(e){this.tmpConfig=dk(this.config,e),this.clearTimer(),this.open=!0,this.tmpConfig.duration>0&&(this.timer=setTimeout((()=>{this.open=!1,this.clearTimer(),"function"==typeof this.tmpConfig.complete&&this.tmpConfig.complete()}),this.tmpConfig.duration))},close(){this.clearTimer()},clearTimer(){this.open=!1,clearTimeout(this.timer),this.timer=null}},beforeUnmount(){this.clearTimer()}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-status-bar"),sT),s=fA(eo("u-icon"),hA),l=Rg,c=Fg,u=fA(eo("u-transition"),bA);return Zi(),ir(u,{mode:"slide-down",customStyle:r.containerStyle,show:i.open},{default:qn((()=>[dr(c,{class:me(["u-notify",[`u-notify--${i.tmpConfig.type}`]]),style:fe([r.backgroundColor,r.addStyle(e.customStyle)])},{default:qn((()=>[i.tmpConfig.safeAreaInsetTop?(Zi(),ir(a,{key:0})):fr("",!0),dr(c,{class:"u-notify__warpper"},{default:qn((()=>[ni(e.$slots,"icon",{},(()=>[["success","warning","error"].includes(i.tmpConfig.type)?(Zi(),ir(s,{key:0,name:i.tmpConfig.icon,color:i.tmpConfig.color,size:1.3*i.tmpConfig.fontSize,customStyle:{marginRight:"4px"}},null,8,["name","color","size"])):fr("",!0)]),!0),dr(l,{class:"u-notify__warpper__text",style:fe({fontSize:r.addUnit(i.tmpConfig.fontSize),color:i.tmpConfig.color})},{default:qn((()=>[pr(q(i.tmpConfig.message),1)])),_:1},8,["style"])])),_:3})])),_:3},8,["class","style"])])),_:3},8,["customStyle","show"])}],["__scopeId","data-v-92ef1249"]]),FE=Object.freeze(Object.defineProperty({__proto__:null,default:$E},Symbol.toStringTag,{value:"Module"})),HE={props:{name:{type:[String,Number],default:()=>zk.numberBox.name},modelValue:{type:[String,Number],default:()=>zk.numberBox.value},min:{type:[String,Number],default:()=>zk.numberBox.min},max:{type:[String,Number],default:()=>zk.numberBox.max},step:{type:[String,Number],default:()=>zk.numberBox.step},integer:{type:Boolean,default:()=>zk.numberBox.integer},disabled:{type:Boolean,default:()=>zk.numberBox.disabled},disabledInput:{type:Boolean,default:()=>zk.numberBox.disabledInput},asyncChange:{type:Boolean,default:()=>zk.numberBox.asyncChange},inputWidth:{type:[String,Number],default:()=>zk.numberBox.inputWidth},showMinus:{type:Boolean,default:()=>zk.numberBox.showMinus},showPlus:{type:Boolean,default:()=>zk.numberBox.showPlus},decimalLength:{type:[String,Number,null],default:()=>zk.numberBox.decimalLength},longPress:{type:Boolean,default:()=>zk.numberBox.longPress},color:{type:String,default:()=>zk.numberBox.color},buttonWidth:{type:[String,Number],default:()=>zk.numberBox.buttonWidth},buttonSize:{type:[String,Number],default:()=>zk.numberBox.buttonSize},buttonRadius:{type:[String],default:()=>zk.numberBox.buttonRadius},bgColor:{type:String,default:()=>zk.numberBox.bgColor},inputBgColor:{type:String,default:()=>zk.numberBox.inputBgColor},cursorSpacing:{type:[String,Number],default:()=>zk.numberBox.cursorSpacing},disablePlus:{type:Boolean,default:()=>zk.numberBox.disablePlus},disableMinus:{type:Boolean,default:()=>zk.numberBox.disableMinus},iconStyle:{type:[Object,String],default:()=>zk.numberBox.iconStyle},miniMode:{type:Boolean,default:()=>zk.numberBox.miniMode}}};const VE=rA({name:"u-number-box",mixins:[Lk,$k,HE],data:()=>({currentValue:"",longPressTimer:null}),watch:{watchChange(e){this.check()},modelValue:{handler:function(e,t){e!==this.currentValue&&(this.currentValue=this.format(this.modelValue))},immediate:!0}},computed:{hideMinus(){return 0==this.currentValue&&1==this.miniMode},getCursorSpacing(){return ZC(this.cursorSpacing)},buttonStyle(){return e=>{const t={backgroundColor:this.bgColor,width:ck(this.buttonWidth),height:ck(this.buttonSize),color:this.color,borderRadius:this.buttonRadius};return this.isDisabled(e)&&(t.backgroundColor="#f7f8fa"),t}},inputStyle(){this.disabled||this.disabledInput;return{color:this.color,backgroundColor:this.inputBgColor||this.bgColor,height:ck(this.buttonSize),width:ck(this.inputWidth)}},watchChange(){return[this.integer,this.decimalLength,this.min,this.max]},isDisabled(){return e=>"plus"===e?this.disabled||this.disablePlus||this.currentValue>=this.max:this.disabled||this.disableMinus||this.currentValue<=this.min}},mounted(){this.init()},emits:["update:modelValue","focus","blur","overlimit","change","plus","minus"],methods:{init(){this.currentValue=this.format(this.modelValue)},format(e){return e=""===(e=this.filter(e))?0:+e,e=Math.max(Math.min(this.max,e),this.min),null!==this.decimalLength&&(e=e.toFixed(this.decimalLength)),e},filter(e){return e=String(e).replace(/[^0-9.-]/g,""),this.integer&&-1!==e.indexOf(".")&&(e=e.split(".")[0]),e},check(){const e=this.format(this.currentValue);e!==this.currentValue&&(this.currentValue=e,this.emitChange(e))},onFocus(e){this.$emit("focus",{...e.detail,name:this.name})},onBlur(e){this.format(e.detail.value),this.$emit("blur",{...e.detail,name:this.name})},onInput(e){const{value:t=""}=e.detail||{};if(""===t)return;let n=this.filter(t);if(this.emitChange(t),null!==this.decimalLength&&-1!==n.indexOf(".")){const e=n.split(".");n=`${e[0]}.${e[1].slice(0,this.decimalLength)}`}n=this.format(n),this.emitChange(n)},emitChange(e){this.asyncChange||this.$nextTick((()=>{this.$emit("update:modelValue",e),this.currentValue=e,this.$forceUpdate()})),this.$emit("change",{value:e,name:this.name})},onChange(){const{type:e}=this;if(this.isDisabled(e))return this.$emit("overlimit",e);const t="minus"===e?-this.step:+this.step,n=this.format(this.add(+this.currentValue,t));this.emitChange(n),this.$emit(e)},add(e,t){const n=Math.pow(10,10);return Math.round((e+t)*n)/n},clickHandler(e){this.type=e,this.onChange()},longPressStep(){this.clearTimeout(),this.longPressTimer=setTimeout((()=>{this.onChange(),this.longPressStep()}),250)},onTouchStart(e){this.longPress&&(this.clearTimeout(),this.type=e,this.longPressTimer=setTimeout((()=>{this.onChange(),this.longPressStep()}),600))},onTouchEnd(){this.longPress&&this.clearTimeout()},clearTimeout(){clearTimeout(this.longPressTimer),this.longPressTimer=null}}},[["render",function(e,t,n,o,i,r){const a=Fg,s=fA(eo("u-icon"),hA),l=Bm;return Zi(),ir(a,{class:"u-number-box"},{default:qn((()=>[e.showMinus&&!r.hideMinus&&e.$slots.minus?(Zi(),ir(a,{key:0,class:"u-number-box__slot cursor-pointer",onClick:t[0]||(t[0]=Pa((e=>r.clickHandler("minus")),["stop"])),onTouchstart:t[1]||(t[1]=e=>r.onTouchStart("minus")),onTouchend:Pa(r.clearTimeout,["stop"])},{default:qn((()=>[ni(e.$slots,"minus",{},void 0,!0)])),_:3},8,["onTouchend"])):e.showMinus&&!r.hideMinus?(Zi(),ir(a,{key:1,class:me(["u-number-box__minus cursor-pointer",{"u-number-box__minus--disabled":r.isDisabled("minus")}]),onClick:t[2]||(t[2]=Pa((e=>r.clickHandler("minus")),["stop"])),onTouchstart:t[3]||(t[3]=e=>r.onTouchStart("minus")),onTouchend:Pa(r.clearTimeout,["stop"]),"hover-class":"u-number-box__minus--hover","hover-stay-time":"150",style:fe([r.buttonStyle("minus")])},{default:qn((()=>[dr(s,{name:"minus",color:r.isDisabled("minus")?"#c8c9cc":"#323233",size:"15",bold:"",customStyle:e.iconStyle},null,8,["color","customStyle"])])),_:1},8,["onTouchend","class","style"])):fr("",!0),r.hideMinus?fr("",!0):ni(e.$slots,"input",{key:2},(()=>[dr(l,{disabled:e.disabledInput||e.disabled,"cursor-spacing":r.getCursorSpacing,class:me([{"u-number-box__input--disabled":e.disabled||e.disabledInput},"u-number-box__input"]),modelValue:i.currentValue,"onUpdate:modelValue":t[4]||(t[4]=e=>i.currentValue=e),onBlur:r.onBlur,onFocus:r.onFocus,onInput:r.onInput,type:"number",style:fe([r.inputStyle])},null,8,["disabled","cursor-spacing","class","modelValue","onBlur","onFocus","onInput","style"])]),!0),e.showPlus&&e.$slots.plus?(Zi(),ir(a,{key:3,class:"u-number-box__slot cursor-pointer",onClick:t[5]||(t[5]=Pa((e=>r.clickHandler("plus")),["stop"])),onTouchstart:t[6]||(t[6]=e=>r.onTouchStart("plus")),onTouchend:Pa(r.clearTimeout,["stop"])},{default:qn((()=>[ni(e.$slots,"plus",{},void 0,!0)])),_:3},8,["onTouchend"])):e.showPlus?(Zi(),ir(a,{key:4,class:me(["u-number-box__plus cursor-pointer",{"u-number-box__minus--disabled":r.isDisabled("plus")}]),onClick:t[7]||(t[7]=Pa((e=>r.clickHandler("plus")),["stop"])),onTouchstart:t[8]||(t[8]=e=>r.onTouchStart("plus")),onTouchend:Pa(r.clearTimeout,["stop"]),"hover-class":"u-number-box__plus--hover","hover-stay-time":"150",style:fe([r.buttonStyle("plus")])},{default:qn((()=>[dr(s,{name:"plus",color:r.isDisabled("plus")?"#c8c9cc":"#323233",size:"15",bold:"",customStyle:e.iconStyle},null,8,["color","customStyle"])])),_:1},8,["onTouchend","class","style"])):fr("",!0)])),_:3})}],["__scopeId","data-v-dfabf86f"]]),UE=Object.freeze(Object.defineProperty({__proto__:null,default:VE},Symbol.toStringTag,{value:"Module"}));var WE={abbr:!0,b:!0,big:!0,code:!0,del:!0,em:!0,i:!0,ins:!0,label:!0,q:!0,small:!0,span:!0,strong:!0,sub:!0,sup:!0};const QE={isInline:function(e,t){return WE[e]||-1!==(t||"").indexOf("display:inline")}},qE=e=>{e.$wxs||(e.$wxs=[]),e.$wxs.push("handler"),e.mixins||(e.mixins=[]),e.mixins.push({beforeCreate(){this.handler=QE}})},GE={name:"node",options:{},data:()=>({ctrl:{}}),props:{name:String,attrs:{type:Object,default:()=>({})},childs:Array,opts:Array},components:{},mounted(){if(this.$nextTick((()=>{for(this.root=this.$parent;"u-parse"!==this.root.$options.name;this.root=this.root.$parent);})),this.opts[0]){let e;for(e=this.childs.length;e--&&"img"!==this.childs[e].name;);-1!==e&&(this.observer=dh(this).relativeToViewport({top:500,bottom:500}),this.observer.observe("._img",(e=>{e.intersectionRatio&&(this.$set(this.ctrl,"load",1),this.observer.disconnect())})))}},beforeUnmount(){this.observer&&this.observer.disconnect()},methods:{play(e){if(this.root.$emit("play"),this.root.pauseVideo){let t=!1;const n=e.target.id;for(let e=this.root._videos.length;e--;)this.root._videos[e].id===n?t=!0:this.root._videos[e].pause();if(!t){const e=Ld(n,this);e.id=n,this.root.playbackRate&&e.playbackRate(this.root.playbackRate),this.root._videos.push(e)}}},imgTap(e){const t=this.childs[e.currentTarget.dataset.i];t.a?this.linkTap(t.a):t.attrs.ignore||(t.attrs.src=t.attrs.src||t.attrs["data-src"],this.root.$emit("imgTap",t.attrs),this.root.previewImg&&Pb({current:parseInt(t.attrs.i),urls:this.root.imgList}))},imgLongTap(e){},imgLoad(e){const t=e.currentTarget.dataset.i;(this.opts[1]&&!this.ctrl[t]||-1===this.ctrl[t])&&this.$set(this.ctrl,t,1),this.checkReady()},checkReady(){this.root.lazyLoad||(this.root._unloadimgs-=1,this.root._unloadimgs||setTimeout((()=>{this.root.getRect().then((e=>{this.root.$emit("ready",e)})).catch((()=>{this.root.$emit("ready",{})}))}),350))},linkTap(e){const t=e.currentTarget?this.childs[e.currentTarget.dataset.i]:{},n=t.attrs||e,o=n.href;this.root.$emit("linkTap",Object.assign({innerText:this.root.getText(t.children||[])},n)),o&&("#"===o[0]?this.root.navigateTo(o.substring(1)).catch((()=>{})):o.split("?")[0].includes("://")?this.root.copyLink&&window.open(o):nv({url:o,fail(){wp({url:o,fail(){}})}}))},mediaError(e){const t=e.currentTarget.dataset.i,n=this.childs[t];if("video"===n.name||"audio"===n.name){let e=(this.ctrl[t]||0)+1;if(e>n.src.length&&(e=0),e<n.src.length)return void this.$set(this.ctrl,t,e)}else if("img"===n.name){if(this.opts[0]&&!this.ctrl.load)return;this.opts[2]&&this.$set(this.ctrl,t,-1),this.checkReady()}this.root&&this.root.$emit("error",{source:n.name,attrs:n.attrs})}}};qE(GE);const YE=rA(GE,[["render",function(e,t,n,o,i,r){const a=sm,s=Rg,l=Kn("node",!0),c=Fg,u=Ay,d=Cg;return Zi(),ir(c,{id:n.attrs.id,class:me("_block _"+n.name+" "+n.attrs.class),style:fe(n.attrs.style)},{default:qn((()=>[(Zi(!0),or(qi,null,ti(n.childs,((o,h)=>(Zi(),or(qi,{key:h},["img"===o.name&&!o.t&&(n.opts[1]&&!i.ctrl[h]||i.ctrl[h]<0)?(Zi(),ir(a,{key:0,class:"_img",style:fe(o.attrs.style),src:i.ctrl[h]<0?n.opts[2]:n.opts[1],mode:"widthFix"},null,8,["style","src"])):fr("",!0),"img"===o.name?(Zi(),or("img",{key:1,id:o.attrs.id,class:me("_img "+o.attrs.class),style:fe((-1===i.ctrl[h]?"display:none;":"")+o.attrs.style),src:o.attrs.src||(i.ctrl.load?o.attrs["data-src"]:""),"data-i":h,onLoad:t[0]||(t[0]=(...e)=>r.imgLoad&&r.imgLoad(...e)),onError:t[1]||(t[1]=(...e)=>r.mediaError&&r.mediaError(...e)),onClick:t[2]||(t[2]=Pa(((...e)=>r.imgTap&&r.imgTap(...e)),["stop"])),onLongpress:t[3]||(t[3]=(...e)=>r.imgLongTap&&r.imgLongTap(...e))},null,46,["id","src","data-i"])):o.text?(Zi(),ir(s,{key:2,decode:""},{default:qn((()=>[pr(q(o.text),1)])),_:2},1024)):"br"===o.name?(Zi(),ir(s,{key:3},{default:qn((()=>[pr("\\n")])),_:1})):"a"===o.name?(Zi(),ir(c,{key:4,id:o.attrs.id,class:me((o.attrs.href?"_a ":"")+o.attrs.class),"hover-class":"_hover",style:fe("display:inline;"+o.attrs.style),"data-i":h,onClick:Pa(r.linkTap,["stop"])},{default:qn((()=>[dr(l,{name:"span",childs:o.children,opts:n.opts,style:{display:"inherit"}},null,8,["childs","opts"])])),_:2},1032,["id","class","style","data-i","onClick"])):"video"===o.name?(Zi(),ir(u,{key:5,id:o.attrs.id,class:me(o.attrs.class),style:fe(o.attrs.style),autoplay:o.attrs.autoplay,controls:o.attrs.controls,loop:o.attrs.loop,muted:o.attrs.muted,"object-fit":o.attrs["object-fit"],poster:o.attrs.poster,src:o.src[i.ctrl[h]||0],"data-i":h,onPlay:r.play,onError:r.mediaError},null,8,["id","class","style","autoplay","controls","loop","muted","object-fit","poster","src","data-i","onPlay","onError"])):"iframe"===o.name?(Zi(),or("iframe",{key:6,style:fe(o.attrs.style),allowfullscreen:o.attrs.allowfullscreen,frameborder:o.attrs.frameborder,src:o.attrs.src},null,12,["allowfullscreen","frameborder","src"])):"embed"===o.name?(Zi(),or("embed",{key:7,style:fe(o.attrs.style),src:o.attrs.src},null,12,["src"])):"table"===o.name&&o.c||"li"===o.name?(Zi(),ir(c,{key:8,id:o.attrs.id,class:me("_"+o.name+" "+o.attrs.class),style:fe(o.attrs.style)},{default:qn((()=>["li"===o.name?(Zi(),ir(l,{key:0,childs:o.children,opts:n.opts},null,8,["childs","opts"])):(Zi(!0),or(qi,{key:1},ti(o.children,((e,t)=>(Zi(),ir(c,{key:t,class:me("_"+e.name+" "+e.attrs.class),style:fe(e.attrs.style)},{default:qn((()=>["td"===e.name||"th"===e.name?(Zi(),ir(l,{key:0,childs:e.children,opts:n.opts},null,8,["childs","opts"])):(Zi(!0),or(qi,{key:1},ti(e.children,((e,t)=>(Zi(),or(qi,{key:t},["td"===e.name||"th"===e.name?(Zi(),ir(c,{key:0,class:me("_"+e.name+" "+e.attrs.class),style:fe(e.attrs.style)},{default:qn((()=>[dr(l,{childs:e.children,opts:n.opts},null,8,["childs","opts"])])),_:2},1032,["class","style"])):(Zi(),ir(c,{key:1,class:me("_"+e.name+" "+e.attrs.class),style:fe(e.attrs.style)},{default:qn((()=>[(Zi(!0),or(qi,null,ti(e.children,((e,t)=>(Zi(),ir(c,{key:t,class:me("_"+e.name+" "+e.attrs.class),style:fe(e.attrs.style)},{default:qn((()=>[dr(l,{childs:e.children,opts:n.opts},null,8,["childs","opts"])])),_:2},1032,["class","style"])))),128))])),_:2},1032,["class","style"]))],64)))),128))])),_:2},1032,["class","style"])))),128))])),_:2},1032,["id","class","style"])):o.c||e.handler.isInline(o.name,o.attrs.style)?2===o.c?(Zi(),ir(c,{key:10,id:o.attrs.id,class:me("_block _"+o.name+" "+o.attrs.class),style:fe(o.f+";"+o.attrs.style)},{default:qn((()=>[(Zi(!0),or(qi,null,ti(o.children,((e,t)=>(Zi(),ir(l,{key:t,style:fe(e.f),name:e.name,attrs:e.attrs,childs:e.children,opts:n.opts},null,8,["style","name","attrs","childs","opts"])))),128))])),_:2},1032,["id","class","style"])):(Zi(),ir(l,{key:11,style:fe(o.f),name:o.name,attrs:o.attrs,childs:o.children,opts:n.opts},null,8,["style","name","attrs","childs","opts"])):(Zi(),ir(d,{key:9,id:o.attrs.id,style:fe(o.f),"user-select":n.opts[4],nodes:[o]},null,8,["id","style","user-select","nodes"]))],64)))),128))])),_:1},8,["id","class","style"])}],["__scopeId","data-v-80a9b2ba"]]),XE={trustTags:tP("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,ruby,rt,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"),blockTags:tP("address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section"),ignoreTags:tP("area,base,canvas,embed,frame,head,iframe,input,link,map,meta,param,rp,script,source,style,textarea,title,track,wbr"),voidTags:tP("area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),entities:{lt:"<",gt:">",quot:'"',apos:"'",ensp:" ",emsp:" ",nbsp:" ",semi:";",ndash:"–",mdash:"—",middot:"·",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",hellip:"…",larr:"←",uarr:"↑",rarr:"→",darr:"↓"},tagStyle:{address:"font-style:italic",big:"display:inline;font-size:1.2em",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",mark:"background-color:yellow",pre:"font-family:monospace;white-space:pre",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",strike:"text-decoration:line-through",u:"text-decoration:underline"},svgDict:{animatetransform:"animateTransform",lineargradient:"linearGradient",viewbox:"viewBox",attributename:"attributeName",repeatcount:"repeatCount",repeatdur:"repeatDur"}},JE={},{windowWidth:KE}=jy();Vy();const ZE=tP(" ,\r,\n,\t,\f");let eP=0;function tP(e){const t=Object.create(null),n=e.split(",");for(let o=n.length;o--;)t[n[o]]=!0;return t}function nP(e,t){let n=e.indexOf("&");for(;-1!==n;){const o=e.indexOf(";",n+3);let i;if(-1===o)break;"#"===e[n+1]?(i=parseInt(("x"===e[n+2]?"0":"")+e.substring(n+2,o)),isNaN(i)||(e=e.substr(0,n)+String.fromCharCode(i)+e.substr(o+1))):(i=e.substring(n+1,o),(XE.entities[i]||"amp"===i&&t)&&(e=e.substr(0,n)+(XE.entities[i]||"&")+e.substr(o+1))),n=e.indexOf("&",n+1)}return e}function oP(e){let t=e.length-1;for(let n=t;n>=-1;n--)(-1===n||e[n].c||!e[n].name||"div"!==e[n].name&&"p"!==e[n].name&&"h"!==e[n].name[0]||(e[n].attrs.style||"").includes("inline"))&&(t-n>=5&&e.splice(n+1,t-n,{name:"div",attrs:{},children:e.slice(n+1,t+1)}),t=n-1)}function iP(e){this.options=e||{},this.tagStyle=Object.assign({},XE.tagStyle,this.options.tagStyle),this.imgList=e.imgList||[],this.imgList._unloadimgs=0,this.plugins=e.plugins||[],this.attrs=Object.create(null),this.stack=[],this.nodes=[],this.pre=(this.options.containerStyle||"").includes("white-space")&&this.options.containerStyle.includes("pre")?2:0}function rP(e){this.handler=e}XE.ignoreTags.iframe=void 0,XE.trustTags.iframe=!0,XE.ignoreTags.embed=void 0,XE.trustTags.embed=!0,iP.prototype.parse=function(e){for(let t=this.plugins.length;t--;)this.plugins[t].onUpdate&&(e=this.plugins[t].onUpdate(e,XE)||e);for(new rP(this).parse(e);this.stack.length;)this.popNode();return this.nodes.length>50&&oP(this.nodes),this.nodes},iP.prototype.expose=function(){for(let e=this.stack.length;e--;){const t=this.stack[e];if(t.c||"a"===t.name||"video"===t.name||"audio"===t.name)return;t.c=1}},iP.prototype.hook=function(e){for(let t=this.plugins.length;t--;)if(this.plugins[t].onParse&&!1===this.plugins[t].onParse(e,this))return!1;return!0},iP.prototype.getUrl=function(e){const t=this.options.domain;return"/"===e[0]?"/"===e[1]?e=(t?t.split("://")[0]:"http")+":"+e:t&&(e=t+e):e.includes("data:")||e.includes("://")||t&&(e=t+"/"+e),e},iP.prototype.parseStyle=function(e){const t=e.attrs,n=(this.tagStyle[e.name]||"").split(";").concat((t.style||"").split(";")),o={};let i="";t.id&&!this.xml&&(this.options.useAnchor?this.expose():"img"!==e.name&&"a"!==e.name&&"video"!==e.name&&"audio"!==e.name&&(t.id=void 0)),t.width&&(o.width=parseFloat(t.width)+(t.width.includes("%")?"%":"px"),t.width=void 0),t.height&&(o.height=parseFloat(t.height)+(t.height.includes("%")?"%":"px"),t.height=void 0);for(let r=0,a=n.length;r<a;r++){const e=n[r].split(":");if(e.length<2)continue;const t=e.shift().trim().toLowerCase();let a=e.join(":").trim();if("-"===a[0]&&a.lastIndexOf("-")>0||a.includes("safe"))i+=`;${t}:${a}`;else if(!o[t]||a.includes("import")||!o[t].includes("import")){if(a.includes("url")){let e=a.indexOf("(")+1;if(e){for(;'"'===a[e]||"'"===a[e]||ZE[a[e]];)e++;a=a.substr(0,e)+this.getUrl(a.substr(e))}}else a.includes("rpx")&&(a=a.replace(/[0-9.]+\s*rpx/g,(e=>parseFloat(e)*KE/750+"px")));o[t]=a}}return e.attrs.style=i,o},iP.prototype.onTagName=function(e){this.tagName=this.xml?e:e.toLowerCase(),"svg"===this.tagName&&(this.xml=(this.xml||0)+1)},iP.prototype.onAttrName=function(e){"data-"===(e=this.xml?e:e.toLowerCase()).substr(0,5)?"data-src"!==e||this.attrs.src?"img"===this.tagName||"a"===this.tagName?this.attrName=e:this.attrName=void 0:this.attrName="src":(this.attrName=e,this.attrs[e]="T")},iP.prototype.onAttrVal=function(e){const t=this.attrName||"";"style"===t||"href"===t?this.attrs[t]=nP(e,!0):t.includes("src")?this.attrs[t]=this.getUrl(nP(e,!0)):t&&(this.attrs[t]=e)},iP.prototype.onOpenTag=function(e){const t=Object.create(null);t.name=this.tagName,t.attrs=this.attrs,this.options.nodes.length&&(t.type="node"),this.attrs=Object.create(null);const n=t.attrs,o=this.stack[this.stack.length-1],i=o?o.children:this.nodes,r=this.xml?e:XE.voidTags[t.name];if(JE[t.name]&&(n.class=JE[t.name]+(n.class?" "+n.class:"")),"embed"===t.name&&this.expose(),"video"!==t.name&&"audio"!==t.name||("video"!==t.name||n.id||(n.id="v"+eP++),n.controls||n.autoplay||(n.controls="T"),t.src=[],n.src&&(t.src.push(n.src),n.src=void 0),this.expose()),r){if(!this.hook(t)||XE.ignoreTags[t.name])return void("base"!==t.name||this.options.domain?"source"===t.name&&o&&("video"===o.name||"audio"===o.name)&&n.src&&o.src.push(n.src):this.options.domain=n.href);const e=this.parseStyle(t);if("img"===t.name){if(n.src&&(n.src.includes("webp")&&(t.webp="T"),n.src.includes("data:")&&!n["original-src"]&&(n.ignore="T"),!n.ignore||t.webp||n.src.includes("cloud://"))){for(let i=this.stack.length;i--;){const o=this.stack[i];"a"===o.name&&(t.a=o.attrs),"table"!==o.name||t.webp||n.src.includes("cloud://")||(!e.display||e.display.includes("inline")?t.t="inline-block":t.t=e.display,e.display=void 0),o.c=1}n.i=this.imgList.length.toString();let o=n["original-src"]||n.src;this.imgList.push(o),t.t||(this.imgList._unloadimgs+=1),this.options.lazyLoad&&(n["data-src"]=n.src,n.src=void 0)}"inline"===e.display&&(e.display=""),n.ignore&&(e["max-width"]=e["max-width"]||"100%",n.style+=";-webkit-touch-callout:none"),parseInt(e.width)>KE&&(e.height=void 0),isNaN(parseInt(e.width))||(t.w="T"),!isNaN(parseInt(e.height))&&(!e.height.includes("%")||o&&(o.attrs.style||"").includes("height"))&&(t.h="T")}else if("svg"===t.name)return i.push(t),this.stack.push(t),void this.popNode();for(const t in e)e[t]&&(n.style+=`;${t}:${e[t].replace(" !important","")}`);n.style=n.style.substr(1)||void 0}else("pre"===t.name||(n.style||"").includes("white-space")&&n.style.includes("pre"))&&2!==this.pre&&(this.pre=t.pre=1),t.children=[],this.stack.push(t);i.push(t)},iP.prototype.onCloseTag=function(e){let t;for(e=this.xml?e:e.toLowerCase(),t=this.stack.length;t--&&this.stack[t].name!==e;);if(-1!==t)for(;this.stack.length>t;)this.popNode();else if("p"===e||"br"===e){(this.stack.length?this.stack[this.stack.length-1].children:this.nodes).push({name:e,attrs:{class:JE[e]||"",style:this.tagStyle[e]||""}})}},iP.prototype.popNode=function(){const e=this.stack.pop();let t=e.attrs;const n=e.children,o=this.stack[this.stack.length-1],i=o?o.children:this.nodes;if(!this.hook(e)||XE.ignoreTags[e.name])return"title"===e.name&&n.length&&"text"===n[0].type&&this.options.setTitle&&Ev({title:n[0].text}),void i.pop();if(e.pre&&2!==this.pre){this.pre=e.pre=void 0;for(let e=this.stack.length;e--;)this.stack[e].pre&&(this.pre=1)}const r={};if("svg"===e.name){if(this.xml>1)return void this.xml--;let n="";const o=t.style;return t.style="",t.xmlns="http://www.w3.org/2000/svg",function e(t){if("text"===t.type)return void(n+=t.text);const o=XE.svgDict[t.name]||t.name;n+="<"+o;for(const i in t.attrs){const e=t.attrs[i];e&&(n+=` ${XE.svgDict[i]||i}="${e}"`)}if(t.children){n+=">";for(let n=0;n<t.children.length;n++)e(t.children[n]);n+="</"+o+">"}else n+="/>"}(e),e.name="img",e.attrs={src:"data:image/svg+xml;utf8,"+n.replace(/#/g,"%23"),style:o,ignore:"T"},e.children=void 0,void(this.xml=!1)}if(t.align&&("table"===e.name?"center"===t.align?r["margin-inline-start"]=r["margin-inline-end"]="auto":r.float=t.align:r["text-align"]=t.align,t.align=void 0),t.dir&&(r.direction=t.dir,t.dir=void 0),"font"===e.name&&(t.color&&(r.color=t.color,t.color=void 0),t.face&&(r["font-family"]=t.face,t.face=void 0),t.size)){let e=parseInt(t.size);isNaN(e)||(e<1?e=1:e>7&&(e=7),r["font-size"]=["x-small","small","medium","large","x-large","xx-large","xxx-large"][e-1]),t.size=void 0}if((t.class||"").includes("align-center")&&(r["text-align"]="center"),Object.assign(r,this.parseStyle(e)),"table"!==e.name&&parseInt(r.width)>KE&&(r["max-width"]="100%",r["box-sizing"]="border-box"),XE.blockTags[e.name]?e.name="div":XE.trustTags[e.name]||this.xml||(e.name="span"),"a"===e.name||"ad"===e.name||"iframe"===e.name)this.expose();else if("video"===e.name)(r.height||"").includes("auto")&&(r.height=void 0);else if("ul"!==e.name&&"ol"!==e.name||!e.c){if("table"===e.name){let o=parseFloat(t.cellpadding),i=parseFloat(t.cellspacing);const a=parseFloat(t.border),s=r["border-color"],l=r["border-style"];if(e.c&&(isNaN(o)&&(o=2),isNaN(i)&&(i=2)),a&&(t.style+=`;border:${a}px ${l||"solid"} ${s||"gray"}`),e.flag&&e.c){r.display="grid",i?(r["grid-gap"]=i+"px",r.padding=i+"px"):a&&(t.style+=";border-left:0;border-top:0");const c=[],u=[],d=[],h={};!function e(t){for(let n=0;n<t.length;n++)"tr"===t[n].name?u.push(t[n]):e(t[n].children||[])}(n);for(let e=1;e<=u.length;e++){let t=1;for(let n=0;n<u[e-1].children.length;n++){const r=u[e-1].children[n];if("td"===r.name||"th"===r.name){for(;h[e+"."+t];)t++;let n=r.attrs.style||"",u=n.indexOf("width")?n.indexOf(";width"):0;if(-1!==u){let e=n.indexOf(";",u+6);-1===e&&(e=n.length),r.attrs.colspan||(c[t]=n.substring(u?u+7:6,e)),n=n.substr(0,u)+n.substr(e)}if(n+=";display:flex",u=n.indexOf("vertical-align"),-1!==u){const e=n.substr(u+15,10);e.includes("middle")?n+=";align-items:center":e.includes("bottom")&&(n+=";align-items:flex-end")}else n+=";align-items:center";if(u=n.indexOf("text-align"),-1!==u){const e=n.substr(u+11,10);e.includes("center")?n+=";justify-content: center":e.includes("right")&&(n+=";justify-content: right")}if(n=(a?`;border:${a}px ${l||"solid"} ${s||"gray"}`+(i?"":";border-right:0;border-bottom:0"):"")+(o?`;padding:${o}px`:"")+";"+n,r.attrs.colspan&&(n+=`;grid-column-start:${t};grid-column-end:${t+parseInt(r.attrs.colspan)}`,r.attrs.rowspan||(n+=`;grid-row-start:${e};grid-row-end:${e+1}`),t+=parseInt(r.attrs.colspan)-1),r.attrs.rowspan){n+=`;grid-row-start:${e};grid-row-end:${e+parseInt(r.attrs.rowspan)}`,r.attrs.colspan||(n+=`;grid-column-start:${t};grid-column-end:${t+1}`);for(let n=1;n<r.attrs.rowspan;n++)for(let o=0;o<(r.attrs.colspan||1);o++)h[e+n+"."+(t-o)]=1}n&&(r.attrs.style=n),d.push(r),t++}}if(1===e){let e="";for(let n=1;n<t;n++)e+=(c[n]?c[n]:"auto")+" ";r["grid-template-columns"]=e}}e.children=d}else e.c&&(r.display="table"),isNaN(i)||(r["border-spacing"]=i+"px"),(a||o)&&function e(t){for(let n=0;n<t.length;n++){const i=t[n];"th"===i.name||"td"===i.name?(a&&(i.attrs.style=`border:${a}px ${l||"solid"} ${s||"gray"};${i.attrs.style||""}`),o&&(i.attrs.style=`padding:${o}px;${i.attrs.style||""}`)):i.children&&e(i.children)}}(n);if(this.options.scrollTable&&!(t.style||"").includes("inline")){const n=Object.assign({},e);e.name="div",e.attrs={style:"overflow:auto"},e.children=[n],t=n.attrs}}else if("td"!==e.name&&"th"!==e.name||!t.colspan&&!t.rowspan)if("ruby"===e.name){e.name="span";for(let e=0;e<n.length-1;e++)"text"===n[e].type&&"rt"===n[e+1].name&&(n[e]={name:"div",attrs:{style:"display:inline-block;text-align:center"},children:[{name:"div",attrs:{style:"font-size:50%;"+(n[e+1].attrs.style||"")},children:n[e+1].children},n[e]]},n.splice(e+1,1))}else e.c&&function(e){e.c=2;for(let t=e.children.length;t--;){const n=e.children[t];n.c&&"table"!==n.name||(e.c=1)}}(e);else for(let s=this.stack.length;s--;)if("table"===this.stack[s].name){this.stack[s].flag=1;break}}else{const e={a:"lower-alpha",A:"upper-alpha",i:"lower-roman",I:"upper-roman"};e[t.type]&&(t.style+=";list-style-type:"+e[t.type],t.type=void 0);for(let t=n.length;t--;)"li"===n[t].name&&(n[t].c=1)}if((r.display||"").includes("flex")&&!e.c)for(let s=n.length;s--;){const e=n[s];e.f&&(e.attrs.style=(e.attrs.style||"")+e.f,e.f=void 0)}const a=o&&((o.attrs.style||"").includes("flex")||(o.attrs.style||"").includes("grid"))&&!e.c;a&&(e.f=";max-width:100%"),n.length>=50&&e.c&&!(r.display||"").includes("flex")&&oP(n);for(const s in r)if(r[s]){const n=`;${s}:${r[s].replace(" !important","")}`;a&&(s.includes("flex")&&"flex-direction"!==s||"align-self"===s||s.includes("grid")||"-"===r[s][0]||s.includes("width")&&n.includes("%"))?(e.f+=n,"width"===s&&(t.style+=";width:100%")):t.style+=n}t.style=t.style.substr(1)||void 0},iP.prototype.onText=function(e){if(!this.pre){let t,n="";for(let o=0,i=e.length;o<i;o++)ZE[e[o]]?(" "!==n[n.length-1]&&(n+=" "),"\n"!==e[o]||t||(t=!0)):n+=e[o];if(" "===n){if(t)return;{const e=this.stack[this.stack.length-1];if(e&&"t"===e.name[0])return}}e=n}const t=Object.create(null);if(t.type="text",t.text=nP(e),this.hook(t)){(this.stack.length?this.stack[this.stack.length-1].children:this.nodes).push(t)}},rP.prototype.parse=function(e){this.content=e||"",this.i=0,this.start=0,this.state=this.text;for(let t=this.content.length;-1!==this.i&&this.i<t;)this.state()},rP.prototype.checkClose=function(e){const t="/"===this.content[this.i];return!!(">"===this.content[this.i]||t&&">"===this.content[this.i+1])&&(e&&this.handler[e](this.content.substring(this.start,this.i)),this.i+=t?2:1,this.start=this.i,this.handler.onOpenTag(t),"script"===this.handler.tagName?(this.i=this.content.indexOf("</",this.i),-1!==this.i&&(this.i+=2,this.start=this.i),this.state=this.endTag):this.state=this.text,!0)},rP.prototype.text=function(){if(this.i=this.content.indexOf("<",this.i),-1===this.i)return void(this.start<this.content.length&&this.handler.onText(this.content.substring(this.start,this.content.length)));const e=this.content[this.i+1];if(e>="a"&&e<="z"||e>="A"&&e<="Z")this.start!==this.i&&this.handler.onText(this.content.substring(this.start,this.i)),this.start=++this.i,this.state=this.tagName;else if("/"===e||"!"===e||"?"===e){this.start!==this.i&&this.handler.onText(this.content.substring(this.start,this.i));const t=this.content[this.i+2];if("/"===e&&(t>="a"&&t<="z"||t>="A"&&t<="Z"))return this.i+=2,this.start=this.i,void(this.state=this.endTag);let n="--\x3e";"!"===e&&"-"===this.content[this.i+2]&&"-"===this.content[this.i+3]||(n=">"),this.i=this.content.indexOf(n,this.i),-1!==this.i&&(this.i+=n.length,this.start=this.i)}else this.i++},rP.prototype.tagName=function(){if(ZE[this.content[this.i]]){for(this.handler.onTagName(this.content.substring(this.start,this.i));ZE[this.content[++this.i]];);this.i<this.content.length&&!this.checkClose()&&(this.start=this.i,this.state=this.attrName)}else this.checkClose("onTagName")||this.i++},rP.prototype.attrName=function(){let e=this.content[this.i];if(ZE[e]||"="===e){this.handler.onAttrName(this.content.substring(this.start,this.i));let t="="===e;const n=this.content.length;for(;++this.i<n;)if(e=this.content[this.i],!ZE[e]){if(this.checkClose())return;if(t)return this.start=this.i,void(this.state=this.attrVal);if("="!==this.content[this.i])return this.start=this.i,void(this.state=this.attrName);t=!0}}else this.checkClose("onAttrName")||this.i++},rP.prototype.attrVal=function(){const e=this.content[this.i],t=this.content.length;if('"'===e||"'"===e){if(this.start=++this.i,this.i=this.content.indexOf(e,this.i),-1===this.i)return;this.handler.onAttrVal(this.content.substring(this.start,this.i))}else for(;this.i<t;this.i++){if(ZE[this.content[this.i]]){this.handler.onAttrVal(this.content.substring(this.start,this.i));break}if(this.checkClose("onAttrVal"))return}for(;ZE[this.content[++this.i]];);this.i<t&&!this.checkClose()&&(this.start=this.i,this.state=this.attrName)},rP.prototype.endTag=function(){const e=this.content[this.i];if(ZE[e]||">"===e||"/"===e){if(this.handler.onCloseTag(this.content.substring(this.start,this.i)),">"!==e&&(this.i=this.content.indexOf(">",this.i),-1===this.i))return;this.start=++this.i,this.state=this.text}else this.i++};const aP=[];const sP=rA({name:"u-parse",data:()=>({nodes:[]}),props:{containerStyle:{type:String,default:""},content:{type:String,default:""},copyLink:{type:[Boolean,String],default:!0},domain:String,errorImg:{type:String,default:""},lazyLoad:{type:[Boolean,String],default:!1},loadingImg:{type:String,default:""},pauseVideo:{type:[Boolean,String],default:!0},previewImg:{type:[Boolean,String],default:!0},scrollTable:[Boolean,String],selectable:[Boolean,String],setTitle:{type:[Boolean,String],default:!0},showImgMenu:{type:[Boolean,String],default:!0},tagStyle:Object,useAnchor:[Boolean,Number]},emits:["load","ready","imgTap","linkTap","play","error"],components:{node:YE},watch:{content(e){this.setContent(e)}},created(){this.plugins=[];for(let e=aP.length;e--;)this.plugins.push(new aP[e](this))},mounted(){this.content&&!this.nodes.length&&this.setContent(this.content)},beforeUnmount(){this._hook("onDetached")},methods:{in(e,t,n){e&&t&&n&&(this._in={page:e,selector:t,scrollTop:n})},navigateTo(e,t){return new Promise(((n,o)=>{if(!this.useAnchor)return void o(Error("Anchor is disabled"));t=t||parseInt(this.useAnchor)||0;const i=bh().in(this._in?this._in.page:this).select((this._in?this._in.selector:"._root")+(e?` #${e}`:"")).boundingClientRect();this._in?i.select(this._in.selector).scrollOffset().select(this._in.selector).boundingClientRect():i.selectViewport().scrollOffset(),i.exec((e=>{if(!e[0])return void o(Error("Label not found"));const i=e[1].scrollTop+e[0].top-(e[2]?e[2].top:0)+t;this._in?this._in.page[this._in.scrollTop]=i:Pv({scrollTop:i,duration:300}),n()}))}))},getText(e){let t="";return function e(n){for(let o=0;o<n.length;o++){const i=n[o];if("text"===i.type)t+=i.text.replace(/&amp;/g,"&");else if("br"===i.name)t+="\n";else{const n="p"===i.name||"div"===i.name||"tr"===i.name||"li"===i.name||"h"===i.name[0]&&i.name[1]>"0"&&i.name[1]<"7";n&&t&&"\n"!==t[t.length-1]&&(t+="\n"),i.children&&e(i.children),n&&"\n"!==t[t.length-1]?t+="\n":"td"!==i.name&&"th"!==i.name||(t+="\t")}}}(e||this.nodes),t},getRect(){return new Promise(((e,t)=>{bh().in(this).select("#_root").boundingClientRect().exec((n=>n[0]?e(n[0]):t(Error("Root label not found"))))}))},pauseMedia(){for(let e=(this._videos||[]).length;e--;)this._videos[e].pause()},setPlaybackRate(e){this.playbackRate=e;for(let t=(this._videos||[]).length;t--;)this._videos[t].playbackRate(e)},setContent(e,t){t&&this.imgList||(this.imgList=[]);const n=new iP(this).parse(e);if(this.$set(this,"nodes",t?(this.nodes||[]).concat(n):n),this._videos=[],this.$nextTick((()=>{this._hook("onLoad"),this.$emit("load")})),this.lazyLoad||this.imgList._unloadimgs<this.imgList.length/2){let e=0;const t=n=>{n&&n.height||(n={}),n.height===e?this.$emit("ready",n):(e=n.height,setTimeout((()=>{this.getRect().then(t).catch(t)}),350))};this.getRect().then(t).catch(t)}else this.imgList._unloadimgs||this.getRect().then((e=>{this.$emit("ready",e)})).catch((()=>{this.$emit("ready",{})}))},_hook(e){for(let t=aP.length;t--;)this.plugins[t][e]&&this.plugins[t][e]()}}},[["render",function(e,t,n,o,i,r){const a=Kn("node"),s=Fg;return Zi(),ir(s,{id:"_root",class:me((n.selectable?"_select ":"")+"_root"),style:fe(n.containerStyle)},{default:qn((()=>[i.nodes[0]?(Zi(),ir(a,{key:1,childs:i.nodes,opts:[n.lazyLoad,n.loadingImg,n.errorImg,n.showImgMenu,n.selectable],name:"span"},null,8,["childs","opts"])):ni(e.$slots,"default",{key:0},void 0,!0)])),_:3},8,["class","style"])}],["__scopeId","data-v-4b591716"]]),lP=Object.freeze(Object.defineProperty({__proto__:null,default:sP},Symbol.toStringTag,{value:"Module"}));const cP=rA({name:"u-picker-column",mixins:[Lk,$k,{props:{}}]},[["render",function(e,t,n,o,i,r){const a=Fg,s=hg;return Zi(),ir(s,null,{default:qn((()=>[dr(a,{class:"u-picker-column"})])),_:1})}],["__scopeId","data-v-ab28ee60"]]),uP=Object.freeze(Object.defineProperty({__proto__:null,default:cP},Symbol.toStringTag,{value:"Module"}));const dP=rA({props:{modelValue:{type:[String,Number],default:""},title:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[]},valueKey:{type:String,default:"id"},labelKey:{type:String,default:"name"}},data:()=>({show:!1,current:""}),created(){this.modelValue&&this.options.forEach((e=>{e[this.valueKey]==this.modelValue&&(this.current=e[this.labelKey])}))},watch:{modelValue(){this.modelValue&&this.options.forEach((e=>{e[this.valueKey]==this.modelValue&&(this.current=e[this.labelKey])}))}},computed:{optionsInner(){return[this.options]}},emits:["update:modelValue"],methods:{hideKeyboard(){sb()},cancel(){this.show=!1},select(e){const{columnIndex:t,index:n,value:o}=e;this.show=!1,this.$emit("update:modelValue",o[0][this.valueKey]),this.current=o[0][this.labelKey]}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("up-input"),TA),s=Fg,l=fA(eo("up-picker"),gB);return Zi(),ir(s,{class:"u-picker-data"},{default:qn((()=>[dr(s,{class:"u-picker-data__trigger"},{default:qn((()=>[ni(e.$slots,"trigger",{},void 0,!0),e.$slots.trigger?fr("",!0):(Zi(),ir(a,{key:0,modelValue:i.current,disabled:"",disabledColor:"#ffffff",placeholder:n.title,border:"none"},null,8,["modelValue","placeholder"])),dr(s,{onClick:t[0]||(t[0]=e=>i.show=!0),class:"u-picker-data__trigger__cover"})])),_:3}),dr(l,{show:i.show,columns:r.optionsInner,keyName:n.labelKey,onConfirm:r.select,onCancel:r.cancel},null,8,["show","columns","keyName","onConfirm","onCancel"])])),_:3})}],["__scopeId","data-v-35539e6d"]]),hP=Object.freeze(Object.defineProperty({__proto__:null,default:dP},Symbol.toStringTag,{value:"Module"}));let pP={};!function(){function e(e){return e<128?[e]:e<2048?[192+(e>>6),128+(63&e)]:[224+(e>>12),128+(e>>6&63),128+(63&e)]}function t(t,n){this.typeNumber=-1,this.errorCorrectLevel=n,this.modules=null,this.moduleCount=0,this.dataCache=null,this.rsBlocks=null,this.totalDataCount=-1,this.data=t,this.utf8bytes=function(t){for(var n=[],o=0;o<t.length;o++)for(var i=e(t.charCodeAt(o)),r=0;r<i.length;r++)n.push(i[r]);return n}(t),this.make()}t.prototype={constructor:t,getModuleCount:function(){return this.moduleCount},make:function(){this.getRightType(),this.dataCache=this.createData(),this.createQrcode()},makeImpl:function(e){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var t=0;t<this.moduleCount;t++)this.modules[t]=new Array(this.moduleCount);this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(!0,e),this.typeNumber>=7&&this.setupTypeNumber(!0),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var o=-1;o<=7;o++)t+o<=-1||this.moduleCount<=t+o||(this.modules[e+n][t+o]=0<=n&&n<=6&&(0==o||6==o)||0<=o&&o<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=o&&o<=4)},createQrcode:function(){for(var e=0,t=0,n=null,o=0;o<8;o++){this.makeImpl(o);var i=d.getLostPoint(this);(0==o||e>i)&&(e=i,t=o,n=this.modules)}this.modules=n,this.setupTypeInfo(!1,t),this.typeNumber>=7&&this.setupTypeNumber(!1)},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0,null==this.modules[6][e]&&(this.modules[6][e]=e%2==0))},setupPositionAdjustPattern:function(){for(var e=d.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var o=e[t],i=e[n];if(null==this.modules[o][i])for(var r=-2;r<=2;r++)for(var a=-2;a<=2;a++)this.modules[o+r][i+a]=-2==r||2==r||-2==a||2==a||0==r&&0==a}},setupTypeNumber:function(e){for(var t=d.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var o=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=o,this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=o}},setupTypeInfo:function(e,t){for(var o=n[this.errorCorrectLevel]<<3|t,i=d.getBCHTypeInfo(o),r=0;r<15;r++){var a=!e&&1==(i>>r&1);r<6?this.modules[r][8]=a:r<8?this.modules[r+1][8]=a:this.modules[this.moduleCount-15+r][8]=a;a=!e&&1==(i>>r&1);r<8?this.modules[8][this.moduleCount-r-1]=a:r<9?this.modules[8][15-r-1+1]=a:this.modules[8][15-r-1]=a}this.modules[this.moduleCount-8][8]=!e},createData:function(){var e=new g,n=this.typeNumber>9?16:8;e.put(4,4),e.put(this.utf8bytes.length,n);for(var o=0,i=this.utf8bytes.length;o<i;o++)e.put(this.utf8bytes[o],8);for(e.length+4<=8*this.totalDataCount&&e.put(0,4);e.length%8!=0;)e.putBit(!1);for(;!(e.length>=8*this.totalDataCount||(e.put(t.PAD0,8),e.length>=8*this.totalDataCount));)e.put(t.PAD1,8);return this.createBytes(e)},createBytes:function(e){for(var t=0,n=0,o=0,i=this.rsBlock.length/3,r=new Array,a=0;a<i;a++)for(var s=this.rsBlock[3*a+0],l=this.rsBlock[3*a+1],c=this.rsBlock[3*a+2],u=0;u<s;u++)r.push([c,l]);for(var h=new Array(r.length),p=new Array(r.length),m=0;m<r.length;m++){var g=r[m][0],y=r[m][1]-g;n=Math.max(n,g),o=Math.max(o,y),h[m]=new Array(g);for(a=0;a<h[m].length;a++)h[m][a]=255&e.buffer[a+t];t+=g;var b=d.getErrorCorrectPolynomial(y),v=new f(h[m],b.getLength()-1).mod(b);p[m]=new Array(b.getLength()-1);for(a=0;a<p[m].length;a++){var _=a+v.getLength()-p[m].length;p[m][a]=_>=0?v.get(_):0}}var S=new Array(this.totalDataCount),w=0;for(a=0;a<n;a++)for(m=0;m<r.length;m++)a<h[m].length&&(S[w++]=h[m][a]);for(a=0;a<o;a++)for(m=0;m<r.length;m++)a<p[m].length&&(S[w++]=p[m][a]);return S},mapData:function(e,t){for(var n=-1,o=this.moduleCount-1,i=7,r=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[o][a-s]){var l=!1;r<e.length&&(l=1==(e[r]>>>i&1)),d.getMask(t,o,a-s)&&(l=!l),this.modules[o][a-s]=l,-1==--i&&(r++,i=7)}if((o+=n)<0||this.moduleCount<=o){o-=n,n=-n;break}}}},t.PAD0=236,t.PAD1=17;for(var n=[1,0,3,2],o=0,i=1,r=2,a=3,s=4,l=5,c=6,u=7,d={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;d.getBCHDigit(t)-d.getBCHDigit(d.G15)>=0;)t^=d.G15<<d.getBCHDigit(t)-d.getBCHDigit(d.G15);return(e<<10|t)^d.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;d.getBCHDigit(t)-d.getBCHDigit(d.G18)>=0;)t^=d.G18<<d.getBCHDigit(t)-d.getBCHDigit(d.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return d.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case o:return(t+n)%2==0;case i:return t%2==0;case r:return n%3==0;case a:return(t+n)%3==0;case s:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case l:return t*n%2+t*n%3==0;case c:return(t*n%2+t*n%3)%2==0;case u:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new f([1],0),n=0;n<e;n++)t=t.multiply(new f([1,h.gexp(n)],0));return t},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,o=0,i=0;i<t;i++)for(var r=0,a=e.modules[i][0],s=0;s<t;s++){var l=e.modules[i][s];if(s<t-6&&l&&!e.modules[i][s+1]&&e.modules[i][s+2]&&e.modules[i][s+3]&&e.modules[i][s+4]&&!e.modules[i][s+5]&&e.modules[i][s+6]&&(s<t-10?e.modules[i][s+7]&&e.modules[i][s+8]&&e.modules[i][s+9]&&e.modules[i][s+10]&&(n+=40):s>3&&e.modules[i][s-1]&&e.modules[i][s-2]&&e.modules[i][s-3]&&e.modules[i][s-4]&&(n+=40)),i<t-1&&s<t-1){var c=0;l&&c++,e.modules[i+1][s]&&c++,e.modules[i][s+1]&&c++,e.modules[i+1][s+1]&&c++,0!=c&&4!=c||(n+=3)}a^l?r++:(a=l,r>=5&&(n+=3+r-5),r=1),l&&o++}for(s=0;s<t;s++)for(r=0,a=e.modules[0][s],i=0;i<t;i++){l=e.modules[i][s];i<t-6&&l&&!e.modules[i+1][s]&&e.modules[i+2][s]&&e.modules[i+3][s]&&e.modules[i+4][s]&&!e.modules[i+5][s]&&e.modules[i+6][s]&&(i<t-10?e.modules[i+7][s]&&e.modules[i+8][s]&&e.modules[i+9][s]&&e.modules[i+10][s]&&(n+=40):i>3&&e.modules[i-1][s]&&e.modules[i-2][s]&&e.modules[i-3][s]&&e.modules[i-4][s]&&(n+=40)),a^l?r++:(a=l,r>=5&&(n+=3+r-5),r=1)}return n+=10*(Math.abs(100*o/t/t-50)/5)}},h={glog:function(e){if(e<1)throw new Error("glog("+e+")");return h.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return h.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},p=0;p<8;p++)h.EXP_TABLE[p]=1<<p;for(p=8;p<256;p++)h.EXP_TABLE[p]=h.EXP_TABLE[p-4]^h.EXP_TABLE[p-5]^h.EXP_TABLE[p-6]^h.EXP_TABLE[p-8];for(p=0;p<255;p++)h.LOG_TABLE[h.EXP_TABLE[p]]=p;function f(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=new Array(e.length-n+t);for(var o=0;o<e.length-n;o++)this.num[o]=e[o+n]}f.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var o=0;o<e.getLength();o++)t[n+o]^=h.gexp(h.glog(this.get(n))+h.glog(e.get(o)));return new f(t,0)},mod:function(e){var t=this.getLength(),n=e.getLength();if(t-n<0)return this;for(var o=new Array(t),i=0;i<t;i++)o[i]=this.get(i);for(;o.length>=n;){var r=h.glog(o[0])-h.glog(e.get(0));for(i=0;i<e.getLength();i++)o[i]^=h.gexp(h.glog(e.get(i))+r);for(;0==o[0];)o.shift()}return new f(o,0)}};var m=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];function g(){this.buffer=new Array,this.length=0}t.prototype.getRightType=function(){for(var e=1;e<41;e++){var t=m[4*(e-1)+this.errorCorrectLevel];if(null==t)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+this.errorCorrectLevel);for(var n=t.length/3,o=0,i=0;i<n;i++){var r=t[3*i+0];o+=t[3*i+2]*r}var a=e>9?2:1;if(this.utf8bytes.length+a<o||40==e){this.typeNumber=e,this.rsBlock=t,this.totalDataCount=o;break}}},g.prototype={get:function(e){var t=Math.floor(e/8);return this.buffer[t]>>>7-e%8&1},put:function(e,t){for(var n=0;n<t;n++)this.putBit(e>>>t-n-1&1)},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};let y=[];pP=function(e){if(this.options={text:"",size:256,correctLevel:3,background:"#ffffff",foreground:"#000000",pdground:"#000000",image:"",imageSize:30,canvasId:e.canvasId,nvueContext:e.nvueContext,context:e.context,usingComponents:e.usingComponents,showLoading:e.showLoading,loadingText:e.loadingText},"string"==typeof e&&(e={text:e}),e)for(var n in e)this.options[n]=e[n];for(var o=null,i=(n=0,y.length);n<i;n++)if(y[n].text==this.options.text&&y[n].text.correctLevel==this.options.correctLevel){o=y[n].obj;break}n==i&&(o=new t(this.options.text,this.options.correctLevel),y.push({text:this.options.text,correctLevel:this.options.correctLevel,obj:o}));let r=function(e){var t=e.options;return t.pdground&&(e.row>1&&e.row<5&&e.col>1&&e.col<5||e.row>e.count-6&&e.row<e.count-2&&e.col>1&&e.col<5||e.row>1&&e.row<5&&e.col>e.count-6&&e.col<e.count-2)?t.pdground:t.foreground};!function(e){e.showLoading&&kv({title:e.loadingText,mask:!0});var t="";t=e.nvueContext?e.nvueContext:nh(e.canvasId,e.context);for(var n=o.getModuleCount(),i=e.size,s=e.imageSize,l=(i/n).toPrecision(4),c=(i/n).toPrecision(4),u=0;u<n;u++)for(var d=0;d<n;d++){var h=Math.ceil((d+1)*l)-Math.floor(d*l),p=Math.ceil((u+1)*l)-Math.floor(u*l),f=r({row:u,col:d,count:n,options:e});t.setFillStyle(o.modules[u][d]?f:e.background),t.fillRect(Math.round(d*l),Math.round(u*c),h,p)}if(e.image){let n=function(t,n,o,i,r,a,s,l,c){t.setLineWidth(s),t.setFillStyle(e.background),t.setStrokeStyle(e.background),t.beginPath(),t.moveTo(n+a,o),t.arcTo(n+i,o,n+i,o+a,a),t.arcTo(n+i,o+r,n+i-a,o+r,a),t.arcTo(n,o+r,n,o+r-a,a),t.arcTo(n,o,n+a,o,a),t.closePath(),l&&t.fill(),c&&t.stroke()};var m=Number(((i-s)/2).toFixed(2)),g=Number(((i-s)/2).toFixed(2));n(t,m,g,s,s,2,6,!0,!0),t.drawImage(e.image,m,g,s,s)}setTimeout((()=>{t.draw(!0,(()=>{setTimeout((()=>{e.nvueContext?t.toTempFilePath(0,0,e.width,e.height,e.width,e.height,"",1,(function(t){e.cbResult&&e.cbResult(t.tempFilePath)})):oh({width:e.width,height:e.height,destWidth:e.width,destHeight:e.height,canvasId:e.canvasId,quality:Number(1),success:function(t){e.cbResult&&(a(t.tempFilePath)?a(t.apFilePath)?e.cbResult(t.tempFilePath):e.cbResult(t.apFilePath):e.cbResult(t.tempFilePath))},fail:function(t){e.cbResult&&e.cbResult(t)},complete:function(){Av()}},e.context)}),e.text.length+100)}))}),e.usingComponents?0:150)}(this.options);let a=function(e){let t=typeof e,n=!1;return"number"==t&&""==String(e)||"undefined"==t?n=!0:"object"==t?"{}"!=JSON.stringify(e)&&"[]"!=JSON.stringify(e)&&null!=e||(n=!0):"string"==t?""!=e&&"undefined"!=e&&"null"!=e&&"{}"!=e&&"[]"!=e||(n=!0):"function"==t&&(n=!1),n}},pP.prototype.clear=function(e){var t="";options.nvueContext?t=options.nvueContext:nh(this.options.canvasId,this.options.context),t.clearRect(0,0,this.options.size,this.options.size),t.draw(!1,(()=>{e&&e()}))}}();const fP=pP;let mP;const gP=rA({name:"u-qrcode",props:{cid:{type:String,default:"u-qrcode-canvas"+Math.random().toString()},size:{type:Number,default:200},unit:{type:String,default:"px"},show:{type:Boolean,default:!0},val:{type:String,default:""},background:{type:String,default:"#ffffff"},foreground:{type:String,default:"#000000"},pdground:{type:String,default:"#000000"},icon:{type:String,default:""},iconSize:{type:Number,default:40},lv:{type:Number,default:3},onval:{type:Boolean,default:!0},loadMake:{type:Boolean,default:!0},usingComponents:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},loadingText:{type:String,default:"生成中"},allowPreview:{type:Boolean,default:!1}},emits:["result","longpress"],data:()=>({loading:!1,result:"",popupShow:!1,list:[{name:"保存二维码"}],ganvas:null,context:"",canvasObj:{}}),mounted:function(){this.loadMake&&(this._empty(this.val)||setTimeout((()=>{this._makeCode()}),0))},methods:{_makeCode(){let e=this;this._empty(this.val)?xv({title:"二维码内容不能为空",icon:"none",duration:2e3}):(this.loading=!0,mP=new fP({context:e,canvasId:e.cid,nvueContext:e.context,usingComponents:e.usingComponents,showLoading:!1,loadingText:e.loadingText,text:e.val,size:e.size,background:e.background,foreground:e.foreground,pdground:e.pdground,correctLevel:e.lv,image:e.icon,imageSize:e.iconSize,cbResult:function(t){e._result(t)}}))},_clearCode(){this._result(""),mP.clear()},_saveCode(){let e=this;""!=this.result&&Yv({filePath:e.result,success:function(){xv({title:"二维码保存成功",icon:"success",duration:2e3})}})},preview(e){this.allowPreview&&Pb({urls:[this.result],longPressActions:{itemList:["保存二维码图片"],success:function(e){if(0===e.tapIndex)that._saveCode()},fail:function(e){console.log(e.errMsg)}}}),this.$emit("preview",{url:this.result},e)},longpress(){this.$emit("longpress",this.result)},selectClick(e){if(0===e)alert("保存二维码"),this._saveCode()},_result(e){this.loading=!1,this.result=e,this.$emit("result",e)},_empty(e){let t=typeof e,n=!1;return"number"==t&&""==String(e)||"undefined"==t?n=!0:"object"==t?"{}"!=JSON.stringify(e)&&"[]"!=JSON.stringify(e)&&null!=e||(n=!0):"string"==t?""!=e&&"undefined"!=e&&"null"!=e&&"{}"!=e&&"[]"!=e||(n=!0):"function"==t&&(n=!1),n}},watch:{size:function(e,t){e==t||this._empty(e)||(this.cSize=e,this._empty(this.val)||setTimeout((()=>{this._makeCode()}),100))},val:function(e,t){this.onval&&(e==t||this._empty(e)||setTimeout((()=>{this._makeCode()}),0))}},computed:{}},[["render",function(e,t,n,o,i,r){const a=Uf,s=fA(eo("up-loading-icon"),eT),l=Fg;return Zi(),ir(l,{class:"u-qrcode",onLongpress:r.longpress},{default:qn((()=>[dr(l,{class:"u-qrcode__content",onClick:r.preview},{default:qn((()=>[dr(a,{class:"u-qrcode__canvas",id:n.cid,"canvas-id":n.cid,style:fe({width:n.size+n.unit,height:n.size+n.unit})},null,8,["id","canvas-id","style"]),n.showLoading&&i.loading?(Zi(),ir(l,{key:0,class:"u-qrcode__loading",style:fe({width:n.size+n.unit,height:n.size+n.unit})},{default:qn((()=>[dr(s,{vertical:"",text:n.loadingText,textSize:"14px"},null,8,["text"])])),_:1},8,["style"])):fr("",!0)])),_:1},8,["onClick"])])),_:1},8,["onLongpress"])}],["__scopeId","data-v-ddb3422c"]]),yP=Object.freeze(Object.defineProperty({__proto__:null,default:gP},Symbol.toStringTag,{value:"Module"})),bP={props:{modelValue:{type:[String,Number,Boolean],default:()=>zk.radioGroup.value},disabled:{type:Boolean,default:()=>zk.radioGroup.disabled},shape:{type:String,default:()=>zk.radioGroup.shape},activeColor:{type:String,default:()=>zk.radioGroup.activeColor},inactiveColor:{type:String,default:()=>zk.radioGroup.inactiveColor},name:{type:String,default:()=>zk.radioGroup.name},size:{type:[String,Number],default:()=>zk.radioGroup.size},placement:{type:String,default:()=>zk.radioGroup.placement},label:{type:[String],default:()=>zk.radioGroup.label},labelColor:{type:[String],default:()=>zk.radioGroup.labelColor},labelSize:{type:[String,Number],default:()=>zk.radioGroup.labelSize},labelDisabled:{type:Boolean,default:()=>zk.radioGroup.labelDisabled},iconColor:{type:String,default:()=>zk.radioGroup.iconColor},iconSize:{type:[String,Number],default:()=>zk.radioGroup.iconSize},borderBottom:{type:Boolean,default:()=>zk.radioGroup.borderBottom},iconPlacement:{type:String,default:()=>zk.radio.iconPlacement},gap:{type:[String,Number],default:()=>zk.radioGroup.gap}}};const vP=rA({name:"u-radio-group",mixins:[Lk,$k,bP],computed:{parentData(){return[this.modelValue,this.disabled,this.inactiveColor,this.activeColor,this.size,this.labelDisabled,this.shape,this.iconSize,this.borderBottom,this.placement]},bemClass(){return this.bem("radio-group",["placement"])},radioGroupStyle(){return dk({gap:ck(this.gap)},lk(this.customStyle))}},watch:{parentData(){this.children.length&&this.children.map((e=>{"function"==typeof e.init&&e.init()}))}},data:()=>({}),created(){this.children=[]},emits:["update:modelValue","change"],methods:{unCheckedOther(e){this.children.map((t=>{e!==t&&(t.checked=!1)}));const{name:t}=e;this.$emit("update:modelValue",t),this.$emit("change",t)}}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:me(["u-radio-group",r.bemClass]),style:fe(r.radioGroupStyle)},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["class","style"])}],["__scopeId","data-v-2cd4e0e3"]]),_P=Object.freeze(Object.defineProperty({__proto__:null,default:vP},Symbol.toStringTag,{value:"Module"})),SP={props:{name:{type:[String,Number,Boolean],default:()=>zk.radio.name},shape:{type:String,default:()=>zk.radio.shape},disabled:{type:[String,Boolean],default:()=>zk.radio.disabled},labelDisabled:{type:[String,Boolean],default:()=>zk.radio.labelDisabled},activeColor:{type:String,default:()=>zk.radio.activeColor},inactiveColor:{type:String,default:()=>zk.radio.inactiveColor},iconSize:{type:[String,Number],default:()=>zk.radio.iconSize},labelSize:{type:[String,Number],default:()=>zk.radio.labelSize},label:{type:[String,Number],default:()=>zk.radio.label},size:{type:[String,Number],default:()=>zk.radio.size},color:{type:String,default:()=>zk.radio.color},labelColor:{type:String,default:()=>zk.radio.labelColor},iconColor:{type:String,default:()=>zk.radio.iconColor}}};const wP=rA({name:"u-radio",mixins:[Lk,$k,SP],data:()=>({checked:!1,parentData:{iconSize:12,labelDisabled:null,disabled:null,shape:null,activeColor:null,inactiveColor:null,size:18,value:null,modelValue:null,iconColor:null,placement:"row",borderBottom:!1,iconPlacement:"left"}}),computed:{elDisabled(){return""!==this.disabled?this.disabled:null!==this.parentData.disabled&&this.parentData.disabled},elLabelDisabled(){return""!==this.labelDisabled?this.labelDisabled:null!==this.parentData.labelDisabled&&this.parentData.labelDisabled},elSize(){return this.size?this.size:this.parentData.size?this.parentData.size:21},elIconSize(){return this.iconSize?this.iconSize:this.parentData.iconSize?this.parentData.iconSize:12},elActiveColor(){return this.activeColor?this.activeColor:this.parentData.activeColor?this.parentData.activeColor:"#2979ff"},elInactiveColor(){return this.inactiveColor?this.inactiveColor:this.parentData.inactiveColor?this.parentData.inactiveColor:"#c8c9cc"},elLabelColor(){return this.labelColor?this.labelColor:this.parentData.labelColor?this.parentData.labelColor:"#606266"},elShape(){return this.shape?this.shape:this.parentData.shape?this.parentData.shape:"circle"},elLabelSize(){return ck(this.labelSize?this.labelSize:this.parentData.labelSize?this.parentData.labelSize:"15")},elIconColor(){const e=this.iconColor?this.iconColor:this.parentData.iconColor?this.parentData.iconColor:"#ffffff";return this.elDisabled?this.checked?this.elInactiveColor:"transparent":this.checked?e:"transparent"},iconClasses(){let e=[];return e.push("u-radio__icon-wrap--"+this.elShape),this.elDisabled&&e.push("u-radio__icon-wrap--disabled"),this.checked&&this.elDisabled&&e.push("u-radio__icon-wrap--disabled--checked"),e},iconWrapStyle(){const e={};return e.backgroundColor=this.checked&&!this.elDisabled?this.elActiveColor:"#ffffff",e.borderColor=this.checked&&!this.elDisabled?this.elActiveColor:this.elInactiveColor,e.width=ck(this.elSize),e.height=ck(this.elSize),"right"===this.parentData.iconPlacement&&(e.marginRight=0),e},radioStyle(){const e={};return this.parentData.borderBottom&&this.parentData.placement,this.parentData.borderBottom&&"column"===this.parentData.placement&&(e.paddingBottom="ios"===tk()?"12px":"8px"),dk(e,lk(this.customStyle))}},mounted(){this.init()},emits:["change"],methods:{init(){this.updateParentData(),this.parent,this.checked=this.name===this.parentData.modelValue},updateParentData(){this.getParentData("u-radio-group")},iconClickHandler(e){this.preventEvent(e),this.elDisabled||this.setRadioCheckedStatus()},wrapperClickHandler(e){"right"===this.parentData.iconPlacement&&this.iconClickHandler(e)},labelClickHandler(e){this.preventEvent(e),this.elLabelDisabled||this.elDisabled||this.setRadioCheckedStatus()},emitEvent(){this.checked||(this.$emit("change",this.name),this.$nextTick((()=>{wk(this,"change")})))},setRadioCheckedStatus(){this.emitEvent(),this.checked=!0,"function"==typeof this.parent.unCheckedOther&&this.parent.unCheckedOther(this)}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-icon"),hA),s=Fg,l=Rg;return Zi(),ir(s,{class:me(["u-radio cursor-pointer",[`u-radio-label--${i.parentData.iconPlacement}`,i.parentData.borderBottom&&"column"===i.parentData.placement&&"u-border-bottom"]]),onClick:Pa(r.wrapperClickHandler,["stop"]),style:fe([r.radioStyle])},{default:qn((()=>[dr(s,{class:me(["u-radio__icon-wrap cursor-pointer",r.iconClasses]),onClick:Pa(r.iconClickHandler,["stop"]),style:fe([r.iconWrapStyle])},{default:qn((()=>[ni(e.$slots,"icon",{elIconSize:r.elIconSize,elIconColor:r.elIconColor},(()=>[dr(a,{class:"u-radio__icon-wrap__icon",name:"checkbox-mark",size:r.elIconSize,color:r.elIconColor},null,8,["size","color"])]),!0)])),_:3},8,["onClick","class","style"]),dr(s,{class:"u-radio__label-wrap cursor-pointer",onClick:Pa(r.labelClickHandler,["stop"])},{default:qn((()=>[ni(e.$slots,"label",{label:e.label,elDisabled:r.elDisabled},(()=>[dr(l,{class:"u-radio__text",style:fe({color:r.elDisabled?r.elInactiveColor:r.elLabelColor,fontSize:r.elLabelSize,lineHeight:r.elLabelSize})},{default:qn((()=>[pr(q(e.label),1)])),_:1},8,["style"])]),!0)])),_:3},8,["onClick"])])),_:3},8,["onClick","style","class"])}],["__scopeId","data-v-7eda46f3"]]),xP=Object.freeze(Object.defineProperty({__proto__:null,default:wP},Symbol.toStringTag,{value:"Module"})),CP={props:{modelValue:{type:[String,Number],default:()=>zk.rate.value},count:{type:[String,Number],default:()=>zk.rate.count},disabled:{type:Boolean,default:()=>zk.rate.disabled},readonly:{type:Boolean,default:()=>zk.rate.readonly},size:{type:[String,Number],default:()=>zk.rate.size},inactiveColor:{type:String,default:()=>zk.rate.inactiveColor},activeColor:{type:String,default:()=>zk.rate.activeColor},gutter:{type:[String,Number],default:()=>zk.rate.gutter},minCount:{type:[String,Number],default:()=>zk.rate.minCount},allowHalf:{type:Boolean,default:()=>zk.rate.allowHalf},activeIcon:{type:String,default:()=>zk.rate.activeIcon},inactiveIcon:{type:String,default:()=>zk.rate.inactiveIcon},touchable:{type:Boolean,default:()=>zk.rate.touchable}}};const kP=rA({name:"u-rate",mixins:[Lk,$k,CP],data(){return{elId:ak(),elClass:ak(),rateBoxLeft:0,activeIndex:this.modelValue,rateWidth:0,moving:!1}},watch:{modelValue(e){this.activeIndex=e},activeIndex:"emitEvent"},emits:["update:modelValue","change"],methods:{addStyle:lk,addUnit:ck,init(){ek().then((()=>{this.getRateItemRect(),this.getRateIconWrapRect()}))},async getRateItemRect(){await ek(),this.$uGetRect("#"+this.elId).then((e=>{this.rateBoxLeft=e.left}))},getRateIconWrapRect(){this.$uGetRect("."+this.elClass).then((e=>{this.rateWidth=e.width}))},touchMove(e){if(!this.touchable)return;this.preventEvent(e);const t=e.changedTouches[0].pageX;this.getActiveIndex(t)},touchEnd(e){if(!this.touchable)return;this.preventEvent(e);const t=e.changedTouches[0].pageX;this.getActiveIndex(t)},clickHandler(e,t){if("ios"===tk()&&this.moving)return;this.preventEvent(e);let n=0;n=e.changedTouches[0].pageX,this.getActiveIndex(n,!0)},emitEvent(){this.$emit("change",this.activeIndex),this.$emit("update:modelValue",this.activeIndex)},getActiveIndex(e,t=!1){if(this.disabled||this.readonly)return;const n=this.rateWidth*this.count+this.rateBoxLeft,o=e=KC(this.rateBoxLeft,n,e)-this.rateBoxLeft;let i;if(this.allowHalf){i=Math.floor(o/this.rateWidth);const e=o%this.rateWidth;e<=this.rateWidth/2&&e>0?i+=.5:e>this.rateWidth/2&&i++}else{i=Math.floor(o/this.rateWidth);const e=o%this.rateWidth;t?e>0&&i++:e>this.rateWidth/2&&i++}this.activeIndex=Math.min(i,this.count),this.activeIndex<this.minCount&&(this.activeIndex=this.minCount),setTimeout((()=>{this.moving=!0}),10),setTimeout((()=>{this.moving=!1}),10)}},mounted(){this.init()}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-icon"),hA),s=Fg;return Zi(),ir(s,{class:"u-rate",id:i.elId,ref:"u-rate",style:fe([r.addStyle(e.customStyle)])},{default:qn((()=>[dr(s,{class:"u-rate__content",onTouchmove:Pa(r.touchMove,["stop"]),onTouchend:Pa(r.touchEnd,["stop"])},{default:qn((()=>[(Zi(!0),or(qi,null,ti(Number(e.count),((t,n)=>(Zi(),ir(s,{class:me(["u-rate__content__item cursor-pointer",[i.elClass]]),key:n},{default:qn((()=>[dr(s,{class:"u-rate__content__item__icon-wrap",ref_for:!0,ref:"u-rate__content__item__icon-wrap",onClick:Pa((e=>r.clickHandler(e,n+1)),["stop"])},{default:qn((()=>[dr(a,{name:Math.floor(i.activeIndex)>n?e.activeIcon:e.inactiveIcon,color:e.disabled?"#c8c9cc":Math.floor(i.activeIndex)>n?e.activeColor:e.inactiveColor,"custom-style":{padding:`0 ${r.addUnit(e.gutter/2)}`},size:e.size},null,8,["name","color","custom-style","size"])])),_:2},1032,["onClick"]),e.allowHalf?(Zi(),ir(s,{key:0,onClick:Pa((e=>r.clickHandler(e,n+1)),["stop"]),class:"u-rate__content__item__icon-wrap u-rate__content__item__icon-wrap--half",style:fe([{width:r.addUnit(i.rateWidth/2)}]),ref_for:!0,ref:"u-rate__content__item__icon-wrap"},{default:qn((()=>[dr(a,{name:Math.ceil(i.activeIndex)>n?e.activeIcon:e.inactiveIcon,color:e.disabled?"#c8c9cc":Math.ceil(i.activeIndex)>n?e.activeColor:e.inactiveColor,"custom-style":{padding:`0 ${r.addUnit(e.gutter/2)}`},size:e.size},null,8,["name","color","custom-style","size"])])),_:2},1032,["onClick","style"])):fr("",!0)])),_:2},1032,["class"])))),128))])),_:1},8,["onTouchmove","onTouchend"])])),_:1},8,["id","style"])}],["__scopeId","data-v-85729945"]]),AP=Object.freeze(Object.defineProperty({__proto__:null,default:kP},Symbol.toStringTag,{value:"Module"})),TP={props:{showHeight:{type:[String,Number],default:()=>zk.readMore.showHeight},toggle:{type:Boolean,default:()=>zk.readMore.toggle},closeText:{type:String,default:()=>zk.readMore.closeText},openText:{type:String,default:()=>zk.readMore.openText},color:{type:String,default:()=>zk.readMore.color},fontSize:{type:[String,Number],default:()=>zk.readMore.fontSize},shadowStyle:{type:Object,default:()=>({backgroundImage:"linear-gradient(-180deg, rgba(255, 255, 255, 0) 0%, #fff 80%)",paddingTop:"100px",marginTop:"-100px"})},textIndent:{type:String,default:()=>zk.readMore.textIndent},name:{type:[String,Number],default:()=>zk.readMore.name}}};const IP=rA({name:"u-read-more",mixins:[Lk,$k,TP],data:()=>({isLongContent:!1,status:"close",elId:ak(),contentHeight:100}),computed:{innerShadowStyle(){return"open"===this.status?{}:this.shadowStyle}},mounted(){this.init()},emits:["open","close"],methods:{addUnit:ck,async init(){this.getContentHeight().then((e=>{this.contentHeight=e,e>ZC(this.showHeight)?(this.isLongContent=!0,this.status="close"):(this.isLongContent=!1,this.status="close")}))},async getContentHeight(){return await ek(30),new Promise((e=>{this.$uGetRect("."+this.elId).then((t=>{e(t.height)}))}))},toggleReadMore(){this.status="close"===this.status?"open":"close",0==this.toggle&&(this.isLongContent=!1),this.$emit(this.status,this.name)}}},[["render",function(e,t,n,o,i,r){const a=Fg,s=fA(eo("up-text"),NA),l=fA(eo("u-icon"),hA);return Zi(),ir(a,{class:"u-read-more"},{default:qn((()=>[dr(a,{class:"u-read-more__content",style:fe({height:i.isLongContent&&"close"===i.status?r.addUnit(e.showHeight):r.addUnit(i.contentHeight),textIndent:e.textIndent})},{default:qn((()=>[dr(a,{class:me(["u-read-more__content__inner",[i.elId]]),ref:"u-read-more__content__inner"},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["class"])])),_:3},8,["style"]),i.isLongContent?(Zi(),ir(a,{key:0,class:"u-read-more__toggle",style:fe([r.innerShadowStyle])},{default:qn((()=>[ni(e.$slots,"toggle",{},(()=>[dr(a,{class:"u-read-more__toggle__text",onClick:r.toggleReadMore},{default:qn((()=>[dr(s,{text:"close"===i.status?e.closeText:e.openText,color:e.color,size:e.fontSize,lineHeight:e.fontSize,margin:"0 5px 0 0"},null,8,["text","color","size","lineHeight"]),dr(a,{class:"u-read-more__toggle__icon"},{default:qn((()=>[dr(l,{color:e.color,size:e.fontSize+2,name:"close"===i.status?"arrow-down":"arrow-up"},null,8,["color","size","name"])])),_:1})])),_:1},8,["onClick"])]),!0)])),_:3},8,["style"])):fr("",!0)])),_:3})}],["__scopeId","data-v-0220f1bc"]]),BP=Object.freeze(Object.defineProperty({__proto__:null,default:IP},Symbol.toStringTag,{value:"Module"}));const EP=rA({name:"u-row",mixins:[Lk,$k,{props:{gutter:{type:[String,Number],default:()=>zk.row.gutter},justify:{type:String,default:()=>zk.row.justify},align:{type:String,default:()=>zk.row.align}}}],data:()=>({}),computed:{uJustify(){return"end"==this.justify||"start"==this.justify?"flex-"+this.justify:"around"==this.justify||"between"==this.justify?"space-"+this.justify:this.justify},uAlignItem(){return"top"==this.align?"flex-start":"bottom"==this.align?"flex-end":this.align},rowStyle(){const e={alignItems:this.uAlignItem,justifyContent:this.uJustify};return this.gutter&&(e.marginLeft=ck(-Number(this.gutter)/2),e.marginRight=ck(-Number(this.gutter)/2)),dk(e,lk(this.customStyle))}},emits:["click"],methods:{clickHandler(e){this.$emit("click")},async getComponentWidth(){return await ek(),new Promise((e=>{this.$uGetRect(".u-row").then((t=>{e(t.width)}))}))}}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:"u-row",ref:"u-row",style:fe([r.rowStyle]),onClick:r.clickHandler},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["style","onClick"])}],["__scopeId","data-v-40ea3c6c"]]),PP=Object.freeze(Object.defineProperty({__proto__:null,default:EP},Symbol.toStringTag,{value:"Module"})),OP={props:{indicatorWidth:{type:[String,Number],default:()=>zk.scrollList.indicatorWidth},indicatorBarWidth:{type:[String,Number],default:()=>zk.scrollList.indicatorBarWidth},indicator:{type:Boolean,default:()=>zk.scrollList.indicator},indicatorColor:{type:String,default:()=>zk.scrollList.indicatorColor},indicatorActiveColor:{type:String,default:()=>zk.scrollList.indicatorActiveColor},indicatorStyle:{type:[String,Object],default:()=>zk.scrollList.indicatorStyle}}};function MP(e,t){e.selectComponent(".u-scroll-list__indicator__line__bar")&&e.selectComponent(".u-scroll-list__indicator__line__bar").setStyle({transform:"translateX("+t+"px)"})}const DP={scroll:function(e,t){var n=e.detail,o=n.scrollWidth,i=n.scrollLeft,r=e.currentTarget.dataset;MP(t,i/(o-(r.scrollWidth||r.scrollwidth||0))*((r.indicatorWidth||r.indicatorwidth||0)-(r.barWidth||r.barwidth||0)))},scrolltolower:function(e,t){t.callMethod("scrollEvent","right");var n=e.currentTarget.dataset;MP(t,(n.indicatorWidth||n.indicatorwidth||0)-(n.barWidth||n.barwidth||0))},scrolltoupper:function(e,t){t.callMethod("scrollEvent","left"),MP(t,0)}},zP=e=>{e.$wxs||(e.$wxs=[]),e.$wxs.push("wxs"),e.mixins||(e.mixins=[]),e.mixins.push({beforeCreate(){this.wxs=DP}})},RP={name:"u-scroll-list",mixins:[Lk,$k,OP],data:()=>({scrollInfo:{scrollLeft:0,scrollWidth:0},scrollWidth:0}),computed:{barStyle(){const e={};return e.width=ck(this.indicatorBarWidth),e.backgroundColor=this.indicatorActiveColor,e},lineStyle(){const e={};return e.width=ck(this.indicatorWidth),e.backgroundColor=this.indicatorColor,e}},mounted(){this.init()},emits:["left","right"],methods:{addStyle:lk,getPx:ZC,init(){this.getComponentWidth()},scrollEvent(e){this.$emit(e)},async getComponentWidth(){await ek(30),this.$uGetRect(".u-scroll-list").then((e=>{this.scrollWidth=e.width}))}}};zP(RP);const NP=rA(RP,[["render",function(e,t,n,o,i,r){const a=Fg,s=Tg;return Zi(),ir(a,{class:"u-scroll-list",ref:"u-scroll-list"},{default:qn((()=>[dr(s,{class:"u-scroll-list__scroll-view scroll-view-native","scroll-x":"","enable-flex":"",onScroll:e.wxs.scroll,onScrolltoupper:e.wxs.scrolltoupper,onScrolltolower:e.wxs.scrolltolower,"data-scrollWidth":i.scrollWidth,"data-barWidth":r.getPx(e.indicatorBarWidth),"data-indicatorWidth":r.getPx(e.indicatorWidth),"show-scrollbar":!1,"upper-threshold":0,"lower-threshold":0},{default:qn((()=>[dr(a,{class:"u-scroll-list__scroll-view__content"},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3},8,["onScroll","onScrolltoupper","onScrolltolower","data-scrollWidth","data-barWidth","data-indicatorWidth"]),e.indicator?(Zi(),ir(a,{key:0,class:"u-scroll-list__indicator",style:fe([r.addStyle(e.indicatorStyle)])},{default:qn((()=>[dr(a,{class:"u-scroll-list__indicator__line",style:fe([r.lineStyle])},{default:qn((()=>[dr(a,{class:"u-scroll-list__indicator__line__bar",style:fe([r.barStyle]),ref:"u-scroll-list__indicator__line__bar"},null,8,["style"])])),_:1},8,["style"])])),_:1},8,["style"])):fr("",!0)])),_:3},512)}],["__scopeId","data-v-aeca5718"]]),LP=Object.freeze(Object.defineProperty({__proto__:null,default:NP},Symbol.toStringTag,{value:"Module"})),jP={props:{shape:{type:String,default:()=>zk.search.shape},bgColor:{type:String,default:()=>zk.search.bgColor},placeholder:{type:String,default:()=>zk.search.placeholder},clearabled:{type:Boolean,default:()=>zk.search.clearabled},focus:{type:Boolean,default:()=>zk.search.focus},showAction:{type:Boolean,default:()=>zk.search.showAction},actionStyle:{type:Object,default:()=>zk.search.actionStyle},actionText:{type:String,default:()=>zk.search.actionText},inputAlign:{type:String,default:()=>zk.search.inputAlign},inputStyle:{type:Object,default:()=>zk.search.inputStyle},disabled:{type:Boolean,default:()=>zk.search.disabled},borderColor:{type:String,default:()=>zk.search.borderColor},searchIconColor:{type:String,default:()=>zk.search.searchIconColor},color:{type:String,default:()=>zk.search.color},placeholderColor:{type:String,default:()=>zk.search.placeholderColor},searchIcon:{type:String,default:()=>zk.search.searchIcon},searchIconSize:{type:[Number,String],default:()=>zk.search.searchIconSize},margin:{type:String,default:()=>zk.search.margin},animation:{type:Boolean,default:()=>zk.search.animation},modelValue:{type:String,default:()=>zk.search.value},value:{type:String,default:()=>zk.search.value},maxlength:{type:[String,Number],default:()=>zk.search.maxlength},height:{type:[String,Number],default:()=>zk.search.height},label:{type:[String,Number,null],default:()=>zk.search.label},adjustPosition:{type:Boolean,default:()=>!0},autoBlur:{type:Boolean,default:()=>!1}}};const $P=rA({name:"u-search",mixins:[Lk,$k,jP],data(){return{keyword:"",showClear:!1,show:!1,focused:this.focus}},watch:{keyword(e){this.$emit("update:modelValue",e),this.$emit("change",e)},modelValue:{immediate:!0,handler(e){this.keyword=e}}},computed:{showActionBtn(){return!this.animation&&this.showAction}},emits:["clear","search","custom","focus","blur","click","clickIcon","update:modelValue","change"],methods:{addStyle:lk,addUnit:ck,inputChange(e){this.keyword=e.detail.value},clear(){this.keyword="",this.$nextTick((()=>{this.$emit("clear")}))},search(e){this.$emit("search",e.detail.value);try{sb()}catch(t){}},custom(){this.$emit("custom",this.keyword);try{sb()}catch(e){}},getFocus(){this.focused=!0,this.animation&&this.showAction&&(this.show=!0),this.$emit("focus",this.keyword)},blur(){setTimeout((()=>{this.focused=!1}),100),this.show=!1,this.$emit("blur",this.keyword)},clickHandler(){this.disabled&&this.$emit("click")},clickIcon(e){this.$emit("clickIcon",this.keyword);try{sb()}catch(t){}}}},[["render",function(e,t,n,o,i,r){const a=Rg,s=fA(eo("u-icon"),hA),l=Fg,c=Bm;return Zi(),ir(l,{class:"u-search",onClick:r.clickHandler,style:fe([{margin:e.margin},r.addStyle(e.customStyle)])},{default:qn((()=>[dr(l,{class:"u-search__content",style:fe({backgroundColor:e.bgColor,borderRadius:"round"==e.shape?"100px":"4px",borderColor:e.borderColor})},{default:qn((()=>[e.$slots.label||null!==e.label?ni(e.$slots,"label",{key:0},(()=>[dr(a,{class:"u-search__content__label"},{default:qn((()=>[pr(q(e.label),1)])),_:1})]),!0):fr("",!0),dr(l,{class:"u-search__content__icon"},{default:qn((()=>[dr(s,{onClick:r.clickIcon,size:e.searchIconSize,name:e.searchIcon,color:e.searchIconColor?e.searchIconColor:e.color},null,8,["onClick","size","name","color"])])),_:1}),dr(c,{"confirm-type":"search",onBlur:r.blur,value:i.keyword,onConfirm:r.search,onInput:r.inputChange,disabled:e.disabled,onFocus:r.getFocus,focus:e.focus,maxlength:e.maxlength,"adjust-position":e.adjustPosition,"auto-blur":e.autoBlur,"placeholder-class":"u-search__content__input--placeholder",placeholder:e.placeholder,"placeholder-style":`color: ${e.placeholderColor}`,class:"u-search__content__input",type:"text",style:fe([{pointerEvents:e.disabled?"none":"auto",textAlign:e.inputAlign,color:e.color,backgroundColor:e.bgColor,height:r.addUnit(e.height)},e.inputStyle])},null,8,["onBlur","value","onConfirm","onInput","disabled","onFocus","focus","maxlength","adjust-position","auto-blur","placeholder","placeholder-style","style"]),i.keyword&&e.clearabled&&i.focused?(Zi(),ir(l,{key:1,class:"u-search__content__icon u-search__content__close",onClick:r.clear},{default:qn((()=>[dr(s,{name:"close",size:"11",color:"#ffffff",customStyle:"line-height: 12px"})])),_:1},8,["onClick"])):fr("",!0)])),_:3},8,["style"]),dr(a,{style:fe([e.actionStyle]),class:me(["u-search__action",[(r.showActionBtn||i.show)&&"u-search__action--active"]]),onClick:Pa(r.custom,["stop","prevent"])},{default:qn((()=>[pr(q(e.actionText),1)])),_:1},8,["style","class","onClick"])])),_:3},8,["onClick","style"])}],["__scopeId","data-v-84290ffb"]]),FP=Object.freeze(Object.defineProperty({__proto__:null,default:$P},Symbol.toStringTag,{value:"Module"}));const HP=rA({name:"up-select",emits:["update:current","select"],props:{label:{type:String,default:"选项"},options:{type:Array,default:()=>[]},keyName:{type:String,default:"id"},current:{type:[String,Number],default:""},zIndex:{type:Number,default:10},itemColor:{type:String,default:"#333333"},iconColor:{type:String,default:""},iconSize:{type:[String],default:"13px"}},data:()=>({isOpen:!1}),mounted(){},methods:{openSelect(){this.isOpen=!this.isOpen},selectItem(e){this.isOpen=!1,this.$emit("update:current",e[this.keyName]),this.$emit("select",e)}}},[["render",function(e,t,n,o,i,r){const a=Rg,s=fA(eo("u-icon"),hA),l=Fg;return Zi(),ir(l,{class:"u-select"},{default:qn((()=>[dr(l,{class:"u-select__content"},{default:qn((()=>[dr(l,{class:"u-select__label",onClick:r.openSelect},{default:qn((()=>[ni(e.$slots,"text",{},(()=>[dr(a,{class:"u-select__text"},{default:qn((()=>[pr(q(n.label),1)])),_:1})]),!0),ni(e.$slots,"icon",{},(()=>[dr(s,{name:"arrow-down",size:n.iconSize,color:n.iconColor},null,8,["size","color"])]),!0)])),_:3},8,["onClick"]),i.isOpen?(Zi(),ir(l,{key:0,class:"u-select__options",style:fe({zIndex:n.zIndex})},{default:qn((()=>[ni(e.$slots,"options",{},(()=>[(Zi(!0),or(qi,null,ti(n.options,((t,o)=>(Zi(),ir(l,{class:me(["u-select__options_item",n.current==t[n.keyName]?"active":""]),key:o,onClick:e=>r.selectItem(t)},{default:qn((()=>[ni(e.$slots,"optionItem",{item:t},(()=>[dr(a,{class:"u-select__item_text",style:fe({color:n.itemColor})},{default:qn((()=>[pr(q(t.name),1)])),_:2},1032,["style"])]),!0)])),_:2},1032,["class","onClick"])))),128))]),!0)])),_:3},8,["style"])):fr("",!0)])),_:3})])),_:3})}],["__scopeId","data-v-abf4791b"]]),VP=Object.freeze(Object.defineProperty({__proto__:null,default:HP},Symbol.toStringTag,{value:"Module"})),UP={props:{loading:{type:Boolean,default:()=>zk.skeleton.loading},animate:{type:Boolean,default:()=>zk.skeleton.animate},rows:{type:[String,Number],default:()=>zk.skeleton.rows},rowsWidth:{type:[String,Number,Array],default:()=>zk.skeleton.rowsWidth},rowsHeight:{type:[String,Number,Array],default:()=>zk.skeleton.rowsHeight},title:{type:Boolean,default:()=>zk.skeleton.title},titleWidth:{type:[String,Number],default:()=>zk.skeleton.titleWidth},titleHeight:{type:[String,Number],default:()=>zk.skeleton.titleHeight},avatar:{type:Boolean,default:()=>zk.skeleton.avatar},avatarSize:{type:[String,Number],default:()=>zk.skeleton.avatarSize},avatarShape:{type:String,default:()=>zk.skeleton.avatarShape}}};const WP=rA({name:"u-skeleton",mixins:[Lk,$k,UP],data:()=>({width:0}),watch:{loading(){this.getComponentWidth()}},computed:{rowsArray(){/%$/.test(this.rowsHeight);const e=[];for(let t=0;t<this.rows;t++){let n={},o=UC.array(this.rowsWidth)?this.rowsWidth[t]||(t===this.rows-1?"70%":"100%"):t===this.rows-1?"70%":this.rowsWidth,i=UC.array(this.rowsHeight)?this.rowsHeight[t]||"18px":this.rowsHeight;n.marginTop=this.title||0!==t?this.title&&0===t?"20px":"12px":0,/%$/.test(o)?n.width=ck(this.width*parseInt(o)/100):n.width=ck(o),n.height=ck(i),e.push(n)}return e},uTitleWidth(){let e=0;return e=/%$/.test(this.titleWidth)?ck(this.width*parseInt(this.titleWidth)/100):ck(this.titleWidth),ck(e)}},mounted(){this.init()},methods:{addUnit:ck,init(){this.getComponentWidth()},async setNvueAnimation(){},async getComponentWidth(){await ek(20),this.$uGetRect(".u-skeleton__wrapper__content").then((e=>{this.width=e.width}))}}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:"u-skeleton"},{default:qn((()=>[e.loading?(Zi(),ir(a,{key:0,class:"u-skeleton__wrapper",ref:"u-skeleton__wrapper",style:{display:"flex","flex-direction":"row"}},{default:qn((()=>[e.avatar?(Zi(),ir(a,{key:0,class:me(["u-skeleton__wrapper__avatar",[`u-skeleton__wrapper__avatar--${e.avatarShape}`,e.animate&&"animate"]]),style:fe({height:r.addUnit(e.avatarSize),width:r.addUnit(e.avatarSize)})},null,8,["class","style"])):fr("",!0),dr(a,{class:"u-skeleton__wrapper__content",ref:"u-skeleton__wrapper__content",style:{flex:"1"}},{default:qn((()=>[e.title?(Zi(),ir(a,{key:0,class:me(["u-skeleton__wrapper__content__title",[e.animate&&"animate"]]),style:fe({width:r.uTitleWidth,height:r.addUnit(e.titleHeight)})},null,8,["style","class"])):fr("",!0),(Zi(!0),or(qi,null,ti(r.rowsArray,((t,n)=>(Zi(),ir(a,{class:me(["u-skeleton__wrapper__content__rows",[e.animate&&"animate"]]),key:n,style:fe({width:t.width,height:t.height,marginTop:t.marginTop})},null,8,["class","style"])))),128))])),_:1},512)])),_:1},512)):ni(e.$slots,"default",{key:1},void 0,!0)])),_:3})}],["__scopeId","data-v-90373421"]]),QP=Object.freeze(Object.defineProperty({__proto__:null,default:WP},Symbol.toStringTag,{value:"Module"})),qP={props:{min:{type:[Number,String],default:()=>zk.slider.min},max:{type:[Number,String],default:()=>zk.slider.max},step:{type:[Number,String],default:()=>zk.slider.step},modelValue:{type:[String,Number],default:()=>zk.slider.value},isRange:{type:Boolean,default:!1},rangeValue:{type:[Array],default:[0,0]},activeColor:{type:String,default:()=>zk.slider.activeColor},inactiveColor:{type:String,default:()=>zk.slider.inactiveColor},blockSize:{type:[Number,String],default:()=>zk.slider.blockSize},blockColor:{type:String,default:()=>zk.slider.blockColor},blockStyle:{type:Object,default:()=>zk.slider.blockStyle},disabled:{type:Boolean,default:()=>zk.slider.disabled},showValue:{type:Boolean,default:()=>zk.slider.showValue},useNative:{type:Boolean,default:()=>zk.slider.useNative},height:{type:String,default:()=>zk.slider.height}}};const GP=rA({name:"u-slider",mixins:[Lk,$k,qP],emits:["start","changing","change","update:modelValue"],data:()=>({startX:0,status:"end",newValue:0,distanceX:0,startValue0:0,startValue:0,barStyle0:{},barStyle:{},sliderRect:{left:0,width:0}}),watch:{modelValue(e){"end"==this.status&&this.updateValue(this.modelValue,!1)},rangeValue:{handler(e){"end"==this.status&&(this.updateValue(this.rangeValue[0],!1,0),this.updateValue(this.rangeValue[1],!1,1))},deep:!0}},created(){},async mounted(){this.useNative||this.$uGetRect(".u-slider__base").then((e=>{this.sliderRect=e,0==this.sliderRect.width&&console.info("如在弹窗等元素中使用，请使用v-if来显示滑块，否则无法计算长度。"),this.init()}))},methods:{addStyle:lk,getPx:ZC,init(){this.isRange?(this.updateValue(this.rangeValue[0],!1,0),this.updateValue(this.rangeValue[1],!1,1)):this.updateValue(this.modelValue,!1)},changingHandler(e){const{value:t}=e.detail;this.$emit("update:modelValue",t),this.$emit("changing",t)},changeHandler(e){const{value:t}=e.detail;this.$emit("update:modelValue",t),this.$emit("change",t)},onTouchStart(e,t=1){if(this.disabled)return;this.startX=0;let n=e.touches[0];this.startX=n.clientX,this.isRange?(this.startValue0=this.format(this.rangeValue[0],0),this.startValue=this.format(this.rangeValue[1],1)):this.startValue=this.format(this.modelValue),this.status="start";let o=0;o=n.clientX,this.distanceX=o-this.sliderRect.left,this.newValue=this.distanceX/this.sliderRect.width*(this.max-this.min)+parseFloat(this.min),this.status="moving";let i=this.updateValue(this.newValue,!0,t);this.$emit("changing",i)},onTouchMove(e,t=1){if(this.disabled)return;"start"==this.status&&this.$emit("start");let n=0;n=e.touches[0].clientX,this.distanceX=n-this.sliderRect.left,this.newValue=this.distanceX/this.sliderRect.width*(this.max-this.min)+parseFloat(this.min),this.status="moving";let o=this.updateValue(this.newValue,!0,t);this.$emit("changing",o)},onTouchEnd(e,t=1){if(!this.disabled){if("moving"===this.status){let e=this.updateValue(this.newValue,!1,t);this.$emit("change",e)}this.status="end"}},onTouchStart2(e,t=1){this.isRange},onTouchMove2(e,t=1){this.isRange},onTouchEnd2(e,t=1){this.isRange},onClick(e){if(this.disabled)return;let t=e.detail.x-this.sliderRect.left;this.newValue=t/this.sliderRect.width*(this.max-this.min)+parseFloat(this.min),this.updateValue(this.newValue,!1,1)},updateValue(e,t,n=1){let o=this.format(e,n);o>this.max&&(o=this.max);let i={width:Math.min((o-this.min)/(this.max-this.min)*this.sliderRect.width,this.sliderRect.width)+"px"};switch(1==t?i.transition="none":delete i.transition,this.isRange?(this.rangeValue[n]=o,this.$emit("update:modelValue",this.rangeValue)):this.$emit("update:modelValue",o),n){case 0:this.barStyle0={...i};break;case 1:this.barStyle={...i}}return this.isRange?this.rangeValue:o},format(e,t=1){if(!this.isRange)return Math.round(Math.max(this.min,Math.min(e,this.max))/parseInt(this.step))*parseInt(this.step);switch(t){case 0:return Math.round(Math.max(this.min,Math.min(e,this.rangeValue[1]-parseInt(this.step),this.max))/parseInt(this.step))*parseInt(this.step);case 1:return Math.round(Math.max(this.min,this.rangeValue[0]+parseInt(this.step),Math.min(e,this.max))/parseInt(this.step))*parseInt(this.step)}}}},[["render",function(e,t,n,o,i,r){const a=Fg,s=Rg,l=Ig;return Zi(),ir(a,{class:"u-slider",style:fe([r.addStyle(e.customStyle)])},{default:qn((()=>[!e.useNative||e.isRange?(Zi(),or(qi,{key:0},[dr(a,{ref:"u-slider-inner",class:me(["u-slider-inner",[e.disabled?"u-slider--disabled":""]]),onClick:r.onClick,onOnTouchStart:t[4]||(t[4]=e=>r.onTouchStart2(e,1)),onTouchmove:t[5]||(t[5]=e=>r.onTouchMove2(e,1)),onTouchend:t[6]||(t[6]=e=>r.onTouchEnd2(e,1)),onTouchcancel:t[7]||(t[7]=e=>r.onTouchEnd2(e,1)),style:fe({height:e.isRange&&e.showValue?r.getPx(e.blockSize)+24+"px":r.getPx(e.blockSize)+"px"})},{default:qn((()=>[dr(a,{ref:"u-slider__base",class:"u-slider__base",style:fe([{height:e.height,backgroundColor:e.inactiveColor}])},null,8,["style"]),dr(a,{onClick:r.onClick,class:"u-slider__gap",style:fe([i.barStyle,{height:e.height,marginTop:"-"+e.height,backgroundColor:e.activeColor}])},null,8,["onClick","style"]),e.isRange?(Zi(),ir(a,{key:0,class:"u-slider__gap u-slider__gap-0",style:fe([i.barStyle0,{height:e.height,marginTop:"-"+e.height,backgroundColor:e.inactiveColor}])},null,8,["style"])):fr("",!0),e.isRange&&e.showValue?(Zi(),ir(s,{key:1,class:"u-slider__show-range-value",style:fe({left:r.getPx(i.barStyle0.width)+r.getPx(e.blockSize)/2+"px"})},{default:qn((()=>[pr(q(this.rangeValue[0]),1)])),_:1},8,["style"])):fr("",!0),e.isRange&&e.showValue?(Zi(),ir(s,{key:2,class:"u-slider__show-range-value",style:fe({left:r.getPx(i.barStyle.width)+r.getPx(e.blockSize)/2+"px"})},{default:qn((()=>[pr(q(this.rangeValue[1]),1)])),_:1},8,["style"])):fr("",!0),e.isRange?(Zi(),ir(a,{key:3,class:"u-slider__button-wrap u-slider__button-wrap-0",onTouchstart:t[0]||(t[0]=e=>r.onTouchStart(e,0)),onTouchmove:t[1]||(t[1]=e=>r.onTouchMove(e,0)),onTouchend:t[2]||(t[2]=e=>r.onTouchEnd(e,0)),onTouchcancel:t[3]||(t[3]=e=>r.onTouchEnd(e,0)),style:fe({left:r.getPx(i.barStyle0.width)+r.getPx(e.blockSize)/2+"px"})},{default:qn((()=>[e.$slots.min||e.$slots.$min?ni(e.$slots,"min",{key:0},void 0,!0):(Zi(),ir(a,{key:1,class:"u-slider__button",style:fe([e.blockStyle,{height:r.getPx(e.blockSize,!0),width:r.getPx(e.blockSize,!0),backgroundColor:e.blockColor}])},null,8,["style"]))])),_:3},8,["style"])):fr("",!0),dr(a,{class:"u-slider__button-wrap",onTouchstart:r.onTouchStart,onTouchmove:r.onTouchMove,onTouchend:r.onTouchEnd,onTouchcancel:r.onTouchEnd,style:fe({left:r.getPx(i.barStyle.width)+r.getPx(e.blockSize)/2+"px"})},{default:qn((()=>[e.isRange&&(e.$slots.max||e.$slots.$max)?ni(e.$slots,"max",{key:0},void 0,!0):e.$slots.default||e.$slots.$default?ni(e.$slots,"default",{key:1},void 0,!0):(Zi(),ir(a,{key:2,class:"u-slider__button",style:fe([e.blockStyle,{height:r.getPx(e.blockSize,!0),width:r.getPx(e.blockSize,!0),backgroundColor:e.blockColor}])},null,8,["style"]))])),_:3},8,["onTouchstart","onTouchmove","onTouchend","onTouchcancel","style"])])),_:3},8,["onClick","class","style"]),e.showValue&&!e.isRange?(Zi(),ir(a,{key:0,class:"u-slider__show-value"},{default:qn((()=>[pr(q(e.modelValue),1)])),_:1})):fr("",!0)],64)):(Zi(),ir(l,{key:1,class:"u-slider__native",min:e.min,max:e.max,step:e.step,value:e.modelValue,activeColor:e.activeColor,backgroundColor:e.inactiveColor,blockSize:r.getPx(e.blockSize),blockColor:e.blockColor,showValue:e.showValue,disabled:e.disabled,onChanging:r.changingHandler,onChange:r.changeHandler},null,8,["min","max","step","value","activeColor","backgroundColor","blockSize","blockColor","showValue","disabled","onChanging","onChange"]))])),_:3},8,["style"])}],["__scopeId","data-v-391c45c2"]]),YP=Object.freeze(Object.defineProperty({__proto__:null,default:GP},Symbol.toStringTag,{value:"Module"})),XP={props:{title:{type:[String,Number],default:()=>zk.stepsItem.title},desc:{type:[String,Number],default:()=>zk.stepsItem.desc},iconSize:{type:[String,Number],default:()=>zk.stepsItem.iconSize},error:{type:Boolean,default:()=>zk.stepsItem.error},itemStyle:{type:[Object],default:{}}}};const JP=rA({name:"u-steps-item",mixins:[Lk,$k,XP],data:()=>({index:0,childLength:0,showLine:!1,size:{height:0,width:0},parentData:{direction:"row",current:0,activeColor:"",inactiveColor:"",activeIcon:"",inactiveIcon:"",dot:!1}}),watch:{parentData(e,t){}},created(){this.init()},computed:{lineStyle(){var e,t;const n={};return"row"===this.parentData.direction?(n.width=this.size.width+"px",n.left=this.size.width/2+"px"):n.height=this.size.height+"px",n.backgroundColor=(null==(t=null==(e=this.parent.children)?void 0:e[this.index+1])?void 0:t.error)?CC.error:this.index<this.parentData.current?this.parentData.activeColor:this.parentData.inactiveColor,n},itemStyleInner(){return{...this.itemStyle}},statusClass(){const{index:e,error:t}=this,{current:n}=this.parentData;return n==e?!0===t?"error":"process":t?"error":n>e?"finish":"wait"},statusColor(){let e="";switch(this.statusClass){case"finish":e=this.parentData.activeColor;break;case"error":e=CC.error;break;case"process":e=this.parentData.dot?this.parentData.activeColor:"transparent";break;default:e=this.parentData.inactiveColor}return e},contentStyle(){const e={};return"column"===this.parentData.direction?(e.marginLeft=this.parentData.dot?"2px":"6px",e.marginTop=this.parentData.dot?"0px":"6px"):(e.marginTop=this.parentData.dot?"2px":"6px",e.marginLeft=this.parentData.dot?"2px":"6px"),e}},mounted(){this.parent&&this.parent.updateFromChild(),ek().then((()=>{this.getStepsItemRect()}))},methods:{init(){this.updateParentData(),this.parent&&(this.index=this.parent.children.indexOf(this),this.childLength=this.parent.children.length)},updateParentData(){this.getParentData("u-steps")},updateFromParent(){this.init()},getStepsItemRect(){this.$uGetRect(".u-steps-item").then((e=>{this.size=e}))}}},[["render",function(e,t,n,o,i,r){const a=Fg,s=fA(eo("u-icon"),hA),l=Rg,c=fA(eo("up-text"),NA);return Zi(),ir(a,{class:me(["u-steps-item",[`u-steps-item--${i.parentData.direction}`]]),ref:"u-steps-item"},{default:qn((()=>[i.index+1<i.childLength?(Zi(),ir(a,{key:0,class:me(["u-steps-item__line",[`u-steps-item__line--${i.parentData.direction}`]]),style:fe([r.lineStyle])},null,8,["class","style"])):fr("",!0),dr(a,{class:me(["u-steps-item__wrapper",[`u-steps-item__wrapper--${i.parentData.direction}`,i.parentData.dot&&`u-steps-item__wrapper--${i.parentData.direction}--dot`]]),style:fe([r.itemStyleInner])},{default:qn((()=>[ni(e.$slots,"icon",{},(()=>[i.parentData.dot?(Zi(),ir(a,{key:0,class:"u-steps-item__wrapper__dot",style:fe({backgroundColor:r.statusColor})},null,8,["style"])):i.parentData.activeIcon||i.parentData.inactiveIcon?(Zi(),ir(a,{key:1,class:"u-steps-item__wrapper__icon"},{default:qn((()=>[dr(s,{name:i.index<=i.parentData.current?i.parentData.activeIcon:i.parentData.inactiveIcon,size:e.iconSize,color:i.index<=i.parentData.current?i.parentData.activeColor:i.parentData.inactiveColor},null,8,["name","size","color"])])),_:1})):(Zi(),ir(a,{key:2,style:fe({backgroundColor:"process"===r.statusClass?i.parentData.activeColor:"transparent",borderColor:r.statusColor}),class:"u-steps-item__wrapper__circle"},{default:qn((()=>["process"===r.statusClass||"wait"===r.statusClass?(Zi(),ir(l,{key:0,class:"u-steps-item__wrapper__circle__text",style:fe({color:i.index==i.parentData.current?"#ffffff":i.parentData.inactiveColor})},{default:qn((()=>[pr(q(i.index+1),1)])),_:1},8,["style"])):(Zi(),ir(s,{key:1,color:"error"===r.statusClass?"error":i.parentData.activeColor,size:"12",name:"error"===r.statusClass?"close":"checkmark"},null,8,["color","name"]))])),_:1},8,["style"]))]),!0)])),_:3},8,["class","style"]),dr(a,{class:me(["u-steps-item__content",[`u-steps-item__content--${i.parentData.direction}`,i.parentData.current==i.index?"u-steps-item__content--current":""]]),style:fe([r.contentStyle])},{default:qn((()=>[ni(e.$slots,"content",{index:i.index},void 0,!0),e.$slots.content?fr("",!0):(Zi(),or(qi,{key:0},[dr(a,{class:"u-steps-item__content__title"},{default:qn((()=>[ni(e.$slots,"title",{},void 0,!0),e.$slots.title?fr("",!0):(Zi(),ir(c,{key:0,text:e.title,type:i.parentData.current==i.index?"main":"content",lineHeight:"20px",size:i.parentData.current==i.index?14:13},null,8,["text","type","size"]))])),_:3}),dr(a,{class:"u-steps-item__content__desc"},{default:qn((()=>[ni(e.$slots,"desc",{},void 0,!0),e.$slots.desc?fr("",!0):(Zi(),ir(c,{key:0,text:e.desc,type:"tips",size:"12"},null,8,["text"]))])),_:3})],64))])),_:3},8,["class","style"])])),_:3},8,["class"])}],["__scopeId","data-v-c6ecf43a"]]),KP=Object.freeze(Object.defineProperty({__proto__:null,default:JP},Symbol.toStringTag,{value:"Module"})),ZP={props:{direction:{type:String,default:()=>zk.steps.direction},current:{type:[String,Number],default:()=>zk.steps.current},activeColor:{type:String,default:()=>zk.steps.activeColor},inactiveColor:{type:String,default:()=>zk.steps.inactiveColor},activeIcon:{type:String,default:()=>zk.steps.activeIcon},inactiveIcon:{type:String,default:()=>zk.steps.inactiveIcon},dot:{type:Boolean,default:()=>zk.steps.dot}}};const eO=rA({name:"u-steps",mixins:[Lk,$k,ZP],data:()=>({}),watch:{children(){this.updateChildData()},parentData(){this.updateChildData()}},computed:{parentData(){return[this.current,this.direction,this.activeColor,this.inactiveColor,this.activeIcon,this.inactiveIcon,this.dot]}},methods:{updateChildData(){this.children.map((e=>{UC.func((e||{}).updateFromParent())&&e.updateFromParent()}))},updateFromChild(){this.updateChildData()}},created(){this.children=[]},options:{virtualHost:!1}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:me(["u-steps",[`u-steps--${e.direction}`]])},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["class"])}],["__scopeId","data-v-237060fe"]]),tO=Object.freeze(Object.defineProperty({__proto__:null,default:eO},Symbol.toStringTag,{value:"Module"})),nO={props:{offsetTop:{type:[String,Number],default:()=>zk.sticky.offsetTop},customNavHeight:{type:[String,Number],default:44},disabled:{type:Boolean,default:()=>zk.sticky.disabled},bgColor:{type:String,default:()=>zk.sticky.bgColor},zIndex:{type:[String,Number],default:()=>zk.sticky.zIndex},index:{type:[String,Number],default:()=>zk.sticky.index}}};const oO=rA({name:"u-sticky",mixins:[Lk,$k,nO],data:()=>({cssSticky:!1,stickyTop:0,elId:ak(),left:0,width:"auto",height:"auto",fixed:!1}),computed:{style(){const e={};return this.disabled?e.position="static":this.cssSticky?(e.position="sticky",e.zIndex=this.uZindex,e.top=ck(this.stickyTop)):e.height=this.fixed?this.height+"px":"auto",e.backgroundColor=this.bgColor,dk(lk(this.customStyle),e)},stickyContent(){const e={};return this.cssSticky||(e.position=this.fixed?"fixed":"static",e.top=this.stickyTop+"px",e.left=this.left+"px",e.width="auto"==this.width?"auto":this.width+"px",e.zIndex=this.uZindex),e},uZindex(){return this.zIndex?this.zIndex:xC.sticky}},mounted(){this.init()},methods:{init(){this.getStickyTop(),this.checkSupportCssSticky(),this.cssSticky||!this.disabled&&this.initObserveContent()},initObserveContent(){this.$uGetRect("#"+this.elId).then((e=>{this.height=e.height,this.left=e.left,this.width=e.width,this.$nextTick((()=>{this.observeContent()}))}))},observeContent(){this.disconnectObserver("contentObserver");const e=dh({thresholds:[.95,.98,1]});e.relativeToViewport({top:-this.stickyTop}),e.observe(`#${this.elId}`,(e=>{this.setFixed(e.boundingClientRect.top)})),this.contentObserver=e},setFixed(e){const t=e<=this.stickyTop;this.fixed=t},disconnectObserver(e){const t=this[e];t&&t.disconnect()},getStickyTop(){this.stickyTop=ZC(this.offsetTop)+ZC(this.customNavHeight)},async checkSupportCssSticky(){this.checkCssStickyForH5()&&(this.cssSticky=!0),"android"===tk()&&Number(ik().system)>8&&(this.cssSticky=!0),"ios"===tk()&&(this.cssSticky=!0)},checkComputedStyle(){},checkCssStickyForH5(){const e=["","-webkit-","-ms-","-moz-","-o-"],t=e.length,n=document.createElement("div");for(let o=0;o<t;o++)if(n.style.position=e[o]+"sticky",""!==n.style.position)return!0;return!1}},beforeUnmount(){this.disconnectObserver("contentObserver")}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:"u-sticky",id:i.elId,style:fe([r.style])},{default:qn((()=>[dr(a,{style:fe([r.stickyContent]),class:"u-sticky__content"},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["style"])])),_:3},8,["id","style"])}],["__scopeId","data-v-3e0afe19"]]),iO=Object.freeze(Object.defineProperty({__proto__:null,default:oO},Symbol.toStringTag,{value:"Module"})),rO={props:{list:{type:Array,default:()=>zk.subsection.list},current:{type:[String,Number],default:()=>zk.subsection.current},activeColor:{type:String,default:()=>zk.subsection.activeColor},inactiveColor:{type:String,default:()=>zk.subsection.inactiveColor},mode:{type:String,default:()=>zk.subsection.mode},fontSize:{type:[String,Number],default:()=>zk.subsection.fontSize},bold:{type:Boolean,default:()=>zk.subsection.bold},bgColor:{type:String,default:()=>zk.subsection.bgColor},keyName:{type:String,default:()=>zk.subsection.keyName}}};const aO=rA({name:"u-subsection",mixins:[Lk,$k,rO],data:()=>({itemRect:{width:0,height:0},innerCurrent:"",windowResizeCallback:{}}),watch:{list(e,t){this.init()},current:{immediate:!0,handler(e){e!==this.innerCurrent&&(this.innerCurrent=e)}}},computed:{wrapperStyle(){const e={};return"button"===this.mode&&(e.backgroundColor=this.bgColor),e},barStyle(){const e={};return e.width=`${this.itemRect.width}px`,e.height=`${this.itemRect.height}px`,e.transform=`translateX(${this.innerCurrent*this.itemRect.width}px)`,"subsection"===this.mode&&(e.backgroundColor=this.activeColor),e},itemStyle(e){return e=>{const t={};return"subsection"===this.mode&&(t.borderColor=this.activeColor,t.borderWidth="1px",t.borderStyle="solid"),t}},textStyle(e){return e=>{const t={};return t.fontWeight=this.bold&&this.innerCurrent===e?"bold":"normal",t.fontSize=ck(this.fontSize),"subsection"===this.mode?t.color=this.innerCurrent===e?"#fff":this.inactiveColor:t.color=this.innerCurrent===e?this.activeColor:this.inactiveColor,t}}},mounted(){this.init(),this.windowResizeCallback=e=>{this.init()},Ch(this.windowResizeCallback)},beforeUnmount(){kh(this.windowResizeCallback)},emits:["change"],methods:{addStyle:lk,init(){this.innerCurrent=this.current,ek().then((()=>this.getRect()))},getText(e){return"object"==typeof e?e[this.keyName]:e},getRect(){this.$uGetRect(".u-subsection__item--0").then((e=>{this.itemRect=e}))},clickHandler(e){this.innerCurrent=e,this.$emit("change",e)}}},[["render",function(e,t,n,o,i,r){const a=Fg,s=Rg;return Zi(),ir(a,{class:me(["u-subsection",[`u-subsection--${e.mode}`]]),ref:"u-subsection",style:fe([r.addStyle(e.customStyle),r.wrapperStyle])},{default:qn((()=>[dr(a,{class:me(["u-subsection__bar cursor-pointer",["button"===e.mode&&"u-subsection--button__bar",0===i.innerCurrent&&"subsection"===e.mode&&"u-subsection__bar--first",i.innerCurrent>0&&i.innerCurrent<e.list.length-1&&"subsection"===e.mode&&"u-subsection__bar--center",i.innerCurrent===e.list.length-1&&"subsection"===e.mode&&"u-subsection__bar--last"]]),ref:"u-subsection__bar",style:fe([r.barStyle])},null,8,["style","class"]),(Zi(!0),or(qi,null,ti(e.list,((t,n)=>(Zi(),ir(a,{class:me(["u-subsection__item cursor-pointer",[`u-subsection__item--${n}`,n<e.list.length-1&&"u-subsection__item--no-border-right",0===n&&"u-subsection__item--first",n===e.list.length-1&&"u-subsection__item--last"]]),ref_for:!0,ref:`u-subsection__item--${n}`,style:fe([r.itemStyle(n)]),onClick:e=>r.clickHandler(n),key:n},{default:qn((()=>[dr(s,{class:"u-subsection__item__text",style:fe([r.textStyle(n)])},{default:qn((()=>[pr(q(r.getText(t)),1)])),_:2},1032,["style"])])),_:2},1032,["class","style","onClick"])))),128))])),_:1},8,["class","style"])}],["__scopeId","data-v-86e6b97b"]]),sO=Object.freeze(Object.defineProperty({__proto__:null,default:aO},Symbol.toStringTag,{value:"Module"}));const lO={props:{show:{type:Boolean,default:()=>zk.swipeActionItem.show},closeOnClick:{type:Boolean,default:()=>zk.swipeActionItem.closeOnClick},name:{type:[String,Number],default:()=>zk.swipeActionItem.name},disabled:{type:Boolean,default:()=>zk.swipeActionItem.disabled},autoClose:{type:Boolean,default:()=>zk.swipeActionItem.autoClose},threshold:{type:Number,default:()=>zk.swipeActionItem.threshold},options:{type:Array,default:()=>zk.swipeActionItem.rightOptions},duration:{type:[String,Number],default:()=>zk.swipeActionItem.duration}}};function cO(e){return e.toString().indexOf("s")>=0?e:e>30?e+"ms":e+"s"}function uO(e,t,n){t.getState(),n.selectAllComponents(".u-swipe-action-item__right__button"),t.requestAnimationFrame((function(){t.setStyle({transition:"none",transform:"translateX("+e+"px)","-webkit-transform":"translateX("+e+"px)"})}))}function dO(e,t){var n=e.getState();t.selectAllComponents(".u-swipe-action-item__right__button");var o=cO(n.duration),i=-n.buttonsWidth;e.requestAnimationFrame((function(){e.setStyle({transition:"transform "+o,transform:"translateX("+i+"px)","-webkit-transform":"translateX("+i+"px)"})})),hO("open",e,t)}function hO(e,t,n){t.getState().status=e,n.callMethod("setState",e)}function pO(e,t){var n=e.getState(),o=t.selectAllComponents(".u-swipe-action-item__right__button"),i=o.length,r=cO(n.duration);e.requestAnimationFrame((function(){e.setStyle({transition:"transform "+r,transform:"translateX(0px)","-webkit-transform":"translateX(0px)"});for(var t=i-1;t>=0;t--)o[t].setStyle({transition:"transform "+r,transform:"translateX(0px)","-webkit-transform":"translateX(0px)"})})),hO("close",e,t)}const fO={touchstart:function(e,t){var n=e.instance.getState();if(!n.disabled){var o=e.touches;o&&o.length>1||(n.moving=!0,n.startX=o[0].pageX,n.startY=o[0].pageY,t.callMethod("closeOther"))}},touchmove:function(e,t){var n=e.instance,o=n.getState();if(!o.disabled&&o.moving){var i=e.touches,r=i[0].pageX,a=i[0].pageY,s=r-o.startX,l=a-o.startY,c=o.buttonsWidth;(Math.abs(s)>Math.abs(l)||Math.abs(s)>o.threshold)&&(e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation()),Math.abs(s)<Math.abs(l)||("open"===o.status?(s<0&&(s=0),s>c&&(s=c),uO(-c+s,n,t)):(s>0&&(s=0),Math.abs(s)>c&&(s=-c),uO(s,n,t)))}},touchend:function(e,t){var n=e.instance,o=n.getState();if(o.moving&&!o.disabled){var i=e.changedTouches?e.changedTouches[0]:{},r=i.pageX;i.pageY;var a=r-o.startX;if("open"===o.status){if(a<0)return;if(0===a)return pO(n,t);Math.abs(a)<o.threshold?dO(n,t):pO(n,t)}else{if(a>0)return;Math.abs(a)<o.threshold?pO(n,t):dO(n,t)}}},sizeChange:function(e,t,n,o){var i=o.getState();if(i&&e){if(i.disabled=e.disabled,i.duration=e.duration,i.show=e.show,i.threshold=e.threshold,i.buttons=e.buttons,i.buttons)for(var r=i.buttons.length,a=0,s=e.buttons,l=0;l<r;l++)a+=s[l].width;i.buttonsWidth=a,i.show&&dO(o,n)}},statusChange:function(e,t,n,o){var i=o.getState();i.disabled||("close"===e&&"open"===i.status?pO(o,n):"open"===e&&"close"===i.status&&dO(o,n))}},mO=e=>{e.$wxs||(e.$wxs=[]),e.$wxs.push("wxs"),e.mixins||(e.mixins=[]),e.mixins.push({beforeCreate(){this.wxs=fO}})},gO={name:"u-swipe-action-item",emits:["click","update:show"],mixins:[Lk,$k,{methods:{getTouchPoint:e=>e?e.touches&&e.touches[0]?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches[0]?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.clientX||0,y:e.clientY||0}:{x:0,y:0},resetTouchStatus(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0},touchStart(e){this.resetTouchStatus();const t=this.getTouchPoint(e);this.startX=t.x,this.startY=t.y},touchMove(e){const t=this.getTouchPoint(e);var n,o;this.deltaX=t.x-this.startX,this.deltaY=t.y-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY),this.direction=this.direction||(n=this.offsetX,o=this.offsetY,n>o&&n>10?"horizontal":o>n&&o>10?"vertical":"")}}},{methods:{closeHandler(){this.status="close"},setState(e){this.status=e},closeOther(){this.parent&&this.parent.closeOther(this)}}},lO],data:()=>({size:{},parentData:{autoClose:!0},status:"",sliderStyle:{}}),watch:{wxsInit(e,t){this.queryRect()},status(e){"open"===e?(this.$emit("update:show",!0),this.parent&&this.parent.setOpendItem(this)):this.$emit("update:show",!1)},show(e){this.status=e?"open":"close"}},computed:{wxsInit(){return[this.disabled,this.autoClose,this.threshold,this.options,this.duration]}},mounted(){this.init()},beforeUmount(){this.closeHandler()},methods:{addUnit:ck,getPx:ZC,init(){this.updateParentData(),ek().then((()=>{this.queryRect()}))},updateParentData(){this.getParentData("u-swipe-action")},queryRect(){this.$uGetRect(".u-swipe-action-item__right__button",!0).then((e=>{this.size={buttons:e,show:this.show,disabled:this.disabled,threshold:this.threshold,duration:this.duration}}))},buttonClickHandler(e,t){this.$emit("click",{index:t,name:this.name},(()=>{})),this.closeOnClick&&this.closeHandler()}}};mO(gO);const yO=rA(gO,[["render",function(e,t,n,o,i,r){const a=fA(eo("u-icon"),hA),s=Rg,l=Fg;return Zi(),ir(l,{class:"u-swipe-action-item",ref:"u-swipe-action-item"},{default:qn((()=>[dr(l,{class:"u-swipe-action-item__right"},{default:qn((()=>[ni(e.$slots,"button",{},(()=>[(Zi(!0),or(qi,null,ti(e.options,((e,t)=>(Zi(),ir(l,{key:t,class:"u-swipe-action-item__right__button",ref_for:!0,ref:`u-swipe-action-item__right__button-${t}`,style:fe([{alignItems:e.style&&e.style.borderRadius?"center":"stretch"}]),onClick:n=>r.buttonClickHandler(e,t)},{default:qn((()=>[dr(l,{class:"u-swipe-action-item__right__button__wrapper",style:fe([{backgroundColor:e.style&&e.style.backgroundColor?e.style.backgroundColor:"#C7C6CD",borderRadius:e.style&&e.style.borderRadius?e.style.borderRadius:"0",padding:e.style&&e.style.borderRadius?"0":"0 15px"},e.style])},{default:qn((()=>[e.icon?(Zi(),ir(a,{key:0,name:e.icon,color:e.style&&e.style.color?e.style.color:"#ffffff",size:e.iconSize?r.addUnit(e.iconSize):e.style&&e.style.fontSize?1.2*r.getPx(e.style.fontSize):17,customStyle:{marginRight:e.text?"2px":0}},null,8,["name","color","size","customStyle"])):fr("",!0),e.text?(Zi(),ir(s,{key:1,class:"u-swipe-action-item__right__button__wrapper__text u-line-1",style:fe([{color:e.style&&e.style.color?e.style.color:"#ffffff",fontSize:e.style&&e.style.fontSize?e.style.fontSize:"16px",lineHeight:e.style&&e.style.fontSize?e.style.fontSize:"16px"}])},{default:qn((()=>[pr(q(e.text),1)])),_:2},1032,["style"])):fr("",!0)])),_:2},1032,["style"])])),_:2},1032,["style","onClick"])))),128))]),!0)])),_:3}),dr(l,{class:"u-swipe-action-item__content",onTouchstart:e.wxs.touchstart,onTouchmove:e.wxs.touchmove,onTouchend:e.wxs.touchend,status:i.status,"change:status":e.wxs.statusChange,size:i.size,"change:size":e.wxs.sizeChange},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["onTouchstart","onTouchmove","onTouchend","status","change:status","size","change:size"])])),_:3},512)}],["__scopeId","data-v-829a74e0"]]),bO=Object.freeze(Object.defineProperty({__proto__:null,default:yO},Symbol.toStringTag,{value:"Module"})),vO={props:{autoClose:{type:Boolean,default:()=>zk.swipeAction.autoClose},opendItem:{type:Boolean,default:!1}}};const _O=rA({name:"u-swipe-action",mixins:[Lk,$k,vO],data:()=>({}),provide(){return{swipeAction:this}},computed:{parentData(){return[this.autoClose]}},emits:["opendItem:update"],watch:{parentData(){this.children.length&&this.children.map((e=>{"function"==typeof e.updateParentData&&e.updateParentData()}))},opendItem(e){0==e&&this.closeAll()}},created(){this.children=[]},methods:{closeOther(e){this.autoClose&&this.children.map(((t,n)=>{e!==t&&t.closeHandler()}))},closeAll(){this.children.map(((e,t)=>{e.closeHandler()}))},setOpendItem(e){this.$emit("opendItem:update",!0)}}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:"u-swipe-action"},{default:qn((()=>[ni(e.$slots,"default")])),_:3})}]]),SO=Object.freeze(Object.defineProperty({__proto__:null,default:_O},Symbol.toStringTag,{value:"Module"}));const wO=rA({name:"u-swiper-indicator",mixins:[Lk,$k,{props:{length:{type:[String,Number],default:()=>zk.swiperIndicator.length},current:{type:[String,Number],default:()=>zk.swiperIndicator.current},indicatorActiveColor:{type:String,default:()=>zk.swiperIndicator.indicatorActiveColor},indicatorInactiveColor:{type:String,default:()=>zk.swiperIndicator.indicatorInactiveColor},indicatorMode:{type:String,default:()=>zk.swiperIndicator.indicatorMode}}}],data:()=>({lineWidth:22}),computed:{lineStyle(){let e={};return e.width=ck(this.lineWidth),e.transform=`translateX(${ck(this.current*this.lineWidth)})`,e.backgroundColor=this.indicatorActiveColor,e},dotStyle(){return e=>{let t={};return t.backgroundColor=e===this.current?this.indicatorActiveColor:this.indicatorInactiveColor,t}}},methods:{addUnit:ck}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:"u-swiper-indicator"},{default:qn((()=>["line"===e.indicatorMode?(Zi(),ir(a,{key:0,class:me(["u-swiper-indicator__wrapper",[`u-swiper-indicator__wrapper--${e.indicatorMode}`]]),style:fe({width:r.addUnit(i.lineWidth*e.length),backgroundColor:e.indicatorInactiveColor})},{default:qn((()=>[dr(a,{class:"u-swiper-indicator__wrapper--line__bar",style:fe([r.lineStyle])},null,8,["style"])])),_:1},8,["class","style"])):fr("",!0),"dot"===e.indicatorMode?(Zi(),ir(a,{key:1,class:"u-swiper-indicator__wrapper"},{default:qn((()=>[(Zi(!0),or(qi,null,ti(e.length,((t,n)=>(Zi(),ir(a,{class:me(["u-swiper-indicator__wrapper__dot",[n===e.current&&"u-swiper-indicator__wrapper__dot--active"]]),key:n,style:fe([r.dotStyle(n)])},null,8,["class","style"])))),128))])),_:1})):fr("",!0)])),_:1})}],["__scopeId","data-v-4c08e305"]]),xO=Object.freeze(Object.defineProperty({__proto__:null,default:wO},Symbol.toStringTag,{value:"Module"})),CO={props:{list:{type:Array,default:()=>zk.swiper.list},indicator:{type:Boolean,default:()=>zk.swiper.indicator},indicatorActiveColor:{type:String,default:()=>zk.swiper.indicatorActiveColor},indicatorInactiveColor:{type:String,default:()=>zk.swiper.indicatorInactiveColor},indicatorStyle:{type:[String,Object],default:()=>zk.swiper.indicatorStyle},indicatorMode:{type:String,default:()=>zk.swiper.indicatorMode},autoplay:{type:Boolean,default:()=>zk.swiper.autoplay},current:{type:[String,Number],default:()=>zk.swiper.current},currentItemId:{type:String,default:()=>zk.swiper.currentItemId},interval:{type:[String,Number],default:()=>zk.swiper.interval},duration:{type:[String,Number],default:()=>zk.swiper.duration},circular:{type:Boolean,default:()=>zk.swiper.circular},previousMargin:{type:[String,Number],default:()=>zk.swiper.previousMargin},nextMargin:{type:[String,Number],default:()=>zk.swiper.nextMargin},acceleration:{type:Boolean,default:()=>zk.swiper.acceleration},displayMultipleItems:{type:Number,default:()=>zk.swiper.displayMultipleItems},easingFunction:{type:String,default:()=>zk.swiper.easingFunction},keyName:{type:String,default:()=>zk.swiper.keyName},imgMode:{type:String,default:()=>zk.swiper.imgMode},height:{type:[String,Number],default:()=>zk.swiper.height},bgColor:{type:String,default:()=>zk.swiper.bgColor},radius:{type:[String,Number],default:()=>zk.swiper.radius},loading:{type:Boolean,default:()=>zk.swiper.loading},showTitle:{type:Boolean,default:()=>zk.swiper.showTitle}}};const kO=rA({name:"u-swiper",mixins:[Lk,$k,CO],data:()=>({currentIndex:0}),watch:{current(e,t){e!==t&&(this.currentIndex=e)}},emits:["click","change","update:current"],computed:{itemStyle(){return e=>{const t={};return this.nextMargin&&this.previousMargin&&(t.borderRadius=ck(this.radius),e!==this.currentIndex&&(t.transform="scale(0.92)")),t}}},methods:{addStyle:lk,addUnit:ck,testObject:UC.object,testImage:UC.image,getItemType(e){return"string"==typeof e?UC.video(this.getSource(e))?"video":"image":"object"==typeof e&&this.keyName?e.type?"image"===e.type?"image":"video"===e.type?"video":"image":UC.video(this.getSource(e))?"video":"image":void 0},getSource(e){return"string"==typeof e?e:"object"==typeof e&&this.keyName?e[this.keyName]:""},change(e){const{current:t}=e.detail;this.pauseVideo(this.currentIndex),this.currentIndex=t,this.$emit("update:current",this.currentIndex),this.$emit("change",e.detail)},pauseVideo(e){const t=this.getSource(this.list[e]);if(UC.video(t)){Ld(`video-${e}`,this).pause()}},getPoster:e=>"object"==typeof e&&e.poster?e.poster:"",clickHandler(e){this.$emit("click",e)}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("up-loading-icon"),eT),s=Fg,l=sm,c=Ay,u=Rg,d=Mg,h=Pg,p=fA(eo("up-swiper-indicator"),wO);return Zi(),ir(s,{class:"u-swiper",style:fe({backgroundColor:e.bgColor,height:r.addUnit(e.height),borderRadius:r.addUnit(e.radius)})},{default:qn((()=>[e.loading?(Zi(),ir(s,{key:0,class:"u-swiper__loading"},{default:qn((()=>[dr(a,{mode:"circle"})])),_:1})):(Zi(),ir(h,{key:1,class:"u-swiper__wrapper",style:fe({flex:"1",height:r.addUnit(e.height)}),onChange:r.change,circular:e.circular,interval:e.interval,duration:e.duration,autoplay:e.autoplay,current:e.current,currentItemId:e.currentItemId,previousMargin:r.addUnit(e.previousMargin),nextMargin:r.addUnit(e.nextMargin),acceleration:e.acceleration,displayMultipleItems:e.displayMultipleItems,easingFunction:e.easingFunction},{default:qn((()=>[(Zi(!0),or(qi,null,ti(e.list,((t,n)=>(Zi(),ir(d,{class:"u-swiper__wrapper__item",key:n},{default:qn((()=>[ni(e.$slots,"default",{item:t,index:n},(()=>[dr(s,{class:"u-swiper__wrapper__item__wrapper",style:fe([r.itemStyle(n)])},{default:qn((()=>["image"===r.getItemType(t)?(Zi(),ir(l,{key:0,class:"u-swiper__wrapper__item__wrapper__image",src:r.getSource(t),mode:e.imgMode,onClick:e=>r.clickHandler(n),style:fe({height:r.addUnit(e.height),borderRadius:r.addUnit(e.radius)})},null,8,["src","mode","onClick","style"])):fr("",!0),"video"===r.getItemType(t)?(Zi(),ir(c,{key:1,class:"u-swiper__wrapper__item__wrapper__video",id:`video-${n}`,"enable-progress-gesture":!1,src:r.getSource(t),poster:r.getPoster(t),title:e.showTitle&&r.testObject(t)&&t.title?t.title:"",style:fe({height:r.addUnit(e.height)}),controls:"",onClick:e=>r.clickHandler(n)},null,8,["id","src","poster","title","style","onClick"])):fr("",!0),e.showTitle&&r.testObject(t)&&t.title&&r.testImage(r.getSource(t))?(Zi(),ir(s,{key:2,class:"u-swiper__wrapper__item__wrapper__title"},{default:qn((()=>[dr(u,{class:"u-line-1"},{default:qn((()=>[pr(q(t.title),1)])),_:2},1024)])),_:2},1024)):fr("",!0)])),_:2},1032,["style"])]),!0)])),_:2},1024)))),128))])),_:3},8,["style","onChange","circular","interval","duration","autoplay","current","currentItemId","previousMargin","nextMargin","acceleration","displayMultipleItems","easingFunction"])),dr(s,{class:"u-swiper__indicator",style:fe([r.addStyle(e.indicatorStyle)])},{default:qn((()=>[ni(e.$slots,"indicator",{},(()=>[e.loading||!e.indicator||e.showTitle?fr("",!0):(Zi(),ir(p,{key:0,indicatorActiveColor:e.indicatorActiveColor,indicatorInactiveColor:e.indicatorInactiveColor,length:e.list.length,current:i.currentIndex,indicatorMode:e.indicatorMode},null,8,["indicatorActiveColor","indicatorInactiveColor","length","current","indicatorMode"]))]),!0)])),_:3},8,["style"])])),_:3},8,["style"])}],["__scopeId","data-v-aee614c4"]]),AO=Object.freeze(Object.defineProperty({__proto__:null,default:kO},Symbol.toStringTag,{value:"Module"})),TO={props:{loading:{type:Boolean,default:()=>zk.switch.loading},disabled:{type:Boolean,default:()=>zk.switch.disabled},size:{type:[String,Number],default:()=>zk.switch.size},activeColor:{type:String,default:()=>zk.switch.activeColor},inactiveColor:{type:String,default:()=>zk.switch.inactiveColor},modelValue:{type:[Boolean,String,Number],default:()=>zk.switch.value},activeValue:{type:[String,Number,Boolean],default:()=>zk.switch.activeValue},inactiveValue:{type:[String,Number,Boolean],default:()=>zk.switch.inactiveValue},asyncChange:{type:Boolean,default:()=>zk.switch.asyncChange},space:{type:[String,Number],default:()=>zk.switch.space}}};const IO=rA({name:"u-switch",mixins:[Lk,$k,TO],watch:{modelValue:{immediate:!0,handler(e){e!==this.inactiveValue&&this.activeValue}}},data:()=>({bgColor:"#ffffff"}),computed:{isActive(){return this.modelValue===this.activeValue},switchStyle(){let e={};return e.width=ck(2*this.size+2),e.height=ck(Number(this.size)+2),this.customInactiveColor&&(e.borderColor="rgba(0, 0, 0, 0)"),e.backgroundColor=this.isActive?this.activeColor:this.inactiveColor,e},nodeStyle(){let e={};e.width=ck(this.size-this.space),e.height=ck(this.size-this.space);const t=this.isActive?ck(this.space):ck(this.size);return e.transform=`translateX(-${t})`,e},bgStyle(){let e={};return e.width=ck(2*Number(this.size)-this.size/2),e.height=ck(this.size),e.backgroundColor=this.inactiveColor,e.transform=`scale(${this.isActive?0:1})`,e},customInactiveColor(){return"#fff"!==this.inactiveColor&&"#ffffff"!==this.inactiveColor}},emits:["update:modelValue","change"],methods:{addStyle:lk,clickHandler(){if(!this.disabled&&!this.loading){const e=this.isActive?this.inactiveValue:this.activeValue;this.asyncChange||this.$emit("update:modelValue",e),this.$nextTick((()=>{this.$emit("change",e)}))}}}},[["render",function(e,t,n,o,i,r){const a=Fg,s=fA(eo("u-loading-icon"),eT);return Zi(),ir(a,{class:me(["u-switch cursor-pointer",[e.disabled&&"u-switch--disabled"]]),style:fe([r.switchStyle,r.addStyle(e.customStyle)]),onClick:r.clickHandler},{default:qn((()=>[dr(a,{class:"u-switch__bg",style:fe([r.bgStyle])},null,8,["style"]),dr(a,{class:me(["u-switch__node",[e.modelValue&&"u-switch__node--on"]]),style:fe([r.nodeStyle]),ref:"u-switch__node"},{default:qn((()=>[dr(s,{show:e.loading,mode:"circle",timingFunction:"linear",color:e.modelValue?e.activeColor:"#AAABAD",size:.6*e.size},null,8,["show","color","size"])])),_:1},8,["class","style"])])),_:1},8,["class","style","onClick"])}],["__scopeId","data-v-63648a3b"]]),BO=Object.freeze(Object.defineProperty({__proto__:null,default:IO},Symbol.toStringTag,{value:"Module"})),EO={props:{name:{type:[String,Number,null],default:()=>zk.tabbarItem.name},icon:{icon:String,default:()=>zk.tabbarItem.icon},badge:{type:[String,Number,null],default:()=>zk.tabbarItem.badge},dot:{type:Boolean,default:()=>zk.tabbarItem.dot},text:{type:String,default:()=>zk.tabbarItem.text},badgeStyle:{type:[Object,String],default:()=>zk.tabbarItem.badgeStyle}}};const PO=rA({name:"u-tabbar-item",mixins:[Lk,$k,EO],data:()=>({isActive:!1,parentData:{value:null,activeColor:"",inactiveColor:""}}),options:{virtualHost:!0},created(){this.init()},emits:["click","change"],methods:{addStyle:lk,init(){this.updateParentData(),this.parent;const e=this.parent.children.indexOf(this);this.isActive=(this.name||e)===this.parentData.value},updateParentData(){this.getParentData("u-tabbar")},updateFromParent(){this.init()},clickHandler(){this.$nextTick((()=>{const e=this.parent.children.indexOf(this),t=this.name||e;t!==this.parent.value&&this.parent.$emit("change",t),this.$emit("click",t)}))}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-icon"),hA),s=fA(eo("u-badge"),MT),l=Fg,c=Rg;return Zi(),ir(l,{class:"u-tabbar-item",style:fe([r.addStyle(e.customStyle)]),onClick:r.clickHandler},{default:qn((()=>[dr(l,{class:"u-tabbar-item__icon"},{default:qn((()=>[e.icon?(Zi(),ir(a,{key:0,name:e.icon,color:i.isActive?i.parentData.activeColor:i.parentData.inactiveColor,size:20},null,8,["name","color"])):(Zi(),or(qi,{key:1},[i.isActive?ni(e.$slots,"active-icon",{key:0},void 0,!0):ni(e.$slots,"inactive-icon",{key:1},void 0,!0)],64)),dr(s,{absolute:"",offset:[0,e.dot?"34rpx":e.badge>9?"14rpx":"20rpx"],customStyle:e.badgeStyle,isDot:e.dot,value:e.badge||(e.dot?1:null),show:e.dot||e.badge>0},null,8,["offset","customStyle","isDot","value","show"])])),_:3}),ni(e.$slots,"text",{},(()=>[dr(c,{class:"u-tabbar-item__text",style:fe({color:i.isActive?i.parentData.activeColor:i.parentData.inactiveColor})},{default:qn((()=>[pr(q(e.text),1)])),_:1},8,["style"])]),!0)])),_:3},8,["style","onClick"])}],["__scopeId","data-v-591eb78e"]]),OO=Object.freeze(Object.defineProperty({__proto__:null,default:PO},Symbol.toStringTag,{value:"Module"})),MO={props:{value:{type:[String,Number,null],default:()=>zk.tabbar.value},safeAreaInsetBottom:{type:Boolean,default:()=>zk.tabbar.safeAreaInsetBottom},border:{type:Boolean,default:()=>zk.tabbar.border},zIndex:{type:[String,Number],default:()=>zk.tabbar.zIndex},activeColor:{type:String,default:()=>zk.tabbar.activeColor},inactiveColor:{type:String,default:()=>zk.tabbar.inactiveColor},fixed:{type:Boolean,default:()=>zk.tabbar.fixed},placeholder:{type:Boolean,default:()=>zk.tabbar.placeholder}}};const DO=rA({name:"u-tabbar",mixins:[Lk,$k,MO],data:()=>({placeholderHeight:0}),computed:{tabbarStyle(){return dk({zIndex:this.zIndex},lk(this.customStyle))},updateChild(){return[this.value,this.activeColor,this.inactiveColor]},updatePlaceholder(){return[this.fixed,this.placeholder]}},watch:{updateChild(){this.updateChildren()},updatePlaceholder(){this.setPlaceholderHeight()}},created(){this.children=[]},mounted(){this.setPlaceholderHeight()},methods:{updateChildren(){this.children.length&&this.children.map((e=>e.updateFromParent()))},async setPlaceholderHeight(){this.fixed&&this.placeholder&&(await ek(20),this.$uGetRect(".u-tabbar__content").then((({height:e=50})=>{this.placeholderHeight=e})))}}},[["render",function(e,t,n,o,i,r){const a=Fg,s=fA(eo("u-safe-bottom"),cT);return Zi(),ir(a,{class:"u-tabbar"},{default:qn((()=>[dr(a,{class:me(["u-tabbar__content",[e.border&&"u-border-top",e.fixed&&"u-tabbar--fixed"]]),ref:"u-tabbar__content",onTouchmove:Pa(e.noop,["stop","prevent"]),style:fe([r.tabbarStyle])},{default:qn((()=>[dr(a,{class:"u-tabbar__content__item-wrapper"},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3}),e.safeAreaInsetBottom?(Zi(),ir(s,{key:0})):fr("",!0)])),_:3},8,["onTouchmove","class","style"]),e.placeholder?(Zi(),ir(a,{key:0,class:"u-tabbar__placeholder",style:fe({height:i.placeholderHeight+"px"})},null,8,["style"])):fr("",!0)])),_:3})}],["__scopeId","data-v-ec406a7c"]]),zO=Object.freeze(Object.defineProperty({__proto__:null,default:DO},Symbol.toStringTag,{value:"Module"}));const RO=rA({name:"u-table",mixins:[Lk,$k,{props:{}}],data:()=>({})},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:"u-table"})}],["__scopeId","data-v-35565305"]]),NO=Object.freeze(Object.defineProperty({__proto__:null,default:RO},Symbol.toStringTag,{value:"Module"}));const LO=rA({name:"u-tabs-item",mixins:[Lk,$k,{props:{}}],data:()=>({})},[["render",function(e,t,n,o,i,r){const a=Mg;return Zi(),ir(a,null,{default:qn((()=>[ni(e.$slots,"default")])),_:3})}]]),jO=Object.freeze(Object.defineProperty({__proto__:null,default:LO},Symbol.toStringTag,{value:"Module"})),$O={props:{duration:{type:Number,default:()=>zk.tabs.duration},list:{type:Array,default:()=>zk.tabs.list},lineColor:{type:String,default:()=>zk.tabs.lineColor},activeStyle:{type:[String,Object],default:()=>zk.tabs.activeStyle},inactiveStyle:{type:[String,Object],default:()=>zk.tabs.inactiveStyle},lineWidth:{type:[String,Number],default:()=>zk.tabs.lineWidth},lineHeight:{type:[String,Number],default:()=>zk.tabs.lineHeight},lineBgSize:{type:String,default:()=>zk.tabs.lineBgSize},itemStyle:{type:[String,Object],default:()=>zk.tabs.itemStyle},scrollable:{type:Boolean,default:()=>zk.tabs.scrollable},current:{type:[Number,String],default:()=>zk.tabs.current},keyName:{type:String,default:()=>zk.tabs.keyName},iconStyle:{type:[String,Object],default:()=>zk.tabs.iconStyle}}};const FO=rA({name:"u-tabs",mixins:[Lk,$k,$O],data:()=>({firstTime:!0,scrollLeft:0,scrollViewWidth:0,lineOffsetLeft:0,tabsRect:{left:0},innerCurrent:0,moving:!1}),watch:{current:{immediate:!0,handler(e,t){e!==this.innerCurrent&&(this.innerCurrent="string"==typeof e?parseInt(e):e,this.$nextTick((()=>{this.resize()})))}},list(){this.$nextTick((()=>{this.resize()}))}},computed:{textStyle(){return e=>{const t={},n=e==this.innerCurrent?lk(this.activeStyle):lk(this.inactiveStyle);return this.list[e].disabled&&(t.color="#c8c9cc"),dk(n,t)}},propsBadge:()=>zk.badge},async mounted(){this.init()},emits:["click","longPress","change","update:current"],methods:{addStyle:lk,addUnit:ck,setLineLeft(){const e=this.list[this.innerCurrent];if(!e)return;let t=this.list.slice(0,this.innerCurrent).reduce(((e,t)=>e+t.rect.width),0);const n=ZC(this.lineWidth);this.lineOffsetLeft=t+(e.rect.width-n)/2,this.firstTime&&setTimeout((()=>{this.firstTime=!1}),10)},animation(e,t=0){},clickHandler(e,t){this.$emit("click",{...e,index:t},t),e.disabled||(this.innerCurrent=t,this.resize(),this.$emit("update:current",t),this.$emit("change",{...e,index:t},t))},longPressHandler(e,t){this.$emit("longPress",{...e,index:t})},init(){ek().then((()=>{this.resize()}))},setScrollLeft(){this.innerCurrent<0&&(this.innerCurrent=0);const e=this.list[this.innerCurrent],t=this.list.slice(0,this.innerCurrent).reduce(((e,t)=>e+t.rect.width),0),n=ok().windowWidth;let o=t-(this.tabsRect.width-e.rect.width)/2-(n-this.tabsRect.right)/2+this.tabsRect.left/2;o=Math.min(o,this.scrollViewWidth-this.tabsRect.width),this.scrollLeft=Math.max(0,o)},resize(){0!==this.list.length&&Promise.all([this.getTabsRect(),this.getAllItemRect()]).then((([e,t=[]])=>{e.left>e.width&&(e.right=e.right-Math.floor(e.left/e.width)*e.width,e.left=e.left%e.width),this.tabsRect=e,this.scrollViewWidth=0,t.map(((e,t)=>{this.scrollViewWidth+=e.width,this.list[t].rect=e})),this.setLineLeft(),this.setScrollLeft()}))},getTabsRect(){return new Promise((e=>{this.queryRect("u-tabs__wrapper__scroll-view").then((t=>e(t)))}))},getAllItemRect(){return new Promise((e=>{const t=this.list.map(((e,t)=>this.queryRect(`u-tabs__wrapper__nav__item-${t}`,!0)));Promise.all(t).then((t=>e(t)))}))},queryRect(e,t){return new Promise((t=>{this.$uGetRect(`.${e}`).then((e=>{t(e)}))}))}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("up-icon"),hA),s=Fg,l=Rg,c=fA(eo("u-badge"),MT),u=Tg;return Zi(),ir(s,{class:me(["u-tabs",[e.customClass]])},{default:qn((()=>[dr(s,{class:"u-tabs__wrapper"},{default:qn((()=>[ni(e.$slots,"left",{},void 0,!0),dr(s,{class:"u-tabs__wrapper__scroll-view-wrapper"},{default:qn((()=>[dr(u,{"scroll-x":e.scrollable,"scroll-left":i.scrollLeft,"scroll-with-animation":"",class:"u-tabs__wrapper__scroll-view","show-scrollbar":!1,ref:"u-tabs__wrapper__scroll-view"},{default:qn((()=>[dr(s,{class:"u-tabs__wrapper__nav",ref:"u-tabs__wrapper__nav"},{default:qn((()=>[(Zi(!0),or(qi,null,ti(e.list,((t,n)=>(Zi(),ir(s,{class:me(["u-tabs__wrapper__nav__item",[`u-tabs__wrapper__nav__item-${n}`,t.disabled&&"u-tabs__wrapper__nav__item--disabled",i.innerCurrent==n?"u-tabs__wrapper__nav__item-active":""]]),key:n,onClick:e=>r.clickHandler(t,n),onLongpress:e=>r.longPressHandler(t,n),ref_for:!0,ref:`u-tabs__wrapper__nav__item-${n}`,style:fe([r.addStyle(e.itemStyle),{flex:e.scrollable?"":1}])},{default:qn((()=>[e.$slots.icon?ni(e.$slots,"icon",{key:0,item:t,keyName:e.keyName,index:n},void 0,!0):(Zi(),or(qi,{key:1},[t.icon?(Zi(),ir(s,{key:0,class:"u-tabs__wrapper__nav__item__prefix-icon"},{default:qn((()=>[dr(a,{name:t.icon,customStyle:r.addStyle(e.iconStyle)},null,8,["name","customStyle"])])),_:2},1024)):fr("",!0)],64)),e.$slots.content?ni(e.$slots,"content",{key:2,item:t,keyName:e.keyName,index:n},void 0,!0):e.$slots.content||!e.$slots.default&&!e.$slots.$default?(Zi(),ir(l,{key:4,class:me([[t.disabled&&"u-tabs__wrapper__nav__item__text--disabled"],"u-tabs__wrapper__nav__item__text"]),style:fe([r.textStyle(n)])},{default:qn((()=>[pr(q(t[e.keyName]),1)])),_:2},1032,["class","style"])):ni(e.$slots,"default",{key:3,item:t,keyName:e.keyName,index:n},void 0,!0),dr(c,{show:!(!t.badge||!(t.badge.show||t.badge.isDot||t.badge.value)),isDot:t.badge&&t.badge.isDot||r.propsBadge.isDot,value:t.badge&&t.badge.value||r.propsBadge.value,max:t.badge&&t.badge.max||r.propsBadge.max,type:t.badge&&t.badge.type||r.propsBadge.type,showZero:t.badge&&t.badge.showZero||r.propsBadge.showZero,bgColor:t.badge&&t.badge.bgColor||r.propsBadge.bgColor,color:t.badge&&t.badge.color||r.propsBadge.color,shape:t.badge&&t.badge.shape||r.propsBadge.shape,numberType:t.badge&&t.badge.numberType||r.propsBadge.numberType,inverted:t.badge&&t.badge.inverted||r.propsBadge.inverted,customStyle:"margin-left: 4px;"},null,8,["show","isDot","value","max","type","showZero","bgColor","color","shape","numberType","inverted"])])),_:2},1032,["onClick","onLongpress","style","class"])))),128)),dr(s,{class:"u-tabs__wrapper__nav__line",ref:"u-tabs__wrapper__nav__line",style:fe([{width:r.addUnit(e.lineWidth),transform:`translate(${i.lineOffsetLeft}px)`,transitionDuration:`${i.firstTime?0:e.duration}ms`,height:r.addUnit(e.lineHeight),background:e.lineColor,backgroundSize:e.lineBgSize}])},null,8,["style"])])),_:3},512)])),_:3},8,["scroll-x","scroll-left"])])),_:3}),ni(e.$slots,"right",{},void 0,!0)])),_:3})])),_:3},8,["class"])}],["__scopeId","data-v-eef8565f"]]),HO=Object.freeze(Object.defineProperty({__proto__:null,default:FO},Symbol.toStringTag,{value:"Module"})),VO={props:{type:{type:String,default:()=>zk.tag.type},disabled:{type:[Boolean,String],default:()=>zk.tag.disabled},size:{type:String,default:()=>zk.tag.size},shape:{type:String,default:()=>zk.tag.shape},text:{type:[String,Number],default:()=>zk.tag.text},bgColor:{type:String,default:()=>zk.tag.bgColor},color:{type:String,default:()=>zk.tag.color},borderColor:{type:String,default:()=>zk.tag.borderColor},closeColor:{type:String,default:()=>zk.tag.closeColor},name:{type:[String,Number],default:()=>zk.tag.name},plainFill:{type:Boolean,default:()=>zk.tag.plainFill},plain:{type:Boolean,default:()=>zk.tag.plain},closable:{type:Boolean,default:()=>zk.tag.closable},show:{type:Boolean,default:()=>zk.tag.show},icon:{type:String,default:()=>zk.tag.icon},textSize:{type:String,default:()=>zk.tag.textSize},height:{type:String,default:()=>zk.tag.height},padding:{type:String,default:()=>zk.tag.padding},borderRadius:{type:String,default:()=>zk.tag.borderRadius},autoBgColor:{type:Number,default:()=>zk.tag.autoBgColor}}};const UO=rA({name:"u-tag",mixins:[Lk,$k,VO],data:()=>({}),computed:{style(){const e={};return this.bgColor&&(e.backgroundColor=this.bgColor),this.color&&(e.color=this.color),this.borderColor&&(e.borderColor=this.borderColor),this.height&&(e.height=ck(this.height),e.lineHeight=ck(this.height)),this.padding&&(e.padding=this.padding),this.borderRadius&&(e.borderRadius=ck(this.borderRadius)),this.autoBgColor>0&&this.color&&(e.backgroundColor=this.getBagColor(this.color)),e},textColor(){const e={};return this.color&&(e.color=this.color),this.textSize&&(e.textSize=ck(this.textSize)),e},imgStyle(){const e="large"===this.size?"17px":"medium"===this.size?"15px":"13px";return{width:e,height:e}},closeSize(){return"large"===this.size?15:"medium"===this.size?13:12},iconSize(){return"large"===this.size?21:"medium"===this.size?19:16},elIconColor(){return this.iconColor?this.iconColor:this.plain?this.type:"#ffffff"}},emits:["click","close"],methods:{testImage:UC.image,closeHandler(){this.$emit("close",this.name)},clickHandler(){this.$emit("click",this.name)},getBagColor(e){return Ak(e,this.autoBgColor)}}},[["render",function(e,t,n,o,i,r){const a=sm,s=fA(eo("u-icon"),hA),l=Fg,c=Rg,u=fA(eo("u-transition"),bA);return Zi(),ir(u,{mode:"fade",show:e.show,style:{display:"inline-flex"}},{default:qn((()=>[dr(l,{class:"u-tag-wrapper cursor-pointer"},{default:qn((()=>[dr(l,{class:me(["u-tag",[`u-tag--${e.shape}`,!e.plain&&`u-tag--${e.type}`,e.plain&&`u-tag--${e.type}--plain`,`u-tag--${e.size}`,e.plain&&e.plainFill&&`u-tag--${e.type}--plain--fill`]]),onClick:Pa(r.clickHandler,["stop"]),style:fe([{marginRight:e.closable?"10px":0,marginTop:e.closable?"10px":0},r.style])},{default:qn((()=>[ni(e.$slots,"icon",{},(()=>[e.icon?(Zi(),ir(l,{key:0,class:"u-tag__icon"},{default:qn((()=>[r.testImage(e.icon)?(Zi(),ir(a,{key:0,src:e.icon,style:fe([r.imgStyle])},null,8,["src","style"])):(Zi(),ir(s,{key:1,color:r.elIconColor,name:e.icon,size:r.iconSize},null,8,["color","name","size"]))])),_:1})):fr("",!0)]),!0),dr(c,{class:me(["u-tag__text",[`u-tag__text--${e.type}`,e.plain&&`u-tag__text--${e.type}--plain`,`u-tag__text--${e.size}`]]),style:fe([r.textColor])},{default:qn((()=>[ni(e.$slots,"default",{},(()=>[pr(q(e.text),1)]),!0)])),_:3},8,["style","class"])])),_:3},8,["class","onClick","style"]),e.closable?(Zi(),ir(l,{key:0,class:me(["u-tag__close",[`u-tag__close--${e.size}`]]),onClick:Pa(r.closeHandler,["stop"]),style:fe({backgroundColor:e.closeColor})},{default:qn((()=>[dr(s,{name:"close",size:r.closeSize,color:"#ffffff"},null,8,["size"])])),_:1},8,["class","onClick","style"])):fr("",!0)])),_:3})])),_:3},8,["show"])}],["__scopeId","data-v-7e060f36"]]),WO=Object.freeze(Object.defineProperty({__proto__:null,default:UO},Symbol.toStringTag,{value:"Module"}));const QO=rA({name:"u-td",mixins:[Lk,$k,{props:{}}],data:()=>({})},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:"u-td"})}],["__scopeId","data-v-bef13dbb"]]),qO=Object.freeze(Object.defineProperty({__proto__:null,default:QO},Symbol.toStringTag,{value:"Module"}));const GO=rA({name:"u-toast",mixins:[Lk,$k],data:()=>({isShow:!1,timer:null,config:{message:"",type:"",duration:2e3,icon:!0,position:"center",complete:null,overlay:!0,loading:!1},tmpConfig:{}}),computed:{iconName(){return this.tmpConfig.icon&&"none"!=this.tmpConfig.icon?!0===this.tmpConfig.icon?["error","warning","success","primary"].includes(this.tmpConfig.type)?vk(this.tmpConfig.type):"":this.tmpConfig.icon:""},overlayStyle(){const e={justifyContent:"center",alignItems:"center",display:"flex",backgroundColor:"rgba(0, 0, 0, 0)"};return e},iconStyle(){const e={marginRight:"4px"};return e},loadingIconColor(){let e="rgb(255, 255, 255)";return["error","warning","success","primary"].includes(this.tmpConfig.type)&&(e=JA(CC[this.tmpConfig.type])),e},contentStyle(){const e=ok().windowHeight,t={};let n=0;return"top"===this.tmpConfig.position?n=.25*-e:"bottom"===this.tmpConfig.position&&(n=.25*e),t.transform=`translateY(${n}px)`,t}},created(){["primary","success","error","warning","default","loading"].map((e=>{this[e]=t=>this.show({type:e,message:t})}))},methods:{show(e){this.tmpConfig=dk(this.config,e),this.clearTimer(),this.isShow=!0,-1!==this.tmpConfig.duration&&(this.timer=setTimeout((()=>{this.clearTimer(),"function"==typeof this.tmpConfig.complete&&this.tmpConfig.complete()}),this.tmpConfig.duration))},hide(){this.clearTimer()},clearTimer(){this.isShow=!1,clearTimeout(this.timer),this.timer=null}},beforeUnmount(){this.clearTimer()}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-loading-icon"),eT),s=fA(eo("u-icon"),hA),l=fA(eo("u-gap"),nT),c=Rg,u=Fg,d=fA(eo("u-overlay"),rT);return Zi(),ir(u,{class:"u-toast"},{default:qn((()=>[dr(d,{show:i.isShow,zIndex:i.tmpConfig.overlay?10070:-1,"custom-style":r.overlayStyle},{default:qn((()=>[dr(u,{class:me(["u-toast__content",["u-type-"+i.tmpConfig.type,"loading"===i.tmpConfig.type||i.tmpConfig.loading?"u-toast__content--loading":""]]),style:fe([r.contentStyle])},{default:qn((()=>["loading"===i.tmpConfig.type?(Zi(),ir(a,{key:0,mode:"circle",color:"rgb(255, 255, 255)",inactiveColor:"rgb(120, 120, 120)",size:"25"})):"defalut"!==i.tmpConfig.type&&r.iconName?(Zi(),ir(s,{key:1,name:r.iconName,size:"17",color:i.tmpConfig.type,customStyle:r.iconStyle},null,8,["name","color","customStyle"])):fr("",!0),"loading"===i.tmpConfig.type||i.tmpConfig.loading?(Zi(),ir(l,{key:2,height:"12",bgColor:"transparent"})):fr("",!0),dr(c,{class:me(["u-toast__content__text",["u-toast__content__text--"+i.tmpConfig.type]]),style:{"max-width":"400rpx"}},{default:qn((()=>[pr(q(i.tmpConfig.message),1)])),_:1},8,["class"])])),_:1},8,["style","class"])])),_:1},8,["show","zIndex","custom-style"])])),_:1})}],["__scopeId","data-v-48473229"]]),YO=Object.freeze(Object.defineProperty({__proto__:null,default:GO},Symbol.toStringTag,{value:"Module"})),XO={props:{text:{type:[String,Number],default:()=>zk.tooltip.text},copyText:{type:[String,Number],default:()=>zk.tooltip.copyText},size:{type:[String,Number],default:()=>zk.tooltip.size},color:{type:String,default:()=>zk.tooltip.color},bgColor:{type:String,default:()=>zk.tooltip.bgColor},direction:{type:String,default:()=>zk.tooltip.direction},zIndex:{type:[String,Number],default:()=>zk.tooltip.zIndex},showCopy:{type:Boolean,default:()=>zk.tooltip.showCopy},buttons:{type:Array,default:()=>zk.tooltip.buttons},overlay:{type:Boolean,default:()=>zk.tooltip.overlay},showToast:{type:Boolean,default:()=>zk.tooltip.showToast}}};const JO=rA({name:"u-tooltip",mixins:[Lk,$k,XO],data:()=>({showTooltip:!0,textId:ak(),tooltipId:ak(),tooltipTop:-1e4,tooltipInfo:{width:0,left:0},textInfo:{width:0,left:0},indicatorStyle:{},screenGap:12,indicatorWidth:14}),watch:{propsChange(){this.getElRect()}},computed:{propsChange(){return[this.text,this.buttons]},tooltipStyle(){const e={transform:`translateY(${"top"===this.direction?"-100%":"100%"})`},t=ok();if(this.tooltipInfo.width/2>this.textInfo.left+this.textInfo.width/2-this.screenGap)this.indicatorStyle={},e.left=`-${ck(this.textInfo.left-this.screenGap)}`,this.indicatorStyle.left=ck(this.textInfo.width/2-ZC(e.left)-this.indicatorWidth/2);else if(this.tooltipInfo.width/2>t.windowWidth-this.textInfo.right+this.textInfo.width/2-this.screenGap)this.indicatorStyle={},e.right=`-${ck(t.windowWidth-this.textInfo.right-this.screenGap)}`,this.indicatorStyle.right=ck(this.textInfo.width/2-ZC(e.right)-this.indicatorWidth/2);else{const t=Math.abs(this.textInfo.width/2-this.tooltipInfo.width/2);e.left=this.textInfo.width>this.tooltipInfo.width?ck(t):-ck(t),this.indicatorStyle={}}return"top"===this.direction?(e.marginTop="-10px",this.indicatorStyle.bottom="-4px"):(e.marginBottom="-10px",this.indicatorStyle.top="-4px"),e}},mounted(){this.init()},emits:["click"],methods:{addStyle:lk,addUnit:ck,init(){this.getElRect()},async longpressHandler(){this.tooltipTop=0,this.showTooltip=!0},overlayClickHandler(){this.showTooltip=!1},btnClickHandler(e){this.showTooltip=!1,this.$emit("click",this.showCopy?e+1:e)},queryRect(e){return new Promise((t=>{this.$uGetRect(`#${e}`).then((e=>{t(e)}))}))},getElRect(){this.showTooltip=!0,this.tooltipTop=-1e4,ek(500).then((()=>{this.queryRect(this.tooltipId).then((e=>{this.tooltipInfo=e,this.showTooltip=!1})),this.queryRect(this.textId).then((e=>{this.textInfo=e}))}))},setClipboardData(){this.showTooltip=!1,this.$emit("click",0),Zy({data:this.copyText||this.text,success:()=>{this.showToast&&bk("复制成功")},fail:()=>{this.showToast&&bk("复制失败")},complete:()=>{this.showTooltip=!1}})}}},[["render",function(e,t,n,o,i,r){const a=fA(eo("u-overlay"),rT),s=Rg,l=Fg,c=fA(eo("u-line"),qA),u=fA(eo("u-transition"),bA);return Zi(),ir(l,{class:"u-tooltip",style:fe([r.addStyle(e.customStyle)])},{default:qn((()=>[dr(a,{show:i.showTooltip&&-1e4!==i.tooltipTop&&e.overlay,customStyle:"backgroundColor: rgba(0, 0, 0, 0)",onClick:r.overlayClickHandler},null,8,["show","onClick"]),dr(l,{class:"u-tooltip__wrapper"},{default:qn((()=>[dr(s,{class:"u-tooltip__wrapper__text",id:i.textId,ref:i.textId,userSelect:!1,selectable:!1,onLongpress:Pa(r.longpressHandler,["stop"]),style:fe({color:e.color,backgroundColor:e.bgColor&&i.showTooltip&&-1e4!==i.tooltipTop?e.bgColor:"transparent"})},{default:qn((()=>[pr(q(e.text),1)])),_:1},8,["id","onLongpress","style"]),dr(u,{mode:"fade",show:i.showTooltip,duration:"300",customStyle:{position:"absolute",top:r.addUnit(i.tooltipTop),zIndex:e.zIndex,...r.tooltipStyle}},{default:qn((()=>[dr(l,{class:"u-tooltip__wrapper__popup",id:i.tooltipId,ref:i.tooltipId},{default:qn((()=>[e.showCopy||e.buttons.length?(Zi(),ir(l,{key:0,class:"u-tooltip__wrapper__popup__indicator","hover-class":"u-tooltip__wrapper__popup__indicator--hover",style:fe([i.indicatorStyle,{width:r.addUnit(i.indicatorWidth),height:r.addUnit(i.indicatorWidth)}])},null,8,["style"])):fr("",!0),dr(l,{class:"u-tooltip__wrapper__popup__list"},{default:qn((()=>[e.showCopy?(Zi(),ir(l,{key:0,class:"u-tooltip__wrapper__popup__list__btn","hover-class":"u-tooltip__wrapper__popup__list__btn--hover",onClick:r.setClipboardData},{default:qn((()=>[dr(s,{class:"u-tooltip__wrapper__popup__list__btn__text"},{default:qn((()=>[pr("复制")])),_:1})])),_:1},8,["onClick"])):fr("",!0),e.showCopy&&e.buttons.length>0?(Zi(),ir(c,{key:1,direction:"column",color:"#8d8e90",length:"18"})):fr("",!0),(Zi(!0),or(qi,null,ti(e.buttons,((t,n)=>(Zi(),or(qi,{key:n},[dr(l,{class:"u-tooltip__wrapper__popup__list__btn","hover-class":"u-tooltip__wrapper__popup__list__btn--hover"},{default:qn((()=>[dr(s,{class:"u-tooltip__wrapper__popup__list__btn__text",onClick:e=>r.btnClickHandler(n)},{default:qn((()=>[pr(q(t),1)])),_:2},1032,["onClick"])])),_:2},1024),n<e.buttons.length-1?(Zi(),ir(c,{key:0,direction:"column",color:"#8d8e90",length:"18"})):fr("",!0)],64)))),128))])),_:1})])),_:1},8,["id"])])),_:1},8,["show","customStyle"])])),_:1})])),_:1},8,["style"])}],["__scopeId","data-v-da2f6fb9"]]),KO=Object.freeze(Object.defineProperty({__proto__:null,default:JO},Symbol.toStringTag,{value:"Module"}));const ZO=rA({name:"u-tr",mixins:[Lk,$k,{props:{}}],data:()=>({})},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:"u-tr"})}],["__scopeId","data-v-e3621195"]]),eM=Object.freeze(Object.defineProperty({__proto__:null,default:ZO},Symbol.toStringTag,{value:"Module"}));function tM(e,t){return["[object Object]","[object File]"].includes(Object.prototype.toString.call(e))?Object.keys(e).reduce(((n,o)=>(t.includes(o)||(n[o]=e[o]),n)),{}):{}}function nM(e){return e.tempFiles.map((e=>({...tM(e,["path"]),url:e.path,size:e.size,name:e.name,type:e.type,file:e})))}function oM({accept:e,multiple:t,capture:n,compressed:o,maxDuration:i,sizeType:r,camera:a,maxCount:s,extension:l}){return new Promise(((c,u)=>{switch(e){case"image":fb({count:t?Math.min(s,9):1,sourceType:n,sizeType:r,success:e=>c(function(e){return e.tempFiles.map((e=>({...tM(e,["path"]),type:"image",url:e.path,thumb:e.path,size:e.size,name:e.name,file:e})))}(e)),fail:u});break;case"video":Mb({sourceType:n,compressed:o,maxDuration:i,camera:a,success:e=>c(function(e){return[{...tM(e,["tempFilePath","thumbTempFilePath","errMsg"]),type:"video",url:e.tempFilePath,thumb:e.thumbTempFilePath,size:e.size,width:e.width||0,height:e.height||0,name:e.name,file:e}]}(e)),fail:u});break;case"file":let d={count:t?s:1,type:e,success:e=>c(nM(e)),fail:u};l.length&&l.length>0&&(d.extension=l),hb(d);break;default:let h={count:t?s:1,type:"all",success:e=>c(nM(e)),fail:u};l.length&&l.length>0&&(h.extension=l),hb(h)}}))}const iM={props:{accept:{type:String,default:()=>zk.upload.accept},extension:{type:Array,default:()=>zk.upload.extension},capture:{type:[String,Array],default:()=>zk.upload.capture},compressed:{type:Boolean,default:()=>zk.upload.compressed},camera:{type:String,default:()=>zk.upload.camera},maxDuration:{type:Number,default:()=>zk.upload.maxDuration},uploadIcon:{type:String,default:()=>zk.upload.uploadIcon},uploadIconColor:{type:String,default:()=>zk.upload.uploadIconColor},useBeforeRead:{type:Boolean,default:()=>zk.upload.useBeforeRead},afterRead:{type:Function,default:null},beforeRead:{type:Function,default:null},previewFullImage:{type:Boolean,default:()=>zk.upload.previewFullImage},maxCount:{type:[String,Number],default:()=>zk.upload.maxCount},disabled:{type:Boolean,default:()=>zk.upload.disabled},imageMode:{type:String,default:()=>zk.upload.imageMode},name:{type:String,default:()=>zk.upload.name},sizeType:{type:Array,default:()=>zk.upload.sizeType},multiple:{type:Boolean,default:()=>zk.upload.multiple},deletable:{type:Boolean,default:()=>zk.upload.deletable},maxSize:{type:[String,Number],default:()=>zk.upload.maxSize},fileList:{type:Array,default:()=>zk.upload.fileList},uploadText:{type:String,default:()=>zk.upload.uploadText},width:{type:[String,Number],default:()=>zk.upload.width},height:{type:[String,Number],default:()=>zk.upload.height},previewImage:{type:Boolean,default:()=>zk.upload.previewImage},autoDelete:{type:Boolean,default:()=>zk.upload.autoDelete},autoUpload:{type:Boolean,default:()=>zk.upload.autoUpload},autoUploadApi:{type:String,default:()=>zk.upload.autoUploadApi},autoUploadDriver:{type:String,default:()=>zk.upload.autoUploadDriver},autoUploadAuthUrl:{type:String,default:()=>zk.upload.autoUploadAuthUrl},autoUploadHeader:{type:Object,default:()=>zk.upload.autoUploadHeader},getVideoThumb:{type:Boolean,default:()=>zk.upload.getVideoThumb}}};const rM=rA({name:"u-upload",mixins:[Lk,$k,{watch:{accept:{immediate:!0,handler(e){}}}},iM],data:()=>({lists:[],isInCount:!0,popupShow:!1,currentItemIndex:-1}),watch:{fileList:{handler(){this.formatFileList()},immediate:!0,deep:!0},deletable(e){this.formatFileList()},maxCount(e){this.formatFileList()},accept(e){this.formatFileList()},popupShow(e){e||(this.currentItemIndex=-1)}},emits:["error","beforeRead","oversize","afterRead","delete","clickPreview","update:fileList"],methods:{addUnit:ck,addStyle:lk,videoErrorCallback(){},loadedVideoMetadata(e){if(this.currentItemIndex<0)return;if("local"!=this.autoUploadDriver)return;if(!this.getVideoThumb)return;let t=this.lists[this.currentItemIndex].width,n=this.lists[this.currentItemIndex].height;const o=Wy().pixelRatio;bh().select("#myVideo").context((e=>{console.log("select video",e);const i=e.context;bh().select("#myCanvas").fields({node:!0,size:!0}).exec((([e])=>{console.log("select canvas",e);const r=e[0].node.getContext("2d");e[0].node.width=t*o,e[0].node.height=n*o,setTimeout((()=>{a()}),500);const a=()=>{r.drawImage(i,0,0,t*o,n*o),oh({canvas:e[0].node,success:e=>{console.log("First frame image path:",e.tempFilePath),this.fileList.currentItemIndex.thumb=e.tempFilePath},fail:e=>{console.error("Failed to export image:",e)}})};setInterval((()=>{r.drawImage(i,0,0,t*o,n*o)}),1e3/24)})).exec()})).exec()},formatFileList(){const{fileList:e=[],maxCount:t}=this,n=e.map((e=>Object.assign(Object.assign({},e),{isImage:"image"===this.accept||UC.image(e.url||e.thumb),isVideo:"video"===this.accept||UC.video(e.url||e.thumb),deletable:"boolean"==typeof e.deletable?e.deletable:this.deletable})));this.lists=n,this.isInCount=n.length<t},chooseFile(){const{maxCount:e,multiple:t,lists:n,disabled:o}=this;if(o)return;let i;try{i=UC.array(this.capture)?this.capture:this.capture.split(",")}catch(r){i=[]}oM(Object.assign({accept:this.accept,extension:this.extension,multiple:this.multiple,capture:i,compressed:this.compressed,maxDuration:this.maxDuration,sizeType:this.sizeType,camera:this.camera},{maxCount:e-n.length})).then((e=>{this.onBeforeRead(t?e:e[0])})).catch((e=>{this.$emit("error",e)}))},onBeforeRead(e){const{beforeRead:t,useBeforeRead:n}=this;let o=!0;UC.func(t)&&(o=t(e,this.getDetail())),n&&(o=new Promise(((t,n)=>{this.$emit("beforeRead",Object.assign(Object.assign({file:e},this.getDetail()),{callback:e=>{e?t():n()}}))}))),o&&(UC.promise(o)?o.then((t=>this.onAfterRead(t||e))):this.onAfterRead(e))},getDetail(e){return{name:this.name,index:null==e?this.fileList.length:e}},async onAfterRead(e){const{maxSize:t,afterRead:n}=this;if(Array.isArray(e)?e.some((e=>e.size>t)):e.size>t)return xv({title:"超过大小限制"}),void this.$emit("oversize",Object.assign({file:e},this.getDetail()));let o=this.fileList.length;if(this.autoUpload){let t=[].concat(e);this.fileList.length,t.map((e=>{this.fileList.push({...e,status:"uploading",message:"上传中",progress:0})}));let n=this;this.$emit("update:fileList",this.fileList);for(let e=0;e<t.length;e++){let i=e,r="";switch(this.autoUploadDriver){case"cos":case"kodo":break;case"oss":case"upload_oss":console.log();let e={},a=(await Db({url:this.autoUploadAuthUrl,method:"get",header:this.autoUploadHeader,data:{filename:t[i].name}})).data;if(200!=a.code)return void xv({title:a.msg,duration:1500});e=a.data.params,Hb({url:a.data.params.host,filePath:t[i].url,name:"file",formData:e,success:e=>{r=a.data.params.host+"/"+a.data.params.key;let t="";("video"===this.accept||UC.video(r))&&(t=r+"?x-oss-process=video/snapshot,t_10000,m_fast"),n.succcessUpload(o+i,r,t)}}).onProgressUpdate((e=>{n.updateUpload(o+i,{progress:e.progress})}));break;default:Hb({url:this.autoUploadApi,filePath:t[i].url,name:"file",header:this.autoUploadHeader,success:e=>{r=a.data.params.host+"/"+a.data.params.key,n.succcessUpload(o+i,r)}}).onProgressUpdate((e=>{n.updateUpload(o+i,{progress:e.progress})}))}}}else"function"==typeof n&&n(e,this.getDetail()),this.$emit("afterRead",Object.assign({file:e},this.getDetail()))},updateUpload(e,t){let n=this.fileList[e];this.fileList.splice(e,1,{...n,status:"uploading",message:"",progress:t.progress}),this.$emit("update:fileList",this.fileList)},succcessUpload(e,t,n=""){let o=this.fileList[e];this.fileList.splice(e,1,{...o,status:"success",message:"",url:t,progress:100,thumb:n}),this.$emit("update:fileList",this.fileList)},deleteItem(e){this.autoDelete?(this.fileList.splice(e,1),this.$emit("update:fileList",this.fileList)):this.$emit("delete",Object.assign(Object.assign({},this.getDetail(e)),{file:this.fileList[e]}))},onPreviewImage(e,t){if(!e.isImage||!this.previewFullImage)return;let n=0;const o=[];let i=0;for(var r=0;r<this.lists.length;r++){const e=this.lists[r];(e.isImage||e.type&&"image"===e.type)&&(o.push(e.url||e.thumb),r===t&&(n=i),i+=1)}o.length<1||Pb({urls:o,current:n,fail(){bk("预览图片失败")}})},onPreviewVideo(e,t){if(!this.previewFullImage)return;const n=[];for(var o=0;o<this.lists.length;o++){const e=this.lists[o];(e.isVideo||e.type&&"video"===e.type)&&n.push(Object.assign(Object.assign({},e),{type:"video"}))}n.length<1||(this.popupShow=!0,this.currentItemIndex=t,console.log(this.lists[this.currentItemIndex]))},onClickPreview(e,t){if(this.previewFullImage){if("video"===e.type)this.onPreviewVideo(t);this.$emit("clickPreview",Object.assign(Object.assign({},e),this.getDetail(t)))}}}},[["render",function(e,t,n,o,i,r){const a=sm,s=fA(eo("u-icon"),hA),l=fA(eo("up-icon"),hA),c=Fg,u=Rg,d=fA(eo("u-loading-icon"),eT),h=fA(eo("up-gap"),nT),p=Ay,f=fA(eo("up-popup"),hT),m=Uf;return Zi(),ir(c,{class:"u-upload",style:fe([r.addStyle(e.customStyle)])},{default:qn((()=>[dr(c,{class:"u-upload__wrap"},{default:qn((()=>[e.previewImage?(Zi(),or(qi,{key:0},[(Zi(!0),or(qi,null,ti(i.lists,((t,n)=>(Zi(),ir(c,{class:"u-upload__wrap__preview",key:n},{default:qn((()=>[t.isImage||t.type&&"image"===t.type?(Zi(),ir(a,{key:0,src:t.thumb||t.url,mode:e.imageMode,class:"u-upload__wrap__preview__image",onClick:e=>r.onPreviewImage(t,n),style:fe([{width:r.addUnit(e.width),height:r.addUnit(e.height)}])},null,8,["src","mode","onClick","style"])):(t.isVideo||t.type&&"video"===t.type)&&e.getVideoThumb?(Zi(),ir(c,{key:1,class:"u-upload__wrap__preview__video",style:fe({width:r.addUnit(e.width),height:r.addUnit(e.height)})},{default:qn((()=>[t.thumb?(Zi(),ir(a,{key:0,src:t.thumb,mode:e.imageMode,class:"u-upload__wrap__preview__image",onClick:e=>r.onPreviewVideo(t,n),style:fe([{width:r.addUnit(e.width),height:r.addUnit(e.height)}])},null,8,["src","mode","onClick","style"])):(Zi(),ir(s,{key:1,color:"#80CBF9",size:"26",name:t.isVideo||t.type&&"video"===t.type?"movie":"folder"},null,8,["name"])),"success"===t.status?(Zi(),ir(c,{key:2,class:"u-upload__wrap__play",onClick:e=>r.onPreviewVideo(t,n)},{default:qn((()=>[ni(e.$slots,"playIcon",{},void 0,!0),e.$slots.playIcon?fr("",!0):(Zi(),ir(l,{key:0,class:"u-upload__wrap__play__icon",name:"play-right",size:"22px"}))])),_:2},1032,["onClick"])):fr("",!0)])),_:2},1032,["style"])):(Zi(),ir(c,{key:2,class:"u-upload__wrap__preview__other",onClick:e=>r.onClickPreview(t,n)},{default:qn((()=>[dr(s,{color:"#80CBF9",size:"26",name:t.isVideo||t.type&&"video"===t.type?"movie":"folder"},null,8,["name"]),dr(u,{class:"u-upload__wrap__preview__other__text"},{default:qn((()=>[pr(q(t.isVideo||t.type&&"video"===t.type?"视频":"文件"),1)])),_:2},1024)])),_:2},1032,["onClick"])),"uploading"===t.status||"failed"===t.status?(Zi(),ir(c,{key:3,class:"u-upload__status"},{default:qn((()=>[dr(c,{class:"u-upload__status__icon"},{default:qn((()=>["failed"===t.status?(Zi(),ir(s,{key:0,name:"close-circle",color:"#ffffff",size:"25"})):(Zi(),ir(d,{key:1,size:"22",mode:"circle",color:"#ffffff"}))])),_:2},1024),t.message?(Zi(),ir(u,{key:0,class:"u-upload__status__message"},{default:qn((()=>[pr(q(t.message),1)])),_:2},1024)):fr("",!0),dr(h,{class:"u-upload__progress",height:"3px",style:fe({width:t.progress+"%"})},null,8,["style"])])),_:2},1024)):fr("",!0),"uploading"!==t.status&&(e.deletable||t.deletable)?(Zi(),ir(c,{key:4,class:"u-upload__deletable",onClick:Pa((e=>r.deleteItem(n)),["stop"])},{default:qn((()=>[dr(c,{class:"u-upload__deletable__icon"},{default:qn((()=>[dr(s,{name:"close",color:"#ffffff",size:"10"})])),_:1})])),_:2},1032,["onClick"])):fr("",!0),ni(e.$slots,"success",{},(()=>["success"===t.status?(Zi(),ir(c,{key:0,class:"u-upload__success"},{default:qn((()=>[dr(c,{class:"u-upload__success__icon"},{default:qn((()=>[dr(s,{name:"checkmark",color:"#ffffff",size:"12"})])),_:1})])),_:1})):fr("",!0)]),!0)])),_:2},1024)))),128)),dr(f,{mode:"center",show:i.popupShow,"onUpdate:show":t[0]||(t[0]=e=>i.popupShow=e)},{default:qn((()=>[dr(p,{id:"myVideo",src:i.currentItemIndex>=0?i.lists[i.currentItemIndex].url:"",onError:r.videoErrorCallback,"show-center-play-btn":"","object-fit":"cover","show-fullscreen-btn":"true","enable-play-gesture":"",controls:"",autoplay:!0,"auto-pause-if-open-native":"",onLoadedmetadata:r.loadedVideoMetadata,"initial-time":.1},null,8,["src","onError","onLoadedmetadata"])])),_:1},8,["show"])],64)):fr("",!0),dr(m,{id:"myCanvas",type:"2d",style:{width:"100px",height:"150px",display:"none"}}),i.isInCount?(Zi(),or(qi,{key:1},[e.$slots.trigger?(Zi(),ir(c,{key:0,onClick:r.chooseFile},{default:qn((()=>[ni(e.$slots,"trigger",{},void 0,!0)])),_:3},8,["onClick"])):e.$slots.trigger||!e.$slots.default&&!e.$slots.$default?(Zi(),ir(c,{key:2,class:me(["u-upload__button",[e.disabled&&"u-upload__button--disabled"]]),"hover-class":e.disabled?"":"u-upload__button--hover","hover-stay-time":"150",onClick:r.chooseFile,style:fe([{width:r.addUnit(e.width),height:r.addUnit(e.height)}])},{default:qn((()=>[dr(s,{name:e.uploadIcon,size:"26",color:e.uploadIconColor},null,8,["name","color"]),e.uploadText?(Zi(),ir(u,{key:0,class:"u-upload__button__text"},{default:qn((()=>[pr(q(e.uploadText),1)])),_:1})):fr("",!0)])),_:1},8,["hover-class","onClick","class","style"])):(Zi(),ir(c,{key:1,onClick:r.chooseFile},{default:qn((()=>[ni(e.$slots,"default",{},void 0,!0)])),_:3},8,["onClick"]))],64)):fr("",!0)])),_:3})])),_:3},8,["style"])}],["__scopeId","data-v-af905863"]]),aM=Object.freeze(Object.defineProperty({__proto__:null,default:rM},Symbol.toStringTag,{value:"Module"}));const sM=rA({name:"up-view",mixins:[Lk,$k],emits:["click"],computed:{valueStyle(){}},props:{backgroundColor:"",color:"",flexDirection:"",justifyContent:"",alignItems:"",flex1:"",width:"",height:"",padding:"",margin:"",borderColor:""},data:()=>({}),methods:{addStyle:lk,clickHandler(){this.$emit("click")}}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:me(["u-view",e.class]),style:fe({backgroundColor:n.backgroundColor,color:n.color,flexDirection:n.flexDirection,justifyContent:n.justifyContent,alignItems:n.alignItems,flex1:n.flex1,width:n.width,height:n.height,padding:n.padding,margin:n.margin,borderColor:n.borderColor})},null,8,["class","style"])}],["__scopeId","data-v-a7bafada"]]),lM=Object.freeze(Object.defineProperty({__proto__:null,default:sM},Symbol.toStringTag,{value:"Module"}));const cM=rA({name:"u-waterfall",props:{modelValue:{type:Array,required:!0,default:function(){return[]}},addTime:{type:[Number,String],default:200},idKey:{type:String,default:"id"}},mixins:[Lk,$k],data:()=>({leftList:[],rightList:[],tempList:[],children:[]}),watch:{copyFlowList(e,t){if(e&&0!=e.length){let n=Array.isArray(t)&&t.length>0?t.length:0;this.tempList=this.tempList.concat(this.cloneData(e.slice(n))),this.splitData()}else this.clear(!1)}},mounted(){this.tempList=this.cloneData(this.copyFlowList),this.splitData()},computed:{copyFlowList(){return this.modelValue&&0!=this.modelValue.length?this.cloneData(this.modelValue):(this.clear(!1),[])}},emits:["update:modelValue"],methods:{async splitData(){if(!this.tempList.length)return;let e=await this.$uGetRect("#u-left-column"),t=await this.$uGetRect("#u-right-column"),n=this.tempList[0];n&&(e.height<t.height?this.leftList.push(n):e.height>t.height?this.rightList.push(n):this.leftList.length<=this.rightList.length?this.leftList.push(n):this.rightList.push(n),this.tempList.splice(0,1),this.tempList.length&&setTimeout((()=>{this.splitData()}),this.addTime))},cloneData:e=>JSON.parse(JSON.stringify(e)),clear(e=!0){this.leftList=[],this.rightList=[],e&&this.$emit("update:modelValue",[]),this.tempList=[]},remove(e){let t=-1;t=this.leftList.findIndex((t=>t[this.idKey]==e)),-1!=t?this.leftList.splice(t,1):(t=this.rightList.findIndex((t=>t[this.idKey]==e)),-1!=t&&this.rightList.splice(t,1)),t=this.modelValue.findIndex((t=>t[this.idKey]==e)),-1!=t&&this.$emit("update:modelValue",this.modelValue.splice(t,1))},modify(e,t,n){let o=-1;if(o=this.leftList.findIndex((t=>t[this.idKey]==e)),-1!=o?this.leftList[o][t]=n:(o=this.rightList.findIndex((t=>t[this.idKey]==e)),-1!=o&&(this.rightList[o][t]=n)),o=this.modelValue.findIndex((t=>t[this.idKey]==e)),-1!=o){let e=this.cloneData(this.modelValue);e[o][t]=n,this.$emit("update:modelValue",e)}}}},[["render",function(e,t,n,o,i,r){const a=Fg;return Zi(),ir(a,{class:"u-waterfall"},{default:qn((()=>[dr(a,{ref:"u-left-column",id:"u-left-column",class:"u-column"},{default:qn((()=>[ni(e.$slots,"left",{leftList:i.leftList},void 0,!0)])),_:3},512),dr(a,{ref:"u-right-column",id:"u-right-column",class:"u-column"},{default:qn((()=>[ni(e.$slots,"right",{rightList:i.rightList},void 0,!0)])),_:3},512)])),_:3})}],["__scopeId","data-v-7233188e"]]),uM=Object.freeze(Object.defineProperty({__proto__:null,default:cM},Symbol.toStringTag,{value:"Module"}));let dM="none";dM="vue3",dM="h5";function hM(e){Tk.shallowMerge(wC,e.config||{}),Tk.shallowMerge(zk,e.props||{}),Tk.shallowMerge(CC,e.color||{}),Tk.shallowMerge(xC,e.zIndex||{})}Tk.setConfig=hM;const pM={route:jk,date:Tk.timeFormat,colorGradient:ZA.colorGradient,hexToRgb:ZA.hexToRgb,rgbToHex:ZA.rgbToHex,colorToRgba:ZA.colorToRgba,test:UC,type:["primary","success","error","warning","info"],http:LC,config:wC,zIndex:xC,debounce:function(e,t=500,n=!1){if(null!==AA&&clearTimeout(AA),n){const n=!AA;AA=setTimeout((()=>{AA=null}),t),n&&"function"==typeof e&&e()}else AA=setTimeout((()=>{"function"==typeof e&&e()}),t)},throttle:jT,mixin:$k,mpMixin:Lk,props:zk,...Tk,color:CC,platform:"h5"},fM=Object.assign({"./components/u--form/u--form.vue":cA,"./components/u--image/u--image.vue":CA,"./components/u--input/u--input.vue":EA,"./components/u--text/u--text.vue":$A,"./components/u--textarea/u--textarea.vue":WA,"./components/u-action-sheet-data/u-action-sheet-data.vue":bT,"./components/u-action-sheet/u-action-sheet.vue":gT,"./components/u-album/u-album.vue":ST,"./components/u-alert/u-alert.vue":CT,"./components/u-avatar-group/u-avatar-group.vue":ET,"./components/u-avatar/u-avatar.vue":TT,"./components/u-back-top/u-back-top.vue":OT,"./components/u-badge/u-badge.vue":DT,"./components/u-box/u-box.vue":RT,"./components/u-button/u-button.vue":FT,"./components/u-calendar/u-calendar.vue":gI,"./components/u-car-keyboard/u-car-keyboard.vue":vI,"./components/u-card/u-card.vue":wI,"./components/u-cate-tab/u-cate-tab.vue":CI,"./components/u-cell-group/u-cell-group.vue":TI,"./components/u-cell/u-cell.vue":EI,"./components/u-checkbox-group/u-checkbox-group.vue":MI,"./components/u-checkbox/u-checkbox.vue":RI,"./components/u-circle-progress/u-circle-progress.vue":LI,"./components/u-code-input/u-code-input.vue":FI,"./components/u-code/u-code.vue":UI,"./components/u-col/u-col.vue":QI,"./components/u-collapse-item/u-collapse-item.vue":YI,"./components/u-collapse/u-collapse.vue":KI,"./components/u-column-notice/u-column-notice.vue":tB,"./components/u-copy/u-copy.vue":oB,"./components/u-count-down/u-count-down.vue":lB,"./components/u-count-to/u-count-to.vue":dB,"./components/u-datetime-picker/u-datetime-picker.vue":_B,"./components/u-divider/u-divider.vue":xB,"./components/u-dropdown-item/u-dropdown-item.vue":AB,"./components/u-dropdown/u-dropdown.vue":BB,"./components/u-empty/u-empty.vue":OB,"./components/u-float-button/u-float-button.vue":DB,"./components/u-form-item/u-form-item.vue":NB,"./components/u-form/u-form.vue":sA,"./components/u-gap/u-gap.vue":oT,"./components/u-grid-item/u-grid-item.vue":jB,"./components/u-grid/u-grid.vue":WB,"./components/u-icon/u-icon.vue":pA,"./components/u-image/u-image.vue":wA,"./components/u-index-anchor/u-index-anchor.vue":qB,"./components/u-index-item/u-index-item.vue":YB,"./components/u-index-list/u-index-list.vue":KB,"./components/u-input/u-input.vue":IA,"./components/u-keyboard/u-keyboard.vue":iE,"./components/u-lazy-load/u-lazy-load.vue":aE,"./components/u-line-progress/u-line-progress.vue":cE,"./components/u-line/u-line.vue":GA,"./components/u-link/u-link.vue":MA,"./components/u-list-item/u-list-item.vue":dE,"./components/u-list/u-list.vue":fE,"./components/u-loading-icon/u-loading-icon.vue":tT,"./components/u-loading-page/u-loading-page.vue":yE,"./components/u-loadmore/u-loadmore.vue":_E,"./components/u-message-input/u-message-input.vue":wE,"./components/u-modal/u-modal.vue":kE,"./components/u-navbar-mini/u-navbar-mini.vue":IE,"./components/u-navbar/u-navbar.vue":PE,"./components/u-no-network/u-no-network.vue":ME,"./components/u-notice-bar/u-notice-bar.vue":LE,"./components/u-notify/u-notify.vue":FE,"./components/u-number-box/u-number-box.vue":UE,"./components/u-number-keyboard/u-number-keyboard.vue":tE,"./components/u-overlay/u-overlay.vue":aT,"./components/u-parse/u-parse.vue":lP,"./components/u-picker-column/u-picker-column.vue":uP,"./components/u-picker-data/u-picker-data.vue":hP,"./components/u-picker/u-picker.vue":yB,"./components/u-popup/u-popup.vue":pT,"./components/u-qrcode/u-qrcode.vue":yP,"./components/u-radio-group/u-radio-group.vue":_P,"./components/u-radio/u-radio.vue":xP,"./components/u-rate/u-rate.vue":AP,"./components/u-read-more/u-read-more.vue":BP,"./components/u-row-notice/u-row-notice.vue":zE,"./components/u-row/u-row.vue":PP,"./components/u-safe-bottom/u-safe-bottom.vue":uT,"./components/u-scroll-list/u-scroll-list.vue":LP,"./components/u-search/u-search.vue":FP,"./components/u-select/u-select.vue":VP,"./components/u-skeleton/u-skeleton.vue":QP,"./components/u-slider/u-slider.vue":YP,"./components/u-status-bar/u-status-bar.vue":lT,"./components/u-steps-item/u-steps-item.vue":KP,"./components/u-steps/u-steps.vue":tO,"./components/u-sticky/u-sticky.vue":iO,"./components/u-subsection/u-subsection.vue":sO,"./components/u-swipe-action-item/u-swipe-action-item.vue":bO,"./components/u-swipe-action/u-swipe-action.vue":SO,"./components/u-swiper-indicator/u-swiper-indicator.vue":xO,"./components/u-swiper/u-swiper.vue":AO,"./components/u-switch/u-switch.vue":BO,"./components/u-tabbar-item/u-tabbar-item.vue":OO,"./components/u-tabbar/u-tabbar.vue":zO,"./components/u-table/u-table.vue":NO,"./components/u-tabs-item/u-tabs-item.vue":jO,"./components/u-tabs/u-tabs.vue":HO,"./components/u-tag/u-tag.vue":WO,"./components/u-td/u-td.vue":qO,"./components/u-text/u-text.vue":LA,"./components/u-textarea/u-textarea.vue":VA,"./components/u-toast/u-toast.vue":YO,"./components/u-toolbar/u-toolbar.vue":fB,"./components/u-tooltip/u-tooltip.vue":KO,"./components/u-tr/u-tr.vue":eM,"./components/u-transition/u-transition.vue":vA,"./components/u-upload/u-upload.vue":aM,"./components/u-view/u-view.vue":lM,"./components/u-waterfall/u-waterfall.vue":uM});let mM=[];for(const PM in fM){let e=fM[PM].default;e.name&&0!==e.name.indexOf("u--")&&(e.install=function(t){t.component(name,e)},mM.push(e))}const gM={install:(e,t="")=>{if(mM.forEach((function(t){const n=t.name.replace(/u-([a-zA-Z0-9-_]+)/g,"up-$1");e.component(n,t)})),t){uni.upuiParams=t;let e=t();e.httpIns&&e.httpIns(LC),e.options&&hM(e.options)}uni.$u=pM,e.config.globalProperties.$u=pM,e.mixin($k)}};function yM(e,t){var n;return e="object"==typeof(n=e)&&null!==n?e:Object.create(null),new Proxy(e,{get:(e,n,o)=>"key"===n?Reflect.get(e,n,o):Reflect.get(e,n,o)||Reflect.get(t,n,o)})}function bM(e,{storage:t,serializer:n,key:o,debug:i}){try{const i=null==t?void 0:t.getItem(o);i&&e.$patch(null==n?void 0:n.deserialize(i))}catch(r){i&&console.error("[pinia-plugin-persistedstate]",r)}}function vM(e,{storage:t,serializer:n,key:o,paths:i,debug:r}){try{const r=Array.isArray(i)?function(e,t){return t.reduce(((t,n)=>{const o=n.split(".");return function(e,t,n){return t.slice(0,-1).reduce(((e,t)=>/^(__proto__)$/.test(t)?{}:e[t]=e[t]||{}),e)[t[t.length-1]]=n,e}(t,o,function(e,t){return t.reduce(((e,t)=>null==e?void 0:e[t]),e)}(e,o))}),{})}(e,i):e;t.setItem(o,n.serialize(r))}catch(a){r&&console.error("[pinia-plugin-persistedstate]",a)}}function _M(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:o=n},store:i,pinia:r}=t;if(!o)return;if(!(i.$id in r.state.value)){const e=r._s.get(i.$id.replace("__hot:",""));return void(e&&Promise.resolve().then((()=>e.$persist())))}const a=(Array.isArray(o)?o.map((t=>yM(t,e))):[yM(o,e)]).map(function(e,t){return n=>{var o;try{const{storage:i=localStorage,beforeRestore:r,afterRestore:a,serializer:s={serialize:JSON.stringify,deserialize:JSON.parse},key:l=t.$id,paths:c=null,debug:u=!1}=n;return{storage:i,beforeRestore:r,afterRestore:a,serializer:s,key:(null!=(o=e.key)?o:e=>e)("string"==typeof l?l:l(t.$id)),paths:c,debug:u}}catch(i){return n.debug&&console.error("[pinia-plugin-persistedstate]",i),null}}}(e,i)).filter(Boolean);i.$persist=()=>{a.forEach((e=>{vM(i.$state,e)}))},i.$hydrate=({runHooks:e=!0}={})=>{a.forEach((n=>{const{beforeRestore:o,afterRestore:r}=n;e&&(null==o||o(t)),bM(i,n),e&&(null==r||r(t))}))},a.forEach((e=>{const{beforeRestore:n,afterRestore:o}=e;null==n||n(t),bM(i,e),null==o||o(t),i.$subscribe(((t,n)=>{vM(n,e)}),{detached:!0})}))}}let SM=[];const wM=uw("chatStore",{state:()=>({chats:[],privateMsgMaxId:0,groupMsgMaxId:0,loadingPrivateMsg:!1,loadingGroupMsg:!1,chatStatus:[],privateStatus:[],delMessages:[]}),actions:{initChats(e){SM=[],this.chats=[];for(let t of e.chats)t.stored=!1,SM.push(JSON.parse(JSON.stringify(t))),this.chats.length<15&&this.chats.push(t);this.privateMsgMaxId=e.privateMsgMaxId||0,this.groupMsgMaxId=e.groupMsgMaxId||0,SM.forEach((e=>{e.messages.forEach((e=>{"loading"==e.loadStatus&&(e.loadStatus="fail")}))}))},openChat(e){let t=this.curChats,n=null;for(let o in t)if(t[o].type===e.type&&t[o].targetId===e.targetId){n=t[o],this.moveTop(o);break}null==n&&(n={targetId:e.targetId,type:e.type,showName:e.showName,headImage:e.headImage,phone:e.phone,phoneShort:e.phoneShort,lastContent:"",lastSendTime:(new Date).getTime(),unreadCount:0,messages:[],atMe:!1,atAll:!1,stored:!1,caseNum:e.caseNum,groupType:e.groupType},t.unshift(n),this.saveToStorage())},activeChat(e){let t=this.curChats;e>=0&&(t[e].unreadCount=0)},resetUnreadCount(e){let t=this.curChats;for(let n in t)t[n].type==e.type&&t[n].targetId==e.targetId&&(t[n].unreadCount=0,t[n].atMe=!1,t[n].atAll=!1,t[n].stored=!1,this.saveToStorage())},readedMessage(e){let t=this.findChatByFriend(e.friendId);t.messages.forEach((n=>{n.id&&n.selfSend&&n.status<TS.RECALL&&(!e.maxId||n.id<=e.maxId)&&(n.status=TS.READED,t.stored=!1)})),t.stored||this.saveToStorage()},removeChat(e){let t=this.curChats;t[e].delete=!0,t[e].stored=!1,this.saveToStorage()},removePrivateChat(e){let t=this.curChats;for(let n in t)"PRIVATE"==t[n].type&&t[n].targetId==e&&this.removeChat(n)},removeGroupChat(e){let t=this.curChats;for(let n in t)"GROUP"==t[n].type&&t[n].targetId==e&&this.removeChat(n)},moveTop(e){if(this.isLoading())return;let t=this.curChats;if(e>0){let n=t[e];t.splice(e,1),t.unshift(n),n.lastSendTime=(new Date).getTime(),n.stored=!1,this.saveToStorage()}},insertMessage(e){let t=e.groupId?"GROUP":"PRIVATE";e.id&&"PRIVATE"==t&&e.id>this.privateMsgMaxId&&(this.privateMsgMaxId=e.id),e.id&&"GROUP"==t&&e.id>this.groupMsgMaxId&&(this.groupMsgMaxId=e.id);let n=this.findChat(e),o=this.findMessage(n,e);if(o)return Object.assign(o,e),e.type==kS.RECALL&&(n.lastContent=e.content),n.stored=!1,void this.saveToStorage();if(e.type==kS.IMAGE?n.lastContent="[图片]":e.type==kS.FILE?n.lastContent="[文件]":e.type==kS.AUDIO?n.lastContent="[语音]":e.type==kS.ACT_RT_VOICE?n.lastContent="[语音通话]":e.type==kS.ACT_RT_VIDEO?n.lastContent="[视频通话]":e.type!=kS.TEXT&&e.type!=kS.RECALL&&e.type!=kS.TIP_TEXT||(n.lastContent=e.content),n.lastSendTime=e.sendTime,n.sendNickName=e.sendNickName,e.selfSend||e.status==TS.READED||e.type==kS.TIP_TEXT||n.unreadCount++,!e.selfSend&&"GROUP"==n.type&&e.atUserIds&&e.status!=TS.READED){let t=gw().userInfo.id;e.atUserIds.indexOf(t)>=0&&(n.atMe=!0),e.atUserIds.indexOf(-1)>=0&&(n.atAll=!0)}(!n.lastTimeTip||n.lastTimeTip<e.sendTime-6e5)&&(n.messages.push({sendTime:e.sendTime,type:kS.TIP_TIME}),n.lastTimeTip=e.sendTime);let i=n.messages.length;if(e.id&&e.id>0)for(let r in n.messages)if(n.messages[r].id&&e.id<n.messages[r].id){i=r,console.log(`消息出现乱序,位置:${n.messages.length},修正至:${i}`);break}i==n.messages.length?n.messages[i]=e:n.messages.splice(i,0,e),n.stored=!1,this.saveToStorage()},updateMessage(e){let t=this.findChat(e),n=this.findMessage(t,e);n&&(Object.assign(n,e),t.stored=!1,this.saveToStorage())},setLastContent:(e,t)=>e?(e.type==kS.IMAGE?t.lastContent="[图片]":e.type==kS.FILE?t.lastContent="[文件]":e.type==kS.AUDIO?t.lastContent="[语音]":e.type==kS.ACT_RT_VOICE?t.lastContent="[语音通话]":e.type==kS.ACT_RT_VIDEO?t.lastContent="[视频通话]":e.type!=kS.TEXT&&e.type!=kS.RECALL&&e.type!=kS.TIP_TEXT||(t.lastContent=e.content),t):t,deleteMessage(e){var t;let n=this.findChat(e);for(var o=n.messages.findIndex((t=>t.id===e.id));o>0&&(null==(t=n.messages[o-1])?void 0:t.type)===kS.TIP_TIME;o--)n.messages[o+1]&&n.messages[o+1].type!==kS.TIP_TIME||n.messages.splice(o-1,1);for(let i in n.messages){if(n.messages[i].id&&n.messages[i].id==e.id){n.messages.splice(i,1);break}if(e.selfSend&&n.messages[i].selfSend&&n.messages[i].sendTime==e.sendTime){n.messages.splice(i,1);break}}n=this.setLastContent(n.messages[n.messages.length-1],n),n.stored=!1,this.saveToStorage()},updateChatFromFriend(e){let t=this.findChatByFriend(e.id);!t||t.headImage==e.headImage&&t.showName==e.nickName||(t.headImage=e.headImage,t.showName=e.nickName,t.stored=!1,this.saveToStorage())},updateChatFromGroup(e){let t=this.findChatByGroup(e.id);!t||t.headImage==e.headImage&&t.showName==e.showGroupName||(t.headImage=e.headImage,t.showName=e.showGroupName,t.stored=!1,this.saveToStorage())},setLoadingPrivateMsg(e){"string"==typeof e&&(e="true"===e),this.loadingPrivateMsg=e,this.isLoading()||this.refreshChats()},setLoadingGroupMsg(e){"string"==typeof e&&(e="true"===e),this.loadingGroupMsg=e,this.isLoading()||this.refreshChats()},refreshChats(){SM&&(SM.sort(((e,t)=>t.lastSendTime-e.lastSendTime)),this.chats=SM,SM=null,this.saveToStorage())},saveToStorage(){if(this.isLoading())return;let e="chats-app-"+gw().userInfo.id,t=[];this.chats.forEach((n=>{let o=`${e}-${n.type}-${n.targetId}`;n.stored||(n.delete?ib(o):eb(o,n),n.stored=!0),n.delete||t.push(o)}));let n={privateMsgMaxId:this.privateMsgMaxId,groupMsgMaxId:this.groupMsgMaxId,chatKeys:t};eb(e,n),this.chats=this.chats.filter((e=>!e.delete))},clearStorage(){let e="chats-app-"+gw().userInfo.id;ib(e),this.chats.forEach((t=>{let n=`${e}-${t.type}-${t.targetId}`;ib(n)}))},clear(e){SM=[],this.chats=[],this.privateMsgMaxId=0,this.groupMsgMaxId=0,this.loadingPrivateMsg=!1,this.loadingGroupMsg=!1},loadChat(e){return new Promise(((e,t)=>{let n=gw().userInfo.id,o=ob("chats-app-"+n);o&&(o.chatKeys&&(o.chats=[],o.chatKeys.forEach((e=>{let t=ob(e);t&&o.chats.push(t)}))),this.initChats(o)),e()}))},async queryChatStatus(e){if(!e||"GROUP"===e)try{const e=await wS({url:"/group/userGroup",method:"POST"});this.chatStatus=e}catch(t){this.chatStatus=[]}if(!e||"PRIVATE"===e)try{const e=await wS({url:"/message/private/userPrivate",method:"POST"});this.privateStatus=e}catch(t){this.privateStatus=[]}},async queryDelMessage(e){const t=e||{};try{const e=await wS({url:"/deleteList",method:"POST",data:t}),n=[...e.groupDeleteMessage||[],...e.privateDeleteMessage||[]];this.delMessages=n}catch(n){this.delMessages=[]}}},getters:{isLoading:e=>()=>e.loadingPrivateMsg||e.loadingGroupMsg,curChats:e=>SM&&e.isLoading()?SM:e.chats,findChatIdx:e=>t=>{let n=e.curChats;for(let o in n)if(n[o].type==t.type&&n[o].targetId===t.targetId)return t=e.chats[o],o},findChat:e=>t=>{let n=e.curChats,o=t.groupId?"GROUP":"PRIVATE",i=t.groupId?t.groupId:t.selfSend?t.recvId:t.sendId,r=null;for(let e in n)if(n[e].type==o&&n[e].targetId===i){r=n[e];break}return r},findChatByFriend:e=>t=>e.curChats.find((e=>"PRIVATE"==e.type&&e.targetId==t)),findChatByGroup:e=>t=>e.curChats.find((e=>"GROUP"==e.type&&e.targetId==t)),findMessage:e=>(e,t)=>{if(!e)return null;for(let n in e.messages){if(t.id&&e.messages[n].id==t.id)return e.messages[n];if(t.tmpId&&e.messages[n].tmpId&&e.messages[n].tmpId==t.tmpId)return e.messages[n]}}}}),xM=uw("friendStore",{state:()=>({friends:[],timer:null}),actions:{setFriends(e){e.forEach((e=>{e.online=!1,e.onlineWeb=!1,e.onlineApp=!1})),this.friends=e},updateFriend(e){let t=this.findFriend(e.id),n=JSON.parse(JSON.stringify(t));Object.assign(t,e),t.online=n.online,t.onlineWeb=n.onlineWeb,t.onlineApp=n.onlineApp},removeFriend(e){this.friends.forEach(((t,n)=>{t.id==e&&this.friends.splice(n,1)}))},addFriend(e){this.friends.push(e)},setOnlineStatus(e){this.friends.forEach((t=>{let n=e.find((e=>t.id==e.userId));n?(t.online=!0,t.onlineWeb=n.terminals.indexOf(AS.WEB)>=0,t.onlineApp=n.terminals.indexOf(AS.APP)>=0):(t.online=!1,t.onlineWeb=!1,t.onlineApp=!1)}))},refreshOnlineStatus(){if(this.friends.length>0){let e=[];this.friends.forEach((t=>e.push(t.id))),wS({url:"/user/terminal/online?userIds="+e.join(","),method:"GET"}).then((e=>{this.setOnlineStatus(e)}))}clearTimeout(this.timer),this.timer=setTimeout((()=>{this.refreshOnlineStatus()}),3e4)},clear(){clearTimeout(this.timer),this.friends=[],this.timer=null},loadFriend(){return new Promise(((e,t)=>{wS({url:"/friend/list",method:"GET"}).then((t=>{this.setFriends(t),SS.MSG||this.refreshOnlineStatus(),e()})).catch((e=>{console.error(`好友模块获取失败：---${e}`),t()}))}))}},getters:{findFriend:e=>t=>e.friends.find((e=>e.id==t))}}),CM=uw("groupStore",{state:()=>({groups:[],activeIndex:-1}),actions:{setGroups(e){this.groups=e},activeGroup(e){this.activeIndex=e},addGroup(e){this.groups.unshift(e)},removeGroup(e){this.groups.forEach(((t,n)=>{t.id==e&&(this.groups.splice(n,1),this.activeIndex>=this.groups.length&&(this.activeIndex=this.groups.length-1))}))},updateGroup(e){let t=this.findGroup(e.id);Object.assign(t,e)},clear(){this.groups=[],this.activeGroup=-1},loadGroup(){return new Promise(((e,t)=>{wS({url:"/group/selGroup?mark=0&groupName=",method:"POST"}).then((t=>{this.setGroups(t),e()})).catch((e=>{console.error(`群聊模块获取失败：---${e}`),t(e)}))}))}},getters:{findGroup:e=>t=>e.groups.find((e=>e.id==t))}}),kM=uw("configStore",{state:()=>({webrtc:{}}),actions:{setConfig(e){this.webrtc=e.webrtc},clear(){this.webrtc={}},loadConfig(){return new Promise(((e,t)=>{wS({url:"/system/config",method:"GET"}).then((t=>{console.log("系统配置",t),this.setConfig(t),e()})).catch((e=>{t(e)}))}))}}});var AM={exports:{}};
/*!
 * 
 * js-audio-recorder - js audio recorder plugin
 * 
 * @version v1.0.7
 * @homepage https://github.com/2fps/recorder
 * @author 2fps <echoweb@126.com> (https://www.zhuyuntao.cn)
 * @license MIT
 *         
 */const TM=bw(AM.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){function o(e,t,n){for(var o=0;o<n.length;o++)e.setUint8(t+o,n.charCodeAt(o))}Object.defineProperty(t,"__esModule",{value:!0}),t.compress=function(e,t,n){for(var o=t/n,i=Math.max(o,1),r=e.left,a=e.right,s=Math.floor((r.length+a.length)/o),l=new Float32Array(s),c=0,u=0;c<s;){var d=Math.floor(u);l[c]=r[d],c++,a.length&&(l[c]=a[d],c++),u+=i}return l},t.encodePCM=function(e,t,n){void 0===n&&(n=!0);var o=0,i=e.length*(t/8),r=new ArrayBuffer(i),a=new DataView(r);if(8===t)for(var s=0;s<e.length;s++,o++){var l=(c=Math.max(-1,Math.min(1,e[s])))<0?128*c:127*c;l=+l+128,a.setInt8(o,l)}else for(s=0;s<e.length;s++,o+=2){var c=Math.max(-1,Math.min(1,e[s]));a.setInt16(o,c<0?32768*c:32767*c,n)}return a},t.encodeWAV=function(e,t,n,i,r,a){void 0===a&&(a=!0);var s=n>t?t:n,l=r,c=new ArrayBuffer(44+e.byteLength),u=new DataView(c),d=i,h=0;o(u,h,"RIFF"),h+=4,u.setUint32(h,36+e.byteLength,a),o(u,h+=4,"WAVE"),o(u,h+=4,"fmt "),h+=4,u.setUint32(h,16,a),h+=4,u.setUint16(h,1,a),h+=2,u.setUint16(h,d,a),h+=2,u.setUint32(h,s,a),h+=4,u.setUint32(h,d*s*(l/8),a),h+=4,u.setUint16(h,d*(l/8),a),h+=2,u.setUint16(h,l,a),o(u,h+=2,"data"),h+=4,u.setUint32(h,e.byteLength,a),h+=4;for(var p=0;p<e.byteLength;)u.setUint8(h,e.getUint8(p)),h++,p++;return u}},function(e,t,n){var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),a=n(0),s=n(3),l=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.isrecording=!1,n.ispause=!1,n.isplaying=!1,n}return i(t,e),t.prototype.setOption=function(e){void 0===e&&(e={}),this.setNewOption(e)},t.prototype.start=function(){return this.isrecording?Promise.reject():(this.isrecording=!0,this.startRecord())},t.prototype.pause=function(){this.isrecording&&!this.ispause&&(this.ispause=!0,this.pauseRecord())},t.prototype.resume=function(){this.isrecording&&this.ispause&&(this.ispause=!1,this.resumeRecord())},t.prototype.stop=function(){this.isrecording&&(this.isrecording=!1,this.ispause=!1,this.stopRecord())},t.prototype.play=function(){this.stop(),this.isplaying=!0,this.onplay&&this.onplay(),s.default.addPlayEnd(this.onplayend);var e=this.getWAV();e.byteLength>44&&s.default.play(e.buffer)},t.prototype.getPlayTime=function(){return s.default.getPlayTime()},t.prototype.pausePlay=function(){!this.isrecording&&this.isplaying&&(this.isplaying=!1,this.onpauseplay&&this.onpauseplay(),s.default.pausePlay())},t.prototype.resumePlay=function(){this.isrecording||this.isplaying||(this.isplaying=!0,this.onresumeplay&&this.onresumeplay(),s.default.resumePlay())},t.prototype.stopPlay=function(){this.isrecording||(this.isplaying=!1,this.onstopplay&&this.onstopplay(),s.default.stopPlay())},t.prototype.destroy=function(){return s.default.destroyPlay(),this.destroyRecord()},t.prototype.getRecordAnalyseData=function(){return this.getAnalyseData()},t.prototype.getPlayAnalyseData=function(){return s.default.getAnalyseData()},t.prototype.getPCM=function(){this.stop();var e=this.getData();return e=a.compress(e,this.inputSampleRate,this.outputSampleRate),a.encodePCM(e,this.oututSampleBits,this.littleEdian)},t.prototype.getPCMBlob=function(){return new Blob([this.getPCM()])},t.prototype.downloadPCM=function(e){void 0===e&&(e="recorder");var t=this.getPCMBlob();r.downloadPCM(t,e)},t.prototype.getWAV=function(){var e=this.getPCM();return a.encodeWAV(e,this.inputSampleRate,this.outputSampleRate,this.config.numChannels,this.oututSampleBits,this.littleEdian)},t.prototype.getWAVBlob=function(){return new Blob([this.getWAV()],{type:"audio/wav"})},t.prototype.downloadWAV=function(e){void 0===e&&(e="recorder");var t=this.getWAVBlob();r.downloadWAV(t,e)},t.prototype.download=function(e,t,n){r.download(e,t,n)},t.prototype.getChannelData=function(){var e=this.getPCM(),t=e.byteLength,n=this.littleEdian,o={left:null,right:null};if(2===this.config.numChannels){var i=new DataView(new ArrayBuffer(t/2)),r=new DataView(new ArrayBuffer(t/2));if(16===this.config.sampleBits)for(var a=0;a<t/2;a+=2)i.setInt16(a,e.getInt16(2*a,n),n),r.setInt16(a,e.getInt16(2*a+2,n),n);else for(a=0;a<t/2;a+=2)i.setInt8(a,e.getInt8(2*a)),r.setInt8(a,e.getInt8(2*a+1));o.left=i,o.right=r}else o.left=e;return o},t}(n(5).default);t.default=l},function(e,t,n){function o(e,t,n){var o=document.createElement("a");o.href=window.URL.createObjectURL(e),o.download=t+"."+n,o.click()}Object.defineProperty(t,"__esModule",{value:!0}),t.downloadWAV=function(e,t){void 0===t&&(t="recorder"),o(e,t,"wav")},t.downloadPCM=function(e,t){void 0===t&&(t="recorder"),o(e,t,"pcm")},t.download=function(e,t,n){return o(e,t,n)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=n(4),i=null,r=0,a=0,s=null,l=null,c=null,u=!1,d=0,h=function(){};function p(){return u=!1,s.decodeAudioData(c.slice(0),(function(e){(i=s.createBufferSource()).onended=function(){u||(d=s.currentTime-a+r,h())},i.buffer=e,i.connect(l),l.connect(s.destination),i.start(0,r),a=s.currentTime}),(function(e){o.throwError(e)}))}function f(){i&&(i.stop(),i=null)}var m=function(){function e(){}return e.play=function(e){return s||(s=new(window.AudioContext||window.webkitAudioContext),(l=s.createAnalyser()).fftSize=2048),this.stopPlay(),c=e,d=0,p()},e.pausePlay=function(){f(),r+=s.currentTime-a,u=!0},e.resumePlay=function(){return p()},e.stopPlay=function(){r=0,c=null,f()},e.destroyPlay=function(){this.stopPlay()},e.getAnalyseData=function(){var e=new Uint8Array(l.frequencyBinCount);return l.getByteTimeDomainData(e),e},e.addPlayEnd=function(e){void 0===e&&(e=function(){}),h=e},e.getPlayTime=function(){var e=u?r:s.currentTime-a+r;return d||e},e}();t.default=m},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.throwError=function(e){throw new Error(e)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=function(){function e(t){void 0===t&&(t={}),this.size=0,this.lBuffer=[],this.rBuffer=[],this.tempPCM=[],this.inputSampleBits=16,this.fileSize=0,this.duration=0,this.needRecord=!0;var n,o=new(window.AudioContext||window.webkitAudioContext);this.inputSampleRate=o.sampleRate,this.setNewOption(t),this.littleEdian=(n=new ArrayBuffer(2),new DataView(n).setInt16(0,256,!0),256===new Int16Array(n)[0]),e.initUserMedia()}return e.prototype.setNewOption=function(e){void 0===e&&(e={}),this.config={sampleBits:~[8,16].indexOf(e.sampleBits)?e.sampleBits:16,sampleRate:~[8e3,11025,16e3,22050,24e3,44100,48e3].indexOf(e.sampleRate)?e.sampleRate:this.inputSampleRate,numChannels:~[1,2].indexOf(e.numChannels)?e.numChannels:1},this.outputSampleRate=this.config.sampleRate,this.oututSampleBits=this.config.sampleBits},e.prototype.startRecord=function(){var e=this;return this.context&&this.destroyRecord(),this.initRecorder(),navigator.mediaDevices.getUserMedia({audio:!0}).then((function(t){e.audioInput=e.context.createMediaStreamSource(t),e.stream=t})).then((function(){e.audioInput.connect(e.analyser),e.analyser.connect(e.recorder),e.recorder.connect(e.context.destination)}))},e.prototype.pauseRecord=function(){this.needRecord=!1},e.prototype.resumeRecord=function(){this.needRecord=!0},e.prototype.stopRecord=function(){this.audioInput&&this.audioInput.disconnect(),this.source&&this.source.stop(),this.recorder.disconnect(),this.analyser.disconnect(),this.needRecord=!0},e.prototype.destroyRecord=function(){return this.clearRecordStatus(),this.stopStream(),this.closeAudioContext()},e.prototype.getAnalyseData=function(){var e=new Uint8Array(this.analyser.frequencyBinCount);return this.analyser.getByteTimeDomainData(e),e},e.prototype.getData=function(){return this.flat()},e.prototype.clearRecordStatus=function(){this.lBuffer.length=0,this.rBuffer.length=0,this.size=0,this.fileSize=0,this.PCM=null,this.audioInput=null,this.duration=0},e.prototype.flat=function(){var e=null,t=new Float32Array(0);1===this.config.numChannels?e=new Float32Array(this.size):(e=new Float32Array(this.size/2),t=new Float32Array(this.size/2));for(var n=0,o=0;o<this.lBuffer.length;o++)e.set(this.lBuffer[o],n),n+=this.lBuffer[o].length;for(n=0,o=0;o<this.rBuffer.length;o++)t.set(this.rBuffer[o],n),n+=this.rBuffer[o].length;return{left:e,right:t}},e.prototype.initRecorder=function(){var e=this;this.clearRecordStatus(),this.context=new(window.AudioContext||window.webkitAudioContext),this.analyser=this.context.createAnalyser(),this.analyser.fftSize=2048;var t=this.context.createScriptProcessor||this.context.createJavaScriptNode;this.recorder=t.apply(this.context,[4096,this.config.numChannels,this.config.numChannels]),this.recorder.onaudioprocess=function(t){if(e.needRecord){var n,o=t.inputBuffer.getChannelData(0),i=null;e.lBuffer.push(new Float32Array(o)),e.size+=o.length,2===e.config.numChannels&&(i=t.inputBuffer.getChannelData(1),e.rBuffer.push(new Float32Array(i)),e.size+=i.length),e.fileSize=Math.floor(e.size/Math.max(e.inputSampleRate/e.outputSampleRate,1))*(e.oututSampleBits/8),n=100*Math.max.apply(Math,o),e.duration+=4096/e.inputSampleRate,e.onprocess&&e.onprocess(e.duration),e.onprogress&&e.onprogress({duration:e.duration,fileSize:e.fileSize,vol:n})}}},e.prototype.stopStream=function(){this.stream&&this.stream.getTracks&&(this.stream.getTracks().forEach((function(e){return e.stop()})),this.stream=null)},e.prototype.closeAudioContext=function(){return this.context&&this.context.close&&"closed"!==this.context.state?this.context.close():new Promise((function(e){e()}))},e.initUserMedia=function(){void 0===navigator.mediaDevices&&(navigator.mediaDevices={}),void 0===navigator.mediaDevices.getUserMedia&&(navigator.mediaDevices.getUserMedia=function(e){var t=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;return t?new Promise((function(n,o){t.call(navigator,e,n,o)})):Promise.reject(new Error("浏览器不支持 getUserMedia !"))})},e.prototype.transformIntoPCM=function(e,t){var n=new Float32Array(e),i=new Float32Array(t),r=o.compress({left:n,right:i},this.inputSampleRate,this.outputSampleRate);return o.encodePCM(r,this.oututSampleBits,this.littleEdian)},e.getPermission=function(){return this.initUserMedia(),navigator.mediaDevices.getUserMedia({audio:!0}).then((function(e){e&&e.getTracks().forEach((function(e){return e.stop()}))}))},e}();t.default=i}]).default);let IM=null,BM=()=>{IM.destroy(),IM=null};const EM=Object.freeze(Object.defineProperty({__proto__:null,close:BM,pause:()=>{IM.pause()},start:()=>(null!=IM&&BM(),IM=new TM,IM.start()),upload:()=>new Promise(((e,t)=>{const n=IM.getWAVBlob(),o=new Blob([n],{type:"audio/wav"}),i=(new Date).getDate()+".wav",r=new File([o],i);Hb({url:SS.BASE_URL+"/file/upload",header:{accessToken:ob("loginInfo").accessToken},file:r,name:"file",success:n=>{let o=JSON.parse(n.data);if(200!=o.code)console.log(n),t(o.message);else{const t={duration:parseInt(IM.duration),url:o.data};e(t)}},fail:e=>{t(e)}})}))},Symbol.toStringTag,{value:"Module"}));(function(){const e=Da(pC);return e.use(gM),e.use(ew().use(function(e={}){const t=_M({storage:{getItem:e=>ob(e),setItem(e,t){eb(e,t)}},serializer:{deserialize:JSON.parse,serialize:JSON.stringify},...e});return e=>(e.options.unistorage&&(e.options.persist=e.options.unistorage),t(e))}())),e.config.globalProperties.$http=wS,e.config.globalProperties.$wsApi=QS,e.config.globalProperties.$msgType=CS,e.config.globalProperties.$emo=yC,e.config.globalProperties.$enums=IS,e.config.globalProperties.$date=SC,e.config.globalProperties.$rc=EM,e.config.globalProperties.$mask=sC,e.config.globalProperties.$mountStore=()=>{e.config.globalProperties.chatStore=wM(),e.config.globalProperties.friendStore=xM(),e.config.globalProperties.groupStore=CM(),e.config.globalProperties.configStore=kM(),e.config.globalProperties.userStore=gw()},{app:e,pinia:fw}})().app.use(ay).mount("#app");export{zd as $,Cg as A,Wt as B,ln as C,mA as D,Qo as E,NA as F,lE as G,$T as H,hT as I,Xy as J,$b as K,kv as L,Av as M,sm as N,$g as O,Od as P,jv as Q,Lv as R,or as S,ti as T,SS as U,qi as V,Tg as W,hA as X,gE as Y,BI as Z,rA as _,wp as a,lb as a$,AI as a0,po as a1,Pa as a2,na as a3,Ky as a4,dh as a5,Zy as a6,Ld as a7,Pb as a8,Kn as a9,dC as aA,vg as aB,Sl as aC,Bm as aD,ur as aE,sb as aF,Qp as aG,xh as aH,tv as aI,Dd as aJ,By as aK,bg as aL,Xv as aM,Jv as aN,mg as aO,Mb as aP,Ed as aQ,hb as aR,Dh as aS,zh as aT,rb as aU,Qb as aV,Cp as aW,Ap as aX,Mh as aY,Ah as aZ,Ih as a_,Ay as aa,Wy as ab,Ev as ac,bh as ad,Pv as ae,Dr as af,so as ag,GI as ah,JI as ai,fb as aj,Hb as ak,ib as al,xr as am,bA as an,lC as ao,cC as ap,uC as aq,Qy as ar,pv as as,wM as at,xT as au,rT as av,qm as aw,Dm as ax,ab as ay,Oy as az,xv as b,TA as b0,RB as b1,eT as b2,aA as b3,WI as b4,EP as b5,jA as b6,UA as b7,UO as b8,PB as b9,gB as ba,JP as bb,eO as bc,vB as bd,wu as be,SA as bf,CE as bg,aO as bh,HA as bi,ob as c,fA as d,eo as e,ir as f,fy as g,dr as h,Fg as i,pr as j,fr as k,Rg as l,Bu as m,fe as n,Zi as o,ku as p,ig as q,Db as r,eb as s,q as t,mw as u,ni as v,qn as w,me as x,gw as y,nv as z};
