1var e=Object.defineProperty,t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,r=(t,n,o)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,i=(e,i)=>{for(var s in i||(i={}))n.call(i,s)&&r(e,s,i[s]);if(t)for(var s of t(i))o.call(i,s)&&r(e,s,i[s]);return e};import{i as s,n as a,a as l,b as c,p as u,c as d,h as f,e as h,d as p,f as g,g as m,j as v,E as y,k as b,l as _,N as w,m as x,o as S,t as T,q as C,r as k,s as E,u as O,v as L,w as M,x as A,y as P,z as $,A as I,B,C as R,D as N,F,G as D,H as j,I as W,J as H,K as q,L as V,M as z,O as X,P as Y,R as U,Q as G,S as K}from"./vendor-vue.DdxllvF1-1790561408618.js";const J=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view","location-picker","location-view"].map(e=>"uni-"+e),Z=["page-container","list-view","list-item","sticky-section","sticky-header","cloud-db-element","loading-element","loading"].map(e=>"uni-"+e),Q=["list-item"].map(e=>"uni-"+e);function ee(e){if(-1!==Q.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==J.indexOf(t)||-1!==Z.indexOf(t)}const te="\n",ne=/^([a-z-]+:)?\/\//i,oe=/^data:.*,.*/,re="onShow",ie="onHide",se="onLaunch",ae="onError",le="onThemeChange",ce="onPageNotFound",ue="onUnhandledRejection",de="onLoad",fe="onUnload",he="onInit",pe="onSaveExitState",ge="onUploadDouyinVideo",me="onLiveMount",ve="onTitleClick",ye="onResize",be="onBackPress",_e="onPageScroll",we="onTabItemTap",xe="onReachBottom",Se="onPullDownRefresh",Te="onShareTimeline",Ce="onShareChat",ke="onCopyUrl",Ee="onAddToFavorites",Oe="onShareAppMessage",Le="onNavigationBarButtonTap",Me="onNavigationBarSearchInputClicked",Ae="onNavigationBarSearchInputChanged",Pe="onNavigationBarSearchInputConfirmed",$e="onNavigationBarSearchInputFocusChanged",Ie="onAppEnterForeground",Be="onAppEnterBackground",Re="onWebInvokeAppService";function Ne(e){return void 0===e?null:e}class Fe{static keys(e){return Object.keys(e)}static assign(e,...t){for(let n=0;n<t.length;n++){const o=t[n];for(let t in o)e[t]=o[t]}return e}constructor(e={}){if(e instanceof Map)e.forEach((e,t)=>{this[t]=e});else for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this[t]=e[t]);!function(e){const t=["_resolveKeyPath","_getValue","toJSON","get","set","getAny","getString","getNumber","getBoolean","getJSON","getArray","toMap","forEach"],n={};for(let o=0;o<t.length;o++){const r=t[o];n[r]={enumerable:!1,value:e[r]}}Object.defineProperties(e,n)}(this)}_resolveKeyPath(e){let t="";const n=[];let o=!1;for(let r=0;r<e.length;r++){const i=e[r];switch(i){case".":t.length>0&&(n.push(t),t="");break;case"[":o=!0,t.length>0&&(n.push(t),t="");break;case"]":if(!o)return[];if(!(t.length>0))return[];{const e=t[0],o=t[t.length-1];if('"'===e&&'"'===o||"'"===e&&"'"===o||"`"===e&&"`"===o){if(!(t.length>2))return[];t=t.slice(1,-1)}else if(!/^\d+$/.test(t))return[];n.push(t),t=""}o=!1;break;default:t+=i}r===e.length-1&&t.length>0&&(n.push(t),t="")}return n}_getValue(e,t){const n=this._resolveKeyPath(e),o=Ne(t);if(0===n.length)return o;let r=this;for(let i=0;i<n.length;i++){const e=n[i];if(!(r instanceof Object))return o;if(!(e in r))return o;r=r[e]}return r}get(e){return this._getValue(e)}set(e,t){this[e]=t}getAny(e,t){const n=Ne(t);return this._getValue(e,n)}getString(e,t){const n=Ne(t),o=this._getValue(e,n);return"string"==typeof o?o:n}getNumber(e,t){const n=Ne(t),o=this._getValue(e,n);return"number"==typeof o?o:n}getBoolean(e,t){const n=Ne(t),o=this._getValue(e,n);return"boolean"==typeof o?o:n}getJSON(e,t){const n=Ne(t);let o=this._getValue(e,n);return o instanceof Object?o:n}getArray(e,t){const n=Ne(t);let o=this._getValue(e,n);return o instanceof Array?o:n}toMap(){let e=new Map;for(let t in this)e.set(t,this[t]);return e}forEach(e){for(let t in this)e(this[t],t)}}function De(e){return e&&(e.appContext?e.proxy:e)}function je(e){if(!e)return;
1let t=e.type.name;for(;t&&ee(f(t));)t=(e=e.parent).type.name;return e.proxy}function We(e){return 1===e.nodeType}function He(e){if(e instanceof Fe){const t={};return Fe.keys(e).forEach(n=>{t[n]=e[n]}),l(t)}if(e instanceof Map){const t={};return e.forEach((e,n)=>{t[n]=e}),l(t)}if(c(e))return u(e);if(s(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=c(o)?u(o):He(o);if(r)for(const e in r)t[e]=r[e]}return t}return l(e)}function qe(e){let t="";if(e instanceof Fe)Fe.keys(e).forEach(n=>{e[n]&&(t+=n+" ")});else if(e instanceof Map)e.forEach((e,n)=>{e&&(t+=n+" ")});else if(s(e))for(let n=0;n<e.length;n++){const o=qe(e[n]);o&&(t+=o+" ")}else t=a(e);return t.trim()}function Ve(e){if(!e)return null;let{class:t,style:n}=e;return t&&!c(t)&&(e.class=qe(t)),n&&(e.style=He(n)),e}function ze(e){return function(e){return 0===e.indexOf("/")}(e)?e:"/"+e}function Xe(e,t){for(const n in t)e.style[n]=t[n]}function Ye(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}function Ue(e,t){e=e||{},c(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?d(e.success)&&e.success(t):d(e.fail)&&e.fail(t),d(e.complete)&&e.complete(t)}function Ge(e){return p(e.substring(5))}const Ke=Ye(e=>{e=e||(e=>e.tagName.startsWith("UNI-"));const t=HTMLElement.prototype,n=t.setAttribute;t.setAttribute=function(t,o){t.startsWith("data-")&&e(this)&&((this.__uniDataset||(this.__uniDataset={}))[Ge(t)]=o),/^\d/.test(t)||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 Je(e){return h({},e.dataset,e.__uniDataset)}const Ze=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function Qe(e){return{passive:e}}function et(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:Je(e),offsetTop:n,offsetLeft:o}}function tt(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function nt(e={}){const t={};return Object.keys(e).forEach(n=>{try{t[n]=tt(e[n])}catch(o){t[n]=e[n]}}),t}const ot=/\+/g;function rt(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(ot," ");let r=e.indexOf("="),i=tt(r<0?e:e.slice(0,r)),a=r<0?null:tt(e.slice(r+1));if(i in t){let e=t[i];s(e)||(e=t[i]=[e]),e.push(a)}else t[i]=a}return t}function it(e,t,{clearTimeout:n,setTimeout:o}){let r;const i=function(){n(r),r=o(()=>e.apply(this,arguments),t)};return i.cancel=function(){n(r)},i}class st{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;o&&("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 at=[he,de,re,ie,fe,ye,be,_e,we,xe,Se,Te,Oe,Ce,ke,ge,me,ve,Ee,pe,Le,Me,Ae,Pe,$e],lt=[re,ie,se,ae,le,ce,ue,"onExit",he,de,"onReady",fe,ye,be,_e,we,xe,Se,Te,Ee,Oe,Ce,ke,ge,me,ve,pe,Le,Me,Ae,Pe,$e,"onLastPageBackPress"],ct=[],ut=Ye((e,t)=>t(e)),dt=function(){};dt.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 r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],r=[];if(o&&t){for(var i=o.length-1;i>=0;i--)if(o[i].fn===t||o[i].fn._===t||o[i]._id===t){o.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var ft=dt;const ht={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function pt(e,t,n){if(c(t)&&t.startsWith("@")){let r=e[t.replace("@","")]||t;switch(n){case"titleColor":r="black"===r?"#000000":"#ffffff";break;case"borderStyle":r=(o=r)&&o in ht?ht[o]:o}return r}var o;return t}function gt(e,t={},n="light"){const o=t[n],r={};return void 0!==o&&e?(Object.keys(e).forEach(i=>
vendor: 10,756 bytes, line 1
1{const a=e[i];r[i]=g(a)?gt(a,t,n):s(a)?a.map(e=>g(e)?gt(e,t,n):pt(o,e)):pt(o,a,i)}),r):e}let mt,vt;class yt{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=mt,!e&&mt&&(this.index=(mt.scopes||(mt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=mt;try{return mt=this,e()}finally{mt=t}}}on(){mt=this}off(){mt=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 bt(e){return new yt(e)}function _t(){return mt}function wt(e){mt&&mt.cleanups.push(e)}class xt{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=mt){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Mt();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(St(t.computed),this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),At()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Et,t=vt;try{return Et=!0,vt=this,this._runnings++,Tt(this),this.fn()}finally{Ct(this),this._runnings--,vt=t,Et=e}}stop(){var e;this.active&&(Tt(this),Ct(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function St(e){return e.value}function Tt(e){e._trackId++,e._depsLength=0}function Ct(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)kt(e.deps[t],e);e.deps.length=e._depsLength}}function kt(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let Et=!0,Ot=0;const Lt=[];function Mt(){Lt.push(Et),Et=!1}function At(){const e=Lt.pop();Et=void 0===e||e}function Pt(){Ot++}function $t(){for(Ot--;!Ot&&Bt.length;)Bt.shift()()}function It(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&kt(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Bt=[];function Rt(e,t,n){Pt();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&&Bt.push(o.scheduler)))}$t()}const Nt=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ft=new WeakMap,Dt=Symbol(""),jt=Symbol("");function Wt(e,t,n){if(Et&&vt){let t=Ft.get(e);t||Ft.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Nt(()=>t.delete(n))),It(vt,o)}}function Ht(e,t,n,o,r,i){const a=Ft.get(e);if(!a)return;let l=[];if("clear"===t)l=[...a.values()];else if("length"===n&&s(e)){const e=Number(o);a.forEach((t,n)=>{("length"===n||!m(n)&&n>=e)&&l.push(t)})}else switch(void 0!==n&&l.push(a.get(n)),t){case"add":s(e)?A(n)&&l.push(a.get("length")):(l.push(a.get(Dt)),k(e)&&l.push(a.get(jt)));break;case"delete":s(e)||(l.push(a.get(Dt)),k(e)&&l.push(a.get(jt)));break;case"set":k(e)&&l.push(a.get(Dt))}Pt();for(const s of l)s&&Rt(s,4);$t()}const qt=P("__proto__,__v_isRef,__isVue"),Vt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(m)),zt=function(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=Bn(this);for(let t=0,r=this.length;t<r;t++)Wt(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Bn)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...e){Mt(),Pt();const n=Bn(this)[t].apply(this,e);return $t(),At(),n}}),e}();function Xt(e){const t=Bn(this);return Wt(t,0,e),t.hasOwnProperty(e)}class Yt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?Cn:Tn:r?Sn:xn).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=s(e);if(!o){if(i&&M(zt,t))return Reflect.get(zt,t,n);if("hasOwnProperty"===t)return Xt}const a=Reflect.get(e,t,n);return(m(t)?Vt.has(t):qt(t))?a:(o||Wt(e,0,t),r?a:Hn(a)?i&&A(t)?a:a.value:_(a)?o?On(a):kn(a):a)}}class Ut extends Yt{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=Pn(r);if($n(n)||Pn(n)||(r=Bn(r),n=Bn(n)),!s(e)&&Hn(r)&&!Hn(n))return!t&&(r.value=n,!0)}const i=s(e)&&A(t)?Number(t)<e.length:M(e,t),a=Reflect.set(e,t,n,o);return e===Bn(o)&&(i?S(n,r)&&Ht(e,"set",t,n):Ht(e,"add",t,n)),a}deleteProperty(e,t){const n=M(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&Ht(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return m(t)&&Vt.has(t)||Wt(e,0,t),n}ownKeys(e){return Wt(e,0,s(e)?"length":Dt),Reflect.ownKeys(e)}}class Gt extends Yt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Kt=new Ut,Jt=new Gt,Zt=new Ut(!0),Qt=new Gt(!0),en=e=>e,tn=e=>Reflect.getPrototypeOf(e);function nn(e,t,n=!1,o=!1){const r=Bn(e=e.__v_raw),i=Bn(t);n||(S(t,i)&&Wt(r,0,t),Wt(r,0,i));const{has:s}=tn(r),a=o?en:n?Fn:Nn;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function on(e,t=!1){const n=this.__v_raw,o=Bn(n),r=Bn(e);return t||(S(e,r)&&Wt(o,0,e),Wt(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function rn(e,t=!1){return e=e.__v_raw,!t&&Wt(Bn(e),0,Dt),Reflect.get(e,"size",e)}function sn(e){e=Bn(e);const t=Bn(this);return tn(t).has.call(t,e)||(t.add(e),Ht(t,"add",e,e)),this}function an(e,t){t=Bn(t);const n=Bn(this),{has:o,get:r}=tn(n);let i=o.call(n,e);i||(e=Bn(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?S(t,s)&&Ht(n,"set",e,t):Ht(n,"add",e,t),this}function ln(e){const t=Bn(this),{has:n,get:o}=tn(t);let r=n.call(t,e);r||(e=Bn(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&Ht(t,"delete",e,void 0),i}function cn(){const e=Bn(this),t=0!==e.size,n=e.clear();return t&&Ht(e,"clear",void 0,void 0),n}function un(e,t){return function(n,o){const r=this,i=r.__v_raw,s=Bn(i),a=t?en:e?Fn:Nn;return!e&&Wt(s,0,Dt),i.forEach((e,t)=>n.call(o,a(e),a(t),r))}}function dn(e,t,n){return function(...o){const r=this.__v_raw,i=Bn(r),s=k(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=n?en:t?Fn:Nn;return!t&&Wt(i,0,l?jt:Dt),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function fn(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}const[hn,pn,gn,mn]=function(){const e={get(e){return nn(this,e)},get size(){return rn(this)},has:on,add:sn,set:an,delete:ln,clear:cn,forEach:un(!1,!1)},t={get(e){return nn(this,e,!1,!0)},get size(){return rn(this)},has:on,add:sn,set:an,delete:ln,clear:cn,forEach:un(!1,!0)},n={get(e){return nn(this,e,!0)},get size(){return rn(this,!0)},has(e){return on.call(this,e,!0)},add:fn("add"),set:fn("set"),delete:fn("delete"),clear:fn("clear"),forEach:un(!0,!1)},o={get(e){return nn(this,e,!0,!0)},get size(){return rn(this,!0)},has(e){return on.call(this,e,!0)},add:fn("add"),set:fn("set"),delete:fn("delete"),clear:fn("clear"),forEach:un(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=dn(r,!1,!1),n[r]=dn(r,!0,!1),t[r]=dn(r,!1,!0),o[r]=dn(r,!0,!0)}),[e,n,t,o]}();function vn(e,t){const n=t?e?mn:gn:e?pn:hn;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(M(n,o)&&o in t?n:t,o,r)}const yn={get:vn(!1,!1)},bn={get:vn(!1,!0)},_n={get:vn(!0,!1)},wn={get:vn(!0,!0)},xn=new WeakMap,Sn=new WeakMap,Tn=new WeakMap,Cn=new WeakMap;function kn(e){return Pn(e)?e:Mn(e,!1,Kt,yn,xn)}function En(e){return Mn(e,!1,Zt,bn,Sn)}function On(e){return Mn(e,!0,Jt,_n,Tn)}function Ln(e){return Mn(e,!0,Qt,wn,Cn)}function Mn(e,t,n,o,r){if(!_(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=(a=e).__v_skip||!Object.isExtensible(a)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(T(a));var a;if(0===s)return e;const l=new Proxy(e,2===s?o:n);return r.set(e,l),l}function An(e){return Pn(e)?An(e.__v_raw):!(!e||!e.__v_isReactive)}function Pn(e){return!(!e||!e.__v_isReadonly)}function $n(e){return!(!e||!e.__v_isShallow)}function In(e){return An(e)||Pn(e)}function Bn(e){const t=e&&e.__v_raw;return t?Bn(t):e}function Rn(e){return Object.isExtensible(e)&&L(e,"__v_skip",!0),e}const Nn=e=>_(e)?kn(e):e,Fn=e=>_(e)?On(e):e;class Dn{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 xt(()=>e(this._value),()=>Wn(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=Bn(this);return e._cacheable&&!e.effect.dirty||!S(e._value,e._value=e.effect.run())||Wn(e,4),jn(e),e.effect._dirtyLevel>=2&&Wn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function jn(e){var t;Et&&vt&&(e=Bn(e),It(vt,null!=(t=e.dep)?t:e.dep=Nt(()=>e.dep=void 0,e instanceof Dn?e:void 0)))}function Wn(e,t=4,n){const o=(e=Bn(e)).dep;o&&Rt(o,t)}function Hn(e){return!(!e||!0!==e.__v_isRef)}function qn(e){return zn(e,!1)}function Vn(e){return zn(e,!0)}function zn(e,t){return Hn(e)?e:new Xn(e,t)}class Xn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Bn(e),this._value=t?e:Nn(e)}get value(){return jn(this),this._value}set value(e){const t=this.__v_isShallow||$n(e)||Pn(e);e=t?e:Bn(e),S(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Nn(e),Wn(this,4))}}function Yn(e){return Hn(e)?e.value:e}const Un={get:(e,t,n)=>Yn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Hn(r)&&!Hn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Gn(e){return An(e)?e:new Proxy(e,Un)}function Kn(e){const t=s(e)?new Array(e.length):{};for(const n in e)t[n]=Zn(e,n);return t}class Jn{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=Bn(this._object),t=this._key,null==(n=Ft.get(e))?void 0:n.get(t);var e,t,n}}function Zn(e,t,n){const o=e[t];
1return Hn(o)?o:new Jn(e,t,n)}function Qn(e,t,n,o){try{return o?e(...o):e()}catch(r){to(r,t,n)}}function eo(e,t,n,o){if(d(e)){const r=Qn(e,t,n,o);return r&&O(r)&&r.catch(e=>{to(e,t,n)}),r}const r=[];for(let i=0;i<e.length;i++)r.push(eo(e[i],t,n,o));return r}function to(e,t,n,o=!0){t&&t.vnode;if(t){let o=t.parent;const r=t.proxy,i=`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,r,i))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void Qn(s,null,10,[e,r,i])}}let no=!1,oo=!1;const ro=[];let io=0;const so=[];let ao=null,lo=0;const co=Promise.resolve();let uo=null;function fo(e){const t=uo||co;return e?t.then(this?e.bind(this):e):t}function ho(e){ro.length&&ro.includes(e,no&&e.allowRecurse?io+1:io)||(null==e.id?ro.push(e):ro.splice(function(e){let t=io+1,n=ro.length;for(;t<n;){const o=t+n>>>1,r=ro[o],i=vo(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),po())}function po(){no||oo||(oo=!0,uo=co.then(bo))}function go(e,t,n=(no?io+1:0)){for(;n<ro.length;n++){const t=ro[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;ro.splice(n,1),n--,t()}}}function mo(e){if(so.length){const e=[...new Set(so)].sort((e,t)=>vo(e)-vo(t));if(so.length=0,ao)return void ao.push(...e);for(ao=e,lo=0;lo<ao.length;lo++)ao[lo]();ao=null,lo=0}}const vo=e=>null==e.id?1/0:e.id,yo=(e,t)=>{const n=vo(e)-vo(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function bo(e){oo=!1,no=!0,ro.sort(yo);try{for(io=0;io<ro.length;io++){const e=ro[io];e&&!1!==e.active&&Qn(e,null,14)}}finally{io=0,ro.length=0,mo(),no=!1,uo=null,(ro.length||so.length)&&bo()}}function _o(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||y;let r=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in o){const e=`${"modelValue"===s?"model":s}Modifiers`,{number:t,trim:i}=o[e]||y;i&&(r=n.map(e=>c(e)?e.trim():e)),t&&(r=n.map(F))}let a,l=o[a=D(t)]||o[a=D(p(t))];!l&&i&&(l=o[a=D(f(t))]),l&&eo(l,e,6,wo(e,l,r));const u=o[a+"Once"];if(u){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,eo(u,e,6,wo(e,u,r))}}function wo(e,t,n){if(1!==n.length)return n;if(d(t)){if(t.length<2)return n}else if(!t.find(e=>e.length>=2))return n;const o=n[0];if(o&&M(o,"type")&&M(o,"timeStamp")&&M(o,"target")&&M(o,"currentTarget")&&M(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function xo(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let a={},l=!1;if(!d(e)){const o=e=>{const n=xo(e,t,!0);n&&(l=!0,h(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||l?(s(i)?i.forEach(e=>a[e]=null):h(a,i),_(e)&&o.set(e,a),a):(_(e)&&o.set(e,null),null)}function So(e,t){return!(!e||!x(t))&&(t=t.slice(2).replace(/Once$/,""),M(e,t[0].toLowerCase()+t.slice(1))||M(e,f(t))||M(e,t))}let To=null,Co=null;function ko(e){const t=To;return To=e,Co=e&&e.type.__scopeId||null,t}function Eo(e,t=To,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&qi(-1);const r=ko(t);let i;try{i=e(...n)}finally{ko(r),o._d&&qi(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Oo(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:h,ctx:p,inheritAttrs:g}=e;let m,v;const y=ko(e);try{if(4&n.shapeFlag){const e=r||o,t=e;m=os(u.call(t,e,d,i,h,f,p)),v=l}else{const e=t;m=os(e.length>1?e(i,{attrs:l,slots:a,emit:c}):e(i,null)),v=t.props?l:Lo(l)}}catch(_){Di.length=0,to(_,e,1),m=Qi(Ni)}let b=m;if(v&&!1!==g){const e=Object.keys(v),{shapeFlag:t}=b;e.length&&7&t&&(s&&e.some(j)&&(v=Mo(v,s)),b=es(b,v))}return n.dirs&&(b=es(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),m=b,ko(y),m}const Lo=e=>{let t;for(const n in e)("class"===n||"style"===n||x(n))&&((t||(t={}))[n]=e[n]);return t},Mo=(e,t)=>{const n={};for(const o in e)j(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Ao(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!So(n,i))return!0}return!1}const Po="components";function $o(e,t){return Ro(Po,e,!0,t)||e}const Io=Symbol.for("v-ndc");function Bo(e){return c(e)?Ro(Po,e,!1)||e:e||Io}function Ro(e,t,n=!0,o=!1){const r=To||us;if(r){const n=r.type;{const e=ws(n,!1);if(e&&(e===t||e===p(t)||e===E(p(t))))return n}const i=No(r[e]||n[e],t)||No(r.appContext[e],t);return!i&&o?n:i}}function No(e,t){return e&&(e[t]||e[p(t)]||e[E(p(t))])}const Fo=e=>e.__isSuspense,Do=Symbol.for("v-scx");function jo(e,t){return qo(e,null,t)}const Wo={};
1function Ho(e,t,n){return qo(e,t,n)}function qo(e,t,{immediate:n,deep:o,flush:r,once:i,onTrack:a,onTrigger:l}=y){if(t&&i){const e=t;t=(...t)=>{e(...t),k()}}const c=us,u=e=>!0===o?e:Xo(e,!1===o?1:void 0);let f,h,p=!1,g=!1;if(Hn(e)?(f=()=>e.value,p=$n(e)):An(e)?(f=()=>u(e),p=!0):s(e)?(g=!0,p=e.some(e=>An(e)||$n(e)),f=()=>e.map(e=>Hn(e)?e.value:An(e)?u(e):d(e)?Qn(e,c,2):void 0)):f=d(e)?t?()=>Qn(e,c,2):()=>(h&&h(),eo(e,c,3,[v])):w,t&&o){const e=f;f=()=>Xo(e())}let m,v=e=>{h=T.onStop=()=>{Qn(e,c,4),h=T.onStop=void 0}};if(vs){if(v=w,t?n&&eo(t,c,3,[f(),g?[]:void 0,v]):f(),"sync"!==r)return w;{const e=ai(Do);m=e.__watcherHandles||(e.__watcherHandles=[])}}let b=g?new Array(e.length).fill(Wo):Wo;const _=()=>{if(T.active&&T.dirty)if(t){const e=T.run();(o||p||(g?e.some((e,t)=>S(e,b[t])):S(e,b)))&&(h&&h(),eo(t,c,3,[e,b===Wo?void 0:g&&b[0]===Wo?[]:b,v]),b=e)}else T.run()};let x;_.allowRecurse=!!t,"sync"===r?x=_:"post"===r?x=()=>xi(_,c&&c.suspense):(_.pre=!0,c&&(_.id=c.uid),x=()=>ho(_));const T=new xt(f,w,x),C=_t(),k=()=>{T.stop(),C&&R(C.effects,T)};return t?n?_():b=T.run():"post"===r?xi(T.run.bind(T),c&&c.suspense):T.run(),m&&m.push(k),k}function Vo(e,t,n){const o=this.proxy,r=c(e)?e.includes(".")?zo(o,e):()=>o[e]:e.bind(o,o);let i;d(t)?i=t:(i=t.handler,n=t);const s=ps(this),a=qo(r,i.bind(o),n);return s(),a}function zo(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 Xo(e,t,n=0,o){if(!_(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),Hn(e))Xo(e.value,t,n,o);else if(s(e))for(let r=0;r<e.length;r++)Xo(e[r],t,n,o);else if(C(e)||k(e))e.forEach(e=>{Xo(e,t,n,o)});else if(g(e))for(const r in e)Xo(e[r],t,n,o);return e}function Yo(e,t){if(null===To)return e;const n=_s(To)||To.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[e,i,s,a=y]=t[r];e&&(d(e)&&(e={mounted:e,updated:e}),e.deep&&Xo(i),o.push({dir:e,instance:n,value:i,oldValue:void 0,arg:s,modifiers:a}))}return e}function Uo(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const a=r[s];i&&(a.oldValue=i[s].value);let l=a.dir[o];l&&(Mt(),eo(l,n,8,[e.el,a,e,t]),At())}}const Go=Symbol("_leaveCb"),Ko=Symbol("_enterCb"),Jo=[Function,Array],Zo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Jo,onEnter:Jo,onAfterEnter:Jo,onEnterCancelled:Jo,onBeforeLeave:Jo,onLeave:Jo,onAfterLeave:Jo,onLeaveCancelled:Jo,onBeforeAppear:Jo,onAppear:Jo,onAfterAppear:Jo,onAppearCancelled:Jo},Qo={name:"BaseTransition",props:Zo,setup(e,{slots:t}){const n=ds(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Er(()=>{e.isMounted=!0}),Mr(()=>{e.isUnmounting=!0}),e}();return()=>{const r=t.default&&sr(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==Ni){i=e;break}const s=Bn(e),{mode:a}=s;if(o.isLeaving)return or(i);const l=rr(i);if(!l)return or(i);const c=nr(l,s,o,n);ir(l,c);const u=n.subTree,d=u&&rr(u);if(d&&d.type!==Ni&&!Ui(l,d)){const e=nr(d,s,o,n);if(ir(d,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},or(i);"in-out"===a&&l.type!==Ni&&(e.delayLeave=(e,t,n)=>{tr(o,d)[String(d.key)]=d,e[Go]=()=>{t(),e[Go]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}},er=Qo;function tr(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 nr(e,t,n,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=tr(n,e),x=(e,t)=>{e&&eo(e,o,9,t)},S=(e,t)=>{const n=t[1];x(e,t),s(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},T={mode:i,persisted:a,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t[Go]&&t[Go](!0);const i=w[_];i&&Ui(e,i)&&i.el[Go]&&i.el[Go](),x(o,[t])},enter(e){let t=c,o=u,i=d;if(!n.isMounted){if(!r)return;t=v||c,o=y||u,i=b||d}let s=!1;const a=e[Ko]=t=>{s||(s=!0,x(t?i:o,[e]),T.delayedLeave&&T.delayedLeave(),e[Ko]=void 0)};t?S(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t[Ko]&&t[Ko](!0),n.isUnmounting)return o();x(f,[t]);let i=!1;const s=t[Go]=n=>{i||(i=!0,o(),x(n?g:p,[t]),t[Go]=void 0,w[r]===e&&delete w[r])};w[r]=e,h?S(h,[t,s]):s()},clone:e=>nr(e,t,n,o)};return T}function or(e){if(dr(e))return(e=es(e)).children=null,e}function rr(e){return dr(e)?e.children?e.children[0]:void 0:e}function ir(e,t){6&e.shapeFlag&&e.component?ir(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 sr(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let s=e[i];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:i);s.type===Bi?(128&s.patchFlag&&r++,o=o.concat(sr(s.children,t,a))):(t||s.type!==Ni)&&o.push(null!=a?es(s,{key:a}):s)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}function ar(e,t){return d(e)?h({name:e.name},t,{setup:e}):e}const lr=e=>!!e.type.__asyncLoader;function cr(e){d(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:s=!0,onError:a}=e;let l,c=null,u=0;const f=()=>{let e;return c||(e=c=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise((t,n)=>{a(e,()=>t((u++,c=null,f())),()=>n(e),u+1)});throw e}).then(t=>
1e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t)))};return ar({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return l},setup(){const e=us;if(l)return()=>ur(l,e);const t=t=>{c=null,to(t,e,13,!o)};if(s&&e.suspense||vs)return f().then(t=>()=>ur(t,e)).catch(e=>(t(e),()=>o?Qi(o,{error:e}):null));const a=qn(!1),u=qn(),d=qn(!!r);return r&&setTimeout(()=>{d.value=!1},r),null!=i&&setTimeout(()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}},i),f().then(()=>{a.value=!0,e.parent&&dr(e.parent.vnode)&&(e.parent.effect.dirty=!0,ho(e.parent.update))}).catch(e=>{t(e),u.value=e}),()=>a.value&&l?ur(l,e):u.value&&o?Qi(o,{error:u.value}):n&&!d.value?Qi(n):void 0}})}function ur(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=Qi(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const dr=e=>e.type.__isKeepAlive;class fr{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:o}=this,r=t.get(e);if(r)n.delete(e),n.add(e);else if(n.add(e),o&&n.size>o){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return r}set(e,t){this._cache.set(e,t)}delete(e){this._cache.delete(e),this._keys.delete(e)}forEach(e,t){this._cache.forEach(e.bind(t))}}const hr={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=ds(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=e.cache||new fr(e.max);r.pruneCacheEntry=s;let i=null;function s(t){var o;!i||!Ui(t,i)||"key"===e.matchBy&&t.key!==i.key?(_r(o=t),u(o,n,a,!0)):i&&_r(i)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,f=d("div");function h(t){r.forEach((n,o)=>{const i=xr(n,e.matchBy);!i||t&&t(i)||(r.delete(o),s(n))})}o.activate=(e,t,n,o,r)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,I(i.ba),i.isDeactivated=e}c(e,t,n,0,a),l(i.vnode,e,t,n,i,a,o,e.slotScopeIds,r),xi(()=>{i.isDeactivated=!1,i.a&&I(i.a);const t=e.props&&e.props.onVnodeMounted;t&&as(t,i.parent,e)},a)},o.deactivate=e=>{const t=e.component;t.bda&&Sr(t.bda),c(e,f,null,1,a),xi(()=>{t.bda&&t.bda.forEach(e=>e.__called=!1),t.da&&I(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&as(n,t.parent,e),t.isDeactivated=!0},a)},Ho(()=>[e.include,e.exclude,e.matchBy],([e,t])=>{e&&h(t=>gr(e,t)),t&&h(e=>!gr(t,e))},{flush:"post",deep:!0});let p=null;const g=()=>{null!=p&&r.set(p,wr(n.subTree))};return Er(g),Lr(g),Mr(()=>{r.forEach((t,o)=>{r.delete(o),s(t);const{subTree:i,suspense:a}=n,l=wr(i);if(t.type===l.type&&("key"!==e.matchBy||t.key===l.key)){l.component.bda&&I(l.component.bda),_r(l);const e=l.component.da;return void(e&&xi(e,a))}})}),()=>{if(p=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!Yi(o)||!(4&o.shapeFlag)&&!Fo(o.type))return i=null,o;let s=wr(o);const a=s.type,l=xr(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!gr(c,l))||u&&l&&gr(u,l))return i=s,o;const d=null==s.key?a:s.key,f=r.get(d);return s.el&&(s=es(s),Fo(o.type)&&(o.ssContent=s)),p=d,f&&(s.el=f.el,s.component=f.component,s.transition&&ir(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,Fo(o.type)?o:s}}},pr=hr;function gr(e,t){return s(e)?e.some(e=>gr(e,t)):c(e)?e.split(",").includes(t):!!q(e)&&e.test(t)}function mr(e,t){yr(e,"a",t)}
1function vr(e,t){yr(e,"da",t)}function yr(e,t,n=us){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,Tr(t,o,n),n){let e=n.parent;for(;e&&e.parent;)dr(e.parent.vnode)&&br(o,t,n,e),e=e.parent}}function br(e,t,n,o){const r=Tr(t,e,o,!0);Ar(()=>{R(o[t],r)},n)}function _r(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function wr(e){return Fo(e.type)?e.ssContent:e}function xr(e,t){if("name"===t){const t=e.type;return ws(lr(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Sr(e){for(let t=0;t<e.length;t++){const n=e[t];n.__called||(n(),n.__called=!0)}}function Tr(e,t,n=us,o=!1){if(n){if(r=e,at.indexOf(r)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,[de,re].indexOf(e)>-1)){const o=n.proxy;eo(t.bind(o),n,e,de===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Mt();const r=ps(n),i=eo(t,n,e,o);return r(),At(),i});return o?i.unshift(s):i.push(s),s}var r}const Cr=e=>(t,n=us)=>(!vs||"sp"===e)&&Tr(e,(...e)=>t(...e),n),kr=Cr("bm"),Er=Cr("m"),Or=Cr("bu"),Lr=Cr("u"),Mr=Cr("bum"),Ar=Cr("um"),Pr=Cr("sp"),$r=Cr("rtg"),Ir=Cr("rtc");function Br(e,t=us){Tr("ec",e,t)}function Rr(e,t,n,o){let r;const i=n;if(s(e)||c(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,i)}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,i)}else if(_(e))if(e[Symbol.iterator])r=Array.from(e,(e,n)=>t(e,n,void 0,i));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,s=n.length;o<s;o++){const s=n[o];r[o]=t(e[s],s,o,i)}}else r=[];return r}function Nr(e,t){for(let n=0;n<t.length;n++){const o=t[n];if(s(o))for(let t=0;t<o.length;t++)e[o[t].name]=o[t].fn;else o&&(e[o.name]=o.key?(...e)=>{const t=o.fn(...e);return t&&(t.key=o.key),t}:o.fn)}return e}function Fr(e,t,n={},o,r){if(To.isCE||To.parent&&lr(To.parent)&&To.parent.isCE)return"default"!==t&&(n.name=t),Qi("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),Wi();const s=i&&Dr(i(n)),a=Xi(Bi,{key:n.key||s&&s.key||`_${t}`},s||(o?o():[]),s&&1===e._?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Dr(e){return e.some(e=>!Yi(e)||e.type!==Ni&&!(e.type===Bi&&!Dr(e.children)))?e:null}const jr=e=>e?ms(e)?_s(e)||e.proxy:jr(e.parent):null,Wr=h(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=>jr(e.parent),$root:e=>jr(e.root),$emit:e=>e.emit,$options:e=>Ur(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,ho(e.update)})(e)),$nextTick:e=>e.n||(e.n=fo.bind(e.proxy)),$watch:e=>Vo.bind(e)}),Hr=(e,t)=>e!==y&&!e.__isScriptSetup&&M(e,t),qr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:i,accessCache:s,type:a,appContext:l}=e;let c;if("$"!==t[0]){const a=s[t];if(void 0!==a)switch(a){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Hr(o,t))return s[t]=1,o[t];if(r!==y&&M(r,t))return s[t]=2,r[t];if((c=e.propsOptions[0])&&M(c,t))return s[t]=3,i[t];if(n!==y&&M(n,t))return s[t]=4,n[t];zr&&(s[t]=0)}}const u=Wr[t];let d,f;return u?("$attrs"===t&&Wt(e,0,t),u(e)):(d=a.__cssModules)&&(d=d[t])?d:n!==y&&M(n,t)?(s[t]=4,n[t]):(f=l.config.globalProperties,M(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return Hr(r,t)?(r[t]=n,!0):o!==y&&M(o,t)?(o[t]=n,!0):!(M(e.props,t)||"$"===t[0]&&t.slice(1)in e||(i[t]=n,0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},s){let a;return!!n[s]||e!==y&&M(e,s)||Hr(t,s)||(a=i[0])&&M(a,s)||M(o,s)||M(Wr,s)||M(r.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:M(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Vr(e){return s(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let zr=!0;function Xr(e,t,n){eo(s(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Yr(e,t,n,o){const r=o.includes(".")?zo(n,o):()=>n[o];if(c(e)){const n=t[e];d(n)&&Ho(r,n)}else if(d(e))Ho(r,e.bind(n));
vendor: 10,537 bytes, line 1
1else if(_(e))if(s(e))e.forEach(e=>Yr(e,t,n,o));else{const o=d(e.handler)?e.handler.bind(n):t[e.handler];d(o)&&Ho(r,o,e)}}function Ur(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:r.length||n||o?(l={},r.length&&r.forEach(e=>Gr(l,e,s,!0)),Gr(l,t,s)):l=t,_(t)&&i.set(t,l),l}function Gr(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&Gr(e,i,n,!0),r&&r.forEach(t=>Gr(e,t,n,!0));for(const s in t)if(o&&"expose"===s);else{const o=Kr[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const Kr={data:Jr,props:ti,emits:ti,methods:ei,computed:ei,beforeCreate:Qr,created:Qr,beforeMount:Qr,mounted:Qr,beforeUpdate:Qr,updated:Qr,beforeDestroy:Qr,beforeUnmount:Qr,destroyed:Qr,unmounted:Qr,activated:Qr,deactivated:Qr,errorCaptured:Qr,serverPrefetch:Qr,components:ei,directives:ei,watch:function(e,t){if(!e)return t;if(!t)return e;const n=h(Object.create(null),e);for(const o in t)n[o]=Qr(e[o],t[o]);return n},provide:Jr,inject:function(e,t){return ei(Zr(e),Zr(t))}};function Jr(e,t){return t?e?function(){return h(d(e)?e.call(this,this):e,d(t)?t.call(this,this):t)}:t:e}function Zr(e){if(s(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Qr(e,t){return e?[...new Set([].concat(e,t))]:t}function ei(e,t){return e?h(Object.create(null),e,t):t}function ti(e,t){return e?s(e)&&s(t)?[...new Set([...e,...t])]:h(Object.create(null),Vr(e),Vr(null!=t?t:{})):t}function ni(){return{app:null,config:{isNativeTag:B,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 oi=0;function ri(e,t){return function(t,n=null){d(t)||(t=h({},t)),null==n||_(n)||(n=null);const o=ni(),r=new WeakSet;let i=!1;const s=o.app={_uid:oi++,_component:t,_props:n,_container:null,_context:o,_instance:null,version:Ts,get config(){return o.config},set config(e){},use:(e,...t)=>(r.has(e)||(e&&d(e.install)?(r.add(e),e.install(s,...t)):d(e)&&(r.add(e),e(s,...t))),s),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),s),component:(e,t)=>t?(o.components[e]=t,s):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,s):o.directives[e],mount(r,a,l){if(!i){const a=Qi(t,n);return a.appContext=o,!0===l?l="svg":!1===l&&(l=void 0),e(a,r,l),i=!0,s._container=r,r.__vue_app__=s,s._instance=a.component,_s(a.component)||a.component.proxy}},unmount(){i&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,s),runWithContext(e){const t=ii;ii=s;try{return e()}finally{ii=t}}};return s}}let ii=null;function si(e,t){if(us){let n=us.provides;const o=us.parent&&us.parent.provides;o===n&&(n=us.provides=Object.create(o)),n[e]=t,"app"===us.type.mpType&&us.appContext.app.provide(e,t)}}function ai(e,t,n=!1){const o=us||To;if(o||ii){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:ii._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&d(t)?t.call(o&&o.proxy):t}}function li(e,t,n,o){const[r,i]=e.propsOptions;let s,a=!1;if(t)for(let l in t){if(N(l))continue;const c=t[l];let u;r&&M(r,u=p(l))?i&&i.includes(u)?(s||(s={}))[u]=c:n[u]=c:So(e.emitsOptions,l)||l in o&&c===o[l]||(o[l]=ci(0,0,c),a=!0)}if(i){const t=Bn(n),o=s||y;for(let s=0;s<i.length;s++){const a=i[s];n[a]=ui(r,t,a,o[a],e,!M(o,a))}}return a}function ci(e,t,n){return n}function ui(e,t,n,o,r,i){return function(e,t,n,o,r,i){const s=e[n];if(null!=s){const e=M(s,"default");if(e&&void 0===o){const e=s.default;if(s.type!==Function&&!s.skipFactory&&d(e)){const{propsDefaults:i}=r;if(n in i)o=i[n];else{const s=ps(r);o=i[n]=e.call(null,t),s()}}else o=e}s[0]&&(i&&!e?o=!1:!s[1]||""!==o&&o!==f(n)||(o=!0))}return o}(e,t,n,o,r,i)}function di(e,t,n=!1){const o=t.propsCache,r=o.get(e);if(r)return r;const i=e.props,a={},l=[];let c=!1;if(!d(e)){const o=e=>{c=!0;const[n,o]=di(e,t,!0);h(a,n),o&&l.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!i&&!c)return _(e)&&o.set(e,b),b;if(s(i))for(let s=0;s<i.length;s++){const e=p(i[s]);fi(e)&&(a[e]=y)}else if(i)for(const f in i){const e=p(f);if(fi(e)){const t=i[f],n=a[e]=s(t)||d(t)?{type:t}:h({},t);if(n){const t=gi(Boolean,n.type),o=gi(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||M(n,"default"))&&l.push(e)}}}const u=[a,l];return _(e)&&o.set(e,u),u}function fi(e){return"$"!==e[0]&&!N(e)}function hi(e){return null===e?"null":"function"==typeof e?e.name||"":"object"==typeof e&&e.constructor&&e.constructor.name||""}function pi(e,t){return hi(e)===hi(t)}function gi(e,t){return s(t)?t.findIndex(t=>pi(t,e)):d(t)&&pi(t,e)?0:-1}const mi=e=>"_"===e[0]||"$stable"===e,vi=e=>s(e)?e.map(os):[os(e)],yi=(e,t,n)=>{if(t._n)return t;const o=Eo((...e)=>vi(t(...e)),n);return o._c=!1,o},bi=(e,t,n)=>{const o=e._ctx;for(const r in e){if(mi(r))continue;const n=e[r];if(d(n))t[r]=yi(0,n,o);else if(null!=n){const e=vi(n);t[r]=()=>e}}},_i=(e,t)=>{const n=vi(t);e.slots.default=()=>n};function wi(e,t,n,o,r=!1){if(s(e))return void e.forEach((e,i)=>wi(e,t&&(s(t)?t[i]:t),n,o,r));if(lr(o)&&!r)return;const i=4&o.shapeFlag?_s(o.component)||o.component.proxy:o.el,a=r?null:i,{i:l,r:u}=e,f=t&&t.r,h=l.refs===y?l.refs={}:l.refs,p=l.setupState;if(null!=f&&f!==u&&(c(f)?(h[f]=null,M(p,f)&&(p[f]=null)):Hn(f)&&(f.value=null)),d(u))Qn(u,l,12,[a,h]);else{const t=c(u),o=Hn(u);if(t||o){const l=()=>{if(e.f){const n=t?M(p,u)?p[u]:h[u]:u.value;r?s(n)&&R(n,i):s(n)?n.includes(i)||n.push(i):t?(h[u]=[i],M(p,u)&&(p[u]=h[u])):(u.value=[i],e.k&&(h[e.k]=u.value))}else t?(h[u]=a,M(p,u)&&(p[u]=a)):o&&(u.value=a,e.k&&(h[e.k]=a))};a?(l.id=-1,xi(l,n)):l()}}}const xi=function(e,t){var n;t&&t.pendingBranch?s(e)?t.effects.push(...e):t.effects.push(e):(s(n=e)?so.push(...n):ao&&ao.includes(n,n.allowRecurse?lo+1:lo)||so.push(n),po())};function Si(e){return function(e){v().__VUE__=!0;const{insert:t,remove:n,patchProp:o,forcePatchProp:r,createElement:i,createText:s,createComment:a,setText:l,setElementText:c,parentNode:u,nextSibling:d,setScopeId:g=w,insertStaticContent:m}=e,_=(e,t,n,o=null,r=null,i=null,s=void 0,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Ui(e,t)&&(o=Z(e),Y(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Ri:x(e,t,n,o);break;case Ni:S(e,t,n,o);break;case Fi:null==e&&T(t,n,o,s);break;case Bi:R(e,t,n,o,r,i,s,a,l);break;default:1&d?C(e,t,n,o,r,i,s,a,l):6&d?F(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,te)}null!=u&&r&&wi(u,e&&e.ref,i,t||e,!t)},x=(e,n,o,r)=>{if(null==e)t(n.el=s(n.children),o,r);else{const t=n.el=e.el;n.children!==e.children&&l(t,n.children)}},S=(e,n,o,r)=>{null==e?t(n.el=a(n.children||""),o,r):n.el=e.el},T=(e,t,n,o)=>{[e.el,e.anchor]=m(e.children,t,n,o,e.el,e.anchor)},C=(e,t,n,o,r,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?k(t,n,o,r,i,s,a,l):P(e,t,r,i,s,a,l)},k=(e,n,r,s,a,l,u,d)=>{let f,h;const{props:p,shapeFlag:g,transition:m,dirs:v}=e;if(f=e.el=i(e.type,l,p&&p.is,p),8&g?c(f,e.children):16&g&&A(e.children,f,null,s,a,Ti(e,l),u,d),v&&Uo(e,null,s,"created"),E(f,e,e.scopeId,u,s),p){for(const t in p)"value"===t||N(t)||o(f,t,null,p[t],l,e.children,s,a,J);"value"in p&&o(f,"value",null,p.value,l),(h=p.onVnodeBeforeMount)&&as(h,s,e)}Object.defineProperty(f,"__vueParentComponent",{value:s,enumerable:!1}),v&&Uo(e,null,s,"beforeMount");const y=(_=m,(!(b=a)||b&&!b.pendingBranch)&&_&&!_.persisted);var b,_;y&&m.beforeEnter(f),t(f,n,r),((h=p&&p.onVnodeMounted)||y||v)&&xi(()=>{h&&as(h,s,e),y&&m.enter(f),v&&Uo(e,null,s,"mounted")},a)},E=(e,t,n,o,r)=>{if(n&&g(e,n),o)for(let i=0;i<o.length;i++)g(e,o[i]);if(r&&t===r.subTree){const t=r.vnode;E(e,t,t.scopeId,t.slotScopeIds,r.parent)}},A=(e,t,n,o,r,i,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?rs(e[c]):os(e[c]);_(null,l,t,n,o,r,i,s,a)}},P=(e,t,n,i,s,a,l)=>{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:h}=t;d|=16&e.patchFlag;const p=e.props||y,g=t.props||y;let m;if(n&&Ci(n,!1),(m=g.onVnodeBeforeUpdate)&&as(m,n,t,e),h&&Uo(t,e,n,"beforeUpdate"),n&&Ci(n,!0),f?$(e.dynamicChildren,f,u,n,i,Ti(t,s),a):l||q(e,t,u,null,n,i,Ti(t,s),a,!1),d>0){if(16&d)B(u,t,p,g,n,i,s);else if(2&d&&p.class!==g.class&&o(u,"class",null,g.class,s),4&d&&o(u,"style",p.style,g.style,s),8&d){const a=t.dynamicProps;for(let t=0;t<a.length;t++){const l=a[t],c=p[l],d=g[l];(d!==c||"value"===l||r&&r(u,l))&&o(u,l,c,d,s,e.children,n,i,J)}}1&d&&e.children!==t.children&&c(u,t.children)}else l||null!=f||B(u,t,p,g,n,i,s);((m=g.onVnodeUpdated)||h)&&xi(()=>{m&&as(m,n,t,e),h&&Uo(t,e,n,"updated")},i)},$=(e,t,n,o,r,i,s)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],d=l.el&&(l.type===Bi||!Ui(l,c)||70&l.shapeFlag)?u(l.el):n;_(l,c,d,null,o,r,i,s,!0)}},B=(e,t,n,i,s,a,l)=>{if(n!==i){if(n!==y)for(const r in n)N(r)||r in i||o(e,r,n[r],null,l,t.children,s,a,J);for(const c in i){if(N(c))continue;const u=i[c],d=n[c];(u!==d&&"value"!==c||r&&r(e,c))&&o(e,c,d,u,l,t.children,s,a,J)}"value"in i&&o(e,"value",n.value,i.value,l)}},R=(e,n,o,r,i,a,l,c,u)=>{const d=n.el=e?e.el:s(""),f=n.anchor=e?e.anchor:s("");let{patchFlag:h,dynamicChildren:p,slotScopeIds:g}=n;g&&(c=c?c.concat(g):g),null==e?(t(d,o,r),t(f,o,r),A(n.children||[],o,f,i,a,l,c,u)):h>0&&64&h&&p&&e.dynamicChildren?($(e.dynamicChildren,p,o,i,a,l,c),(null!=n.key||i&&n===i.subTree)&&ki(e,n,!0)):q(e,n,o,f,i,a,l,c,u)},F=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):D(t,n,o,r,i,s,l):j(e,t,l)},D=(e,t,n,o,r,i,s)=>{const a=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||ls,i={uid:cs++,vnode:e,type:o,parent:t,appContext:r,get renderer(){return"app"===o.mpType?"app":this.$pageInstance&&this.$pageInstance==i?"page":"component"},root:null,next:null,subTree:null,effect:null,update:null,scope:new yt(!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:di(o,r),emitsOptions:xo(o,r),emit:null,emitted:null,propsDefaults:y,inheritAttrs:o.inheritAttrs,ctx:y,data:y,props:y,attrs:y,slots:y,refs:y,setupState:y,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,
1sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=_o.bind(null,i),i.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(i),i}(e,o,r);if(dr(e)&&(a.ctx.renderer=te),function(e,t=!1){t&&hs(t);const{props:n,children:o}=e.vnode,r=ms(e);(function(e,t,n,o=!1){const r={},i={};L(i,Gi,1),e.propsDefaults=Object.create(null),li(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:En(r):e.type.props?e.props=r:e.props=i,e.attrs=i})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Bn(t),L(t,"_",n)):bi(t,e.slots={})}else e.slots={},t&&_i(e,t);L(e.slots,Gi,1)})(e,o),r&&function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Rn(new Proxy(e.ctx,qr));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?(r=e,{get attrs(){return(e=r).attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(Wt(e,0,"$attrs"),t[n])}));var e},slots:r.slots,emit:r.emit,expose:e=>{r.exposed=e||{}}}):null,i=ps(e);Mt();const s=Qn(o,e,0,[e.props,n]);if(At(),i(),O(s)){if(s.then(gs,gs),t)return s.then(t=>{ys(e,t)}).catch(t=>{to(t,e,0)});e.asyncDep=s}else ys(e,s)}else bs(e);var r}(e,t),t&&hs(!1)}(a),a.asyncDep){if(r&&r.registerDep(a,W),!e.el){const e=a.subTree=Qi(Ni);S(null,e,t,n)}}else W(a,e,t,n,r,i,s)},j=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Ao(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Ao(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!So(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void H(o,t,n);o.next=t,function(e){const t=ro.indexOf(e);t>io&&ro.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},W=(e,t,n,o,r,i,s)=>{const a=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:l,vnode:c}=e;{const n=Ei(e);if(n)return t&&(t.el=c.el,H(e,t,s)),void n.asyncDep.then(()=>{e.isUnmounted||a()})}let d,f=t;Ci(e,!1),t?(t.el=c.el,H(e,t,s)):t=c,n&&I(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&as(d,l,t,c),Ci(e,!0);const h=Oo(e),p=e.subTree;e.subTree=h,_(p,h,u(p.el),Z(p),e,r,i),t.el=h.el,null===f&&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&&xi(o,r),(d=t.props&&t.props.onVnodeUpdated)&&xi(()=>as(d,l,t,c),r)}else{let s;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,f=lr(t);Ci(e,!1),c&&I(c),!f&&(s=l&&l.onVnodeBeforeMount)&&as(s,d,t),Ci(e,!0);{const s=e.subTree=Oo(e);_(null,s,n,o,e,r,i),t.el=s.el}if(u&&xi(u,r),!f&&(s=l&&l.onVnodeMounted)){const e=t;xi(()=>as(s,d,e),r)}(256&t.shapeFlag||d&&lr(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&Sr(e.ba),e.a&&xi(e.a,r)),e.isMounted=!0,t=n=o=null}},l=e.effect=new xt(a,w,()=>ho(c),e.scope),c=e.update=()=>{l.dirty&&l.run()};c.id=e.uid,Ci(e,!0),c()},H=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=Bn(r),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;li(e,t,r,i)&&(c=!0);for(const i in a)t&&(M(t,i)||(o=f(i))!==i&&M(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=ui(l,a,i,void 0,e,!0)):delete r[i]);if(i!==a)for(const e in i)t&&M(t,e)||(delete i[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let s=n[o];if(So(e.emitsOptions,s))continue;const u=t[s];if(l)if(M(i,s))u!==i[s]&&(i[s]=ci(0,0,u),c=!0);else{const t=p(s);r[t]=ui(l,a,t,u,e,!1)}else u!==i[s]&&(i[s]=ci(0,0,u),c=!0)}}c&&Ht(e,"set","$attrs")}(e,t.props,o,n),((e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,s=y;if(32&o.shapeFlag){const e=t._;e?n&&1===e?i=!1:(h(r,t),n||1!==e||delete r._):(i=!t.$stable,bi(t,r)),s=t}else t&&(_i(e,t),s={default:1});if(i)for(const a in r)mi(a)||null!=s[a]||delete r[a]})(e,t.children,n),Mt(),go(e),At()},q=(e,t,n,o,r,i,s,a,l=!1)=>{const u=e&&e.children,d=e?e.shapeFlag:0,f=t.children,{patchFlag:h,shapeFlag:p}=t;if(h>0){if(128&h)return void z(u,f,n,o,r,i,s,a,l);if(256&h)return void V(u,f,n,o,r,i,s,a,l)}8&p?(16&d&&J(u,r,i),f!==u&&c(n,f)):16&d?16&p?z(u,f,n,o,r,i,s,a,l):J(u,r,i,!0):(8&d&&c(n,""),16&p&&A(f,n,o,r,i,s,a,l))},V=(e,t,n,o,r,i,s,a,l)=>{t=t||b;const c=(e=e||b).length,u=t.length,d=Math.min(c,u);let f;for(f=0;f<d;f++){const o=t[f]=l?rs(t[f]):os(t[f]);_(e[f],o,n,null,r,i,s,a,l)}c>u?J(e,r,i,!0,!1,d):A(t,n,o,r,i,s,a,l,d)},z=(e,t,n,o,r,i,s,a,l)=>{let c=0;const u=t.length;let d=e.length-1,f=u-1;for(;c<=d&&c<=f;){const o=e[c],u=t[c]=l?rs(t[c]):os(t[c]);if(!Ui(o,u))break;
vendor: 9,937 bytes, line 1
1_(o,u,n,null,r,i,s,a,l),c++}for(;c<=d&&c<=f;){const o=e[d],c=t[f]=l?rs(t[f]):os(t[f]);if(!Ui(o,c))break;_(o,c,n,null,r,i,s,a,l),d--,f--}if(c>d){if(c<=f){const e=f+1,d=e<u?t[e].el:o;for(;c<=f;)_(null,t[c]=l?rs(t[c]):os(t[c]),n,d,r,i,s,a,l),c++}}else if(c>f)for(;c<=d;)Y(e[c],r,i,!0),c++;else{const h=c,p=c,g=new Map;for(c=p;c<=f;c++){const e=t[c]=l?rs(t[c]):os(t[c]);null!=e.key&&g.set(e.key,c)}let m,v=0;const y=f-p+1;let w=!1,x=0;const S=new Array(y);for(c=0;c<y;c++)S[c]=0;for(c=h;c<=d;c++){const o=e[c];if(v>=y){Y(o,r,i,!0);continue}let u;if(null!=o.key)u=g.get(o.key);else for(m=p;m<=f;m++)if(0===S[m-p]&&Ui(o,t[m])){u=m;break}void 0===u?Y(o,r,i,!0):(S[u-p]=c+1,u>=x?x=u:w=!0,_(o,t[u],n,null,r,i,s,a,l),v++)}const T=w?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<l?i=a+1:s=a;l<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}(S):b;for(m=T.length-1,c=y-1;c>=0;c--){const e=p+c,d=t[e],f=e+1<u?t[e+1].el:o;0===S[c]?_(null,d,n,f,r,i,s,a,l):w&&(m<0||c!==T[m]?X(d,n,f,2):m--)}}},X=(e,n,o,r,i=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)X(e.component.subTree,n,o,r);else if(128&u)e.suspense.move(n,o,r);else if(64&u)a.move(e,n,o,te);else if(a!==Bi)if(a!==Fi)if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),t(s,n,o),xi(()=>l.enter(s),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>t(s,n,o),c=()=>{e(s,()=>{a(),i&&i()})};r?r(s,a,c):c()}else t(s,n,o);else(({el:e,anchor:n},o,r)=>{let i;for(;e&&e!==n;)i=d(e),t(e,o,r),e=i;t(n,o,r)})(e,n,o);else{t(s,n,o);for(let e=0;e<c.length;e++)X(c[e],n,o,r);t(e.anchor,n,o)}},Y=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=a&&wi(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const h=1&u&&f,p=!lr(e);let g;if(p&&(g=s&&s.onVnodeBeforeUnmount)&&as(g,t,e),6&u)K(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);h&&Uo(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,te,o):c&&(i!==Bi||d>0&&64&d)?J(c,t,n,!1,!0):(i===Bi&&384&d||!r&&16&u)&&J(l,t,n),o&&U(e)}(p&&(g=s&&s.onVnodeUnmounted)||h)&&xi(()=>{g&&as(g,t,e),h&&Uo(e,null,t,"unmounted")},n)},U=e=>{const{type:t,el:o,anchor:r,transition:i}=e;if(t===Bi)return void G(o,r);if(t===Fi)return void(({el:e,anchor:t})=>{let o;for(;e&&e!==t;)o=d(e),n(e),e=o;n(t)})(e);const s=()=>{n(o),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:n}=i,r=()=>t(o,s);n?n(e.el,s,r):r()}else s()},G=(e,t)=>{let o;for(;e!==t;)o=d(e),n(e),e=o;n(t)},K=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:s,um:a}=e;o&&I(o),r.stop(),i&&(i.active=!1,Y(s,e,t,n)),a&&xi(a,t),xi(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},J=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)Y(e[s],t,n,o,r)},Z=e=>6&e.shapeFlag?Z(e.component.subTree):128&e.shapeFlag?e.suspense.next():d(e.anchor||e.el);let Q=!1;const ee=(e,t,n)=>{null==e?t._vnode&&Y(t._vnode,null,null,!0):_(t._vnode||null,e,t,null,null,null,n),Q||(Q=!0,go(),mo(),Q=!1),t._vnode=e},te={p:_,um:Y,m:X,r:U,mt:D,mc:A,pc:q,pbc:$,n:Z,o:e};return{render:ee,hydrate:void 0,createApp:ri(ee)}}(e)}function Ti({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 Ci({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ki(e,t,n=!1){const o=e.children,r=t.children;if(s(o)&&s(r))for(let i=0;i<o.length;i++){const e=o[i];let t=r[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=r[i]=rs(r[i]),t.el=e.el),n||ki(e,t)),t.type===Ri&&(t.el=e.el)}}function Ei(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ei(t)}const Oi=e=>e&&(e.disabled||""===e.disabled),Li=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Mi=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,Ai=(e,t)=>{const n=e&&e.to;return c(n)?t?t(n):null:n};function Pi(e,t,n,{o:{insert:o},m:r},i=2){0===i&&o(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:u}=e,d=2===i;if(d&&o(s,t,n),(!d||Oi(u))&&16&l)for(let f=0;f<c.length;f++)r(c[f],t,n,2);d&&o(a,t,n)}const $i={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,i,s,a,l,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:p,createText:g,createComment:m}}=c,v=Oi(t.props);let{shapeFlag:y,children:b,dynamicChildren:_}=t;if(null==e){const e=t.el=g(""),c=t.anchor=g("");h(e,n,o),h(c,n,o);const d=t.target=Ai(t.props,p),f=t.targetAnchor=g("");d&&(h(f,d),"svg"===s||Li(d)?s="svg":("mathml"===s||Mi(d))&&(s="mathml"));const m=(e,t)=>{16&y&&u(b,e,t,r,i,s,a,l)};v?m(n,c):d&&m(d,f)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=Oi(e.props),m=g?n:u,y=g?o:h;if("svg"===s||Li(u)?s="svg":("mathml"===s||Mi(u))&&(s="mathml"),_?(f(e.dynamicChildren,_,m,r,i,s,a),ki(e,t,!0)):l||d(e,t,m,y,r,i,s,a,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Pi(t,n,o,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Ai(t.props,p);e&&Pi(t,e,null,c,0)}else g&&Pi(t,u,h,c,1)}Ii(t)},remove(e,t,n,o,{um:r,o:{remove:i}},s){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:d,props:f}=e;if(d&&i(u),s&&i(c),16&a){const e=s||!Oi(f);for(let o=0;o<l.length;o++){const i=l[o];r(i,t,n,e,!!i.dynamicChildren)}}},move:Pi,hydrate:function(e,t,n,o,r,i,{o:{nextSibling:s,parentNode:a,querySelector:l}},c){const u=t.target=Ai(t.props,l);if(u){const l=u._lpa||u.firstChild;if(16&t.shapeFlag)if(Oi(t.props))t.anchor=c(s(e),t,a(e),n,o,r,i),t.targetAnchor=l;else{t.anchor=s(e);let a=l;for(;a;)if(a=s(a),a&&8===a.nodeType&&"teleport anchor"===a.data){t.targetAnchor=a,u._lpa=t.targetAnchor&&s(t.targetAnchor);break}c(l,t,u,n,o,r,i)}Ii(t)}return t.anchor&&s(t.anchor)}};function Ii(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)1===n.nodeType&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Bi=Symbol.for("v-fgt"),Ri=Symbol.for("v-txt"),Ni=Symbol.for("v-cmt"),Fi=Symbol.for("v-stc"),Di=[];let ji=null;function Wi(e=!1){Di.push(ji=e?null:[])}let Hi=1;function qi(e){Hi+=e}function Vi(e){return e.dynamicChildren=Hi>0?ji||b:null,Di.pop(),ji=Di[Di.length-1]||null,Hi>0&&ji&&ji.push(e),e}function zi(e,t,n,o,r,i){return Vi(Zi(e,t,n,o,r,i,!0))}function Xi(e,t,n,o,r){return Vi(Qi(e,t,n,o,r,!0))}function Yi(e){return!!e&&!0===e.__v_isVNode}function Ui(e,t){return e.type===t.type&&e.key===t.key}const Gi="__vInternal",Ki=({key:e})=>null!=e?e:null,Ji=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?c(e)||Hn(e)||d(e)?{i:To,r:e,k:t,f:!!n}:e:null);function Zi(e,t=null,n=null,o=0,r=null,i=(e===Bi?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ki(t),ref:t&&Ji(t),scopeId:Co,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:To};return a?(is(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=c(n)?8:16),Hi>0&&!s&&ji&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&ji.push(l),l}const Qi=function(e,t=null,n=null,o=0,r=null,i=!1){if(e&&e!==Io||(e=Ni),Yi(e)){const o=es(e,t,!0);return n&&is(o,n),Hi>0&&!i&&ji&&(6&o.shapeFlag?ji[ji.indexOf(e)]=o:ji.push(o)),o.patchFlag|=-2,o}var a,l;if(d(a=e)&&"__vccOpts"in a&&(e=e.__vccOpts),t){t=(l=t)?In(l)||Gi in l?h({},l):l:null;let{class:e,style:n}=t;e&&!c(e)&&(t.class=qe(e)),_(n)&&(In(n)&&!s(n)&&(n=h({},n)),t.style=He(n))}const u=c(e)?1:Fo(e)?128:(e=>e.__isTeleport)(e)?64:_(e)?4:d(e)?2:0;return Zi(e,t,n,o,r,u,i,!0)};function es(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,l=t?ss(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ki(l),ref:t&&t.ref?n&&r?s(r)?r.concat(Ji(t)):[r,Ji(t)]:Ji(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Bi?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&es(e.ssContent),ssFallback:e.ssFallback&&es(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ts(e=" ",t=0){return Qi(Ri,null,e,t)}function ns(e="",t=!1){return t?(Wi(),Xi(Ni,null,e)):Qi(Ni,null,e)}function os(e){return null==e||"boolean"==typeof e?Qi(Ni):s(e)?Qi(Bi,null,e.slice()):"object"==typeof e?rs(e):Qi(Ri,null,String(e))}function rs(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:es(e)}function is(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(s(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),is(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Gi in t?3===o&&To&&(1===To.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=To}}else d(t)?(t={default:t,_ctx:To},n=32):(t=String(t),64&o?(n=16,t=[ts(t)]):n=8);e.children=t,e.shapeFlag|=n}function ss(...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=qe([t.class,o.class]));else if("style"===e)t.style=He([t.style,o.style]);else if(x(e)){const n=t[e],r=o[e];!r||n===r||s(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function as(e,t,n,o=null){eo(e,t,7,[n,o])}const ls=ni();let cs=0,us=null;const ds=()=>us||To;let fs,hs;{const e=v(),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)}};fs=t("__VUE_INSTANCE_SETTERS__",e=>us=e),hs=t("__VUE_SSR_SETTERS__",e=>vs=e)}
1const ps=e=>{const t=us;return fs(e),e.scope.on(),()=>{e.scope.off(),fs(t)}},gs=()=>{us&&us.scope.off(),fs(null)};function ms(e){return 4&e.vnode.shapeFlag}let vs=!1;function ys(e,t,n){d(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_(t)&&(e.setupState=Gn(t)),bs(e)}function bs(e,t,n){const o=e.type;e.render||(e.render=o.render||w);{const t=ps(e);Mt();try{!function(e){const t=Ur(e),n=e.proxy,o=e.ctx;zr=!1,t.beforeCreate&&Xr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:l,provide:c,inject:u,created:f,beforeMount:h,mounted:p,beforeUpdate:g,updated:m,activated:v,deactivated:y,beforeDestroy:b,beforeUnmount:x,destroyed:S,unmounted:T,render:C,renderTracked:k,renderTriggered:E,errorCaptured:O,serverPrefetch:L,expose:M,inheritAttrs:A,components:P,directives:$,filters:I}=t;if(u&&function(e,t){s(e)&&(e=Zr(e));for(const n in e){const o=e[n];let r;r=_(o)?"default"in o?ai(o.from||n,o.default,!0):ai(o.from||n):ai(o),Hn(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[n]=r}}(u,o),a)for(const s in a){const e=a[s];d(e)&&(o[s]=e.bind(n))}if(r){const t=r.call(n,n);_(t)&&(e.data=kn(t))}if(zr=!0,i)for(const s in i){const e=i[s],t=d(e)?e.bind(n,n):d(e.get)?e.get.bind(n,n):w,r=!d(e)&&d(e.set)?e.set.bind(n):w,a=xs({get:t,set:r});Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const s in l)Yr(l[s],o,n,s);if(c){const e=d(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{si(t,e[t])})}function B(e,t){s(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(f&&Xr(f,e,"c"),B(kr,h),B(Er,p),B(Or,g),B(Lr,m),B(mr,v),B(vr,y),B(Br,O),B(Ir,k),B($r,E),B(Mr,x),B(Ar,T),B(Pr,L),s(M))if(M.length){const t=e.exposed||(e.exposed={});M.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});C&&e.render===w&&(e.render=C),null!=A&&(e.inheritAttrs=A),P&&(e.components=P),$&&(e.directives=$);const R=e.appContext.config.globalProperties.$applyOptions;R&&R(t,e,n)}(e)}finally{At(),t()}}}function _s(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Gn(Rn(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Wr?Wr[n](e):void 0,has:(e,t)=>t in e||t in Wr}))}function ws(e,t=!0){return d(e)?e.displayName||e.name:e.name||t&&e.__name}const xs=(e,t)=>function(e,t,n=!1){let o,r;const i=d(e);return i?(o=e,r=w):(o=e.get,r=e.set),new Dn(o,r,i||!r,n)}(e,0,vs);function Ss(e,t,n){const o=arguments.length;return 2===o?_(t)&&!s(t)?Yi(t)?Qi(e,null,[t]):Qi(e,t):Qi(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Yi(n)&&(n=[n]),Qi(e,t,n))}const Ts="3.4.21",Cs="undefined"!=typeof document?document:null,ks=Cs&&Cs.createElement("template"),Es={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r="svg"===t?Cs.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Cs.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Cs.createElement(e,{is:n}):Cs.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Cs.createTextNode(e),createComment:e=>Cs.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>
vendor: 4,307 bytes, line 1
1{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Cs.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{ks.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const r=ks.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Os="transition",Ls="animation",Ms=Symbol("_vtc"),As=(e,{slots:t})=>Ss(er,function(e){const t={};for(const h in e)h in Ps||(t[h]=e[h]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(_(e))return[Bs(e.enter),Bs(e.leave)];{const t=Bs(e);return[t,t]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:w,onLeave:x,onLeaveCancelled:S,onBeforeAppear:T=y,onAppear:C=b,onAppearCancelled:k=w}=t,E=(e,t,n)=>{Ns(e,t?u:a),Ns(e,t?c:s),n&&n()},O=(e,t)=>{e._isLeaving=!1,Ns(e,d),Ns(e,p),Ns(e,f),t&&t()},L=e=>(t,n)=>{const r=e?C:b,s=()=>E(t,e,n);$s(r,[t,s]),Fs(()=>{Ns(t,e?l:i),Rs(t,e?u:a),Is(r)||js(t,o,m,s)})};return h(t,{onBeforeEnter(e){$s(y,[e]),Rs(e,i),Rs(e,s)},onBeforeAppear(e){$s(T,[e]),Rs(e,l),Rs(e,c)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>O(e,t);Rs(e,d),document.body.offsetHeight,Rs(e,f),Fs(()=>{e._isLeaving&&(Ns(e,d),Rs(e,p),Is(x)||js(e,o,v,n))}),$s(x,[e,n])},onEnterCancelled(e){E(e,!1),$s(w,[e])},onAppearCancelled(e){E(e,!0),$s(k,[e])},onLeaveCancelled(e){O(e),$s(S,[e])}})}(e),t);As.displayName="Transition";const Ps={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};As.props=h({},Zo,Ps);const $s=(e,t=[])=>{s(e)?e.forEach(e=>e(...t)):e&&e(...t)},Is=e=>!!e&&(s(e)?e.some(e=>e.length>1):e.length>1);function Bs(e){return $(e)}function Rs(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[Ms]||(e[Ms]=new Set)).add(t)}function Ns(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[Ms];n&&(n.delete(t),n.size||(e[Ms]=void 0))}function Fs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ds=0;function js(e,t,n,o){const r=e._endId=++Ds,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o(`${Os}Delay`),i=o(`${Os}Duration`),s=Ws(r,i),a=o(`${Ls}Delay`),l=o(`${Ls}Duration`),c=Ws(a,l);let u=null,d=0,f=0;return t===Os?s>0&&(u=Os,d=s,f=i.length):t===Ls?c>0&&(u=Ls,d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?Os:Ls:null,f=u?u===Os?i.length:l.length:0),{type:u,timeout:d,propCount:f,hasTransform:u===Os&&/\b(transform|all)(,|$)/.test(o(`${Os}Property`).toString())}}(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},a+1),e.addEventListener(c,f)}function Ws(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>Hs(t)+Hs(e[n])))}function Hs(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const qs=Symbol("_vod"),Vs=Symbol("_vsh"),zs={beforeMount(e,{value:t},{transition:n}){e[qs]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Xs(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),Xs(e,!0),o.enter(e)):o.leave(e,()=>{Xs(e,!1)}):Xs(e,t))},beforeUnmount(e,{value:t}){Xs(e,t)}};function Xs(e,t){e.style.display=t?e[qs]:"none",e[Vs]=!t}const Ys=Symbol("");function Us(e){const t=ds();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}
1"]`)).forEach(e=>Ks(e,n))},o=()=>{const o=e(t.proxy);Gs(t.subTree,o),n(o)};qo(o,null,{flush:"post"}),Er(()=>{const e=new MutationObserver(o);e.observe(t.subTree.el.parentNode,{childList:!0}),Ar(()=>e.disconnect())})}function Gs(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Gs(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)Ks(e.el,t);else if(e.type===Bi)e.children.forEach(e=>Gs(e,t));else if(e.type===Fi){let{el:n,anchor:o}=e;for(;n&&(Ks(n,t),n!==o);)n=n.nextSibling}}function Ks(e,t){if(1===e.nodeType){const n=e.style;let o="";for(const e in t){const r=sa(t[e]);n.setProperty(`--${e}`,r),o+=`--${e}: ${r};`}n[Ys]=o}}const Js=/(^|;)\s*display\s*:/,Zs=/\s*!important$/;function Qs(e,t,n){if(s(n))n.forEach(n=>Qs(e,t,n));else if(null==n&&(n=""),n=sa(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=ta[t];if(n)return n;let o=p(t);if("filter"!==o&&o in e)return ta[t]=o;o=E(o);for(let r=0;r<ea.length;r++){const n=ea[r]+o;if(n in e)return ta[t]=n}return t}(e,t);Zs.test(n)?e.setProperty(f(o),n.replace(Zs,""),"important"):e[o]=n}}const ea=["Webkit","Moz","ms"],ta={},{unit:na,unitRatio:oa,unitPrecision:ra}={unit:"rem",unitRatio:10/320,unitPrecision:5},ia=function(e,t,n){return o=>o.replace(Ze,(o,r)=>{if(!r)return o;const i=function(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return 10*Math.round(o/10)/n}(parseFloat(r)*t,n);return 0===i?"0":`${i}${e}`})}(na,oa,ra),sa=e=>c(e)?ia(e):e,aa="http://www.w3.org/1999/xlink",la=Symbol("_vei"),ca=/(?:Once|Passive|Capture)$/;let ua=0;const da=Promise.resolve();function fa(e,t){if(s(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 ha=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,pa=["ctrl","shift","alt","meta"],ga={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)=>pa.some(n=>e[`${n}Key`]&&!t.includes(n))},ma=(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=ga[t[e]];if(o&&o(n,t))return}return e(n,...o)})},va=h({patchProp:(e,t,n,o,r,i,a,l,u)=>{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,s=i[r],a=(e.__wxsProps||(e.__wxsProps={}))[r];if(a===s)return;e.__wxsProps[r]=s;const l=o.proxy;fo(()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))})}(e,t,o,a);const h="svg"===r;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter(e=>-1===r.indexOf(e)).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const i=e[Ms];i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,h):"style"===t?function(e,t,n){const o=e.style,r=c(n);let i=!1;if(n&&!r){if(t)if(c(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Qs(o,t,"")}else for(const e in t)null==n[e]&&Qs(o,e,"");for(const e in n)"display"===e&&(i=!0),Qs(o,e,n[e])}else if(r){if(t!==n){const e=o[Ys];e&&(n+=";"+e),o.cssText=n,i=Js.test(n)}}else t&&e.removeAttribute("style");qs in e&&(e[qs]=i?o.display:"",e[Vs]&&(o.display="none"));const{__wxsStyle:s}=e;if(s)for(const a in s)Qs(o,a,s[a])}(e,n,o):x(t)?j(t)||function(e,t,n,o,r=null){const i=e[la]||(e[la]={}),a=i[t];if(o&&a)a.value=o;else{const[n,d]=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):f(e.slice(2)),t]}(t);if(o){const a=i[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,r=o&&o.$nne,{value:i}=n;if(r&&s(i)){const n=fa(e,i);for(let o=0;o<n.length;o++){const i=n[o];eo(i,t,5,i.__wwe?[e]:r(e))}return}eo(fa(e,n.value),t,5,r&&!i.__wwe?r(e,i,t):[e])};return n.value=e,n.attached=ua||(da.then(()=>ua=0),ua=Date.now()),n}(o,r);l=n,c=a,u=d,e.addEventListener(l,c,u)}else a&&(function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,a,d),i[t]=void 0)}var l,c,u}(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&&ha(t)&&d(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}return(!ha(t)||!c(n))&&t in e}(e,t,o,h))?function(e,t,n,o,r,i,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,r,i),void(e[t]=null==n?"":n);const a=e.tagName;if("value"===t&&"PROGRESS"!==a&&!a.includes("-")){const o=null==n?"":n;return("OPTION"===a?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=W(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,i,a,l,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(aa,t.slice(6,t.length)):e.setAttributeNS(aa,t,n);else{const o=H(t);null==n||o&&!W(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,h))},forcePatchProp:(e,t)=>!(0!==t.indexOf("change:")&&("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,0):"style"!==t||!e.__w
1xsStyleChanged||(e.__wxsStyleChanged=!1,0)))},Es);let ya;const ba=(...e)=>{const t=(ya||(ya=Si(va))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=c(r=e)?document.querySelector(r):r;var r;if(!o)return;const i=t._component;d(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,function(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},_a=["{","}"],wa=/^(?:\d)+/,xa=/^(?:\w)+/,Sa="zh-Hans",Ta="zh-Hant",Ca="en",ka="fr",Ea="es",Oa=Object.prototype.hasOwnProperty,La=(e,t)=>Oa.call(e,t),Ma=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=_a){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r<e.length;){let s=e[r++];if(s===t){i&&o.push({type:"text",value:i}),i="";let t="";for(s=e[r++];void 0!==s&&s!==n;)t+=s,s=e[r++];const a=s===n,l=wa.test(t)?"list":a&&xa.test(t)?"named":"unknown";o.push({value:t,type:l})}else i+=s}return i&&o.push({type:"text",value:i}),o}(e,n),this._caches[e]=o),function(e,t){const n=[];let o=0;const r=Array.isArray(t)?"list":null!==(i=t)&&"object"==typeof i?"named":"unknown";var i;if("unknown"===r)return n;for(;o<e.length;){const i=e[o];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===r&&n.push(t[i.value])}o++}return n}(o,t)}};function Aa(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return Sa;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?Sa:e.indexOf("-hant")>-1?Ta:(n=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==n.indexOf(e))?Ta:Sa);var n;let o=[Ca,ka,Ea];var r;return t&&Object.keys(t).length>0&&(o=Object.keys(t)),r=e,o.find(e=>0===r.indexOf(e))||void 0}class Pa{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale=Ca,this.fallbackLocale=Ca,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||Ma,this.messages=n||{},this.setLocale(e||Ca),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=Aa(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=>{La(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=Aa(t,this.messages))&&(o=this.messages[t]):n=t,La(o,e)?this.formater.interpolate(o[e],n).join(""):e}}const $a=Ye(()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let Ia;function Ba(){if(!Ia){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,Ia=function(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&&Yu?Yu():"undefined"!=typeof global&&global.getLocale?global.getLocale():Ca),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Ca);const r=new Pa({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=Np().$vm;return o&&(o.$locale,e||(e=!0,s=r,(i=o).$watchLocale?i.$watchLocale(e=>{s.setLocale(e)}):i.$watch(()=>i.$locale,e=>{s.setLocale(e)}))),r.t(t,n);var i,s}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}(e),$a()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(e=>Ia.add(e,__uniConfig.locales[e])),Ia.setLocale(e)}}return Ia}function Ra(e,t,n){return t.reduce((t,o,r)=>(t[e+o]=n[r],t),{})}const Na=Ye(()=>{const e="uni.async.",t=["error"];Ba().add(Ca,Ra(e,t,["The connection timed out, click the screen to try again."]),!1),Ba().add(Ea,Ra(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Ba().add(ka,Ra(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Ba().add(Sa,Ra(e,t,["è¿æ¥æå¡å¨è¶
æ¶ï¼ç¹å»å±å¹éè¯"]),!1),Ba().add(Ta,Ra(e,t,["飿¥æåå¨è¶
æï¼é»æå±å¹é試"]),!1)}),Fa=Ye(()=>{const e="uni.showToast.",t=["unpaired"];Ba().add(Ca,Ra(e,t,["Please note showToast must be paired with hideToast"]),!1),Ba().add(Ea,Ra(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Ba().add(ka,Ra(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Ba().add(Sa,Ra(e,t,["请注æ showToast ä¸ hideToast å¿
é¡»é
对使ç¨"]),!1),Ba().add(Ta,Ra(e,t,["è«æ³¨æ showToast è hideToast å¿
é é
å°ä½¿ç¨"]),!1)}),Da=Ye(()=>{const e="uni.showLoading.",t=["unpaired"];Ba().add(Ca,Ra(e,t,["Please note showLoading must be paired with hideL
1oading"]),!1),Ba().add(Ea,Ra(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Ba().add(ka,Ra(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Ba().add(Sa,Ra(e,t,["请注æ showLoading ä¸ hideLoading å¿
é¡»é
对使ç¨"]),!1),Ba().add(Ta,Ra(e,t,["è«æ³¨æ showLoading è hideLoading å¿
é é
å°ä½¿ç¨"]),!1)}),ja=Ye(()=>{const e="uni.chooseFile.",t=["notUserActivation"];Ba().add(Ca,Ra(e,t,["File chooser dialog can only be shown with a user activation"]),!1),Ba().add(Ea,Ra(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),Ba().add(ka,Ra(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),Ba().add(Sa,Ra(e,t,["æä»¶éæ©å¨å¯¹è¯æ¡åªè½å¨ç±ç¨æ·æ¿æ´»æ¶æ¾ç¤º"]),!1),Ba().add(Ta,Ra(e,t,["æä»¶é¸æå¨å°è©±æ¡åªè½å¨ç±ç¨æ¶æ¿æ´»æé¡¯ç¤º"]),!1)}),Wa=Ye(()=>{const e="uni.setClipboardData.",t=["success","fail"];Ba().add(Ca,Ra(e,t,["Content copied","Copy failed, please copy manually"]),!1),Ba().add(Ea,Ra(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),Ba().add(ka,Ra(e,t,["Contenu copié","Ãchec de la copie, copiez manuellement"]),!1),Ba().add(Sa,Ra(e,t,["å
容已å¤å¶","å¤å¶å¤±è´¥ï¼è¯·æå¨å¤å¶"]),!1),Ba().add(Ta,Ra(e,t,["å
§å®¹å·²å¾©å¶","復å¶å¤±æï¼è«æå復製"]),!1)}),Ha=Ye(()=>{const e="uni.video.",t=["danmu","volume"];Ba().add(Ca,Ra(e,t,["Danmu","Volume"]),!1),Ba().add(Ea,Ra(e,t,["Danmu","Volumen"]),!1),Ba().add(ka,Ra(e,t,["Danmu","Le Volume"]),!1),Ba().add(Sa,Ra(e,t,["å¼¹å¹","é³é"]),!1),Ba().add(Ta,Ra(e,t,["å½å¹","é³é"]),!1)});function qa(e){const t=new ft;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}const Va="invokeViewApi",za="invokeServiceApi";let Xa=1;const Ya=Object.create(null);function Ua(e,t){return e+"."+t}function Ga(e,t,n){t=Ua(e,t),Ya[t]||(Ya[t]=n)}function Ka({id:e,name:t,args:n},o){t=Ua(o,t);const r=t=>{e&&vm.publishHandler(Va+"."+e,t)},i=Ya[t];i?i(n,r):r({})}const Ja=h(qa("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=vm,i=n?Xa++:0;n&&o(za+"."+i,n,!0),r(za,{id:i,name:e,args:t})}}),Za=Qe(!0);let Qa;function el(){Qa&&(clearTimeout(Qa),Qa=null)}let tl=0,nl=0;function ol(e){if(el(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];tl=t,nl=n,Qa=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 rl(e){if(!Qa)return;if(1!==e.touches.length)return el();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-tl)>10||Math.abs(n-nl)>10?el():void 0}function il(e,t){const n=Number(e);return isNaN(n)?t:n}const sl=()=>/^Apple/.test(navigator.vendor);var al,ll,cl=["top","left","right","bottom"],ul={};function dl(){return ll="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 fl(){if(ll="string"==typeof ll?ll:dl()){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");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),cl.forEach(function(e){!function(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:ll+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i(function(){o.scrollTop=s.scrollTop=1e4;
1var e=o.scrollTop,r=s.scrollTop;function i(){var t;this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,t=n,pl.length||setTimeout(function(){var e={};pl.forEach(function(t){e[t]=ul[t]}),pl.length=0,gl.forEach(function(t){t(e)})},0),pl.push(t))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)});var u=getComputedStyle(o);Object.defineProperty(ul,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}(o,e)}),document.body.appendChild(o),i(),al=!0}else cl.forEach(function(e){ul[e]=0});function r(e,t){var n=e.style;Object.keys(t).forEach(function(e){var o=t[e];n[e]=o})}function i(t){t?e.push(t):e.forEach(function(e){e()})}}function hl(e){return al||fl(),ul[e]}var pl=[],gl=[];const ml=(yl={get support(){return 0!=("string"==typeof ll?ll:dl()).length},get top(){return hl("top")},get left(){return hl("left")},get right(){return hl("right")},get bottom(){return hl("bottom")},onChange:function(e){dl()&&(al||fl(),"function"==typeof e&&gl.push(e))},offChange:function(e){var t=gl.indexOf(e);t>=0&&gl.splice(t,1)}})&&yl.__esModule&&Object.prototype.hasOwnProperty.call(yl,"default")?yl.default:yl,vl=ma(()=>{},["prevent"]);var yl;function bl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function _l(){const e=bl(document.documentElement.style,"--window-top");return e?e+ml.top:0}function wl(){const e=document.documentElement.style,t=_l(),n=bl(e,"--window-bottom"),o=bl(e,"--window-left"),r=bl(e,"--window-right"),i=bl(e,"--top-window-height");return{top:t,bottom:n?n+ml.bottom:0,left:o?o+ml.left:0,right:r?r+ml.right:0,topWindowHeight:i||0}}function xl(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function Sl(e){return Symbol(e)}function Tl(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Cl(e,t=!1){if(t)return Tl(n=e)?n.replace(/(\d+(\.\d+)?)[ru]px/g,(e,t)=>uu(parseFloat(t))+"px"):n;var n;if(c(e)){const t=parseInt(e)||0;return Tl(e)?uu(t):t}return e}function kl(e){return e.$page}function El(e){return 0===e.tagName.indexOf("UNI-")}const Ol="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 Ll(e,t="#000",n=27){return Qi("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Qi("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Ml(){{const{$pageInstance:e}=ds();return e&&Nl(e.proxy)}}function Al(e){const t=De(e);if(t.$page)return Nl(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return Nl(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?Nl(n):void 0}function Pl(){const e=Jd(),t=e.length;if(t)return e[t-1]}function $l(){var e;const t=null==(e=Pl())?void 0:e.$page;if(t)return t.meta}function Il(){const e=$l();return e?e.id:-1}function Bl(){const e=Pl();if(e)return e.$vm}const Rl=["navigationBar","pullToRefresh"];function Nl(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function Fl(e,t,n){if(c(e))n=t,t=e,e=Bl();else if("number"==typeof e){const t=Jd().find(t=>kl(t).id===e);e=t?t.$vm:Bl()}if(!e)return;const o=e.$[t];return t===be?o&&(r=o,i=n,r.map(e=>e(i))).some(e=>!0===e):o&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(o,n);var r,i}function Dl(e){e.preventDefault()}let jl,Wl=0;function Hl(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Hl(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r<o&&".."===n[r];r++);n.splice(0,r),t=n.join("/");const i=e.length>0?e.split("/"):[];return i.splice(i.length-r-1,r+1),ze(i.concat(n).join("/"))}function ql(e,t=!1){return t?__uniRoutes.find(t=>t.path===e||t.alias===e):__uniRoutes.find(t=>t.path===e)}class Vl{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(We(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&&We(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=Ul(this.$el.querySelector(e));return t?zl(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=Ul(n[o]);e&&t.push(zl(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",X(e))}setStyle(e){return this.$el&&e?(c(e)&&(e=u(e)),g(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];d(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&vm.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()}}
1function zl(e,t=!0){if(t&&e&&(e=je(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Vl(e)),e.$el.__wxsComponentDescriptor}function Xl(e,t){return zl(e,t)}function Yl(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Xl(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=je(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,Xl(r,!1)]}}function Ul(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Gl(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=et(t?r:function(e){for(;!El(e);)e=e.parentElement;return e}(r)),a=et(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e instanceof CustomEvent&&g(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),c=e,h(l,{preventDefault:()=>c.preventDefault(),stopPropagation:()=>c.stopPropagation()}),l;var c}function Kl(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Jl(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:r,pageX:i,pageY:s,clientX:a,clientY:l,force:c}=e[o];n.push({identifier:r,pageX:i,pageY:s-t,clientX:a,clientY:l-t,force:c||0})}return n}const Zl=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=!El(o);if(r)return Yl(e,t,n,!1)||[e];const i=Gl(e,r);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,r=_l();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[Kl(t,r)]}(i,e);else if(0===(s=e).type.indexOf("mouse")||["contextmenu"].includes(s.type))!function(e,t){const n=_l();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Kl(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=_l();i.touches=Jl(e.touches,t),i.changedTouches=Jl(e.changedTouches,t)}else(e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)&&["key","code"].forEach(t=>{Object.defineProperty(i,t,{get:()=>e[t]})});var s;return Yl(i,t,n)||[i]},createNativeEvent:Gl},Symbol.toStringTag,{value:"Module"});let Ql=1;function ec(e){return(e||Il())+"."+Va}const tc=h(qa("view"),{invokeOnCallback:(e,t)=>ym.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=ym,s=o?Ql++:0;o&&r(Va+"."+s,o,!0),i(ec(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=ym,a=Ql++,l=Va+"."+a;return r(l,n),s(ec(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function nc(e){Fl(Pl(),ye,e),ym.invokeOnCallback("onWindowResize",e)}function oc(e){const t=Pl();Fl(Np(),re,e),Fl(t,re)}function rc(){Fl(Np(),ie),Fl(Pl(),ie)}const ic=[_e,xe];function sc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new st(this.$page.id)),e.eventChannel}}function ac(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(e,t)=>`${uu(parseFloat(t))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function lc(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach(e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map(e=>parseFloat(e)+"deg"):i.startsWith("translate")&&(s=s.map(ac)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?ac(e):e}}),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(e=>{return`${t=e,t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`).replace("webkit","-webkit")} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`;var t}).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);
1Object.keys(a).forEach(t=>{e.$el.style[t]=a[t]}),n+=1,n<r&&setTimeout(i,s.duration+s.delay)}setTimeout(()=>{i()},0)}const cc={props:["animation"],watch:{animation:{deep:!0,handler(){lc(this)}}},mounted(){lc(this)}},uc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(cc),dc(e)},dc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},ar(e));function fc(e){return e.__wwe=!0,e}function hc(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=et(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const pc={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function gc(e){const t=qn(!1);let n,o,r=!1;function i(){requestAnimationFrame(()=>{clearTimeout(o),o=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout(()=>{t.value=!0,r||i()},parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:fc(function(e){e.touches.length>1||s(e)}),onMousedown:fc(function(e){r||(s(e),window.addEventListener("mouseup",l))}),onTouchend:fc(function(){a()}),onMouseup:fc(function(){r&&l()}),onTouchcancel:fc(function(){r=!1,t.value=!1,clearTimeout(n)})}}}function mc(e,t){return c(t)&&(t=[t]),t.reduce((t,n)=>(e[n]&&(t[n]=!0),t),Object.create(null))}const vc=Sl("uf"),yc=Sl("ul");function bc(e,t,n){const o=Ml();n&&!e||g(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&vm.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?vm.on(r,t[r]):e&&vm.on(`uni-${r}-${o}-${e}`,t[r])})}function _c(e,t,n){const o=Ml();n&&!e||g(t)&&Object.keys(t).forEach(r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&vm.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?vm.off(r,t[r]):e&&vm.off(`uni-${r}-${o}-${e}`,t[r])})}const wc=uc({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=qn(null),o=ai(vc,!1),{hovering:r,binding:i}=gc(e),s=fc((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}}),a=ai(yc,!1);return a&&(a.addHandler(s),Mr(()=>{a.removeHandler(s)})),c={"label-click":s},bc((l=e).id,c),Ho(()=>l.id,(e,t)=>{_c(t,c,!0),bc(e,c,!0)}),Ar(()=>{_c(l.id,c)}),()=>{const o=e.hoverClass,a=mc(e,"disabled"),l=mc(e,"loading"),c=mc(e,"plain"),u=o&&"none"!==o;return Qi("uni-button",ss({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])};var l,c}}),xc=Sl("upm");function Sc(){return ai(xc)}function Tc(){return G()}function Cc(){return history.state&&history.state.__id__||1}const kc=["album","camera"],Ec=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function Oc(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function Lc(e){return function(){try{return e.apply(e,arguments)}catch(t){}}}let Mc=1;const Ac={};function Pc(e,t,n,o=!1){return Ac[e]={name:t,keepAlive:o,callback:n},e}function $c(e,t,n){if("number"==typeof e){const o=Ac[e];if(o)return o.keepAlive||delete Ac[e],o.callback(t,n)}return t}function Ic(e){for(const t in Ac)if(Ac[t].name===e)return!0;return!1}const Bc="success",Rc="fail",Nc="complete",Fc="success",Dc="fail",jc="complete",Wc={},Hc={};function qc(e,t){return function(n){return e(n,t)||n}}function Vc(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const i=e[r];if(o)o=Promise.resolve(qc(i,n));else{const e=i(t,n);if(O(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function zc(e,t={}
1){return[Fc,Dc,jc].forEach(n=>{const o=e[n];if(!s(o))return;const r=t[n];t[n]=function(e){Vc(o,e,t).then(e=>d(r)&&r(e)||e)}}),t}function Xc(e,t){const n=[];s(Wc.returnValue)&&n.push(...Wc.returnValue);const o=Hc[e];return o&&s(o.returnValue)&&n.push(...o.returnValue),n.forEach(e=>{t=e(t)||t}),t}function Yc(e){const t=Object.create(null);Object.keys(Wc).forEach(e=>{"returnValue"!==e&&(t[e]=Wc[e].slice())});const n=Hc[e];return n&&Object.keys(n).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))}),t}function Uc(e,t,n,o){const r=Yc(e);return r&&Object.keys(r).length?s(r.invoke)?Vc(r.invoke,n).then(n=>t(zc(Yc(e),n),...o)):t(zc(r,n),...o):t(n,...o)}function Gc(e,t){return(n={},...o)=>{return g(r=n)&&[Bc,Rc,Nc].find(e=>d(r[e]))?Xc(e,Uc(e,t,h({},n),o)):Xc(e,new Promise((r,i)=>{Uc(e,t,h({},n,{success:r,fail:i}),o)}));var r}}function Kc(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,$c(e,h({errMsg:i},o))}function Jc(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(c(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!g(t.formatArgs)&&g(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i<r.length;i++){const t=r[i],s=o[t];if(d(s)){const o=s(e[0][t],n);if(c(o))return o}else M(n,t)||(n[t]=s)}}(t,o);if(r)return r}function Zc(e){if(!d(e))throw new Error('Invalid args: type check failed for args "callback". Expected Function')}function Qc(e,t,n,o){return n=>{const r=function(e,t={},{beforeAll:n,beforeSuccess:o}={}){g(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];d(o)&&(t[n]=Lc(o),delete e[n])}return t}(t),a=d(r),l=d(i),c=d(s),u=Mc++;return Pc(u,e,u=>{var f,h;(u=u||{}).errMsg=(f=u.errMsg,h=e,f&&-1!==f.indexOf(":fail")?h+f.substring(f.indexOf(":fail")):h+":ok"),d(n)&&n(u),u.errMsg===e+":ok"?(d(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)}),u}(e,n,o),i=Jc(0,[n],0,o);return i?Kc(r,e,i):t(n,{resolve:t=>$c(r,h(t||{},{errMsg:e+":ok"})),reject:(t,n)=>{return Kc(r,e,!(o=t)||c(o)?o:o.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel,o.message):o,n);var o}})}}function eu(e,t,n,o){return Gc(e,Qc(e,t,0,o))}function tu(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Jc(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function nu(e,t,n,o){return Gc(e,Qc(e,t,0,o))}let ou=!1,ru=0,iu=0,su=960,au=375,lu=750;function cu(e,t){const n=Number(e);return isNaN(n)?t:n}const uu=tu(0,(e,t)=>{if(0===ru&&(function(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=Cf();return{platform:mf?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:e}}();e=o,t=r,n=i}ru=e,iu=t,ou="ios"===n}(),function(){const e=__uniConfig.globalStyle||{};su=cu(e.rpxCalcMaxDeviceWidth,960),au=cu(e.rpxCalcBaseDeviceWidth,375),lu=cu(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||ru;n=e===lu||n<=su?n:au;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==iu&&ou?.5:1),e<0?-o:o}),du=new class{constructor(){this.$emitter=new ft}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)}},fu=tu(0,(e,t)=>(du.on(e,t),()=>du.off(e,t))),hu=tu(0,(e,t)=>(du.once(e,t),()=>du.off(e,t))),pu=tu(0,(e,t)=>{s(e)||(e=e?[e]:[]),e.forEach(e=>{du.off(e,t)})}),gu=tu(0,(e,...t)=>{du.emit(e,...t)}),mu=[.5,.8,1,1.25,1.5,2];class vu{constructor(e,t){this.id=e,this.pageId=t}play(){kf(this.id,this.pageId,"play")}pause(){kf(this.id,this.pageId,"pause")}stop(){kf(this.id,this.pageId,"stop")}seek(e){kf(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){kf(this.id,this.pageId,"sendDanmu",e)}
1playbackRate(e){~mu.indexOf(e)||(e=1),kf(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){kf(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){kf(this.id,this.pageId,"exitFullScreen")}showStatusBar(){kf(this.id,this.pageId,"showStatusBar")}hideStatusBar(){kf(this.id,this.pageId,"hideStatusBar")}}const yu=tu(0,(e,t)=>new vu(e,Al(t||Bl()))),bu=(e,t,n,o)=>{var r,i,s,a;r=e,i=t,s=n,a=o,ym.invokeViewMethod("map."+r,{type:s,data:a},i,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 _u(e,t){return function(n,o){n?o[e]=Math.round(n):void 0!==t&&(o[e]=t)}}const wu=_u("width"),xu=_u("height"),Su={PNG:"png",JPG:"jpg",JPEG:"jpg"},Tu={formatArgs:{x:_u("x",0),y:_u("y",0),width:wu,height:xu,destWidth:_u("destWidth"),destHeight:_u("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=Su[e];n||(n=Su.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}};function Cu(e,t,n,o,r){ym.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,e=>{r&&r(e)})}var ku=["scale","rotate","translate","setTransform","transform"],Eu=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],Ou=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const Lu={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 Mu(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(M(Lu,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(Lu[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),r=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[e,o,r,i]}return[0,0,0,255]}class Au{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,Mu(t)])}}class Pu{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class $u{constructor(e){this.width=e}}class Iu{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){}setStrokeStyle(e){}setShadow(e,t,n,o){}addColorStop(e,t){}setLineWidth(e){}setLineCap(e){}setLineJoin(e){}setLineDash(e,t){}setMiterLimit(e){}fillRect(e,t,n,o){}strokeRect(e,t,n,o){}clearRect(e,t,n,o){}fill(){}stroke(){}scale(e,t){}rotate(e){}translate(e,t){}setFontSize(e){}fillText(e,t,n,o){}setTextAlign(e){}setTextBaseline(e){}drawImage(e,t,n,o,r,i,s,a,l){}setGlobalAlpha(e){}strokeText(e,t,n,o){}setTransform(e,t,n,o,r,i){}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],Cu(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new Au("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new Au("radial",[e,t,n])}createPattern(e,t){if(void 0===t);else if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new Pu(e,t)}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 $u(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]}
1),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,r,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,r,i]}),this.subpath.push([r,i])}arc(e,t,n,o,r,i=!1){this.path.push({method:"arc",data:[e,t,n,o,r,i]}),this.subpath.push([e,t])}rect(e,t,n,o){this.path.push({method:"rect",data:[e,t,n,o]}),this.subpath=[[e,t]]}arcTo(e,t,n,o,r){this.path.push({method:"arcTo",data:[e,t,n,o,r]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),r=parseFloat(n[3]),i=n[7],s=[];o.forEach(function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(s.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal","lighter","bolder"].indexOf(e)>-1||/^\d+$/.test(e)?(s.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(s.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&a()}),1===o.length&&a(),o=s.map(function(e){return e.data[0]}).join(" "),this.state.fontSize=r,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${o} ${r}px ${i}`]})}function a(){s.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}}const Bu=Ye(()=>{[...ku,...Eu].forEach(function(e){Iu.prototype[e]=function(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:[...this.path]})};case"fillRect":return function(e,t,n,o){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,o]}]})};case"strokeRect":return function(e,t,n,o){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,o]}]})};case"fillText":case"strokeText":return function(t,n,o,r){var i=[t.toString(),n,o];"number"==typeof r&&i.push(r),this.actions.push({method:e,data:i})};case"drawImage":return function(t,n,o,r,i,s,a,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(s=n,a=o,l=r,c=i,n=void 0,o=void 0,r=void 0,i=void 0),u=d(n)&&d(o)&&d(r)&&d(i)?[t,s,a,l,c,n,o,r,i]:d(l)&&d(c)?[t,s,a,l,c]:[t,s,a],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)}),Ou.forEach(function(e){Iu.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",Mu(t)]}):this.actions.push({method:e,data:[t.type,t.data,t.colorStop]})};case"setGlobalAlpha":return function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:e,data:[t]})};case"setShadow":return function(t,n,o,r){r=Mu(r),this.actions.push({method:e,data:[t,n,o,r]}),this.state.shadowBlur=o,this.state.shadowColor=r,this.state.shadowOffsetX=t,this.state.shadowOffsetY=n};case"setLineDash":return function(t,n){t=t||[0,0],n=n||0,this.actions.push({method:e,data:[t,n]}),this.state.lineDash=t};case"setFontSize":return function(t){this.state.font=this.state.font.replace(/\d+\.?\d*px/,t+"px"),this.state.fontSize=t,this.actions.push({method:e,data:[t]})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})}
1),Ru=tu(0,(e,t)=>{if(Bu(),t)return new Iu(e,Al(t));const n=Al(Bl());if(n)return new Iu(e,n);ym.emit(ae,"createCanvasContext:fail")}),Nu=nu("canvasToTempFilePath",({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:i,canvasId:s,fileType:a,quality:l},{resolve:c,reject:u})=>{var d=Al(Bl());d?Cu(s,d,"toTempFilePath",{x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,fileType:a,quality:l,dirname:"/canvas"},e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?u("",e):c(e)}):u()},0,Tu);let Fu=0,Du={};const ju={canvas:Iu,map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){bu(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){bu(this.id,this.pageId,"moveToLocation",e)}getScale(e){bu(this.id,this.pageId,"getScale",e)}getRegion(e){bu(this.id,this.pageId,"getRegion",e)}includePoints(e){bu(this.id,this.pageId,"includePoints",e)}translateMarker(e){bu(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){bu(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){bu(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){bu(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){bu(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){bu(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){bu(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){bu(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){bu(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){bu(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){bu(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){bu(this.id,this.pageId,"openMapApp",e)}on(e,t){bu(this.id,this.pageId,"on",{name:e,callback:t})}},video:vu,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 r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(Fu++);r.callbackId=e,Du[e]=o}ym.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,({callbackId:e,data:t})=>{i&&(Ue(Du[e],t),delete Du[e])})}(this.id,this.pageId,e,t)}}};function Wu(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=ju[n];e.context=new r(t,o),delete e.contextInfo}}class Hu{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 qu{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:r,fields:i})=>{null===t?o.push(function(e){const t={};if(e.id&&(t.id=""),e.dataset&&(t.dataset={}),e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0),e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight),e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(i)):o.push(function(e,t,n,o,r){const i=(l=e,(a=t)?a.$el:l.$el),s=i.parentElement;var a,l;if(!s)return o?null:[];const{nodeType:c}=i,u=3===c||8===c;if(o){const e=u?s.querySelector(n):Of(i,n)?i:i.querySelector(n);return e?Ef(e,r):null}{let e=[];const t=(u?s:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,t=>{e.push(Ef(t,r))}),!u&&Of(i,n)&&e.unshift(Ef(i,r)),e}}(e,t,n,r,i))}),n(o)}(this._page,this._queue,t=>{const n=this._queueCb;t.forEach((e,t)=>{s(e)?e.forEach(Wu):Wu(e);const o=n[t];d(o)&&o.call(this,e)}),d(e)&&e.call(this,t)}),this._nodesRef}
1in(e){return this._component=De(e),this}select(e){return this._nodesRef=new Hu(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new Hu(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new Hu(this,null,"",!0)}_push(e,t,n,o,r){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(r)}}const Vu=tu(0,e=>((e=De(e))&&!Al(e)&&(e=null),new qu(e||Bl()))),zu=function(e,t){return n=>{Zc(n);const o=Jc(0,[n],0,void 0);if(o)throw new Error(o);const r=!Ic(e);var i;Pc(Mc++,e,n,!0),r&&(i=e,ym.on("api."+i,e=>{for(const t in Ac){const n=Ac[t];n.name===i&&n.callback(e)}}),t())}}("onWindowResize",()=>{},void 0),Xu=function(e,t){return n=>{Zc(n);const o=Jc(0,[n],0,void 0);if(o)throw new Error(o);var r;!function(e,t){for(const n in Ac){const o=Ac[n];o.callback===t&&o.name===e&&delete Ac[n]}}(e=e.replace("off","on"),n),Ic(e)||(r=e,ym.off("api."+r),t())}}("offWindowResize",()=>{},void 0),Yu=tu(0,()=>{const e=Np();return e&&e.$vm?e.$vm.$locale:Ba().getLocale()}),Uu={[ue]:[],[ce]:[],[ae]:[],[re]:[],[ie]:[]};function Gu(e){!function(e,t){const n=Np();if(n&&n.$vm)return Tr(e,t,n.$vm.$);Uu[e].push(t)}(ie,e)}const Ku={formatArgs:{showToast:!0},beforeInvoke(){Wa()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=Ba(),o=n("uni.setClipboardData.success");o&&im({title:o,icon:"success",mask:!1})}},Ju=["all","image","video"],Zu={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){var n,o;t.sourceType=(o=kc,!s(n=e)||0===n.length||n.find(e=>-1===o.indexOf(e))?o:n)},type(e,t){t.type=Oc(e,Ju)},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=[""])}}},Qu={formatArgs:{src(e,t){t.src=hf(e)}}},ed={formatArgs:{urls(e,t){t.urls=e.map(e=>c(e)&&e?hf(e):"")},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:c(e)&&e&&(t.current=hf(e))}}},td="saveImageToPhotosAlbum",nd=["text","arraybuffer"],od=encodeURIComponent,rd={formatArgs:{method(e,t){t.method=Oc((e||"").toUpperCase(),Ec)},data(e,t){t.data=e||""},url(e,t){t.method===Ec[0]&&g(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter(e=>e),s={};i.forEach(e=>{const t=e.split("=");s[t[0]]=t[1]});for(const a in t)if(M(t,a)){let e=t[a];null==e?e="":g(e)&&(e=JSON.stringify(e)),s[od(a)]=od(e)}return r=Object.keys(s).map(e=>`${e}=${s[e]}`).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==Ec[0]&&(Object.keys(n).find(e=>"content-type"===e.toLowerCase())||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||"json").toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===nd.indexOf(t.responseType)&&(t.responseType="text")}}},id={formatArgs:{filePath(e,t){e&&(t.filePath=hf(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},sd={formatArgs:{header(e,t){t.header=e||{}},method(e,t){t.method=Oc((e||"").toUpperCase(),Ec)},protocols(e,t){c(e)&&(t.protocols=[e])}}},ad="navigateTo",ld="redirectTo",cd="reLaunch",ud="switchTab",dd="preloadPage",fd=(vd(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),vd(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),_d(ad)),hd=_d(ld),pd=_d(cd),gd=_d(ud),md={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Jd().length-1,e)}}};function vd(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 yd;function bd(){yd=""}function _d(e){return{formatArgs:{url:wd(e)},beforeAll:bd}}function wd(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=Jd();return n.length&&(t=kl(n[n.length-1]).route),Hl(t,e)}(t)).split("?")[0],r=ql(o,!0);if(!r)return"page `"+t+"` is not found";
1if(e===ad||e===ld){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===ud&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==ud&&e!==dd||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!c(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach(e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))}),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if(e!==dd){if(yd===t&&"appLaunch"!==n.openType)return`${yd} locked`;__uniConfig.ready&&(yd=t)}else if(r.meta.isTabBar){const e=Jd(),t=r.path.slice(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}const xd="setNavigationBarColor",Sd={formatArgs:{animation(e,t){e||(e={duration:0,timingFunc:"linear"}),t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},Td="setNavigationBarTitle",Cd=["success","loading","none","error"],kd={formatArgs:{title:"",icon(e,t){t.icon=Oc(e,Cd)},image(e,t){t.image=e?hf(e):""},duration:1500,mask:!1}};function Ed(){const e=Bl();if(!e)return;const t=Kd(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Qd(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,Fl(e,ie))}function Od(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function Ld(e){const t=Kd().values();for(const n of t){const t=Vd(n);if(Od(e,t))return n.$.__isActive=!0,t.id}}const Md=nu(ud,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(zd.handledBeforeEntryPageRoutes)return Ed(),Bd({type:ud,url:e,tabBarText:t,isAutomatedTesting:n},Ld(e)).then(o).catch(r);Yd.push({args:{type:ud,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})},0,gd);function Ad(){const e=Pl();if(!e)return;const t=Vd(e);Qd(nf(t.path,t.id))}const Pd=nu(ld,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(zd.handledBeforeEntryPageRoutes)return Ad(),Bd({type:ld,url:e,isAutomatedTesting:t}).then(n).catch(o);Ud.push({args:{type:ld,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,hd);function $d(){const e=Kd().keys();for(const t of e)Qd(t)}const Id=nu(cd,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(zd.handledBeforeEntryPageRoutes)return $d(),Bd({type:cd,url:e,isAutomatedTesting:t}).then(n).catch(o);Gd.push({args:{type:cd,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,pd);function Bd({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=Np().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:rt(n||"")}}(t);return new Promise((t,c)=>{const u={__id__:i||++ef,__type__:e};s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then(i=>{if(K(i))return c(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach(t=>{e.eventChannel._addListener(t,"on",o[t])}),e.eventChannel._clearCache()):e.eventChannel=new st(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()})})}function Rd(){if(zd.handledBeforeEntryPageRoutes)return;zd.handledBeforeEntryPageRoutes=!0;const e=[...Xd];Xd.length=0,e.forEach(({args:e,resolve:t,reject:n})=>Bd(e).then(t).catch(n));const t=[...Yd];Yd.length=0,t.forEach(({args:e,resolve:t,reject:n})=>(Ed(),Bd(e,Ld(e.url)).then(t).catch(n)));const n=[...Ud];Ud.length=0,n.forEach(({args:e,resolve:t,reject:n})=>(Ad(),Bd(e).then(t).catch(n)));const o=[...Gd];Gd.length=0,o.forEach(({args:e,resolve:t,reject:n})=>($d(),Bd(e).then(t).catch(n)))}function Nd(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const Fd=Nd("top:env(a)"),Dd=Nd("top:constant(a)"),jd=(()=>Fd?"env":Dd?"constant":"")();function Wd(e){let t=0;var n;"custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),xl({"--window-top":(n=t,jd?`calc(${n}px + ${jd}(safe-area-inset-top))`:`${n}px`),"--window-bottom":jd?`calc(0px + ${jd}(safe-area-inset-bottom))`:"0px"})}const Hd="$$",qd=new Map;function Vd(e){return e.$page}const zd={handledBeforeEntryPageRoutes:!1},Xd=[],Yd=[],Ud=[],Gd=[];function Kd(){return qd}function Jd(){return Zd()}function Zd(){const e=[],t=qd.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Qd(e,t=!0){const n=qd.get(e);n.$.__isUnload=!0,Fl(n,fe),qd.delete(e),t&&function(e){const t=of.get(e);t&&(of.delete(e),rf.pruneCacheEntry(t))}(e)}let ef=Cc();function tf(e){const t=function(e){const t=Sc();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){const{id:r,route:i}=o,s=gt(o.navigationBar,__uniConfig.themeConfig,void 0).titleColor;return{id:r,path:ze(i),route:i,fullPath:t,options:{},meta:o,openType:"navigateTo",eventChannel:void 0,statusBarStyle:"#ffffff"===s?"light":"dark"}}(0,n,0,t)}(e.$route);var n,o;o=t,(n=e).route=o.route,n.$vm=n,n.$page=o,n.$mpType="page",n.$fontFamilySet=new Set,o.meta.isTabBar&&(n.$.__isTabBar=!0,n.$.__isActive=!0),qd.set(nf(t.path,t.id),e),1===qd.size&&setTimeout(()=>{Rd()},0)}function nf(e,t){return e+Hd+t}const of=new Map,rf={get:e=>of.get(e),set(e,t){!function(e){const t=parseInt(e.split(Hd)[1]);t&&rf.forEach((e,n)=>{const o=parseInt(n.split(Hd)[1]);o&&o>t&&(rf.delete(n),rf.pruneCacheEntry(e),fo(()=>{qd.forEach((e,t)=>{e.$.isUnmounted&&qd.delete(t)})}))})}(e),of.set(e,t)},delete(e){of.get(e)&&of.delete(e)}
1,forEach(e){of.forEach(e)}};function sf(e,t){!function(e){const t=af(e),{body:n}=document;lf&&n.removeAttribute(lf),t&&n.setAttribute(t,""),lf=t}(e),Wd(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),df(e,t)}function af(e){return e.type.__scopeId}let lf;const cf=!!(()=>{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 uf;function df(e,t){if(document.removeEventListener("touchmove",Dl),uf&&document.removeEventListener("scroll",uf),t.disableScroll)return document.addEventListener("touchmove",Dl,cf);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!r)return;const i={},s=Vd(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&vm.publishHandler(_e,{scrollTop:o},e),n&&vm.emit(e+"."+_e,{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>vm.publishHandler(xe,{},s)),uf=function({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,i=!0;const s=()=>{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-Wl)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(Wl=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout(function(){i=!0},350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(jl=setTimeout(s,300))),o=!1};return function(){clearTimeout(jl),o||requestAnimationFrame(s),o=!0}}(i),requestAnimationFrame(()=>document.addEventListener("scroll",uf))}function ff(e){const{base:t}=__uniConfig.router;return 0===ze(e).indexOf(t)?ze(e):t+e}function hf(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 ff(e.slice(1));e="https:"+e}if(ne.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const o=Zd();return o.length?ff(Hl(Vd(o[o.length-1]).route,e).slice(1)):e}const pf=navigator.userAgent,gf=/android/i.test(pf),mf=/iphone|ipad|ipod/i.test(pf),vf=pf.match(/Windows NT ([\d|\d.\d]*)/i),yf=/Macintosh|Mac/i.test(pf),bf=/Linux|X11/i.test(pf),_f=yf&&navigator.maxTouchPoints>0,wf=/OpenHarmony/i.test(pf);function xf(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Sf(e){return e&&90===Math.abs(window.orientation)}function Tf(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Cf(){const e=xf();if(e){const t=Tf(e,Sf(e));return Math.min(window.innerWidth,document.documentElement.clientWidth,t)||t}return Math.min(window.innerWidth,document.documentElement.clientWidth)}function kf(e,t,n,o){ym.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function Ef(e,t){const n={},{top:o,topWindowHeight:r}=wl();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=Je(e)),t.rect||t.size){const i=e.getBoundingClientRect();t.rect&&(n.left=i.left,n.right=i.right,n.top=i.top-o-r,n.bottom=i.bottom-o-r),t.size&&(n.width=i.width,n.height=i.height)}if(s(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(s(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 Of(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 Lf={};function Mf(e,t){const n=Lf[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let i=r.length;const s=new Uint8Array(i);for(;i--;)s[i]=r.charCodeAt(i);return Af(s,o)}(e)):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 Af(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const r=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],r,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||r}}return n}function Pf(e){for(const n in Lf)if(M(Lf,n)&&Lf[n]===e)return n;var t=(window.URL||window.webkitURL).createObjectURL(e);return Lf[t]=e,t}const $f={path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}},If={path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}},Bf=uc({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=qn(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=kn({width:-1,height:-1});return Ho(()=>h({},o),e=>t("resize",e)),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return i=n,s=e,a=r,mr(l=o),Er(()=>{s.initial&&fo(a);const e=i.value;e.offsetParent!==e.parentElement&&(e.parentElement.style.position="relative"),"AnimationEvent"in window||l()}),()=>
1Qi("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[Qi("div",{onScroll:r},[Qi("div",null,null)],40,["onScroll"]),Qi("div",{onScroll:r},[Qi("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"]);var i,s,a,l}}),Rf=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 Nf(e,t=!0){const n=t?Rf:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let Ff=!1;const Df=Ye(()=>function(){if(Ff)return;Ff=!0;const e=CanvasRenderingContext2D.prototype;e.drawImageByCanvas=function(e){return function(t,n,o,r,i,s,a,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=Rf,o*=Rf,r*=Rf,i*=Rf,s*=Rf,a*=Rf,l=u?l*Rf:l,c=u?c*Rf:c,e.call(this,t,n,o,r,i,s,a,l,c)}}(e.drawImage),1!==Rf&&(function(e,t){for(const n in e)M(e,n)&&t(e[n],n)}({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]},function(t,n){e[n]=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===t)n=n.map(function(e){return e*Rf});else if(Array.isArray(t))for(let e=0;e<t.length;e++)n[t[e]]*=Rf;return e.apply(this,n)}}(e[n])}),e.stroke=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.lineWidth*=Rf,e.apply(this,arguments),this.lineWidth/=Rf}}(e.stroke),e.fillText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);const t=Array.prototype.slice.call(arguments);t[1]*=Rf,t[2]*=Rf,t[3]&&"number"==typeof t[3]&&(t[3]*=Rf);var n=this.__font__||this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,function(e,t,n){return t*Rf+n}),e.apply(this,t),this.font=n}}(e.fillText),e.strokeText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var t=Array.prototype.slice.call(arguments);t[1]*=Rf,t[2]*=Rf,t[3]&&"number"==typeof t[3]&&(t[3]*=Rf);var n=this.__font__||this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,function(e,t,n){return t*Rf+n}),e.apply(this,t),this.font=n}}(e.strokeText),e.drawImage=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.scale(Rf,Rf),e.apply(this,arguments),this.scale(1/Rf,1/Rf)}}(e.drawImage))}());function jf(e){return e?hf(e):e}function Wf(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function Hf(e,t){Array.from(t).forEach(t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top})}let qf;function Vf(e=0,t=0){return qf||(qf=document.createElement("canvas")),qf.width=e,qf.height=t,qf}const zf=uc({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}){Df();const o=qn(null),r=qn(null),i=qn(null),s=qn(!1),a=function(e){return(t,n)=>{e(t,Gl(n))}}(t),{$attrs:l,$excludeAttrs:c,$listeners:u}=Lh({excludeListeners:!0}),{_listeners:f}=(m=e,v=u,y=a,{_listeners:xs(()=>{let e=v.value,t=h({},(()=>{let t={};for(const n in e)if(M(e,n)){const o=e[n];t[n]=o}return t})());return["onTouchstart","onTouchmove","onTouchend"].forEach(e=>{let n=[];t[e]&&n.push(fc(t=>{const n=t.currentTarget.getBoundingClientRect();Hf(n,t.touches),Hf(n,t.changedTouches),y(e.replace("on","").toLocaleLowerCase(),t)})),m.disableScroll&&"onTouchmove"===e&&n.push(vl),t[e]=n}),t})}),{_handleSubscribe:p,_resize:g}=function(e,t,n){let o=[],r={};const i=xs(()=>e.hidpi?Rf:1);function s({actions:e,reserve:i},s){if(!e)return;if(n.value)return void o.push([e,i]);let l=t.value,c=l.getContext("2d");i||(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,l.width,l.height)),function(e){e.forEach(function(e){let t=e.method,n=e.data,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&&!r[o]&&function(){const e=r[o
1]=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):Mf(e).then(Pf)}(o).then(t=>{e.src=t}).catch(()=>{e.src=o})}()})}(e);for(let t=0;t<e.length;t++){const n=e[t];let o=n.method;const i=n.data,l=i[0];if(/^set/.test(o)&&"setTransform"!==o){const n=o[3].toLowerCase()+o.slice(4);let r;if("fillStyle"===n||"strokeStyle"===n){if("normal"===l)r=Wf(i[1]);else if("linear"===l){const e=c.createLinearGradient(...i[1]);i[2].forEach(function(t){const n=t[0],o=Wf(t[1]);e.addColorStop(n,o)}),r=e}else if("radial"===l){let e=i[1];const t=e[0],n=e[1],o=e[2],s=c.createRadialGradient(t,n,0,t,n,o);i[2].forEach(function(e){const t=e[0],n=Wf(e[1]);s.addColorStop(t,n)}),r=s}else if("pattern"===l){if(!a(i[1],e.slice(t+1),s,function(e){e&&(c[n]=c.createPattern(e,i[2]))}))break;continue}c[n]=r}else if("globalAlpha"===n)c[n]=Number(l)/255;else if("shadow"===n){let e=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];i.forEach(function(t,n){c[e[n]]="shadowColor"===e[n]?Wf(t):t})}else if("fontSize"===n){const e=c.__font__||c.font;c.__font__=c.font=e.replace(/\d+\.?\d*px/,l+"px")}else"lineDash"===n?(c.setLineDash(l),c.lineDashOffset=i[1]||0):"textBaseline"===n?("normal"===l&&(i[0]="alphabetic"),c[n]=l):"font"===n?c.__font__=c.font=l:c[n]=l}else if("fillPath"===o||"strokePath"===o)o=o.replace(/Path/,""),c.beginPath(),i.forEach(function(e){c[e.method].apply(c,e.data)}),c[o]();else if("fillText"===o)c.fillText.apply(c,i);else if("drawImage"===o){if("break"===function(){let n=[...i],o=n[0],l=n.slice(1);if(r=r||{},!a(o,e.slice(t+1),s,function(e){e&&c.drawImage.apply(c,[e].concat([...l.slice(4,8)],[...l.slice(0,4)]))}))return"break"}())break}else"clip"===o?(i.forEach(function(e){c[e.method].apply(c,e.data)}),c.clip()):c[o].apply(c,i)}n.value||s({errMsg:"drawCanvas:ok"})}function a(e,t,i,a){let l=r[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]},i),t=e.shift()},!1)}function l({x:e=0,y:n=0,width:o,height:r,destWidth:s,destHeight:a,hidpi:l=!0,dataType:c,quality:u=1,type:d="png"},f){const h=t.value;let p;const g=h.offsetWidth-e;o=o?Math.min(o,g):g;const m=h.offsetHeight-n;r=r?Math.min(r,m):m,l?(s=o,a=r):s||a?s?a||(a=Math.round(r/o*s)):(a||(a=Math.round(r*i.value)),s=Math.round(o/r*a)):(s=Math.round(o*i.value),a=Math.round(r*i.value));const v=Vf(s,a),y=v.getContext("2d");let b;"jpeg"!==d&&"jpg"!==d||(d="jpeg",y.fillStyle="#fff",y.fillRect(0,0,s,a)),y.__hidpi__=!0,y.drawImageByCanvas(h,e,n,o,r,0,0,s,a,!1);try{let e;if("base64"===c)p=v.toDataURL(`image/${d}`,u);else{const e=y.getImageData(0,0,s,a);p=Array.prototype.slice.call(e.data)}b={data:p,compressed:e,width:s,height:a}}catch(_){b={errMsg:`canvasGetImageData:fail ${_}`}}if(v.height=v.width=0,y.__hidpi__=!1,!f)return b;f(b)}const c={actionsChanged:s,getImageData:l,putImageData:function({data:e,x:n,y:o,width:r,height:i,compressed:s},a){try{i||(i=Math.round(e.length/4/r));const s=Vf(r,i);s.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),r,i),0,0),t.value.getContext("2d").drawImage(s,n,o,r,i),s.height=s.width=0}catch(l){return void a({errMsg:"canvasPutImageData:fail"})}a({errMsg:"canvasPutImageData:ok"})},toTempFilePath:function({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:i,fileType:s,quality:a,dirname:c},u){const d=l({x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,hidpi:!1,dataType:"base64",type:s,quality:a});var f;d.errMsg?u({errMsg:d.errMsg.replace("canvasPutImageData","toTempFilePath")}):(f=d.data,u({errMsg:"toTempFilePath:ok",tempFilePath:f}))}};return h(c,{_resize:function(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*i.value)||o.height!==Math.floor(n.height*i.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);Nf(o,e.hidpi),t.putImageData(n,0,0)}else Nf(o,e.hidpi)},_handleSubscribe:function(e,t,n){let o=c[e];0!==e.indexOf("_")&&d(o)&&o(t,n)}})}(e,r,s);var m,v,y;return vp(p,bp(e.canvasId)),Er(()=>{g()}),()=>{const{canvasId:t,disableScroll:s}=e;return Qi("uni-canvas",ss({ref:o,"canvas-id":t,"disable-scroll":s},l.value,c.value,f.value),[Qi("canvas",{ref:r,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),Qi("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),Qi(Bf,{ref:i,onResize:g},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function Xf(){}const Yf={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};var Uf=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Gf=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Kf=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Jf=oh("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Zf=oh("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),Qf=oh("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"),eh=oh("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),th=oh("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),nh=oh("script,style");function oh(e){for(var t={},n=e.split(","),o=0;o<n.length;o++)t[n[o]]=!0;return t}const rh={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},ih={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},sh={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"
1:["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},ah=uc({name:"Image",props:rh,setup(e,{emit:t}){const n=qn(null),o=function(e,t){const n=qn(""),o=xs(()=>{let e="auto",o="";const r=sh[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`}),r=kn({rootEl:e,src:xs(()=>t.src?hf(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Er(()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0}),r}(n,e),r=hc(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=ih[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];var u;c&&(l.style[r[1]]=(u=r[2](c,a),lh&&u>10&&(u=2*Math.round(u/2)),u+"px"))},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Ho(()=>t.mode,(e,t)=>{ih[t]&&r(),ih[e]&&o()}),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),fo(()=>{o()}),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Ho(()=>e.src,e=>l(e)),Ho(()=>e.imgSrc,e=>{!e&&s&&(s.remove(),s=null)}),Er(()=>l(e.src)),Mr(()=>c())}(o,e,n,i,r),()=>Qi("uni-image",{ref:n},[Qi("div",{style:o.modeStyle},null,4),ih[e.mode]?Qi(Bf,{onResize:i},null,8,["onResize"]):Qi("span",null,null)],512)}}),lh="Google Inc."===navigator.vendor,ch=Qe(!0),uh=[];let dh=0,fh=!1;const hh=e=>uh.forEach(t=>t.userAction=e);function ph(e={userAction:!1}){fh||(["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(e=>{document.addEventListener(e,function(){!dh&&hh(!0),dh++,setTimeout(()=>{! --dh&&hh(!1)},0)},ch)}),fh=!0),uh.push(e)}function gh(){const e=kn({userAction:!1});return Er(()=>{ph(e)}),Mr(()=>{!function(e){const t=uh.indexOf(e);t>=0&&uh.splice(t,1)}(e)}),{state:e}}function mh(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 vh(e,t,n){return"number"===t&&isNaN(Number(e))&&(e=""),null==e?"":String(e)}const yh=["none","text","decimal","numeric","tel","search","email","url"],bh=h({},{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=>!!~yh.indexOf(e)},cursorColor:{type:String,default:""}},Yf),_h=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function wh(e,t,n,o,r){let i=null,s=null;s=it(n=>{const o=r.value,s=vh(n,e.type);o&&document.activeElement===o&&s===i||(t.value=s)},100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Ho(()=>e.modelValue,s),Ho(()=>e.value,s);const a=function(e){let t,n,o=0;const r=function(...r){const i=Date.now();clearTimeout(t),n=()=>{n=null,o=i,e.apply(this,r)},i-o<100?t=setTimeout(n,100-(i-o)):n()};return r.cancel=function(){clearTimeout(t),n=null},r.flush=function(){clearTimeout(t),n&&n()},r}((e,t)=>{s.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)});return kr(()=>{s.cancel(),a.cancel()}),{trigger:o,triggerInput:(e,t,n)=>{s.cancel(),i=t.value,a(e,t),n&&a.flush()}}}function xh(e,t,n,o){Ga(Il(),"getSelectedTextRange",mh);const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=qn(null),r=hc(t,n),i=xs(()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t}),s=xs(()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t}),a=xs(()=>{const t=Number(e.cursor);return isNaN(t)?-1:t}),l=xs(()=>{var t=Number(e.maxlength);return isNaN(t)?140:t});let c="";c=vh(e.modelValue,e.type)||vh(e.value,e.type);
1const u=kn({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Ho(()=>u.focus,e=>n("update:focus",e)),Ho(()=>u.maxlength,e=>u.value=u.value.slice(0,e),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=wh(e,i,n,s,r);(function(e,t){gh();const n=xs(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Ho(()=>e.focus,e=>{e?o():function(){const e=t.value;e&&e.blur()}()}),Er(()=>{n.value&&fo(o)})})(e,r),function(e,t){Ho(()=>t.value,e=>e&&function(e){const t=xs(()=>0===String(navigator.vendor).indexOf("Apple"));e.addEventListener("focus",()=>{clearTimeout(void 0),document.addEventListener("click",Xf,!1)}),e.addEventListener("blur",()=>{t.value&&e.blur(),document.removeEventListener("click",Xf,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)})}(e))}(0,r);const{state:l}=function(){const e=kn({attrs:{}});return Er(()=>{let t=ds();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}}),{state:e}}();return function(e,t){const n=ai(vc,!1);if(!n)return;const o=ds(),r={submit(){const e=o.proxy;return[e.name,c(t)?e[t]:t.value]},reset(){c(t)?o.proxy[t]="":t.value=""}};n.addField(r),Mr(()=>{n.removeField(r)})}(0,i),function(e,t,n,o,r,i){function s(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function a(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}Ho([()=>t.selectionStart,()=>t.selectionEnd],s),Ho(()=>t.cursor,a),Ho(()=>e.value,function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),d(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function f(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",e=>e.stopPropagation()),c.addEventListener("focus",function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()}),c.addEventListener("blur",function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})}),c.addEventListener("input",u),c.addEventListener("compositionstart",e=>{e.stopPropagation(),t.composing=!0,f(e)}),c.addEventListener("compositionend",e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),f(e)}),c.addEventListener("compositionupdate",f)})}(r,i,e,s,a,o),{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Sh=Ye(()=>{{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 Th(e,t,n,o,r){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(".")&&t.value===o.value)return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if("deleteContentBackward"===e.inputType&&Sh()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function Ch(e){return"insertFromPaste"===e.inputType}const kh=uc({name:"Input",props:h({},bh,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",..._h],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=xs(()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":case"none":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t}),s=xs(()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(f(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}),a=xs(()=>void 0!==e.inputmode?e.inputmode:yh.includes(e.type)?e.type:{number:"numeric",digit:"decimal",idcard:"text"}[e.type]);let l=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=qn(null!=t?t.toLocaleStr
1ing():"");return Ho(()=>e.modelValue,e=>{n.value=null!=e?e.toLocaleString():""}),Ho(()=>e.value,e=>{n.value=null!=e?e.toLocaleString():""}),n}return qn("")}(e,i),c={fn:null};const u=qn(null),{fieldRef:d,state:h,scopedAttrsState:p,fixDisabledColor:g,trigger:m}=xh(e,u,t,(e,t)=>{const n=e.target;if("number"===i.value){if(c.fn&&(n.removeEventListener("blur",c.fn),c.fn=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",c.fn=()=>{l.value=n.value=""},n.addEventListener("blur",c.fn),!1;const o=Th(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=Th(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!Ch(e))return n.value=l.value=t.value,!1}});Ho(()=>h.value,t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())}),Ho(()=>e.maxlength,e=>{e=parseInt(e,10);const t=h.value.slice(0,e);t!==h.value&&(h.value=t)});const v=["number","digit"],y=xs(()=>v.includes(e.type)?e.step:"");function b(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),m("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),h.value=e.value}}),()=>{let t=e.disabled&&g?Qi("input",{key:"disabled-input",ref:d,value:h.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:h.maxlength,step:y.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},inputmode:a.value,onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","inputmode","onFocus"]):Qi("input",{key:"input",ref:d,value:h.value,onInput:ma(e=>{const t=e.target.value.toString();"number"===i.value&&h.maxlength>0&&t.length>h.maxlength?Ch(e)&&(h.value=t.slice(0,h.maxlength)):0===t.length&&"insertText"===e.inputType&&"."===e.data||(h.value=t)},["stop"]),disabled:!!e.disabled,type:i.value,maxlength:h.maxlength,step:y.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:b,inputmode:a.value},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return Qi("uni-input",{ref:u},[Qi("div",{class:"uni-input-wrapper"},[Yo(Qi("div",ss(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[zs,!(h.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?Qi("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}}),Eh=["class","style"],Oh=/^on[A-Z]+/,Lh=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=ds(),r=Vn({}),i=Vn({}),s=Vn({}),a=n.concat(Eh);return o.attrs=kn(o.attrs),jo(()=>{const e=(n=o.attrs,Object.keys(n).map(e=>[e,n[e]])).reduce((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:Oh.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,s.value=e.exclude}),{$attrs:r,$listeners:i,$excludeAttrs:s}};function Mh(e){const t=[];return s(e)&&e.forEach(e=>{Yi(e)?e.type===Bi?t.push(...Mh(e.children)):t.push(e):s(e)&&t.push(...Mh(e))}),t}const Ah=uc({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=qn(null),o=qn(!1);let{setContexts:r,events:i}=function(e,t){const n=qn(0),o=qn(0),r=kn({x:null,y:null}),i=qn(null);let s=null,a=[];function l(e,n=a){let o=t.value;return function e(t){for(let o=0;o<n.length;o++){const e=n[o];if(t===e.rootRef.value)return e}return t===o||t===document.body||t===document?null:e(t.parentNode)}(e)}const c=fc(t=>{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(i.value=Ph(t),r.x=t.x,r.y=t.y,!e.scaleArea){let e=l(n[0].target),t=l(n[1].target);s=e&&e===t?e:null}}}),u=fc(t=>{let n=t.touches;if(n&&n.length>1){t.preventDefault();let o={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};null!==r.x&&i.value&&i.value>0&&function(t){t&&1!==t&&(e.scaleArea?a.forEach(function(e){e._setScale(t)}):s&&s._setScale(t))}(Ph(o)/i.value),r.x=o.x,r.y=o.y}}),d=fc(t=>{let n=t.touches;n&&n.length||t.changedTouches&&(r.x=0,r.y=0,i.value=null,e.scaleArea?a.forEach(function(e){e._endScale()}):s&&s._endScale())});return si("movableAreaWidth",n),si("movableAreaHeight",o),{setContexts(e){a=e},events:{_onTouchstart:c,_onTouchmove:u,_onTouchend:d,_resize:function(){(function(){let e=window.getComputedStyle(t.value),r=t.value.getBoundingClientRect();n.value=r.width-["Left","Right"].reduce(function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])},0),o.value=r.height-["Top","Bottom"].reduce(function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])},0)})(),a.forEach(function(e,t){e.setParent()})}}}}(e,n);const{$listeners:s,$attrs:a,$excludeAttrs:l}=Lh(),c=s.value;
1["onTouchstart","onTouchmove","onTouchend"].forEach(e=>{let t=c[e],n=i[`_${e}`];c[e]=t?[].concat(t,n):n}),Er(()=>{i._resize(),o.value=!0});let u=[];const d=[];function f(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n=n.el;const o=d.find(e=>n===e.rootRef.value);o&&e.push(Rn(o))}r(e)}return si("_isMounted",o),si("movableAreaRootRef",n),si("addMovableViewContext",e=>{d.push(e),f()}),si("removeMovableViewContext",e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())}),()=>{const e=t.default&&t.default();return u=Mh(e),Qi("uni-movable-area",ss({ref:n},a.value,l.value,c),[Qi(Bf,{onResize:i._resize},null,8,["onResize"]),u],16)}}});function Ph(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const $h=function(e,t,n,o){e.addEventListener(t,e=>{d(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())},{passive:!1})};let Ih,Bh;function Rh(e,t,n){Mr(()=>{document.removeEventListener("mousemove",Ih),document.removeEventListener("mouseup",Bh)});let o=0,r=0,i=0,s=0;const a=function(e,n,a,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:a,y:l,dx:a-o,dy:l-r,ddx:a-i,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;$h(e,"touchstart",function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=s=e.touches[0].pageY,a(e,"start",o,r)}),$h(e,"mousedown",function(e){if(c=!0,!l&&!u)return u=e,o=i=e.pageX,r=s=e.pageY,a(e,"start",o,r)}),$h(e,"touchmove",function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,s=e.touches[0].pageY,t}});const d=Ih=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return i=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),$h(e,"touchend",function(e){if(0===e.touches.length&&u)return l=!1,u=null,a(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)});const f=Bh=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),$h(e,"touchcancel",function(e){if(u){l=!1;const t=u;return u=null,a(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}})}function Nh(e,t,n){return e>t-n&&e<t+n}function Fh(e,t){return Nh(e,0,t)}function Dh(){}function jh(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function Wh(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function Hh(e,t,n){this._springX=new Wh(e,t,n),this._springY=new Wh(e,t,n),this._springScale=new Wh(e,t,n),this._startTime=0}function qh(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}Dh.prototype.x=function(e){return Math.sqrt(e)},jh.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()},jh.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},jh.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}},jh.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}},jh.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}},jh.prototype.dt=function(){return-this._x_v/this._x_a},jh.prototype.done=function(){const e=Nh(this.s().x,this._endPositionX)||Nh(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},jh.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},jh.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Wh.prototype._solve=function(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,s=t/(r*e);return{x:function(e){return(i+s*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+s*e)*t+s*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),s=(-n+Math.sqrt(i))/(2*o),a=(t-r*e)/(s-r),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*r*t+a*s*n}}}const s=Math.sqrt(4*o*r-n*n)/(2*o),a=-n/2*o,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),o=Math.sin(s*e);return t*(c*s*n-l*s*o)+a*t*(c*o+l*n)}}},Wh.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Wh.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Wh.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Fh(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Fh(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Fh(t,.1)&&(t=0),Fh(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Fh(o-e,.1)&&Fh(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},Wh.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Wh.prototype.done=function(e){return e||(e=(new Date).getTime()),Nh(this.x(),this._endPosition,.1)&&Fh(this.dx(),.1)},Wh.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())},Wh.prototype.springConstant=function(){return this._k},Wh.prototype.damping=function(){return this._c},Wh.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}]},Hh.prototype.setEnd=function(e,t,n,o){const r=(new Date).getTime();this._springX.setEnd(e,o,r),this._springY.setEnd(t,o,r),this._springScale.setEnd(n,o,r),this._startTime=r},Hh.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)}},Hh.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Hh.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};const Vh=uc({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=qn(null),r=hc(o,n),{setParent:i}=function(e,t,n){const o=ai("_isMounted",qn(!1)),r=ai("addMovableViewContext",()=>{}),i=ai("removeMovableViewContext",()=>{});let s,a,l=qn(1),c=qn(1),u=qn(!1),d=qn(0),f=qn(0),h=null,p=!1,g=null,m=null;const v=new Dh,y=new Dh,b={historyX:[0,0],historyY:[0,0],historyT:[0,0]},_=xs(()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t}),w=new jh(1,_.value);Ho(()=>e.disabled,()=>{V()});const{_updateOldScale:x,_endScale:S,_setScale:T,scaleValueSync:C,_updateBoundary:k,_updateOffset:E,_updateWH:O,_scaleOffset:L,minX:M,minY:A,maxX:P,maxY:$,FAandSFACancel:I,_getLimitXY:B,_setTransform:R,_revise:N,dampingNumber:F,xMove:D,yMove:j,xSync:W,ySync:H,_STD:q}=function(e,t,n,o,r,i,s,a,l,c){const u=xs(()=>{let t=Number(e.scaleMin);return isNaN(t)?.1:t}),d=xs(()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t}),f=qn(Number(e.scaleValue)||1);Ho(f,t=>{var n;n=t,e.scale&&(P(n=I(n),!0),$(n))}),Ho(u,()=>{B()}),Ho(d,()=>{B()}),Ho(()=>e.scaleValue,e=>{f.value=Number(e)||0});const{_updateBoundary:h,_updateOffset:p,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:b,maxY:_}=function(e,t,n){const o=ai("movableAreaWidth",qn(0)),r=ai("movableAreaHeight",qn(0)),i=ai("movableAreaRootRef"),s={x:0,y:0},a={x:0,y:0},l=qn(0),c=qn(0),u=qn(0),d=qn(0),f=qn(0),h=qn(0);return{_updateBoundary:function(){let e=0-s.x+a.x,t=o.value-l.value-s.x-a.x;u.value=Math.min(e,t),f.value=Math.max(e,t);let n=0-s.y+a.y,i=r.value-c.value-s.y-a.y;d.value=Math.min(n,i),h.value=Math.max(n,i)},_updateOffset:function(){s.x=Yh(e.value,i.value),s.y=Uh(e.value,i.value)},_updateWH:function(o){o=o||t.value,o=n(o);let r=e.value.getBoundingClientRect();c.value=r.height/t.value,l.value=r.width/t.value;let i=c.value*o,s=l.value*o;a.x=(s-l.value)/2,a.y=(i-c.value)/2},_scaleOffset:a,minX:u,minY:d,maxX:f,maxY:h}}(t,o,I),{FAandSFACancel:w,_getLimitXY:x,_animationTo:S,_setTransform:T,_revise:C,dampingNumber:k,xMove:E,yMove:O,xSync:L,ySync:M,_STD:A}=function(e,t,n,o,r,i,s,a,l,c,u,d,f,h){const p=xs(()=>{let e=Number(t.damping);return isNaN(e)?20:e}),g=xs(()=>"all"===t.direction||"horizontal"===t.direction),m=xs(()=>"all"===t.direction||"vertical"===t.direction),v=qn(Kh(t.x)),y=qn(Kh(t.y));Ho(()=>t.x,e=>{v.value=Kh(e)}),Ho(()=>t.y,e=>{y.value=Kh(e)}),Ho(v,e=>{!function(e){if(g.value){if(e+n.x===l.value)return l;u&&u.cancel(),x(e+n.x,y.value+n.y,o.value)}}(e)}),Ho(y,e=>{!function(e){if(m.value){if(e+n.y===c.value)return c;u&&u.cancel(),x(v.value+n.x,e+n.y,o.value)}}(e)});const b=new Hh(1,9*Math.pow(p.value,2)/40,p.value);function _(e,t){let n=!1;return e>
1r.value?(e=r.value,n=!0):e<s.value&&(e=s.value,n=!0),t>i.value?(t=i.value,n=!0):t<a.value&&(t=a.value,n=!0),{x:e,y:t,outOfBounds:n}}function w(){d&&d.cancel(),u&&u.cancel()}function x(e,n,r,i,s,a){w(),g.value||(e=l.value),m.value||(n=c.value),t.scale||(r=o.value);let d=_(e,n);e=d.x,n=d.y,t.animation?(b._springX._solution=null,b._springY._solution=null,b._springScale._solution=null,b._springX._endPosition=l.value,b._springY._endPosition=c.value,b._springScale._endPosition=o.value,b.setEnd(e,n,r,1),u=Gh(b,function(){let e=b.x();S(e.x,e.y,e.scale,i,s,a)},function(){u.cancel()})):S(e,n,r,i,s,a)}function S(r,i,s,a="",u,d){null!==r&&"NaN"!==r.toString()&&"number"==typeof r||(r=l.value||0),null!==i&&"NaN"!==i.toString()&&"number"==typeof i||(i=c.value||0),r=Number(r.toFixed(1)),i=Number(i.toFixed(1)),s=Number(s.toFixed(1)),l.value===r&&c.value===i||u||h("change",{},{x:qh(r,n.x),y:qh(i,n.y),source:a}),t.scale||(s=o.value),s=+(s=f(s)).toFixed(3),d&&s!==o.value&&h("scale",{},{x:r,y:i,scale:s});let p="translateX("+r+"px) translateY("+i+"px) translateZ(0px) scale("+s+")";e.value&&(e.value.style.transform=p,e.value.style.webkitTransform=p,l.value=r,c.value=i,o.value=s)}return{FAandSFACancel:w,_getLimitXY:_,_animationTo:x,_setTransform:S,_revise:function(e){let t=_(l.value,c.value),n=t.x,r=t.y,i=t.outOfBounds;return i&&x(n,r,o.value,e),i},dampingNumber:p,xMove:g,yMove:m,xSync:v,ySync:y,_STD:b}}(t,e,m,o,b,_,v,y,s,a,null,c,I,n);function P(t,n){if(e.scale){t=I(t),g(t),h();const e=x(s.value,a.value),o=e.x,r=e.y;n?S(o,r,t,"",!0,!0):Xh(function(){T(o,r,t,"",!0,!0)})}}function $(e){r.value=e}function I(e){return e=Math.max(.1,u.value,e),Math.min(10,d.value,e)}function B(){if(!e.scale)return!1;P(o.value,!0),$(o.value)}return{_updateOldScale:$,_endScale:function(){i.value=!1,$(o.value)},_setScale:function(e){e&&(e=r.value*e,i.value=!0,P(e))},scaleValueSync:f,_updateBoundary:h,_updateOffset:p,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:b,maxY:_,FAandSFACancel:w,_getLimitXY:x,_animationTo:S,_setTransform:T,_revise:C,dampingNumber:k,xMove:E,yMove:O,xSync:L,ySync:M,_STD:A}}(e,n,t,l,c,u,d,f,0,h);function V(){u.value||e.disabled||(I(),b.historyX=[0,0],b.historyY=[0,0],b.historyT=[0,0],D.value&&(s=d.value),j.value&&(a=f.value),n.value.style.willChange="transform",g=null,m=null,p=!0)}function z(){if(!o.value)return;I();let t=e.scale?C.value:1;E(),O(t),k();let n=B(W.value+L.x,H.value+L.y),r=n.x,i=n.y;R(r,i,t,"",!0),x(t)}return Er(()=>{Rh(n.value,t=>{switch(t.detail.state){case"start":V();break;case"move":!function(t){if(!u.value&&!e.disabled&&p){let n=d.value,o=f.value;if(null===m&&(m=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),D.value&&(n=t.detail.dx+s,b.historyX.shift(),b.historyX.push(n),j.value||null!==g||(g=Math.abs(t.detail.dx/t.detail.dy)<1)),j.value&&(o=t.detail.dy+a,b.historyY.shift(),b.historyY.push(o),D.value||null!==g||(g=Math.abs(t.detail.dy/t.detail.dx)<1)),b.historyT.shift(),b.historyT.push(t.detail.timeStamp),!g){t.preventDefault();let r="touch";n<M.value?e.outOfBounds?(r="touch-out-of-bounds",n=M.value-v.x(M.value-n)):n=M.value:n>P.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=P.value+v.x(n-P.value)):n=P.value),o<A.value?e.outOfBounds?(r="touch-out-of-bounds",o=A.value-y.x(A.value-o)):o=A.value:o>$.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=$.value+y.x(o-$.value)):o=$.value),Xh(function(){R(n,o,l.value,r)})}}}(t);break;case"end":!function(){if(!u.value&&!e.disabled&&p&&(n.value.style.willChange="auto",p=!1,!g&&!N("out-of-bounds")&&e.inertia)){const e=1e3*(b.historyX[1]-b.historyX[0])/(b.historyT[1]-b.historyT[0]),t=1e3*(b.historyY[1]-b.historyY[0])/(b.historyT[1]-b.historyT[0]),n=d.value,o=f.value;w.setV(e,t),w.setS(n,o);const r=w.delta().x,i=w.delta().y;let s=r+n,a=i+o;s<M.value?(s=M.value,a=o+(M.value-n)*i/r):s>P.value&&(s=P.value,a=o+(P.value-n)*i/r),a<A.value?(a=A.value,s=n+(A.value-o)*r/i):a>$.value&&(a=$.value,s=n+($.value-o)*r/i),w.setEnd(s,a),h=Gh(w,function(){let e=w.s(),t=e.x,n=e.y;R(t,n,l.value,"friction")},function(){h.cancel()})}e.outOfBounds||e.inertia||I()}()}}),z(),w.reconfigure(1,_.value),q.reconfigure(1,9*Math.pow(F.value,2)/40,F.value),n.value.style.transformOrigin="center";const t={rootRef:n,setParent:z,_endScale:S,_setScale:T};r(t),Ar(()=>{i(t)})}),Ar(()=>{I()}),{setParent:z}}(e,r,o);return()=>Qi("uni-movable-view",{ref:o},[Qi(Bf,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let zh=!1;function Xh(e){zh||(zh=!0,requestAnimationFrame(function(){e(),zh=!1}))}function Yh(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=Yh(e.offsetParent,t):0}function Uh(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Uh(e.offsetParent,t):0}function Gh(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);let i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function Kh(e){return/\d+[ur]px$/i.test(e)?uu(parseFloat(e)):Number(e)||0}const Jh={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:""},Zh={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"â",rdquo:"â",yen:"ï¿¥",radic:"â",lceil:"â",rceil:"â",lfloor:"â",rfloor:"â",hellip:"â¦"},Qh=(e,t,n)=>!n||s(n)&&!n.length?[]:n.map(n=>{var o;
1if(g(n)){if(!M(n,"type")||"node"===n.type){let r={[e]:""};const i=null==(o=n.name)?void 0:o.toLowerCase();if(!M(Jh,i))return;return function(e,t){if(g(t))for(const n in t)if(M(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=hf(o))}}(i,n.attrs),r=h(r,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClickCapture:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),Ss(n.name,r,Qh(e,t,n.children))}return"text"===n.type&&c(n.text)&&""!==n.text?ts((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(e,t){return M(Zh,t)&&Zh[t]?Zh[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}}),ep=uc({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["itemclick"],setup(e,{emit:t}){const n=ds(),o=n&&n.vnode.scopeId||"",r=qn(null),i=qn([]),s=hc(r,t);function a(e,t={}){s("itemclick",e,t)}return Ho(()=>e.nodes,function(){let t=e.nodes;c(t)&&(t=function(e){e=e.replace(/<\?xml.*\?>\n/,"").replace(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"");const t=[],n={children:[]};return function(e,t){var n,o,r,i=[],s=e;for(i.last=function(){return this[this.length-1]};e;){if(o=!0,i.last()&&nh[i.last()])e=e.replace(new RegExp("([\\s\\S]*?)</"+i.last()+"[^>]*>"),function(e,n){return n=n.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),t.chars&&t.chars(n),""}
1),c(0,i.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),o=!1):0==e.indexOf("</")?(r=e.match(Gf))&&(e=e.substring(r[0].length),r[0].replace(Gf,c),o=!1):0==e.indexOf("<")&&(r=e.match(Uf))&&(e=e.substring(r[0].length),r[0].replace(Uf,l),o=!1),o){var a=(n=e.indexOf("<"))<0?e:e.substring(0,n);e=n<0?"":e.substring(n),t.chars&&t.chars(a)}if(e==s)throw"Parse Error: "+e;s=e}function l(e,n,o,r){if(n=n.toLowerCase(),Zf[n])for(;i.last()&&Qf[i.last()];)c(0,i.last());if(eh[n]&&i.last()==n&&c(0,n),(r=Jf[n]||!!r)||i.push(n),t.start){var s=[];o.replace(Kf,function(e,t){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:th[t]?t:"";s.push({name:t,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(n,s,r)}}function c(e,n){if(n)for(o=i.length-1;o>=0&&i[o]!=n;o--);else var o=0;if(o>=0){for(var r=i.length-1;r>=o;r--)t.end&&t.end(i[r]);i.length=o}}c()}(e,{start:function(e,o,r){const i={name:e};if(0!==o.length&&(i.attrs=o.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},{})),r){const e=t[0]||n;e.children||(e.children=[]),e.children.push(i)}else t.unshift(i)},end:function(e){const o=t.shift();if(o.name,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}(e.nodes)),i.value=Qh(o,a,t)},{immediate:!0,deep:!0}),()=>Ss("uni-rich-text",{ref:r},Ss("div",{},i.value))}}),tp=uc({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=qn(null),o=xs(()=>{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}),r=xs(()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)});return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:a}=e;return Qi("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?Qi("div",{class:"uni-scroll-view-refresh"},[Qi("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?Qi("svg",{key:"refresh__icon",style:{transform:"rotate("+r.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[Qi("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),Qi("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?Qi("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[Qi("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?Qi("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),np=Qe(!0),op=uc({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"}
1,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 r=qn(null),i=qn(null),s=qn(null),a=qn(null),l=hc(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=xs(()=>Number(e.scrollTop)||0),n=xs(()=>Number(e.scrollLeft)||0);return{state:kn({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:h}=function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const h=xs(()=>e.scrollX),p=xs(()=>e.scrollY),g=xs(()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t}),m=xs(()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t});function v(e,t){const n=s.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=a.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",f),i.removeEventListener("webkitTransitionEnd",f),f=()=>function(e,t){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let n=s.value;"x"===t?(n.style.overflowX=h.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=p.value?"auto":"hidden",n.scrollTop=e),a.value.removeEventListener("transitionend",f),a.value.removeEventListener("webkitTransitionEnd",f)}(e,t),i.addEventListener("transitionend",f),i.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function y(t){p.value&&(e.scrollWithAnimation?v(t,"y"):s.value.scrollTop=t)}function b(t){h.value&&(e.scrollWithAnimation?v(t,"x"):s.value.scrollLeft=t)}function _(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return;let n=i.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(h.value){let n=o.left-t.left,r=s.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):s.value.scrollLeft=r}if(p.value){let n=o.top-t.top,r=s.value.scrollTop+n;e.scrollWithAnimation?v(r,"y"):s.value.scrollTop=r}}}}function w(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),r("refresherrefresh",{},{dy:S.y-x.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{dy:S.y-x.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:S.y-x.y}))}t.refreshState=n}}let x={x:0,y:0},S={y:e.refresherThreshold};return Er(()=>{fo(()=>{y(n.value),b(o.value)}),_(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),function(e){const n=e.target;r("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),p.value&&(n.scrollTop<=g.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+m.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),h.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+m.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}(e)},a=null,l=function(n){if(null===x)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=s.value;if(Math.abs(o-x.x)>Math.abs(i-x.y))if(h.value){if(0===l.scrollLeft&&o>x.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&o<x.x)return void(a=!1);a=!0}else a=!1;else if(p.value)if(0===l.scrollTop&&i>x.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i<x.y)return void(a=!1);a=!0}else a=!1;if(a&&n.stopPropagation(),0===l.scrollTop&&1===n.touches.length&&w("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const o=i-x.y;0===u&&(u=i),c?(t.refresherHeight=o+e.refresherThreshold,d=!1):(t.refresherHeight=i-u,t.refresherHeight>0&&(d=!0,r("refresherpulling",n,{deltaY:o,dy:o})))}},f=function(e){1===e.touches.length&&(x={x:e.touches[0].pageX,y:e.touches[0].pageY})},v=function(n){S={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?w("refreshing"):w("refresherabort"),x={x:0,y:0},S={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",f,np),s.value.addEventListener("touchmove",l,Qe(!1)),s.value.addEventListener("scroll",i,Qe(!1)),s.value.addEventListener("touchend",v,np),Mr(()=>{s.value.removeEventListener("touchstart",f),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",v)})}),mr(()=>{p.value&&(s.value.scrollTop=t.lastScrollTop),h.value&&(s.value.scrollLeft=t.lastScrollLeft)}),Ho(n,e=>{y(e)}),Ho(o,e=>{b(e)}),Ho(()=>e.scrollIntoView,e=>{_(e)}),Ho(()=>
1e.refresherTriggered,e=>{!0===e?w("refreshing"):!1===e&&w("restore")}),{realScrollX:h,realScrollY:p,_scrollTopChanged:y,_scrollLeftChanged:b}}(e,c,u,d,l,r,i,a,t),p=xs(()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",h.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e}),g=xs(()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t});return o({$getMain:()=>i.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:f}=c;return Qi("uni-scroll-view",{ref:r},[Qi("div",{ref:s,class:"uni-scroll-view"},[Qi("div",{ref:i,style:p.value,class:g.value},[t?Qi(tp,{refreshState:f,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,Qi("div",{ref:a,class:"uni-scroll-view-content"}
1,[n.default&&n.default()],512)],6)],512)],512)}}}),rp=uc({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=qn(null),r=hc(o,n),i=qn(null),s=qn(null),a=(u=e,kn({interval:xs(()=>{const e=Number(u.interval);return isNaN(e)?5e3:e}),duration:xs(()=>{const e=Number(u.duration);return isNaN(e)?500:e}),displayMultipleItems:xs(()=>{const e=Math.round(u.displayMultipleItems);return isNaN(e)?1:e}),current:Math.round(u.current)||0,currentItemId:u.currentItemId,userTracking:!1})),l=xs(()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Cl(e.previousMargin,!0),bottom:Cl(e.nextMargin,!0)}:{top:0,bottom:0,left:Cl(e.previousMargin,!0),right:Cl(e.nextMargin,!0)}),t}),c=xs(()=>{const t=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}});var u;let d=[];const f=[],h=qn([]);function p(){const e=[];for(let t=0;t<d.length;t++){let n=d[t];n instanceof Element||(n=n.el);const o=f.find(e=>n===e.rootRef.value);o&&e.push(Rn(o))}h.value=e}si("addSwiperContext",function(e){f.push(e),p()}),si("removeSwiperContext",function(e){const t=f.indexOf(e);t>=0&&(f.splice(t,1),p())});const{onSwiperDotClick:g,circularEnabled:m,swiperEnabled:v}=function(e,t,n,o,r,i){function s(){c&&(clearTimeout(c),c=null)}let a,l,c=null,u=!0,d=0,f=1,h=null,p=!1,g=0,m="";const v=xs(()=>n.value.length>t.displayMultipleItems),y=xs(()=>
1e.circular&&v.value);function b(r){Math.floor(2*d)===Math.floor(2*r)&&Math.ceil(2*d)===Math.ceil(2*r)||y.value&&function(o){if(!u)for(let r=n.value,i=r.length,s=o+t.displayMultipleItems,a=0;a<i;a++){const t=r[a],n=Math.floor(o/i)*i+a,l=n+i,c=n-i,u=Math.max(o-(n+1),n-s,0),d=Math.max(o-(l+1),l-s,0),f=Math.max(o-(c+1),c-s,0),h=Math.min(u,d,f),p=[n,l,c][[u,d,f].indexOf(h)];t.updatePosition(p,e.vertical)}}(r);const s="translate("+(e.vertical?"0":100*-r*f+"%")+", "+(e.vertical?100*-r*f+"%":"0")+") translateZ(0)",l=o.value;if(l&&(l.style.webkitTransform=s,l.style.transform=s),d=r,!a){if(r%1==0)return;a=r}r-=Math.floor(a);const c=n.value;r<=-(c.length-1)?r+=c.length:r>=c.length&&(r-=c.length),r=a%1>.5||a<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*l.offsetWidth,dy:e.vertical?r*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function w(){h=null}function x(){if(!h)return void(p=!1);const e=h,o=e.toPos,r=e.acc,s=e.endTime,c=e.source,u=s-Date.now();if(u<=0){b(o),h=null,p=!1,a=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}b(o+r*u*u/2),l=requestAnimationFrame(x)}function S(e,o,r){w();const i=t.duration,s=n.value.length;let a=d;if(y.value)if(r<0){for(;a<e;)a+=s;for(;a-s>e;)a-=s}else if(r>0){for(;a>e;)a-=s;for(;a+s<e;)a+=s;a+s-e<e-a&&(a+=s)}else{for(;a+s<e;)a+=s;for(;a-s>e;)a-=s;a+s-e<e-a&&(a+=s)}else"click"===o&&(e=e+t.displayMultipleItems-1<s?e:0);h={toPos:e,acc:2*(a-e)/(i*i),endTime:Date.now()+i,source:o},p||(p=!0,l=requestAnimationFrame(x))}function T(){s();const e=n.value,o=function(){c=null,m="autoplay",y.value?t.current=_(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,S(t.current,"autoplay",y.value?1:0),c=setTimeout(o,t.interval)};u||e.length<=t.displayMultipleItems||(c=setTimeout(o,t.interval))}function C(e){e?T():s()}return Ho([()=>e.current,()=>e.currentItemId,()=>[...n.value]],()=>{let o=-1;if(e.currentItemId)for(let t=0,r=n.value;t<r.length;t++)if(r[t].getItemId()===e.currentItemId){o=t;break}o<0&&(o=Math.round(e.current)||0),o=o<0?0:o,t.current!==o&&(m="",t.current=o)}),Ho([()=>e.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],function(){s(),h&&(b(h.toPos),h=null);const r=n.value;for(let t=0;t<r.length;t++)r[t].updatePosition(t,e.vertical);f=1;const i=o.value;if(1===t.displayMultipleItems&&r.length){const e=r[0].getBoundingClientRect(),t=i.getBoundingClientRect();f=e.width/t.width,f>0&&f<1||(f=1)}const a=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(b(a+l-g),g=l):(b(l),e.autoplay&&T())):(u=!0,b(-t.displayMultipleItems-1))}),Ho(()=>t.interval,()=>{c&&(s(),T())}),Ho(()=>t.current,(e,o)=>{!function(e,o){const r=m;m="";const s=n.value;if(!r){const t=s.length;S(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const a=s[e];if(a){const e=t.currentItemId=a.getItemId();i("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)}),Ho(()=>t.currentItemId,e=>{r("update:currentItemId",e)}),Ho(()=>e.autoplay&&!t.userTracking,C),C(e.autoplay&&!t.userTracking),Er(()=>{let r=!1,i=0,a=0;function l(e){t.userTracking=!1;const n=i/Math.abs(i);let o=0;!e&&Math.abs(i)>.2&&(o=.5*n);const r=_(d+o);e?S(t.current,"",0):(m="touch",t.current=r,S(r,"touch",0!==o?o:0===r&&y.value&&d>=1?1:0))}Rh(o.value,c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,r=!1,s(),g=d,i=0,a=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!r){r=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&T())}return function(r){const s=a;a=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=g+e;i=.6*i+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),i=0),b(n)}const d=a-s||1,f=o.value;e.vertical?u(-r.dy/f.offsetHeight,-r.ddy/d):u(-r.dx/f.offsetWidth,-r.ddx/d)}(c.detail),!1}}},!0)}),Ar(()=>{s(),cancelAnimationFrame(l)}
1),{onSwiperDotClick:function(e){S(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}(e,a,h,s,n,r);let y=()=>null;return y=ip(o,e,a,g,h,m,v),()=>{const n=t.default&&t.default();return d=Mh(n),Qi("uni-swiper",{ref:o},[Qi("div",{ref:i,class:"uni-swiper-wrapper"},[Qi("div",{class:"uni-swiper-slides",style:l.value},[Qi("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&Qi("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[h.value.map((t,n,o)=>Qi("div",{onClick:()=>g(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<a.current+a.displayMultipleItems&&n>=a.current||n<a.current+a.displayMultipleItems-o.length},style:{background:n===a.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"]))],2),y()],512)],512)}}}),ip=(e,t,n,o,r,i,s)=>{let a=!1,l=!1,c=!1,u=qn(!1);function d(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}jo(()=>{a="auto"===t.navigation,u.value=!0!==t.navigation||a,b()}),jo(()=>{const e=r.value.length,t=!i.value;l=0===n.current&&t,c=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,s.value||(l=!0,c=!0,a&&(u.value=!0))});const f={onMouseover:e=>d(e,"over"),onMouseout:e=>d(e,"out")};function p(e,t,s){if(e.stopPropagation(),s)return;const a=r.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&i.value&&(l=a-1);break;case"next":l++,l>=a&&i.value&&(l=0)}o(l)}const g=()=>Ll(Ol,t.navigationColor,26);let m;const v=n=>{clearTimeout(m);const{clientX:o,clientY:r}=n,{left:i,right:s,top:a,bottom:l,width:c,height:d}=e.value.getBoundingClientRect();let f=!1;if(f=t.vertical?!(r-a<d/3||l-r<d/3):!(o-i<c/3||s-o<c/3),f)return m=setTimeout(()=>{u.value=f},300);u.value=f},y=()=>{u.value=!0};function b(){e.value&&(e.value.removeEventListener("mousemove",v),e.value.removeEventListener("mouseleave",y),a&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return Er(b),function(){const e={"uni-swiper-navigation-hide":u.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?Qi(Bi,null,[Qi("div",ss({class:["uni-swiper-navigation uni-swiper-navigation-prev",h({"uni-swiper-navigation-disabled":l},e)],onClick:e=>p(e,"prev",l)},f),[g()],16,["onClick"]),Qi("div",ss({class:["uni-swiper-navigation uni-swiper-navigation-next",h({"uni-swiper-navigation-disabled":c},e)],onClick:e=>p(e,"next",c)},f),[g()],16,["onClick"])]):null}},sp=uc({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=qn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",i=n.value,s=`translate(${o},${r}) translateZ(0)`;i&&(i.style.webkitTransform=s,i.style.transform=s)}};return Er(()=>{const e=ai("addSwiperContext");e&&e(o)}),Ar(()=>{const e=ai("removeSwiperContext");e&&e(o)}),()=>Qi("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),ap={ensp:"â",emsp:"â",nbsp:"Â "},lp=uc({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=qn(null);return()=>{const o=[];return t.default&&t.default().forEach(t=>{if(8&t.shapeFlag&&t.type!==Ni){let n=[];n=function(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&ap[t]&&" "===i&&(i=ap[t]),r?(o+="n"===i?te:"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,ap.nbsp).replace(/ /g,ap.ensp).replace(/ /g,ap.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split(te)}(t.children,{space:e.space,decode:e.decode});const r=n.length-1;n.forEach((e,t)=>{(0!==t||e)&&o.push(ts(e)),t!==r&&o.push(Qi("br"))})}else o.push(t)}),Qi("uni-text",{ref:n,selectable:!!e.selectable||null},[Qi("span",null,o)],8,["selectable"])}}}),cp=h({},bh,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>dp.concat("return").includes(e)}});let up=!1;const dp=["done","go","next","search","send"],fp=uc({name:"Textarea",props:cp,emits:["confirm","change","linechange",..._h],setup(e,{emit:t,expose:n}){const o=qn(null),r=qn(null),{fieldRef:s,state:a,scopedAttrsState:l,fixDisabledColor:c,trigger:u}=xh(e,o,t),d=xs(()=>a.value.split(te)),f=xs(()=>dp.includes(e.confirmType)),h=qn(0),p=qn(null);function g({height:e}){h.value=e}function m(e){}function v(e){"Enter"===e.key&&f.value&&e.preventDefault()}function y(t){if("Enter"===t.key&&f.value){u("confirm",t,{value:a.value});const n=t.target;!e.confirmHold&&n.blur()}}return Ho(()=>h.value,t=>{const n=o.value,i=p.value,s=r.value;let a=parseFloat(getComputedStyle(n).lineHeight);isNaN(a)&&(a=i.offsetHeight);var l=Math.round(t/a);u("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(s.style.height=t+"px")}),function(){const e="(prefers-color-scheme: dark)";up=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&&c?Qi("textarea",{key:"disabled-textarea",ref:s,value:a.value,tabindex:"-1",readonly:!!e.disabled,maxlength:a.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":up},style:i({overflowY:e.autoHeight?"hidden":"auto"},e.cursorColor&&{caretColor:e.cursorColor}),onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):Qi("textarea",{key:"textarea",ref:s,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":up},style:i({overflowY:e.autoHeight?"hidden":"auto"},e.cursorColor&&{caretColor:e.cursorColor}),onKeydown:v,onKeyup:y,onChange:m},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup","onChange"]);return Qi("uni-textarea",{ref:o,"auto-height":e.autoHeight},[Qi("div",{ref:r,class:"uni-textarea-wrapper"},[Yo(Qi("div",ss(l.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[zs,!a.value.length]]),Qi("div",{ref:p,class:"uni-textarea-line"},[" "],512),Qi("div",{class:{"uni-textarea-compute":!0,"uni-textarea-compute-auto-height":e.autoHeight}},[d.value.map(e=>Qi("div",null,[e.trim()?e:"."])),Qi(Bf,{initial:!0,onResize:g},null,8,["initial","onResize"])],2),"search"===e.confirmType?Qi("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],8,["auto-height"])}}}),hp=uc({name:"View",props:h({},pc),setup(e,{slots:t}){const n=qn(null),{hovering:o,binding:r}=gc(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?Qi("uni-view",ss({class:o.value?i:"",ref:n},r),[Fr(t,"default")],16):Qi("uni-view",{ref:n},[Fr(t,"default")],512)}}});function pp(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function gp(e,t,n){e&&Ga(n||Il(),e,({type:e,data:n},o)=>{t(e,n,o)})}function mp(e,t){var n;e&&(n=Ua(t||Il(),n=e),delete Ya[n])}function vp(e,t,n,o){const r=ds().proxy;o=null==o?Ml():o,Er(()=>{gp(t||pp(r),e,o),Ho(()=>r.id,(t,n)=>{gp(pp(r,t),e,o),mp(n&&pp(r,n))})}),Mr(()=>{mp(t||pp(r),o)})}let yp=0;function bp(e){const t=Ml(),n=ds().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+yp++;return Er(()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}}),`${o}.${r}`}function _p(e,t,n,o){d(t)&&Tr(e,t.bind(n),o)}
1function wp(e,t,n){!function(t,n,o){const r=t.mpType||o.$mpType;if(r&&"component"!==r&&("page"!==r||"component"!==n.renderer)&&(Object.keys(t).forEach(e=>{if(function(e,t,n=!0){return!(n&&!d(t))&&(lt.indexOf(e)>-1||0===e.indexOf("on"))}(e,t[e],!1)){const r=t[e];s(r)?r.forEach(t=>_p(e,t,o,n)):_p(e,r,o,n)}}),"page"===r)){n.__isVisible=!0;try{let e=n.attrs.__pageQuery;Fl(o,de,e),n.vapor||delete n.attrs.__pageQuery;const t=o.$page;"preloadPage"!==(null==t?void 0:t.openType)&&Fl(o,re)}catch(e){}}}(e,t,n)}function xp(e,t,n){return e[t]=n}function Sp(e,...t){const n=this[e];return n?n(...t):null}function Tp(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const i=e._instance;if(!i||!i.proxy)throw n;i[ae]?Fl(i.proxy,ae,n):o&&o.$.vnode}}function Cp(e,t){return e?[...new Set([].concat(e,t))]:t}let kp=Object.create(null);const Ep=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,kp[o]);if(t)return t}return{left:0,top:0};var o};function Op(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=z(e);return t.listen((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Zd(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=Vd(t[r]);Qd(nf(e.path,e.id),!1)}}(Math.abs(n.delta))}),t}const Lp={install(e){(function(e){const t=e.config;var n;t.errorHandler=ut(e,Tp),n=t.optionMergeStrategies,lt.forEach(e=>{n[e]=Cp});const o=t.globalProperties;var r;o.$set=xp,o.$applyOptions=wp,o.$callMethod=Sp,r=e,ct.forEach(e=>e(r))})(e),function(e){!function(e){const t=e.globalProperties;h(t,Zl),t.$gcd=Xl}(e._context.config)}(e),function(e){e._context.config.globalProperties.getOpenerEventChannel=sc}(e),e.config.warnHandler||(e.config.warnHandler=Mp),function(e){const t=V({history:Op(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Ep});t.beforeEach((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(kp[n]={left:window.pageXOffset,top:window.pageYOffset}))}),e.router=t,e.use(t)}(e)}};function Mp(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)}const Ap={class:"uni-async-loading"},Pp=Qi("i",{class:"uni-loading"},null,-1),$p=dc({name:"AsyncLoading",render:()=>(Wi(),Xi("div",Ap,[Pp]))});function Ip(){window.location.reload()}const Bp=dc({name:"AsyncError",props:["error"],setup(){Na();const{t:e}=Ba();return()=>Qi("div",{class:"uni-async-error",onClick:Ip},[e("uni.async.error")],8,["onClick"])}});let Rp;function Np(){return Rp}function Fp(e){Rp=e,Object.defineProperty(Rp.$.ctx,"$children",{get:()=>Zd().map(e=>e.$vm)});const t=Rp.$.appContext.app;t.component($p.name)||t.component($p.name,$p),t.component(Bp.name)||t.component(Bp.name,Bp),function(e){e.$vm=e,e.$mpType="app";const t=qn(Ba().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Rp),function(e){const t=e.$options||{};t.globalData=h(t.globalData||{},void 0),Object.defineProperty(e,"globalData",{get:()=>t.globalData,set(e){t.globalData=e}})}(Rp),function(){const{on:e}=ym;e(ye,nc),e(Ie,oc),e(Be,rc)}(),ic.forEach(e=>ym.subscribe(e,function(e){return(t,n)=>{Fl(parseInt(n),e,t)}}(e))),function(){const e=__uniConfig.globalStyle||{},t=il(e.rpxCalcMaxDeviceWidth,960),n=il(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=sl()&&"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 e?Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n:Math.min(window.innerWidth,document.documentElement.clientWidth)}();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),sl()&&window.addEventListener("orientationchange",()=>{o(),setTimeout(o,50)})}(),Ke(El),window.addEventListener("touchstart",ol,Za),window.addEventListener("touchmove",rl,Za),window.addEventListener("touchend",el,Za),window.addEventListener("touchcancel",el,Za)}function Dp(e,{type:t,clone:n,init:o,setup:r,before:i,options:s}){n&&(e=h({},e)),i&&i(e);const a=e.setup;return e.setup=(e,t)=>{const n=ds();if(o(n.proxy),r(n),a)return a(e,t)},e}function jp(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Dp(e.default,t):Dp(e,t)}function Wp(e,t){return jp(e,{type:"page",clone:!0,init:tf,setup(e){e.$pageInstance=e;const t=Tc(),n=nt(t.query);e.attrs.__pageQuery=n,Vd(e.proxy).options=n,e.proxy.options=n;const o=Sc();Wd(o),e.onReachBottom=kn([]),e.onPageScroll=kn([]),Ho([e.onReachBottom,e.onPageScroll],()=>{const t=Pl();e.proxy===t&&df(e,o)},{once:!0}),kr(()=>{sf(e,o)}),Er(()=>{!function(e){const t=af(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}(e);const{onReady:n}=e;n&&I(n),Xp(t)}),yr(()=>{if(!e.__isVisible){sf(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&I(n),fo(()=>{Xp(t)})}},"ba",void 0),yr(()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&I(t)}}},"bda",void 0);const r=Nl(e.proxy);return i=r,vm.subscribe(Ua(i,Va),Ka),Mr(()=>
1{!function(e){vm.unsubscribe(Ua(e,Va)),Object.keys(Ya).forEach(t=>{0===t.indexOf(e+".")&&delete Ya[t]})}(r)}),n;var i}})}function Hp(e){return jp(e,{init:Fp,setup(e){const t=Tc();return Y().isReady().then(()=>{var n;n=e,Object.keys(Uu).forEach(e=>{Uu[e].forEach(t=>{Tr(e,t,n)})});const{onLaunch:o,onShow:r,onPageNotFound:i}=e,s=function({path:e,query:t}){return h($f,{path:e,query:t}),h(If,$f),h({},$f)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:nt(t.query)});if(o&&I(o,s),r&&I(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:nt(t.query),scene:1001};Rd(),i&&I(i,e)}}),Er(()=>{window.addEventListener("resize",it(qp,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",Vp),document.addEventListener("visibilitychange",zp),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{ym.emit(le,{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=()=>(Wi(),Xi(pm));e.setup=(e,o)=>{const r=t&&t(e,o);return d(r)?n:r},e.render=n}})}function qp(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=ug(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";ym.emit(ye,{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function Vp(e){g(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&ym.emit(Re,e.data.data,e.data.pageId)}function zp(){const{emit:e}=ym;"visible"===document.visibilityState?e(Ie,h({},If)):e(Be)}function Xp(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&Fl("onTabItemTap",{index:n,text:t,pagePath:o})}function Yp(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+(o<10?"0":"")+o;return"00"!==r&&(i=r+":"+i),i}const Up=uc({name:"Video",props:{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}},emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=qn(null),i=qn(null),a=hc(r,t),{state:l}=gh(),{$attrs:c}=Lh({excludeListeners:!0});Ha();const{videoRef:u,state:d,play:f,pause:h,stop:p,seek:g,playbackRate:m,toggle:v,onDurationChange:y,onLoadedMetadata:b,onProgress:_,onWaiting:w,onVideoError:x,onPlay:S,onPause:T,onEnded:C,onTimeUpdate:k}=function(e,t,n){const o=qn(null),r=xs(()=>hf(e.src)),i=xs(()=>"true"===e.muted||!0===e.muted),s=kn({start:!1,src:r,playing:!1,currentTime:0,duration:0,currentDuration:0,progress:0,buffered:0,muted:i,pauseUpdatingCurrentTime:!1});function a(e){const t=e.target,n=t.buffered;n.length&&(s.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 Ho(()=>r.value,()=>{s.playing=!1,s.currentTime=0}),Ho(()=>s.buffered,e=>{n("progress",{},{buffered:e})}),Ho(()=>i.value,e=>{o.value.muted=e}),Ho([()=>s.duration,()=>e.duration],()=>{let t=Number(e.duration);isNaN(t)&&(t=0),s.currentDuration=t>0?t:s.duration}),{videoRef:o,state:s,play:function(){const e=o.value;s.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;s.playing?e.pause():e.play()},onDurationChange:function({target:e}){s.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,r=t.target;o>0&&(r.currentTime=o),n("loadedmetadata",t,{width:r.videoWidth,height:r.videoHeight,duration:r.duration}),a(t)},onProgress:a,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){s.playing=!1,n("error",e,{})},onPlay:function(e){s.start=!0,s.playing=!0,n("play",e,{})},onPause:function(e){s.playing=!1,n("pause",e,{})},onEnded:function(e){s.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target;s.pauseUpdatingCurrentTime||(s.currentTime=t.currentTime);const o=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,a),{state:E,danmuRef:O,updateDanmu:L,toggleDanmu:M,sendDanmu:A}=function(e,t){const n=qn(null),o=kn({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=s(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function a(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout(function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout(function(){t.remove()},4e3)},17)}return i.sort(function(e,t){return(e.time||0)-(t.time||0)}),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,s=r,l={time:n,index:s.index};if(n>s.time)for(let r=s.index+1;r<i.length;r++){const e=i[r];if(!(n>=(e.time||0)))break;l.index=r,t.playing&&o.enable&&a(e)}else if(n<s.time)for(let t=s.index-1;t>-1&&n<=(i[t].time||0);t--)l.index=t-1;r=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){i.splice(r.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,d),{state:P,onFullscreenChange:$,emitFullscreenChange:I,toggleFullscreen:B,requestFullScreen:R,exitFullScreen:N}=function(e,t,n,o,r){const i=kn({fullscreen:!1}),s=/^Apple/.test(navigator.vendor);function a(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=r.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||s&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),u&&a(e)}function c(){l(!1)}return Mr(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||a(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:a,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(a,i,u,l,r),{state:F,onTouchstart:D,onTouchend:j,onTouchmove:W}=function(e,t,n,o){const r=kn({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}
1),i={x:0,y:0};let s,a=null;return{state:r,onTouchstart:function(e){const t=e.targetTouches[0];i.x=t.pageX,i.y=t.pageY,r.gestureType="none",r.volumeOld=0},onTouchmove:function(l){function c(){l.stopPropagation(),l.preventDefault()}o.fullscreen&&c();const u=r.gestureType;if("stop"===u)return;const d=l.targetTouches[0],f=d.pageX,h=d.pageY,p=i,g=n.value;if("progress"===u?(function(e){const n=t.currentDuration;let o=e/600*n+r.currentTimeOld;o<0?o=0:o>n&&(o=n),r.currentTimeNew=o}(f-p.x),r.seeking=!0):"volume"===u&&function(e){const t=n.value,o=r.volumeOld;let i;"number"==typeof o&&(i=o-e/200,i<0?i=0:i>1&&(i=1),clearTimeout(s),s=void 0,null==s&&(s=setTimeout(()=>{r.toastThin=!1,s=void 0},1e3)),t.volume=i,r.volumeNew=i)}(h-p.y),"none"===u)if(Math.abs(f-p.x)>Math.abs(h-p.y)){if(!e.enableProgressGesture)return void(r.gestureType="stop");r.gestureType="progress",r.currentTimeOld=r.currentTimeNew=g.currentTime,o.fullscreen||c()}else{if(!e.pageGesture&&!e.vslideGesture)return void(r.gestureType="stop");"none"!==r.gestureType&&null!=a||(a=setTimeout(()=>{r.toastThin=!0},500)),r.gestureType="volume",r.volumeOld=g.volume,o.fullscreen||c()}},onTouchend:function(e){const t=n.value;"none"!==r.gestureType&&"stop"!==r.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===r.gestureType&&r.currentTimeOld!==r.currentTimeNew&&(t.currentTime=r.currentTimeNew),r.gestureType="none"}}}(e,d,u,P),{state:H,progressRef:q,ballRef:V,clickProgress:z,toggleControls:X}=function(e,t,n,o){const r=qn(null),i=qn(null),s=xs(()=>e.showCenterPlayBtn&&!t.start),a=qn(!0),l=xs(()=>!s.value&&e.controls&&a.value),c=kn({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:s,controlsShow:l,controlsVisible:a});let u;function d(){u=setTimeout(()=>{c.controlsVisible=!1},3e3)}function f(){u&&(clearTimeout(u),u=null)}return Mr(()=>{u&&clearTimeout(u)}),Ho(()=>c.controlsShow&&t.playing&&!c.controlsTouching,e=>{e?d():f()}),Er(()=>{const e=Qe(!1);let s,a,l,u=!0;const d=i.value;function f(e){const n=e.targetTouches[0],i=n.pageX,d=n.pageY;if(u&&Math.abs(i-s)<Math.abs(d-a))return void h(e);u=!1;const f=r.value.offsetWidth;let p=l+(i-s)/f*100;p<0?p=0:p>100&&(p=100),t.progress=p,null==o||o(t.currentDuration*p/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function h(o){c.controlsTouching=!1,c.touching&&(d.removeEventListener("touchmove",f,e),u||(o.preventDefault(),o.stopPropagation(),n(t.currentDuration*t.progress/100)),c.touching=!1)}d.addEventListener("touchstart",n=>{c.controlsTouching=!0;const o=n.targetTouches[0];s=o.pageX,a=o.pageY,l=t.progress,u=!0,c.touching=!0,d.addEventListener("touchmove",f,e)}),d.addEventListener("touchend",h),d.addEventListener("touchcancel",h)}),{state:c,progressRef:r,ballRef:i,clickProgress:function(e){const o=r.value;let i=e.target,s=e.offsetX;for(;i&&i!==o;)s+=i.offsetLeft,i=i.parentNode;const a=o.offsetWidth;let l=0;s>=0&&s<=a&&(l=s/a,n(t.currentDuration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:d,autoHideEnd:f}}(e,d,g,e=>{F.currentTimeNew=e});!function(e,t,n,o,r,i,s,a){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:r,playbackRate:i,requestFullScreen:s,exitFullScreen:a};vp((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)},bp())}(f,h,p,g,A,m,R,N);const Y=function(e,t,n){const o=xs(()=>"progress"===t.gestureType||n.touching);return Ho(o,o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)}),Ho([()=>e.currentTime,()=>e.currentDuration],()=>{e.currentDuration>0?e.progress=e.currentTime/e.currentDuration*100:e.progress=0,e.progress>100&&(e.progress=100)},{immediate:!0}),Ho(()=>t.currentTimeNew,t=>{e.currentTime=t}),o}(d,F,H);return()=>Qi("uni-video",{ref:r,id:e.id,onClick:X},[Qi("div",{ref:i,class:"uni-video-container",onTouchstart:D,onTouchend:j,onTouchmove:W,onFullscreenchange:ma($,["stop"]),onWebkitfullscreenchange:ma(e=>$(e,!0),["stop"])},[Qi("video",ss({ref:u,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:d.src,poster:e.poster,autoplay:!!e.autoplay},c.value,{class:{"uni-video-video":!0,"uni-video-video-fullscreen":P.fullscreen},"webkit-playsinline":!0,playsinline:!0,onDurationchange:y,onLoadedmetadata:b,onProgress:_,onWaiting:w,onError:x,onPlay:S,onPause:T,onEnded:C,onTimeupdate:e=>{k(e),L(e)},onWebkitbeginfullscreen:()=>I(!0),onX5videoenterfullscreen:()=>I(!0),onWebkitendfullscreen:()=>I(!1),onX5videoexitfullscreen:()=>I(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),Yo(Qi("div",{class:"uni-video-bar uni-video-bar-full",onClick:ma(()=>{},["stop"])},[Qi("div",{class:"uni-video-controls"},[Yo(Qi("div",{class:{"uni-video-icon":!0,"uni-video-control-button":!0,"uni-video-control-button-play":!d.playing,"uni-video-control-button-pause":d.playing}
1,onClick:ma(v,["stop"])},null,10,["onClick"]),[[zs,e.showPlayBtn]]),Yo(Qi("div",{class:"uni-video-current-time"},[Yp(d.currentTime)],512),[[zs,e.showProgress]]),Yo(Qi("div",{ref:q,class:"uni-video-progress-container",onClick:ma(z,["stop"])},[Qi("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":Y.value}},[Qi("div",{style:{width:d.buffered-d.progress+"%",left:d.progress+"%"},class:"uni-video-progress-buffered"},null,4),Qi("div",{style:{width:d.progress+"%"},class:"uni-video-progress-played"},null,4),Qi("div",{ref:V,style:{left:d.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":Y.value}},[Qi("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[zs,e.showProgress]]),Yo(Qi("div",{class:"uni-video-duration"},[Yp(d.currentDuration)],512),[[zs,e.showProgress]])]),Yo(Qi("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":E.enable},onClick:ma(M,["stop"])},null,10,["onClick"]),[[zs,e.danmuBtn]]),Yo(Qi("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":P.fullscreen},onClick:ma(()=>B(!P.fullscreen),["stop"])},null,10,["onClick"]),[[zs,e.showFullscreenBtn]])],8,["onClick"]),[[zs,H.controlsShow]]),Yo(Qi("div",{ref:O,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[zs,d.start&&E.enable]]),H.centerPlayBtnShow&&Qi("div",{class:"uni-video-cover",onClick:ma(()=>{},["stop"])},[Qi("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:ma(f,["stop"])},null,8,["onClick"])],8,["onClick"]),Qi("div",{class:"uni-video-loading"},["volume"===F.gestureType?Qi("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":F.toastThin},style:{marginTop:"5px"}},[!F.toastThin&&F.volumeNew>0&&"volume"===F.gestureType?Qi("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!F.toastThin&&Qi("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),Qi("div",{class:"uni-video-toast-draw",style:{width:100*F.volumeNew+"%"}},null)],2):null]),Qi("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":Y.value}},[Qi("div",{class:"uni-video-toast-title"},[Qi("span",{class:"uni-video-toast-title-current-time"},[Yp(F.currentTimeNew)])," / ",Yp(d.currentDuration)])],2),Qi("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),Gp=({name:e,arg:t})=>{if("postMessage"===e);else switch(e){case"navigateTo":Xg(t);break;case"navigateBack":zg(t);break;case"switchTab":Md(t);break;case"reLaunch":Id(t);break;case"redirectTo":Pd(t)}},Kp=Ye(()=>ym.on(Re,Gp)),Jp=uc({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},emits:["load"],setup(e,{emit:t}){Kp();const n=qn(null),o=qn(null),{$attrs:r,$excludeAttrs:i,$listeners:s}=Lh({excludeListeners:!0}),a=hc(n,t);let l;return(()=>{const t=document.createElement("iframe");t.onload=function(t){a("load",t,{src:e.src})},jo(()=>{for(const e in r.value)if(M(r.value,e)){const n=r.value[e];t[e]=n}}),jo(()=>{t.src=hf(e.src)}),o.value=t,l=function(e,t,n){return()=>{var o,r;if(n){const{top:n,left:o,width:r,height:i}=e.value.getBoundingClientRect();Xe(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:r+"px",height:i+"px"})}else Xe(t.value,{width:(null==(o=e.value)?void 0:o.style.width)||"300px",height:(null==(r=e.value)?void 0:r.style.height)||"150px"})}}(n,o,e.fullscreen),e.fullscreen&&document.body.appendChild(t)})(),Er(()=>{var t;l(),!e.fullscreen&&(null==(t=n.value)||t.appendChild(o.value))}),mr(()=>{e.fullscreen&&(o.value.style.display="block")}),vr(()=>{e.fullscreen&&(o.value.style.display="none")}),Mr(()=>{e.fullscreen&&document.body.removeChild(o.value)}),()=>Qi(Bi,null,[Qi("uni-web-view",ss({class:e.fullscreen?"uni-webview--fullscreen":""},s.value,i.value,{ref:n}),[Qi(Bf,{onResize:l},null,8,["onResize"])],16)])}}),Zp=nu("makePhoneCall",({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t())),Qp="__DC_STAT_UUID",eg=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let tg;
1function ng(){if(tg=tg||eg[Qp],!tg){tg=Date.now()+""+Math.floor(1e7*Math.random());try{eg[Qp]=tg}catch(yl){}}return tg}function og(){if(!0!==__uniConfig.darkmode)return c(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(yl){return"light"}}const rg=tu(0,()=>{const e=window.devicePixelRatio,t=xf(),n=Sf(t),o=Tf(t,n),r=t?Math[n?"min":"max"](screen.height,screen.width):screen.height,i=Cf();let s=window.innerHeight;const a=ml.top,l={left:ml.left,right:i-ml.right,top:ml.top,bottom:s-ml.bottom,width:i-ml.left-ml.right,height:s-ml.top-ml.bottom},{top:c,bottom:u}=wl();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:ml.top,right:ml.right,bottom:ml.bottom,left:ml.left},screenTop:r-s}});let ig,sg=!0;function ag(){sg&&(ig=function(){let e,t="0",n="",o="phone";const r=navigator.language;if(mf){e="iOS";const o=pf.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=t.split(".")[0];if(Number(r)>=18){const e=pf.match(/Version\/([\d\.]+)/);e&&(t=e[1])}const i=pf.match(/\(([a-zA-Z]+);/);i&&(n=i[1])}else if(gf){e="Android";const o=pf.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=pf.match(/\((.+?)\)/),i=r?r[1].split(";"):pf.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e<i.length;e++){const t=i[e];if(t.indexOf("Build")>0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e<s.length;e++)if(s[e].test(t)){o=!0;break}if(!o){n=t.trim();break}}}else if(_f){if(n="iPad",e="iOS",o="pad",t=d(window.BigInt)?"14.0":"13.0",14===parseInt(t)){const e=pf.match(/Version\/(\S*)\b/);e&&(t=e[1])}}else if(vf||yf||bf){n="PC",e="PC",o="pc",t="0";let r=pf.match(/\((.+?)\)/)[1];if(vf){switch(e="Windows",vf[1]){case"5.1":t="XP";break;case"6.0":t="Vista";break;case"6.1":t="7";break;case"6.2":t="8";break;case"6.3":t="8.1";break;case"10.0":t="10"}const n=r&&r.match(/[Win|WOW]([\d]+)/);n&&(t+=` x${n[1]}`)}else if(yf){e="macOS";const n=r&&r.match(/Mac OS X (.+)/)||"";t&&(t=n[1].replace(/_/g,"."),-1!==t.indexOf(";")&&(t=t.split(";")[0]))}else if(bf){e="Linux";const n=r&&r.match(/Linux (.*)/)||"";n&&(t=n[1],-1!==t.indexOf(";")&&(t=t.split(";")[0]))}}else if(wf){e="Harmony",o="phone";const r=pf.match(/OpenHarmony\s([\d\.]+)/);r&&(t=r[1]),n=""}else e="Other",t="0",o="unknown";const i=`${e} ${t}`,s=e.toLowerCase();let a="",l=String(function(){const e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n<e.length;n++){const o=e[n],r=new RegExp(`(${o})/(\\S*)\\b`);r.test(pf)&&(a=t[n],l=pf.match(r)[2])}}let c="portrait";const u=void 0===window.screen.orientation?window.orientation:window.screen.orientation.angle;return c=90===Math.abs(u)?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:c,model:n,system:i,platform:s,browserName:a.toLowerCase(),browserVersion:l,language:r,deviceType:o,ua:pf,osname:e,osversion:t,theme:og()}}())}const lg=tu(0,()=>{ag();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:c}=ig;return h({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:ng(),deviceOrientation:s,deviceType:a,model:o,osName:l?l.toLowerCase():void 0,osVersion:c,platform:r,system:i})}),cg=tu(0,()=>{ag();const{theme:e,language:t,browserName:n,browserVersion:o}=ig;return h({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Yu?Yu():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,isUniAppX:!1,language:t,SDKVersion:"",theme:e,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,version:""},{})}),ug=tu(0,()=>{sg=!0,ag(),sg=!1;const e=rg(),t=lg(),n=cg();sg=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=ig,l=h(e,t,n,{browserName:r,browserVersion:i,fontSizeSetting:void 0,osName:s.toLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0,ua:o,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,l}),dg=nu("setClipboardData",(e,t)=>{return n=[e,t],o=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 r=document.createElement("textarea");r.setAttribute("inputmode","none"),r.id="#clipboard",r.style.position="fixed",r.style.top="-9999px",r.style.zIndex="-9999",document.body.appendChild(r),r.value=e,r.select(),r.setSelectionRange(0,r.value.length);const i=document.execCommand("Copy",!1);r.blur(),i?t():n()}
1(e,t,n)}},new Promise((e,t)=>{var r=e=>{try{s(o.next(e))}catch(n){t(n)}},i=e=>{try{s(o.throw(e))}catch(n){t(n)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,i);s((o=o.apply(void 0,n)).next())});var n,o},0,Ku),fg=tu(0,(e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}),hg=tu(0,e=>{try{return function(e){const t=localStorage&&localStorage.getItem(e);if(!c(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=c(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}(e)}catch(t){return""}}),pg=tu(0,e=>{localStorage&&localStorage.removeItem(e)}),gg=nu("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,Qu),mg={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"}};let vg=null;const yg=nu("chooseFile",({count:e,sourceType:t,type:n,extension:o},{resolve:r,reject:i})=>{ja();const{t:s}=Ba();vg&&(document.body.removeChild(vg),vg=null),vg=function({count:e,sourceType:t,type:n,extension:o}){ph();const r=document.createElement("input");return r.type="file",Xe(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map(e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${mg[n][t]||t}`}return function(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}()?".":0===e.indexOf(".")?e:`.${e}`}).join(","),e&&e>1&&(r.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(vg),vg.addEventListener("cancel",()=>{i("chooseFile:fail cancel")}),vg.addEventListener("change",function(t){const n=t.target,o=[];if(n&&n.files){const t=n.files.length;for(let r=0;r<t;r++){const t=n.files[r];let i;Object.defineProperty(t,"path",{get:()=>(i=i||Pf(t),i)}),r<e&&o.push(t)}}r({get tempFilePaths(){return o.map(({path:e})=>e)},tempFiles:o})}),vg.click()},0,Zu),bg={esc:["Esc","Escape"],enter:["Enter"]},_g=Object.keys(bg);function wg(){const e=qn(""),t=qn(!1),n=n=>{if(t.value)return;const o=_g.find(e=>-1!==bg[e].indexOf(n.key));o&&(e.value=o),fo(()=>e.value="")};return Er(()=>{document.addEventListener("keyup",n)}),Mr(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}function xg(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ba(ar({setup:()=>()=>(Wi(),Xi(e,t,null,16))}))}function Sg(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}let Tg=0,Cg="";function kg(e){let t=Tg;Tg+=e?1:-1,Tg=Math.max(0,Tg),Tg>0?0===t&&(Cg=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=Cg,Cg="")}const Eg=dc({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=kn({direction:"none"});let n=1,o=0,r=0,i=0,s=0;function a({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();o=t.width,r=t.height}function c(e){const t=e.target.getBoundingClientRect();i=t.width,s=t.height,d(e)}function u(e){const a=n*o>i,l=n*r>s;t.direction=a&&l?"all":a?"horizontal":l?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return Qi(Ah,{style:n,onTouchstart:fc(c),onTouchmove:fc(d),onTouchend:fc(u)},{default:()=>[Qi(Vh,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:a},{default:()=>[Qi("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 Og(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const Lg=dc({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){Er(()=>kg(!0)),Ar(()=>kg(!1));const{key:n}=wg(),o=qn(null),r=qn(Og(e));let i;function s(){i||fo(()=>{t("close")})}function a(e){r.value=e.detail.current}Ho(()=>e.current,()=>r.value=Og(e)),Ho(()=>n.value,e=>{"esc"===e&&s()}),Er(()=>{const e=o.value;let t=0,n=0;e.addEventListener("mousedown",e=>{i=!1,t=e.clientX,n=e.clientY}),e.addEventListener("mouseup",e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-n)>20)&&(i=!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 Qi("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:s},[Qi(rp,{navigation:"auto",current:r.value,onChange:a,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(n=t=e.urls.map(e=>Qi(sp,null,{default:()=>[Qi(Eg,{src:e},null,8,["src"])]})),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&
1!Yi(n)?t:{default:()=>[t],_:1}),8,["current","onChange"]),Qi("div",{style:l},[Ll("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 Mg,Ag=null;const Pg=()=>{Ag=null,fo(()=>{null==Mg||Mg.unmount(),Mg=null})},$g=nu("previewImage",(e,{resolve:t})=>{Ag?h(Ag,e):(Ag=kn(e),fo(()=>{Mg=xg(Lg,Ag,Pg),Mg.mount(Sg("u-a-p"))})),t()},0,ed),Ig=eu("request",({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,enableChunked:s,withCredentials:a,timeout:l=__uniConfig.networkTimeout.request},{resolve:u,reject:d})=>{let f=null;const h=function(e){const t=Object.keys(e).find(e=>"content-type"===e.toLowerCase());if(!t)return;const n=e[t];return n?0===n.indexOf("application/json")?"json":0===n.indexOf("application/x-www-form-urlencoded")?"urlencoded":"string":"string"}(n);if("GET"!==o)if(c(t)||t instanceof ArrayBuffer)f=t;else if("json"===h)try{f=JSON.stringify(t)}catch(g){f=t.toString()}else if("urlencoded"===h){const e=[];for(const n in t)M(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));f=e.join("&")}else f=t.toString();let p;if(s){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,s=t.signal;p=new Rg(t);const c={method:o,headers:n,body:f,signal:s,credentials:a?"include":"same-origin"},h=setTimeout(function(){p.abort(),d("timeout",{errCode:5})},l);c.signal.addEventListener("abort",function(){clearTimeout(h),d("abort",{errCode:600003})}),window.fetch(e,c).then(e=>{const t=e.status,n=e.headers,o=e.body,s={};n.forEach((e,t)=>{s[t]=e});const a=Bg(s);if(p._emitter.emit("headersReceived",{header:s,statusCode:t,cookies:a}),!o)return void u({data:"",statusCode:t,header:s,cookies:a});const l=o.getReader(),c=[],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 r of e)n.set(new Uint8Array(r),o),o+=r.byteLength;return n.buffer}(c);let n="text"===i?(new TextDecoder).decode(e):e;return"text"===i&&(n=Fg(n,i,r)),void u({data:n,statusCode:t,header:s,cookies:a})}const o=n;c.push(o),p._emitter.emit("chunkReceived",{data:o}),d()})};d()},e=>{d(e,{errCode:5})})}else{const t=new XMLHttpRequest;p=new Rg(t),t.open(o,e);for(const e in n)M(n,e)&&t.setRequestHeader(e,n[e]);const s=setTimeout(function(){t.onload=t.onabort=t.onerror=null,p.abort(),d("timeout",{errCode:5})},l);t.responseType=i,t.onload=function(){clearTimeout(s);const e=t.status;let n="text"===i?t.responseText:t.response;"text"===i&&(n=Fg(n,i,r)),u({data:n,statusCode:e,header:Ng(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(s),d("abort",{errCode:600003})},t.onerror=function(){clearTimeout(s),d(void 0,{errCode:5})},t.withCredentials=a,t.send(f)}return p},0,rd),Bg=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 r=0;r<o.length;r++)-1!==o[r].indexOf("Expires=")||-1!==o[r].indexOf("expires=")?n.push(o[r].replace(",","")):n.push(o[r]);return n=n.join(";").split(","),n};class Rg{constructor(e){this._requestOnChunkReceiveCallbackId=0,this._requestOnChunkReceiveCallbacks=new Map,this._requestOnHeadersReceiveCallbackId=0,this._requestOnHeadersReceiveCallbacks=new Map,this._emitter=new ft,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 Ng(e){const t={};
1return e.split(te).forEach(e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])}),t}function Fg(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(r){}return o}class Dg{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){d(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 jg=eu("uploadFile",({url:e,file:t,filePath:n,name:o,files:r,header:i={},formData:a={},timeout:l=__uniConfig.networkTimeout.uploadFile},{resolve:c,reject:u})=>{var d=new Dg;return s(r)&&r.length||(n||u("file error"),r=[{name:o,file:t,uri:n}]),Promise.all(r.map(({file:e,uri:t})=>e instanceof Blob?Promise.resolve(Af(e)):Mf(t))).then(function(t){var n,o=new XMLHttpRequest,s=new FormData;Object.keys(a).forEach(e=>{s.append(e,a[e])}),Object.values(r).forEach(({name:e},n)=>{const o=t[n];s.append(e||"file",o,o.name||`file-${Date.now()}`)}
1),o.open("POST",e),Object.keys(i).forEach(e=>{o.setRequestHeader(e,i[e])}),o.upload.onprogress=function(e){d._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),u("",{errCode:602001})},o.onabort=function(){clearTimeout(n),u("abort",{errCode:600003})},o.onload=function(){clearTimeout(n);const e=o.status,t=o.getAllResponseHeaders(),r=t?t.trim().split(/[\r\n]+/).reduce((e,t)=>{const n=t.split(": "),o=n.shift(),r=n.join(": ");return e[o]=r,e},{}):{};c({statusCode:e,data:o.responseText||o.response,header:r})},d._isAbort?u("abort",{errCode:600003}):(n=setTimeout(function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,d.abort(),u("timeout",{errCode:5})},l),o.send(s),d._xhr=o)}).catch(()=>{setTimeout(()=>{u("file error")},0)}),d},0,id),Wg=[],Hg={open:"",close:"",error:"",message:""};class qg{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:r}=t,i="message"===e?{data:n}:"close"===e?{code:o,reason:r}:{};if(this._callbacks[e].forEach(e=>{try{e(i)}catch(t){}}),this===Wg[0]&&Hg[e]&&ym.invokeOnCallback(Hg[e],i),"error"===e||"close"===e){const e=Wg.indexOf(this);e>=0&&Wg.splice(e,1)}})}),["CLOSED","CLOSING","CONNECTING","OPEN","readyState"].forEach(e=>{Object.defineProperty(this,e,{get:()=>n[e]})})}catch(r){o=r}n&&n(o,this)}send(e){const t=(e||{}).data,n=this._webSocket;try{if(n.readyState!==n.OPEN)throw Ue(e,{errMsg:"sendSocketMessage:fail SocketTask.readyState is not OPEN",errCode:10002}),new Error("SocketTask.readyState is not OPEN");n.send(t),Ue(e,"sendSocketMessage:ok")}catch(o){Ue(e,{errMsg:`sendSocketMessage:fail ${o}`,errCode:602001})}}close(e={}){const t=this._webSocket;try{const n=e.code||1e3,o=e.reason;c(o)?t.close(n,o):t.close(n),Ue(e,"closeSocket:ok")}catch(n){Ue(e,`closeSocket:fail ${n}`)}}onOpen(e){this._callbacks.open.push(e)}onMessage(e){this._callbacks.message.push(e)}onError(e){this._callbacks.error.push(e)}onClose(e){this._callbacks.close.push(e)}}const Vg=eu("connectSocket",({url:e,protocols:t},{resolve:n,reject:o})=>new qg(e,t,(e,t)=>{e?o(e.toString(),{errCode:600009}):(Wg.push(t),n())}),0,sd),zg=nu("navigateBack",(e,{resolve:t,reject:n})=>{let o=!0;return!0===Fl(be,{from:e.from||"navigateBack"})&&(o=!1),o?(Np().$router.go(-e.delta),t()):n(be)},0,md),Xg=nu(ad,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(zd.handledBeforeEntryPageRoutes)return Bd({type:ad,url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);Xd.push({args:{type:ad,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})},0,fd);function Yg(e){__uniConfig.darkmode&&ym.on(le,e)}function Ug(e){let t={};return __uniConfig.darkmode&&(t=gt(e,__uniConfig.themeConfig,og())),__uniConfig.darkmode?t:e}const Gg={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Cd.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Kg="uni-toast__icon",Jg={light:"#fff",dark:"rgba(255,255,255,0.9)"},Zg=e=>Jg[e],Qg=ar({name:"Toast",props:Gg,setup(e){Fa(),Da();const{Icon:t}=function(e){const t=qn(Zg(og())),n=({theme:e})=>t.value=Zg(e);return jo(()=>{var t;e.visible?Yg(n):(t=n,ym.off(le,t))}),{Icon:xs(()=>{switch(e.icon){case"success":return Qi(Ll("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",t.value,38),{class:Kg});case"error":return Qi(Ll("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.
1048t-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",t.value,38),{class:Kg});case"loading":return Qi("i",{class:[Kg,"uni-loading"]},null,2);default:return null}})}}(e),n=function(e,{onEsc:t,onEnter:n}){const o=qn(e.visible),{key:r,disable:i}=wg();return Ho(()=>e.visible,e=>o.value=e),Ho(()=>o.value,e=>i.value=!e),jo(()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()}),o}(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return Qi(As,{name:"uni-fade"},{default:()=>[Yo(Qi("uni-toast",{"data-duration":r},[o?Qi("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:vl},null,40,["onTouchmove"]):"",s||t.value?Qi("div",{class:"uni-toast"},[s?Qi("img",{src:s,class:Kg},null,10,["src"]):t.value,Qi("p",{class:"uni-toast__content"},[i])]):Qi("div",{class:"uni-sample-toast"},[Qi("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[zs,n.value]])]})}}});let em,tm,nm="";const om=bt();function rm(e){em?h(em,e):(em=kn(h(e,{visible:!1})),fo(()=>{om.run(()=>{Ho([()=>em.visible,()=>em.duration],([e,t])=>{if(e){if(tm&&clearTimeout(tm),"onShowLoading"===nm)return;tm=setTimeout(()=>{cm("onHideToast")},t)}else tm&&clearTimeout(tm)})}),ym.on("onHidePopup",()=>cm("onHidePopup")),xg(Qg,em,()=>{}).mount(Sg("u-a-t"))})),setTimeout(()=>{em.visible=!0},10)}const im=nu("showToast",(e,{resolve:t,reject:n})=>{rm(e),nm="onShowToast",t()},0,kd),sm={icon:"loading",duration:1e8,image:""},am=nu("showLoading",(e,{resolve:t,reject:n})=>{h(e,sm),rm(e),nm="onShowLoading",t()},0,{formatArgs:{title:"",mask:!1}}),lm=nu("hideLoading",(e,{resolve:t,reject:n})=>{cm("onHideLoading"),t()});function cm(e){const{t:t}=Ba();if(!nm)return;let n="";"onHideToast"===e&&"onShowToast"!==nm?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==nm&&(n=t("uni.showLoading.unpaired")),n||(nm="",setTimeout(()=>{em.visible=!1},10))}function um(e,t,n,o,r){if(!e)return r("page not found");const{navigationBar:i}=e;switch(t){case xd:const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:r,timingFunc:s}=o;e&&(i.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(i.backgroundColor=t),i.duration=r+"ms",i.timingFunc=s;break;case"showNavigationBarLoading":i.loading=!0;break;case"hideNavigationBarLoading":i.loading=!1;break;case Td:const{title:a}=n;i.titleText=a}o()}const dm=nu(xd,(e,{resolve:t,reject:n})=>{um($l(),xd,e,t,n)},0,Sd),fm=nu(Td,(e,{resolve:t,reject:n})=>{um($l(),Td,e,t,n)}),hm="0px",pm=dc({name:"Layout",setup(e,{emit:t}){const n=qn(null);xl({"--status-bar-height":hm,"--top-window-height":hm,"--window-left":hm,"--window-right":hm,"--window-margin":hm,"--tab-bar-height":hm});const o=function(){const e=G();return{routeKey:xs(()=>nf("/"+e.meta.route,Cc())),isTabBar:xs(()=>e.meta.isTabBar),routeCache:rf}}(),{layoutState:r,windowState:i}=function(){Tc();{const e=kn({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Ho(()=>e.marginWidth,e=>xl({"--window-margin":e+"px"})),Ho(()=>e.leftWindowWidth+e.marginWidth,e=>{xl({"--window-left":e+"px"})}),Ho(()=>e.rightWindowWidth+e.marginWidth,e=>{xl({"--window-right":e+"px"})}),{layoutState:e,windowState:xs(()=>({}))}}}();!function(e,t){const n=Tc();function o(){const o=document.body.clientWidth,r=Zd();let i={};if(r.length>0)i=Vd(r[r.length-1]).meta;else{const e=ql(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((M(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,fo(()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")})):(e.marginWidth=0,fo(()=>{const e=t.value;e&&e.removeAttribute("style")}))}Ho([()=>n.path],o),Er(()=>{o(),window.addEventListener("resize",o)})}(r,n);const s=function(){const e=qn(!1);return xs(()=>({"uni-app--showtabbar":!1,"uni-app--maxwidth":e.value}))}();return()=>{const e=function({routeKey:e,isTabBar:t,routeCache:n}){return Qi(U,null,{default:Eo(({Component:o})=>[(Wi(),Xi(pr,{matchBy:"key",cache:n},[(Wi(),Xi(Bo(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}(o);return Qi("uni-app",{ref:n,class:s.value},[e,!1],2)}}}),gm=nu(td,(mm=td,(e,{reject:t})=>t(`method 'uni.${mm}' not supported`)));var mm;const vm=h(Ja,{publishHandler(e,t,n){ym.subscribeHandler(e,t,n)}}),ym=h(tc,{publishHandler(e,t,n){vm.subscribeHandler(e,t,n)}}),bm=dc({name:"PageHead",setup(){const e=qn(null),t=Sc(),n=function(e,t){const n=An(e),o=n?kn(Ug(e)):Ug(e);return __uniConfig.darkmode&&n&&Ho(e,e=>{const t=Ug(e);for(const n in t)o[n]=t[n]}),t&&Yg(t),o}(t.navigationBar,()=>{const e=Ug(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor}),{clazz:o,style:r}=(i=n,{clazz:xs(()=>{const{type:e,titlePenetrate:t,shadowColorType:n}=i,o={"uni-page-head":!0,"uni-page-head-transparent":"transparent"===e,"uni-page-head-titlePenetrate":"YES"===t,"uni-page-head-shadow":!!n};return n&&(o[`uni-page-head-shadow-${n}`]=!0),o}),style:xs(()=>({backgroundColor:i.backgroundColor,color:i.titleColor,transitionDuration:i.duration,transitionTimingFunction:i.timingFunc}))});var i;return()=>{const i=function(e,t){if(!t)return Qi("div",{class:"uni-page-head-btn",onClick:wm},[Ll(Ol,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),s=n.type||"default",a="transparent"!==s&&"float"!==s&&Qi("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return Qi("uni-page-head",{"uni-page-head-type":s},[Qi("div",{ref:e,class:o.value,style:r.value},[Qi("div",{class:"uni-page-head-hd"},[i]),_m(n),Qi("div",{class:"uni-page-head-ft"},[])],6),a],8,["uni-page-head-type"])}}});function _m(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:r}){return Qi("div",{class:"uni-page-head-bd"},[Qi("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?Qi("i",{class:"uni-loading"},null):r?Qi("img",{src:r,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function wm(){1===Jd().length?Id({url:"/"}):zg({from:"backbutton",success(){}})}const xm=dc({name:"PageBody",setup(e,t){const n=qn(null),o=qn(null);return Ho(()=>(!1).enablePullDownRefresh,()=>{o.value=null},{immediate:!0}),()=>Qi(Bi,null,[!1,Qi("uni-page-wrapper",ss({ref:n},o.value),[Qi("uni-page-body",null,[Fr(t.slots,"default")]),null],16)])}}),Sm=dc({name:"Page",setup(e,t){let n=function(e){const t=(n=e,kn(function(e){{const{navigationBar:t}=e,{titleSize:n,titleColor:o,backgroundColor:r}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=o||"#000000",t.backgroundColor=r||"#F8F8F8"}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Jd().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(function(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=h({id:t},n,e);Rl.forEach(t=>{o[t]=h({},n[t],e[t])});const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}(G().meta,n))))));var n;return si(xc,t),t}(Cc());const o=n.navigationBar,r={};return function(e){function t(){var t;
1(t=e.navigationBar.titleText)&&t!==document.title&&(document.title=t),ym.emit("onNavigationBarChange",{titleText:t})}jo(t),mr(t)}(n),()=>Qi("uni-page",{"data-page":n.route,style:r},"custom"!==o.style?[Qi(bm),Tm(t),null]:[Tm(t),null])}});function Tm(e){return Wi(),Xi(xm,{key:0},{default:Eo(()=>[Fr(e.slots,"page")]),_:3})}function Cm(e,t){return"string"==typeof e?t:e}const km=(e,t=0)=>(t,n=ds())=>{!vs&&Tr(e,t,n)},Em=km(re,3),Om=km(ie,3),Lm=km(se,1),Mm=km(ae,1),Am=km(ce,1),Pm=km(de,2),$m=km(fe,2),Im=km(Te,2),Bm=km(Oe,2);export{Yo as $,hg as A,fg as B,Jd as C,Pd as D,Zp as E,Xg as F,ug as G,zg as H,pg as I,Lm as J,Mm as K,Em as L,Om as M,$m as N,Am as O,Hp as P,Lp as Q,ba as R,Us as S,hp as T,qe as U,Fr as V,ns as W,He as X,Er as Y,Cm as Z,Bo as _,En as a,zs as a0,ma as a1,op as a2,lp as a3,ts as a4,ds as a5,Zi as a6,zi as a7,Rr as a8,Bi as a9,fp as aA,Vg as aB,Hn as aC,ep as aD,$g as aE,fm as aF,hu as aG,Bm as aH,Im as aI,am as aJ,lm as aK,Nr as aL,kr as aM,Ve as aN,pu as aO,jo as aP,Jp as aQ,Ru as aR,gg as aS,zf as aT,Nu as aU,gm as aV,dm as aW,fu as aa,gu as ab,wc as ac,zu as ad,Ar as ae,Xu as af,Id as ag,Pm as ah,yu as ai,rp as aj,ah as ak,sp as al,Up as am,$i as an,ss as ao,Kn as ap,Ln as aq,_t as ar,wt as as,As as at,dg as au,kh as av,im as aw,yg as ax,jg as ay,Mr as az,qn as b,xs as c,ar as d,bt as e,uu as f,cr as g,Ss as h,ai as i,Wp as j,Np as k,Xi as l,Qi as m,fo as n,$o as o,si as p,Wi as q,kn as r,Vn as s,Eo as t,Yn as u,Sm as v,Ho as w,Vu as x,Ig as y,Gu as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.