@dcloudio/uni-app-plus 3.0.0-alpha-3061620221230001 → 3.0.0-alpha-3061620230106001

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e={},t={get exports(){return e},set exports(t){e=t}},n={},r={get exports(){return n},set exports(e){n=e}},i={},a={get exports(){return i},set exports(e){i=e}}.exports={version:"2.6.12"};"number"==typeof __e&&(__e=a);var o={};({get exports(){return o},set exports(e){o=e}}).exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),"number"==typeof __g&&(__g=window);var s=i,l="__core-js_shared__",u=window[l]||(window[l]={});(r.exports=function(e,t){return u[e]||(u[e]=void 0!==t?t:{})})("versions",[]).push({version:s.version,mode:"window",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var c=0,d=Math.random(),h=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++c+d).toString(36))},f=n("wks"),p=h,v=o.Symbol,g="function"==typeof v;(t.exports=function(e){return f[e]||(f[e]=g&&v[e]||(g?v:p)("Symbol."+e))}).store=f;var m,_,y={},b=function(e){return"object"==typeof e?null!==e:"function"==typeof e},w=b,x=function(e){if(!w(e))throw TypeError(e+" is not an object!");return e},S=function(e){try{return!!e()}catch(t){return!0}},k=!S((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}));function T(){if(_)return m;_=1;var e=b,t=o.document,n=e(t)&&e(t.createElement);return m=function(e){return n?t.createElement(e):{}}}var E=!k&&!S((function(){return 7!=Object.defineProperty(T()("div"),"a",{get:function(){return 7}}).a})),C=b,M=x,O=E,I=function(e,t){if(!C(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!C(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!C(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!C(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},L=Object.defineProperty;y.f=k?Object.defineProperty:function(e,t,n){if(M(e),t=I(t,!0),M(n),O)try{return L(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e};var A=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},N=y,B=A,R=k?function(e,t,n){return N.f(e,t,B(1,n))}:function(e,t,n){return e[t]=n,e},P=e("unscopables"),D=Array.prototype;null==D[P]&&R(D,P,{});var z={},F={}.toString,$=function(e){return F.call(e).slice(8,-1)},j=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},W=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==$(e)?e.split(""):Object(e)},V=j,H=function(e){return W(V(e))},U={},q={get exports(){return U},set exports(e){U=e}},Y={}.hasOwnProperty,X=function(e,t){return Y.call(e,t)},Z=n("native-function-to-string",Function.toString),G=R,K=X,J=h("src"),Q=Z,ee="toString",te=(""+Q).split(ee);i.inspectSource=function(e){return Q.call(e)},(q.exports=function(e,t,n,r){var i="function"==typeof n;i&&(K(n,"name")||G(n,"name",t)),e[t]!==n&&(i&&(K(n,J)||G(n,J,e[t]?""+e[t]:te.join(String(t)))),e===window?e[t]=n:r?e[t]?e[t]=n:G(e,t,n):(delete e[t],G(e,t,n)))})(Function.prototype,ee,(function(){return"function"==typeof this&&this[J]||Q.call(this)}));var ne=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},re=ne,ie=i,ae=R,oe=U,se=function(e,t,n){if(re(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},le="prototype",ue=function(e,t,n){var r,i,a,o,s=e&ue.F,l=e&ue.G,u=e&ue.S,c=e&ue.P,d=e&ue.B,h=l?window:u?window[t]||(window[t]={}):(window[t]||{})[le],f=l?ie:ie[t]||(ie[t]={}),p=f[le]||(f[le]={});for(r in l&&(n=t),n)a=((i=!s&&h&&void 0!==h[r])?h:n)[r],o=d&&i?se(a,window):c&&"function"==typeof a?se(Function.call,a):a,h&&oe(h,r,a,e&ue.U),f[r]!=a&&ae(f,r,o),c&&p[r]!=a&&(p[r]=a)};window.core=ie,ue.F=1,ue.G=2,ue.S=4,ue.P=8,ue.B=16,ue.W=32,ue.U=64,ue.R=128;var ce,de,he,fe=ue,pe=Math.ceil,ve=Math.floor,ge=function(e){return isNaN(e=+e)?0:(e>0?ve:pe)(e)},me=ge,_e=Math.min,ye=ge,be=Math.max,we=Math.min,xe=H,Se=function(e){return e>0?_e(me(e),9007199254740991):0},ke=function(e,t){return(e=ye(e))<0?be(e+t,0):we(e,t)},Te=n("keys"),Ee=h,Ce=function(e){return Te[e]||(Te[e]=Ee(e))},Me=X,Oe=H,Ie=(ce=!1,function(e,t,n){var r,i=xe(e),a=Se(i.length),o=ke(n,a);if(ce&&t!=t){for(;a>o;)if((r=i[o++])!=r)return!0}else for(;a>o;o++)if((ce||o in i)&&i[o]===t)return ce||o||0;return!ce&&-1}),Le=Ce("IE_PROTO"),Ae="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Ne=function(e,t){var n,r=Oe(e),i=0,a=[];for(n in r)n!=Le&&Me(r,n)&&a.push(n);for(;t.length>i;)Me(r,n=t[i++])&&(~Ie(a,n)||a.push(n));return a},Be=Ae,Re=Object.keys||function(e){return Ne(e,Be)},Pe=y,De=x,ze=Re,Fe=k?Object.defineProperties:function(e,t){De(e);for(var n,r=ze(t),i=r.length,a=0;i>a;)Pe.f(e,n=r[a++],t[n]);return e};var $e=x,je=Fe,We=Ae,Ve=Ce("IE_PROTO"),He=function(){},Ue="prototype",qe=function(){var e,t=T()("iframe"),n=We.length;for(t.style.display="none",function(){if(he)return de;he=1;var e=o.document;return de=e&&e.documentElement}().appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),qe=e.F;n--;)delete qe[Ue][We[n]];return qe()},Ye=Object.create||function(e,t){var n;return null!==e?(He[Ue]=$e(e),n=new He,He[Ue]=null,n[Ve]=e):n=qe(),void 0===t?n:je(n,t)},Xe=y.f,Ze=X,Ge=e("toStringTag"),Ke=function(e,t,n){e&&!Ze(e=n?e:e.prototype,Ge)&&Xe(e,Ge,{configurable:!0,value:t})},Je=Ye,Qe=A,et=Ke,tt={};R(tt,e("iterator"),(function(){return this}));var nt=j,rt=function(e){return Object(nt(e))},it=X,at=rt,ot=Ce("IE_PROTO"),st=Object.prototype,lt=Object.getPrototypeOf||function(e){return e=at(e),it(e,ot)?e[ot]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?st:null},ut=fe,ct=U,dt=R,ht=z,ft=function(e,t,n){e.prototype=Je(tt,{next:Qe(1,n)}),et(e,t+" Iterator")},pt=Ke,vt=lt,gt=e("iterator"),mt=!([].keys&&"next"in[].keys()),_t="keys",yt="values",bt=function(){return this},wt=function(e){D[P][e]=!0},xt=function(e,t){return{value:t,done:!!e}},St=z,kt=H,Tt=function(e,t,n,r,i,a,o){ft(n,t,r);var s,l,u,c=function(e){if(!mt&&e in p)return p[e];switch(e){case _t:case yt:return function(){return new n(this,e)}}return function(){return new n(this,e)}},d=t+" Iterator",h=i==yt,f=!1,p=e.prototype,v=p[gt]||p["@@iterator"]||i&&p[i],g=v||c(i),m=i?h?c("entries"):g:void 0,_="Array"==t&&p.entries||v;if(_&&(u=vt(_.call(new e)))!==Object.prototype&&u.next&&(pt(u,d,!0),"function"!=typeof u[gt]&&dt(u,gt,bt)),h&&v&&v.name!==yt&&(f=!0,g=function(){return v.call(this)}),(mt||f||!p[gt])&&dt(p,gt,g),ht[t]=g,ht[d]=bt,i)if(s={values:h?g:c(yt),keys:a?g:c(_t),entries:m},o)for(l in s)l in p||ct(p,l,s[l]);else ut(ut.P+ut.F*(mt||f),t,s);return s}(Array,"Array",(function(e,t){this._t=kt(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,xt(1)):xt(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values");St.Arguments=St.Array,wt("keys"),wt("values"),wt("entries");for(var Et=Tt,Ct=Re,Mt=U,Ot=R,It=z,Lt=e,At=Lt("iterator"),Nt=Lt("toStringTag"),Bt=It.Array,Rt={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},Pt=Ct(Rt),Dt=0;Dt<Pt.length;Dt++){var zt,Ft=Pt[Dt],$t=Rt[Ft],jt=window[Ft],Wt=jt&&jt.prototype;if(Wt&&(Wt[At]||Ot(Wt,At,Bt),Wt[Nt]||Ot(Wt,Nt,Ft),It[Ft]=Bt,$t))for(zt in Et)Wt[zt]||Mt(Wt,zt,Et[zt],!0)}function Vt(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}function Ht(e){if(fn(e)){for(var t={},n=0;n<e.length;n++){var r=e[n],i=gn(r)?Xt(r):Ht(r);if(i)for(var a in i)t[a]=i[a]}return t}return gn(e)||_n(e)?e:void 0}var Ut=/;(?![^(]*\))/g,qt=/:([^]+)/,Yt=/\/\*[\s\S]*?\*\//g;function Xt(e){var t={};return e.replace(Yt,"").split(Ut).forEach((e=>{if(e){var n=e.split(qt);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function Zt(e){var t="";if(gn(e))t=e;else if(fn(e))for(var n=0;n<e.length;n++){var r=Zt(e[n]);r&&(t+=r+" ")}else if(_n(e))for(var i in e)e[i]&&(t+=i+" ");return t.trim()}var Gt=Vt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Kt(e){return!!e||""===e}var Jt,Qt,en,tn={},nn=[],rn=()=>{},an=()=>!1,on=/^on[^a-z]/,sn=e=>on.test(e),ln=e=>e.startsWith("onUpdate:"),un=Object.assign,cn=(e,t)=>{var n=e.indexOf(t);n>-1&&e.splice(n,1)},dn=Object.prototype.hasOwnProperty,hn=(e,t)=>dn.call(e,t),fn=Array.isArray,pn=e=>"[object Map]"===wn(e),vn=e=>"function"==typeof e,gn=e=>"string"==typeof e,mn=e=>"symbol"==typeof e,_n=e=>null!==e&&"object"==typeof e,yn=e=>_n(e)&&vn(e.then)&&vn(e.catch),bn=Object.prototype.toString,wn=e=>bn.call(e),xn=e=>"[object Object]"===wn(e),Sn=e=>gn(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,kn=Vt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tn=e=>{var t=Object.create(null);return n=>t[n]||(t[n]=e(n))},En=/-(\w)/g,Cn=Tn((e=>e.replace(En,((e,t)=>t?t.toUpperCase():"")))),Mn=/\B([A-Z])/g,On=Tn((e=>e.replace(Mn,"-$1").toLowerCase())),In=Tn((e=>e.charAt(0).toUpperCase()+e.slice(1))),Ln=Tn((e=>e?"on".concat(In(e)):"")),An=(e,t)=>!Object.is(e,t),Nn=(e,t)=>{for(var n=0;n<e.length;n++)e[n](t)},Bn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Rn=e=>{var t=parseFloat(e);return isNaN(t)?e:t};var Pn=fe,Dn=ne,zn=rt,Fn=S,$n=[].sort,jn=[1,2,3];Pn(Pn.P+Pn.F*(Fn((function(){jn.sort(void 0)}))||!Fn((function(){jn.sort(null)}))||!function(){if(en)return Qt;en=1;var e=S;return Qt=function(t,n){return!!t&&e((function(){n?t.call(null,(function(){}),1):t.call(null)}))}}()($n)),"Array",{sort:function(e){return void 0===e?$n.call(zn(this)):$n.call(zn(this),Dn(e))}});var Wn="\n",Vn="#007aff",Hn=/^([a-z-]+:)?\/\//i,Un=/^data:.*,.*/,qn="wxs://",Yn="json://",Xn="renderjsModules",Zn=0;function Gn(e){var t=Date.now(),n=Zn?t-Zn:0;Zn=t;for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return"[".concat(t,"][").concat(n,"ms][").concat(e,"]:").concat(i.map((e=>JSON.stringify(e))).join(" "))}function Kn(e){return function(e){return 0===e.indexOf("/")}(e)?e:"/"+e}function Jn(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(){if(e){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];t=e.apply(n,i),e=null}return t}}function Qn(e,t){if(gn(t)){var n=(t=t.replace(/\[(\d+)\]/g,".$1")).split("."),r=n[0];return e||(e={}),1===n.length?e[r]:Qn(e[r],n.slice(1).join("."))}}function er(e){return Cn(e.substring(5))}var tr=Jn((()=>{var e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&((this.__uniDataset||(this.__uniDataset={}))[er(e)]=n);t.call(this,e,n)};var n=e.removeAttribute;e.removeAttribute=function(e){this.__uniDataset&&e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[er(e)],n.call(this,e)}}));function nr(e){return un({},e.dataset,e.__uniDataset)}function rr(e){return{passive:e}}function ir(e){var{id:t,offsetTop:n,offsetLeft:r}=e;return{id:t,dataset:nr(e),offsetTop:n,offsetLeft:r}}function ar(e){if(vn(e))return window.plus?e():void document.addEventListener("plusready",e)}var or=/(?:Once|Passive|Capture)$/;function sr(e){var t,n;if(or.test(e))for(t={};n=e.match(or);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0;return[On(e.slice(2)),t]}var lr=(()=>({stop:1,prevent:2,self:4}))(),ur="class",cr="style",dr=".vShow",hr=".vOwnerId",fr=".vRenderjs",pr="change:";var vr=function(){};vr.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var a=0,o=r.length;a<o;a++)r[a].fn!==t&&r[a].fn._!==t&&i.push(r[a]);return i.length?n[e]=i:delete n[e],this}};var gr=vr,mr=["{","}"];var _r=/^(?:\d)+/,yr=/^(?:\w)+/;var br="zh-Hans",wr="zh-Hant",xr="en",Sr="fr",kr="es",Tr=Object.prototype.hasOwnProperty,Er=(e,t)=>Tr.call(e,t),Cr=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:mr;if(!t)return[e];var r=this._caches[e];return r||(r=function(e,t){var[n,r]=t,i=[],a=0,o="";for(;a<e.length;){var s=e[a++];if(s===n){o&&i.push({type:"text",value:o}),o="";var l="";for(s=e[a++];void 0!==s&&s!==r;)l+=s,s=e[a++];var u=s===r,c=_r.test(l)?"list":u&&yr.test(l)?"named":"unknown";i.push({value:l,type:c})}else o+=s}return o&&i.push({type:"text",value:o}),i}(e,n),this._caches[e]=r),function(e,t){var n=[],r=0,i=Array.isArray(t)?"list":(a=t,null!==a&&"object"==typeof a?"named":"unknown");var a;if("unknown"===i)return n;for(;r<e.length;){var o=e[r];switch(o.type){case"text":n.push(o.value);break;case"list":n.push(t[parseInt(o.value,10)]);break;case"named":"named"===i&&n.push(t[o.value])}r++}return n}(r,t)}};function Mr(e,t){if(e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return br;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?br:e.indexOf("-hant")>-1?wr:(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?wr:br);var n,r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,[xr,Sr,kr]);return r||void 0}}class Or{constructor(e){var{locale:t,fallbackLocale:n,messages:r,watcher:i,formater:a}=e;this.locale=xr,this.fallbackLocale=xr,this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=a||Cr,this.messages=r||{},this.setLocale(t||xr),i&&this.watchLocale(i)}setLocale(e){var t=this.locale;this.locale=Mr(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){var t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.messages[e];r?n?Object.assign(r,t):Object.keys(t).forEach((e=>{Er(r,e)||(r[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){var r=this.message;return"string"==typeof t?(t=Mr(t,this.messages))&&(r=this.messages[t]):n=t,Er(r,e)?this.formater.interpolate(r[e],n).join(""):(console.warn("Cannot translate the value of keypath ".concat(e,". Use the value of keypath as default.")),e)}}function Ir(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}function Lr(){return"undefined"!=typeof uni&&uni.getLocale?uni.getLocale():"undefined"!=typeof window&&window.getLocale?window.getLocale():xr}var Ar,Nr=Jn((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));function Br(){var e;if(!Ar&&(e="function"==typeof getApp?weex.requireModule("plus").getLanguage():plus.webview.currentWebview().getStyle().locale,Ar=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e=Lr()),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||xr);var i=new Or({locale:e,fallbackLocale:n,messages:t,watcher:r}),a=(e,t)=>{if("function"!=typeof getApp)a=function(e,t){return i.t(e,t)};else{var n=!1;a=function(e,t){var r=getApp().$vm;return r&&(r.$locale,n||(n=!0,Ir(r,i))),i.t(e,t)}}return a(e,t)};return{i18n:i,f:(e,t,n)=>i.f(e,t,n),t:(e,t)=>a(e,t),add(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return i.add(e,t,n)},watch:e=>i.watchLocale(e),getLocale:()=>i.getLocale(),setLocale:e=>i.setLocale(e)}}(e),Nr())){var t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>Ar.add(e,__uniConfig.locales[e]))),Ar.setLocale(e)}return Ar}function Rr(e,t,n){return t.reduce(((t,r,i)=>(t[e+r]=n[i],t)),{})}var Pr=Jn((()=>{var e="uni.picker.",t=["done","cancel"];Br().add(xr,Rr(e,t,["Done","Cancel"]),!1),Br().add(kr,Rr(e,t,["OK","Cancelar"]),!1),Br().add(Sr,Rr(e,t,["OK","Annuler"]),!1),Br().add(br,Rr(e,t,["完成","取消"]),!1),Br().add(wr,Rr(e,t,["完成","取消"]),!1)})),Dr=Jn((()=>{var e="uni.button.",t=["feedback.title","feedback.send"];Br().add(xr,Rr(e,t,["feedback","send"]),!1),Br().add(kr,Rr(e,t,["realimentación","enviar"]),!1),Br().add(Sr,Rr(e,t,["retour d'information","envoyer"]),!1),Br().add(br,Rr(e,t,["问题反馈","发送"]),!1),Br().add(wr,Rr(e,t,["問題反饋","發送"]),!1)}));function zr(e){var t=new gr;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.emit(e,...r)},subscribe(n,r){t[arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"once":"on"]("".concat(e,".").concat(n),r)},unsubscribe(n,r){t.off("".concat(e,".").concat(n),r)},subscribeHandler(n,r,i){t.emit("".concat(e,".").concat(n),r,i)}}}var Fr="invokeViewApi",$r="invokeServiceApi",jr=1,Wr=Object.create(null);function Vr(e,t){return e+"."+t}function Hr(e,t,n){t=Vr(e,t),Wr[t]||(Wr[t]=n)}function Ur(e,t){var{id:n,name:r,args:i}=e;r=Vr(t,r);var a=e=>{n&&UniViewJSBridge.publishHandler(Fr+"."+n,e)},o=Wr[r];o?o(i,a):a({})}var qr,Yr=un(zr("service"),{invokeServiceMethod:(e,t,n)=>{var{subscribe:r,publishHandler:i}=UniViewJSBridge,a=n?jr++:0;n&&r($r+"."+a,n,!0),i($r,{id:a,name:e,args:t})}}),Xr=rr(!0);function Zr(){qr&&(clearTimeout(qr),qr=null)}var Gr,Kr=0,Jr=0;function Qr(e){if(Zr(),1===e.touches.length){var{pageX:t,pageY:n}=e.touches[0];Kr=t,Jr=n,qr=setTimeout((function(){var 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 ei(e){if(qr){if(1!==e.touches.length)return Zr();var{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Kr)>10||Math.abs(n-Jr)>10?Zr():void 0}}function ti(e,t){var n=Number(e);return isNaN(n)?t:n}function ni(){var e=__uniConfig.globalStyle||{},t=ti(e.rpxCalcMaxDeviceWidth,960),n=ti(e.rpxCalcBaseDeviceWidth,375);function r(){var e,r,i,a=(e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,r=e&&90===Math.abs(window.orientation),i=e?Math[r?"max":"min"](screen.width,screen.height):screen.width,Math.min(window.innerWidth,document.documentElement.clientWidth,i)||i);a=a<=t?a:n,document.documentElement.style.fontSize=a/23.4375+"px"}r(),document.addEventListener("DOMContentLoaded",r),window.addEventListener("load",r),window.addEventListener("resize",r)}function ri(){ni(),tr(),window.addEventListener("touchstart",Qr,Xr),window.addEventListener("touchmove",ei,Xr),window.addEventListener("touchend",Zr,Xr),window.addEventListener("touchcancel",Zr,Xr)}class ii{constructor(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Gr,!e&&Gr&&(this.index=(Gr.scopes||(Gr.scopes=[])).push(this)-1)}run(e){if(this.active){var t=Gr;try{return Gr=this,e()}finally{Gr=t}}}on(){Gr=this}off(){Gr=this.parent}stop(e){if(this.active){var 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){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}}}var ai,oi=e=>{var t=new Set(e);return t.w=0,t.n=0,t},si=e=>(e.w&di)>0,li=e=>(e.n&di)>0,ui=new WeakMap,ci=0,di=1,hi=Symbol(""),fi=Symbol("");class pi{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Gr;t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();for(var e=ai,t=gi;e;){if(e===this)return;e=e.parent}try{return this.parent=ai,ai=this,gi=!0,di=1<<++ci,ci<=30?(e=>{var{deps:t}=e;if(t.length)for(var n=0;n<t.length;n++)t[n].w|=di})(this):vi(this),this.fn()}finally{ci<=30&&(e=>{var{deps:t}=e;if(t.length){for(var n=0,r=0;r<t.length;r++){var i=t[r];si(i)&&!li(i)?i.delete(e):t[n++]=i,i.w&=~di,i.n&=~di}t.length=n}})(this),di=1<<--ci,ai=this.parent,gi=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ai===this?this.deferStop=!0:this.active&&(vi(this),this.onStop&&this.onStop(),this.active=!1)}}function vi(e){var{deps:t}=e;if(t.length){for(var n=0;n<t.length;n++)t[n].delete(e);t.length=0}}var gi=!0,mi=[];function _i(){mi.push(gi),gi=!1}function yi(){var e=mi.pop();gi=void 0===e||e}function bi(e,t,n){if(gi&&ai){var r=ui.get(e);r||ui.set(e,r=new Map);var i=r.get(n);i||r.set(n,i=oi()),wi(i)}}function wi(e,t){var n=!1;ci<=30?li(e)||(e.n|=di,n=!si(e)):n=!e.has(ai),n&&(e.add(ai),ai.deps.push(e))}function xi(e,t,n,r,i,a){var o=ui.get(e);if(o){var s=[];if("clear"===t)s=[...o.values()];else if("length"===n&&fn(e)){var l=Rn(r);o.forEach(((e,t)=>{("length"===t||t>=l)&&s.push(e)}))}else switch(void 0!==n&&s.push(o.get(n)),t){case"add":fn(e)?Sn(n)&&s.push(o.get("length")):(s.push(o.get(hi)),pn(e)&&s.push(o.get(fi)));break;case"delete":fn(e)||(s.push(o.get(hi)),pn(e)&&s.push(o.get(fi)));break;case"set":pn(e)&&s.push(o.get(hi))}if(1===s.length)s[0]&&Si(s[0]);else{var u=[];for(var c of s)c&&u.push(...c);Si(oi(u))}}}function Si(e,t){var n=fn(e)?e:[...e];for(var r of n)r.computed&&ki(r);for(var i of n)i.computed||ki(i)}function ki(e,t){(e!==ai||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}var Ti=Vt("__proto__,__v_isRef,__isVue"),Ei=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(mn)),Ci=Ai(),Mi=Ai(!1,!0),Oi=Ai(!0),Ii=Li();function Li(){var e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(){for(var e=ma(this),n=0,r=this.length;n<r;n++)bi(e,0,n+"");for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];var s=e[t](...a);return-1===s||!1===s?e[t](...a.map(ma)):s}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(){_i();for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=ma(this)[t].apply(this,n);return yi(),i}})),e}function Ai(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r,i){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_isShallow"===r)return t;if("__v_raw"===r&&i===(e?t?sa:oa:t?aa:ia).get(n))return n;var a=fn(n);if(!e&&a&&hn(Ii,r))return Reflect.get(Ii,r,i);var o=Reflect.get(n,r,i);return(mn(r)?Ei.has(r):Ti(r))?o:(e||bi(n,0,r),t?o:Sa(o)?a&&Sn(r)?o:o.value:_n(o)?e?da(o):ua(o):o)}}function Ni(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n,r,i){var a=t[n];if(pa(a)&&Sa(a)&&!Sa(r))return!1;if(!e&&(va(r)||pa(r)||(a=ma(a),r=ma(r)),!fn(t)&&Sa(a)&&!Sa(r)))return a.value=r,!0;var o=fn(t)&&Sn(n)?Number(n)<t.length:hn(t,n),s=Reflect.set(t,n,r,i);return t===ma(i)&&(o?An(r,a)&&xi(t,"set",n,r):xi(t,"add",n,r)),s}}var Bi={get:Ci,set:Ni(),deleteProperty:function(e,t){var n=hn(e,t);e[t];var r=Reflect.deleteProperty(e,t);return r&&n&&xi(e,"delete",t,void 0),r},has:function(e,t){var n=Reflect.has(e,t);return mn(t)&&Ei.has(t)||bi(e,0,t),n},ownKeys:function(e){return bi(e,0,fn(e)?"length":hi),Reflect.ownKeys(e)}},Ri={get:Oi,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},Pi=un({},Bi,{get:Mi,set:Ni(!0)}),Di=e=>e,zi=e=>Reflect.getPrototypeOf(e);function Fi(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=ma(e=e.__v_raw),a=ma(t);n||(t!==a&&bi(i,0,t),bi(i,0,a));var{has:o}=zi(i),s=r?Di:n?ba:ya;return o.call(i,t)?s(e.get(t)):o.call(i,a)?s(e.get(a)):void(e!==i&&e.get(t))}function $i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.__v_raw,r=ma(n),i=ma(e);return t||(e!==i&&bi(r,0,e),bi(r,0,i)),e===i?n.has(e):n.has(e)||n.has(i)}function ji(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=e.__v_raw,!t&&bi(ma(e),0,hi),Reflect.get(e,"size",e)}function Wi(e){e=ma(e);var t=ma(this);return zi(t).has.call(t,e)||(t.add(e),xi(t,"add",e,e)),this}function Vi(e,t){t=ma(t);var n=ma(this),{has:r,get:i}=zi(n),a=r.call(n,e);a||(e=ma(e),a=r.call(n,e));var o=i.call(n,e);return n.set(e,t),a?An(t,o)&&xi(n,"set",e,t):xi(n,"add",e,t),this}function Hi(e){var t=ma(this),{has:n,get:r}=zi(t),i=n.call(t,e);i||(e=ma(e),i=n.call(t,e)),r&&r.call(t,e);var a=t.delete(e);return i&&xi(t,"delete",e,void 0),a}function Ui(){var e=ma(this),t=0!==e.size,n=e.clear();return t&&xi(e,"clear",void 0,void 0),n}function qi(e,t){return function(n,r){var i=this,a=i.__v_raw,o=ma(a),s=t?Di:e?ba:ya;return!e&&bi(o,0,hi),a.forEach(((e,t)=>n.call(r,s(e),s(t),i)))}}function Yi(e,t,n){return function(){var r=this.__v_raw,i=ma(r),a=pn(i),o="entries"===e||e===Symbol.iterator&&a,s="keys"===e&&a,l=r[e](...arguments),u=n?Di:t?ba:ya;return!t&&bi(i,0,s?fi:hi),{next(){var{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:o?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Xi(e){return function(){return"delete"!==e&&this}}function Zi(){var e={get(e){return Fi(this,e)},get size(){return ji(this)},has:$i,add:Wi,set:Vi,delete:Hi,clear:Ui,forEach:qi(!1,!1)},t={get(e){return Fi(this,e,!1,!0)},get size(){return ji(this)},has:$i,add:Wi,set:Vi,delete:Hi,clear:Ui,forEach:qi(!1,!0)},n={get(e){return Fi(this,e,!0)},get size(){return ji(this,!0)},has(e){return $i.call(this,e,!0)},add:Xi("add"),set:Xi("set"),delete:Xi("delete"),clear:Xi("clear"),forEach:qi(!0,!1)},r={get(e){return Fi(this,e,!0,!0)},get size(){return ji(this,!0)},has(e){return $i.call(this,e,!0)},add:Xi("add"),set:Xi("set"),delete:Xi("delete"),clear:Xi("clear"),forEach:qi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((i=>{e[i]=Yi(i,!1,!1),n[i]=Yi(i,!0,!1),t[i]=Yi(i,!1,!0),r[i]=Yi(i,!0,!0)})),[e,n,t,r]}var[Gi,Ki,Ji,Qi]=Zi();function ea(e,t){var n=t?e?Qi:Ji:e?Ki:Gi;return(t,r,i)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(hn(n,r)&&r in t?n:t,r,i)}var ta={get:ea(!1,!1)},na={get:ea(!1,!0)},ra={get:ea(!0,!1)},ia=new WeakMap,aa=new WeakMap,oa=new WeakMap,sa=new WeakMap;function la(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>wn(e).slice(8,-1))(e))}function ua(e){return pa(e)?e:ha(e,!1,Bi,ta,ia)}function ca(e){return ha(e,!1,Pi,na,aa)}function da(e){return ha(e,!0,Ri,ra,oa)}function ha(e,t,n,r,i){if(!_n(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;var a=i.get(e);if(a)return a;var o=la(e);if(0===o)return e;var s=new Proxy(e,2===o?r:n);return i.set(e,s),s}function fa(e){return pa(e)?fa(e.__v_raw):!(!e||!e.__v_isReactive)}function pa(e){return!(!e||!e.__v_isReadonly)}function va(e){return!(!e||!e.__v_isShallow)}function ga(e){return fa(e)||pa(e)}function ma(e){var t=e&&e.__v_raw;return t?ma(t):e}function _a(e){return Bn(e,"__v_skip",!0),e}var ya=e=>_n(e)?ua(e):e,ba=e=>_n(e)?da(e):e;function wa(e){gi&&ai&&wi((e=ma(e)).dep||(e.dep=oi()))}function xa(e,t){(e=ma(e)).dep&&Si(e.dep)}function Sa(e){return!(!e||!0!==e.__v_isRef)}function ka(e){return Ea(e,!1)}function Ta(e){return Ea(e,!0)}function Ea(e,t){return Sa(e)?e:new Ca(e,t)}class Ca{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:ma(e),this._value=t?e:ya(e)}get value(){return wa(this),this._value}set value(e){var t=this.__v_isShallow||va(e)||pa(e);e=t?e:ma(e),An(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:ya(e),xa(this))}}var Ma,Oa={get:(e,t,n)=>{return Sa(r=Reflect.get(e,t,n))?r.value:r;var r},set:(e,t,n,r)=>{var i=e[t];return Sa(i)&&!Sa(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Ia(e){return fa(e)?e:new Proxy(e,Oa)}class La{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[Ma]=!1,this._dirty=!0,this.effect=new pi(e,(()=>{this._dirty||(this._dirty=!0,xa(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){var e=ma(this);return wa(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Aa(e,t,n,r){var i;try{i=r?e(...r):e()}catch(a){Ba(a,t,n)}return i}function Na(e,t,n,r){if(vn(e)){var i=Aa(e,t,n,r);return i&&yn(i)&&i.catch((e=>{Ba(e,t,n)})),i}for(var a=[],o=0;o<e.length;o++)a.push(Na(e[o],t,n,r));return a}function Ba(e,t,n){if(t&&t.vnode,t){for(var r=t.parent,i=t.proxy,a=n;r;){var o=r.ec;if(o)for(var s=0;s<o.length;s++)if(!1===o[s](e,i,a))return;r=r.parent}var l=t.appContext.config.errorHandler;if(l)return void Aa(l,null,10,[e,i,a])}!function(e,t,n){e instanceof Error?console.error(e.message+"\n"+e.stack):console.error(e)}(e)}Ma="__v_isReadonly";var Ra=!1,Pa=!1,Da=[],za=0,Fa=[],$a=null,ja=0,Wa=Promise.resolve(),Va=null;function Ha(e){var t=Va||Wa;return e?t.then(this?e.bind(this):e):t}function Ua(e){Da.length&&Da.includes(e,Ra&&e.allowRecurse?za+1:za)||(null==e.id?Da.push(e):Da.splice(function(e){for(var t=za+1,n=Da.length;t<n;){var r=t+n>>>1;Za(Da[r])<e?t=r+1:n=r}return t}(e.id),0,e),qa())}function qa(){Ra||Pa||(Pa=!0,Va=Wa.then(Ka))}function Ya(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ra?za+1:0;t<Da.length;t++){var n=Da[t];n&&n.pre&&(Da.splice(t,1),t--,n())}}function Xa(e){if(Fa.length){var t=[...new Set(Fa)];if(Fa.length=0,$a)return void $a.push(...t);for(($a=t).sort(((e,t)=>Za(e)-Za(t))),ja=0;ja<$a.length;ja++)$a[ja]();$a=null,ja=0}}var Za=e=>null==e.id?1/0:e.id,Ga=(e,t)=>{var n=Za(e)-Za(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ka(e){Pa=!1,Ra=!0,Da.sort(Ga);try{for(za=0;za<Da.length;za++){var t=Da[za];t&&!1!==t.active&&Aa(t,null,14)}}finally{za=0,Da.length=0,Xa(),Ra=!1,Va=null,(Da.length||Fa.length)&&Ka()}}function Ja(e,t){if(!e.isUnmounted){for(var n=e.vnode.props||tn,r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];var o,s=i,l=t.startsWith("update:"),u=l&&t.slice(7);if(u&&u in n){var c="".concat("modelValue"===u?"model":u,"Modifiers"),{number:d,trim:h}=n[c]||tn;h&&(s=i.map((e=>gn(e)?e.trim():e))),d&&(s=i.map(Rn))}var f=n[o=Ln(t)]||n[o=Ln(Cn(t))];!f&&l&&(f=n[o=Ln(On(t))]),f&&Na(f,e,6,s);var p=n[o+"Once"];if(p){if(e.emitted){if(e.emitted[o])return}else e.emitted={};e.emitted[o]=!0,Na(p,e,6,s)}}}function Qa(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.emitsCache,i=r.get(e);if(void 0!==i)return i;var a=e.emits,o={},s=!1;if(!vn(e)){var l=e=>{var n=Qa(e,t,!0);n&&(s=!0,un(o,n))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return a||s?(fn(a)?a.forEach((e=>o[e]=null)):un(o,a),_n(e)&&r.set(e,o),o):(_n(e)&&r.set(e,null),null)}function eo(e,t){return!(!e||!sn(t))&&(t=t.slice(2).replace(/Once$/,""),hn(e,t[0].toLowerCase()+t.slice(1))||hn(e,On(t))||hn(e,t))}var to=null,no=null;function ro(e){var t=to;return to=e,no=e&&e.type.__scopeId||null,t}function io(e){var t,n,{type:r,vnode:i,proxy:a,withProxy:o,props:s,propsOptions:[l],slots:u,attrs:c,emit:d,render:h,renderCache:f,data:p,setupState:v,ctx:g,inheritAttrs:m}=e,_=ro(e);try{if(4&i.shapeFlag){var y=o||a;t=Fs(h.call(y,y,f,s,v,p,g)),n=c}else{var b=r;0,t=Fs(b.length>1?b(s,{attrs:c,slots:u,emit:d}):b(s,null)),n=r.props?c:ao(c)}}catch(k){Ba(k,e,1),t=Rs(Es)}var w=t;if(n&&!1!==m){var x=Object.keys(n),{shapeFlag:S}=w;x.length&&7&S&&(l&&x.some(ln)&&(n=oo(n,l)),w=Ds(w,n))}return i.dirs&&((w=Ds(w)).dirs=w.dirs?w.dirs.concat(i.dirs):i.dirs),i.transition&&(w.transition=i.transition),t=w,ro(_),t}var ao=e=>{var t;for(var n in e)("class"===n||"style"===n||sn(n))&&((t||(t={}))[n]=e[n]);return t},oo=(e,t)=>{var n={};for(var r in e)ln(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function so(e,t,n){var r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(var i=0;i<r.length;i++){var a=r[i];if(t[a]!==e[a]&&!eo(n,a))return!0}return!1}var lo=e=>e.__isSuspense;function uo(e,t){if(qs){var n=qs.provides,r=qs.parent&&qs.parent.provides;r===n&&(n=qs.provides=Object.create(r)),n[e]=t}else;}function co(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=qs||to;if(r){var i=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&vn(t)?t.call(r.proxy):t}}function ho(e,t){return vo(e,null,t)}var fo={};function po(e,t,n){return vo(e,t,n)}function vo(e,t){var n,r,{immediate:i,deep:a,flush:o,onTrack:s,onTrigger:l}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:tn,u=qs,c=!1,d=!1;if(Sa(e)?(n=()=>e.value,c=va(e)):fa(e)?(n=()=>e,a=!0):fn(e)?(d=!0,c=e.some((e=>fa(e)||va(e))),n=()=>e.map((e=>Sa(e)?e.value:fa(e)?_o(e):vn(e)?Aa(e,u,2):void 0))):n=vn(e)?t?()=>Aa(e,u,2):()=>{if(!u||!u.isUnmounted)return r&&r(),Na(e,u,3,[p])}:rn,t&&a){var h=n;n=()=>_o(h())}var f,p=e=>{r=y.onStop=()=>{Aa(e,u,4)}};if(Ks){if(p=rn,t?i&&Na(t,u,3,[n(),d?[]:void 0,p]):n(),"sync"!==o)return rn;var v=ol();f=v.__watcherHandles||(v.__watcherHandles=[])}var g,m=d?new Array(e.length).fill(fo):fo,_=()=>{if(y.active)if(t){var e=y.run();(a||c||(d?e.some(((e,t)=>An(e,m[t]))):An(e,m)))&&(r&&r(),Na(t,u,3,[e,m===fo?void 0:d&&m[0]===fo?[]:m,p]),m=e)}else y.run()};_.allowRecurse=!!t,"sync"===o?g=_:"post"===o?g=()=>ys(_,u&&u.suspense):(_.pre=!0,u&&(_.id=u.uid),g=()=>Ua(_));var y=new pi(n,g);t?i?_():m=y.run():"post"===o?ys(y.run.bind(y),u&&u.suspense):y.run();var b=()=>{y.stop(),u&&u.scope&&cn(u.scope.effects,y)};return f&&f.push(b),b}function go(e,t,n){var r,i=this.proxy,a=gn(e)?e.includes(".")?mo(i,e):()=>i[e]:e.bind(i,i);vn(t)?r=t:(r=t.handler,n=t);var o=qs;Xs(this);var s=vo(a,r.bind(i),n);return o?Xs(o):Zs(),s}function mo(e,t){var n=t.split(".");return()=>{for(var t=e,r=0;r<n.length&&t;r++)t=t[n[r]];return t}}function _o(e,t){if(!_n(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),Sa(e))_o(e.value,t);else if(fn(e))for(var n=0;n<e.length;n++)_o(e[n],t);else if("[object Set]"===wn(e)||pn(e))e.forEach((e=>{_o(e,t)}));else if(xn(e))for(var r in e)_o(e[r],t);return e}var yo=e=>!!e.type.__asyncLoader,bo=e=>e.type.__isKeepAlive;function wo(e,t){So(e,"a",t)}function xo(e,t){So(e,"da",t)}function So(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qs,r=e.__wdc||(e.__wdc=()=>{for(var t=n;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(To(t,r,n),n)for(var i=n.parent;i&&i.parent;)bo(i.parent.vnode)&&ko(r,t,n,i),i=i.parent}function ko(e,t,n,r){var i=To(t,e,r,!0);Ao((()=>{cn(r[t],i)}),n)}function To(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qs,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n){var i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=function(){if(!n.isUnmounted){_i(),Xs(n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var o=Na(t,n,e,i);return Zs(),yi(),o}});return r?i.unshift(a):i.push(a),a}}var Eo=e=>function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qs;return(!Ks||"sp"===e)&&To(e,(function(){return t(...arguments)}),n)},Co=Eo("bm"),Mo=Eo("m"),Oo=Eo("bu"),Io=Eo("u"),Lo=Eo("bum"),Ao=Eo("um"),No=Eo("sp"),Bo=Eo("rtg"),Ro=Eo("rtc");function Po(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qs;To("ec",e,t)}function Do(e,t){var n=to;if(null===n)return e;for(var r=tl(n)||n.proxy,i=e.dirs||(e.dirs=[]),a=0;a<t.length;a++){var[o,s,l,u=tn]=t[a];o&&(vn(o)&&(o={mounted:o,updated:o}),o.deep&&_o(s),i.push({dir:o,instance:r,value:s,oldValue:void 0,arg:l,modifiers:u}))}return e}function zo(e,t,n,r){for(var i=e.dirs,a=t&&t.dirs,o=0;o<i.length;o++){var s=i[o];a&&(s.oldValue=a[o].value);var l=s.dir[r];l&&(_i(),Na(l,n,8,[e.el,s,e,t]),yi())}}var Fo=Symbol(),$o=e=>e?Gs(e)?tl(e)||e.proxy:$o(e.parent):null,jo=un(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>$o(e.parent),$root:e=>$o(e.root),$emit:e=>e.emit,$options:e=>Xo(e),$forceUpdate:e=>e.f||(e.f=()=>Ua(e.update)),$nextTick:e=>e.n||(e.n=Ha.bind(e.proxy)),$watch:e=>go.bind(e)}),Wo=(e,t)=>e!==tn&&!e.__isScriptSetup&&hn(e,t),Vo={get(e,t){var n,{_:r}=e,{ctx:i,setupState:a,data:o,props:s,accessCache:l,type:u,appContext:c}=r;if("$"!==t[0]){var d=l[t];if(void 0!==d)switch(d){case 1:return a[t];case 2:return o[t];case 4:return i[t];case 3:return s[t]}else{if(Wo(a,t))return l[t]=1,a[t];if(o!==tn&&hn(o,t))return l[t]=2,o[t];if((n=r.propsOptions[0])&&hn(n,t))return l[t]=3,s[t];if(i!==tn&&hn(i,t))return l[t]=4,i[t];Ho&&(l[t]=0)}}var h,f,p=jo[t];return p?("$attrs"===t&&bi(r,0,t),p(r)):(h=u.__cssModules)&&(h=h[t])?h:i!==tn&&hn(i,t)?(l[t]=4,i[t]):(f=c.config.globalProperties,hn(f,t)?f[t]:void 0)},set(e,t,n){var{_:r}=e,{data:i,setupState:a,ctx:o}=r;return Wo(a,t)?(a[t]=n,!0):i!==tn&&hn(i,t)?(i[t]=n,!0):!hn(r.props,t)&&(("$"!==t[0]||!(t.slice(1)in r))&&(o[t]=n,!0))},has(e,t){var n,{_:{data:r,setupState:i,accessCache:a,ctx:o,appContext:s,propsOptions:l}}=e;return!!a[t]||r!==tn&&hn(r,t)||Wo(i,t)||(n=l[0])&&hn(n,t)||hn(o,t)||hn(jo,t)||hn(s.config.globalProperties,t)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:hn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Ho=!0;function Uo(e){var t=Xo(e),n=e.proxy,r=e.ctx;Ho=!1,t.beforeCreate&&qo(t.beforeCreate,e,"bc");var{data:i,computed:a,methods:o,watch:s,provide:l,inject:u,created:c,beforeMount:d,mounted:h,beforeUpdate:f,updated:p,activated:v,deactivated:g,beforeDestroy:m,beforeUnmount:_,destroyed:y,unmounted:b,render:w,renderTracked:x,renderTriggered:S,errorCaptured:k,serverPrefetch:T,expose:E,inheritAttrs:C,components:M,directives:O,filters:I}=t;if(u&&function(e,t){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];fn(e)&&(e=Jo(e));var r=function(){var r,a=e[i];Sa(r=_n(a)?"default"in a?co(a.from||i,a.default,!0):co(a.from||i):co(a))&&n?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[i]=r};for(var i in e)r()}(u,r,null,e.appContext.config.unwrapInjectedRef),o)for(var L in o){var A=o[L];vn(A)&&(r[L]=A.bind(n))}if(i){var N=i.call(n,n);_n(N)&&(e.data=ua(N))}if(Ho=!0,a){var B=function(e){var t=a[e],i=vn(t)?t.bind(n,n):vn(t.get)?t.get.bind(n,n):rn,o=!vn(t)&&vn(t.set)?t.set.bind(n):rn,s=rl({get:i,set:o});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})};for(var R in a)B(R)}if(s)for(var P in s)Yo(s[P],r,n,P);if(l){var D=vn(l)?l.call(n):l;Reflect.ownKeys(D).forEach((e=>{uo(e,D[e])}))}function z(e,t){fn(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(c&&qo(c,e,"c"),z(Co,d),z(Mo,h),z(Oo,f),z(Io,p),z(wo,v),z(xo,g),z(Po,k),z(Ro,x),z(Bo,S),z(Lo,_),z(Ao,b),z(No,T),fn(E))if(E.length){var F=e.exposed||(e.exposed={});E.forEach((e=>{Object.defineProperty(F,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});w&&e.render===rn&&(e.render=w),null!=C&&(e.inheritAttrs=C),M&&(e.components=M),O&&(e.directives=O)}function qo(e,t,n){Na(fn(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Yo(e,t,n,r){var i=r.includes(".")?mo(n,r):()=>n[r];if(gn(e)){var a=t[e];vn(a)&&po(i,a)}else if(vn(e))po(i,e.bind(n));else if(_n(e))if(fn(e))e.forEach((e=>Yo(e,t,n,r)));else{var o=vn(e.handler)?e.handler.bind(n):t[e.handler];vn(o)&&po(i,o,e)}}function Xo(e){var t,n=e.type,{mixins:r,extends:i}=n,{mixins:a,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,l=o.get(n);return l?t=l:a.length||r||i?(t={},a.length&&a.forEach((e=>Zo(t,e,s,!0))),Zo(t,n,s)):t=n,_n(n)&&o.set(n,t),t}function Zo(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],{mixins:i,extends:a}=t;for(var o in a&&Zo(e,a,n,!0),i&&i.forEach((t=>Zo(e,t,n,!0))),t)if(r&&"expose"===o);else{var s=Go[o]||n&&n[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var Go={data:Ko,props:es,emits:es,methods:es,computed:es,beforeCreate:Qo,created:Qo,beforeMount:Qo,mounted:Qo,beforeUpdate:Qo,updated:Qo,beforeDestroy:Qo,beforeUnmount:Qo,destroyed:Qo,unmounted:Qo,activated:Qo,deactivated:Qo,errorCaptured:Qo,serverPrefetch:Qo,components:es,directives:es,watch:function(e,t){if(!e)return t;if(!t)return e;var n=un(Object.create(null),e);for(var r in t)n[r]=Qo(e[r],t[r]);return n},provide:Ko,inject:function(e,t){return es(Jo(e),Jo(t))}};function Ko(e,t){return t?e?function(){return un(vn(e)?e.call(this,this):e,vn(t)?t.call(this,this):t)}:t:e}function Jo(e){if(fn(e)){for(var t={},n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Qo(e,t){return e?[...new Set([].concat(e,t))]:t}function es(e,t){return e?un(un(Object.create(null),e),t):t}function ts(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i={},a={};for(var o in Bn(a,Ls,1),e.propsDefaults=Object.create(null),ns(e,t,i,a),e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:ca(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function ns(e,t,n,r){var i,[a,o]=e.propsOptions,s=!1;if(t)for(var l in t)if(!kn(l)){var u=t[l],c=void 0;a&&hn(a,c=Cn(l))?o&&o.includes(c)?(i||(i={}))[c]=u:n[c]=u:eo(e.emitsOptions,l)||l in r&&u===r[l]||(r[l]=u,s=!0)}if(o)for(var d=ma(n),h=i||tn,f=0;f<o.length;f++){var p=o[f];n[p]=rs(a,d,p,h[p],e,!hn(h,p))}return s}function rs(e,t,n,r,i,a){var o=e[n];if(null!=o){var s=hn(o,"default");if(s&&void 0===r){var l=o.default;if(o.type!==Function&&vn(l)){var{propsDefaults:u}=i;n in u?r=u[n]:(Xs(i),r=u[n]=l.call(null,t),Zs())}else r=l}o[0]&&(a&&!s?r=!1:!o[1]||""!==r&&r!==On(n)||(r=!0))}return r}function is(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.propsCache,i=r.get(e);if(i)return i;var a=e.props,o={},s=[],l=!1;if(!vn(e)){var u=e=>{l=!0;var[n,r]=is(e,t,!0);un(o,n),r&&s.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return _n(e)&&r.set(e,nn),nn;if(fn(a))for(var c=0;c<a.length;c++){var d=Cn(a[c]);as(d)&&(o[d]=tn)}else if(a)for(var h in a){var f=Cn(h);if(as(f)){var p=a[h],v=o[f]=fn(p)||vn(p)?{type:p}:Object.assign({},p);if(v){var g=ls(Boolean,v.type),m=ls(String,v.type);v[0]=g>-1,v[1]=m<0||g<m,(g>-1||hn(v,"default"))&&s.push(f)}}}var _=[o,s];return _n(e)&&r.set(e,_),_}function as(e){return"$"!==e[0]}function os(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function ss(e,t){return os(e)===os(t)}function ls(e,t){return fn(t)?t.findIndex((t=>ss(t,e))):vn(t)&&ss(t,e)?0:-1}var us=e=>"_"===e[0]||"$stable"===e,cs=e=>fn(e)?e.map(Fs):[Fs(e)],ds=(e,t,n)=>{if(t._n)return t;var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:to;if(!t)return e;if(e._n)return e;var n=function(){n._d&&Ms(-1);var r,i=ro(t);try{r=e(...arguments)}finally{ro(i),n._d&&Ms(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}((function(){return cs(t(...arguments))}),n);return r._c=!1,r},hs=(e,t,n)=>{var r=e._ctx,i=function(){if(us(a))return"continue";var n=e[a];if(vn(n))t[a]=ds(0,n,r);else if(null!=n){var i=cs(n);t[a]=()=>i}};for(var a in e)i()},fs=(e,t)=>{var n=cs(t);e.slots.default=()=>n},ps=(e,t)=>{if(32&e.vnode.shapeFlag){var n=t._;n?(e.slots=ma(t),Bn(t,"_",n)):hs(t,e.slots={})}else e.slots={},t&&fs(e,t);Bn(e.slots,Ls,1)};function vs(){return{app:null,config:{isNativeTag:an,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}}var gs=0;function ms(e,t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;vn(n)||(n=Object.assign({},n)),null==r||_n(r)||(r=null);var i=vs(),a=new Set,o=!1,s=i.app={_uid:gs++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:sl,get config(){return i.config},set config(e){},use(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return a.has(e)||(e&&vn(e.install)?(a.add(e),e.install(s,...n)):vn(e)&&(a.add(e),e(s,...n))),s},mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),s),component:(e,t)=>t?(i.components[e]=t,s):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,s):i.directives[e],mount(a,l,u){if(!o){var c=Rs(n,r);return c.appContext=i,l&&t?t(c,a):e(c,a,u),o=!0,s._container=a,a.__vue_app__=s,tl(c.component)||c.component.proxy}},unmount(){o&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,s)};return s}}function _s(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(fn(e))e.forEach(((e,a)=>_s(e,t&&(fn(t)?t[a]:t),n,r,i)));else if(!yo(r)||i){var a=4&r.shapeFlag?tl(r.component)||r.component.proxy:r.el,o=i?null:a,{i:s,r:l}=e,u=t&&t.r,c=s.refs===tn?s.refs={}:s.refs,d=s.setupState;if(null!=u&&u!==l&&(gn(u)?(c[u]=null,hn(d,u)&&(d[u]=null)):Sa(u)&&(u.value=null)),vn(l))Aa(l,s,12,[o,c]);else{var h=gn(l),f=Sa(l);if(h||f){var p=()=>{if(e.f){var t=h?hn(d,l)?d[l]:c[l]:l.value;i?fn(t)&&cn(t,a):fn(t)?t.includes(a)||t.push(a):h?(c[l]=[a],hn(d,l)&&(d[l]=c[l])):(l.value=[a],e.k&&(c[e.k]=l.value))}else h?(c[l]=o,hn(d,l)&&(d[l]=o)):f&&(l.value=o,e.k&&(c[e.k]=o))};o?(p.id=-1,ys(p,n)):p()}}}}var ys=function(e,t){var n;t&&t.pendingBranch?fn(e)?t.effects.push(...e):t.effects.push(e):(fn(n=e)?Fa.push(...n):$a&&$a.includes(n,n.allowRecurse?ja+1:ja)||Fa.push(n),qa())};function bs(e){return function(e,t){(Jt||(Jt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:{})).__VUE__=!0;var n,r,{insert:i,remove:a,patchProp:o,createElement:s,createText:l,createComment:u,setText:c,setElementText:d,parentNode:h,nextSibling:f,setScopeId:p=rn,insertStaticContent:v}=e,g=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:!!t.dynamicChildren;if(e!==t){e&&!Is(e,t)&&(r=H(e),F(e,i,a,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);var{type:u,ref:c,shapeFlag:d}=t;switch(u){case Ts:m(e,t,n,r);break;case Es:_(e,t,n,r);break;case Cs:null==e&&y(t,n,r,o);break;case ks:O(e,t,n,r,i,a,o,s,l);break;default:1&d?x(e,t,n,r,i,a,o,s,l):6&d?I(e,t,n,r,i,a,o,s,l):(64&d||128&d)&&u.process(e,t,n,r,i,a,o,s,l,q)}null!=c&&i&&_s(c,e&&e.ref,a,t||e,!t)}},m=(e,t,n,r)=>{if(null==e)i(t.el=l(t.children),n,r);else{var a=t.el=e.el;t.children!==e.children&&c(a,t.children)}},_=(e,t,n,r)=>{null==e?i(t.el=u(t.children||""),n,r):t.el=e.el},y=(e,t,n,r)=>{[e.el,e.anchor]=v(e.children,t,n,r,e.el,e.anchor)},b=(e,t,n)=>{for(var r,{el:a,anchor:o}=e;a&&a!==o;)r=f(a),i(a,t,n),a=r;i(o,t,n)},w=e=>{for(var t,{el:n,anchor:r}=e;n&&n!==r;)t=f(n),a(n),n=t;a(r)},x=(e,t,n,r,i,a,o,s,l)=>{o=o||"svg"===t.type,null==e?S(t,n,r,i,a,o,s,l):E(e,t,i,a,o,s,l)},S=(e,t,n,r,a,l,u,c)=>{var h,f,{type:p,props:v,shapeFlag:g,transition:m,dirs:_}=e;if(h=e.el=s(e.type,l,v&&v.is,v),8&g?d(h,e.children):16&g&&T(e.children,h,null,r,a,l&&"foreignObject"!==p,u,c),_&&zo(e,null,r,"created"),v){for(var y in v)"value"===y||kn(y)||o(h,y,null,v[y],l,e.children,r,a,V);"value"in v&&o(h,"value",null,v.value),(f=v.onVnodeBeforeMount)&&Vs(f,r,e)}k(h,e,e.scopeId,u,r),Object.defineProperty(h,"__vueParentComponent",{value:r,enumerable:!1}),_&&zo(e,null,r,"beforeMount");var b=(!a||a&&!a.pendingBranch)&&m&&!m.persisted;b&&m.beforeEnter(h),i(h,t,n),((f=v&&v.onVnodeMounted)||b||_)&&ys((()=>{f&&Vs(f,r,e),b&&m.enter(h),_&&zo(e,null,r,"mounted")}),a)},k=(e,t,n,r,i)=>{if(n&&p(e,n),r)for(var a=0;a<r.length;a++)p(e,r[a]);if(i&&t===i.subTree){var o=i.vnode;k(e,o,o.scopeId,o.slotScopeIds,i.parent)}},T=function(e,t,n,r,i,a,o,s){for(var l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0;l<e.length;l++){var u=e[l]=s?$s(e[l]):Fs(e[l]);g(null,u,t,n,r,i,a,o,s)}},E=(e,t,n,r,i,a,s)=>{var l=t.el=e.el,{patchFlag:u,dynamicChildren:c,dirs:h}=t;u|=16&e.patchFlag;var f,p=e.props||tn,v=t.props||tn;n&&ws(n,!1),(f=v.onVnodeBeforeUpdate)&&Vs(f,n,t,e),h&&zo(t,e,n,"beforeUpdate"),n&&ws(n,!0);var g=i&&"foreignObject"!==t.type;if(c?C(e.dynamicChildren,c,l,n,r,g,a):s||R(e,t,l,null,n,r,g,a,!1),u>0){if(16&u)M(l,t,p,v,n,r,i);else if(2&u&&p.class!==v.class&&o(l,"class",null,v.class,i),4&u&&o(l,"style",p.style,v.style,i),8&u)for(var m=t.dynamicProps,_=0;_<m.length;_++){var y=m[_],b=p[y],w=v[y];w===b&&"value"!==y||o(l,y,b,w,i,e.children,n,r,V)}1&u&&e.children!==t.children&&d(l,t.children)}else s||null!=c||M(l,t,p,v,n,r,i);((f=v.onVnodeUpdated)||h)&&ys((()=>{f&&Vs(f,n,t,e),h&&zo(t,e,n,"updated")}),r)},C=(e,t,n,r,i,a,o)=>{for(var s=0;s<t.length;s++){var l=e[s],u=t[s],c=l.el&&(l.type===ks||!Is(l,u)||70&l.shapeFlag)?h(l.el):n;g(l,u,c,null,r,i,a,o,!0)}},M=(e,t,n,r,i,a,s)=>{if(n!==r){if(n!==tn)for(var l in n)kn(l)||l in r||o(e,l,n[l],null,s,t.children,i,a,V);for(var u in r)if(!kn(u)){var c=r[u],d=n[u];c!==d&&"value"!==u&&o(e,u,d,c,s,t.children,i,a,V)}"value"in r&&o(e,"value",n.value,r.value)}},O=(e,t,n,r,a,o,s,u,c)=>{var d=t.el=e?e.el:l(""),h=t.anchor=e?e.anchor:l(""),{patchFlag:f,dynamicChildren:p,slotScopeIds:v}=t;v&&(u=u?u.concat(v):v),null==e?(i(d,n,r),i(h,n,r),T(t.children,n,h,a,o,s,u,c)):f>0&&64&f&&p&&e.dynamicChildren?(C(e.dynamicChildren,p,n,a,o,s,u),(null!=t.key||a&&t===a.subTree)&&xs(e,t,!0)):R(e,t,n,h,a,o,s,u,c)},I=(e,t,n,r,i,a,o,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?i.ctx.activate(t,n,r,o,l):L(t,n,r,i,a,o,l):A(e,t,l)},L=(e,t,n,r,i,a,o)=>{var s=e.component=function(e,t,n){var r=e.type,i=(t?t.appContext:e.appContext)||Hs,a={uid:Us++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new ii(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:is(r,i),emitsOptions:Qa(r,i),emit:null,emitted:null,propsDefaults:tn,inheritAttrs:r.inheritAttrs,ctx:tn,data:tn,props:tn,attrs:tn,slots:tn,refs:tn,setupState:tn,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};a.ctx={_:a},a.root=t?t.root:a,a.emit=Ja.bind(null,a),e.ce&&e.ce(a);return a}(e,r,i);if(bo(e)&&(s.ctx.renderer=q),function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Ks=t;var{props:n,children:r}=e.vnode,i=Gs(e);ts(e,n,i,t),ps(e,r);var a=i?Js(e,t):void 0;Ks=!1}(s),s.asyncDep){if(i&&i.registerDep(s,N),!e.el){var l=s.subTree=Rs(Es);_(null,l,t,n)}}else N(s,e,t,n,i,a,o)},A=(e,t,n)=>{var r,i,a=t.component=e.component;if(function(e,t,n){var{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!i&&!s||s&&s.$stable)||r!==o&&(r?!o||so(r,o,u):!!o);if(1024&l)return!0;if(16&l)return r?so(r,o,u):!!o;if(8&l)for(var c=t.dynamicProps,d=0;d<c.length;d++){var h=c[d];if(o[h]!==r[h]&&!eo(u,h))return!0}return!1}(e,t,n)){if(a.asyncDep&&!a.asyncResolved)return void B(a,t,n);a.next=t,r=a.update,(i=Da.indexOf(r))>za&&Da.splice(i,1),a.update()}else t.el=e.el,a.vnode=t},N=(e,t,n,i,a,o,s)=>{var l=()=>{if(e.isMounted){var l,{next:u,bu:c,u:d,parent:f,vnode:p}=e,v=u;ws(e,!1),u?(u.el=p.el,B(e,u,s)):u=p,c&&Nn(c),(l=u.props&&u.props.onVnodeBeforeUpdate)&&Vs(l,f,u,p),ws(e,!0);var m=io(e),_=e.subTree;e.subTree=m,g(_,m,h(_.el),H(_),e,a,o),u.el=m.el,null===v&&function(e,t){for(var{vnode:n,parent:r}=e;r&&r.subTree===n;)(n=r.vnode).el=t,r=r.parent}(e,m.el),d&&ys(d,a),(l=u.props&&u.props.onVnodeUpdated)&&ys((()=>Vs(l,f,u,p)),a)}else{var y,{el:b,props:w}=t,{bm:x,m:S,parent:k}=e,T=yo(t);if(ws(e,!1),x&&Nn(x),!T&&(y=w&&w.onVnodeBeforeMount)&&Vs(y,k,t),ws(e,!0),b&&r){var E=()=>{e.subTree=io(e),r(b,e.subTree,e,a,null)};T?t.type.__asyncLoader().then((()=>!e.isUnmounted&&E())):E()}else{var C=e.subTree=io(e);g(null,C,n,i,e,a,o),t.el=C.el}if(S&&ys(S,a),!T&&(y=w&&w.onVnodeMounted)){var M=t;ys((()=>Vs(y,k,M)),a)}(256&t.shapeFlag||k&&yo(k.vnode)&&256&k.vnode.shapeFlag)&&e.a&&ys(e.a,a),e.isMounted=!0,t=n=i=null}},u=e.effect=new pi(l,(()=>Ua(c)),e.scope),c=e.update=()=>u.run();c.id=e.uid,ws(e,!0),c()},B=(e,t,n)=>{t.component=e;var r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){var{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=ma(i),[l]=e.propsOptions,u=!1;if(!(r||o>0)||16&o){var c;for(var d in ns(e,t,i,a)&&(u=!0),s)t&&(hn(t,d)||(c=On(d))!==d&&hn(t,c))||(l?!n||void 0===n[d]&&void 0===n[c]||(i[d]=rs(l,s,d,void 0,e,!0)):delete i[d]);if(a!==s)for(var h in a)t&&hn(t,h)||(delete a[h],u=!0)}else if(8&o)for(var f=e.vnode.dynamicProps,p=0;p<f.length;p++){var v=f[p];if(!eo(e.emitsOptions,v)){var g=t[v];if(l)if(hn(a,v))g!==a[v]&&(a[v]=g,u=!0);else{var m=Cn(v);i[m]=rs(l,s,m,g,e,!1)}else g!==a[v]&&(a[v]=g,u=!0)}}u&&xi(e,"set","$attrs")}(e,t.props,r,n),((e,t,n)=>{var{vnode:r,slots:i}=e,a=!0,o=tn;if(32&r.shapeFlag){var s=t._;s?n&&1===s?a=!1:(un(i,t),n||1!==s||delete i._):(a=!t.$stable,hs(t,i)),o=t}else t&&(fs(e,t),o={default:1});if(a)for(var l in i)us(l)||l in o||delete i[l]})(e,t.children,n),_i(),Ya(),yi()},R=function(e,t,n,r,i,a,o,s){var l=arguments.length>8&&void 0!==arguments[8]&&arguments[8],u=e&&e.children,c=e?e.shapeFlag:0,h=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void D(u,h,n,r,i,a,o,s,l);if(256&f)return void P(u,h,n,r,i,a,o,s,l)}8&p?(16&c&&V(u,i,a),h!==u&&d(n,h)):16&c?16&p?D(u,h,n,r,i,a,o,s,l):V(u,i,a,!0):(8&c&&d(n,""),16&p&&T(h,n,r,i,a,o,s,l))},P=(e,t,n,r,i,a,o,s,l)=>{t=t||nn;var u,c=(e=e||nn).length,d=t.length,h=Math.min(c,d);for(u=0;u<h;u++){var f=t[u]=l?$s(t[u]):Fs(t[u]);g(e[u],f,n,null,i,a,o,s,l)}c>d?V(e,i,a,!0,!1,h):T(t,n,r,i,a,o,s,l,h)},D=(e,t,n,r,i,a,o,s,l)=>{for(var u=0,c=t.length,d=e.length-1,h=c-1;u<=d&&u<=h;){var f=e[u],p=t[u]=l?$s(t[u]):Fs(t[u]);if(!Is(f,p))break;g(f,p,n,null,i,a,o,s,l),u++}for(;u<=d&&u<=h;){var v=e[d],m=t[h]=l?$s(t[h]):Fs(t[h]);if(!Is(v,m))break;g(v,m,n,null,i,a,o,s,l),d--,h--}if(u>d){if(u<=h)for(var _=h+1,y=_<c?t[_].el:r;u<=h;)g(null,t[u]=l?$s(t[u]):Fs(t[u]),n,y,i,a,o,s,l),u++}else if(u>h)for(;u<=d;)F(e[u],i,a,!0),u++;else{var b,w=u,x=u,S=new Map;for(u=x;u<=h;u++){var k=t[u]=l?$s(t[u]):Fs(t[u]);null!=k.key&&S.set(k.key,u)}var T=0,E=h-x+1,C=!1,M=0,O=new Array(E);for(u=0;u<E;u++)O[u]=0;for(u=w;u<=d;u++){var I=e[u];if(T>=E)F(I,i,a,!0);else{var L=void 0;if(null!=I.key)L=S.get(I.key);else for(b=x;b<=h;b++)if(0===O[b-x]&&Is(I,t[b])){L=b;break}void 0===L?F(I,i,a,!0):(O[L-x]=u+1,L>=M?M=L:C=!0,g(I,t[L],n,null,i,a,o,s,l),T++)}}var A=C?function(e){var t,n,r,i,a,o=e.slice(),s=[0],l=e.length;for(t=0;t<l;t++){var u=e[t];if(0!==u){if(e[n=s[s.length-1]]<u){o[t]=n,s.push(t);continue}for(r=0,i=s.length-1;r<i;)e[s[a=r+i>>1]]<u?r=a+1:i=a;u<e[s[r]]&&(r>0&&(o[t]=s[r-1]),s[r]=t)}}r=s.length,i=s[r-1];for(;r-- >0;)s[r]=i,i=o[i];return s}(O):nn;for(b=A.length-1,u=E-1;u>=0;u--){var N=x+u,B=t[N],R=N+1<c?t[N+1].el:r;0===O[u]?g(null,B,n,R,i,a,o,s,l):C&&(b<0||u!==A[b]?z(B,n,R,2):b--)}}},z=function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,{el:o,type:s,transition:l,children:u,shapeFlag:c}=e;if(6&c)z(e.component.subTree,t,n,r);else if(128&c)e.suspense.move(t,n,r);else if(64&c)s.move(e,t,n,q);else if(s!==ks){if(s!==Cs)if(2!==r&&1&c&&l)if(0===r)l.beforeEnter(o),i(o,t,n),ys((()=>l.enter(o)),a);else{var{leave:d,delayLeave:h,afterLeave:f}=l,p=()=>i(o,t,n),v=()=>{d(o,(()=>{p(),f&&f()}))};h?h(o,p,v):v()}else i(o,t,n);else b(e,t,n)}else{i(o,t,n);for(var g=0;g<u.length;g++)z(u[g],t,n,r);i(e.anchor,t,n)}},F=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],{type:a,props:o,ref:s,children:l,dynamicChildren:u,shapeFlag:c,patchFlag:d,dirs:h}=e;if(null!=s&&_s(s,null,n,e,!0),256&c)t.ctx.deactivate(e);else{var f,p=1&c&&h,v=!yo(e);if(v&&(f=o&&o.onVnodeBeforeUnmount)&&Vs(f,t,e),6&c)W(e.component,n,r);else{if(128&c)return void e.suspense.unmount(n,r);p&&zo(e,null,t,"beforeUnmount"),64&c?e.type.remove(e,t,n,i,q,r):u&&(a!==ks||d>0&&64&d)?V(u,t,n,!1,!0):(a===ks&&384&d||!i&&16&c)&&V(l,t,n),r&&$(e)}(v&&(f=o&&o.onVnodeUnmounted)||p)&&ys((()=>{f&&Vs(f,t,e),p&&zo(e,null,t,"unmounted")}),n)}},$=e=>{var{type:t,el:n,anchor:r,transition:i}=e;if(t!==ks)if(t!==Cs){var o=()=>{a(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){var{leave:s,delayLeave:l}=i,u=()=>s(n,o);l?l(e.el,o,u):u()}else o()}else w(e);else j(n,r)},j=(e,t)=>{for(var n;e!==t;)n=f(e),a(e),e=n;a(t)},W=(e,t,n)=>{var{bum:r,scope:i,update:a,subTree:o,um:s}=e;r&&Nn(r),i.stop(),a&&(a.active=!1,F(o,e,t,n)),s&&ys(s,t),ys((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},V=function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;a<e.length;a++)F(e[a],t,n,r,i)},H=e=>6&e.shapeFlag?H(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),U=(e,t,n)=>{if(null==e)t._vnode&&F(t._vnode,null,null,!0);else{var r=t.__vueParent;g(t._vnode||null,e,t,null,r,null,n)}Ya(),t._vnode=e},q={p:g,um:F,m:z,r:$,mt:L,mc:T,pc:R,pbc:C,n:H,o:e};t&&([n,r]=t(q));return{render:U,hydrate:n,createApp:ms(U,n)}}(e)}function ws(e,t){var{effect:n,update:r}=e;n.allowRecurse=r.allowRecurse=t}function xs(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.children,i=t.children;if(fn(r)&&fn(i))for(var a=0;a<r.length;a++){var o=r[a],s=i[a];1&s.shapeFlag&&!s.dynamicChildren&&((s.patchFlag<=0||32===s.patchFlag)&&((s=i[a]=$s(i[a])).el=o.el),n||xs(o,s)),s.type===Ts&&(s.el=o.el)}}var Ss=e=>e.__isTeleport,ks=Symbol(void 0),Ts=Symbol(void 0),Es=Symbol(void 0),Cs=Symbol(void 0);function Ms(e){e}function Os(e){return!!e&&!0===e.__v_isVNode}function Is(e,t){return e.type===t.type&&e.key===t.key}var Ls="__vInternal",As=e=>{var{key:t}=e;return null!=t?t:null},Ns=e=>{var{ref:t,ref_key:n,ref_for:r}=e;return null!=t?gn(t)||Sa(t)||vn(t)?{i:to,r:t,k:n,f:!!r}:t:null};function Bs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e===ks?0:1,o=arguments.length>7&&void 0!==arguments[7]&&arguments[7],s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&As(t),ref:t&&Ns(t),scopeId:no,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:to};return o?(js(s,n),128&a&&e.normalize(s)):n&&(s.shapeFlag|=gn(n)?8:16),s}var Rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];e&&e!==Fo||(e=Es);if(Os(e)){var o=Ds(e,t,!0);return n&&js(o,n),o.patchFlag|=-2,o}nl(e)&&(e=e.__vccOpts);if(t){t=Ps(t);var{class:s,style:l}=t;s&&!gn(s)&&(t.class=Zt(s)),_n(l)&&(ga(l)&&!fn(l)&&(l=un({},l)),t.style=Ht(l))}var u=gn(e)?1:lo(e)?128:Ss(e)?64:_n(e)?4:vn(e)?2:0;return Bs(e,t,n,r,i,u,a,!0)};function Ps(e){return e?ga(e)||Ls in e?un({},e):e:null}function Ds(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{props:r,ref:i,patchFlag:a,children:o}=e,s=t?Ws(r||{},t):r,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&As(s),ref:t&&t.ref?n&&i?fn(i)?i.concat(Ns(t)):[i,Ns(t)]:Ns(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ks?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ds(e.ssContent),ssFallback:e.ssFallback&&Ds(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx};return l}function zs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Rs(Ts,null,e,t)}function Fs(e){return null==e||"boolean"==typeof e?Rs(Es):fn(e)?Rs(ks,null,e.slice()):"object"==typeof e?$s(e):Rs(Ts,null,String(e))}function $s(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Ds(e)}function js(e,t){var n=0,{shapeFlag:r}=e;if(null==t)t=null;else if(fn(t))n=16;else if("object"==typeof t){if(65&r){var i=t.default;return void(i&&(i._c&&(i._d=!1),js(e,i()),i._c&&(i._d=!0)))}n=32;var a=t._;a||Ls in t?3===a&&to&&(1===to.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=to}else vn(t)?(t={default:t,_ctx:to},n=32):(t=String(t),64&r?(n=16,t=[zs(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ws(){for(var e={},t=0;t<arguments.length;t++){var n=t<0||arguments.length<=t?void 0:arguments[t];for(var r in n)if("class"===r)e.class!==n.class&&(e.class=Zt([e.class,n.class]));else if("style"===r)e.style=Ht([e.style,n.style]);else if(sn(r)){var i=e[r],a=n[r];!a||i===a||fn(i)&&i.includes(a)||(e[r]=i?[].concat(i,a):a)}else""!==r&&(e[r]=n[r])}return e}function Vs(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;Na(e,t,7,[n,r])}var Hs=vs(),Us=0;var qs=null,Ys=()=>qs||to,Xs=e=>{qs=e,e.scope.on()},Zs=()=>{qs&&qs.scope.off(),qs=null};function Gs(e){return 4&e.vnode.shapeFlag}var Ks=!1;function Js(e,t){var n=e.type;e.accessCache=Object.create(null),e.proxy=_a(new Proxy(e.ctx,Vo));var{setup:r}=n;if(r){var i=e.setupContext=r.length>1?function(e){var t,n=t=>{e.exposed=t||{}};return{get attrs(){return t||(t=function(e){return new Proxy(e.attrs,{get:(t,n)=>(bi(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:n}}(e):null;Xs(e),_i();var a=Aa(r,e,0,[e.props,i]);if(yi(),Zs(),yn(a)){if(a.then(Zs,Zs),t)return a.then((n=>{Qs(e,n,t)})).catch((t=>{Ba(t,e,0)}));e.asyncDep=a}else Qs(e,a,t)}else el(e,t)}function Qs(e,t,n){vn(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_n(t)&&(e.setupState=Ia(t)),el(e,n)}function el(e,t,n){var r=e.type;e.render||(e.render=r.render||rn);Xs(e),_i(),Uo(e),yi(),Zs()}function tl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ia(_a(e.exposed)),{get:(t,n)=>n in t?t[n]:n in jo?jo[n](e):void 0,has:(e,t)=>t in e||t in jo}))}function nl(e){return vn(e)&&"__vccOpts"in e}var rl=(e,t)=>function(e,t){var n,r,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=vn(e);return a?(n=e,r=rn):(n=e.get,r=e.set),new La(n,r,a||!r,i)}(e,t,Ks);function il(e,t,n){var r=arguments.length;return 2===r?_n(t)&&!fn(t)?Os(t)?Rs(e,null,[t]):Rs(e,t):Rs(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Os(n)&&(n=[n]),Rs(e,t,n))}var al=Symbol(""),ol=()=>co(al),sl="3.2.45",ll="undefined"!=typeof document?document:null,ul=ll&&ll.createElement("template"),cl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{var t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{var i=t?ll.createElementNS("http://www.w3.org/2000/svg",e):ll.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:e=>ll.createTextNode(e),createComment:e=>ll.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ll.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,a){var o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==a&&(i=i.nextSibling););else{ul.innerHTML=r?"<svg>".concat(e,"</svg>"):e;var s=ul.content;if(r){for(var l=s.firstChild;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function dl(e,t,n){var r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function hl(e,t,n){var r=e.style,i=gn(n);if(n&&!i){for(var a in n)pl(r,a,n[a]);if(t&&!gn(t))for(var o in t)null==n[o]&&pl(r,o,"")}else{var s=r.display;i?t!==n&&(r.cssText=normalizeStyleValue(n)):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}var fl=/\s*!important$/;function pl(e,t,n){if(fn(n))n.forEach((n=>pl(e,t,n)));else if(null==n&&(n=""),n=normalizeStyleValue(n),t.startsWith("--"))e.setProperty(t,n);else{var r=normalizeStyleName(e,t);fl.test(n)?e.setProperty(On(r),n.replace(fl,""),"important"):e[r]=n}}var vl="http://www.w3.org/1999/xlink";function gl(e,t,n,r,i){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(vl,t.slice(6,t.length)):e.setAttributeNS(vl,t,n);else{var a=Gt(t);null==n||a&&!Kt(n)?e.removeAttribute(t):e.setAttribute(t,a?"":n)}}function ml(e,t,n,r,i,a,o){if("innerHTML"===t||"textContent"===t)return r&&o(r,i,a),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;var s=null==n?"":n;return e.value===s&&"OPTION"!==e.tagName||(e.value=s),void(null==n&&e.removeAttribute(t))}var l=!1;if(""===n||null==n){var u=typeof e[t];"boolean"===u?n=Kt(n):null==n&&"string"===u?(n="",l=!0):"number"===u&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}function _l(e,t,n,r){e.addEventListener(t,n,r)}function yl(e,t,n,r){e.removeEventListener(t,n,r)}function bl(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=e._vei||(e._vei={}),o=a[t];if(r&&o)o.value=r;else{var[s,l]=xl(t);if(r){var u=a[t]=Tl(r,i);_l(e,s,u,l)}else o&&(yl(e,s,o,l),a[t]=void 0)}}var wl=/(?:Once|Passive|Capture)$/;function xl(e){var t,n;if(wl.test(e))for(t={};n=e.match(wl);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0;return[":"===e[2]?e.slice(3):On(e.slice(2)),t]}var Sl=0,kl=Promise.resolve();function Tl(e,t){var n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Na(function(e,t){if(fn(t)){var n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=Sl||(kl.then((()=>Sl=0)),Sl=Date.now()),n}var El=/^on[a-z]/;function Cl(e,t,n,r){return r?"innerHTML"===t||"textContent"===t||!!(t in e&&El.test(t)&&vn(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!El.test(t)||!gn(n))&&t in e))))}var Ml=["ctrl","shift","alt","meta"],Ol={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)=>Ml.some((n=>e["".concat(n,"Key")]&&!t.includes(n)))},Il=(e,t)=>function(n){for(var r=0;r<t.length;r++){var i=Ol[t[r]];if(i&&i(n,t))return}for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];return e(n,...o)},Ll={beforeMount(e,t,n){var{value:r}=t,{transition:i}=n;e._vod="none"===e.style.display?"":e.style.display,i&&r?i.beforeEnter(e):Al(e,r)},mounted(e,t,n){var{value:r}=t,{transition:i}=n;i&&r&&i.enter(e)},updated(e,t,n){var{value:r,oldValue:i}=t,{transition:a}=n;!r!=!i&&(a?r?(a.beforeEnter(e),Al(e,!0),a.enter(e)):a.leave(e,(()=>{Al(e,!1)})):Al(e,r))},beforeUnmount(e,t){var{value:n}=t;Al(e,n)}};function Al(e,t){e.style.display=t?e._vod:"none"}var Nl,Bl=un({patchProp:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0;"class"===t?dl(e,r,i):"style"===t?hl(e,n,r):sn(t)?ln(t)||bl(e,t,n,r,o):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):Cl(e,t,r,i))?ml(e,t,r,a,o,s,l):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),gl(e,t,r,i))}},cl);function Rl(){return Nl||(Nl=bs(Bl))}var Pl=function(){var e=Rl().createApp(...arguments),{mount:t}=e;return e.mount=n=>{var r=Dl(n);if(r){var i=e._component;vn(i)||i.render||i.template||(i.template=r.innerHTML),r.innerHTML="";var a=t(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a}},e};function Dl(e){return gn(e)?document.querySelector(e):e}var zl,Fl,$l=["top","left","right","bottom"],jl={};function Wl(){return Fl="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 Vl(){if(Fl="string"==typeof Fl?Fl:Wl()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(s){}var r=document.createElement("div");i(r,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),$l.forEach((function(e){o(r,e)})),document.body.appendChild(r),a(),zl=!0}else $l.forEach((function(e){jl[e]=0}));function i(e,t){var n=e.style;Object.keys(t).forEach((function(e){var r=t[e];n[e]=r}))}function a(t){t?e.push(t):e.forEach((function(e){e()}))}function o(e,n){var r=document.createElement("div"),o=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),u={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Fl+"(safe-area-inset-"+n+")"};i(r,u),i(o,u),i(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),i(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),r.appendChild(s),o.appendChild(l),e.appendChild(r),e.appendChild(o),a((function(){r.scrollTop=o.scrollTop=1e4;var e=r.scrollTop,i=o.scrollTop;function a(){this.scrollTop!==(this===r?e:i)&&(r.scrollTop=o.scrollTop=1e4,e=r.scrollTop,i=o.scrollTop,function(e){Ul.length||setTimeout((function(){var e={};Ul.forEach((function(t){e[t]=jl[t]})),Ul.length=0,ql.forEach((function(t){t(e)}))}),0);Ul.push(e)}(n))}r.addEventListener("scroll",a,t),o.addEventListener("scroll",a,t)}));var c=getComputedStyle(r);Object.defineProperty(jl,n,{configurable:!0,get:function(){return parseFloat(c.paddingBottom)}})}}function Hl(e){return zl||Vl(),jl[e]}var Ul=[];var ql=[];var Yl={get support(){return 0!=("string"==typeof Fl?Fl:Wl()).length},get top(){return Hl("top")},get left(){return Hl("left")},get right(){return Hl("right")},get bottom(){return Hl("bottom")},onChange:function(e){Wl()&&(zl||Vl(),"function"==typeof e&&ql.push(e))},offChange:function(e){var t=ql.indexOf(e);t>=0&&ql.splice(t,1)}},Xl=Il((()=>{}),["prevent"]);function Zl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Gl(){var e=Zl(document.documentElement.style,"--window-top");return e?e+Yl.top:0}function Kl(e){return Symbol(e)}function Jl(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Ql(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return eu(e);if(gn(e)){var n=parseInt(e)||0;return Jl(e)?uni.upx2px(n):n}return e}function eu(e){return Jl(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>uni.upx2px(parseFloat(t))+"px")):e}var tu,nu="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";function ru(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#000",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:27;return Rs("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Rs("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function iu(){return au()}function au(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function ou(e){e.preventDefault()}var su,lu,uu,cu,du,hu=0;function fu(e){var{onPageScroll:t,onReachBottom:n,onReachBottomDistance:r}=e,i=!1,a=!1,o=!0,s=()=>{function e(){if((()=>{var{scrollHeight:e}=document.documentElement,t=window.innerHeight,n=window.scrollY,i=n>0&&e>t&&n+t+r>=e,o=Math.abs(e-hu)>r;return!i||a&&!o?(!i&&a&&(a=!1),!1):(hu=e,a=!0,!0)})())return n&&n(),o=!1,setTimeout((function(){o=!0}),350),!0}t&&t(window.pageYOffset),n&&o&&(e()||(tu=setTimeout(e,300))),i=!1};return function(){clearTimeout(tu),i||requestAnimationFrame(s),i=!0}}function pu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return pu(e,t.slice(2));for(var n=t.split("/"),r=n.length,i=0;i<r&&".."===n[i];i++);n.splice(0,i),t=n.join("/");var a=e.length>0?e.split("/"):[];return a.splice(a.length-i-1,i+1),Kn(a.concat(n).join("/"))}function vu(){return"object"==typeof window&&"object"==typeof navigator&&"object"==typeof document?"webview":"v8"}function gu(){return su.webview.currentWebview().id}var mu={};function _u(e){var t=e.data&&e.data.__message;if(t&&t.__page){var n=t.__page,r=mu[n];r&&r(t),t.keep||delete mu[n]}}class yu{constructor(e){this.webview=e}sendMessage(e){var t=JSON.parse(JSON.stringify({__message:{data:e}})),n=this.webview.id;uu?new uu(n).postMessage(t):su.webview.postMessageToUniNView&&su.webview.postMessageToUniNView(t,n)}close(){this.webview.close()}}function bu(e){var{context:t={},url:n,data:r={},style:i={},onMessage:a,onClose:o}=e;su=t.plus||plus,lu=t.weex||("object"==typeof weex?weex:null),uu=t.BroadcastChannel||("object"==typeof BroadcastChannel?BroadcastChannel:null);var s="page".concat(Date.now());!1!==(i=un({},i)).titleNView&&"none"!==i.titleNView&&(i.titleNView=un({autoBackButton:!0,titleSize:"17px"},i.titleNView));var l={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"/".concat(n,".js"),defaultFontSize:16,viewport:su.screen.resolutionWidth}};i=un(l,i);var u=su.webview.create("",s,i,{extras:{from:gu(),runtime:vu(),data:r,useGlobalEvent:!uu}});return u.addEventListener("close",o),function(e,t){"v8"===vu()?uu?(cu&&cu.close(),(cu=new uu(gu())).onmessage=_u):du||(du=lu.requireModule("globalEvent")).addEventListener("plusMessage",_u):window.__plusMessage=_u,mu[e]=t}(s,(e=>{vn(a)&&a(e.data),e.keep||u.close("auto")})),u.show(i.animationType,i.animationDuration),new yu(u)}class wu{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=e.$el,this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(this.$el&&e){var t=ku(this.$el.querySelector(e));if(t)return xu(t)}}selectAllComponents(e){if(!this.$el||!e)return[];for(var t=[],n=this.$el.querySelectorAll(e),r=0;r<n.length;r++){var i=ku(n[r]);i&&t.push(xu(i))}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(){var{__wxsAddClass:e}=this.$el;e.length&&(this.$el.className=e.join(" "))}updateWxsStyle(){var{__wxsStyle:e}=this.$el;e&&this.$el.setAttribute("style",function(e){var t="";if(!e||gn(e))return t;for(var n in e){var r=e[n],i=n.startsWith("--")?n:On(n);(gn(r)||"number"==typeof r)&&(t+="".concat(i,":").concat(r,";"))}return t}(e))}setStyle(e){return this.$el&&e?(gn(e)&&(e=Xt(e)),xn(e)&&(this.$el.__wxsStyle=e,this.forceUpdate("style")),this):this}addClass(e){if(!this.$el||!e)return this;var 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;var{__wxsAddClass:t}=this.$el;if(t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var r=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===r.indexOf(e)&&(r.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){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.$vm[e];vn(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&UniViewJSBridge.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){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){var t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce(((e,n)=>(e[n]=t[n],e)),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function xu(e){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new wu(e)),e.$el.__wxsComponentDescriptor}function Su(e,t){return xu(e)}function ku(e){if(e)return Tu(e)}function Tu(e){return e.__wxsVm||(e.__wxsVm={ownerId:e.__ownerId,$el:e,$emit(){},$forceUpdate(){var t,n,{__wxsStyle:r,__wxsAddClass:i,__wxsRemoveClass:a,__wxsStyleChanged:o,__wxsClassChanged:s}=e;o&&(e.__wxsStyleChanged=!1,r&&(n=()=>{Object.keys(r).forEach((t=>{e.style[t]=r[t]}))})),s&&(e.__wxsClassChanged=!1,t=()=>{a&&a.forEach((t=>{e.classList.remove(t)})),i&&i.forEach((t=>{e.classList.add(t)}))}),requestAnimationFrame((()=>{t&&t(),n&&n()}))}})}function Eu(e,t,n){var{currentTarget:r}=e;if(!(e instanceof Event&&r instanceof HTMLElement))return[e];var i=Mu(e,0!==r.tagName.indexOf("UNI-"));if("click"===e.type)!function(e,t){var{x:n,y:r}=t,i=Gl();e.detail={x:n,y:r-i},e.touches=e.changedTouches=[Ou(t,i)]}(i,e);else if(e instanceof TouchEvent){var a=Gl();i.touches=Iu(e.touches,a),i.changedTouches=Iu(e.changedTouches,a)}return[i]}function Cu(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}function Mu(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{type:n,timeStamp:r,target:i,currentTarget:a}=e,o={type:n,timeStamp:r,target:ir(t?i:Cu(i)),detail:{},currentTarget:ir(a)};return e._stopped&&(o._stopped=!0),e.type.startsWith("touch")&&(o.touches=e.touches,o.changedTouches=e.changedTouches),o}function Ou(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Iu(e,t){for(var n=[],r=0;r<e.length;r++){var{identifier:i,pageX:a,pageY:o,clientX:s,clientY:l,force:u}=e[r];n.push({identifier:i,pageX:a,pageY:o-t,clientX:s,clientY:l-t,force:u||0})}return n}var Lu="vdSync",Au="__uniapp__service",Nu="onWebviewReady",Bu=un(Yr,{publishHandler:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=au()+"";plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:e,data:t,pageId:n}},Au)}});function Ru(e,t,n,r){if(r&&r.beforeInvoke){var i=r.beforeInvoke(t);if(gn(i))return i}var a=function(e,t){var n=e[0];if(t&&(xn(t.formatArgs)||!xn(n)))for(var r=t.formatArgs,i=Object.keys(r),a=0;a<i.length;a++){var o=i[a],s=r[o];if(vn(s)){var l=s(e[0][o],n);if(gn(l))return l}else hn(n,o)||(n[o]=s)}}(t,r);if(a)return a}function Pu(e,t,n,r){return function(e,t,n,r){return function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var a=Ru(0,n,0,r);if(a)throw new Error(a);return t.apply(null,n)}}(0,t,0,r)}function Du(){if("undefined"!=typeof __SYSTEM_INFO__)return window.__SYSTEM_INFO__;var{resolutionWidth:e}=plus.screen.getCurrentSize()||{resolutionWidth:0};return{platform:(plus.os.name||"").toLowerCase(),pixelRatio:plus.screen.scale,windowWidth:Math.round(e)}}function zu(e){if(0===e.indexOf("//"))return"https:"+e;if(Hn.test(e)||Un.test(e))return e;if(function(e){if(0===e.indexOf("_www")||0===e.indexOf("_doc")||0===e.indexOf("_documents")||0===e.indexOf("_downloads"))return!0;return!1}(e))return"file://"+Fu(e);var t="file://"+Fu("_www");if(0===e.indexOf("/"))return e.startsWith("/storage/")||e.startsWith("/sdcard/")||e.includes("/Containers/Data/Application/")?"file://"+e:t+e;if(0===e.indexOf("../")||0===e.indexOf("./")){if("string"==typeof __id__)return t+pu(Kn(__id__),e);var n=window.__PAGE_INFO__;if(n)return t+pu(Kn(n.route),e)}return e}var Fu=function(e){var t=Object.create(null);return n=>t[n]||(t[n]=e(n))}((e=>plus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,"")));var $u=0;function ju(e){return function(e){return new Promise((function(t,n){0===e.indexOf("http://")||0===e.indexOf("https://")?plus.downloader.createDownload(e,{filename:"".concat("_doc/uniapp_temp","/download/")},(function(e,r){200===r?t(e.filename):n(new Error("network fail"))})).start():t(e)}))}(e).then((function(e){var t,n=window;return n.webkit&&n.webkit.messageHandlers?(t=e,new Promise((function(e,n){function r(){var r=new plus.nativeObj.Bitmap("bitmap_".concat(Date.now(),"_").concat(Math.random(),"}"));r.load(t,(function(){e(r.toBase64Data()),r.clear()}),(function(e){r.clear(),n(e)}))}plus.io.resolveLocalFileSystemURL(t,(function(t){t.file((function(t){var n=new plus.io.FileReader;n.onload=function(t){e(t.target.result)},n.onerror=r,n.readAsDataURL(t)}),r)}),r)}))):plus.io.convertLocalFileSystemURL(e)}))}var Wu={};!function(e){var t="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var i in r)n(r,i)&&(e[i]=r[i])}}return e},e.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var r={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){var t,n,r,i,a,o;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(o=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)a=e[t],o.set(a,i),i+=a.length;return o}},i={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,r)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(t)}(Wu);var Vu={},Hu={},Uu={},qu=Wu;function Yu(e){for(var t=e.length;--t>=0;)e[t]=0}var Xu=256,Zu=286,Gu=30,Ku=15,Ju=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Qu=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],ec=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],tc=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],nc=new Array(576);Yu(nc);var rc=new Array(60);Yu(rc);var ic=new Array(512);Yu(ic);var ac=new Array(256);Yu(ac);var oc=new Array(29);Yu(oc);var sc,lc,uc,cc=new Array(Gu);function dc(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function hc(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function fc(e){return e<256?ic[e]:ic[256+(e>>>7)]}function pc(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function vc(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,pc(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function gc(e,t,n){vc(e,n[2*t],n[2*t+1])}function mc(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function _c(e,t,n){var r,i,a=new Array(16),o=0;for(r=1;r<=Ku;r++)a[r]=o=o+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=mc(a[s]++,s))}}function yc(e){var t;for(t=0;t<Zu;t++)e.dyn_ltree[2*t]=0;for(t=0;t<Gu;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function bc(e){e.bi_valid>8?pc(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function wc(e,t,n,r){var i=2*t,a=2*n;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function xc(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&wc(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!wc(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function Sc(e,t,n){var r,i,a,o,s=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===r?gc(e,i,t):(gc(e,(a=ac[i])+Xu+1,t),0!==(o=Ju[a])&&vc(e,i-=oc[a],o),gc(e,a=fc(--r),n),0!==(o=Qu[a])&&vc(e,r-=cc[a],o))}while(s<e.last_lit);gc(e,256,t)}function kc(e,t){var n,r,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<l;n++)0!==a[2*n]?(e.heap[++e.heap_len]=u=n,e.depth[n]=0):a[2*n+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=u,n=e.heap_len>>1;n>=1;n--)xc(e,a,n);i=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],xc(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,xc(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,a,o,s,l=t.dyn_tree,u=t.max_code,c=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,p=t.stat_desc.max_length,v=0;for(a=0;a<=Ku;a++)e.bl_count[a]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(a=l[2*l[2*(r=e.heap[n])+1]+1]+1)>p&&(a=p,v++),l[2*r+1]=a,r>u||(e.bl_count[a]++,o=0,r>=f&&(o=h[r-f]),s=l[2*r],e.opt_len+=s*(a+o),d&&(e.static_len+=s*(c[2*r+1]+o)));if(0!==v){do{for(a=p-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[p]--,v-=2}while(v>0);for(a=p;0!==a;a--)for(r=e.bl_count[a];0!==r;)(i=e.heap[--n])>u||(l[2*i+1]!==a&&(e.opt_len+=(a-l[2*i+1])*l[2*i],l[2*i+1]=a),r--)}}(e,t),_c(a,u,e.bl_count)}function Tc(e,t,n){var r,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=o,o=t[2*(r+1)+1],++s<l&&i===o||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,a=i,0===o?(l=138,u=3):i===o?(l=6,u=3):(l=7,u=4))}function Ec(e,t,n){var r,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),r=0;r<=n;r++)if(i=o,o=t[2*(r+1)+1],!(++s<l&&i===o)){if(s<u)do{gc(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==a&&(gc(e,i,e.bl_tree),s--),gc(e,16,e.bl_tree),vc(e,s-3,2)):s<=10?(gc(e,17,e.bl_tree),vc(e,s-3,3)):(gc(e,18,e.bl_tree),vc(e,s-11,7));s=0,a=i,0===o?(l=138,u=3):i===o?(l=6,u=3):(l=7,u=4)}}Yu(cc);var Cc=!1;function Mc(e,t,n,r){vc(e,0+(r?1:0),3),function(e,t,n,r){bc(e),r&&(pc(e,n),pc(e,~n)),qu.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}Uu._tr_init=function(e){Cc||(!function(){var e,t,n,r,i,a=new Array(16);for(n=0,r=0;r<28;r++)for(oc[r]=n,e=0;e<1<<Ju[r];e++)ac[n++]=r;for(ac[n-1]=r,i=0,r=0;r<16;r++)for(cc[r]=i,e=0;e<1<<Qu[r];e++)ic[i++]=r;for(i>>=7;r<Gu;r++)for(cc[r]=i<<7,e=0;e<1<<Qu[r]-7;e++)ic[256+i++]=r;for(t=0;t<=Ku;t++)a[t]=0;for(e=0;e<=143;)nc[2*e+1]=8,e++,a[8]++;for(;e<=255;)nc[2*e+1]=9,e++,a[9]++;for(;e<=279;)nc[2*e+1]=7,e++,a[7]++;for(;e<=287;)nc[2*e+1]=8,e++,a[8]++;for(_c(nc,287,a),e=0;e<Gu;e++)rc[2*e+1]=5,rc[2*e]=mc(e,5);sc=new dc(nc,Ju,257,Zu,Ku),lc=new dc(rc,Qu,0,Gu,Ku),uc=new dc(new Array(0),ec,0,19,7)}(),Cc=!0),e.l_desc=new hc(e.dyn_ltree,sc),e.d_desc=new hc(e.dyn_dtree,lc),e.bl_desc=new hc(e.bl_tree,uc),e.bi_buf=0,e.bi_valid=0,yc(e)},Uu._tr_stored_block=Mc,Uu._tr_flush_block=function(e,t,n,r){var i,a,o=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<Xu;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),kc(e,e.l_desc),kc(e,e.d_desc),o=function(e){var t;for(Tc(e,e.dyn_ltree,e.l_desc.max_code),Tc(e,e.dyn_dtree,e.d_desc.max_code),kc(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*tc[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=n+5,n+4<=i&&-1!==t?Mc(e,t,n,r):4===e.strategy||a===i?(vc(e,2+(r?1:0),3),Sc(e,nc,rc)):(vc(e,4+(r?1:0),3),function(e,t,n,r){var i;for(vc(e,t-257,5),vc(e,n-1,5),vc(e,r-4,4),i=0;i<r;i++)vc(e,e.bl_tree[2*tc[i]+1],3);Ec(e,e.dyn_ltree,t-1),Ec(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),Sc(e,e.dyn_ltree,e.dyn_dtree)),yc(e),r&&bc(e)},Uu._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(ac[n]+Xu+1)]++,e.dyn_dtree[2*fc(t)]++),e.last_lit===e.lit_bufsize-1},Uu._tr_align=function(e){vc(e,2,3),gc(e,256,nc),function(e){16===e.bi_valid?(pc(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)};var Oc=function(e,t,n,r){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;0!==n;){n-=o=n>2e3?2e3:n;do{a=a+(i=i+t[r++]|0)|0}while(--o);i%=65521,a%=65521}return i|a<<16|0};var Ic=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();var Lc,Ac=function(e,t,n,r){var i=Ic,a=r+n;e^=-1;for(var o=r;o<a;o++)e=e>>>8^i[255&(e^t[o])];return-1^e},Nc={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Bc=Wu,Rc=Uu,Pc=Oc,Dc=Ac,zc=Nc,Fc=-2,$c=258,jc=262,Wc=103,Vc=113,Hc=666;function Uc(e,t){return e.msg=zc[t],t}function qc(e){return(e<<1)-(e>4?9:0)}function Yc(e){for(var t=e.length;--t>=0;)e[t]=0}function Xc(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(Bc.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function Zc(e,t){Rc._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Xc(e.strm)}function Gc(e,t){e.pending_buf[e.pending++]=t}function Kc(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function Jc(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-jc?e.strstart-(e.w_size-jc):0,u=e.window,c=e.w_mask,d=e.prev,h=e.strstart+$c,f=u[a+o-1],p=u[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(n=t)+o]===p&&u[n+o-1]===f&&u[n]===u[a]&&u[++n]===u[a+1]){a+=2,n++;do{}while(u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&a<h);if(r=$c-(h-a),a=h-$c,r>o){if(e.match_start=t,o=r,r>=s)break;f=u[a+o-1],p=u[a+o]}}}while((t=d[t&c])>l&&0!=--i);return o<=e.lookahead?o:e.lookahead}function Qc(e){var t,n,r,i,a,o,s,l,u,c,d=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=d+(d-jc)){Bc.arraySet(e.window,e.window,d,d,0),e.match_start-=d,e.strstart-=d,e.block_start-=d,t=n=e.hash_size;do{r=e.head[--t],e.head[t]=r>=d?r-d:0}while(--n);t=n=d;do{r=e.prev[--t],e.prev[t]=r>=d?r-d:0}while(--n);i+=d}if(0===e.strm.avail_in)break;if(o=e.strm,s=e.window,l=e.strstart+e.lookahead,u=i,c=void 0,(c=o.avail_in)>u&&(c=u),n=0===c?0:(o.avail_in-=c,Bc.arraySet(s,o.input,o.next_in,c,l),1===o.state.wrap?o.adler=Pc(o.adler,s,c,l):2===o.state.wrap&&(o.adler=Dc(o.adler,s,c,l)),o.next_in+=c,o.total_in+=c,c),e.lookahead+=n,e.lookahead+e.insert>=3)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+3-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<jc&&0!==e.strm.avail_in)}function ed(e,t){for(var n,r;;){if(e.lookahead<jc){if(Qc(e),e.lookahead<jc&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-jc&&(e.match_length=Jc(e,n)),e.match_length>=3)if(r=Rc._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=Rc._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(Zc(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(Zc(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Zc(e,!1),0===e.strm.avail_out)?1:2}function td(e,t){for(var n,r,i;;){if(e.lookahead<jc){if(Qc(e),e.lookahead<jc&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-jc&&(e.match_length=Jc(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=Rc._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(Zc(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=Rc._tr_tally(e,0,e.window[e.strstart-1]))&&Zc(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=Rc._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(Zc(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Zc(e,!1),0===e.strm.avail_out)?1:2}function nd(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function rd(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Bc.Buf16(1146),this.dyn_dtree=new Bc.Buf16(122),this.bl_tree=new Bc.Buf16(78),Yc(this.dyn_ltree),Yc(this.dyn_dtree),Yc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Bc.Buf16(16),this.heap=new Bc.Buf16(573),Yc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Bc.Buf16(573),Yc(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function id(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:Vc,e.adler=2===t.wrap?0:1,t.last_flush=0,Rc._tr_init(t),0):Uc(e,Fc)}function ad(e){var t,n=id(e);return 0===n&&((t=e.state).window_size=2*t.w_size,Yc(t.head),t.max_lazy_match=Lc[t.level].max_lazy,t.good_match=Lc[t.level].good_length,t.nice_match=Lc[t.level].nice_length,t.max_chain_length=Lc[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function od(e,t,n,r,i,a){if(!e)return Fc;var o=1;if(-1===t&&(t=6),r<0?(o=0,r=-r):r>15&&(o=2,r-=16),i<1||i>9||8!==n||r<8||r>15||t<0||t>9||a<0||a>4)return Uc(e,Fc);8===r&&(r=9);var s=new rd;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Bc.Buf8(2*s.w_size),s.head=new Bc.Buf16(s.hash_size),s.prev=new Bc.Buf16(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Bc.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=n,ad(e)}Lc=[new nd(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Qc(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,Zc(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-jc&&(Zc(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Zc(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(Zc(e,!1),e.strm.avail_out),1)})),new nd(4,4,8,4,ed),new nd(4,5,16,8,ed),new nd(4,6,32,32,ed),new nd(4,4,16,16,td),new nd(8,16,32,32,td),new nd(8,16,128,128,td),new nd(8,32,128,256,td),new nd(32,128,258,1024,td),new nd(32,258,258,4096,td)],Hu.deflateInit=function(e,t){return od(e,t,8,15,8,0)},Hu.deflateInit2=od,Hu.deflateReset=ad,Hu.deflateResetKeep=id,Hu.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?Fc:(e.state.gzhead=t,0):Fc},Hu.deflate=function(e,t){var n,r,i,a;if(!e||!e.state||t>5||t<0)return e?Uc(e,Fc):Fc;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||r.status===Hc&&4!==t)return Uc(e,0===e.avail_out?-5:Fc);if(r.strm=e,n=r.last_flush,r.last_flush=t,42===r.status)if(2===r.wrap)e.adler=0,Gc(r,31),Gc(r,139),Gc(r,8),r.gzhead?(Gc(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Gc(r,255&r.gzhead.time),Gc(r,r.gzhead.time>>8&255),Gc(r,r.gzhead.time>>16&255),Gc(r,r.gzhead.time>>24&255),Gc(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Gc(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Gc(r,255&r.gzhead.extra.length),Gc(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=Dc(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Gc(r,0),Gc(r,0),Gc(r,0),Gc(r,0),Gc(r,0),Gc(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Gc(r,3),r.status=Vc);else{var o=8+(r.w_bits-8<<4)<<8;o|=(r.strategy>=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(o|=32),o+=31-o%31,r.status=Vc,Kc(r,o),0!==r.strstart&&(Kc(r,e.adler>>>16),Kc(r,65535&e.adler)),e.adler=1}if(69===r.status)if(r.gzhead.extra){for(i=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>i&&(e.adler=Dc(e.adler,r.pending_buf,r.pending-i,i)),Xc(e),i=r.pending,r.pending!==r.pending_buf_size));)Gc(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>i&&(e.adler=Dc(e.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=Dc(e.adler,r.pending_buf,r.pending-i,i)),Xc(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}a=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Gc(r,a)}while(0!==a);r.gzhead.hcrc&&r.pending>i&&(e.adler=Dc(e.adler,r.pending_buf,r.pending-i,i)),0===a&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=Dc(e.adler,r.pending_buf,r.pending-i,i)),Xc(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}a=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Gc(r,a)}while(0!==a);r.gzhead.hcrc&&r.pending>i&&(e.adler=Dc(e.adler,r.pending_buf,r.pending-i,i)),0===a&&(r.status=Wc)}else r.status=Wc;if(r.status===Wc&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&Xc(e),r.pending+2<=r.pending_buf_size&&(Gc(r,255&e.adler),Gc(r,e.adler>>8&255),e.adler=0,r.status=Vc)):r.status=Vc),0!==r.pending){if(Xc(e),0===e.avail_out)return r.last_flush=-1,0}else if(0===e.avail_in&&qc(t)<=qc(n)&&4!==t)return Uc(e,-5);if(r.status===Hc&&0!==e.avail_in)return Uc(e,-5);if(0!==e.avail_in||0!==r.lookahead||0!==t&&r.status!==Hc){var s=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(Qc(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=Rc._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(Zc(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Zc(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Zc(e,!1),0===e.strm.avail_out)?1:2}(r,t):3===r.strategy?function(e,t){for(var n,r,i,a,o=e.window;;){if(e.lookahead<=$c){if(Qc(e),e.lookahead<=$c&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=o[i=e.strstart-1])===o[++i]&&r===o[++i]&&r===o[++i]){a=e.strstart+$c;do{}while(r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&i<a);e.match_length=$c-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=Rc._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Rc._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(Zc(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Zc(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Zc(e,!1),0===e.strm.avail_out)?1:2}(r,t):Lc[r.level].func(r,t);if(3!==s&&4!==s||(r.status=Hc),1===s||3===s)return 0===e.avail_out&&(r.last_flush=-1),0;if(2===s&&(1===t?Rc._tr_align(r):5!==t&&(Rc._tr_stored_block(r,0,0,!1),3===t&&(Yc(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),Xc(e),0===e.avail_out))return r.last_flush=-1,0}return 4!==t?0:r.wrap<=0?1:(2===r.wrap?(Gc(r,255&e.adler),Gc(r,e.adler>>8&255),Gc(r,e.adler>>16&255),Gc(r,e.adler>>24&255),Gc(r,255&e.total_in),Gc(r,e.total_in>>8&255),Gc(r,e.total_in>>16&255),Gc(r,e.total_in>>24&255)):(Kc(r,e.adler>>>16),Kc(r,65535&e.adler)),Xc(e),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},Hu.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==Wc&&t!==Vc&&t!==Hc?Uc(e,Fc):(e.state=null,t===Vc?Uc(e,-3):0):Fc},Hu.deflateSetDictionary=function(e,t){var n,r,i,a,o,s,l,u,c=t.length;if(!e||!e.state)return Fc;if(2===(a=(n=e.state).wrap)||1===a&&42!==n.status||n.lookahead)return Fc;for(1===a&&(e.adler=Pc(e.adler,t,c,0)),n.wrap=0,c>=n.w_size&&(0===a&&(Yc(n.head),n.strstart=0,n.block_start=0,n.insert=0),u=new Bc.Buf8(n.w_size),Bc.arraySet(u,t,c-n.w_size,n.w_size,0),t=u,c=n.w_size),o=e.avail_in,s=e.next_in,l=e.input,e.avail_in=c,e.next_in=0,e.input=t,Qc(n);n.lookahead>=3;){r=n.strstart,i=n.lookahead-2;do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--i);n.strstart=r,n.lookahead=2,Qc(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=s,e.input=l,e.avail_in=o,n.wrap=a,0},Hu.deflateInfo="pako deflate (from Nodeca project)";var sd={},ld=Wu,ud=!0,cd=!0;try{String.fromCharCode.apply(null,[0])}catch(Am){ud=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(Am){cd=!1}for(var dd=new ld.Buf8(256),hd=0;hd<256;hd++)dd[hd]=hd>=252?6:hd>=248?5:hd>=240?4:hd>=224?3:hd>=192?2:1;function fd(e,t){if(t<65534&&(e.subarray&&cd||!e.subarray&&ud))return String.fromCharCode.apply(null,ld.shrinkBuf(e,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}dd[254]=dd[254]=1,sd.string2buf=function(e){var t,n,r,i,a,o=e.length,s=0;for(i=0;i<o;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<o&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new ld.Buf8(s),a=0,i=0;a<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<o&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|63&n):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|63&n):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|63&n);return t},sd.buf2binstring=function(e){return fd(e,e.length)},sd.binstring2buf=function(e){for(var t=new ld.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t},sd.buf2string=function(e,t){var n,r,i,a,o=t||e.length,s=new Array(2*o);for(r=0,n=0;n<o;)if((i=e[n++])<128)s[r++]=i;else if((a=dd[i])>4)s[r++]=65533,n+=a-1;else{for(i&=2===a?31:3===a?15:7;a>1&&n<o;)i=i<<6|63&e[n++],a--;a>1?s[r++]=65533:i<65536?s[r++]=i:(i-=65536,s[r++]=55296|i>>10&1023,s[r++]=56320|1023&i)}return fd(s,r)},sd.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+dd[e[n]]>t?n:t};var pd=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},vd=Hu,gd=Wu,md=sd,_d=Nc,yd=pd,bd=Object.prototype.toString;function wd(e){if(!(this instanceof wd))return new wd(e);this.options=gd.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new yd,this.strm.avail_out=0;var n=vd.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw new Error(_d[n]);if(t.header&&vd.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r="string"==typeof t.dictionary?md.string2buf(t.dictionary):"[object ArrayBuffer]"===bd.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=vd.deflateSetDictionary(this.strm,r)))throw new Error(_d[n]);this._dict_set=!0}}function xd(e,t){var n=new wd(t);if(n.push(e,!0),n.err)throw n.msg||_d[n.err];return n.result}wd.prototype.push=function(e,t){var n,r,i=this.strm,a=this.options.chunkSize;if(this.ended)return!1;r=t===~~t?t:!0===t?4:0,"string"==typeof e?i.input=md.string2buf(e):"[object ArrayBuffer]"===bd.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;do{if(0===i.avail_out&&(i.output=new gd.Buf8(a),i.next_out=0,i.avail_out=a),1!==(n=vd.deflate(i,r))&&0!==n)return this.onEnd(n),this.ended=!0,!1;0!==i.avail_out&&(0!==i.avail_in||4!==r&&2!==r)||("string"===this.options.to?this.onData(md.buf2binstring(gd.shrinkBuf(i.output,i.next_out))):this.onData(gd.shrinkBuf(i.output,i.next_out)))}while((i.avail_in>0||0===i.avail_out)&&1!==n);return 4===r?(n=vd.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==r||(this.onEnd(0),i.avail_out=0,!0)},wd.prototype.onData=function(e){this.chunks.push(e)},wd.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=gd.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},Vu.Deflate=wd,Vu.deflate=xd,Vu.deflateRaw=function(e,t){return(t=t||{}).raw=!0,xd(e,t)},Vu.gzip=function(e,t){return(t=t||{}).gzip=!0,xd(e,t)};var Sd={},kd={},Td=Wu,Ed=15,Cd=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Md=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Od=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Id=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],Ld=Wu,Ad=Oc,Nd=Ac,Bd=function(e,t){var n,r,i,a,o,s,l,u,c,d,h,f,p,v,g,m,_,y,b,w,x,S,k,T,E;n=e.state,r=e.next_in,T=e.input,i=r+(e.avail_in-5),a=e.next_out,E=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),l=n.dmax,u=n.wsize,c=n.whave,d=n.wnext,h=n.window,f=n.hold,p=n.bits,v=n.lencode,g=n.distcode,m=(1<<n.lenbits)-1,_=(1<<n.distbits)-1;e:do{p<15&&(f+=T[r++]<<p,p+=8,f+=T[r++]<<p,p+=8),y=v[f&m];t:for(;;){if(f>>>=b=y>>>24,p-=b,0===(b=y>>>16&255))E[a++]=65535&y;else{if(!(16&b)){if(0==(64&b)){y=v[(65535&y)+(f&(1<<b)-1)];continue t}if(32&b){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}w=65535&y,(b&=15)&&(p<b&&(f+=T[r++]<<p,p+=8),w+=f&(1<<b)-1,f>>>=b,p-=b),p<15&&(f+=T[r++]<<p,p+=8,f+=T[r++]<<p,p+=8),y=g[f&_];n:for(;;){if(f>>>=b=y>>>24,p-=b,!(16&(b=y>>>16&255))){if(0==(64&b)){y=g[(65535&y)+(f&(1<<b)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(x=65535&y,p<(b&=15)&&(f+=T[r++]<<p,(p+=8)<b&&(f+=T[r++]<<p,p+=8)),(x+=f&(1<<b)-1)>l){e.msg="invalid distance too far back",n.mode=30;break e}if(f>>>=b,p-=b,x>(b=a-o)){if((b=x-b)>c&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(S=0,k=h,0===d){if(S+=u-b,b<w){w-=b;do{E[a++]=h[S++]}while(--b);S=a-x,k=E}}else if(d<b){if(S+=u+d-b,(b-=d)<w){w-=b;do{E[a++]=h[S++]}while(--b);if(S=0,d<w){w-=b=d;do{E[a++]=h[S++]}while(--b);S=a-x,k=E}}}else if(S+=d-b,b<w){w-=b;do{E[a++]=h[S++]}while(--b);S=a-x,k=E}for(;w>2;)E[a++]=k[S++],E[a++]=k[S++],E[a++]=k[S++],w-=3;w&&(E[a++]=k[S++],w>1&&(E[a++]=k[S++]))}else{S=a-x;do{E[a++]=E[S++],E[a++]=E[S++],E[a++]=E[S++],w-=3}while(w>2);w&&(E[a++]=E[S++],w>1&&(E[a++]=E[S++]))}break}}break}}while(r<i&&a<s);r-=w=p>>3,f&=(1<<(p-=w<<3))-1,e.next_in=r,e.next_out=a,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=a<s?s-a+257:257-(a-s),n.hold=f,n.bits=p},Rd=function(e,t,n,r,i,a,o,s){var l,u,c,d,h,f,p,v,g,m=s.bits,_=0,y=0,b=0,w=0,x=0,S=0,k=0,T=0,E=0,C=0,M=null,O=0,I=new Td.Buf16(16),L=new Td.Buf16(16),A=null,N=0;for(_=0;_<=Ed;_++)I[_]=0;for(y=0;y<r;y++)I[t[n+y]]++;for(x=m,w=Ed;w>=1&&0===I[w];w--);if(x>w&&(x=w),0===w)return i[a++]=20971520,i[a++]=20971520,s.bits=1,0;for(b=1;b<w&&0===I[b];b++);for(x<b&&(x=b),T=1,_=1;_<=Ed;_++)if(T<<=1,(T-=I[_])<0)return-1;if(T>0&&(0===e||1!==w))return-1;for(L[1]=0,_=1;_<Ed;_++)L[_+1]=L[_]+I[_];for(y=0;y<r;y++)0!==t[n+y]&&(o[L[t[n+y]]++]=y);if(0===e?(M=A=o,f=19):1===e?(M=Cd,O-=257,A=Md,N-=257,f=256):(M=Od,A=Id,f=-1),C=0,y=0,_=b,h=a,S=x,k=0,c=-1,d=(E=1<<x)-1,1===e&&E>852||2===e&&E>592)return 1;for(;;){p=_-k,o[y]<f?(v=0,g=o[y]):o[y]>f?(v=A[N+o[y]],g=M[O+o[y]]):(v=96,g=0),l=1<<_-k,b=u=1<<S;do{i[h+(C>>k)+(u-=l)]=p<<24|v<<16|g|0}while(0!==u);for(l=1<<_-1;C&l;)l>>=1;if(0!==l?(C&=l-1,C+=l):C=0,y++,0==--I[_]){if(_===w)break;_=t[n+o[y]]}if(_>x&&(C&d)!==c){for(0===k&&(k=x),h+=b,T=1<<(S=_-k);S+k<w&&!((T-=I[S+k])<=0);)S++,T<<=1;if(E+=1<<S,1===e&&E>852||2===e&&E>592)return 1;i[c=C&d]=x<<24|S<<16|h-a|0}}return 0!==C&&(i[h+C]=_-k<<24|64<<16|0),s.bits=x,0},Pd=-2,Dd=12,zd=30;function Fd(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function $d(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Ld.Buf16(320),this.work=new Ld.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function jd(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Ld.Buf32(852),t.distcode=t.distdyn=new Ld.Buf32(592),t.sane=1,t.back=-1,0):Pd}function Wd(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,jd(e)):Pd}function Vd(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Pd:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,Wd(e))):Pd}function Hd(e,t){var n,r;return e?(r=new $d,e.state=r,r.window=null,0!==(n=Vd(e,t))&&(e.state=null),n):Pd}var Ud,qd,Yd=!0;function Xd(e){if(Yd){var t;for(Ud=new Ld.Buf32(512),qd=new Ld.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Rd(1,e.lens,0,288,Ud,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Rd(2,e.lens,0,32,qd,0,e.work,{bits:5}),Yd=!1}e.lencode=Ud,e.lenbits=9,e.distcode=qd,e.distbits=5}function Zd(e,t,n,r){var i,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Ld.Buf8(a.wsize)),r>=a.wsize?(Ld.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>r&&(i=r),Ld.arraySet(a.window,t,n-r,i,a.wnext),(r-=i)?(Ld.arraySet(a.window,t,n-r,r,0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}kd.inflateReset=Wd,kd.inflateReset2=Vd,kd.inflateResetKeep=jd,kd.inflateInit=function(e){return Hd(e,15)},kd.inflateInit2=Hd,kd.inflate=function(e,t){var n,r,i,a,o,s,l,u,c,d,h,f,p,v,g,m,_,y,b,w,x,S,k,T,E=0,C=new Ld.Buf8(4),M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return Pd;(n=e.state).mode===Dd&&(n.mode=13),o=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,u=n.hold,c=n.bits,d=s,h=l,S=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;c<16;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(2&n.wrap&&35615===u){n.check=0,C[0]=255&u,C[1]=u>>>8&255,n.check=Nd(n.check,C,2,0),u=0,c=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=zd;break}if(8!=(15&u)){e.msg="unknown compression method",n.mode=zd;break}if(c-=4,x=8+(15&(u>>>=4)),0===n.wbits)n.wbits=x;else if(x>n.wbits){e.msg="invalid window size",n.mode=zd;break}n.dmax=1<<x,e.adler=n.check=1,n.mode=512&u?10:Dd,u=0,c=0;break;case 2:for(;c<16;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(n.flags=u,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=zd;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=zd;break}n.head&&(n.head.text=u>>8&1),512&n.flags&&(C[0]=255&u,C[1]=u>>>8&255,n.check=Nd(n.check,C,2,0)),u=0,c=0,n.mode=3;case 3:for(;c<32;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.head&&(n.head.time=u),512&n.flags&&(C[0]=255&u,C[1]=u>>>8&255,C[2]=u>>>16&255,C[3]=u>>>24&255,n.check=Nd(n.check,C,4,0)),u=0,c=0,n.mode=4;case 4:for(;c<16;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.head&&(n.head.xflags=255&u,n.head.os=u>>8),512&n.flags&&(C[0]=255&u,C[1]=u>>>8&255,n.check=Nd(n.check,C,2,0)),u=0,c=0,n.mode=5;case 5:if(1024&n.flags){for(;c<16;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.length=u,n.head&&(n.head.extra_len=u),512&n.flags&&(C[0]=255&u,C[1]=u>>>8&255,n.check=Nd(n.check,C,2,0)),u=0,c=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((f=n.length)>s&&(f=s),f&&(n.head&&(x=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Ld.arraySet(n.head.extra,r,a,f,x)),512&n.flags&&(n.check=Nd(n.check,r,f,a)),s-=f,a+=f,n.length-=f),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break e;f=0;do{x=r[a+f++],n.head&&x&&n.length<65536&&(n.head.name+=String.fromCharCode(x))}while(x&&f<s);if(512&n.flags&&(n.check=Nd(n.check,r,f,a)),s-=f,a+=f,x)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===s)break e;f=0;do{x=r[a+f++],n.head&&x&&n.length<65536&&(n.head.comment+=String.fromCharCode(x))}while(x&&f<s);if(512&n.flags&&(n.check=Nd(n.check,r,f,a)),s-=f,a+=f,x)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;c<16;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(u!==(65535&n.check)){e.msg="header crc mismatch",n.mode=zd;break}u=0,c=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Dd;break;case 10:for(;c<32;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}e.adler=n.check=Fd(u),u=0,c=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=u,n.bits=c,2;e.adler=n.check=1,n.mode=Dd;case Dd:if(5===t||6===t)break e;case 13:if(n.last){u>>>=7&c,c-=7&c,n.mode=27;break}for(;c<3;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}switch(n.last=1&u,c-=1,3&(u>>>=1)){case 0:n.mode=14;break;case 1:if(Xd(n),n.mode=20,6===t){u>>>=2,c-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=zd}u>>>=2,c-=2;break;case 14:for(u>>>=7&c,c-=7&c;c<32;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if((65535&u)!=(u>>>16^65535)){e.msg="invalid stored block lengths",n.mode=zd;break}if(n.length=65535&u,u=0,c=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(f=n.length){if(f>s&&(f=s),f>l&&(f=l),0===f)break e;Ld.arraySet(i,r,a,f,o),s-=f,a+=f,l-=f,o+=f,n.length-=f;break}n.mode=Dd;break;case 17:for(;c<14;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(n.nlen=257+(31&u),u>>>=5,c-=5,n.ndist=1+(31&u),u>>>=5,c-=5,n.ncode=4+(15&u),u>>>=4,c-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=zd;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;c<3;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.lens[M[n.have++]]=7&u,u>>>=3,c-=3}for(;n.have<19;)n.lens[M[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,k={bits:n.lenbits},S=Rd(0,n.lens,0,19,n.lencode,0,n.work,k),n.lenbits=k.bits,S){e.msg="invalid code lengths set",n.mode=zd;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;m=(E=n.lencode[u&(1<<n.lenbits)-1])>>>16&255,_=65535&E,!((g=E>>>24)<=c);){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(_<16)u>>>=g,c-=g,n.lens[n.have++]=_;else{if(16===_){for(T=g+2;c<T;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(u>>>=g,c-=g,0===n.have){e.msg="invalid bit length repeat",n.mode=zd;break}x=n.lens[n.have-1],f=3+(3&u),u>>>=2,c-=2}else if(17===_){for(T=g+3;c<T;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}c-=g,x=0,f=3+(7&(u>>>=g)),u>>>=3,c-=3}else{for(T=g+7;c<T;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}c-=g,x=0,f=11+(127&(u>>>=g)),u>>>=7,c-=7}if(n.have+f>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=zd;break}for(;f--;)n.lens[n.have++]=x}}if(n.mode===zd)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=zd;break}if(n.lenbits=9,k={bits:n.lenbits},S=Rd(1,n.lens,0,n.nlen,n.lencode,0,n.work,k),n.lenbits=k.bits,S){e.msg="invalid literal/lengths set",n.mode=zd;break}if(n.distbits=6,n.distcode=n.distdyn,k={bits:n.distbits},S=Rd(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,k),n.distbits=k.bits,S){e.msg="invalid distances set",n.mode=zd;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=u,n.bits=c,Bd(e,h),o=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,u=n.hold,c=n.bits,n.mode===Dd&&(n.back=-1);break}for(n.back=0;m=(E=n.lencode[u&(1<<n.lenbits)-1])>>>16&255,_=65535&E,!((g=E>>>24)<=c);){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(m&&0==(240&m)){for(y=g,b=m,w=_;m=(E=n.lencode[w+((u&(1<<y+b)-1)>>y)])>>>16&255,_=65535&E,!(y+(g=E>>>24)<=c);){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}u>>>=y,c-=y,n.back+=y}if(u>>>=g,c-=g,n.back+=g,n.length=_,0===m){n.mode=26;break}if(32&m){n.back=-1,n.mode=Dd;break}if(64&m){e.msg="invalid literal/length code",n.mode=zd;break}n.extra=15&m,n.mode=22;case 22:if(n.extra){for(T=n.extra;c<T;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.length+=u&(1<<n.extra)-1,u>>>=n.extra,c-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;m=(E=n.distcode[u&(1<<n.distbits)-1])>>>16&255,_=65535&E,!((g=E>>>24)<=c);){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(0==(240&m)){for(y=g,b=m,w=_;m=(E=n.distcode[w+((u&(1<<y+b)-1)>>y)])>>>16&255,_=65535&E,!(y+(g=E>>>24)<=c);){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}u>>>=y,c-=y,n.back+=y}if(u>>>=g,c-=g,n.back+=g,64&m){e.msg="invalid distance code",n.mode=zd;break}n.offset=_,n.extra=15&m,n.mode=24;case 24:if(n.extra){for(T=n.extra;c<T;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.offset+=u&(1<<n.extra)-1,u>>>=n.extra,c-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=zd;break}n.mode=25;case 25:if(0===l)break e;if(f=h-l,n.offset>f){if((f=n.offset-f)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=zd;break}f>n.wnext?(f-=n.wnext,p=n.wsize-f):p=n.wnext-f,f>n.length&&(f=n.length),v=n.window}else v=i,p=o-n.offset,f=n.length;f>l&&(f=l),l-=f,n.length-=f;do{i[o++]=v[p++]}while(--f);0===n.length&&(n.mode=21);break;case 26:if(0===l)break e;i[o++]=n.length,l--,n.mode=21;break;case 27:if(n.wrap){for(;c<32;){if(0===s)break e;s--,u|=r[a++]<<c,c+=8}if(h-=l,e.total_out+=h,n.total+=h,h&&(e.adler=n.check=n.flags?Nd(n.check,i,h,o-h):Ad(n.check,i,h,o-h)),h=l,(n.flags?u:Fd(u))!==n.check){e.msg="incorrect data check",n.mode=zd;break}u=0,c=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;c<32;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(u!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=zd;break}u=0,c=0}n.mode=29;case 29:S=1;break e;case zd:S=-3;break e;case 31:return-4;default:return Pd}return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=u,n.bits=c,(n.wsize||h!==e.avail_out&&n.mode<zd&&(n.mode<27||4!==t))&&Zd(e,e.output,e.next_out,h-e.avail_out),d-=e.avail_in,h-=e.avail_out,e.total_in+=d,e.total_out+=h,n.total+=h,n.wrap&&h&&(e.adler=n.check=n.flags?Nd(n.check,i,h,e.next_out-h):Ad(n.check,i,h,e.next_out-h)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Dd?128:0)+(20===n.mode||15===n.mode?256:0),(0===d&&0===h||4===t)&&0===S&&(S=-5),S},kd.inflateEnd=function(e){if(!e||!e.state)return Pd;var t=e.state;return t.window&&(t.window=null),e.state=null,0},kd.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?Pd:(n.head=t,t.done=!1,0):Pd},kd.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?Pd:11===n.mode&&Ad(1,t,r,0)!==n.check?-3:Zd(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,0):Pd},kd.inflateInfo="pako inflate (from Nodeca project)";var Gd={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};var Kd=kd,Jd=Wu,Qd=sd,eh=Gd,th=Nc,nh=pd,rh=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},ih=Object.prototype.toString;function ah(e){if(!(this instanceof ah))return new ah(e);this.options=Jd.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new nh,this.strm.avail_out=0;var n=Kd.inflateInit2(this.strm,t.windowBits);if(n!==eh.Z_OK)throw new Error(th[n]);if(this.header=new rh,Kd.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=Qd.string2buf(t.dictionary):"[object ArrayBuffer]"===ih.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=Kd.inflateSetDictionary(this.strm,t.dictionary))!==eh.Z_OK))throw new Error(th[n])}function oh(e,t){var n=new ah(t);if(n.push(e,!0),n.err)throw n.msg||th[n.err];return n.result}ah.prototype.push=function(e,t){var n,r,i,a,o,s=this.strm,l=this.options.chunkSize,u=this.options.dictionary,c=!1;if(this.ended)return!1;r=t===~~t?t:!0===t?eh.Z_FINISH:eh.Z_NO_FLUSH,"string"==typeof e?s.input=Qd.binstring2buf(e):"[object ArrayBuffer]"===ih.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new Jd.Buf8(l),s.next_out=0,s.avail_out=l),(n=Kd.inflate(s,eh.Z_NO_FLUSH))===eh.Z_NEED_DICT&&u&&(n=Kd.inflateSetDictionary(this.strm,u)),n===eh.Z_BUF_ERROR&&!0===c&&(n=eh.Z_OK,c=!1),n!==eh.Z_STREAM_END&&n!==eh.Z_OK)return this.onEnd(n),this.ended=!0,!1;s.next_out&&(0!==s.avail_out&&n!==eh.Z_STREAM_END&&(0!==s.avail_in||r!==eh.Z_FINISH&&r!==eh.Z_SYNC_FLUSH)||("string"===this.options.to?(i=Qd.utf8border(s.output,s.next_out),a=s.next_out-i,o=Qd.buf2string(s.output,i),s.next_out=a,s.avail_out=l-a,a&&Jd.arraySet(s.output,s.output,i,a,0),this.onData(o)):this.onData(Jd.shrinkBuf(s.output,s.next_out)))),0===s.avail_in&&0===s.avail_out&&(c=!0)}while((s.avail_in>0||0===s.avail_out)&&n!==eh.Z_STREAM_END);return n===eh.Z_STREAM_END&&(r=eh.Z_FINISH),r===eh.Z_FINISH?(n=Kd.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===eh.Z_OK):r!==eh.Z_SYNC_FLUSH||(this.onEnd(eh.Z_OK),s.avail_out=0,!0)},ah.prototype.onData=function(e){this.chunks.push(e)},ah.prototype.onEnd=function(e){e===eh.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Jd.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},Sd.Inflate=ah,Sd.inflate=oh,Sd.inflateRaw=function(e,t){return(t=t||{}).raw=!0,oh(e,t)},Sd.ungzip=oh;var sh={};(0,Wu.assign)(sh,Vu,Sd,Gd);var lh=sh,uh=!1,ch=0,dh=0,hh=960,fh=375,ph=750;function vh(e,t){var n=Number(e);return isNaN(n)?t:n}var gh=Pu(0,((e,t)=>{var n;if(0===ch&&(!function(){var{platform:e,pixelRatio:t,windowWidth:n}=Du();ch=n,dh=t,uh="ios"===e}(),n=__uniConfig.globalStyle||{},hh=vh(n.rpxCalcMaxDeviceWidth,960),fh=vh(n.rpxCalcBaseDeviceWidth,375),ph=vh(n.rpxCalcBaseDeviceWidth,750)),0===(e=Number(e)))return 0;var r=t||ch,i=e/750*(r=e===ph||r<=hh?r:fh);return i<0&&(i=-i),0===(i=Math.floor(i+1e-4))&&(i=1!==dh&&uh?.5:1),e<0?-i:i})),mh={};mh.f={}.propertyIsEnumerable;var _h,yh=k,bh=Re,wh=H,xh=mh.f,Sh=(_h=!1,function(e){for(var t,n=wh(e),r=bh(n),i=r.length,a=0,o=[];i>a;)t=r[a++],yh&&!xh.call(n,t)||o.push(_h?[t,n[t]]:n[t]);return o});fe(fe.S,"Object",{values:function(e){return Sh(e)}});var kh=function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=i(t);n;)n=i(t=n.ownerDocument);return t}(),t=[],n=null,r=null;o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?d(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},o._resetCrossOriginUpdater=function(){n=null,r=null},o.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},o.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},o.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},o.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,a=null,o=null;this.POLL_INTERVAL?a=n.setInterval(r,this.POLL_INTERVAL):(s(n,"resize",r,!0),s(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(o=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(a&&e.clearInterval(a),l(e,"resize",r,!0)),l(t,"scroll",r,!0),o&&o.disconnect()}));var u=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=u){var c=i(t);c&&this._monitorIntersections(c.ownerDocument)}}},o.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var a=i(n);if((n=a&&a.ownerDocument)==t)return!0}return!1}))){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var o=i(t);o&&this._unmonitorIntersections(o.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},o.prototype._checkForIntersections=function(){if(this.root||!n||r){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var i=r.element,o=u(i),s=this._rootContainsTarget(i),l=r.entry,c=e&&s&&this._computeTargetAndRootIntersection(i,o,t),d=null;this._rootContainsTarget(i)?n&&!this.root||(d=t):d={top:0,bottom:0,left:0,right:0,width:0,height:0};var h=r.entry=new a({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:o,rootBounds:d,intersectionRect:c});l?e&&s?this._hasCrossedThreshold(l,h)&&this._queuedEntries.push(h):l&&l.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},o.prototype._computeTargetAndRootIntersection=function(t,i,a){if("none"!=window.getComputedStyle(t).display){for(var o,s,l,c,h,p,v,g,m=i,_=f(t),y=!1;!y&&_;){var b=null,w=1==_.nodeType?window.getComputedStyle(_):{};if("none"==w.display)return null;if(_==this.root||9==_.nodeType)if(y=!0,_==this.root||_==e)n&&!this.root?!r||0==r.width&&0==r.height?(_=null,b=null,m=null):b=r:b=a;else{var x=f(_),S=x&&u(x),k=x&&this._computeTargetAndRootIntersection(x,S,a);S&&k?(_=x,b=d(S,k)):(_=null,m=null)}else{var T=_.ownerDocument;_!=T.body&&_!=T.documentElement&&"visible"!=w.overflow&&(b=u(_))}if(b&&(o=b,s=m,l=void 0,c=void 0,h=void 0,p=void 0,v=void 0,g=void 0,l=Math.max(o.top,s.top),c=Math.min(o.bottom,s.bottom),h=Math.max(o.left,s.left),p=Math.min(o.right,s.right),g=c-l,m=(v=p-h)>=0&&g>=0&&{top:l,bottom:c,left:h,right:p,width:v,height:g}||null),!m)break;_=_&&f(_)}return m}},o.prototype._getRootRect=function(){var t;if(this.root&&!p(this.root))t=u(this.root);else{var n=p(this.root)?this.root:e,r=n.documentElement,i=n.body;t={top:0,left:0,right:r.clientWidth||i.clientWidth,width:r.clientWidth||i.clientWidth,bottom:r.clientHeight||i.clientHeight,height:r.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(t)},o.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var a=this.thresholds[i];if(a==n||a==r||a<n!=a<r)return!0}},o.prototype._rootIsInDom=function(){return!this.root||h(e,this.root)},o.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return h(n,t)&&(!this.root||n==t.ownerDocument)},o.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},o.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=o,window.IntersectionObserverEntry=a}function i(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}function a(e){this.time=e.time,this.target=e.target,this.rootBounds=c(e.rootBounds),this.boundingClientRect=c(e.boundingClientRect),this.intersectionRect=c(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function o(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType&&9!=n.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=function(e,t){var n=null;return function(){n||(n=setTimeout((function(){e(),n=null}),t))}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function l(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function u(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function c(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function d(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function h(e,t){for(var n=t;n;){if(n==e)return!0;n=f(n)}return!1}function f(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?i(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function p(e){return e&&9===e.nodeType}};function Th(e){var{bottom:t,height:n,left:r,right:i,top:a,width:o}=e||{};return{bottom:t,height:n,left:r,right:i,top:a,width:o}}function Eh(e){var{intersectionRatio:t,boundingClientRect:{height:n,width:r},intersectionRect:{height:i,width:a}}=e;return 0!==t?t:i===n?a/r:i/n}const Ch=Object.freeze(Object.defineProperty({__proto__:null,upx2px:gh,navigateTo:function(e){UniViewJSBridge.invokeServiceMethod("navigateTo",e)},navigateBack:function(e){UniViewJSBridge.invokeServiceMethod("navigateBack",e)},reLaunch:function(e){UniViewJSBridge.invokeServiceMethod("reLaunch",e)},redirectTo:function(e){UniViewJSBridge.invokeServiceMethod("redirectTo",e)},switchTab:function(e){UniViewJSBridge.invokeServiceMethod("switchTab",e)}},Symbol.toStringTag,{value:"Module"}));function Mh(e,t){if(t)return hn(t,"a")&&(t.a=e(t.a)),hn(t,"e")&&(t.e=e(t.e,!1)),hn(t,"w")&&(t.w=function(e,t){var n={};return e.forEach((e=>{var[r,[i,a]]=e;n[t(r)]=[t(i),a]})),n}(t.w,e)),hn(t,"s")&&(t.s=e(t.s)),hn(t,"t")&&(t.t=e(t.t)),t}var Oh=new Set;function Ih(e,t){Oh.add(function(e,t){return e.priority=t,e}(e,t))}function Lh(e,t){var n=window.__wxsModules,r=n&&n[e];return r||(t&&t.__renderjsInstances?t.__renderjsInstances[e]:void 0)}var Ah=qn.length;function Nh(e,t,n){var[r,i,a,o]=Rh(t),s=Bh(e,r);if(fn(n)||fn(o)){var[l,u]=a.split(".");return Ph(s,i,l,u,n||o)}return function(e,t,n){var r=Lh(t,e);if(!r)return console.error(Gn("wxs","module "+n+" not found"));return Qn(r,n.slice(n.indexOf(".")+1))}(s,i,a)}function Bh(e,t){if(e.__ownerId===t)return e;for(var n=e.parentElement;n;){if(n.__ownerId===t)return n;n=n.parentElement}return e}function Rh(e){return JSON.parse(e.slice(Ah))}function Ph(e,t,n,r,i){var a=Lh(t,e);if(!a)return console.error(Gn("wxs","module "+n+" not found"));var o=a[r];return vn(o)?o.apply(a,i):console.error(n+"."+r+" is not a function")}function Dh(e,t,n){var r=n;return n=>{try{!function(e,t,n,r){var[i,a,o]=Rh(e),s=Bh(t,i),[l,u]=o.split(".");Ph(s,a,l,u,[n,r,Su(Tu(s)),Su(Tu(t))])}(t,e.$,n,r)}catch(i){console.error(i)}r=n}}function zh(e,t){var n=Tu(t);return Object.defineProperty(e,"instance",{get:()=>Su(n)}),e}function Fh(e,t){Object.keys(t).forEach((n=>{!function(e,t){var n=function(e){var t=window["__"+Xn],n=t&&t[e];if(!n)return console.error(Gn("renderjs",e+" not found"));return n}(t);if(!n)return;var r=e.$;(r.__renderjsInstances||(r.__renderjsInstances={}))[t]=function(e,t){return t=t.default||t,t.render=()=>{},Pl(t).mixin({mounted(){this.$ownerInstance=Su(Tu(e))}}).mount(document.createElement("div"))}(r,n)}(e,t[n])}))}class $h{constructor(e,t,n,r){this.isMounted=!1,this.isUnmounted=!1,this.$hasWxsProps=!1,this.$children=[],this.id=e,this.tag=t,this.pid=n,r&&(this.$=r),this.$wxsProps=new Map;var i=this.$parent=function(e){return am.get(e)}(n);i&&i.appendUniChild(this)}init(e){hn(e,"t")&&(this.$.textContent=e.t)}setText(e){this.$.textContent=e,this.updateView()}insert(e,t,n){n&&this.init(n,!1);var r=this.$,i=om(e);-1===t?i.appendChild(r):i.insertBefore(r,om(t).$),this.isMounted=!0}remove(){this.removeUniParent();var{$:e}=this;e.parentNode.removeChild(e),this.isUnmounted=!0,sm(this.id),function(e){var{__renderjsInstances:t}=e.$;t&&Object.keys(t).forEach((e=>{t[e].$.appContext.app.unmount()}))}(this),this.removeUniChildren(),this.updateView()}appendChild(e){var t=this.$.appendChild(e);return this.updateView(!0),t}insertBefore(e,t){var n=this.$.insertBefore(e,t);return this.updateView(!0),n}appendUniChild(e){this.$children.push(e)}removeUniChild(e){var t=this.$children.indexOf(e);t>=0&&this.$children.splice(t,1)}removeUniParent(){var{$parent:e}=this;e&&(e.removeUniChild(this),this.$parent=void 0)}removeUniChildren(){this.$children.forEach((e=>e.remove())),this.$children.length=0}setWxsProps(e){Object.keys(e).forEach((t=>{if(0===t.indexOf(pr)){var n=t.replace(pr,""),r=e[n],i=Dh(this,e[t],r);Ih((()=>i(r)),4),this.$wxsProps.set(t,i),delete e[t],delete e[n],this.$hasWxsProps=!0}}))}addWxsEvents(e){Object.keys(e).forEach((t=>{var[n,r]=e[t];this.addWxsEvent(t,n,r)}))}addWxsEvent(e,t,n){}wxsPropsInvoke(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.$hasWxsProps&&this.$wxsProps.get(pr+e);if(r)return Ih((()=>n?Ha((()=>r(t))):r(t)),4),!0}updateView(e){(this.isMounted||e)&&window.dispatchEvent(new CustomEvent("updateview"))}}function jh(e,t){var{__wxsAddClass:n,__wxsRemoveClass:r}=e;r&&r.length&&(t=t.split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),n&&n.length&&(t=t+" "+n.join(" ")),e.className=t}function Wh(e){return Hh(qh(e))}var Vh=/url\(\s*'?"?([a-zA-Z0-9\.\-\_\/]+\.(jpg|gif|png))"?'?\s*\)/,Hh=e=>{if(gn(e)&&-1!==e.indexOf("url(")){var t=e.match(Vh);t&&3===t.length&&(e=e.replace(t[1],zu(t[1])))}return e},Uh=/\b([+-]?\d+(\.\d+)?)[r|u]px\b/g,qh=e=>gn(e)?e.replace(Uh,((e,t)=>Ql(t)+"px")):e,Yh=["Webkit"],Xh={};function Zh(e,t){var n=Xh[t];if(n)return n;var r=Cn(t);if("filter"!==r&&r in e)return Xh[t]=r;r=In(r);for(var i=0;i<Yh.length;i++){var a=Yh[i]+r;if(a in e)return Xh[t]=a}return t}function Gh(e,t){var n=e.style;if(gn(t))""===t?e.removeAttribute("style"):n.cssText=Wh(t);else for(var r in t)Jh(n,r,t[r]);var{__wxsStyle:i}=e;if(i)for(var a in i)Jh(n,a,i[a])}var Kh=/\s*!important$/;function Jh(e,t,n){if(fn(n))n.forEach((n=>Jh(e,t,n)));else if(n=Wh(n),t.startsWith("--"))e.setProperty(t,n);else{var r=Zh(e,t);Kh.test(n)?e.setProperty(On(r),n.replace(Kh,""),"important"):e[r]=n}}var Qh=Yn.length;function ef(e,t){return gn(t)?(0===t.indexOf(Yn)?t=JSON.parse(t.slice(Qh)):0===t.indexOf(qn)&&(t=Nh(e,t)),t):t}function tf(e){return 0===e.indexOf("--")}function nf(e,t){var n=e.__listeners[t];n&&e.removeEventListener(t,n)}function rf(e,t){if(e.__listeners[t])return!0}function af(e,t,n){var[r,i]=sr(t);-1===n?nf(e,r):rf(e,r)||e.addEventListener(r,e.__listeners[r]=of(e.__id,n,i),i)}function of(e,t,n){var r=t=>{var[r]=Eu(t);r.type=function(e,t){return t&&(t.capture&&(e+="Capture"),t.once&&(e+="Once"),t.passive&&(e+="Passive")),"on".concat(In(Cn(e)))}(t.type,n),UniViewJSBridge.publishHandler(Lu,[[20,e,r]])};return t?Il(r,sf(t)):r}function sf(e){var t=[];return e&lr.prevent&&t.push("prevent"),e&lr.self&&t.push("self"),e&lr.stop&&t.push("stop"),t}function lf(e,t,n){var r=n=>{!function(e,t,n){var[r,i,a]=Rh(t),[o,s]=a.split("."),l=Bh(e,r);Ph(l,i,o,s,[zh(n,e),Su(Tu(l))])}(function(e){return!!e.addWxsEvent}(e)?e.$:e,t,Eu(n)[0])};return n?Il(r,sf(n)):r}function uf(e,t){e._vod="none"===e.style.display?"":e.style.display,e.style.display=t?e._vod:"none"}class cf extends $h{constructor(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];super(e,t.tagName,n,t),this.$props=ua({}),this.$.__id=e,this.$.__listeners=Object.create(null),this.$propNames=a,this._update=this.update.bind(this),this.init(i),this.insert(n,r)}init(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];hn(e,"a")&&this.setAttrs(e.a),hn(e,"s")&&this.setAttr("style",e.s),hn(e,"e")&&this.addEvents(e.e),hn(e,"w")&&this.addWxsEvents(e.w),super.init(e),t&&(po(this.$props,(()=>{Ih(this._update,1)}),{flush:"sync"}),this.update(!0))}setAttrs(e){this.setWxsProps(e),Object.keys(e).forEach((t=>{this.setAttr(t,e[t])}))}addEvents(e){Object.keys(e).forEach((t=>{this.addEvent(t,e[t])}))}addWxsEvent(e,t,n){!function(e,t,n,r){var[i,a]=sr(t);-1===r?nf(e,i):rf(e,i)||e.addEventListener(i,e.__listeners[i]=lf(e,n,r),a)}(this.$,e,t,n)}addEvent(e,t){af(this.$,e,t)}removeEvent(e){af(this.$,e,-1)}setAttr(e,t){e===ur?jh(this.$,t):e===cr?Gh(this.$,t):e===dr?uf(this.$,t):e===hr?this.$.__ownerId=t:e===fr?Ih((()=>Fh(this,t)),3):"innerHTML"===e?this.$.innerHTML=t:"textContent"===e?this.setText(t):this.setAttribute(e,t),this.updateView()}removeAttr(e){e===ur?jh(this.$,""):e===cr?Gh(this.$,""):this.removeAttribute(e),this.updateView()}setAttribute(e,t){t=ef(this.$,t),-1!==this.$propNames.indexOf(e)?this.$props[e]=t:tf(e)?this.$.style.setProperty(e,Wh(t)):this.wxsPropsInvoke(e,t)||this.$.setAttribute(e,t)}removeAttribute(e){-1!==this.$propNames.indexOf(e)?delete this.$props[e]:tf(e)?this.$.style.removeProperty(e):this.$.removeAttribute(e)}update(){}}function df(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>"".concat(uni.upx2px(parseFloat(t)),"px"))):/^-?[\d\.]+$/.test(e)?"".concat(e,"px"):e||""}function hf(e){var t=e.animation;if(t&&t.actions&&t.actions.length){var n=0,r=t.actions,i=t.actions.length;setTimeout((()=>{a()}),0)}function a(){var t=r[n],o=t.option.transition,s=function(e){var t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],r=["opacity","background-color"],i=["width","height","left","right","top","bottom"],a=e.animates,o=e.option,s=o.transition,l={},u=[];return a.forEach((e=>{var a=e.type,o=[...e.args];if(t.concat(n).includes(a))a.startsWith("rotate")||a.startsWith("skew")?o=o.map((e=>parseFloat(e)+"deg")):a.startsWith("translate")&&(o=o.map(df)),n.indexOf(a)>=0&&(o.length=1),u.push("".concat(a,"(").concat(o.join(","),")"));else if(r.concat(i).includes(o[0])){a=o[0];var s=o[1];l[a]=i.includes(a)?df(s):s}})),l.transform=l.webkitTransform=u.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>"".concat(function(e){return e.replace(/[A-Z]/g,(e=>"-".concat(e.toLowerCase()))).replace("webkit","-webkit")}(e)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms"))).join(","),l.transformOrigin=l.webkitTransformOrigin=o.transformOrigin,l}(t);Object.keys(s).forEach((t=>{e.$el.style[t]=s[t]})),(n+=1)<i&&setTimeout(a,o.duration+o.delay)}}const ff={props:["animation"],watch:{animation:{deep:!0,handler(){hf(this)}}},mounted(){hf(this)}};var pf=e=>{e.__reserved=!0;var{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(ff),vf(e)},vf=e=>(e.devtools={hide:!0},e.__reserved=!0,e.compatConfig={MODE:3},function(e){return vn(e)?{setup:e,name:e.name}:e}(e)),gf={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function mf(e){var t,n,r=ka(!1),i=!1;function a(){requestAnimationFrame((()=>{clearTimeout(n),n=setTimeout((()=>{r.value=!1}),parseInt(e.hoverStayTime))}))}function o(n){n._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(n._hoverPropagationStopped=!0),i=!0,t=setTimeout((()=>{r.value=!0,i||a()}),parseInt(e.hoverStartTime)))}function s(){i=!1,r.value&&a()}function l(){s(),window.removeEventListener("mouseup",l)}return{hovering:r,binding:{onTouchstartPassive:function(e){e.touches.length>1||o(e)},onMousedown:function(e){i||(o(e),window.addEventListener("mouseup",l))},onTouchend:function(){s()},onMouseup:function(){i&&l()},onTouchcancel:function(){i=!1,r.value=!1,clearTimeout(t)}}}}function _f(e,t){return gn(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}function yf(e){return e.__wwe=!0,e}function bf(e,t){return(n,r,i)=>{e.value&&t(n,function(e,t,n,r){var i=ir(n);return{type:r.type||e,timeStamp:t.timeStamp||0,target:i,currentTarget:i,detail:r}}(n,r,e.value,i||{}))}}var wf=Kl("uf");const xf=pf({name:"Form",emits:["submit","reset"],setup(e,t){var n,r,{slots:i,emit:a}=t,o=ka(null);return n=bf(o,a),r=[],uo(wf,{addField(e){r.push(e)},removeField(e){r.splice(r.indexOf(e),1)},submit(e){n("submit",e,{value:r.reduce(((e,t)=>{if(t.submit){var[n,r]=t.submit();n&&(e[n]=r)}return e}),Object.create(null))})},reset(e){r.forEach((e=>e.reset&&e.reset())),n("reset",e)}}),()=>Rs("uni-form",{ref:o},[Rs("span",null,[i.default&&i.default()])],512)}});var Sf={for:{type:String,default:""}},kf=Kl("ul");const Tf=pf({name:"Label",props:Sf,setup(e,t){var{slots:n}=t,r=iu(),i=function(){var e=[];return uo(kf,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}(),a=rl((()=>e.for||n.default&&n.default.length)),o=yf((t=>{var n=t.target,a=/^uni-(checkbox|radio|switch)-/.test(n.className);a||(a=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(n.tagName)),a||(e.for?UniViewJSBridge.emit("uni-label-click-"+r+"-"+e.for,t,!0):i.length&&i[0](t,!0))}));return()=>Rs("uni-label",{class:{"uni-label-pointer":a},onClick:o},[n.default&&n.default()],10,["onClick"])}});function Ef(e,t){Cf(e.id,t),po((()=>e.id),((e,n)=>{Mf(n,t,!0),Cf(e,t,!0)})),Ao((()=>{Mf(e.id,t)}))}function Cf(e,t,n){var r=iu();n&&!e||xn(t)&&Object.keys(t).forEach((i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&UniViewJSBridge.on("uni-".concat(i,"-").concat(r,"-").concat(e),t[i]):0===i.indexOf("uni-")?UniViewJSBridge.on(i,t[i]):e&&UniViewJSBridge.on("uni-".concat(i,"-").concat(r,"-").concat(e),t[i])}))}function Mf(e,t,n){var r=iu();n&&!e||xn(t)&&Object.keys(t).forEach((i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&UniViewJSBridge.off("uni-".concat(i,"-").concat(r,"-").concat(e),t[i]):0===i.indexOf("uni-")?UniViewJSBridge.off(i,t[i]):e&&UniViewJSBridge.off("uni-".concat(i,"-").concat(r,"-").concat(e),t[i])}))}const Of=pf({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,t){var{slots:n}=t,r=ka(null);Dr();var i=co(wf,!1),{hovering:a,binding:o}=mf(e),{t:s}=Br(),l=yf(((t,n)=>{if(e.disabled)return t.stopImmediatePropagation();n&&r.value.click();var a=e.formType;if(a){if(!i)return;"submit"===a?i.submit(t):"reset"===a&&i.reset(t)}else{var o,l,u;"feedback"===e.openType&&(o=s("uni.button.feedback.title"),l=s("uni.button.feedback.send"),(u=plus.webview.create("https://service.dcloud.net.cn/uniapp/feedback.html","feedback",{titleNView:{titleText:o,autoBackButton:!0,backgroundColor:"#F7F7F7",titleColor:"#007aff",buttons:[{text:l,color:"#007aff",fontSize:"16px",fontWeight:"bold",onclick:function(){u.evalJS('typeof mui !== "undefined" && mui.trigger(document.getElementById("submit"),"tap")')}}]}})).show("slide-in-right"))}})),u=co(kf,!1);return u&&(u.addHandler(l),Lo((()=>{u.removeHandler(l)}))),Ef(e,{"label-click":l}),()=>{var t=e.hoverClass,i=_f(e,"disabled"),s=_f(e,"loading"),u=_f(e,"plain"),c=t&&"none"!==t;return Rs("uni-button",Ws({ref:r,onClick:l,class:c&&a.value?t:""},c&&o,i,s,u),[n.default&&n.default()],16,["onClick"])}}});const If=pf({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,t){var{emit:n}=t,r=ka(null),i=function(e){return()=>{var{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(r),a=function(e,t,n){var r=ua({width:-1,height:-1});return po((()=>un({},r)),(e=>t("resize",e))),()=>{var t=e.value;r.width=t.offsetWidth,r.height=t.offsetHeight,n()}}(r,n,i);return function(e,t,n,r){wo(r),Mo((()=>{t.initial&&Ha(n);var i=e.value;i.offsetParent!==i.parentElement&&(i.parentElement.style.position="relative"),"AnimationEvent"in window||r()}))}(r,e,a,i),()=>Rs("uni-resize-sensor",{ref:r,onAnimationstartOnce:a},[Rs("div",{onScroll:a},[Rs("div",null,null)],40,["onScroll"]),Rs("div",{onScroll:a},[Rs("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});var Lf=function(){var e=document.createElement("canvas");e.height=e.width=0;var t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function Af(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e.width=e.offsetWidth*(t?Lf:1),e.height=e.offsetHeight*(t?Lf:1),e.getContext("2d").__hidpi__=t}var Nf=!1;var Bf,Rf=Jn((()=>function(){if(!Nf){Nf=!0;var e,t=CanvasRenderingContext2D.prototype;t.drawImageByCanvas=(e=t.drawImage,function(t,n,r,i,a,o,s,l,u,c){if(!this.__hidpi__)return e.apply(this,arguments);n*=Lf,r*=Lf,i*=Lf,a*=Lf,o*=Lf,s*=Lf,l=c?l*Lf:l,u=c?u*Lf:u,e.call(this,t,n,r,i,a,o,s,l,u)}),1!==Lf&&(function(e,t){for(var n in e)hn(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(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);var n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map((function(e){return e*Lf}));else if(Array.isArray(e))for(var r=0;r<e.length;r++)n[e[r]]*=Lf;return t.apply(this,n)}}(t[n])})),t.stroke=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.lineWidth*=Lf,e.apply(this,arguments),this.lineWidth/=Lf}}(t.stroke),t.fillText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var t=Array.prototype.slice.call(arguments);t[1]*=Lf,t[2]*=Lf,t[3]&&"number"==typeof t[3]&&(t[3]*=Lf);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*Lf+n})),e.apply(this,t),this.font=n}}(t.fillText),t.strokeText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var t=Array.prototype.slice.call(arguments);t[1]*=Lf,t[2]*=Lf,t[3]&&"number"==typeof t[3]&&(t[3]*=Lf);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*Lf+n})),e.apply(this,t),this.font=n}}(t.strokeText),t.drawImage=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.scale(Lf,Lf),e.apply(this,arguments),this.scale(1/Lf,1/Lf)}}(t.drawImage))}}()));function Pf(e){return e?zu(e):e}function Df(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function zf(e,t){Array.from(t).forEach((t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top}))}function Ff(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Bf||(Bf=document.createElement("canvas")),Bf.width=e,Bf.height=t,Bf}const $f=pf({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,t){var{emit:n,slots:r}=t;Rf();var i=ka(null),a=ka(null),o=ka(!1),s=function(e){return(t,n)=>{e(t,Mu(n))}}(n),{$attrs:l,$excludeAttrs:u,$listeners:c}=iv({excludeListeners:!0}),{_listeners:d}=function(e,t,n){var r=rl((()=>{var r=["onTouchstart","onTouchmove","onTouchend"],i=t.value,a=un({},(()=>{var e={};for(var t in i)if(hn(i,t)){var n=i[t];e[t]=n}return e})());return r.forEach((t=>{var r=[];a[t]&&r.push(yf((e=>{var r=e.currentTarget.getBoundingClientRect();zf(r,e.touches),zf(r,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)}))),e.disableScroll&&"onTouchmove"===t&&r.push(Xl),a[t]=r})),a}));return{_listeners:r}}(e,c,s),{_handleSubscribe:h,_resize:f}=function(e,t,n){var r=[],i={},a=rl((()=>e.hidpi?Lf:1));function o(n){var r=t.value;if(!n||r.width!==Math.floor(n.width*a.value)||r.height!==Math.floor(n.height*a.value))if(r.width>0&&r.height>0){var i=r.getContext("2d"),o=i.getImageData(0,0,r.width,r.height);Af(r,e.hidpi),i.putImageData(o,0,0)}else Af(r,e.hidpi)}function s(e,a){var{actions:o,reserve:s}=e;if(o)if(n.value)r.push([o,s]);else{var c=t.value,d=c.getContext("2d");s||(d.fillStyle="#000000",d.strokeStyle="#000000",d.shadowColor="#000000",d.shadowBlur=0,d.shadowOffsetX=0,d.shadowOffsetY=0,d.setTransform(1,0,0,1,0,0),d.clearRect(0,0,c.width,c.height)),l(o);for(var h=function(e){var t=o[e],n=t.method,r=t.data,s=r[0];if(/^set/.test(n)&&"setTransform"!==n){var l,c=n[3].toLowerCase()+n.slice(4);if("fillStyle"===c||"strokeStyle"===c){if("normal"===s)l=Df(r[1]);else if("linear"===s){var h=d.createLinearGradient(...r[1]);r[2].forEach((function(e){var t=e[0],n=Df(e[1]);h.addColorStop(t,n)})),l=h}else if("radial"===s){var f=r[1],p=f[0],v=f[1],g=f[2],m=d.createRadialGradient(p,v,0,p,v,g);r[2].forEach((function(e){var t=e[0],n=Df(e[1]);m.addColorStop(t,n)})),l=m}else if("pattern"===s){return u(r[1],o.slice(e+1),a,(function(e){e&&(d[c]=d.createPattern(e,r[2]))}))?"continue":"break"}d[c]=l}else if("globalAlpha"===c)d[c]=Number(s)/255;else if("shadow"===c){var _=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];r.forEach((function(e,t){d[_[t]]="shadowColor"===_[t]?Df(e):e}))}else if("fontSize"===c){var y=d.__font__||d.font;d.__font__=d.font=y.replace(/\d+\.?\d*px/,s+"px")}else"lineDash"===c?(d.setLineDash(s),d.lineDashOffset=r[1]||0):"textBaseline"===c?("normal"===s&&(r[0]="alphabetic"),d[c]=s):"font"===c?d.__font__=d.font=s:d[c]=s}else if("fillPath"===n||"strokePath"===n)n=n.replace(/Path/,""),d.beginPath(),r.forEach((function(e){d[e.method].apply(d,e.data)})),d[n]();else if("fillText"===n)d.fillText.apply(d,r);else if("drawImage"===n){if("break"===function(){var t=[...r],n=t[0],s=t.slice(1);if(i=i||{},!u(n,o.slice(e+1),a,(function(e){e&&d.drawImage.apply(d,[e].concat([...s.slice(4,8)],[...s.slice(0,4)]))})))return"break"}())return"break"}else"clip"===n?(r.forEach((function(e){d[e.method].apply(d,e.data)})),d.clip()):d[n].apply(d,r)},f=0;f<o.length;f++){var p=h(f);if("break"===p)break}n.value||a({errMsg:"drawCanvas:ok"})}}function l(e){e.forEach((function(e){var t=e.method,n=e.data,r="";function a(){var e=i[r]=new Image;if(e.onload=function(){e.ready=!0},"Google Inc."===navigator.vendor)return 0===r.indexOf("file://")&&(e.crossOrigin="anonymous"),void(e.src=r);ju(r).then((t=>{e.src=t})).catch((()=>{e.src=r}))}"drawImage"===t?(r=Pf(r=n[0]),n[0]=r):"setFillStyle"===t&&"pattern"===n[0]&&(r=Pf(r=n[1]),n[1]=r),r&&!i[r]&&a()}))}function u(e,t,a,o){var l=i[e];return l.ready?(o(l),!0):(r.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,o(l),n.value=!1;var e=r.slice(0);r=[];for(var t=e.shift();t;)s({actions:t[0],reserve:t[1]},a),t=e.shift()},!1)}function c(e,n){var r,{x:i=0,y:o=0,width:s,height:l,destWidth:u,destHeight:c,hidpi:d=!0,dataType:h,quality:f=1,type:p="png"}=e,v=t.value,g=v.offsetWidth-i;s=s?Math.min(s,g):g;var m=v.offsetHeight-o;l=l?Math.min(l,m):m,d?(u=s,c=l):u||c?u?c||(c=Math.round(l/s*u)):u=Math.round(s/l*c):(u=Math.round(s*a.value),c=Math.round(l*a.value));var _,y=Ff(u,c),b=y.getContext("2d");"jpeg"!==p&&"jpg"!==p||(p="jpeg",b.fillStyle="#fff",b.fillRect(0,0,u,c)),b.__hidpi__=!0,b.drawImageByCanvas(v,i,o,s,l,0,0,u,c,!1);try{var w;if("base64"===h)r=y.toDataURL("image/".concat(p),f);else{var x=b.getImageData(0,0,u,c);r=lh.deflateRaw(x.data,{to:"string"}),w=!0}_={data:r,compressed:w,width:u,height:c}}catch(S){_={errMsg:"canvasGetImageData:fail ".concat(S)}}if(y.height=y.width=0,b.__hidpi__=!1,!n)return _;n(_)}function d(e,n){var{data:r,x:i,y:a,width:o,height:s,compressed:l}=e;try{l&&(r=lh.inflateRaw(r)),s||(s=Math.round(r.length/4/o));var u=Ff(o,s);u.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(r),o,s),0,0),t.value.getContext("2d").drawImage(u,i,a,o,s),u.height=u.width=0}catch(c){return void n({errMsg:"canvasPutImageData:fail"})}n({errMsg:"canvasPutImageData:ok"})}function h(e,t){var{x:n=0,y:r=0,width:i,height:a,destWidth:o,destHeight:s,fileType:l,quality:u,dirname:d}=e,h=c({x:n,y:r,width:i,height:a,destWidth:o,destHeight:s,hidpi:!1,dataType:"base64",type:l,quality:u});h.data&&h.data.length?function(e,t,n){var r="".concat(Date.now()).concat($u++),i=e.split(","),a=i[0],o=i[1],s=(a.match(/data:image\/(\S+?);/)||["","png"])[1].replace("jpeg","jpg"),l="".concat(r,".").concat(s),u="".concat(t,"/").concat(l),c=t.indexOf("/"),d=t.substring(0,c),h=t.substring(c+1);plus.io.resolveLocalFileSystemURL(d,(function(e){e.getDirectory(h,{create:!0,exclusive:!1},(function(e){e.getFile(l,{create:!0,exclusive:!1},(function(e){e.createWriter((function(e){e.onwrite=function(){n(null,u)},e.onerror=n,e.seek(0),e.writeAsBinary(o)}),n)}),n)}),n)}),n)}(h.data,d,((e,n)=>{var r="toTempFilePath:".concat(e?"fail":"ok");e&&(r+=" ".concat(e.message)),t({errMsg:r,tempFilePath:n})})):t({errMsg:h.errMsg.replace("canvasPutImageData","toTempFilePath")})}var f={actionsChanged:s,getImageData:c,putImageData:d,toTempFilePath:h};function p(e,t,n){var r=f[e];0!==e.indexOf("_")&&vn(r)&&r(t,n)}return un(f,{_resize:o,_handleSubscribe:p})}(e,i,o);return mg(h,yg(e.canvasId),!0),Mo((()=>{f()})),()=>{var{canvasId:t,disableScroll:n}=e;return Rs("uni-canvas",Ws({"canvas-id":t,"disable-scroll":n},l.value,u.value,d.value),[Rs("canvas",{ref:i,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),Rs("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[r.default&&r.default()]),Rs(If,{ref:a,onResize:f},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});var jf=Kl("ucg");const Wf=pf({name:"CheckboxGroup",props:{name:{type:String,default:""}},emits:["change"],setup(e,t){var{emit:n,slots:r}=t,i=ka(null);return function(e,t){var n=[],r=()=>n.reduce(((e,t)=>(t.value.checkboxChecked&&e.push(t.value.value),e)),new Array);uo(jf,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},checkboxChange(e){t("change",e,{value:r()})}});var i=co(wf,!1);i&&i.addField({submit:()=>{var t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=r()),t}})}(e,bf(i,n)),()=>Rs("uni-checkbox-group",{ref:i},[r.default&&r.default()],512)}});const Vf=pf({name:"Checkbox",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},setup(e,t){var{slots:n}=t,r=ka(e.checked),i=ka(e.value);po([()=>e.checked,()=>e.value],(e=>{var[t,n]=e;r.value=t,i.value=n}));var{uniCheckGroup:a,uniLabel:o}=function(e,t,n){var r=rl((()=>({checkboxChecked:Boolean(e.value),value:t.value}))),i={reset:n},a=co(jf,!1);a&&a.addField(r);var o=co(wf,!1);o&&o.addField(i);var s=co(kf,!1);return Lo((()=>{a&&a.removeField(r),o&&o.removeField(i)})),{uniCheckGroup:a,uniForm:o,uniLabel:s}}(r,i,(()=>{r.value=!1})),s=t=>{e.disabled||(r.value=!r.value,a&&a.checkboxChange(t),t.stopPropagation())};return o&&(o.addHandler(s),Lo((()=>{o.removeHandler(s)}))),Ef(e,{"label-click":s}),()=>{var t=_f(e,"disabled");return Rs("uni-checkbox",Ws(t,{onClick:s}),[Rs("div",{class:"uni-checkbox-wrapper"},[Rs("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[r.value?ru(nu,e.color,22):""],2),n.default&&n.default()])],16,["onClick"])}}});var Hf,Uf,qf,Yf,Xf,Zf;function Gf(){}function Kf(e,t,n){ar((()=>{var r="adjustResize",i="adjustPan",a=plus.webview.currentWebview(),o=Zf||a.getStyle()||{},s={mode:n||o.softinputMode===r?r:e.adjustPosition?i:"nothing",position:{top:0,height:0}};if(s.mode===i){var l=t.getBoundingClientRect();s.position.top=l.top,s.position.height=l.height+(Number(e.cursorSpacing)||0)}a.setSoftinputTemporary(s)}))}ar((()=>{Uf="Android"===plus.os.name,qf=plus.os.version||""})),document.addEventListener("keyboardchange",(function(e){Yf=e.height,Xf&&Xf()}),!1);var Jf={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},Qf=["keyboardheightchange"];function ep(e,t,n){var r={};function i(t){var i,a=rl((()=>0===String(navigator.vendor).indexOf("Apple"))),o=()=>{n("keyboardheightchange",{},{height:Yf,duration:.25}),i&&0===Yf&&Kf(e,t),e.autoBlur&&i&&0===Yf&&(Uf||parseInt(qf)>=13)&&document.activeElement.blur()};t.addEventListener("focus",(()=>{i=!0,clearTimeout(Hf),document.addEventListener("click",Gf,!1),Xf=o,Yf&&n("keyboardheightchange",{},{height:Yf,duration:0}),function(e,t){"auto"!==e.showConfirmBar?ar((()=>{var n=plus.webview.currentWebview(),{softinputNavBar:r}=n.getStyle()||{};"none"!==r!==e.showConfirmBar?(t.softinputNavBar=r||"auto",n.setStyle({softinputNavBar:e.showConfirmBar?"auto":"none"})):delete t.softinputNavBar})):delete t.softinputNavBar}(e,r),Kf(e,t)})),Uf&&t.addEventListener("click",(()=>{e.disabled||e.readOnly||!i||0!==Yf||Kf(e,t)})),Uf||(parseInt(qf)<12&&t.addEventListener("touchstart",(()=>{e.disabled||e.readOnly||i||Kf(e,t)})),parseFloat(qf)>=14.6&&!Zf&&ar((()=>{var e=plus.webview.currentWebview();Zf=e.getStyle()||{}})));var s=()=>{document.removeEventListener("click",Gf,!1),Xf=null,Yf&&n("keyboardheightchange",{},{height:0,duration:0}),function(e){var t=e.softinputNavBar;t&&ar((()=>{plus.webview.currentWebview().setStyle({softinputNavBar:t})}))}(r),Uf&&(Hf=setTimeout((()=>{Kf(e,t,!0)}),300)),a.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};t.addEventListener("blur",(()=>{a.value&&t.blur(),i=!1,s()}))}po((()=>t.value),(e=>e&&i(e)))}var tp=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,np=/^<\/([-A-Za-z0-9_]+)[^>]*>/,rp=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,ip=dp("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),ap=dp("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"),op=dp("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"),sp=dp("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),lp=dp("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),up=dp("script,style");function cp(e,t){var n,r,i,a=[],o=e;for(a.last=function(){return this[this.length-1]};e;){if(r=!0,a.last()&&up[a.last()])e=e.replace(new RegExp("([\\s\\S]*?)</"+a.last()+"[^>]*>"),(function(e,n){return n=n.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),t.chars&&t.chars(n),""})),u("",a.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),r=!1):0==e.indexOf("</")?(i=e.match(np))&&(e=e.substring(i[0].length),i[0].replace(np,u),r=!1):0==e.indexOf("<")&&(i=e.match(tp))&&(e=e.substring(i[0].length),i[0].replace(tp,l),r=!1),r){var s=(n=e.indexOf("<"))<0?e:e.substring(0,n);e=n<0?"":e.substring(n),t.chars&&t.chars(s)}if(e==o)throw"Parse Error: "+e;o=e}function l(e,n,r,i){if(n=n.toLowerCase(),ap[n])for(;a.last()&&op[a.last()];)u("",a.last());if(sp[n]&&a.last()==n&&u("",n),(i=ip[n]||!!i)||a.push(n),t.start){var o=[];r.replace(rp,(function(e,t){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:lp[t]?t:"";o.push({name:t,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})})),t.start&&t.start(n,o,i)}}function u(e,n){if(n)for(r=a.length-1;r>=0&&a[r]!=n;r--);else var r=0;if(r>=0){for(var i=a.length-1;i>=r;i--)t.end&&t.end(a[i]);a.length=r}}u()}function dp(e){for(var t={},n=e.split(","),r=0;r<n.length;r++)t[n[r]]=!0;return t}var hp={};function fp(e,t,n){if(gn(e)?window[e]:e)n();else{var r=hp[t];if(!r){r=hp[t]=[];var i=document.createElement("script");i.src=t,document.body.appendChild(i),i.onload=function(){r.forEach((e=>e())),delete hp[t]}}r.push(n)}}function pp(e){var t=e.import("blots/block/embed");class n extends t{}return n.blotName="divider",n.tagName="HR",{"formats/divider":n}}function vp(e){var t=e.import("blots/inline");class n extends t{}return n.blotName="ins",n.tagName="INS",{"formats/ins":n}}function gp(e){var{Scope:t,Attributor:n}=e.import("parchment"),r={scope:t.BLOCK,whitelist:["left","right","center","justify"]};return{"formats/align":new n.Style("align","text-align",r)}}function mp(e){var{Scope:t,Attributor:n}=e.import("parchment"),r={scope:t.BLOCK,whitelist:["rtl"]};return{"formats/direction":new n.Style("direction","direction",r)}}function _p(e){var t=e.import("parchment"),n=e.import("blots/container"),r=e.import("formats/list/item");class i extends n{static create(e){var t="ordered"===e?"OL":"UL",n=super.create(t);return"checked"!==e&&"unchecked"!==e||n.setAttribute("data-checked","checked"===e),n}static formats(e){return"OL"===e.tagName?"ordered":"UL"===e.tagName?e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}constructor(e){super(e);e.addEventListener("click",(n=>{if(n.target.parentNode===e){var r=this.statics.formats(e),i=t.find(n.target);"checked"===r?i.format("list","unchecked"):"unchecked"===r&&i.format("list","checked")}}))}format(e,t){this.children.length>0&&this.children.tail.format(e,t)}formats(){return{[this.statics.blotName]:this.statics.formats(this.domNode)}}insertBefore(e,t){if(e instanceof r)super.insertBefore(e,t);else{var n=null==t?this.length():t.offset(this),i=this.split(n);i.parent.insertBefore(e,i)}}optimize(e){super.optimize(e);var t=this.next;null!=t&&t.prev===this&&t.statics.blotName===this.statics.blotName&&t.domNode.tagName===this.domNode.tagName&&t.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(t.moveChildren(this),t.remove())}replace(e){if(e.statics.blotName!==this.statics.blotName){var n=t.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}super.replace(e)}}return i.blotName="list",i.scope=t.Scope.BLOCK_BLOT,i.tagName=["OL","UL"],i.defaultChild="list-item",i.allowedChildren=[r],{"formats/list":i}}function yp(e){var{Scope:t}=e.import("parchment");return{"formats/backgroundColor":new(e.import("formats/background").constructor)("backgroundColor","background-color",{scope:t.INLINE})}}function bp(e){var{Scope:t,Attributor:n}=e.import("parchment"),r={scope:t.BLOCK},i={};return["margin","marginTop","marginBottom","marginLeft","marginRight"].concat(["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"]).forEach((e=>{i["formats/".concat(e)]=new n.Style(e,On(e),r)})),i}function wp(e){var{Scope:t,Attributor:n}=e.import("parchment"),r={scope:t.INLINE},i={};return["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"].forEach((e=>{i["formats/".concat(e)]=new n.Style(e,On(e),r)})),i}function xp(e){var{Scope:t,Attributor:n}=e.import("parchment"),r=[{name:"lineHeight",scope:t.BLOCK},{name:"letterSpacing",scope:t.INLINE},{name:"textDecoration",scope:t.INLINE},{name:"textIndent",scope:t.BLOCK}],i={};return r.forEach((e=>{var{name:t,scope:r}=e;i["formats/".concat(t)]=new n.Style(t,On(t),{scope:r})})),i}function Sp(e){var t=e.import("formats/image"),n=["alt","height","width","data-custom","class","data-local"];t.sanitize=e=>e?zu(e):e,t.formats=function(e){return n.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})};var r=t.prototype.format;t.prototype.format=function(e,t){n.indexOf(e)>-1?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):r.call(this,e,t)}}function kp(e){var t=e.import("formats/link");t.sanitize=e=>{var n=document.createElement("a");n.href=e;var r=n.href.slice(0,n.href.indexOf(":"));return t.PROTOCOL_WHITELIST.concat("file").indexOf(r)>-1?e:t.SANITIZED_URL}}function Tp(e,t,n){var r,i,a;function o(){return{html:a.root.innerHTML,text:a.getText(),delta:a.getContents()}}function s(e){var t="data-placeholder",n=a.root;n.getAttribute(t)!==e&&n.setAttribute(t,e)}po((()=>e.readOnly),(e=>{r&&(a.enable(!e),e||a.blur())})),po((()=>e.placeholder),(e=>{r&&s(e)}));var l={};function u(e){var t=e?a.getFormat(e):{},r=Object.keys(t);(r.length!==Object.keys(l).length||r.find((e=>t[e]!==l[e])))&&(l=t,n("statuschange",{},t))}function c(){n("input",{},o())}function d(l){var d=window.Quill;!function(e){var t={divider:pp,ins:vp,align:gp,direction:mp,list:_p,background:yp,box:bp,font:wp,text:xp,image:Sp,link:kp},n={};Object.values(t).forEach((t=>un(n,t(e)))),e.register(n,!0)}(d);var h={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};l.length&&(d.register("modules/ImageResize",window.ImageResize.default),h.modules={ImageResize:{modules:l}});var f=t.value,p=(a=new d(f,h)).root;["focus","blur","input"].forEach((t=>{p.addEventListener(t,(r=>{var i=o();if("input"===t){if("ios"===Du().platform){var a=(i.html.match(/<span [\s\S]*>([\s\S]*)<\/span>/)||[])[1];s(a&&a.replace(/\s/g,"")?"":e.placeholder)}r.stopPropagation()}else n(t,r,i)}))})),a.on("text-change",c),a.on("selection-change",u),a.on("scroll-optimize",(()=>{u(a.selection.getRange()[0])})),a.clipboard.addMatcher(Node.ELEMENT_NODE,((e,t)=>(i||t.ops&&(t.ops=t.ops.filter((e=>{var{insert:t}=e;return gn(t)})).map((e=>{var{insert:t}=e;return{insert:t}}))),t))),r=!0,n("ready",{},{})}mg(((e,t,n)=>{var s,l,d,{options:h,callbackId:f}=t;if(r){var p=window.Quill;switch(e){case"format":var{name:v="",value:g=!1}=h;l=a.getSelection(!0);var m=a.getFormat(l)[v]||!1;if(["bold","italic","underline","strike","ins"].includes(v))g=!m;else if("direction"===v){g=("rtl"!==g||!m)&&g;var _=a.getFormat(l).align;"rtl"!==g||_?g||"right"!==_||a.format("align",!1,"user"):a.format("align","right","user")}else if("indent"===v){g="+1"===g,"rtl"===a.getFormat(l).direction&&(g=!g),g=g?"+1":"-1"}else"list"===v&&(g="check"===g?"unchecked":g,m="checked"===m?"unchecked":m),g=m&&m!==(g||!1)||!m&&g?g:!m;a.format(v,g,"user");break;case"insertDivider":l=a.getSelection(!0),a.insertText(l.index,Wn,"user"),a.insertEmbed(l.index+1,"divider",!0,"user"),a.setSelection(l.index+2,0,"silent");break;case"insertImage":l=a.getSelection(!0);var{src:y="",alt:b="",width:w="",height:x="",extClass:S="",data:k={}}=h,T=zu(y);a.insertEmbed(l.index,"image",T,"silent");var E=!!/^(file|blob):/.test(T)&&T;a.formatText(l.index,1,"data-local",E,"silent"),a.formatText(l.index,1,"alt",b,"silent"),a.formatText(l.index,1,"width",w,"silent"),a.formatText(l.index,1,"height",x,"silent"),a.formatText(l.index,1,"class",S,"silent"),a.formatText(l.index,1,"data-custom",Object.keys(k).map((e=>"".concat(e,"=").concat(k[e]))).join("&"),"silent"),a.setSelection(l.index+1,0,"silent"),a.scrollIntoView(),setTimeout((()=>{c()}),1e3);break;case"insertText":l=a.getSelection(!0);var{text:C=""}=h;a.insertText(l.index,C,"user"),a.setSelection(l.index+C.length,0,"silent");break;case"setContents":var{delta:M,html:O}=h;"object"==typeof M?a.setContents(M,"silent"):gn(O)?a.setContents(function(e){var t,n=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"],r="";cp(e,{start:function(e,i,a){if(n.includes(e)){t=!1;var o=i.map((e=>{var{name:t,value:n}=e;return"".concat(t,'="').concat(n,'"')})).join(" "),s="<".concat(e," ").concat(o," ").concat(a?"/":"",">");r+=s}else t=!a},end:function(e){t||(r+="</".concat(e,">"))},chars:function(e){t||(r+=e)}}),i=!0;var o=a.clipboard.convert(r);return i=!1,o}(O),"silent"):d="contents is missing";break;case"getContents":s=o();break;case"clear":a.setText("");break;case"removeFormat":l=a.getSelection(!0);var I=p.import("parchment");l.length?a.removeFormat(l.index,l.length,"user"):Object.keys(a.getFormat(l)).forEach((e=>{I.query(e,I.Scope.INLINE)&&a.format(e,!1)}));break;case"undo":a.history.undo();break;case"redo":a.history.redo();break;case"blur":a.blur();break;case"getSelectionText":s={text:""},(l=a.selection.savedRange)&&0!==l.length&&(s.text=a.getText(l.index,l.length));break;case"scrollIntoView":a.scrollIntoView()}u(l)}else d="not ready";f&&n({callbackId:f,data:un({},s,{errMsg:"".concat(e,":").concat(d?"fail "+d:"ok")})})}),yg(),!0),Mo((()=>{var t=[];e.showImgSize&&t.push("DisplaySize"),e.showImgToolbar&&t.push("Toolbar"),e.showImgResize&&t.push("Resize");fp(window.Quill,"./__uniappquill.js",(()=>{if(t.length){fp(window.ImageResize,"./__uniappquillimageresize.js",(()=>{d(t)}))}else d(t)}))}))}const Ep=pf({name:"Editor",props:un({},Jf,{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}}),emit:["ready","focus","blur","input","statuschange",...Qf],setup(e,t){var{emit:n}=t,r=ka(null),i=bf(r,n);return Tp(e,r,i),ep(e,r,i),()=>Rs("uni-editor",{ref:r,id:e.id,class:"ql-container"},null,8,["id"])}});var Cp="#10aeff",Mp="#b2b2b2",Op={success:{d:"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.176zM24.832 11.328l-11.264 11.104q-0.032 0.032-0.112 0.032t-0.112-0.032l-5.216-5.376q-0.096-0.128 0-0.288l0.704-0.96q0.032-0.064 0.112-0.064t0.112 0.032l4.256 3.264q0.064 0.032 0.144 0.032t0.112-0.032l10.336-8.608q0.064-0.064 0.144-0.064t0.112 0.064l0.672 0.672q0.128 0.128 0 0.224z",c:Vn},success_no_circle:{d:nu,c:Vn},info:{d:"M15.808 0.128q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.176 3.776-2.176 8.16 0 4.224 2.176 7.872 2.080 3.552 5.632 5.632 3.648 2.176 7.872 2.176 4.384 0 8.16-2.176 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.416-2.176-8.16-2.112-3.616-5.728-5.728-3.744-2.176-8.16-2.176zM16.864 23.776q0 0.064-0.064 0.064h-1.568q-0.096 0-0.096-0.064l-0.256-11.328q0-0.064 0.064-0.064h2.112q0.096 0 0.064 0.064l-0.256 11.328zM16 10.88q-0.576 0-0.976-0.4t-0.4-0.96 0.4-0.96 0.976-0.4 0.976 0.4 0.4 0.96-0.4 0.96-0.976 0.4z",c:Cp},warn:{d:"M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z",c:"#f76260"},waiting:{d:"M15.84 0.096q-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.176zM23.008 21.92l-0.512 0.896q-0.096 0.128-0.224 0.064l-8-3.808q-0.096-0.064-0.16-0.128-0.128-0.096-0.128-0.288l0.512-12.096q0-0.064 0.048-0.112t0.112-0.048h1.376q0.064 0 0.112 0.048t0.048 0.112l0.448 10.848 6.304 4.256q0.064 0.064 0.080 0.128t-0.016 0.128z",c:Cp},cancel:{d:"M20.928 10.176l-4.928 4.928-4.928-4.928-0.896 0.896 4.928 4.928-4.928 4.928 0.896 0.896 4.928-4.928 4.928 4.928 0.896-0.896-4.928-4.928 4.928-4.928-0.896-0.896zM16 2.080q-3.776 0-7.040 1.888-3.136 1.856-4.992 4.992-1.888 3.264-1.888 7.040t1.888 7.040q1.856 3.136 4.992 4.992 3.264 1.888 7.040 1.888t7.040-1.888q3.136-1.856 4.992-4.992 1.888-3.264 1.888-7.040t-1.888-7.040q-1.856-3.136-4.992-4.992-3.264-1.888-7.040-1.888zM16 28.64q-3.424 0-6.4-1.728-2.848-1.664-4.512-4.512-1.728-2.976-1.728-6.4t1.728-6.4q1.664-2.848 4.512-4.512 2.976-1.728 6.4-1.728t6.4 1.728q2.848 1.664 4.512 4.512 1.728 2.976 1.728 6.4t-1.728 6.4q-1.664 2.848-4.512 4.512-2.976 1.728-6.4 1.728z",c:"#f43530"},download:{d:"M15.808 1.696q-3.776 0-7.072 1.984-3.2 1.888-5.088 5.152-1.952 3.392-1.952 7.36 0 3.776 1.952 7.072 1.888 3.2 5.088 5.088 3.296 1.952 7.072 1.952 3.968 0 7.36-1.952 3.264-1.888 5.152-5.088 1.984-3.296 1.984-7.072 0-4-1.984-7.36-1.888-3.264-5.152-5.152-3.36-1.984-7.36-1.984zM20.864 18.592l-3.776 4.928q-0.448 0.576-1.088 0.576t-1.088-0.576l-3.776-4.928q-0.448-0.576-0.24-0.992t0.944-0.416h2.976v-8.928q0-0.256 0.176-0.432t0.4-0.176h1.216q0.224 0 0.4 0.176t0.176 0.432v8.928h2.976q0.736 0 0.944 0.416t-0.24 0.992z",c:Vn},search:{d:"M20.928 22.688q-1.696 1.376-3.744 2.112-2.112 0.768-4.384 0.768-3.488 0-6.464-1.728-2.88-1.696-4.576-4.608-1.76-2.976-1.76-6.464t1.76-6.464q1.696-2.88 4.576-4.576 2.976-1.76 6.464-1.76t6.464 1.76q2.912 1.696 4.608 4.576 1.728 2.976 1.728 6.464 0 2.272-0.768 4.384-0.736 2.048-2.112 3.744l9.312 9.28-1.824 1.824-9.28-9.312zM12.8 23.008q2.784 0 5.184-1.376 2.304-1.376 3.68-3.68 1.376-2.4 1.376-5.184t-1.376-5.152q-1.376-2.336-3.68-3.68-2.4-1.408-5.184-1.408t-5.152 1.408q-2.336 1.344-3.68 3.68-1.408 2.368-1.408 5.152t1.408 5.184q1.344 2.304 3.68 3.68 2.368 1.376 5.152 1.376zM12.8 23.008v0z",c:Mp},clear:{d:"M16 0q-4.352 0-8.064 2.176-3.616 2.144-5.76 5.76-2.176 3.712-2.176 8.064t2.176 8.064q2.144 3.616 5.76 5.76 3.712 2.176 8.064 2.176t8.064-2.176q3.616-2.144 5.76-5.76 2.176-3.712 2.176-8.064t-2.176-8.064q-2.144-3.616-5.76-5.76-3.712-2.176-8.064-2.176zM22.688 21.408q0.32 0.32 0.304 0.752t-0.336 0.736-0.752 0.304-0.752-0.32l-5.184-5.376-5.376 5.184q-0.32 0.32-0.752 0.304t-0.736-0.336-0.304-0.752 0.32-0.752l5.376-5.184-5.184-5.376q-0.32-0.32-0.304-0.752t0.336-0.752 0.752-0.304 0.752 0.336l5.184 5.376 5.376-5.184q0.32-0.32 0.752-0.304t0.752 0.336 0.304 0.752-0.336 0.752l-5.376 5.184 5.184 5.376z",c:Mp}};const Ip=pf({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=rl((()=>Op[e.type]));return()=>{var{value:n}=t;return Rs("uni-icon",null,[n&&n.d&&ru(n.d,e.color||n.c,Ql(e.size))])}}});var Lp={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Ap={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Np={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]};const Bp=pf({name:"Image",props:Lp,setup(e,t){var{emit:n}=t,r=ka(null),i=function(e,t){var n=ka(""),r=rl((()=>{var e="auto",r="",i=Np[t.mode];return i?(i[0]&&(r=i[0]),i[1]&&(e=i[1])):(r="0% 0%",e="100% 100%"),"background-image:".concat(n.value?'url("'+n.value+'")':"none",";background-position:").concat(r,";background-size:").concat(e,";")})),i=ua({rootEl:e,src:rl((()=>t.src?zu(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:r,imgSrc:n});return Mo((()=>{var t=e.value.style;i.origWidth=Number(t.width)||0,i.origHeight=Number(t.height)||0})),i}(r,e),a=bf(r,n),{fixSize:o}=function(e,t,n){var r=()=>{var{mode:r}=t,i=Ap[r];if(i){var{origWidth:a,origHeight:o}=n,s=a&&o?a/o:0;if(s){var l=e.value,u=l[i[0]];u&&(l.style[i[1]]=function(e){Rp&&e>10&&(e=2*Math.round(e/2));return e}(i[2](u,s))+"px"),window.dispatchEvent(new CustomEvent("updateview"))}}},i=()=>{var{style:t}=e.value,{origStyle:{width:r,height:i}}=n;t.width=r,t.height=i};return po((()=>t.mode),((e,t)=>{Ap[t]&&i(),Ap[e]&&r()})),{fixSize:r,resetSize:i}}(r,e,i);return function(e,t,n,r,i){var a,o,s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.origWidth=t,e.origHeight=n,e.imgSrc=r},l=l=>{if(!l)return u(),void s();(a=a||new Image).onload=e=>{var{width:c,height:d}=a;s(c,d,l),r(),a.draggable=t.draggable,o&&o.remove(),o=a,n.value.appendChild(a),u(),i("load",e,{width:c,height:d})},a.onerror=t=>{s(),u(),i("error",t,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},a.src=l},u=()=>{a&&(a.onload=null,a.onerror=null,a=null)};po((()=>e.src),(e=>l(e))),po((()=>e.imgSrc),(e=>{!e&&o&&(o.remove(),o=null)})),Mo((()=>l(e.src))),Lo((()=>u()))}(i,e,r,o,a),()=>Rs("uni-image",{ref:r},[Rs("div",{style:i.modeStyle},null,4),Ap[e.mode]?Rs(If,{onResize:o},null,8,["onResize"]):Rs("span",null,null)],512)}});var Rp="Google Inc."===navigator.vendor;var Pp,Dp=rr(!0),zp=[],Fp=0,$p=e=>zp.forEach((t=>t.userAction=e));function jp(){var e=ua({userAction:!1});return Mo((()=>{!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{userAction:!1};if(!Pp){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!Fp&&$p(!0),Fp++,setTimeout((()=>{!--Fp&&$p(!1)}),0)}),Dp)})),Pp=!0}zp.push(e)}(e)})),Lo((()=>{var t,n;t=e,(n=zp.indexOf(t))>=0&&zp.splice(n,1)})),{state:e}}function Wp(){var e=ua({attrs:{}});return Mo((()=>{for(var t=Ys();t;){var n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function Vp(e,t){var n=document.activeElement;if(!n)return t({});var r={};["input","textarea"].includes(n.tagName.toLowerCase())&&(r.start=n.selectionStart,r.end=n.selectionEnd),t(r)}var Hp;function Up(e,t){return"number"===t&&isNaN(Number(e))&&(e=""),null===e?"":String(e)}var qp=un({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"}},Jf),Yp=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend",...Qf];function Xp(e,t,n,r){var i=function(e,t,n){var r,{clearTimeout:i,setTimeout:a}=n,o=function(){i(r),r=a((()=>e.apply(this,arguments)),t)};return o.cancel=function(){i(r)},o}((n=>{t.value=Up(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout});po((()=>e.modelValue),i),po((()=>e.value),i);var a=function(e,t){var n,r,i=0,a=function(){for(var a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];var l=Date.now();clearTimeout(n),r=()=>{r=null,i=l,e.apply(this,o)},l-i<t?n=setTimeout(r,t-(l-i)):r()};return a.cancel=function(){clearTimeout(n),r=null},a.flush=function(){clearTimeout(n),r&&r()},a}(((e,t)=>{i.cancel(),n("update:modelValue",t.value),n("update:value",t.value),r("input",e,t)}),100);return Co((()=>{i.cancel(),a.cancel()})),{trigger:r,triggerInput:(e,t,n)=>{i.cancel(),a(e,t),n&&a.flush()}}}function Zp(e,t){var{state:n}=jp(),r=rl((()=>e.autoFocus||e.focus));function i(){if(r.value){var e=t.value;if(e&&"plus"in window){var a=200-(Date.now()-Hp);a>0?setTimeout(i,a):(e.focus(),n.userAction||plus.key.showSoftKeybord())}else setTimeout(i,100)}}po((()=>e.focus),(e=>{var n;e?i():(n=t.value)&&n.blur()})),Mo((()=>{Hp=Hp||Date.now(),r.value&&Ha(i)}))}function Gp(e,t,n,r){Hr(au(),"getSelectedTextRange",Vp);var{fieldRef:i,state:a,trigger:o}=function(e,t,n){var r=ka(null),i=bf(t,n),a=rl((()=>{var t=Number(e.selectionStart);return isNaN(t)?-1:t})),o=rl((()=>{var t=Number(e.selectionEnd);return isNaN(t)?-1:t})),s=rl((()=>{var t=Number(e.cursor);return isNaN(t)?-1:t})),l=rl((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t})),u=Up(e.modelValue,e.type)||Up(e.value,e.type),c=ua({value:u,valueOrigin:u,maxlength:l,focus:e.focus,composing:!1,selectionStart:a,selectionEnd:o,cursor:s});return po((()=>c.focus),(e=>n("update:focus",e))),po((()=>c.maxlength),(e=>c.value=c.value.slice(0,e))),{fieldRef:r,state:c,trigger:i}}(e,t,n),{triggerInput:s}=Xp(e,a,n,o);Zp(e,i),ep(e,i,o);var{state:l}=Wp();return function(e,t){var n=co(wf,!1);if(n){var r=Ys(),i={submit(){var n=r.proxy;return[n[e],gn(t)?n[t]:t.value]},reset(){gn(t)?r.proxy[t]="":t.value=""}};n.addField(i),Lo((()=>{n.removeField(i)}))}}("name",a),function(e,t,n,r,i,a){function o(){var n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function s(){var 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}po([()=>t.selectionStart,()=>t.selectionEnd],o),po((()=>t.cursor),s),po((()=>e.value),(function(){var u=e.value;if(u){var c=function(e,r){e.stopPropagation(),vn(a)&&!1===a(e,t)||(t.value=u.value,t.composing&&n.ignoreCompositionEvent||i(e,{value:u.value,cursor:l(u)},r))};u.addEventListener("change",(e=>e.stopPropagation())),u.addEventListener("focus",(function(e){t.focus=!0,r("focus",e,{value:t.value}),o(),s()})),u.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,c(e,!0)),t.focus=!1,r("blur",e,{value:t.value,cursor:l(e.target)})})),u.addEventListener("input",c),u.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),u.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,c(e)),d(e)})),u.addEventListener("compositionupdate",d)}function d(e){n.ignoreCompositionEvent||r(e.type,e,{value:e.data})}}))}(i,a,e,o,s,r),{fieldRef:i,state:a,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:o}}var Kp=["none","text","decimal","numeric","tel","search","email","url"];const Jp=pf({name:"Input",props:un({},qp,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""},inputmode:{type:String,default:void 0,validator:e=>!!~Kp.indexOf(e)}}),emits:["confirm",...Yp],setup(e,t){var n,{emit:r}=t,i=["text","number","idcard","digit","password","tel"],a=["off","one-time-code"],o=rl((()=>{var t="";switch(e.type){case"text":"search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~i.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=rl((()=>{var t=a.indexOf(e.textContentType),n=a.indexOf(On(e.textContentType));return a[-1!==t?t:-1!==n?n:0]})),l=ka(""),u=ka(null),{fieldRef:c,state:d,scopedAttrsState:h,fixDisabledColor:f,trigger:p}=Gp(e,u,r,((e,t)=>{var r=e.target;if("number"===o.value){if(n&&(r.removeEventListener("blur",n),n=null),r.validity&&!r.validity.valid){if((!l.value||!r.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",n=()=>{l.value=r.value=""},r.addEventListener("blur",n),!1;if(l.value)if(-1!==l.value.indexOf(".")){if("."!==e.data&&"deleteContentBackward"===e.inputType){var i=l.value.indexOf(".");return l.value=r.value=t.value=l.value.slice(0,i),!0}}else if("."===e.data)return l.value+=".",n=()=>{l.value=r.value=l.value.slice(0,-1)},r.addEventListener("blur",n),!1;return l.value=t.value=r.value="-"===l.value?"":l.value,!1}l.value=r.value;var a=t.maxlength;if(a>0&&r.value.length>a)return r.value=r.value.slice(0,a),t.value=r.value,!1}}));po((()=>d.value),(t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t)}));var v=["number","digit"],g=rl((()=>v.includes(e.type)?e.step:""));function m(t){if("Enter"===t.key){var n=t.target;t.stopPropagation(),p("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}}return()=>{var t=e.disabled&&f?Rs("input",{key:"disabled-input",ref:c,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:o.value,maxlength:d.maxlength,step:g.value,class:"uni-input-input",onFocus:e=>e.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):Rs("input",{key:"input",ref:c,value:d.value,disabled:!!e.disabled,type:o.value,maxlength:d.maxlength,step:g.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",autocomplete:s.value,onKeyup:m,inputmode:e.inputmode},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return Rs("uni-input",{ref:u},[Rs("div",{class:"uni-input-wrapper"},[Do(Rs("div",Ws(h.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ll,!(d.value.length||"-"===l.value)]]),"search"===e.confirmType?Rs("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});function Qp(e){return Object.keys(e).map((t=>[t,e[t]]))}var ev,tv,nv=["class","style"],rv=/^on[A-Z]+/,iv=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{excludeListeners:t=!1,excludeKeys:n=[]}=e,r=Ys(),i=Ta({}),a=Ta({}),o=Ta({}),s=n.concat(nv);return r.attrs=ua(r.attrs),ho((()=>{var e=Qp(r.attrs).reduce(((e,n)=>{var[r,i]=n;return s.includes(r)?e.exclude[r]=i:rv.test(r)?(t||(e.attrs[r]=i),e.listeners[r]=i):e.attrs[r]=i,e}),{exclude:{},attrs:{},listeners:{}});i.value=e.attrs,a.value=e.listeners,o.value=e.exclude})),{$attrs:i,$listeners:a,$excludeAttrs:o}};function av(){ar((()=>{ev||(ev=plus.webview.currentWebview()),tv||(tv=(ev.getStyle()||{}).pullToRefresh||{})}))}function ov(e){var{disable:t}=e;tv&&tv.support&&ev.setPullToRefresh(Object.assign({},tv,{support:!t}))}function sv(e){var t=[];return fn(e)&&e.forEach((e=>{Os(e)?e.type===ks?t.push(...sv(e.children)):t.push(e):fn(e)&&t.push(...sv(e))})),t}function lv(e){Ys().rebuild=e}const uv=pf({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,t){var{slots:n}=t,r=ka(null),i=ka(!1),{setContexts:a,events:o}=function(e,t){var n=ka(0),r=ka(0),i=ua({x:null,y:null}),a=ka(null),o=null,s=[];function l(t){t&&1!==t&&(e.scaleArea?s.forEach((function(e){e._setScale(t)})):o&&o._setScale(t))}function u(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,r=t.value;function i(e){for(var t=0;t<n.length;t++){var a=n[t];if(e===a.rootRef.value)return a}return e===r||e===document.body||e===document?null:i(e.parentNode)}return i(e)}var c=yf((t=>{ov({disable:!0});var n=t.touches;if(n&&n.length>1){var r={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(a.value=cv(r),i.x=r.x,i.y=r.y,!e.scaleArea){var s=u(n[0].target),l=u(n[1].target);o=s&&s===l?s:null}}})),d=yf((e=>{var t=e.touches;if(t&&t.length>1){e.preventDefault();var n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==i.x&&a.value&&a.value>0)l(cv(n)/a.value);i.x=n.x,i.y=n.y}})),h=yf((t=>{ov({disable:!1});var n=t.touches;n&&n.length||t.changedTouches&&(i.x=0,i.y=0,a.value=null,e.scaleArea?s.forEach((function(e){e._endScale()})):o&&o._endScale())}));function f(){p(),s.forEach((function(e,t){e.setParent()}))}function p(){var e=window.getComputedStyle(t.value),i=t.value.getBoundingClientRect();n.value=i.width-["Left","Right"].reduce((function(t,n){var r="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[r])}),0),r.value=i.height-["Top","Bottom"].reduce((function(t,n){var r="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[r])}),0)}return uo("movableAreaWidth",n),uo("movableAreaHeight",r),{setContexts(e){s=e},events:{_onTouchstart:c,_onTouchmove:d,_onTouchend:h,_resize:f}}}(e,r),{$listeners:s,$attrs:l,$excludeAttrs:u}=iv(),c=s.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{var t=c[e],n=o["_".concat(e)];c[e]=t?[].concat(t,n):n})),Mo((()=>{o._resize(),av(),i.value=!0}));var d=[],h=[];function f(){for(var e=[],t=function(){var t=d[n];t instanceof Element||(t=t.el);var r=h.find((e=>t===e.rootRef.value));r&&e.push(_a(r))},n=0;n<d.length;n++)t();a(e)}lv((()=>{d=r.value.children,f()}));return uo("_isMounted",i),uo("movableAreaRootRef",r),uo("addMovableViewContext",(e=>{h.push(e),f()})),uo("removeMovableViewContext",(e=>{var t=h.indexOf(e);t>=0&&(h.splice(t,1),f())})),()=>(n.default&&n.default(),Rs("uni-movable-area",Ws({ref:r},l.value,u.value,c),[Rs(If,{onReize:o._resize},null,8,["onReize"]),d],16))}});function cv(e){return Math.sqrt(e.x*e.x+e.y*e.y)}var dv,hv,fv=function(e,t,n,r){e.addEventListener(t,(e=>{vn(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};function pv(e,t,n){Lo((()=>{document.removeEventListener("mousemove",dv),document.removeEventListener("mouseup",hv)}));var r,i,a=0,o=0,s=0,l=0,u=function(e,n,r,i){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:r,y:i,dx:r-a,dy:i-o,ddx:r-s,ddy:i-l,timeStamp:e.timeStamp}}))return!1},c=null;fv(e,"touchstart",(function(e){if(r=!0,1===e.touches.length&&!c)return c=e,a=s=e.touches[0].pageX,o=l=e.touches[0].pageY,u(e,"start",a,o)})),fv(e,"mousedown",(function(e){if(i=!0,!r&&!c)return c=e,a=s=e.pageX,o=l=e.pageY,u(e,"start",a,o)})),fv(e,"touchmove",(function(e){if(1===e.touches.length&&c){var t=u(e,"move",e.touches[0].pageX,e.touches[0].pageY);return s=e.touches[0].pageX,l=e.touches[0].pageY,t}}));var d=dv=function(e){if(!r&&i&&c){var t=u(e,"move",e.pageX,e.pageY);return s=e.pageX,l=e.pageY,t}};document.addEventListener("mousemove",d),fv(e,"touchend",(function(e){if(0===e.touches.length&&c)return r=!1,c=null,u(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));var h=hv=function(e){if(i=!1,!r&&c)return c=null,u(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",h),fv(e,"touchcancel",(function(e){if(c){r=!1;var t=c;return c=null,u(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function vv(e,t,n){return e>t-n&&e<t+n}function gv(e,t){return vv(e,0,t)}function mv(){}function _v(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function yv(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function bv(e,t,n){this._springX=new yv(e,t,n),this._springY=new yv(e,t,n),this._springScale=new yv(e,t,n),this._startTime=0}function wv(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}mv.prototype.x=function(e){return Math.sqrt(e)},_v.prototype.setV=function(e,t){var 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()},_v.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},_v.prototype.s=function(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t,this._lastDt=e);var 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}},_v.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}},_v.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}},_v.prototype.dt=function(){return-this._x_v/this._x_a},_v.prototype.done=function(){var e=vv(this.s().x,this._endPositionX)||vv(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},_v.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},_v.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},yv.prototype._solve=function(e,t){var n=this._c,r=this._m,i=this._k,a=n*n-4*r*i;if(0===a){var o=-n/(2*r),s=e,l=t/(o*e);return{x:function(e){return(s+l*e)*Math.pow(Math.E,o*e)},dx:function(e){var t=Math.pow(Math.E,o*e);return o*(s+l*e)*t+l*t}}}if(a>0){var u=(-n-Math.sqrt(a))/(2*r),c=(-n+Math.sqrt(a))/(2*r),d=(t-u*e)/(c-u),h=e-d;return{x:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),h*t+d*n},dx:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),h*u*t+d*c*n}}}var f=Math.sqrt(4*r*i-n*n)/(2*r),p=-n/2*r,v=e,g=(t-p*e)/f;return{x:function(e){return Math.pow(Math.E,p*e)*(v*Math.cos(f*e)+g*Math.sin(f*e))},dx:function(e){var t=Math.pow(Math.E,p*e),n=Math.cos(f*e),r=Math.sin(f*e);return t*(g*f*n-v*f*r)+p*t*(g*r+v*n)}}},yv.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},yv.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},yv.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!gv(t,.1)){t=t||0;var r=this._endPosition;this._solution&&(gv(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),gv(t,.1)&&(t=0),gv(r,.1)&&(r=0),r+=this._endPosition),this._solution&&gv(r-e,.1)&&gv(t,.1)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,t),this._startTime=n)}},yv.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},yv.prototype.done=function(e){return e||(e=(new Date).getTime()),vv(this.x(),this._endPosition,.1)&&gv(this.dx(),.1)},yv.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())},yv.prototype.springConstant=function(){return this._k},yv.prototype.damping=function(){return this._c},yv.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}]},bv.prototype.setEnd=function(e,t,n,r){var i=(new Date).getTime();this._springX.setEnd(e,r,i),this._springY.setEnd(t,r,i),this._springScale.setEnd(n,r,i),this._startTime=i},bv.prototype.x=function(){var e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},bv.prototype.done=function(){var e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},bv.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 xv=pf({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:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},emits:["change","scale"],setup(e,t){var{slots:n,emit:r}=t,i=ka(null),a=bf(i,r),{setParent:o}=function(e,t,n){var r,i,a=co("_isMounted",ka(!1)),o=co("addMovableViewContext",(()=>{})),s=co("removeMovableViewContext",(()=>{})),l=ka(1),u=ka(1),c=ka(!1),d=ka(0),h=ka(0),f=null,p=null,v=!1,g=null,m=null,_=new mv,y=new mv,b={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=rl((()=>{var t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new _v(1,w.value);po((()=>e.disabled),(()=>{U()}));var{_updateOldScale:S,_endScale:k,_setScale:T,scaleValueSync:E,_updateBoundary:C,_updateOffset:M,_updateWH:O,_scaleOffset:I,minX:L,minY:A,maxX:N,maxY:B,FAandSFACancel:R,_getLimitXY:P,_setTransform:D,_revise:z,dampingNumber:F,xMove:$,yMove:j,xSync:W,ySync:V,_STD:H}=function(e,t,n,r,i,a,o,s,l,u){var c=rl((()=>{var t=Number(e.scaleMin);return isNaN(t)?.5:t})),d=rl((()=>{var t=Number(e.scaleMax);return isNaN(t)?10:t})),h=ka(Number(e.scaleValue)||1);po(h,(e=>{D(e)})),po(c,(()=>{P()})),po(d,(()=>{P()})),po((()=>e.scaleValue),(e=>{h.value=Number(e)||0}));var{_updateBoundary:f,_updateOffset:p,_updateWH:v,_scaleOffset:g,minX:m,minY:_,maxX:y,maxY:b}=function(e,t,n){var r=co("movableAreaWidth",ka(0)),i=co("movableAreaHeight",ka(0)),a=co("movableAreaRootRef"),o={x:0,y:0},s={x:0,y:0},l=ka(0),u=ka(0),c=ka(0),d=ka(0),h=ka(0),f=ka(0);function p(){var e=0-o.x+s.x,t=r.value-l.value-o.x-s.x;c.value=Math.min(e,t),h.value=Math.max(e,t);var n=0-o.y+s.y,a=i.value-u.value-o.y-s.y;d.value=Math.min(n,a),f.value=Math.max(n,a)}function v(){o.x=Tv(e.value,a.value),o.y=Ev(e.value,a.value)}function g(r){r=r||t.value,r=n(r);var i=e.value.getBoundingClientRect();u.value=i.height/t.value,l.value=i.width/t.value;var a=u.value*r,o=l.value*r;s.x=(o-l.value)/2,s.y=(a-u.value)/2}return{_updateBoundary:p,_updateOffset:v,_updateWH:g,_scaleOffset:s,minX:c,minY:d,maxX:h,maxY:f}}(t,r,R),{FAandSFACancel:w,_getLimitXY:x,_animationTo:S,_setTransform:k,_revise:T,dampingNumber:E,xMove:C,yMove:M,xSync:O,ySync:I,_STD:L}=function(e,t,n,r,i,a,o,s,l,u,c,d,h,f){var p=rl((()=>{var e=Number(t.damping);return isNaN(e)?20:e})),v=rl((()=>"all"===t.direction||"horizontal"===t.direction)),g=rl((()=>"all"===t.direction||"vertical"===t.direction)),m=ka(Mv(t.x)),_=ka(Mv(t.y));po((()=>t.x),(e=>{m.value=Mv(e)})),po((()=>t.y),(e=>{_.value=Mv(e)})),po(m,(e=>{T(e)})),po(_,(e=>{E(e)}));var y=new bv(1,9*Math.pow(p.value,2)/40,p.value);function b(e,t){var n=!1;return e>i.value?(e=i.value,n=!0):e<o.value&&(e=o.value,n=!0),t>a.value?(t=a.value,n=!0):t<s.value&&(t=s.value,n=!0),{x:e,y:t,outOfBounds:n}}function w(){d&&d.cancel(),c&&c.cancel()}function x(e,n,i,a,o,s){w(),v.value||(e=l.value),g.value||(n=u.value),t.scale||(i=r.value);var d=b(e,n);e=d.x,n=d.y,t.animation?(y._springX._solution=null,y._springY._solution=null,y._springScale._solution=null,y._springX._endPosition=l.value,y._springY._endPosition=u.value,y._springScale._endPosition=r.value,y.setEnd(e,n,i,1),c=Cv(y,(function(){var e=y.x();S(e.x,e.y,e.scale,a,o,s)}),(function(){c.cancel()}))):S(e,n,i,a,o,s)}function S(i,a,o){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",c=arguments.length>4?arguments[4]:void 0,d=arguments.length>5?arguments[5]:void 0;null!==i&&"NaN"!==i.toString()&&"number"==typeof i||(i=l.value||0),null!==a&&"NaN"!==a.toString()&&"number"==typeof a||(a=u.value||0),i=Number(i.toFixed(1)),a=Number(a.toFixed(1)),o=Number(o.toFixed(1)),l.value===i&&u.value===a||c||f("change",{},{x:wv(i,n.x),y:wv(a,n.y),source:s}),t.scale||(o=r.value),o=+(o=h(o)).toFixed(3),d&&o!==r.value&&f("scale",{},{x:i,y:a,scale:o});var p="translateX("+i+"px) translateY("+a+"px) translateZ(0px) scale("+o+")";e.value&&(e.value.style.transform=p,e.value.style.webkitTransform=p,l.value=i,u.value=a,r.value=o)}function k(e){var t=b(l.value,u.value),n=t.x,i=t.y,a=t.outOfBounds;return a&&x(n,i,r.value,e),a}function T(e){if(v.value){if(e+n.x===l.value)return l;c&&c.cancel(),x(e+n.x,_.value+n.y,r.value)}return e}function E(e){if(g.value){if(e+n.y===u.value)return u;c&&c.cancel(),x(m.value+n.x,e+n.y,r.value)}return e}return{FAandSFACancel:w,_getLimitXY:b,_animationTo:x,_setTransform:S,_revise:k,dampingNumber:p,xMove:v,yMove:g,xSync:m,ySync:_,_STD:y}}(t,e,g,r,y,b,m,_,o,s,l,u,R,n);function A(t,n){if(e.scale){t=R(t),v(t),f();var r=x(o.value,s.value),i=r.x,a=r.y;n?S(i,a,t,"",!0,!0):kv((function(){k(i,a,t,"",!0,!0)}))}}function N(){a.value=!0}function B(e){i.value=e}function R(e){return e=Math.max(.5,c.value,e),e=Math.min(10,d.value,e)}function P(){if(!e.scale)return!1;A(r.value,!0),B(r.value)}function D(t){return!!e.scale&&(A(t=R(t),!0),B(t),t)}function z(){a.value=!1,B(r.value)}function F(e){e&&(e=i.value*e,N(),A(e))}return{_updateOldScale:B,_endScale:z,_setScale:F,scaleValueSync:h,_updateBoundary:f,_updateOffset:p,_updateWH:v,_scaleOffset:g,minX:m,minY:_,maxX:y,maxY:b,FAandSFACancel:w,_getLimitXY:x,_animationTo:S,_setTransform:k,_revise:T,dampingNumber:E,xMove:C,yMove:M,xSync:O,ySync:I,_STD:L}}(e,n,t,l,u,c,d,h,f,p);function U(){c.value||e.disabled||(ov({disable:!0}),R(),b.historyX=[0,0],b.historyY=[0,0],b.historyT=[0,0],$.value&&(r=d.value),j.value&&(i=h.value),n.value.style.willChange="transform",g=null,m=null,v=!0)}function q(t){if(!c.value&&!e.disabled&&v){var n=d.value,a=h.value;if(null===m&&(m=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),$.value&&(n=t.detail.dx+r,b.historyX.shift(),b.historyX.push(n),j.value||null!==g||(g=Math.abs(t.detail.dx/t.detail.dy)<1)),j.value&&(a=t.detail.dy+i,b.historyY.shift(),b.historyY.push(a),$.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();var o="touch";n<L.value?e.outOfBounds?(o="touch-out-of-bounds",n=L.value-_.x(L.value-n)):n=L.value:n>N.value&&(e.outOfBounds?(o="touch-out-of-bounds",n=N.value+_.x(n-N.value)):n=N.value),a<A.value?e.outOfBounds?(o="touch-out-of-bounds",a=A.value-y.x(A.value-a)):a=A.value:a>B.value&&(e.outOfBounds?(o="touch-out-of-bounds",a=B.value+y.x(a-B.value)):a=B.value),kv((function(){D(n,a,l.value,o)}))}}}function Y(){if(!c.value&&!e.disabled&&v&&(ov({disable:!1}),n.value.style.willChange="auto",v=!1,!g&&!z("out-of-bounds")&&e.inertia)){var t=1e3*(b.historyX[1]-b.historyX[0])/(b.historyT[1]-b.historyT[0]),r=1e3*(b.historyY[1]-b.historyY[0])/(b.historyT[1]-b.historyT[0]),i=d.value,a=h.value;x.setV(t,r),x.setS(i,a);var o=x.delta().x,s=x.delta().y,u=o+i,f=s+a;u<L.value?(u=L.value,f=a+(L.value-i)*s/o):u>N.value&&(u=N.value,f=a+(N.value-i)*s/o),f<A.value?(f=A.value,u=i+(A.value-a)*o/s):f>B.value&&(f=B.value,u=i+(B.value-a)*o/s),x.setEnd(u,f),p=Cv(x,(function(){var e=x.s(),t=e.x,n=e.y;D(t,n,l.value,"friction")}),(function(){p.cancel()}))}e.outOfBounds||e.inertia||R()}function X(){if(a.value){R();var t=e.scale?E.value:1;M(),O(t),C();var n=P(W.value+I.x,V.value+I.y),r=n.x,i=n.y;D(r,i,t,"",!0),S(t)}}return Mo((()=>{pv(n.value,(e=>{switch(e.detail.state){case"start":U();break;case"move":q(e);break;case"end":Y()}})),X(),x.reconfigure(1,w.value),H.reconfigure(1,9*Math.pow(F.value,2)/40,F.value),n.value.style.transformOrigin="center",av();var e={rootRef:n,setParent:X,_endScale:k,_setScale:T};o(e),Ao((()=>{s(e)}))})),Ao((()=>{R()})),{setParent:X}}(e,a,i);return()=>Rs("uni-movable-view",{ref:i},[Rs(If,{onResize:o},null,8,["onResize"]),n.default&&n.default()],512)}});var Sv=!1;function kv(e){Sv||(Sv=!0,requestAnimationFrame((function(){e(),Sv=!1})))}function Tv(e,t){if(e===t)return 0;var n=e.offsetLeft;return e.offsetParent?n+=Tv(e.offsetParent,t):0}function Ev(e,t){if(e===t)return 0;var n=e.offsetTop;return e.offsetParent?n+=Ev(e.offsetParent,t):0}function Cv(e,t,n){var r={id:0,cancelled:!1};return function e(t,n,r,i){if(!t||!t.cancelled){r(n);var a=n.done();a||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,r,i))),a&&i&&i(n)}}(r,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,r),model:e}}function Mv(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}var Ov=["navigate","redirect","switchTab","reLaunch","navigateBack"],Iv=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],Lv=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"];const Av=pf({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:{hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~Ov.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||Iv.concat(Lv).includes(e)},animationDuration:{type:[String,Number],default:300}},setup(e,t){var{slots:n}=t,r=Ys(),i=r&&r.vnode.scopeId||"",{hovering:a,binding:o}=mf(e),s=function(e){return()=>{if("navigateBack"===e.openType||e.url){var t=parseInt(e.animationDuration);switch(e.openType){case"navigate":uni.navigateTo({url:e.url,animationType:e.animationType||"pop-in",animationDuration:t});break;case"redirect":uni.redirectTo({url:e.url,exists:e.exists});break;case"switchTab":uni.switchTab({url:e.url});break;case"reLaunch":uni.reLaunch({url:e.url});break;case"navigateBack":uni.navigateBack({delta:e.delta,animationType:e.animationType||"pop-out",animationDuration:t})}}else console.error("<navigator/> should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}(e);return()=>{var{hoverClass:t,url:l}=e,u=e.hoverClass&&"none"!==e.hoverClass;return Rs("a",{class:"navigator-wrap",href:l,onClick:Xl,onMousedown:Xl},[Rs("uni-navigator",Ws({class:u&&a.value?t:""},u&&o,r?r.attrs:{},{[i]:""},{onClick:s}),[n.default&&n.default()],16,["onClick"])],40,["href","onClick","onMousedown"])}}});const Nv=pf({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return fn(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,t){var{slots:n,emit:r}=t,i=ka(null),a=ka(null),o=bf(i,r),s=function(e){var t=ua([...e.value]),n=ua({value:t,height:34});return po((()=>e.value),((e,t)=>{(e===t||e.length!==t.length||e.findIndex(((e,n)=>e!==t[n]))>=0)&&(n.value.length=e.length,e.forEach(((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)})))})),n}(e),l=ka(null),u=ka([]),c=ka([]);function d(e){var t=c.value;if(t instanceof HTMLCollection)return Array.prototype.indexOf.call(t,e.el);var n=(t=t.filter((e=>e.type!==Es))).indexOf(e);return-1!==n?n:u.value.indexOf(e)}return uo("getPickerViewColumn",(function(e){return rl({get(){var t=d(e.vnode);return s.value[t]||0},set(t){var n=d(e.vnode);if(!(n<0)&&s.value[n]!==t){s.value[n]=t;var i=s.value.map((e=>e));r("update:value",i),o("change",{},{value:i})}}})})),uo("pickerViewProps",e),uo("pickerViewState",s),lv((()=>{var e;e=l.value,s.height=e.$el.offsetHeight,c.value=a.value.children})),()=>{var e=n.default&&n.default();return Rs("uni-picker-view",{ref:i},[Rs(If,{ref:l,onResize:e=>{var{height:t}=e;return s.height=t}},null,8,["onResize"]),Rs("div",{ref:a,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Bv{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);var t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);var t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){var t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){var e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function Rv(e,t,n){return e>t-n&&e<t+n}function Pv(e,t){return Rv(e,0,t)}class Dv{constructor(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}_solve(e,t){var n=this._c,r=this._m,i=this._k,a=n*n-4*r*i;if(0===a){var o=-n/(2*r),s=e,l=t/(o*e);return{x:function(e){return(s+l*e)*Math.pow(Math.E,o*e)},dx:function(e){var t=Math.pow(Math.E,o*e);return o*(s+l*e)*t+l*t}}}if(a>0){var u=(-n-Math.sqrt(a))/(2*r),c=(-n+Math.sqrt(a))/(2*r),d=(t-u*e)/(c-u),h=e-d;return{x:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),h*t+d*n},dx:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),h*u*t+d*c*n}}}var f=Math.sqrt(4*r*i-n*n)/(2*r),p=-n/2*r,v=e,g=(t-p*e)/f;return{x:function(e){return Math.pow(Math.E,p*e)*(v*Math.cos(f*e)+g*Math.sin(f*e))},dx:function(e){var t=Math.pow(Math.E,p*e),n=Math.cos(f*e),r=Math.sin(f*e);return t*(g*f*n-v*f*r)+p*t*(g*r+v*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Pv(t,.4)){t=t||0;var r=this._endPosition;this._solution&&(Pv(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),Pv(t,.4)&&(t=0),Pv(r,.4)&&(r=0),r+=this._endPosition),this._solution&&Pv(r-e,.4)&&Pv(t,.4)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),Rv(this.x(),this._endPosition,.4)&&Pv(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class zv{constructor(e,t,n){this._extent=e,this._friction=t||new Bv(.01),this._spring=n||new Dv(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){var t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){var e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class Fv{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new zv(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){var n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)<this._itemSize&&Math.abs(n.y)<300||Math.abs(n.y)<150))return void this.snap();if(this._enableX&&(Math.abs(e)<this._itemSize&&Math.abs(n.x)<300||Math.abs(n.x)<150))return void this.snap()}var r,i,a;if(this._enableX?this._scroll.set(this._position,n.x):this._enableY&&this._scroll.set(this._position,n.y),this._enableSnap){var o=this._scroll._friction.x(100),s=o%this._itemSize;(r=Math.abs(s)>this._itemSize/2?o-(this._itemSize-Math.abs(s)):o-s)<=0&&r>=-this._extent&&this._scroll.setVelocityByEnd(r)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=(i=this._scroll,function e(t,n,r,i){if(!t||!t.cancelled){r(n);var a=n.done();a||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,r,i))),a&&i&&i(n)}}(a={id:0,cancelled:!1},i,(()=>{var e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();var r=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/r),this._lastTime=e)}),(()=>{this._enableSnap&&(r<=0&&r>=-this._extent&&(this._position=r,this.updatePosition()),vn(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,a),model:i})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){var e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),vn(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);var n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(vn(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;var e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){var r=0,i=this._position;this._enableX?(r=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(r=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-r?this._position=-r:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),i!==this._position&&(this.dispatchScroll(),vn(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=r,this._scroll._extent=r}updatePosition(){var e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}var $v=0;const jv=pf({name:"PickerViewColumn",setup(e,t){var n,r,{slots:i,emit:a}=t,o=ka(null),s=ka(null),l=co("getPickerViewColumn"),u=Ys(),c=l?l(u):ka(0),d=co("pickerViewProps"),h=co("pickerViewState"),f=ka(34),p=ka(null),v=rl((()=>(h.height-f.value)/2)),{state:g}=Wp(),m=function(e){var t="uni-picker-view-content-".concat($v++);return po((()=>e.value),(function(){var n=document.createElement("style");n.innerText=".uni-picker-view-content.".concat(t,">*{height: ").concat(e.value,"px;overflow: hidden;}"),document.head.appendChild(n)})),t}(f),_=ua({current:c.value,length:0});function y(){n&&!r&&(r=!0,Ha((()=>{r=!1;var e=Math.min(_.current,_.length-1);e=Math.max(e,0),n.update(e*f.value,void 0,f.value)})))}po((()=>c.value),(e=>{e!==_.current&&(_.current=e,y())})),po((()=>_.current),(e=>c.value=e)),po([()=>f.value,()=>_.length,()=>h.height],y);var b=0;function w(e){var t=b+e.deltaY;if(Math.abs(t)>10){b=0;var r=Math.min(_.current+(t<0?-1:1),_.length-1);_.current=r=Math.max(r,0),n.scrollTo(r*f.value)}else b=t;e.preventDefault()}function x(e){var{clientY:t}=e,r=o.value;if(!n.isScrolling()){var i=t-r.getBoundingClientRect().top-h.height/2,a=f.value/2;if(!(Math.abs(i)<=a)){var s=Math.ceil((Math.abs(i)-a)/f.value),l=i<0?-s:s,u=Math.min(_.current+l,_.length-1);_.current=u=Math.max(u,0),n.scrollTo(u*f.value)}}}var S=()=>{var e,t,r,i=o.value,a=s.value,{scroller:l,handleTouchStart:u,handleTouchMove:c,handleTouchEnd:d}=function(e,t){var n={trackingID:-1,maxDy:0,maxDx:0},r=new Fv(e,t);function i(e){var t=e,r=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:r.screenX-n.x,y:r.screenY-n.y}}return{scroller:r,handleTouchStart:function(e){var t=e,i=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=i.screenX,n.y=i.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||i.timeStamp],n.listener=r,r.onTouchStart&&r.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){var t=e,r=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();var a=i(e);if(a){for(n.maxDy=Math.max(n.maxDy,Math.abs(a.y)),n.maxDx=Math.max(n.maxDx,Math.abs(a.x)),n.historyX.push(a.x),n.historyY.push(a.y),n.historyTime.push(t.detail.timeStamp||r.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(a.x,a.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();var t=i(e);if(t){var r=n.listener;n.trackingID=-1,n.listener=null;var a={x:0,y:0};if(n.historyTime.length>2)for(var o=n.historyTime.length-1,s=n.historyTime[o],l=n.historyX[o],u=n.historyY[o];o>0;){o--;var c=s-n.historyTime[o];if(c>30&&c<50){a.x=(l-n.historyX[o])/(c/1e3),a.y=(u-n.historyY[o])/(c/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],r&&r.onTouchEnd&&r.onTouchEnd(t.x,t.y,a)}}}}}(a,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:f.value,friction:new Bv(1e-4),spring:new Dv(2,90,20),onSnap:e=>{isNaN(e)||e===_.current||(_.current=e)}});n=l,pv(i,(e=>{switch(e.detail.state){case"start":u(e),ov({disable:!0});break;case"move":c(e),e.stopPropagation();break;case"end":case"cancel":d(e),ov({disable:!1})}}),!0),t=0,r=0,(e=i).addEventListener("touchstart",(e=>{var n=e.changedTouches[0];t=n.clientX,r=n.clientY})),e.addEventListener("touchend",(e=>{var n=e.changedTouches[0];if(Math.abs(n.clientX-t)<20&&Math.abs(n.clientY-r)<20){var i={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},a=new CustomEvent("click",i);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((e=>{a[e]=n[e]})),e.target.dispatchEvent(a)}})),av(),y()},k=!1;return lv((()=>{var e;_.length=s.value.children.length,k||(k=!0,e=p.value,f.value=e.$el.offsetHeight,S())})),()=>{var e=i.default&&i.default(),t="".concat(v.value,"px 0");return Rs("uni-picker-view-column",{ref:o},[Rs("div",{onWheel:w,onClick:x,class:"uni-picker-view-group"},[Rs("div",Ws(g.attrs,{class:["uni-picker-view-mask",d.maskClass],style:"background-size: 100% ".concat(v.value,"px;").concat(d.maskStyle)}),null,16),Rs("div",Ws(g.attrs,{class:["uni-picker-view-indicator",d.indicatorClass],style:d.indicatorStyle}),[Rs(If,{ref:p,onResize:e=>{var{height:t}=e;return f.value=t}},null,8,["onResize"])],16),Rs("div",{ref:s,class:["uni-picker-view-content",m],style:{padding:t}},[e],6)],40,["onWheel","onClick"])],512)}}});var Wv=Vn,Vv="backwards";const Hv=pf({name:"Progress",props:{percent:{type:[Number,String],default:0,validator:e=>!isNaN(parseFloat(e))},fontSize:{type:[String,Number],default:16},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator:e=>!isNaN(parseFloat(e))},color:{type:String,default:Wv},activeColor:{type:String,default:Wv},backgroundColor:{type:String,default:"#EBEBEB"},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:Vv},duration:{type:[Number,String],default:30,validator:e=>!isNaN(parseFloat(e))},borderRadius:{type:[Number,String],default:0}},setup(e){var t=function(e){var t=ka(0),n=rl((()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;"))),r=rl((()=>{var n=e.color!==Wv&&e.activeColor===Wv?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(n)})),i=rl((()=>{var t=parseFloat(e.percent);return t<0&&(t=0),t>100&&(t=100),t})),a=ua({outerBarStyle:n,innerBarStyle:r,realPercent:i,currentPercent:t,strokeTimer:0,lastPercent:0});return a}(e);return Uv(t,e),po((()=>t.realPercent),((n,r)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=r||0,Uv(t,e)})),()=>{var{showInfo:n}=e,{outerBarStyle:r,innerBarStyle:i,currentPercent:a}=t;return Rs("uni-progress",{class:"uni-progress"},[Rs("div",{style:r,class:"uni-progress-bar"},[Rs("div",{style:i,class:"uni-progress-inner-bar"},null,4)],4),n?Rs("p",{class:"uni-progress-info"},[a+"%"]):""])}}});function Uv(e,t){t.active?(e.currentPercent=t.activeMode===Vv?0:e.lastPercent,e.strokeTimer=setInterval((()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1}),parseFloat(t.duration))):e.currentPercent=e.realPercent}var qv=Kl("ucg");const Yv=pf({name:"RadioGroup",props:{name:{type:String,default:""}},setup(e,t){var{emit:n,slots:r}=t,i=ka(null);return function(e,t){var n=[];Mo((()=>{s(n.length-1)}));var r=()=>{var e;return null===(e=n.find((e=>e.value.radioChecked)))||void 0===e?void 0:e.value.value};uo(qv,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},radioChange(e,i){s(n.indexOf(i),!0),t("change",e,{value:r()})}});var i=co(wf,!1),a={submit:()=>{var t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=r()),t}};i&&(i.addField(a),Lo((()=>{i.removeField(a)})));function o(e,t){e.value={radioChecked:t,value:e.value.value}}function s(e,t){n.forEach(((r,i)=>{i!==e&&(t?o(n[i],!1):n.forEach(((e,t)=>{i>=t||n[t].value.radioChecked&&o(n[i],!1)})))}))}}(e,bf(i,n)),()=>Rs("uni-radio-group",{ref:i},[r.default&&r.default()],512)}});const Xv=pf({name:"Radio",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},setup(e,t){var{slots:n}=t,r=ka(e.checked),i=ka(e.value),a=rl((()=>e.disabled?"background-color: #E1E1E1;border-color: ##D1D1D1;":"background-color: ".concat(e.color,";border-color: ").concat(e.color,";")));po([()=>e.checked,()=>e.value],(e=>{var[t,n]=e;r.value=t,i.value=n}));var{uniCheckGroup:o,uniLabel:s,field:l}=function(e,t,n){var r=rl({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:t=>{var{radioChecked:n}=t;e.value=n}}),i={reset:n},a=co(qv,!1);a&&a.addField(r);var o=co(wf,!1);o&&o.addField(i);var s=co(kf,!1);return Lo((()=>{a&&a.removeField(r),o&&o.removeField(i)})),{uniCheckGroup:a,uniForm:o,uniLabel:s,field:r}}(r,i,(()=>{r.value=!1})),u=t=>{e.disabled||(r.value=!0,o&&o.radioChange(t,l),t.stopPropagation())};return s&&(s.addHandler(u),Lo((()=>{s.removeHandler(u)}))),Ef(e,{"label-click":u}),()=>{var t=_f(e,"disabled");return Rs("uni-radio",Ws(t,{onClick:u}),[Rs("div",{class:"uni-radio-wrapper"},[Rs("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:r.value?a.value:""},[r.value?ru(nu,e.disabled?"#ADADAD":"#fff",18):""],6),n.default&&n.default()])],16,["onClick"])}}});var Zv={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:""},Gv={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};var Kv=(e,t,n)=>!n||fn(n)&&!n.length?[]:n.map((n=>{if(xn(n)){if(!hn(n,"type")||"node"===n.type){var r={[e]:""},i=n.name.toLowerCase();if(!hn(Zv,i))return;return function(e,t){if(xn(t))for(var n in t)if(hn(t,n)){var r=t[n];"img"===e&&"src"===n&&(t[n]=zu(r))}}(i,n.attrs),r=un(r,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClick:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),il(n.name,r,Kv(e,t,n.children))}return"text"===n.type&&gn(n.text)&&""!==n.text?zs((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(e,t){return hn(Gv,t)&&Gv[t]?Gv[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e}))):void 0}}));function Jv(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"")}(e);var t=[],n={node:"root",children:[]};return cp(e,{start:function(e,r,i){var a={name:e};if(0!==r.length&&(a.attrs=function(e){return e.reduce((function(e,t){var n=t.value,r=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(r)&&(n=n.split(" ")),e[r]?Array.isArray(e[r])?e[r].push(n):e[r]=[e[r],n]:e[r]=n,e}),{})}(r)),i){var o=t[0]||n;o.children||(o.children=[]),o.children.push(a)}else t.unshift(a)},end:function(e){var r=t.shift();if(r.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(r);else{var i=t[0];i.children||(i.children=[]),i.children.push(r)}},chars:function(e){var r={type:"text",text:e};if(0===t.length)n.children.push(r);else{var i=t[0];i.children||(i.children=[]),i.children.push(r)}},comment:function(e){var n={node:"comment",text:e},r=t[0];r.children||(r.children=[]),r.children.push(n)}}),n.children}const Qv=pf({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["click","touchstart","touchmove","touchcancel","touchend","longpress","itemclick"],setup(e,t){var{emit:n}=t,r=Ys(),i=r&&r.vnode.scopeId||"",a=ka(null),o=ka([]),s=bf(a,n);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s("itemclick",e,t)}return po((()=>e.nodes),(function(){var t=e.nodes;gn(t)&&(t=Jv(e.nodes)),o.value=Kv(i,l,t)}),{immediate:!0}),()=>il("uni-rich-text",{ref:a},il("div",{},o.value))}});var eg=rr(!0);const tg=pf({name:"ScrollView",compatConfig:{MODE:3},props:{scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"back"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,t){var{emit:n,slots:r}=t,i=ka(null),a=ka(null),o=ka(null),s=ka(null),l=ka(null),u=bf(i,n),{state:c,scrollTopNumber:d,scrollLeftNumber:h}=function(e){var t=rl((()=>Number(e.scrollTop)||0)),n=rl((()=>Number(e.scrollLeft)||0)),r=ua({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""});return{state:r,scrollTopNumber:t,scrollLeftNumber:n}}(e);!function(e,t,n,r,i,a,o,s,l){var u=!1,c=0,d=!1,h=()=>{},f=rl((()=>{var t=Number(e.upperThreshold);return isNaN(t)?50:t})),p=rl((()=>{var t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){var n=o.value,r=0,i="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?r=n.scrollLeft-e:"y"===t&&(r=n.scrollTop-e),0!==r){var a=s.value;a.style.transition="transform .3s ease-out",a.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?i="translateX("+r+"px) translateZ(0)":"y"===t&&(i="translateY("+r+"px) translateZ(0)"),a.removeEventListener("transitionend",h),a.removeEventListener("webkitTransitionEnd",h),h=()=>b(e,t),a.addEventListener("transitionend",h),a.addEventListener("webkitTransitionEnd",h),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),a.style.transform=i,a.style.webkitTransform=i}}function g(n){var r=n.target;i("scroll",n,{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop,scrollHeight:r.scrollHeight,scrollWidth:r.scrollWidth,deltaX:t.lastScrollLeft-r.scrollLeft,deltaY:t.lastScrollTop-r.scrollTop}),e.scrollY&&(r.scrollTop<=f.value&&t.lastScrollTop-r.scrollTop>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",n,{direction:"top"}),t.lastScrollToUpperTime=n.timeStamp),r.scrollTop+r.offsetHeight+p.value>=r.scrollHeight&&t.lastScrollTop-r.scrollTop<0&&n.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",n,{direction:"bottom"}),t.lastScrollToLowerTime=n.timeStamp)),e.scrollX&&(r.scrollLeft<=f.value&&t.lastScrollLeft-r.scrollLeft>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",n,{direction:"left"}),t.lastScrollToUpperTime=n.timeStamp),r.scrollLeft+r.offsetWidth+p.value>=r.scrollWidth&&t.lastScrollLeft-r.scrollLeft<0&&n.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",n,{direction:"right"}),t.lastScrollToLowerTime=n.timeStamp)),t.lastScrollTop=r.scrollTop,t.lastScrollLeft=r.scrollLeft}function m(t){e.scrollY&&(e.scrollWithAnimation?v(t,"y"):o.value.scrollTop=t)}function _(t){e.scrollX&&(e.scrollWithAnimation?v(t,"x"):o.value.scrollLeft=t)}function y(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error("id error: scroll-into-view=".concat(t));var n=a.value.querySelector("#"+t);if(n){var r=o.value.getBoundingClientRect(),i=n.getBoundingClientRect();if(e.scrollX){var s=i.left-r.left,l=o.value.scrollLeft+s;e.scrollWithAnimation?v(l,"x"):o.value.scrollLeft=l}if(e.scrollY){var u=i.top-r.top,c=o.value.scrollTop+u;e.scrollWithAnimation?v(c,"y"):o.value.scrollTop=c}}}}function b(t,n){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";var r=o.value;"x"===n?(r.style.overflowX=e.scrollX?"auto":"hidden",r.scrollLeft=t):"y"===n&&(r.style.overflowY=e.scrollY?"auto":"hidden",r.scrollTop=t),s.value.removeEventListener("transitionend",h),s.value.removeEventListener("webkitTransitionEnd",h)}function w(n){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,u||(u=!0,i("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":u=!1,t.refresherHeight=c=0,"restore"===n&&(d=!1,i("refresherrestore",{},{})),"refresherabort"===n&&d&&(d=!1,i("refresherabort",{},{}))}t.refreshState=n}Mo((()=>{Ha((()=>{m(n.value),_(r.value)})),y(e.scrollIntoView);var a=function(e){e.preventDefault(),e.stopPropagation(),g(e)},s={x:0,y:0},l=null,h=function(n){if(null!==s){var r=n.touches[0].pageX,a=n.touches[0].pageY,h=o.value;if(Math.abs(r-s.x)>Math.abs(a-s.y))if(e.scrollX){if(0===h.scrollLeft&&r>s.x)return void(l=!1);if(h.scrollWidth===h.offsetWidth+h.scrollLeft&&r<s.x)return void(l=!1);l=!0}else l=!1;else if(e.scrollY)if(0===h.scrollTop&&a>s.y)l=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(h.scrollHeight===h.offsetHeight+h.scrollTop&&a<s.y)return void(l=!1);l=!0}else l=!1;if(l&&n.stopPropagation(),0===h.scrollTop&&1===n.touches.length&&w("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){var f=a-s.y;0===c&&(c=a),u?(t.refresherHeight=f+e.refresherThreshold,d=!1):(t.refresherHeight=a-c,t.refresherHeight>0&&(d=!0,i("refresherpulling",n,{deltaY:f})));var p=t.refresherHeight/e.refresherThreshold;t.refreshRotate=360*(p>1?1:p)}}},f=function(e){1===e.touches.length&&(ov({disable:!0}),s={x:e.touches[0].pageX,y:e.touches[0].pageY})},p=function(n){s=null,ov({disable:!1}),t.refresherHeight>=e.refresherThreshold?w("refreshing"):w("refresherabort")};o.value.addEventListener("touchstart",f,eg),o.value.addEventListener("touchmove",h,rr(!1)),o.value.addEventListener("scroll",a,rr(!1)),o.value.addEventListener("touchend",p,eg),av(),Lo((()=>{o.value.removeEventListener("touchstart",f),o.value.removeEventListener("touchmove",h),o.value.removeEventListener("scroll",a),o.value.removeEventListener("touchend",p)}))})),wo((()=>{e.scrollY&&(o.value.scrollTop=t.lastScrollTop),e.scrollX&&(o.value.scrollLeft=t.lastScrollLeft)})),po(n,(e=>{m(e)})),po(r,(e=>{_(e)})),po((()=>e.scrollIntoView),(e=>{y(e)})),po((()=>e.refresherTriggered),(e=>{!0===e?w("refreshing"):!1===e&&w("restore")}))}(e,c,d,h,u,i,a,s,n);var f=rl((()=>{var t="";return e.scrollX?t+="overflow-x:auto;":t+="overflow-x:hidden;",e.scrollY?t+="overflow-y:auto;":t+="overflow-y:hidden;",t})),p=r.default&&r.default();return()=>{var{refresherEnabled:t,refresherBackground:n,refresherDefaultStyle:u}=e,{refresherHeight:d,refreshState:h,refreshRotate:v}=c;return Rs("uni-scroll-view",{ref:i},[Rs("div",{ref:o,class:"uni-scroll-view"},[Rs("div",{ref:a,style:f.value,class:"uni-scroll-view"},[Rs("div",{ref:s,class:"uni-scroll-view-content"},[t?Rs("div",{ref:l,style:{backgroundColor:n,height:d+"px"},class:"uni-scroll-view-refresher"},["none"!==u?Rs("div",{class:"uni-scroll-view-refresh"},[Rs("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==h?Rs("svg",{key:"refresh__icon",style:{transform:"rotate("+v+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[Rs("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),Rs("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==h?Rs("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[Rs("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"==u?r.refresher&&r.refresher():null],4):null,p],512)],4)],512)],512)}}});const ng=pf({name:"Slider",props:{name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},emits:["changing","change"],setup(e,t){var{emit:n}=t,r=ka(null),i=ka(null),a=ka(null),o=ka(Number(e.value));po((()=>e.value),(e=>{o.value=Number(e)}));var s=bf(r,n),l=function(e,t){var n=()=>{var n=Number(e.max),r=Number(e.min);return 100*(t.value-r)/(n-r)+"%"},r=()=>"#e9e9e9"!==e.backgroundColor?e.backgroundColor:"#007aff"!==e.color?e.color:"#007aff",i=()=>"#007aff"!==e.activeColor?e.activeColor:"#e9e9e9"!==e.selectedColor?e.selectedColor:"#e9e9e9",a={setBgColor:rl((()=>({backgroundColor:r()}))),setBlockBg:rl((()=>({left:n()}))),setActiveColor:rl((()=>({backgroundColor:i(),width:n()}))),setBlockStyle:rl((()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:n(),backgroundColor:e.blockColor})))};return a}(e,o),{_onClick:u,_onTrack:c}=function(e,t,n,r,i){var a=n=>{e.disabled||(s(n),i("change",n,{value:t.value}))},o=t=>{var n=Number(e.max),r=Number(e.min),i=Number(e.step);return t<r?r:t>n?n:rg.mul.call(Math.round((t-r)/i),i)+r},s=i=>{var a=Number(e.max),s=Number(e.min),l=r.value,u=getComputedStyle(l,null).marginLeft,c=l.offsetWidth;c+=parseInt(u);var d=n.value,h=d.offsetWidth-(e.showValue?c:0),f=d.getBoundingClientRect().left,p=(i.x-f)*(a-s)/h+s;t.value=o(p)},l=n=>{if(!e.disabled)return"move"===n.detail.state?(s({x:n.detail.x}),i("changing",n,{value:t.value}),!1):"end"===n.detail.state&&i("change",n,{value:t.value})},u=co(wf,!1);if(u){var c={reset:()=>t.value=Number(e.min),submit:()=>{var n=["",null];return""!==e.name&&(n[0]=e.name,n[1]=t.value),n}};u.addField(c),Lo((()=>{u.removeField(c)}))}return{_onClick:a,_onTrack:l}}(e,o,r,i,s);return Mo((()=>{pv(a.value,c)})),()=>{var{setBgColor:t,setBlockBg:n,setActiveColor:s,setBlockStyle:c}=l;return Rs("uni-slider",{ref:r,onClick:yf(u)},[Rs("div",{class:"uni-slider-wrapper"},[Rs("div",{class:"uni-slider-tap-area"},[Rs("div",{style:t.value,class:"uni-slider-handle-wrapper"},[Rs("div",{ref:a,style:n.value,class:"uni-slider-handle"},null,4),Rs("div",{style:c.value,class:"uni-slider-thumb"},null,4),Rs("div",{style:s.value,class:"uni-slider-track"},null,4)],4)]),Do(Rs("span",{ref:i,class:"uni-slider-value"},[o.value],512),[[Ll,e.showValue]])]),Rs("slot",null,null)],8,["onClick"])}}});var rg={mul:function(e){var t=0,n=this.toString(),r=e.toString();try{t+=n.split(".")[1].length}catch(i){}try{t+=r.split(".")[1].length}catch(i){}return Number(n.replace(".",""))*Number(r.replace(".",""))/Math.pow(10,t)}};function ig(e,t,n,r,i,a){function o(){u&&(clearTimeout(u),u=null)}var s,l,u=null,c=!0,d=0,h=1,f=null,p=!1,v=0,g="",m=rl((()=>n.value.length>t.displayMultipleItems)),_=rl((()=>e.circular&&m.value));function y(i){Math.floor(2*d)===Math.floor(2*i)&&Math.ceil(2*d)===Math.ceil(2*i)||_.value&&function(r){if(!c)for(var i=n.value,a=i.length,o=r+t.displayMultipleItems,s=0;s<a;s++){var l=i[s],u=Math.floor(r/a)*a+s,d=u+a,h=u-a,f=Math.max(r-(u+1),u-o,0),p=Math.max(r-(d+1),d-o,0),v=Math.max(r-(h+1),h-o,0),g=Math.min(f,p,v),m=[u,d,h][[f,p,v].indexOf(g)];l.updatePosition(m,e.vertical)}}(i);var o="translate("+(e.vertical?"0":100*-i*h+"%")+", "+(e.vertical?100*-i*h+"%":"0")+") translateZ(0)",l=r.value;if(l&&(l.style.webkitTransform=o,l.style.transform=o),d=i,!s){if(i%1==0)return;s=i}i-=Math.floor(s);var u=n.value;i<=-(u.length-1)?i+=u.length:i>=u.length&&(i-=u.length),i=s%1>.5||s<0?i-1:i,a("transition",{},{dx:e.vertical?0:i*l.offsetWidth,dy:e.vertical?i*l.offsetHeight:0})}function b(e){var r=n.value.length;if(!r)return-1;var i=(Math.round(e)%r+r)%r;if(_.value){if(r<=t.displayMultipleItems)return 0}else if(i>r-t.displayMultipleItems)return r-t.displayMultipleItems;return i}function w(){f=null}function x(){if(f){var e=f,r=e.toPos,i=e.acc,o=e.endTime,u=e.source,c=o-Date.now();if(c<=0){y(r),f=null,p=!1,s=null;var d=n.value[t.current];if(d){var h=d.getItemId();a("animationfinish",{},{current:t.current,currentItemId:h,source:u})}}else{y(r+i*c*c/2),l=requestAnimationFrame(x)}}else p=!1}function S(e,r,i){w();var a=t.duration,o=n.value.length,s=d;if(_.value)if(i<0){for(;s<e;)s+=o;for(;s-o>e;)s-=o}else if(i>0){for(;s>e;)s-=o;for(;s+o<e;)s+=o;s+o-e<e-s&&(s+=o)}else{for(;s+o<e;)s+=o;for(;s-o>e;)s-=o;s+o-e<e-s&&(s+=o)}else"click"===r&&(e=e+t.displayMultipleItems-1<o?e:0);f={toPos:e,acc:2*(s-e)/(a*a),endTime:Date.now()+a,source:r},p||(p=!0,l=requestAnimationFrame(x))}function k(){o();var e=n.value,r=function(){u=null,g="autoplay",_.value?t.current=b(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,S(t.current,"autoplay",_.value?1:0),u=setTimeout(r,t.interval)};c||e.length<=t.displayMultipleItems||(u=setTimeout(r,t.interval))}function T(e){e?k():o()}return po([()=>e.current,()=>e.currentItemId,()=>[...n.value]],(()=>{var r=-1;if(e.currentItemId)for(var i=0,a=n.value;i<a.length;i++){if(a[i].getItemId()===e.currentItemId){r=i;break}}r<0&&(r=Math.round(e.current)||0),r=r<0?0:r,t.current!==r&&(g="",t.current=r)})),po([()=>e.vertical,()=>_.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){o(),f&&(y(f.toPos),f=null);for(var i=n.value,a=0;a<i.length;a++)i[a].updatePosition(a,e.vertical);h=1;var s=r.value;if(1===t.displayMultipleItems&&i.length){var l=i[0].getBoundingClientRect(),u=s.getBoundingClientRect();(h=l.width/u.width)>0&&h<1||(h=1)}var p=d;d=-2;var g=t.current;g>=0?(c=!1,t.userTracking?(y(p+g-v),v=g):(y(g),e.autoplay&&k())):(c=!0,y(-t.displayMultipleItems-1))})),po((()=>t.interval),(()=>{u&&(o(),k())})),po((()=>t.current),((e,r)=>{!function(e,r){var i=g;g="";var o=n.value;if(!i){var s=o.length;S(e,"",_.value&&r+(s-e)%s>s/2?1:0)}var l=o[e];if(l){var u=t.currentItemId=l.getItemId();a("change",{},{current:t.current,currentItemId:u,source:i})}}(e,r),i("update:current",e)})),po((()=>t.currentItemId),(e=>{i("update:currentItemId",e)})),po((()=>e.autoplay&&!t.userTracking),T),T(e.autoplay&&!t.userTracking),Mo((()=>{var i=!1,a=0,s=0;function l(e){t.userTracking=!1;var n=a/Math.abs(a),r=0;!e&&Math.abs(a)>.2&&(r=.5*n);var i=b(d+r);e?y(v):(g="touch",t.current=i,S(i,"touch",0!==r?r:0===i&&_.value&&d>=1?1:0))}pv(r.value,(u=>{if(!e.disableTouch&&!c){if("start"===u.detail.state)return t.userTracking=!0,i=!1,o(),v=d,a=0,s=Date.now(),void w();if("end"===u.detail.state)return l(!1);if("cancel"===u.detail.state)return l(!0);if(t.userTracking){if(!i){i=!0;var h=Math.abs(u.detail.dx),f=Math.abs(u.detail.dy);if((h>=f&&e.vertical||h<=f&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&k())}return function(i){var o=s;s=Date.now();var l=n.value.length-t.displayMultipleItems;function u(e){return.5-.25/(e+.5)}function c(e,t){var n=v+e;a=.6*a+.4*t,_.value||(n<0||n>l)&&(n<0?n=-u(-n):n>l&&(n=l+u(n-l)),a=0),y(n)}var d=s-o||1,h=r.value;e.vertical?c(-i.dy/h.offsetHeight,-i.ddy/d):c(-i.dx/h.offsetWidth,-i.ddx/d)}(u.detail),!1}}}))})),Ao((()=>{o(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){S(t.current=e,g="click",_.value?1:0)},circularEnabled:_,swiperEnabled:m}}const ag=pf({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,t){var{slots:n,emit:r}=t,i=ka(null),a=bf(i,r),o=ka(null),s=ka(null),l=function(e){return ua({interval:rl((()=>{var t=Number(e.interval);return isNaN(t)?5e3:t})),duration:rl((()=>{var t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:rl((()=>{var t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),u=rl((()=>{var t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Ql(e.previousMargin,!0),bottom:Ql(e.nextMargin,!0)}:{top:0,bottom:0,left:Ql(e.previousMargin,!0),right:Ql(e.nextMargin,!0)}),t})),c=rl((()=>{var t=Math.abs(100/l.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}})),d=[],h=[],f=ka([]);function p(){for(var e=[],t=function(){var t=d[n];t instanceof Element||(t=t.el);var r=h.find((e=>t===e.rootRef.value));r&&e.push(_a(r))},n=0;n<d.length;n++)t();f.value=e}lv((()=>{d=s.value.children,p()}));uo("addSwiperContext",(function(e){h.push(e),p()}));uo("removeSwiperContext",(function(e){var t=h.indexOf(e);t>=0&&(h.splice(t,1),p())}));var{onSwiperDotClick:v,circularEnabled:g,swiperEnabled:m}=ig(e,l,f,s,r,a);return()=>{var t=n.default&&n.default();return d=sv(t),Rs("uni-swiper",{ref:i},[Rs("div",{ref:o,class:"uni-swiper-wrapper"},[Rs("div",{class:"uni-swiper-slides",style:u.value},[Rs("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[t],4)],4),e.indicatorDots&&Rs("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map(((t,n,r)=>Rs("div",{onClick:()=>v(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<l.current+l.displayMultipleItems&&n>=l.current||n<l.current+l.displayMultipleItems-r.length},style:{background:n===l.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"])))],2),null],512)],512)}}});const og=pf({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,t){var{slots:n}=t,r=ka(null),i={rootRef:r,getItemId:()=>e.itemId,getBoundingClientRect:()=>r.value.getBoundingClientRect(),updatePosition(e,t){var n=t?"0":100*e+"%",i=t?100*e+"%":"0",a=r.value,o="translate(".concat(n,",").concat(i,") translateZ(0)");a&&(a.style.webkitTransform=o,a.style.transform=o)}};return Mo((()=>{var e=co("addSwiperContext");e&&e(i)})),Ao((()=>{var e=co("removeSwiperContext");e&&e(i)})),()=>Rs("uni-swiper-item",{ref:r,style:{position:"absolute",width:"100%",height:"100%"}},[n.default&&n.default()],512)}});const sg=pf({name:"Switch",props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},emits:["change"],setup(e,t){var{emit:n}=t,r=ka(null),i=ka(e.checked),a=function(e,t){var n=co(wf,!1),r=co(kf,!1),i={submit:()=>{var n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};n&&(n.addField(i),Ao((()=>{n.removeField(i)})));return r}(e,i),o=bf(r,n);po((()=>e.checked),(e=>{i.value=e}));var s=t=>{e.disabled||(i.value=!i.value,o("change",t,{value:i.value}))};return a&&(a.addHandler(s),Lo((()=>{a.removeHandler(s)}))),Ef(e,{"label-click":s}),()=>{var{color:t,type:n}=e,a=_f(e,"disabled");return Rs("uni-switch",Ws({ref:r},a,{onClick:s}),[Rs("div",{class:"uni-switch-wrapper"},[Do(Rs("div",{class:["uni-switch-input",[i.value?"uni-switch-input-checked":""]],style:{backgroundColor:i.value?t:"#DFDFDF",borderColor:i.value?t:"#DFDFDF"}},null,6),[[Ll,"switch"===n]]),Do(Rs("div",{class:"uni-checkbox-input"},[i.value?ru(nu,e.color,22):""],512),[[Ll,"checkbox"===n]])])],16,["onClick"])}}});var lg={ensp:" ",emsp:" ",nbsp:" "};function ug(e,t){return e.replace(/\\n/g,Wn).split(Wn).map((e=>function(e,t){var{space:n,decode:r}=t;if(!e)return e;n&&lg[n]&&(e=e.replace(/ /g,lg[n]));if(!r)return e;return e.replace(/&nbsp;/g,lg.nbsp).replace(/&ensp;/g,lg.ensp).replace(/&emsp;/g,lg.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'")}(e,t)))}var cg=un({},qp,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>hg.concat("return").includes(e)}}),dg=!1,hg=["done","go","next","search","send"];const fg=pf({name:"Textarea",props:cg,emits:["confirm","linechange",...Yp],setup(e,t){var n,{emit:r}=t,i=ka(null),a=ka(null),{fieldRef:o,state:s,scopedAttrsState:l,fixDisabledColor:u,trigger:c}=Gp(e,i,r),d=rl((()=>s.value.split(Wn))),h=rl((()=>hg.includes(e.confirmType))),f=ka(0),p=ka(null);function v(e){var{height:t}=e;f.value=t}function g(e){"Enter"===e.key&&h.value&&e.preventDefault()}function m(t){if("Enter"===t.key&&h.value){!function(e){c("confirm",e,{value:s.value})}(t);var n=t.target;!e.confirmHold&&n.blur()}}return po((()=>f.value),(t=>{var n=i.value,r=p.value,o=a.value,s=parseFloat(getComputedStyle(n).lineHeight);isNaN(s)&&(s=r.offsetHeight);var l=Math.round(t/s);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(n.style.height="auto",o.style.height=t+"px")})),n="(prefers-color-scheme: dark)",dg=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(n).media!==n,()=>{var t=e.disabled&&u?Rs("textarea",{key:"disabled-textarea",ref:o,value:s.value,tabindex:"-1",readonly:!!e.disabled,maxlength:s.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":dg},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):Rs("textarea",{key:"textarea",ref:o,value:s.value,disabled:!!e.disabled,maxlength:s.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":dg},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:g,onKeyup:m},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return Rs("uni-textarea",{ref:i},[Rs("div",{ref:a,class:"uni-textarea-wrapper"},[Do(Rs("div",Ws(l.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ll,!s.value.length]]),Rs("div",{ref:p,class:"uni-textarea-line"},[" "],512),Rs("div",{class:"uni-textarea-compute"},[d.value.map((e=>Rs("div",null,[e.trim()?e:"."]))),Rs(If,{initial:!0,onResize:v},null,8,["initial","onResize"])]),"search"===e.confirmType?Rs("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}});function pg(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function vg(e,t,n){e&&Hr(n||au(),e,((e,n)=>{var{type:r,data:i}=e;t(r,i,n)}))}function gg(e,t){e&&function(e,t){t=Vr(e,t),delete Wr[t]}(t||au(),e)}function mg(e,t,n,r){var i=Ys().proxy;Mo((()=>{vg(t||pg(i),e,r),!n&&t||po((()=>i.id),((t,n)=>{vg(pg(i,t),e,r),gg(n&&pg(i,n))}))})),Lo((()=>{gg(t||pg(i),r)}))}un({},gf);var _g=0;function yg(e){var t=iu(),n=Ys().proxy,r=n.$options.name.toLowerCase(),i=e||n.id||"context".concat(_g++);return Mo((()=>{n.$el.__uniContextInfo={id:i,type:r,page:t}})),"".concat(r,".").concat(i)}class bg extends cf{constructor(e,t,n,r,i){super(e,t,n,r,i,[...ff.props,...arguments.length>5&&void 0!==arguments[5]?arguments[5]:[]])}call(e){var t={animation:this.$props.animation,$el:this.$};e.call(t)}setAttribute(e,t){return"animation"===e&&(this.$animate=!0),super.setAttribute(e,t)}update(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.$animate)return e?this.call(ff.mounted):void(this.$animate&&(this.$animate=!1,this.call(ff.watch.animation.handler)))}}var wg=["space","decode"];var xg=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class Sg extends bg{constructor(e,t,n,r,i){super(e,t,n,r,i,[...xg,...arguments.length>5&&void 0!==arguments[5]?arguments[5]:[]])}update(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.$props["hover-class"];t&&"none"!==t?(this._hover||(this._hover=new kg(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(e)}}class kg{constructor(e,t){this._listening=!1,this._hovering=!1,this._hoverTouch=!1,this.$=e,this.props=t,this.__hoverTouchStart=this._hoverTouchStart.bind(this),this.__hoverTouchEnd=this._hoverTouchEnd.bind(this),this.__hoverTouchCancel=this._hoverTouchCancel.bind(this)}get hovering(){return this._hovering}set hovering(e){this._hovering=e;var t=this.props["hover-class"].split(" ").filter(Boolean),n=this.$.classList;e?this.$.classList.add.apply(n,t):this.$.classList.remove.apply(n,t)}addEvent(){this._listening||(this._listening=!0,this.$.addEventListener("touchstart",this.__hoverTouchStart),this.$.addEventListener("touchend",this.__hoverTouchEnd),this.$.addEventListener("touchcancel",this.__hoverTouchCancel))}removeEvent(){this._listening&&(this._listening=!1,this.$.removeEventListener("touchstart",this.__hoverTouchStart),this.$.removeEventListener("touchend",this.__hoverTouchEnd),this.$.removeEventListener("touchcancel",this.__hoverTouchCancel))}_hoverTouchStart(e){if(!e._hoverPropagationStopped){var t=this.props["hover-class"];t&&"none"!==t&&!this.$.disabled&&(e.touches.length>1||(this.props["hover-stop-propagation"]&&(e._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout((()=>{this.hovering=!0,this._hoverTouch||this._hoverReset()}),this.props["hover-start-time"])))}}_hoverTouchEnd(){this._hoverTouch=!1,this.hovering&&this._hoverReset()}_hoverReset(){requestAnimationFrame((()=>{clearTimeout(this._hoverStayTimer),this._hoverStayTimer=setTimeout((()=>{this.hovering=!1}),this.props["hover-stay-time"])}))}_hoverTouchCancel(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}function Tg(){return plus.navigator.isImmersedStatusbar()?Math.round("iOS"===plus.os.name?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function Eg(){var e=plus.webview.currentWebview().getStyle(),t=e&&e.titleNView;return t&&"default"===t.type?44+Tg():0}var Cg=Symbol("onDraw");function Mg(e,t){return rl((()=>{var n={};return Object.keys(e).forEach((r=>{if(!t||!t.includes(r)){var i=e[r];i="src"===r?zu(i):i,n[r.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))]=i}})),n}))}function Og(e){var t=ua({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),n=ka(!1);function r(){var r=e.value,i=r.getBoundingClientRect(),a=["width","height"];n.value=0===i.width||0===i.height,n.value||(t.position=function(e){for(var t;e;){var n=getComputedStyle(e),r=n.transform||n.webkitTransform;t=(!r||"none"===r)&&t,t="fixed"===n.position||t,e=e.parentElement}return t}(r)?"absolute":"static",a.push("top","left")),a.forEach((e=>{var n=i[e];n="top"===e?n+("static"===t.position?document.documentElement.scrollTop||document.body.scrollTop||0:Eg()):n,t[e]=n+"px"}))}var i=null;function a(){i&&cancelAnimationFrame(i),i=requestAnimationFrame((()=>{i=null,r()}))}window.addEventListener("updateview",a);var o=[],s=[];return uo(Cg,(function(e){o?o.push(e):e(t)})),Mo((()=>{r(),s.forEach((e=>e())),s=null})),Lo((()=>{window.removeEventListener("updateview",a)})),{position:t,hidden:n,onParentReady:function(e){var n=co(Cg),r=n=>{e(n),o.forEach((e=>e(t))),o=null};!function(e){s?s.push(e):e()}((()=>{n?n(r):r({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})}))}}}const Ig=pf({name:"Ad",props:{adpid:{type:[Number,String],default:""},data:{type:Object,default:null},dataCount:{type:Number,default:5},channel:{type:String,default:""}},setup(e,t){var n,{emit:r}=t,i=ka(null),a=ka(null),o=bf(i,r),s=Mg(e,["id"]),{position:l,onParentReady:u}=Og(a);return u((()=>{function t(){var t={adpid:e.adpid,width:l.width,count:e.dataCount};void 0!==e.channel&&(t.ext={channel:e.channel}),UniViewJSBridge.invokeServiceMethod("getAdData",t,(e=>{var{code:t,data:r,message:i}=e;0===t?n.renderingBind(r):o("error",{},{errMsg:i})}))}n=plus.ad.createAdView(Object.assign({},s.value,l)),plus.webview.currentWebview().append(n),n.setDislikeListener((e=>{a.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),o("close",{},e)})),n.setRenderingListener((e=>{0===e.result?(a.value.style.height=e.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):o("error",{},{errCode:e.result})})),n.setAdClickedListener((()=>{o("adclicked",{},{})})),po((()=>l),(e=>n.setStyle(e)),{deep:!0}),po((()=>e.adpid),(e=>{e&&t()})),po((()=>e.data),(e=>{e&&n.renderingBind(e)})),e.adpid&&t()})),Lo((()=>{n&&n.close()})),()=>Rs("uni-ad",{ref:i},[Rs("div",{ref:a,class:"uni-ad-container"},null,512)],512)}});class Lg extends $h{constructor(e,t,n,r,i,a,o){super(e,t,r);var s=document.createElement("div");s.__vueParent=function(e){for(;e&&e.pid>0;)if(e=om(e.pid)){var{__vueParentComponent:t}=e.$;if(t)return t}return null}(this),this.$props=ua({}),this.init(a),this.$app=Pl(function(e,t){return()=>il(e,t)}(n,this.$props)),this.$app.mount(s),this.$=s.firstElementChild,o&&(this.$holder=this.$.querySelector(o)),hn(a,"t")&&this.setText(a.t||""),a.a&&hn(a.a,dr)&&uf(this.$,a.a[dr]),this.insert(r,i),Xa()}init(e){var{a:t,e:n,w:r}=e;t&&(this.setWxsProps(t),Object.keys(t).forEach((e=>{this.setAttr(e,t[e])}))),hn(e,"s")&&this.setAttr("style",e.s),n&&Object.keys(n).forEach((e=>{this.addEvent(e,n[e])})),r&&this.addWxsEvents(e.w)}setText(e){(this.$holder||this.$).textContent=e,this.updateView()}addWxsEvent(e,t,n){this.$props[e]=lf(this,t,n)}addEvent(e,t){this.$props[e]=of(this.id,t,sr(e)[1])}removeEvent(e){this.$props[e]=null}setAttr(e,t){if(e===dr)this.$&&uf(this.$,t);else if(e===hr)this.$.__ownerId=t;else if(e===fr)Ih((()=>Fh(this,t)),3);else if(e===cr){var n=ef(this.$||om(this.pid).$,t),r=this.$props.style;xn(n)&&xn(r)?Object.keys(n).forEach((e=>{r[e]=n[e]})):this.$props.style=n}else tf(e)?this.$.style.setProperty(e,Wh(t)):(t=ef(this.$||om(this.pid).$,t),this.wxsPropsInvoke(e,t,!0)||(this.$props[e]=t));this.updateView()}removeAttr(e){tf(e)?this.$.style.removeProperty(e):this.$props[e]=null,this.updateView()}remove(){this.removeUniParent(),this.isUnmounted=!0,this.$app.unmount(),sm(this.id),this.removeUniChildren(),this.updateView()}appendChild(e){var t=(this.$holder||this.$).appendChild(e);return this.updateView(!0),t}insertBefore(e,t){var n=(this.$holder||this.$).insertBefore(e,t);return this.updateView(!0),n}}class Ag extends Lg{constructor(e,t,n,r,i,a,o){super(e,t,n,r,i,a,o)}getRebuildFn(){return this._rebuild||(this._rebuild=this.rebuild.bind(this)),this._rebuild}setText(e){return Ih(this.getRebuildFn(),2),super.setText(e)}appendChild(e){return Ih(this.getRebuildFn(),2),super.appendChild(e)}insertBefore(e,t){return Ih(this.getRebuildFn(),2),super.insertBefore(e,t)}removeUniChild(e){return Ih(this.getRebuildFn(),2),super.removeUniChild(e)}rebuild(){var e=this.$.__vueParentComponent;e.rebuild&&e.rebuild()}}function Ng(e,t,n){e.childNodes.forEach((n=>{n instanceof Element?-1===n.className.indexOf(t)&&e.removeChild(n):e.removeChild(n)})),e.appendChild(document.createTextNode(n))}var Bg=["value","modelValue"];function Rg(e){Bg.forEach((t=>{if(hn(e,t)){var n="onUpdate:"+t;hn(e,n)||(e[n]=n=>e[t]=n)}}))}class Pg extends $h{constructor(e,t,n,r){super(e,t,n),this.insert(n,r)}}var Dg=0;function zg(e,t,n){var r,i,{position:a,hidden:o,onParentReady:s}=Og(e);s((s=>{var l=rl((()=>{var e={};for(var t in a){var n=a[t],r=parseFloat(n),i=parseFloat(s[t]);if("top"===t||"left"===t)n=Math.max(r,i)+"px";else if("width"===t||"height"===t){var o="width"===t?"left":"top",l=parseFloat(s[o]),u=parseFloat(a[o]),c=Math.max(l-u,0),d=Math.max(u+r-(l+i),0);n=Math.max(r-c-d,0)+"px"}e[t]=n}return e})),u=["borderRadius","borderColor","borderWidth","backgroundColor"],c=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],d=[],h={start:"left",end:"right"};function f(t){var n=getComputedStyle(e.value);return u.concat(c,d).forEach((e=>{t[e]=n[e]})),t}var p=ua(f({})),v=null;i=function(){v&&cancelAnimationFrame(v),v=requestAnimationFrame((()=>{v=null,f(p)}))},window.addEventListener("updateview",i);var g=rl((()=>{var e=function(){var e={};for(var t in e){var n=e[t];"top"!==t&&"left"!==t||(n=Math.min(parseFloat(n)-parseFloat(s[t]),0)+"px"),e[t]=n}return e}(),t=[{tag:"rect",position:e,rectStyles:{color:p.backgroundColor,radius:p.borderRadius,borderColor:p.borderColor,borderWidth:p.borderWidth}}];if("src"in n)n.src&&t.push({tag:"img",position:e,src:n.src});else{var r=parseFloat(p.lineHeight)-parseFloat(p.fontSize),i=parseFloat(e.width)-parseFloat(p.paddingLeft)-parseFloat(p.paddingRight);i=i<0?0:i;var a=parseFloat(e.height)-parseFloat(p.paddingTop)-r/2-parseFloat(p.paddingBottom);a=a<0?0:a,t.push({tag:"font",position:{top:"".concat(parseFloat(e.top)+parseFloat(p.paddingTop)+r/2,"px"),left:"".concat(parseFloat(e.left)+parseFloat(p.paddingLeft),"px"),width:"".concat(i,"px"),height:"".concat(a,"px")},textStyles:{align:h[p.textAlign]||p.textAlign,color:p.color,decoration:"none",lineSpacing:"".concat(r,"px"),margin:"0px",overflow:p.textOverflow,size:p.fontSize,verticalAlign:"top",weight:p.fontWeight,whiteSpace:p.whiteSpace},text:n.text})}return t}));r=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(Dg++),l.value,g.value),plus.webview.currentWebview().append(r),o.value&&r.hide(),r.addEventListener("click",(()=>{t("click",{},{})})),po((()=>o.value),(e=>{r[e?"hide":"show"]()})),po((()=>l.value),(e=>{r.setStyle(e)}),{deep:!0}),po((()=>g.value),(()=>{r.reset(),r.draw(g.value)}),{deep:!0})})),Lo((()=>{r&&r.close(),i&&window.removeEventListener("updateview",i)}))}const Fg=pf({name:"CoverImage",props:{src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}},emits:["click","load","error"],setup(e,t){var{emit:n}=t,r=ka(null),i=bf(r,n),a=ua({src:""}),o=function(e,t,n){var r,i=ka("");function a(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var a=e.src?zu(e.src):"";0===a.indexOf("http://")||0===a.indexOf("https://")?(r=plus.downloader.createDownload(a,{filename:"_doc/uniapp_temp//download/"},((e,t)=>{200===t?o(e.filename):n("error",{},{errMsg:"error"})}))).start():a&&o(a)}function o(r){t.src=r,plus.io.getImageInfo({src:r,success:t=>{var{width:r,height:a}=t;e.autoSize&&(i.value="width:".concat(r,"px;height:").concat(a,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),n("load",{},{width:r,height:a})},fail:()=>{n("error",{},{errMsg:"error"})}})}return e.src&&a(),po((()=>e.src),a),Lo((()=>{r&&r.abort()})),i}(e,a,i);return zg(r,i,a),()=>Rs("uni-cover-image",{ref:r,style:o.value},[Rs("div",{class:"uni-cover-image"},null)],4)}});const $g=pf({name:"CoverView",emits:["click"],setup(e,t){var{emit:n}=t,r=ka(null),i=ka(null),a=bf(r,n),o=ua({text:""});return zg(r,a,o),lv((()=>{var e=i.value.childNodes[0];o.text=e&&e instanceof Text?e.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))})),()=>Rs("uni-cover-view",{ref:r},[Rs("div",{ref:i,class:"uni-cover-view"},null,512)],512)}});var jg={id:{type:String,default:""},url:{type:String,default:""},mode:{type:String,default:"SD"},muted:{type:[Boolean,String],default:!1},enableCamera:{type:[Boolean,String],default:!0},autoFocus:{type:[Boolean,String],default:!0},beauty:{type:[Number,String],default:0},whiteness:{type:[Number,String],default:0},aspect:{type:[String],default:"3:2"},minBitrate:{type:[Number],default:200}},Wg=["statechange","netstatus","error"];const Vg=pf({name:"LivePusher",props:jg,emits:Wg,setup(e,t){var n,{emit:r}=t,i=ka(null),a=bf(i,r),o=ka(null),s=Mg(e,["id"]),{position:l,hidden:u,onParentReady:c}=Og(o);return c((()=>{n=new plus.video.LivePusher("livePusher"+Date.now(),Object.assign({},s.value,l)),plus.webview.currentWebview().append(n),Wg.forEach((e=>{n.addEventListener(e,(t=>{a(e,{},t.detail)}))})),po((()=>s.value),(e=>n.setStyles(e)),{deep:!0}),po((()=>l),(e=>n.setStyles(e)),{deep:!0}),po((()=>u.value),(e=>{e||n.setStyles(l)}))})),mg(((e,t)=>{n&&n[e](t)}),yg(),!0),Lo((()=>{n&&n.close()})),()=>Rs("uni-live-pusher",{ref:i,id:e.id},[Rs("div",{ref:o,class:"uni-live-pusher-container"},null,512)],8,["id"])}});function Hg(e){if(0!==e.indexOf("#"))return{color:e,opacity:1};var t=e.slice(7,9);return{color:e.slice(0,7),opacity:t?Number("0x"+t)/255:1}}const Ug=pf({name:"Map",props:{id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:16},markers:{type:Array,default:()=>[]},polyline:{type:Array,default:()=>[]},circles:{type:Array,default:()=>[]},polygons:{type:Array,default:()=>[]},controls:{type:Array,default:()=>[]}},emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,t){var n,{emit:r}=t,i=ka(null),a=bf(i,r),o=ka(null),s=Mg(e,["id"]),{position:l,hidden:u,onParentReady:c}=Og(o),{_addMarkers:d,_addMapLines:h,_addMapCircles:f,_addMapPolygons:p,_setMap:v}=function(e,t){var n;function r(t){var{longitude:r,latitude:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n&&(n.setCenter(new plus.maps.Point(Number(r||e.longitude),Number(i||e.latitude))),t({errMsg:"moveToLocation:ok"}))}function i(e){n&&n.getCurrentCenter(((t,n)=>{e({longitude:n.getLng(),latitude:n.getLat(),errMsg:"getCenterLocation:ok"})}))}function a(e){if(n){var t=n.getBounds();e({southwest:t.getSouthWest(),northeast:t.getNorthEast(),errMsg:"getRegion:ok"})}}function o(e){n&&e({scale:n.getZoom(),errMsg:"getScale:ok"})}function s(e){if(n){var{id:r,latitude:i,longitude:a,iconPath:o,callout:s,label:l}=e;(e=>{var i,{latitude:a,longitude:u}=e.coord,c=new plus.maps.Marker(new plus.maps.Point(u,a));o&&c.setIcon(zu(o)),l&&l.content&&c.setLabel(l.content);var d=void 0;s&&s.content&&(d=new plus.maps.Bubble(s.content)),d&&c.setBubble(d),(r||0===r)&&(c.onclick=e=>{t("markertap",{},{markerId:r,latitude:a,longitude:u})},d&&(d.onclick=()=>{t("callouttap",{},{markerId:r})})),null===(i=n)||void 0===i||i.addOverlay(c),n.__markers__.push(c)})({coord:{latitude:i,longitude:a}})}}function l(){n&&(n.__markers__.forEach((e=>{var t;null===(t=n)||void 0===t||t.removeOverlay(e)})),n.__markers__=[])}function u(e,t){t&&l(),e.forEach((e=>{s(e)}))}function c(e){n&&(n.__lines__.length>0&&(n.__lines__.forEach((e=>{var t;null===(t=n)||void 0===t||t.removeOverlay(e)})),n.__lines__=[]),e.forEach((e=>{var t,{color:r,width:i}=e,a=e.points.map((e=>new plus.maps.Point(e.longitude,e.latitude))),o=new plus.maps.Polyline(a);if(r){var s=Hg(r);o.setStrokeColor(s.color),o.setStrokeOpacity(s.opacity)}i&&o.setLineWidth(i),null===(t=n)||void 0===t||t.addOverlay(o),n.__lines__.push(o)})))}function d(e){n&&(n.__circles__.length>0&&(n.__circles__.forEach((e=>{var t;null===(t=n)||void 0===t||t.removeOverlay(e)})),n.__circles__=[]),e.forEach((e=>{var t,{latitude:r,longitude:i,color:a,fillColor:o,radius:s,strokeWidth:l}=e,u=new plus.maps.Circle(new plus.maps.Point(i,r),s);if(a){var c=Hg(a);u.setStrokeColor(c.color),u.setStrokeOpacity(c.opacity)}if(o){var d=Hg(o);u.setFillColor(d.color),u.setFillOpacity(d.opacity)}l&&u.setLineWidth(l),null===(t=n)||void 0===t||t.addOverlay(u),n.__circles__.push(u)})))}function h(e){if(n){var t=n.__polygons__;t.forEach((e=>{var t;null===(t=n)||void 0===t||t.removeOverlay(e)})),t.length=0,e.forEach((e=>{var r,{points:i,strokeWidth:a,strokeColor:o,fillColor:s}=e,l=[];i&&i.forEach((e=>{l.push(new plus.maps.Point(e.longitude,e.latitude))}));var u=new plus.maps.Polygon(l);if(o){var c=Hg(o);u.setStrokeColor(c.color),u.setStrokeOpacity(c.opacity)}if(s){var d=Hg(s);u.setFillColor(d.color),u.setFillOpacity(d.opacity)}a&&u.setLineWidth(a),null===(r=n)||void 0===r||r.addOverlay(u),t.push(u)}))}}var f={moveToLocation:r,getCenterLocation:i,getRegion:a,getScale:o};return mg(((e,t,n)=>{f[e]&&f[e](n,t)}),yg(),!0),{_addMarkers:u,_addMapLines:c,_addMapCircles:d,_addMapPolygons:h,_setMap(e){n=e}}}(e,a);c((()=>{(n=un(plus.maps.create(au()+"-map-"+(e.id||Date.now()),Object.assign({},s.value,l,(()=>{if(e.latitude&&e.longitude)return{center:new plus.maps.Point(Number(e.longitude),Number(e.latitude))}})())),{__markers__:[],__lines__:[],__circles__:[],__polygons__:[]})).setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(n),u.value&&n.hide(),n.onclick=e=>{a("tap",{},e),a("click",{},e)},n.onstatuschanged=e=>{a("regionchange",{},{})},v(n),d(e.markers),h(e.polyline),f(e.circles),p(e.polygons),po((()=>s.value),(e=>n&&n.setStyles(e)),{deep:!0}),po((()=>l),(e=>n&&n.setStyles(e)),{deep:!0}),po(u,(e=>{n&&n[e?"hide":"show"]()})),po((()=>e.scale),(e=>{n&&n.setZoom(parseInt(String(e)))})),po([()=>e.latitude,()=>e.longitude],(e=>{var[t,r]=e;n&&n.setStyles({center:new plus.maps.Point(Number(r),Number(t))})})),po((()=>e.markers),(e=>{d(e,!0)}),{deep:!0}),po((()=>e.polyline),(e=>{h(e)}),{deep:!0}),po((()=>e.circles),(e=>{f(e)}),{deep:!0}),po((()=>e.polygons),(e=>{p(e)}),{deep:!0})}));var g=rl((()=>e.controls.map((e=>{var t={position:"absolute"};return["top","left","width","height"].forEach((n=>{e.position[n]&&(t[n]=e.position[n]+"px")})),{id:e.id,iconPath:zu(e.iconPath),position:t,clickable:e.clickable}}))));return Lo((()=>{n&&(n.close(),v(null))})),()=>Rs("uni-map",{ref:i,id:e.id},[Rs("div",{ref:o,class:"uni-map-container"},null,512),g.value.map(((e,t)=>Rs(Fg,{key:t,src:e.iconPath,style:e.position,"auto-size":!0,onClick:()=>e.clickable&&a("controltap",{},{controlId:e.id})},null,8,["src","style","auto-size","onClick"]))),Rs("div",{class:"uni-map-slot"},null)],8,["id"])}});var qg={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},Yg={YEAR:"year",MONTH:"month",DAY:"day"};function Xg(e){return e>9?e:"0".concat(e)}function Zg(e,t){e=String(e||"");var n=new Date;if(t===qg.TIME){var r=e.split(":");2===r.length&&n.setHours(parseInt(r[0]),parseInt(r[1]))}else{var i=e.split("-");3===i.length&&n.setFullYear(parseInt(i[0]),parseInt(String(parseFloat(i[1])-1)),parseInt(i[2]))}return n}const Gg=pf({name:"Picker",props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:qg.SELECTOR,validator:e=>Object.values(qg).indexOf(e)>=0},fields:{type:String,default:""},start:{type:String,default:function(e){if(e.mode===qg.TIME)return"00:00";if(e.mode===qg.DATE){var t=(new Date).getFullYear()-100;switch(e.fields){case Yg.YEAR:return t;case Yg.MONTH:return t+"-01";default:return t+"-01-01"}}return""}},end:{type:String,default:function(e){if(e.mode===qg.TIME)return"23:59";if(e.mode===qg.DATE){var t=(new Date).getFullYear()+100;switch(e.fields){case Yg.YEAR:return t;case Yg.MONTH:return t+"-12";default:return t+"-12-31"}}return""}},disabled:{type:[Boolean,String],default:!1}},emits:["change","cancel","columnchange"],setup(e,t){var{emit:n}=t;Pr();var{t:r,getLocale:i}=Br(),a=ka(null),o=bf(a,n),s=ka(null),l=ka(null),u=()=>{var t=e.value;switch(e.mode){case qg.MULTISELECTOR:fn(t)||(t=[]),fn(s.value)||(s.value=[]);for(var n=s.value.length=Math.max(t.length,e.range.length),r=0;r<n;r++){var i=Number(t[r]),a=Number(s.value[r]),o=isNaN(i)?isNaN(a)?0:a:i;s.value.splice(r,1,o<0?0:o)}break;case qg.TIME:case qg.DATE:s.value=String(t);break;default:var l=Number(t);s.value=l<0?0:l}},c=e=>{l.value&&l.value.sendMessage(e)},d=(t,n)=>{t.mode!==qg.TIME&&t.mode!==qg.DATE||t.fields?(t.fields=Object.values(Yg).includes(t.fields)?t.fields:Yg.DAY,(e=>{var t={event:"cancel"};l.value=bu({url:"__uniapppicker",data:e,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:n=>{var r=n.event;if("created"!==r)return"columnchange"===r?(delete n.event,void o(r,{},n)):void(t=n);c(e)},onClose:()=>{l.value=null;var e=t.event;delete t.event,e&&o(e,{},t)}})})(t)):((t,n)=>{plus.nativeUI[e.mode===qg.TIME?"pickTime":"pickDate"]((t=>{var n=t.date;o("change",{},{value:e.mode===qg.TIME?"".concat(Xg(n.getHours()),":").concat(Xg(n.getMinutes())):"".concat(n.getFullYear(),"-").concat(Xg(n.getMonth()+1),"-").concat(Xg(n.getDate()))})}),(()=>{o("cancel",{},{})}),e.mode===qg.TIME?{time:Zg(e.value,qg.TIME),popover:n}:{date:Zg(e.value,qg.DATE),minDate:Zg(e.start,qg.DATE),maxDate:Zg(e.end,qg.DATE),popover:n})})(0,n)},h=t=>{if(!e.disabled){var n=t.currentTarget.getBoundingClientRect();d(Object.assign({},e,{value:s.value,locale:i(),messages:{done:r("uni.picker.done"),cancel:r("uni.picker.cancel")}}),{top:n.top+Eg(),left:n.left,width:n.width,height:n.height})}},f=co(wf,!1),p={submit:()=>[e.name,s.value],reset:()=>{switch(e.mode){case qg.SELECTOR:s.value=0;break;case qg.MULTISELECTOR:fn(e.value)&&(s.value=e.value.map((e=>0)));break;case qg.DATE:case qg.TIME:s.value=""}}};return f&&(f.addField(p),Lo((()=>f.removeField(p)))),Object.keys(e).forEach((t=>{"name"!==t&&po((()=>e[t]),(e=>{var n={};n[t]=e,c(n)}),{deep:!0})})),po((()=>e.value),u,{deep:!0}),u(),()=>Rs("uni-picker",{ref:a,onClick:h},[Rs("slot",null,null)],8,["onClick"])}});var Kg={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},vslideGesture:{type:[Boolean,String],default:!1},vslideGestureInFullscreen:{type:[Boolean,String],default:!1},showPlayBtn:{type:[Boolean,String],default:!0},showMuteBtn:{type:[Boolean,String],default:!1},enablePlayGesture:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0},showLoading:{type:[Boolean,String],default:!0},codec:{type:String,default:"hardware"},httpCache:{type:[Boolean,String],default:!1},playStrategy:{type:[Number,String],default:0},header:{type:Object,default:()=>({})},advanced:{type:Array,default:()=>[]},title:{type:String,default:""}},Jg=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],Qg=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"];const em=pf({name:"Video",props:Kg,emits:Jg,setup(e,t){var n,{emit:r}=t,i=ka(null),a=bf(i,r),o=ka(null),s=Mg(e,["id"]),{position:l,hidden:u,onParentReady:c}=Og(o);return c((()=>{n=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},s.value,l)),plus.webview.currentWebview().append(n),u.value&&n.hide(),Jg.forEach((e=>{n.addEventListener(e,(t=>{a(e,{},t.detail)}))})),po((()=>s.value),(e=>n.setStyles(e)),{deep:!0}),po((()=>l),(e=>n.setStyles(e)),{deep:!0}),po((()=>u.value),(e=>{n[e?"hide":"show"](),e||n.setStyles(l)}))})),mg(((e,t)=>{if(Qg.includes(e)){var r;switch(e){case"seek":r=t.position;break;case"sendDanmu":r=t;break;case"playbackRate":r=t.rate;break;case"requestFullScreen":r=t.direction}n&&n[e](r)}}),yg(),!0),Lo((()=>{n&&n.close()})),()=>Rs("uni-video",{ref:i,id:e.id},[Rs("div",{ref:o,class:"uni-video-container"},null,512),Rs("div",{class:"uni-video-slot"},null)],8,["id"])}});var tm,nm={src:{type:String,default:""},updateTitle:{type:Boolean,default:!0},webviewStyles:{type:Object,default:()=>({})}};const rm=pf({name:"WebView",props:nm,setup(e){var t=au(),n=ka(null),{hidden:r,onParentReady:i}=Og(n),a=rl((()=>e.webviewStyles));return i((()=>{var n;(e=>{var{htmlId:t,src:n,webviewStyles:r,props:i}=e,a=plus.webview.currentWebview(),o=un({"uni-app":"none",isUniH5:!0,contentAdjust:!1},r),s=a.getTitleNView();if(s){var l=44+parseFloat(o.top||"0");plus.navigator.isImmersedStatusbar()&&(l+=Tg()),o.top=String(l),o.bottom=o.bottom||"0"}tm=plus.webview.create(n,t,o),s&&tm.addEventListener("titleUpdate",(function(){var e;if(i.updateTitle){var t=null===(e=tm)||void 0===e?void 0:e.getTitle();a.setStyle({titleNView:{titleText:t&&"null"!==t?t:" "}})}})),plus.webview.currentWebview().append(tm)})({htmlId:ka("webviewId"+t).value,src:zu(e.src),webviewStyles:a.value,props:e}),UniViewJSBridge.publishHandler("webviewInserted",{},t),r.value&&(null===(n=tm)||void 0===n||n.hide())})),Lo((()=>{var e;plus.webview.currentWebview().remove(tm),null===(e=tm)||void 0===e||e.close("none"),tm=null,UniViewJSBridge.publishHandler("webviewRemoved",{},t)})),po((()=>e.src),(t=>{var n,r=zu(t)||"";if(r){var i;if(/^(http|https):\/\//.test(r)&&e.webviewStyles.progress)null===(i=tm)||void 0===i||i.setStyle({progress:{color:e.webviewStyles.progress.color}});null===(n=tm)||void 0===n||n.loadURL(r)}})),po(a,(e=>{var t;null===(t=tm)||void 0===t||t.setStyle(e)})),po(r,(e=>{tm&&tm[e?"hide":"show"]()})),()=>Rs("uni-web-view",{ref:n},null,512)}});var im={"#text":class extends $h{constructor(e,t,n,r){super(e,"#text",t,document.createTextNode("")),this.init(r),this.insert(t,n)}},"#comment":class extends $h{constructor(e,t,n){super(e,"#comment",t,document.createComment("")),this.insert(t,n)}},VIEW:class extends Sg{constructor(e,t,n,r){super(e,document.createElement("uni-view"),t,n,r)}},IMAGE:class extends Lg{constructor(e,t,n,r){super(e,"uni-image",Bp,t,n,r)}},TEXT:class extends bg{constructor(e,t,n,r){super(e,document.createElement("uni-text"),t,n,r,wg),this._text=""}init(e){this._text=e.t||"",super.init(e)}setText(e){this._text=e,this.update(),this.updateView()}update(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{$props:{space:t,decode:n}}=this;this.$.textContent=ug(this._text,{space:t,decode:n}).join(Wn),super.update(e)}},NAVIGATOR:class extends Lg{constructor(e,t,n,r){super(e,"uni-navigator",Av,t,n,r,"uni-navigator")}},FORM:class extends Lg{constructor(e,t,n,r){super(e,"uni-form",xf,t,n,r,"span")}},BUTTON:class extends Lg{constructor(e,t,n,r){super(e,"uni-button",Of,t,n,r)}},INPUT:class extends Lg{constructor(e,t,n,r){super(e,"uni-input",Jp,t,n,r)}init(e){super.init(e),Rg(this.$props)}},LABEL:class extends Lg{constructor(e,t,n,r){super(e,"uni-label",Tf,t,n,r)}},RADIO:class extends Lg{constructor(e,t,n,r){super(e,"uni-radio",Xv,t,n,r,".uni-radio-wrapper")}setText(e){Ng(this.$holder,"uni-radio-input",e)}},CHECKBOX:class extends Lg{constructor(e,t,n,r){super(e,"uni-checkbox",Vf,t,n,r,".uni-checkbox-wrapper")}setText(e){Ng(this.$holder,"uni-checkbox-input",e)}},"CHECKBOX-GROUP":class extends Lg{constructor(e,t,n,r){super(e,"uni-checkbox-group",Wf,t,n,r)}},AD:class extends Lg{constructor(e,t,n,r){super(e,"uni-ad",Ig,t,n,r)}},CAMERA:class extends Pg{constructor(e,t,n){super(e,"uni-camera",t,n)}},CANVAS:class extends Lg{constructor(e,t,n,r){super(e,"uni-canvas",$f,t,n,r,"uni-canvas > div")}},"COVER-IMAGE":class extends Lg{constructor(e,t,n,r){super(e,"uni-cover-image",Fg,t,n,r)}},"COVER-VIEW":class extends Ag{constructor(e,t,n,r){super(e,"uni-cover-view",$g,t,n,r,".uni-cover-view")}},EDITOR:class extends Lg{constructor(e,t,n,r){super(e,"uni-editor",Ep,t,n,r)}},"FUNCTIONAL-PAGE-NAVIGATOR":class extends Pg{constructor(e,t,n){super(e,"uni-functional-page-navigator",t,n)}},ICON:class extends Lg{constructor(e,t,n,r){super(e,"uni-icon",Ip,t,n,r)}},"RADIO-GROUP":class extends Lg{constructor(e,t,n,r){super(e,"uni-radio-group",Yv,t,n,r)}},"LIVE-PLAYER":class extends Pg{constructor(e,t,n){super(e,"uni-live-player",t,n)}},"LIVE-PUSHER":class extends Lg{constructor(e,t,n,r){super(e,"uni-live-pusher",Vg,t,n,r,".uni-live-pusher-slot")}},MAP:class extends Lg{constructor(e,t,n,r){super(e,"uni-map",Ug,t,n,r,".uni-map-slot")}},"MOVABLE-AREA":class extends Ag{constructor(e,t,n,r){super(e,"uni-movable-area",uv,t,n,r)}},"MOVABLE-VIEW":class extends Lg{constructor(e,t,n,r){super(e,"uni-movable-view",xv,t,n,r)}},"OFFICIAL-ACCOUNT":class extends Pg{constructor(e,t,n){super(e,"uni-official-account",t,n)}},"OPEN-DATA":class extends Pg{constructor(e,t,n){super(e,"uni-open-data",t,n)}},PICKER:class extends Lg{constructor(e,t,n,r){super(e,"uni-picker",Gg,t,n,r)}},"PICKER-VIEW":class extends Ag{constructor(e,t,n,r){super(e,"uni-picker-view",Nv,t,n,r,".uni-picker-view-wrapper")}},"PICKER-VIEW-COLUMN":class extends Ag{constructor(e,t,n,r){super(e,"uni-picker-view-column",jv,t,n,r,".uni-picker-view-content")}},PROGRESS:class extends Lg{constructor(e,t,n,r){super(e,"uni-progress",Hv,t,n,r)}},"RICH-TEXT":class extends Lg{constructor(e,t,n,r){super(e,"uni-rich-text",Qv,t,n,r)}},"SCROLL-VIEW":class extends Lg{constructor(e,t,n,r){super(e,"uni-scroll-view",tg,t,n,r,".uni-scroll-view-content")}setText(e){Ng(this.$holder,"uni-scroll-view-refresher",e)}},SLIDER:class extends Lg{constructor(e,t,n,r){super(e,"uni-slider",ng,t,n,r)}},SWIPER:class extends Ag{constructor(e,t,n,r){super(e,"uni-swiper",ag,t,n,r,".uni-swiper-slide-frame")}},"SWIPER-ITEM":class extends Lg{constructor(e,t,n,r){super(e,"uni-swiper-item",og,t,n,r)}},SWITCH:class extends Lg{constructor(e,t,n,r){super(e,"uni-switch",sg,t,n,r)}},TEXTAREA:class extends Lg{constructor(e,t,n,r){super(e,"uni-textarea",fg,t,n,r)}init(e){super.init(e),Rg(this.$props)}},VIDEO:class extends Lg{constructor(e,t,n,r){super(e,"uni-video",em,t,n,r,".uni-video-slot")}},"WEB-VIEW":class extends Lg{constructor(e,t,n,r){super(e,"uni-web-view",rm,t,n,r)}}};var am=new Map;function om(e){return am.get(e)}function sm(e){return am.delete(e)}function lm(e,t,n,r){var i,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(0===e)i=new $h(e,t,n,document.createElement(t));else{var o=im[t];i=o?new o(e,n,r,a):new cf(e,document.createElement(t),n,r,a)}return am.set(e,i),i}var um=[],cm=!1;function dm(e){if(cm)return e();um.push(e)}function hm(){cm=!0,um.forEach((e=>{try{e()}catch(t){console.error(t)}})),um.length=0}function fm(e){var{css:t,route:n,platform:r,pixelRatio:i,windowWidth:a,disableScroll:o,statusbarHeight:s,windowTop:l,windowBottom:u}=e;!function(e){window.__PAGE_INFO__={route:e}}(n),function(e,t,n){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:n}}(r,i,a),lm(0,"div",-1,-1).$=document.getElementById("app");var c=plus.webview.currentWebview().id;window.__id__=c,document.title="".concat(n,"[").concat(c,"]"),function(e,t,n){var r={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":n+"px","--status-bar-height":e+"px"};!function(e){var t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}(r)}(s,l,u),o&&document.addEventListener("touchmove",ou),t?function(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=hm,t.onerror=hm,document.head.appendChild(t)}(n):hm()}var pm=!1;function vm(e,t){var{scrollTop:n,selector:r,duration:i}=e;!function(e,t,n){if(gn(e)){var r=document.querySelector(e);if(r){var{height:i,top:a}=r.getBoundingClientRect();e=a+window.pageYOffset,n&&(e-=i)}}e<0&&(e=0);var o=document.documentElement,{clientHeight:s,scrollHeight:l}=o;if(e=Math.min(e,l-s),0!==t){if(window.scrollY!==e){var u=t=>{if(t<=0)window.scrollTo(0,e);else{var n=e-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/t*10),u(t-10)}))}};u(t)}}else o.scrollTop=document.body.scrollTop=e}(r||n||0,i),t()}function gm(e){var t=e[0];1===t[0]?fm(t[1]):dm((()=>function(e){var t=e[0],n=function(e){if(!e.length)return e=>e;var t=function(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if("number"==typeof n)return e[n];var i={};return n.forEach((e=>{var[n,a]=e;i[t(n)]=r?t(a):a})),i};return t}(0===t[0]?t[1]:[]);e.forEach((e=>{switch(e[0]){case 1:return fm(e[1]);case 2:return;case 3:var t=e[3];return lm(e[1],n(e[2]),-1===t?0:t,e[4],Mh(n,e[5]));case 4:return om(e[1]).insert(e[2],e[3],Mh(n,e[4]));case 5:return om(e[1]).remove();case 6:return om(e[1]).setAttr(n(e[2]),n(e[3]));case 7:return om(e[1]).removeAttr(n(e[2]));case 8:return om(e[1]).addEvent(n(e[2]),e[3]);case 12:return om(e[1]).addWxsEvent(n(e[2]),n(e[3]),e[4]);case 9:return om(e[1]).removeEvent(n(e[2]));case 10:return om(e[1]).setText(n(e[2]));case 15:return function(e){if(!pm){pm=!0;var t={onReachBottomDistance:e,onPageScroll(e){UniViewJSBridge.publishHandler("onPageScroll",{scrollTop:e})},onReachBottom(){UniViewJSBridge.publishHandler("onReachBottom")}};requestAnimationFrame((()=>document.addEventListener("scroll",fu(t))))}}(e[1])}})),function(){try{[...Oh].sort(((e,t)=>e.priority-t.priority)).forEach((e=>e()))}finally{Oh.clear()}}()}(e)))}function mm(){UniViewJSBridge.publishHandler(Nu)}function _m(e){return window.__$__(e).$}function ym(e,t){var n={},{top:r,topWindowHeight:i}=function(){var e=document.documentElement.style,t=Gl(),n=Zl(e,"--window-bottom"),r=Zl(e,"--window-left"),i=Zl(e,"--window-right"),a=Zl(e,"--top-window-height");return{top:t,bottom:n?n+Yl.bottom:0,left:r?r+Yl.left:0,right:i?i+Yl.right:0,topWindowHeight:a||0}}();if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=nr(e)),t.rect||t.size){var a=e.getBoundingClientRect();t.rect&&(n.left=a.left,n.right=a.right,n.top=a.top-r-i,n.bottom=a.bottom-r-i),t.size&&(n.width=a.width,n.height=a.height)}if(fn(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){var o=e.children[0].children[0];n.scrollLeft=o.scrollLeft,n.scrollTop=o.scrollTop,n.scrollHeight=o.scrollHeight,n.scrollWidth=o.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(fn(t.computedStyle)){var s=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=s[e]}))}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function bm(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){for(var t=this.parentElement.querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}function wm(e,t,n,r,i){var a=function(e,t){return e?window.__$__(e).$:t.$el}(t,e),o=a.parentElement;if(!o)return r?null:[];var{nodeType:s}=a,l=3===s||8===s;if(r){var u=l?o.querySelector(n):bm(a,n)?a:a.querySelector(n);return u?ym(u,i):null}var c=[],d=(l?o:a).querySelectorAll(n);return d&&d.length&&[].forEach.call(d,(e=>{c.push(ym(e,i))})),!l&&bm(a,n)&&c.unshift(ym(a,i)),c}function xm(e,t,n){var r=[];t.forEach((t=>{var{component:n,selector:i,single:a,fields:o}=t;null===n?r.push(function(e){var 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){var n=document.documentElement,r=document.body;t.scrollLeft=n.scrollLeft||r.scrollLeft||0,t.scrollTop=n.scrollTop||r.scrollTop||0,t.scrollHeight=n.scrollHeight||r.scrollHeight||0,t.scrollWidth=n.scrollWidth||r.scrollWidth||0}return t}(o)):r.push(wm(e,n,i,a,o))})),n(r)}function Sm(e,t){var{reqId:n,component:r,options:i,callback:a}=e,o=_m(r);(o.__io||(o.__io={}))[n]=function(e,t,n){kh();var r=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,i=new IntersectionObserver((e=>{e.forEach((e=>{n({intersectionRatio:Eh(e),intersectionRect:Th(e.intersectionRect),boundingClientRect:Th(e.boundingClientRect),relativeRect:Th(e.rootBounds),time:Date.now(),dataset:nr(e.target),id:e.target.id})}))}),{root:r,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){i.USE_MUTATION_OBSERVER=!0;for(var a=e.querySelectorAll(t.selector),o=0;o<a.length;o++)i.observe(a[o])}else{i.USE_MUTATION_OBSERVER=!1;var s=e.querySelector(t.selector);s?i.observe(s):console.warn("Node ".concat(t.selector," is not found. Intersection observer will not trigger."))}return i}(o,i,a)}var km={},Tm={};function Em(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function Cm(e,t){var{reqId:n,component:r,options:i,callback:a}=e,o=km[n]=window.matchMedia(function(e){var t=[];for(var n of["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"])"orientation"!==n&&e[n]&&Number(e[n]>=0)&&t.push("(".concat(Em(n),": ").concat(Number(e[n]),"px)")),"orientation"===n&&e[n]&&t.push("(".concat(Em(n),": ").concat(e[n],")"));return t.join(" and ")}(i)),s=Tm[n]=e=>a(e.matches);s(o),o.addListener(s)}function Mm(e,t){var{family:n,source:r,desc:i}=e;(function(e,t,n){var r=document.fonts;if(r){var i=new FontFace(e,t,n);return i.load().then((()=>{r.add&&r.add(i)}))}return new Promise((r=>{var i=document.createElement("style"),a=[];if(n){var{style:o,weight:s,stretch:l,unicodeRange:u,variant:c,featureSettings:d}=n;o&&a.push("font-style:".concat(o)),s&&a.push("font-weight:".concat(s)),l&&a.push("font-stretch:".concat(l)),u&&a.push("unicode-range:".concat(u)),c&&a.push("font-variant:".concat(c)),d&&a.push("font-feature-settings:".concat(d))}i.innerText='@font-face{font-family:"'.concat(e,'";src:').concat(t,";").concat(a.join(";"),"}"),document.head.appendChild(i),r()}))})(n,r,i).then((()=>{t()})).catch((e=>{t(e.toString())}))}var Om={$el:document.body};function Im(){var e=au();!function(e,t){UniViewJSBridge.subscribe(Vr(e,Fr),t?t(Ur):Ur)}(e,(e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];dm((()=>{e.apply(null,n)}))})),Hr(e,"requestComponentInfo",((e,t)=>{xm(Om,e.reqs,t)})),Hr(e,"addIntersectionObserver",(e=>{Sm(un({},e,{callback(t){UniViewJSBridge.publishHandler(e.eventName,t)}}))})),Hr(e,"removeIntersectionObserver",(e=>{!function(e,t){var{reqId:n,component:r}=e,i=_m(r),a=i.__io&&i.__io[n];a&&(a.disconnect(),delete i.__io[n])}(e)})),Hr(e,"addMediaQueryObserver",(e=>{Cm(un({},e,{callback(t){UniViewJSBridge.publishHandler(e.eventName,t)}}))})),Hr(e,"removeMediaQueryObserver",(e=>{!function(e,t){var{reqId:n,component:r}=e,i=Tm[n],a=km[n];a&&(a.removeListener(i),delete Tm[n],delete km[n])}(e)})),Hr(e,"pageScrollTo",vm),Hr(e,"loadFontFace",Mm),Hr(e,"setPageMeta",(e=>{!function(e,t){var{pageStyle:n,rootFontSize:r}=t;n&&(document.querySelector("uni-page-body")||document.body).setAttribute("style",n),r&&document.documentElement.style.fontSize!==r&&(document.documentElement.style.fontSize=r)}(0,e)}))}function Lm(){ri(),Im(),function(){var{subscribe:e}=UniViewJSBridge;e(Lu,gm),e("setLocale",(e=>Br().setLocale(e))),e(Nu,mm)}(),function(){if(0===String(navigator.vendor).indexOf("Apple")){var e,t=null;document.documentElement.addEventListener("click",(n=>{clearTimeout(e),t&&Math.abs(n.pageX-t.pageX)<=44&&Math.abs(n.pageY-t.pageY)<=44&&n.timeStamp-t.timeStamp<=450&&n.preventDefault(),t=n,e=setTimeout((()=>{t=null}),450)}))}}(),Bu.publishHandler(Nu)}window.uni=Ch,window.UniViewJSBridge=Bu,window.rpx2px=gh,window.normalizeStyleName=Zh,window.normalizeStyleValue=Wh,window.__$__=om,window.__f__=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];uni.__log__?uni.__log__(e,t,...r):console[e].apply(console,[...r,t])},"undefined"!=typeof plus?Lm():document.addEventListener("plusready",Lm)}));
1
+ !function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e={},t={get exports(){return e},set exports(t){e=t}},n={},r={get exports(){return n},set exports(e){n=e}},i={},a={get exports(){return i},set exports(e){i=e}}.exports={version:"2.6.12"};"number"==typeof __e&&(__e=a);var o={};({get exports(){return o},set exports(e){o=e}}).exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),"number"==typeof __g&&(__g=window);var s=i,l="__core-js_shared__",u=window[l]||(window[l]={});(r.exports=function(e,t){return u[e]||(u[e]=void 0!==t?t:{})})("versions",[]).push({version:s.version,mode:"window",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var c=0,d=Math.random(),h=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++c+d).toString(36))},f=n("wks"),p=h,v=o.Symbol,g="function"==typeof v;(t.exports=function(e){return f[e]||(f[e]=g&&v[e]||(g?v:p)("Symbol."+e))}).store=f;var m,_,y={},b=function(e){return"object"==typeof e?null!==e:"function"==typeof e},w=b,x=function(e){if(!w(e))throw TypeError(e+" is not an object!");return e},S=function(e){try{return!!e()}catch(t){return!0}},k=!S((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}));function T(){if(_)return m;_=1;var e=b,t=o.document,n=e(t)&&e(t.createElement);return m=function(e){return n?t.createElement(e):{}}}var E=!k&&!S((function(){return 7!=Object.defineProperty(T()("div"),"a",{get:function(){return 7}}).a})),C=b,M=x,O=E,I=function(e,t){if(!C(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!C(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!C(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!C(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},L=Object.defineProperty;y.f=k?Object.defineProperty:function(e,t,n){if(M(e),t=I(t,!0),M(n),O)try{return L(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e};var A=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},N=y,B=A,R=k?function(e,t,n){return N.f(e,t,B(1,n))}:function(e,t,n){return e[t]=n,e},P=e("unscopables"),z=Array.prototype;null==z[P]&&R(z,P,{});var D={},F={}.toString,$=function(e){return F.call(e).slice(8,-1)},j=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},W=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==$(e)?e.split(""):Object(e)},V=j,H=function(e){return W(V(e))},U={},q={get exports(){return U},set exports(e){U=e}},Y={}.hasOwnProperty,X=function(e,t){return Y.call(e,t)},Z=n("native-function-to-string",Function.toString),G=R,K=X,J=h("src"),Q=Z,ee="toString",te=(""+Q).split(ee);i.inspectSource=function(e){return Q.call(e)},(q.exports=function(e,t,n,r){var i="function"==typeof n;i&&(K(n,"name")||G(n,"name",t)),e[t]!==n&&(i&&(K(n,J)||G(n,J,e[t]?""+e[t]:te.join(String(t)))),e===window?e[t]=n:r?e[t]?e[t]=n:G(e,t,n):(delete e[t],G(e,t,n)))})(Function.prototype,ee,(function(){return"function"==typeof this&&this[J]||Q.call(this)}));var ne=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},re=ne,ie=i,ae=R,oe=U,se=function(e,t,n){if(re(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},le="prototype",ue=function(e,t,n){var r,i,a,o,s=e&ue.F,l=e&ue.G,u=e&ue.S,c=e&ue.P,d=e&ue.B,h=l?window:u?window[t]||(window[t]={}):(window[t]||{})[le],f=l?ie:ie[t]||(ie[t]={}),p=f[le]||(f[le]={});for(r in l&&(n=t),n)a=((i=!s&&h&&void 0!==h[r])?h:n)[r],o=d&&i?se(a,window):c&&"function"==typeof a?se(Function.call,a):a,h&&oe(h,r,a,e&ue.U),f[r]!=a&&ae(f,r,o),c&&p[r]!=a&&(p[r]=a)};window.core=ie,ue.F=1,ue.G=2,ue.S=4,ue.P=8,ue.B=16,ue.W=32,ue.U=64,ue.R=128;var ce,de,he,fe=ue,pe=Math.ceil,ve=Math.floor,ge=function(e){return isNaN(e=+e)?0:(e>0?ve:pe)(e)},me=ge,_e=Math.min,ye=ge,be=Math.max,we=Math.min,xe=H,Se=function(e){return e>0?_e(me(e),9007199254740991):0},ke=function(e,t){return(e=ye(e))<0?be(e+t,0):we(e,t)},Te=n("keys"),Ee=h,Ce=function(e){return Te[e]||(Te[e]=Ee(e))},Me=X,Oe=H,Ie=(ce=!1,function(e,t,n){var r,i=xe(e),a=Se(i.length),o=ke(n,a);if(ce&&t!=t){for(;a>o;)if((r=i[o++])!=r)return!0}else for(;a>o;o++)if((ce||o in i)&&i[o]===t)return ce||o||0;return!ce&&-1}),Le=Ce("IE_PROTO"),Ae="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Ne=function(e,t){var n,r=Oe(e),i=0,a=[];for(n in r)n!=Le&&Me(r,n)&&a.push(n);for(;t.length>i;)Me(r,n=t[i++])&&(~Ie(a,n)||a.push(n));return a},Be=Ae,Re=Object.keys||function(e){return Ne(e,Be)},Pe=y,ze=x,De=Re,Fe=k?Object.defineProperties:function(e,t){ze(e);for(var n,r=De(t),i=r.length,a=0;i>a;)Pe.f(e,n=r[a++],t[n]);return e};var $e=x,je=Fe,We=Ae,Ve=Ce("IE_PROTO"),He=function(){},Ue="prototype",qe=function(){var e,t=T()("iframe"),n=We.length;for(t.style.display="none",function(){if(he)return de;he=1;var e=o.document;return de=e&&e.documentElement}().appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),qe=e.F;n--;)delete qe[Ue][We[n]];return qe()},Ye=Object.create||function(e,t){var n;return null!==e?(He[Ue]=$e(e),n=new He,He[Ue]=null,n[Ve]=e):n=qe(),void 0===t?n:je(n,t)},Xe=y.f,Ze=X,Ge=e("toStringTag"),Ke=function(e,t,n){e&&!Ze(e=n?e:e.prototype,Ge)&&Xe(e,Ge,{configurable:!0,value:t})},Je=Ye,Qe=A,et=Ke,tt={};R(tt,e("iterator"),(function(){return this}));var nt=j,rt=function(e){return Object(nt(e))},it=X,at=rt,ot=Ce("IE_PROTO"),st=Object.prototype,lt=Object.getPrototypeOf||function(e){return e=at(e),it(e,ot)?e[ot]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?st:null},ut=fe,ct=U,dt=R,ht=D,ft=function(e,t,n){e.prototype=Je(tt,{next:Qe(1,n)}),et(e,t+" Iterator")},pt=Ke,vt=lt,gt=e("iterator"),mt=!([].keys&&"next"in[].keys()),_t="keys",yt="values",bt=function(){return this},wt=function(e){z[P][e]=!0},xt=function(e,t){return{value:t,done:!!e}},St=D,kt=H,Tt=function(e,t,n,r,i,a,o){ft(n,t,r);var s,l,u,c=function(e){if(!mt&&e in p)return p[e];switch(e){case _t:case yt:return function(){return new n(this,e)}}return function(){return new n(this,e)}},d=t+" Iterator",h=i==yt,f=!1,p=e.prototype,v=p[gt]||p["@@iterator"]||i&&p[i],g=v||c(i),m=i?h?c("entries"):g:void 0,_="Array"==t&&p.entries||v;if(_&&(u=vt(_.call(new e)))!==Object.prototype&&u.next&&(pt(u,d,!0),"function"!=typeof u[gt]&&dt(u,gt,bt)),h&&v&&v.name!==yt&&(f=!0,g=function(){return v.call(this)}),(mt||f||!p[gt])&&dt(p,gt,g),ht[t]=g,ht[d]=bt,i)if(s={values:h?g:c(yt),keys:a?g:c(_t),entries:m},o)for(l in s)l in p||ct(p,l,s[l]);else ut(ut.P+ut.F*(mt||f),t,s);return s}(Array,"Array",(function(e,t){this._t=kt(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,xt(1)):xt(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values");St.Arguments=St.Array,wt("keys"),wt("values"),wt("entries");for(var Et=Tt,Ct=Re,Mt=U,Ot=R,It=D,Lt=e,At=Lt("iterator"),Nt=Lt("toStringTag"),Bt=It.Array,Rt={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},Pt=Ct(Rt),zt=0;zt<Pt.length;zt++){var Dt,Ft=Pt[zt],$t=Rt[Ft],jt=window[Ft],Wt=jt&&jt.prototype;if(Wt&&(Wt[At]||Ot(Wt,At,Bt),Wt[Nt]||Ot(Wt,Nt,Ft),It[Ft]=Bt,$t))for(Dt in Et)Wt[Dt]||Mt(Wt,Dt,Et[Dt],!0)}function Vt(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}function Ht(e){if(fn(e)){for(var t={},n=0;n<e.length;n++){var r=e[n],i=gn(r)?Xt(r):Ht(r);if(i)for(var a in i)t[a]=i[a]}return t}return gn(e)||_n(e)?e:void 0}var Ut=/;(?![^(]*\))/g,qt=/:([^]+)/,Yt=/\/\*[\s\S]*?\*\//g;function Xt(e){var t={};return e.replace(Yt,"").split(Ut).forEach((e=>{if(e){var n=e.split(qt);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function Zt(e){var t="";if(gn(e))t=e;else if(fn(e))for(var n=0;n<e.length;n++){var r=Zt(e[n]);r&&(t+=r+" ")}else if(_n(e))for(var i in e)e[i]&&(t+=i+" ");return t.trim()}var Gt=Vt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Kt(e){return!!e||""===e}var Jt,Qt,en,tn={},nn=[],rn=()=>{},an=()=>!1,on=/^on[^a-z]/,sn=e=>on.test(e),ln=e=>e.startsWith("onUpdate:"),un=Object.assign,cn=(e,t)=>{var n=e.indexOf(t);n>-1&&e.splice(n,1)},dn=Object.prototype.hasOwnProperty,hn=(e,t)=>dn.call(e,t),fn=Array.isArray,pn=e=>"[object Map]"===wn(e),vn=e=>"function"==typeof e,gn=e=>"string"==typeof e,mn=e=>"symbol"==typeof e,_n=e=>null!==e&&"object"==typeof e,yn=e=>_n(e)&&vn(e.then)&&vn(e.catch),bn=Object.prototype.toString,wn=e=>bn.call(e),xn=e=>"[object Object]"===wn(e),Sn=e=>gn(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,kn=Vt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tn=e=>{var t=Object.create(null);return n=>t[n]||(t[n]=e(n))},En=/-(\w)/g,Cn=Tn((e=>e.replace(En,((e,t)=>t?t.toUpperCase():"")))),Mn=/\B([A-Z])/g,On=Tn((e=>e.replace(Mn,"-$1").toLowerCase())),In=Tn((e=>e.charAt(0).toUpperCase()+e.slice(1))),Ln=Tn((e=>e?"on".concat(In(e)):"")),An=(e,t)=>!Object.is(e,t),Nn=(e,t)=>{for(var n=0;n<e.length;n++)e[n](t)},Bn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Rn=e=>{var t=parseFloat(e);return isNaN(t)?e:t};var Pn=fe,zn=ne,Dn=rt,Fn=S,$n=[].sort,jn=[1,2,3];Pn(Pn.P+Pn.F*(Fn((function(){jn.sort(void 0)}))||!Fn((function(){jn.sort(null)}))||!function(){if(en)return Qt;en=1;var e=S;return Qt=function(t,n){return!!t&&e((function(){n?t.call(null,(function(){}),1):t.call(null)}))}}()($n)),"Array",{sort:function(e){return void 0===e?$n.call(Dn(this)):$n.call(Dn(this),zn(e))}});var Wn="\n",Vn="#007aff",Hn=/^([a-z-]+:)?\/\//i,Un=/^data:.*,.*/,qn="wxs://",Yn="json://",Xn="renderjsModules",Zn=0;function Gn(e){var t=Date.now(),n=Zn?t-Zn:0;Zn=t;for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return"[".concat(t,"][").concat(n,"ms][").concat(e,"]:").concat(i.map((e=>JSON.stringify(e))).join(" "))}function Kn(e){return function(e){return 0===e.indexOf("/")}(e)?e:"/"+e}function Jn(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(){if(e){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];t=e.apply(n,i),e=null}return t}}function Qn(e,t){if(gn(t)){var n=(t=t.replace(/\[(\d+)\]/g,".$1")).split("."),r=n[0];return e||(e={}),1===n.length?e[r]:Qn(e[r],n.slice(1).join("."))}}function er(e){return Cn(e.substring(5))}var tr=Jn((()=>{var e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&((this.__uniDataset||(this.__uniDataset={}))[er(e)]=n);t.call(this,e,n)};var n=e.removeAttribute;e.removeAttribute=function(e){this.__uniDataset&&e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[er(e)],n.call(this,e)}}));function nr(e){return un({},e.dataset,e.__uniDataset)}var rr=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function ir(e){return{passive:e}}function ar(e){var{id:t,offsetTop:n,offsetLeft:r}=e;return{id:t,dataset:nr(e),offsetTop:n,offsetLeft:r}}function or(e){if(vn(e))return window.plus?e():void document.addEventListener("plusready",e)}var sr=/(?:Once|Passive|Capture)$/;function lr(e){var t,n;if(sr.test(e))for(t={};n=e.match(sr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0;return[On(e.slice(2)),t]}var ur=(()=>({stop:1,prevent:2,self:4}))(),cr="class",dr="style",hr=".vShow",fr=".vOwnerId",pr=".vRenderjs",vr="change:";var gr=function(){};gr.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var a=0,o=r.length;a<o;a++)r[a].fn!==t&&r[a].fn._!==t&&i.push(r[a]);return i.length?n[e]=i:delete n[e],this}};var mr=gr,_r=["{","}"];var yr=/^(?:\d)+/,br=/^(?:\w)+/;var wr="zh-Hans",xr="zh-Hant",Sr="en",kr="fr",Tr="es",Er=Object.prototype.hasOwnProperty,Cr=(e,t)=>Er.call(e,t),Mr=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_r;if(!t)return[e];var r=this._caches[e];return r||(r=function(e,t){var[n,r]=t,i=[],a=0,o="";for(;a<e.length;){var s=e[a++];if(s===n){o&&i.push({type:"text",value:o}),o="";var l="";for(s=e[a++];void 0!==s&&s!==r;)l+=s,s=e[a++];var u=s===r,c=yr.test(l)?"list":u&&br.test(l)?"named":"unknown";i.push({value:l,type:c})}else o+=s}return o&&i.push({type:"text",value:o}),i}(e,n),this._caches[e]=r),function(e,t){var n=[],r=0,i=Array.isArray(t)?"list":(a=t,null!==a&&"object"==typeof a?"named":"unknown");var a;if("unknown"===i)return n;for(;r<e.length;){var o=e[r];switch(o.type){case"text":n.push(o.value);break;case"list":n.push(t[parseInt(o.value,10)]);break;case"named":"named"===i&&n.push(t[o.value])}r++}return n}(r,t)}};function Or(e,t){if(e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return wr;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?wr:e.indexOf("-hant")>-1?xr:(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?xr:wr);var n,r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,[Sr,kr,Tr]);return r||void 0}}class Ir{constructor(e){var{locale:t,fallbackLocale:n,messages:r,watcher:i,formater:a}=e;this.locale=Sr,this.fallbackLocale=Sr,this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=a||Mr,this.messages=r||{},this.setLocale(t||Sr),i&&this.watchLocale(i)}setLocale(e){var t=this.locale;this.locale=Or(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){var t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.messages[e];r?n?Object.assign(r,t):Object.keys(t).forEach((e=>{Cr(r,e)||(r[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){var r=this.message;return"string"==typeof t?(t=Or(t,this.messages))&&(r=this.messages[t]):n=t,Cr(r,e)?this.formater.interpolate(r[e],n).join(""):(console.warn("Cannot translate the value of keypath ".concat(e,". Use the value of keypath as default.")),e)}}function Lr(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}function Ar(){return"undefined"!=typeof uni&&uni.getLocale?uni.getLocale():"undefined"!=typeof window&&window.getLocale?window.getLocale():Sr}var Nr,Br=Jn((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));function Rr(){var e;if(!Nr&&(e="function"==typeof getApp?weex.requireModule("plus").getLanguage():plus.webview.currentWebview().getStyle().locale,Nr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e=Ar()),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Sr);var i=new Ir({locale:e,fallbackLocale:n,messages:t,watcher:r}),a=(e,t)=>{if("function"!=typeof getApp)a=function(e,t){return i.t(e,t)};else{var n=!1;a=function(e,t){var r=getApp().$vm;return r&&(r.$locale,n||(n=!0,Lr(r,i))),i.t(e,t)}}return a(e,t)};return{i18n:i,f:(e,t,n)=>i.f(e,t,n),t:(e,t)=>a(e,t),add(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return i.add(e,t,n)},watch:e=>i.watchLocale(e),getLocale:()=>i.getLocale(),setLocale:e=>i.setLocale(e)}}(e),Br())){var t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>Nr.add(e,__uniConfig.locales[e]))),Nr.setLocale(e)}return Nr}function Pr(e,t,n){return t.reduce(((t,r,i)=>(t[e+r]=n[i],t)),{})}var zr=Jn((()=>{var e="uni.picker.",t=["done","cancel"];Rr().add(Sr,Pr(e,t,["Done","Cancel"]),!1),Rr().add(Tr,Pr(e,t,["OK","Cancelar"]),!1),Rr().add(kr,Pr(e,t,["OK","Annuler"]),!1),Rr().add(wr,Pr(e,t,["完成","取消"]),!1),Rr().add(xr,Pr(e,t,["完成","取消"]),!1)})),Dr=Jn((()=>{var e="uni.button.",t=["feedback.title","feedback.send"];Rr().add(Sr,Pr(e,t,["feedback","send"]),!1),Rr().add(Tr,Pr(e,t,["realimentación","enviar"]),!1),Rr().add(kr,Pr(e,t,["retour d'information","envoyer"]),!1),Rr().add(wr,Pr(e,t,["问题反馈","发送"]),!1),Rr().add(xr,Pr(e,t,["問題反饋","發送"]),!1)}));function Fr(e){var t=new mr;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.emit(e,...r)},subscribe(n,r){t[arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"once":"on"]("".concat(e,".").concat(n),r)},unsubscribe(n,r){t.off("".concat(e,".").concat(n),r)},subscribeHandler(n,r,i){t.emit("".concat(e,".").concat(n),r,i)}}}var $r="invokeViewApi",jr="invokeServiceApi",Wr=1,Vr=Object.create(null);function Hr(e,t){return e+"."+t}function Ur(e,t,n){t=Hr(e,t),Vr[t]||(Vr[t]=n)}function qr(e,t){var{id:n,name:r,args:i}=e;r=Hr(t,r);var a=e=>{n&&UniViewJSBridge.publishHandler($r+"."+n,e)},o=Vr[r];o?o(i,a):a({})}var Yr,Xr=un(Fr("service"),{invokeServiceMethod:(e,t,n)=>{var{subscribe:r,publishHandler:i}=UniViewJSBridge,a=n?Wr++:0;n&&r(jr+"."+a,n,!0),i(jr,{id:a,name:e,args:t})}}),Zr=ir(!0);function Gr(){Yr&&(clearTimeout(Yr),Yr=null)}var Kr,Jr=0,Qr=0;function ei(e){if(Gr(),1===e.touches.length){var{pageX:t,pageY:n}=e.touches[0];Jr=t,Qr=n,Yr=setTimeout((function(){var 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 ti(e){if(Yr){if(1!==e.touches.length)return Gr();var{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Jr)>10||Math.abs(n-Qr)>10?Gr():void 0}}function ni(e,t){var n=Number(e);return isNaN(n)?t:n}function ri(){var e=__uniConfig.globalStyle||{},t=ni(e.rpxCalcMaxDeviceWidth,960),n=ni(e.rpxCalcBaseDeviceWidth,375);function r(){var e,r,i,a=(e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,r=e&&90===Math.abs(window.orientation),i=e?Math[r?"max":"min"](screen.width,screen.height):screen.width,Math.min(window.innerWidth,document.documentElement.clientWidth,i)||i);a=a<=t?a:n,document.documentElement.style.fontSize=a/23.4375+"px"}r(),document.addEventListener("DOMContentLoaded",r),window.addEventListener("load",r),window.addEventListener("resize",r)}function ii(){ri(),tr(),window.addEventListener("touchstart",ei,Zr),window.addEventListener("touchmove",ti,Zr),window.addEventListener("touchend",Gr,Zr),window.addEventListener("touchcancel",Gr,Zr)}class ai{constructor(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Kr,!e&&Kr&&(this.index=(Kr.scopes||(Kr.scopes=[])).push(this)-1)}run(e){if(this.active){var t=Kr;try{return Kr=this,e()}finally{Kr=t}}}on(){Kr=this}off(){Kr=this.parent}stop(e){if(this.active){var 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){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}}}var oi,si=e=>{var t=new Set(e);return t.w=0,t.n=0,t},li=e=>(e.w&hi)>0,ui=e=>(e.n&hi)>0,ci=new WeakMap,di=0,hi=1,fi=Symbol(""),pi=Symbol("");class vi{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Kr;t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();for(var e=oi,t=mi;e;){if(e===this)return;e=e.parent}try{return this.parent=oi,oi=this,mi=!0,hi=1<<++di,di<=30?(e=>{var{deps:t}=e;if(t.length)for(var n=0;n<t.length;n++)t[n].w|=hi})(this):gi(this),this.fn()}finally{di<=30&&(e=>{var{deps:t}=e;if(t.length){for(var n=0,r=0;r<t.length;r++){var i=t[r];li(i)&&!ui(i)?i.delete(e):t[n++]=i,i.w&=~hi,i.n&=~hi}t.length=n}})(this),hi=1<<--di,oi=this.parent,mi=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){oi===this?this.deferStop=!0:this.active&&(gi(this),this.onStop&&this.onStop(),this.active=!1)}}function gi(e){var{deps:t}=e;if(t.length){for(var n=0;n<t.length;n++)t[n].delete(e);t.length=0}}var mi=!0,_i=[];function yi(){_i.push(mi),mi=!1}function bi(){var e=_i.pop();mi=void 0===e||e}function wi(e,t,n){if(mi&&oi){var r=ci.get(e);r||ci.set(e,r=new Map);var i=r.get(n);i||r.set(n,i=si()),xi(i)}}function xi(e,t){var n=!1;di<=30?ui(e)||(e.n|=hi,n=!li(e)):n=!e.has(oi),n&&(e.add(oi),oi.deps.push(e))}function Si(e,t,n,r,i,a){var o=ci.get(e);if(o){var s=[];if("clear"===t)s=[...o.values()];else if("length"===n&&fn(e)){var l=Rn(r);o.forEach(((e,t)=>{("length"===t||t>=l)&&s.push(e)}))}else switch(void 0!==n&&s.push(o.get(n)),t){case"add":fn(e)?Sn(n)&&s.push(o.get("length")):(s.push(o.get(fi)),pn(e)&&s.push(o.get(pi)));break;case"delete":fn(e)||(s.push(o.get(fi)),pn(e)&&s.push(o.get(pi)));break;case"set":pn(e)&&s.push(o.get(fi))}if(1===s.length)s[0]&&ki(s[0]);else{var u=[];for(var c of s)c&&u.push(...c);ki(si(u))}}}function ki(e,t){var n=fn(e)?e:[...e];for(var r of n)r.computed&&Ti(r);for(var i of n)i.computed||Ti(i)}function Ti(e,t){(e!==oi||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}var Ei=Vt("__proto__,__v_isRef,__isVue"),Ci=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(mn)),Mi=Ni(),Oi=Ni(!1,!0),Ii=Ni(!0),Li=Ai();function Ai(){var e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(){for(var e=_a(this),n=0,r=this.length;n<r;n++)wi(e,0,n+"");for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];var s=e[t](...a);return-1===s||!1===s?e[t](...a.map(_a)):s}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(){yi();for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=_a(this)[t].apply(this,n);return bi(),i}})),e}function Ni(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r,i){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_isShallow"===r)return t;if("__v_raw"===r&&i===(e?t?la:sa:t?oa:aa).get(n))return n;var a=fn(n);if(!e&&a&&hn(Li,r))return Reflect.get(Li,r,i);var o=Reflect.get(n,r,i);return(mn(r)?Ci.has(r):Ei(r))?o:(e||wi(n,0,r),t?o:ka(o)?a&&Sn(r)?o:o.value:_n(o)?e?ha(o):ca(o):o)}}function Bi(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n,r,i){var a=t[n];if(va(a)&&ka(a)&&!ka(r))return!1;if(!e&&(ga(r)||va(r)||(a=_a(a),r=_a(r)),!fn(t)&&ka(a)&&!ka(r)))return a.value=r,!0;var o=fn(t)&&Sn(n)?Number(n)<t.length:hn(t,n),s=Reflect.set(t,n,r,i);return t===_a(i)&&(o?An(r,a)&&Si(t,"set",n,r):Si(t,"add",n,r)),s}}var Ri={get:Mi,set:Bi(),deleteProperty:function(e,t){var n=hn(e,t);e[t];var r=Reflect.deleteProperty(e,t);return r&&n&&Si(e,"delete",t,void 0),r},has:function(e,t){var n=Reflect.has(e,t);return mn(t)&&Ci.has(t)||wi(e,0,t),n},ownKeys:function(e){return wi(e,0,fn(e)?"length":fi),Reflect.ownKeys(e)}},Pi={get:Ii,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},zi=un({},Ri,{get:Oi,set:Bi(!0)}),Di=e=>e,Fi=e=>Reflect.getPrototypeOf(e);function $i(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=_a(e=e.__v_raw),a=_a(t);n||(t!==a&&wi(i,0,t),wi(i,0,a));var{has:o}=Fi(i),s=r?Di:n?wa:ba;return o.call(i,t)?s(e.get(t)):o.call(i,a)?s(e.get(a)):void(e!==i&&e.get(t))}function ji(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.__v_raw,r=_a(n),i=_a(e);return t||(e!==i&&wi(r,0,e),wi(r,0,i)),e===i?n.has(e):n.has(e)||n.has(i)}function Wi(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=e.__v_raw,!t&&wi(_a(e),0,fi),Reflect.get(e,"size",e)}function Vi(e){e=_a(e);var t=_a(this);return Fi(t).has.call(t,e)||(t.add(e),Si(t,"add",e,e)),this}function Hi(e,t){t=_a(t);var n=_a(this),{has:r,get:i}=Fi(n),a=r.call(n,e);a||(e=_a(e),a=r.call(n,e));var o=i.call(n,e);return n.set(e,t),a?An(t,o)&&Si(n,"set",e,t):Si(n,"add",e,t),this}function Ui(e){var t=_a(this),{has:n,get:r}=Fi(t),i=n.call(t,e);i||(e=_a(e),i=n.call(t,e)),r&&r.call(t,e);var a=t.delete(e);return i&&Si(t,"delete",e,void 0),a}function qi(){var e=_a(this),t=0!==e.size,n=e.clear();return t&&Si(e,"clear",void 0,void 0),n}function Yi(e,t){return function(n,r){var i=this,a=i.__v_raw,o=_a(a),s=t?Di:e?wa:ba;return!e&&wi(o,0,fi),a.forEach(((e,t)=>n.call(r,s(e),s(t),i)))}}function Xi(e,t,n){return function(){var r=this.__v_raw,i=_a(r),a=pn(i),o="entries"===e||e===Symbol.iterator&&a,s="keys"===e&&a,l=r[e](...arguments),u=n?Di:t?wa:ba;return!t&&wi(i,0,s?pi:fi),{next(){var{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:o?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Zi(e){return function(){return"delete"!==e&&this}}function Gi(){var e={get(e){return $i(this,e)},get size(){return Wi(this)},has:ji,add:Vi,set:Hi,delete:Ui,clear:qi,forEach:Yi(!1,!1)},t={get(e){return $i(this,e,!1,!0)},get size(){return Wi(this)},has:ji,add:Vi,set:Hi,delete:Ui,clear:qi,forEach:Yi(!1,!0)},n={get(e){return $i(this,e,!0)},get size(){return Wi(this,!0)},has(e){return ji.call(this,e,!0)},add:Zi("add"),set:Zi("set"),delete:Zi("delete"),clear:Zi("clear"),forEach:Yi(!0,!1)},r={get(e){return $i(this,e,!0,!0)},get size(){return Wi(this,!0)},has(e){return ji.call(this,e,!0)},add:Zi("add"),set:Zi("set"),delete:Zi("delete"),clear:Zi("clear"),forEach:Yi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((i=>{e[i]=Xi(i,!1,!1),n[i]=Xi(i,!0,!1),t[i]=Xi(i,!1,!0),r[i]=Xi(i,!0,!0)})),[e,n,t,r]}var[Ki,Ji,Qi,ea]=Gi();function ta(e,t){var n=t?e?ea:Qi:e?Ji:Ki;return(t,r,i)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(hn(n,r)&&r in t?n:t,r,i)}var na={get:ta(!1,!1)},ra={get:ta(!1,!0)},ia={get:ta(!0,!1)},aa=new WeakMap,oa=new WeakMap,sa=new WeakMap,la=new WeakMap;function ua(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>wn(e).slice(8,-1))(e))}function ca(e){return va(e)?e:fa(e,!1,Ri,na,aa)}function da(e){return fa(e,!1,zi,ra,oa)}function ha(e){return fa(e,!0,Pi,ia,sa)}function fa(e,t,n,r,i){if(!_n(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;var a=i.get(e);if(a)return a;var o=ua(e);if(0===o)return e;var s=new Proxy(e,2===o?r:n);return i.set(e,s),s}function pa(e){return va(e)?pa(e.__v_raw):!(!e||!e.__v_isReactive)}function va(e){return!(!e||!e.__v_isReadonly)}function ga(e){return!(!e||!e.__v_isShallow)}function ma(e){return pa(e)||va(e)}function _a(e){var t=e&&e.__v_raw;return t?_a(t):e}function ya(e){return Bn(e,"__v_skip",!0),e}var ba=e=>_n(e)?ca(e):e,wa=e=>_n(e)?ha(e):e;function xa(e){mi&&oi&&xi((e=_a(e)).dep||(e.dep=si()))}function Sa(e,t){(e=_a(e)).dep&&ki(e.dep)}function ka(e){return!(!e||!0!==e.__v_isRef)}function Ta(e){return Ca(e,!1)}function Ea(e){return Ca(e,!0)}function Ca(e,t){return ka(e)?e:new Ma(e,t)}class Ma{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:_a(e),this._value=t?e:ba(e)}get value(){return xa(this),this._value}set value(e){var t=this.__v_isShallow||ga(e)||va(e);e=t?e:_a(e),An(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:ba(e),Sa(this))}}var Oa,Ia={get:(e,t,n)=>{return ka(r=Reflect.get(e,t,n))?r.value:r;var r},set:(e,t,n,r)=>{var i=e[t];return ka(i)&&!ka(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function La(e){return pa(e)?e:new Proxy(e,Ia)}class Aa{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[Oa]=!1,this._dirty=!0,this.effect=new vi(e,(()=>{this._dirty||(this._dirty=!0,Sa(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){var e=_a(this);return xa(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Na(e,t,n,r){var i;try{i=r?e(...r):e()}catch(a){Ra(a,t,n)}return i}function Ba(e,t,n,r){if(vn(e)){var i=Na(e,t,n,r);return i&&yn(i)&&i.catch((e=>{Ra(e,t,n)})),i}for(var a=[],o=0;o<e.length;o++)a.push(Ba(e[o],t,n,r));return a}function Ra(e,t,n){if(t&&t.vnode,t){for(var r=t.parent,i=t.proxy,a=n;r;){var o=r.ec;if(o)for(var s=0;s<o.length;s++)if(!1===o[s](e,i,a))return;r=r.parent}var l=t.appContext.config.errorHandler;if(l)return void Na(l,null,10,[e,i,a])}!function(e,t,n){e instanceof Error?console.error(e.message+"\n"+e.stack):console.error(e)}(e)}Oa="__v_isReadonly";var Pa=!1,za=!1,Da=[],Fa=0,$a=[],ja=null,Wa=0,Va=Promise.resolve(),Ha=null;function Ua(e){var t=Ha||Va;return e?t.then(this?e.bind(this):e):t}function qa(e){Da.length&&Da.includes(e,Pa&&e.allowRecurse?Fa+1:Fa)||(null==e.id?Da.push(e):Da.splice(function(e){for(var t=Fa+1,n=Da.length;t<n;){var r=t+n>>>1;Ga(Da[r])<e?t=r+1:n=r}return t}(e.id),0,e),Ya())}function Ya(){Pa||za||(za=!0,Ha=Va.then(Ja))}function Xa(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Pa?Fa+1:0;t<Da.length;t++){var n=Da[t];n&&n.pre&&(Da.splice(t,1),t--,n())}}function Za(e){if($a.length){var t=[...new Set($a)];if($a.length=0,ja)return void ja.push(...t);for((ja=t).sort(((e,t)=>Ga(e)-Ga(t))),Wa=0;Wa<ja.length;Wa++)ja[Wa]();ja=null,Wa=0}}var Ga=e=>null==e.id?1/0:e.id,Ka=(e,t)=>{var n=Ga(e)-Ga(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ja(e){za=!1,Pa=!0,Da.sort(Ka);try{for(Fa=0;Fa<Da.length;Fa++){var t=Da[Fa];t&&!1!==t.active&&Na(t,null,14)}}finally{Fa=0,Da.length=0,Za(),Pa=!1,Ha=null,(Da.length||$a.length)&&Ja()}}function Qa(e,t){if(!e.isUnmounted){for(var n=e.vnode.props||tn,r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];var o,s=i,l=t.startsWith("update:"),u=l&&t.slice(7);if(u&&u in n){var c="".concat("modelValue"===u?"model":u,"Modifiers"),{number:d,trim:h}=n[c]||tn;h&&(s=i.map((e=>gn(e)?e.trim():e))),d&&(s=i.map(Rn))}var f=n[o=Ln(t)]||n[o=Ln(Cn(t))];!f&&l&&(f=n[o=Ln(On(t))]),f&&Ba(f,e,6,s);var p=n[o+"Once"];if(p){if(e.emitted){if(e.emitted[o])return}else e.emitted={};e.emitted[o]=!0,Ba(p,e,6,s)}}}function eo(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.emitsCache,i=r.get(e);if(void 0!==i)return i;var a=e.emits,o={},s=!1;if(!vn(e)){var l=e=>{var n=eo(e,t,!0);n&&(s=!0,un(o,n))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return a||s?(fn(a)?a.forEach((e=>o[e]=null)):un(o,a),_n(e)&&r.set(e,o),o):(_n(e)&&r.set(e,null),null)}function to(e,t){return!(!e||!sn(t))&&(t=t.slice(2).replace(/Once$/,""),hn(e,t[0].toLowerCase()+t.slice(1))||hn(e,On(t))||hn(e,t))}var no=null,ro=null;function io(e){var t=no;return no=e,ro=e&&e.type.__scopeId||null,t}function ao(e){var t,n,{type:r,vnode:i,proxy:a,withProxy:o,props:s,propsOptions:[l],slots:u,attrs:c,emit:d,render:h,renderCache:f,data:p,setupState:v,ctx:g,inheritAttrs:m}=e,_=io(e);try{if(4&i.shapeFlag){var y=o||a;t=$s(h.call(y,y,f,s,v,p,g)),n=c}else{var b=r;0,t=$s(b.length>1?b(s,{attrs:c,slots:u,emit:d}):b(s,null)),n=r.props?c:oo(c)}}catch(k){Ra(k,e,1),t=Ps(Cs)}var w=t;if(n&&!1!==m){var x=Object.keys(n),{shapeFlag:S}=w;x.length&&7&S&&(l&&x.some(ln)&&(n=so(n,l)),w=Ds(w,n))}return i.dirs&&((w=Ds(w)).dirs=w.dirs?w.dirs.concat(i.dirs):i.dirs),i.transition&&(w.transition=i.transition),t=w,io(_),t}var oo=e=>{var t;for(var n in e)("class"===n||"style"===n||sn(n))&&((t||(t={}))[n]=e[n]);return t},so=(e,t)=>{var n={};for(var r in e)ln(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function lo(e,t,n){var r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(var i=0;i<r.length;i++){var a=r[i];if(t[a]!==e[a]&&!to(n,a))return!0}return!1}var uo=e=>e.__isSuspense;function co(e,t){if(Ys){var n=Ys.provides,r=Ys.parent&&Ys.parent.provides;r===n&&(n=Ys.provides=Object.create(r)),n[e]=t}else;}function ho(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Ys||no;if(r){var i=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&vn(t)?t.call(r.proxy):t}}function fo(e,t){return go(e,null,t)}var po={};function vo(e,t,n){return go(e,t,n)}function go(e,t){var n,r,{immediate:i,deep:a,flush:o,onTrack:s,onTrigger:l}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:tn,u=Ys,c=!1,d=!1;if(ka(e)?(n=()=>e.value,c=ga(e)):pa(e)?(n=()=>e,a=!0):fn(e)?(d=!0,c=e.some((e=>pa(e)||ga(e))),n=()=>e.map((e=>ka(e)?e.value:pa(e)?yo(e):vn(e)?Na(e,u,2):void 0))):n=vn(e)?t?()=>Na(e,u,2):()=>{if(!u||!u.isUnmounted)return r&&r(),Ba(e,u,3,[p])}:rn,t&&a){var h=n;n=()=>yo(h())}var f,p=e=>{r=y.onStop=()=>{Na(e,u,4)}};if(Js){if(p=rn,t?i&&Ba(t,u,3,[n(),d?[]:void 0,p]):n(),"sync"!==o)return rn;var v=sl();f=v.__watcherHandles||(v.__watcherHandles=[])}var g,m=d?new Array(e.length).fill(po):po,_=()=>{if(y.active)if(t){var e=y.run();(a||c||(d?e.some(((e,t)=>An(e,m[t]))):An(e,m)))&&(r&&r(),Ba(t,u,3,[e,m===po?void 0:d&&m[0]===po?[]:m,p]),m=e)}else y.run()};_.allowRecurse=!!t,"sync"===o?g=_:"post"===o?g=()=>bs(_,u&&u.suspense):(_.pre=!0,u&&(_.id=u.uid),g=()=>qa(_));var y=new vi(n,g);t?i?_():m=y.run():"post"===o?bs(y.run.bind(y),u&&u.suspense):y.run();var b=()=>{y.stop(),u&&u.scope&&cn(u.scope.effects,y)};return f&&f.push(b),b}function mo(e,t,n){var r,i=this.proxy,a=gn(e)?e.includes(".")?_o(i,e):()=>i[e]:e.bind(i,i);vn(t)?r=t:(r=t.handler,n=t);var o=Ys;Zs(this);var s=go(a,r.bind(i),n);return o?Zs(o):Gs(),s}function _o(e,t){var n=t.split(".");return()=>{for(var t=e,r=0;r<n.length&&t;r++)t=t[n[r]];return t}}function yo(e,t){if(!_n(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),ka(e))yo(e.value,t);else if(fn(e))for(var n=0;n<e.length;n++)yo(e[n],t);else if("[object Set]"===wn(e)||pn(e))e.forEach((e=>{yo(e,t)}));else if(xn(e))for(var r in e)yo(e[r],t);return e}var bo=e=>!!e.type.__asyncLoader,wo=e=>e.type.__isKeepAlive;function xo(e,t){ko(e,"a",t)}function So(e,t){ko(e,"da",t)}function ko(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ys,r=e.__wdc||(e.__wdc=()=>{for(var t=n;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Eo(t,r,n),n)for(var i=n.parent;i&&i.parent;)wo(i.parent.vnode)&&To(r,t,n,i),i=i.parent}function To(e,t,n,r){var i=Eo(t,e,r,!0);No((()=>{cn(r[t],i)}),n)}function Eo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ys,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n){var i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=function(){if(!n.isUnmounted){yi(),Zs(n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var o=Ba(t,n,e,i);return Gs(),bi(),o}});return r?i.unshift(a):i.push(a),a}}var Co=e=>function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ys;return(!Js||"sp"===e)&&Eo(e,(function(){return t(...arguments)}),n)},Mo=Co("bm"),Oo=Co("m"),Io=Co("bu"),Lo=Co("u"),Ao=Co("bum"),No=Co("um"),Bo=Co("sp"),Ro=Co("rtg"),Po=Co("rtc");function zo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ys;Eo("ec",e,t)}function Do(e,t){var n=no;if(null===n)return e;for(var r=nl(n)||n.proxy,i=e.dirs||(e.dirs=[]),a=0;a<t.length;a++){var[o,s,l,u=tn]=t[a];o&&(vn(o)&&(o={mounted:o,updated:o}),o.deep&&yo(s),i.push({dir:o,instance:r,value:s,oldValue:void 0,arg:l,modifiers:u}))}return e}function Fo(e,t,n,r){for(var i=e.dirs,a=t&&t.dirs,o=0;o<i.length;o++){var s=i[o];a&&(s.oldValue=a[o].value);var l=s.dir[r];l&&(yi(),Ba(l,n,8,[e.el,s,e,t]),bi())}}var $o=Symbol(),jo=e=>e?Ks(e)?nl(e)||e.proxy:jo(e.parent):null,Wo=un(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=>jo(e.parent),$root:e=>jo(e.root),$emit:e=>e.emit,$options:e=>Zo(e),$forceUpdate:e=>e.f||(e.f=()=>qa(e.update)),$nextTick:e=>e.n||(e.n=Ua.bind(e.proxy)),$watch:e=>mo.bind(e)}),Vo=(e,t)=>e!==tn&&!e.__isScriptSetup&&hn(e,t),Ho={get(e,t){var n,{_:r}=e,{ctx:i,setupState:a,data:o,props:s,accessCache:l,type:u,appContext:c}=r;if("$"!==t[0]){var d=l[t];if(void 0!==d)switch(d){case 1:return a[t];case 2:return o[t];case 4:return i[t];case 3:return s[t]}else{if(Vo(a,t))return l[t]=1,a[t];if(o!==tn&&hn(o,t))return l[t]=2,o[t];if((n=r.propsOptions[0])&&hn(n,t))return l[t]=3,s[t];if(i!==tn&&hn(i,t))return l[t]=4,i[t];Uo&&(l[t]=0)}}var h,f,p=Wo[t];return p?("$attrs"===t&&wi(r,0,t),p(r)):(h=u.__cssModules)&&(h=h[t])?h:i!==tn&&hn(i,t)?(l[t]=4,i[t]):(f=c.config.globalProperties,hn(f,t)?f[t]:void 0)},set(e,t,n){var{_:r}=e,{data:i,setupState:a,ctx:o}=r;return Vo(a,t)?(a[t]=n,!0):i!==tn&&hn(i,t)?(i[t]=n,!0):!hn(r.props,t)&&(("$"!==t[0]||!(t.slice(1)in r))&&(o[t]=n,!0))},has(e,t){var n,{_:{data:r,setupState:i,accessCache:a,ctx:o,appContext:s,propsOptions:l}}=e;return!!a[t]||r!==tn&&hn(r,t)||Vo(i,t)||(n=l[0])&&hn(n,t)||hn(o,t)||hn(Wo,t)||hn(s.config.globalProperties,t)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:hn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Uo=!0;function qo(e){var t=Zo(e),n=e.proxy,r=e.ctx;Uo=!1,t.beforeCreate&&Yo(t.beforeCreate,e,"bc");var{data:i,computed:a,methods:o,watch:s,provide:l,inject:u,created:c,beforeMount:d,mounted:h,beforeUpdate:f,updated:p,activated:v,deactivated:g,beforeDestroy:m,beforeUnmount:_,destroyed:y,unmounted:b,render:w,renderTracked:x,renderTriggered:S,errorCaptured:k,serverPrefetch:T,expose:E,inheritAttrs:C,components:M,directives:O,filters:I}=t;if(u&&function(e,t){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];fn(e)&&(e=Qo(e));var r=function(){var r,a=e[i];ka(r=_n(a)?"default"in a?ho(a.from||i,a.default,!0):ho(a.from||i):ho(a))&&n?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[i]=r};for(var i in e)r()}(u,r,null,e.appContext.config.unwrapInjectedRef),o)for(var L in o){var A=o[L];vn(A)&&(r[L]=A.bind(n))}if(i){var N=i.call(n,n);_n(N)&&(e.data=ca(N))}if(Uo=!0,a){var B=function(e){var t=a[e],i=vn(t)?t.bind(n,n):vn(t.get)?t.get.bind(n,n):rn,o=!vn(t)&&vn(t.set)?t.set.bind(n):rn,s=il({get:i,set:o});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})};for(var R in a)B(R)}if(s)for(var P in s)Xo(s[P],r,n,P);if(l){var z=vn(l)?l.call(n):l;Reflect.ownKeys(z).forEach((e=>{co(e,z[e])}))}function D(e,t){fn(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(c&&Yo(c,e,"c"),D(Mo,d),D(Oo,h),D(Io,f),D(Lo,p),D(xo,v),D(So,g),D(zo,k),D(Po,x),D(Ro,S),D(Ao,_),D(No,b),D(Bo,T),fn(E))if(E.length){var F=e.exposed||(e.exposed={});E.forEach((e=>{Object.defineProperty(F,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});w&&e.render===rn&&(e.render=w),null!=C&&(e.inheritAttrs=C),M&&(e.components=M),O&&(e.directives=O)}function Yo(e,t,n){Ba(fn(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Xo(e,t,n,r){var i=r.includes(".")?_o(n,r):()=>n[r];if(gn(e)){var a=t[e];vn(a)&&vo(i,a)}else if(vn(e))vo(i,e.bind(n));else if(_n(e))if(fn(e))e.forEach((e=>Xo(e,t,n,r)));else{var o=vn(e.handler)?e.handler.bind(n):t[e.handler];vn(o)&&vo(i,o,e)}}function Zo(e){var t,n=e.type,{mixins:r,extends:i}=n,{mixins:a,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,l=o.get(n);return l?t=l:a.length||r||i?(t={},a.length&&a.forEach((e=>Go(t,e,s,!0))),Go(t,n,s)):t=n,_n(n)&&o.set(n,t),t}function Go(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],{mixins:i,extends:a}=t;for(var o in a&&Go(e,a,n,!0),i&&i.forEach((t=>Go(e,t,n,!0))),t)if(r&&"expose"===o);else{var s=Ko[o]||n&&n[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var Ko={data:Jo,props:ts,emits:ts,methods:ts,computed:ts,beforeCreate:es,created:es,beforeMount:es,mounted:es,beforeUpdate:es,updated:es,beforeDestroy:es,beforeUnmount:es,destroyed:es,unmounted:es,activated:es,deactivated:es,errorCaptured:es,serverPrefetch:es,components:ts,directives:ts,watch:function(e,t){if(!e)return t;if(!t)return e;var n=un(Object.create(null),e);for(var r in t)n[r]=es(e[r],t[r]);return n},provide:Jo,inject:function(e,t){return ts(Qo(e),Qo(t))}};function Jo(e,t){return t?e?function(){return un(vn(e)?e.call(this,this):e,vn(t)?t.call(this,this):t)}:t:e}function Qo(e){if(fn(e)){for(var t={},n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function es(e,t){return e?[...new Set([].concat(e,t))]:t}function ts(e,t){return e?un(un(Object.create(null),e),t):t}function ns(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i={},a={};for(var o in Bn(a,As,1),e.propsDefaults=Object.create(null),rs(e,t,i,a),e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:da(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function rs(e,t,n,r){var i,[a,o]=e.propsOptions,s=!1;if(t)for(var l in t)if(!kn(l)){var u=t[l],c=void 0;a&&hn(a,c=Cn(l))?o&&o.includes(c)?(i||(i={}))[c]=u:n[c]=u:to(e.emitsOptions,l)||l in r&&u===r[l]||(r[l]=u,s=!0)}if(o)for(var d=_a(n),h=i||tn,f=0;f<o.length;f++){var p=o[f];n[p]=is(a,d,p,h[p],e,!hn(h,p))}return s}function is(e,t,n,r,i,a){var o=e[n];if(null!=o){var s=hn(o,"default");if(s&&void 0===r){var l=o.default;if(o.type!==Function&&vn(l)){var{propsDefaults:u}=i;n in u?r=u[n]:(Zs(i),r=u[n]=l.call(null,t),Gs())}else r=l}o[0]&&(a&&!s?r=!1:!o[1]||""!==r&&r!==On(n)||(r=!0))}return r}function as(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.propsCache,i=r.get(e);if(i)return i;var a=e.props,o={},s=[],l=!1;if(!vn(e)){var u=e=>{l=!0;var[n,r]=as(e,t,!0);un(o,n),r&&s.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return _n(e)&&r.set(e,nn),nn;if(fn(a))for(var c=0;c<a.length;c++){var d=Cn(a[c]);os(d)&&(o[d]=tn)}else if(a)for(var h in a){var f=Cn(h);if(os(f)){var p=a[h],v=o[f]=fn(p)||vn(p)?{type:p}:Object.assign({},p);if(v){var g=us(Boolean,v.type),m=us(String,v.type);v[0]=g>-1,v[1]=m<0||g<m,(g>-1||hn(v,"default"))&&s.push(f)}}}var _=[o,s];return _n(e)&&r.set(e,_),_}function os(e){return"$"!==e[0]}function ss(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function ls(e,t){return ss(e)===ss(t)}function us(e,t){return fn(t)?t.findIndex((t=>ls(t,e))):vn(t)&&ls(t,e)?0:-1}var cs=e=>"_"===e[0]||"$stable"===e,ds=e=>fn(e)?e.map($s):[$s(e)],hs=(e,t,n)=>{if(t._n)return t;var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:no;if(!t)return e;if(e._n)return e;var n=function(){n._d&&Os(-1);var r,i=io(t);try{r=e(...arguments)}finally{io(i),n._d&&Os(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}((function(){return ds(t(...arguments))}),n);return r._c=!1,r},fs=(e,t,n)=>{var r=e._ctx,i=function(){if(cs(a))return"continue";var n=e[a];if(vn(n))t[a]=hs(0,n,r);else if(null!=n){var i=ds(n);t[a]=()=>i}};for(var a in e)i()},ps=(e,t)=>{var n=ds(t);e.slots.default=()=>n},vs=(e,t)=>{if(32&e.vnode.shapeFlag){var n=t._;n?(e.slots=_a(t),Bn(t,"_",n)):fs(t,e.slots={})}else e.slots={},t&&ps(e,t);Bn(e.slots,As,1)};function gs(){return{app:null,config:{isNativeTag:an,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}}var ms=0;function _s(e,t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;vn(n)||(n=Object.assign({},n)),null==r||_n(r)||(r=null);var i=gs(),a=new Set,o=!1,s=i.app={_uid:ms++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:ll,get config(){return i.config},set config(e){},use(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return a.has(e)||(e&&vn(e.install)?(a.add(e),e.install(s,...n)):vn(e)&&(a.add(e),e(s,...n))),s},mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),s),component:(e,t)=>t?(i.components[e]=t,s):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,s):i.directives[e],mount(a,l,u){if(!o){var c=Ps(n,r);return c.appContext=i,l&&t?t(c,a):e(c,a,u),o=!0,s._container=a,a.__vue_app__=s,nl(c.component)||c.component.proxy}},unmount(){o&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,s)};return s}}function ys(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(fn(e))e.forEach(((e,a)=>ys(e,t&&(fn(t)?t[a]:t),n,r,i)));else if(!bo(r)||i){var a=4&r.shapeFlag?nl(r.component)||r.component.proxy:r.el,o=i?null:a,{i:s,r:l}=e,u=t&&t.r,c=s.refs===tn?s.refs={}:s.refs,d=s.setupState;if(null!=u&&u!==l&&(gn(u)?(c[u]=null,hn(d,u)&&(d[u]=null)):ka(u)&&(u.value=null)),vn(l))Na(l,s,12,[o,c]);else{var h=gn(l),f=ka(l);if(h||f){var p=()=>{if(e.f){var t=h?hn(d,l)?d[l]:c[l]:l.value;i?fn(t)&&cn(t,a):fn(t)?t.includes(a)||t.push(a):h?(c[l]=[a],hn(d,l)&&(d[l]=c[l])):(l.value=[a],e.k&&(c[e.k]=l.value))}else h?(c[l]=o,hn(d,l)&&(d[l]=o)):f&&(l.value=o,e.k&&(c[e.k]=o))};o?(p.id=-1,bs(p,n)):p()}}}}var bs=function(e,t){var n;t&&t.pendingBranch?fn(e)?t.effects.push(...e):t.effects.push(e):(fn(n=e)?$a.push(...n):ja&&ja.includes(n,n.allowRecurse?Wa+1:Wa)||$a.push(n),Ya())};function ws(e){return function(e,t){(Jt||(Jt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:{})).__VUE__=!0;var n,r,{insert:i,remove:a,patchProp:o,createElement:s,createText:l,createComment:u,setText:c,setElementText:d,parentNode:h,nextSibling:f,setScopeId:p=rn,insertStaticContent:v}=e,g=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:!!t.dynamicChildren;if(e!==t){e&&!Ls(e,t)&&(r=H(e),F(e,i,a,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);var{type:u,ref:c,shapeFlag:d}=t;switch(u){case Es:m(e,t,n,r);break;case Cs:_(e,t,n,r);break;case Ms:null==e&&y(t,n,r,o);break;case Ts:O(e,t,n,r,i,a,o,s,l);break;default:1&d?x(e,t,n,r,i,a,o,s,l):6&d?I(e,t,n,r,i,a,o,s,l):(64&d||128&d)&&u.process(e,t,n,r,i,a,o,s,l,q)}null!=c&&i&&ys(c,e&&e.ref,a,t||e,!t)}},m=(e,t,n,r)=>{if(null==e)i(t.el=l(t.children),n,r);else{var a=t.el=e.el;t.children!==e.children&&c(a,t.children)}},_=(e,t,n,r)=>{null==e?i(t.el=u(t.children||""),n,r):t.el=e.el},y=(e,t,n,r)=>{[e.el,e.anchor]=v(e.children,t,n,r,e.el,e.anchor)},b=(e,t,n)=>{for(var r,{el:a,anchor:o}=e;a&&a!==o;)r=f(a),i(a,t,n),a=r;i(o,t,n)},w=e=>{for(var t,{el:n,anchor:r}=e;n&&n!==r;)t=f(n),a(n),n=t;a(r)},x=(e,t,n,r,i,a,o,s,l)=>{o=o||"svg"===t.type,null==e?S(t,n,r,i,a,o,s,l):E(e,t,i,a,o,s,l)},S=(e,t,n,r,a,l,u,c)=>{var h,f,{type:p,props:v,shapeFlag:g,transition:m,dirs:_}=e;if(h=e.el=s(e.type,l,v&&v.is,v),8&g?d(h,e.children):16&g&&T(e.children,h,null,r,a,l&&"foreignObject"!==p,u,c),_&&Fo(e,null,r,"created"),v){for(var y in v)"value"===y||kn(y)||o(h,y,null,v[y],l,e.children,r,a,V);"value"in v&&o(h,"value",null,v.value),(f=v.onVnodeBeforeMount)&&Hs(f,r,e)}k(h,e,e.scopeId,u,r),Object.defineProperty(h,"__vueParentComponent",{value:r,enumerable:!1}),_&&Fo(e,null,r,"beforeMount");var b=(!a||a&&!a.pendingBranch)&&m&&!m.persisted;b&&m.beforeEnter(h),i(h,t,n),((f=v&&v.onVnodeMounted)||b||_)&&bs((()=>{f&&Hs(f,r,e),b&&m.enter(h),_&&Fo(e,null,r,"mounted")}),a)},k=(e,t,n,r,i)=>{if(n&&p(e,n),r)for(var a=0;a<r.length;a++)p(e,r[a]);if(i&&t===i.subTree){var o=i.vnode;k(e,o,o.scopeId,o.slotScopeIds,i.parent)}},T=function(e,t,n,r,i,a,o,s){for(var l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0;l<e.length;l++){var u=e[l]=s?js(e[l]):$s(e[l]);g(null,u,t,n,r,i,a,o,s)}},E=(e,t,n,r,i,a,s)=>{var l=t.el=e.el,{patchFlag:u,dynamicChildren:c,dirs:h}=t;u|=16&e.patchFlag;var f,p=e.props||tn,v=t.props||tn;n&&xs(n,!1),(f=v.onVnodeBeforeUpdate)&&Hs(f,n,t,e),h&&Fo(t,e,n,"beforeUpdate"),n&&xs(n,!0);var g=i&&"foreignObject"!==t.type;if(c?C(e.dynamicChildren,c,l,n,r,g,a):s||R(e,t,l,null,n,r,g,a,!1),u>0){if(16&u)M(l,t,p,v,n,r,i);else if(2&u&&p.class!==v.class&&o(l,"class",null,v.class,i),4&u&&o(l,"style",p.style,v.style,i),8&u)for(var m=t.dynamicProps,_=0;_<m.length;_++){var y=m[_],b=p[y],w=v[y];w===b&&"value"!==y||o(l,y,b,w,i,e.children,n,r,V)}1&u&&e.children!==t.children&&d(l,t.children)}else s||null!=c||M(l,t,p,v,n,r,i);((f=v.onVnodeUpdated)||h)&&bs((()=>{f&&Hs(f,n,t,e),h&&Fo(t,e,n,"updated")}),r)},C=(e,t,n,r,i,a,o)=>{for(var s=0;s<t.length;s++){var l=e[s],u=t[s],c=l.el&&(l.type===Ts||!Ls(l,u)||70&l.shapeFlag)?h(l.el):n;g(l,u,c,null,r,i,a,o,!0)}},M=(e,t,n,r,i,a,s)=>{if(n!==r){if(n!==tn)for(var l in n)kn(l)||l in r||o(e,l,n[l],null,s,t.children,i,a,V);for(var u in r)if(!kn(u)){var c=r[u],d=n[u];c!==d&&"value"!==u&&o(e,u,d,c,s,t.children,i,a,V)}"value"in r&&o(e,"value",n.value,r.value)}},O=(e,t,n,r,a,o,s,u,c)=>{var d=t.el=e?e.el:l(""),h=t.anchor=e?e.anchor:l(""),{patchFlag:f,dynamicChildren:p,slotScopeIds:v}=t;v&&(u=u?u.concat(v):v),null==e?(i(d,n,r),i(h,n,r),T(t.children,n,h,a,o,s,u,c)):f>0&&64&f&&p&&e.dynamicChildren?(C(e.dynamicChildren,p,n,a,o,s,u),(null!=t.key||a&&t===a.subTree)&&Ss(e,t,!0)):R(e,t,n,h,a,o,s,u,c)},I=(e,t,n,r,i,a,o,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?i.ctx.activate(t,n,r,o,l):L(t,n,r,i,a,o,l):A(e,t,l)},L=(e,t,n,r,i,a,o)=>{var s=e.component=function(e,t,n){var r=e.type,i=(t?t.appContext:e.appContext)||Us,a={uid:qs++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new ai(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:as(r,i),emitsOptions:eo(r,i),emit:null,emitted:null,propsDefaults:tn,inheritAttrs:r.inheritAttrs,ctx:tn,data:tn,props:tn,attrs:tn,slots:tn,refs:tn,setupState:tn,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};a.ctx={_:a},a.root=t?t.root:a,a.emit=Qa.bind(null,a),e.ce&&e.ce(a);return a}(e,r,i);if(wo(e)&&(s.ctx.renderer=q),function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Js=t;var{props:n,children:r}=e.vnode,i=Ks(e);ns(e,n,i,t),vs(e,r);var a=i?Qs(e,t):void 0;Js=!1}(s),s.asyncDep){if(i&&i.registerDep(s,N),!e.el){var l=s.subTree=Ps(Cs);_(null,l,t,n)}}else N(s,e,t,n,i,a,o)},A=(e,t,n)=>{var r,i,a=t.component=e.component;if(function(e,t,n){var{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!i&&!s||s&&s.$stable)||r!==o&&(r?!o||lo(r,o,u):!!o);if(1024&l)return!0;if(16&l)return r?lo(r,o,u):!!o;if(8&l)for(var c=t.dynamicProps,d=0;d<c.length;d++){var h=c[d];if(o[h]!==r[h]&&!to(u,h))return!0}return!1}(e,t,n)){if(a.asyncDep&&!a.asyncResolved)return void B(a,t,n);a.next=t,r=a.update,(i=Da.indexOf(r))>Fa&&Da.splice(i,1),a.update()}else t.el=e.el,a.vnode=t},N=(e,t,n,i,a,o,s)=>{var l=()=>{if(e.isMounted){var l,{next:u,bu:c,u:d,parent:f,vnode:p}=e,v=u;xs(e,!1),u?(u.el=p.el,B(e,u,s)):u=p,c&&Nn(c),(l=u.props&&u.props.onVnodeBeforeUpdate)&&Hs(l,f,u,p),xs(e,!0);var m=ao(e),_=e.subTree;e.subTree=m,g(_,m,h(_.el),H(_),e,a,o),u.el=m.el,null===v&&function(e,t){for(var{vnode:n,parent:r}=e;r&&r.subTree===n;)(n=r.vnode).el=t,r=r.parent}(e,m.el),d&&bs(d,a),(l=u.props&&u.props.onVnodeUpdated)&&bs((()=>Hs(l,f,u,p)),a)}else{var y,{el:b,props:w}=t,{bm:x,m:S,parent:k}=e,T=bo(t);if(xs(e,!1),x&&Nn(x),!T&&(y=w&&w.onVnodeBeforeMount)&&Hs(y,k,t),xs(e,!0),b&&r){var E=()=>{e.subTree=ao(e),r(b,e.subTree,e,a,null)};T?t.type.__asyncLoader().then((()=>!e.isUnmounted&&E())):E()}else{var C=e.subTree=ao(e);g(null,C,n,i,e,a,o),t.el=C.el}if(S&&bs(S,a),!T&&(y=w&&w.onVnodeMounted)){var M=t;bs((()=>Hs(y,k,M)),a)}(256&t.shapeFlag||k&&bo(k.vnode)&&256&k.vnode.shapeFlag)&&e.a&&bs(e.a,a),e.isMounted=!0,t=n=i=null}},u=e.effect=new vi(l,(()=>qa(c)),e.scope),c=e.update=()=>u.run();c.id=e.uid,xs(e,!0),c()},B=(e,t,n)=>{t.component=e;var r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){var{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=_a(i),[l]=e.propsOptions,u=!1;if(!(r||o>0)||16&o){var c;for(var d in rs(e,t,i,a)&&(u=!0),s)t&&(hn(t,d)||(c=On(d))!==d&&hn(t,c))||(l?!n||void 0===n[d]&&void 0===n[c]||(i[d]=is(l,s,d,void 0,e,!0)):delete i[d]);if(a!==s)for(var h in a)t&&hn(t,h)||(delete a[h],u=!0)}else if(8&o)for(var f=e.vnode.dynamicProps,p=0;p<f.length;p++){var v=f[p];if(!to(e.emitsOptions,v)){var g=t[v];if(l)if(hn(a,v))g!==a[v]&&(a[v]=g,u=!0);else{var m=Cn(v);i[m]=is(l,s,m,g,e,!1)}else g!==a[v]&&(a[v]=g,u=!0)}}u&&Si(e,"set","$attrs")}(e,t.props,r,n),((e,t,n)=>{var{vnode:r,slots:i}=e,a=!0,o=tn;if(32&r.shapeFlag){var s=t._;s?n&&1===s?a=!1:(un(i,t),n||1!==s||delete i._):(a=!t.$stable,fs(t,i)),o=t}else t&&(ps(e,t),o={default:1});if(a)for(var l in i)cs(l)||l in o||delete i[l]})(e,t.children,n),yi(),Xa(),bi()},R=function(e,t,n,r,i,a,o,s){var l=arguments.length>8&&void 0!==arguments[8]&&arguments[8],u=e&&e.children,c=e?e.shapeFlag:0,h=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void z(u,h,n,r,i,a,o,s,l);if(256&f)return void P(u,h,n,r,i,a,o,s,l)}8&p?(16&c&&V(u,i,a),h!==u&&d(n,h)):16&c?16&p?z(u,h,n,r,i,a,o,s,l):V(u,i,a,!0):(8&c&&d(n,""),16&p&&T(h,n,r,i,a,o,s,l))},P=(e,t,n,r,i,a,o,s,l)=>{t=t||nn;var u,c=(e=e||nn).length,d=t.length,h=Math.min(c,d);for(u=0;u<h;u++){var f=t[u]=l?js(t[u]):$s(t[u]);g(e[u],f,n,null,i,a,o,s,l)}c>d?V(e,i,a,!0,!1,h):T(t,n,r,i,a,o,s,l,h)},z=(e,t,n,r,i,a,o,s,l)=>{for(var u=0,c=t.length,d=e.length-1,h=c-1;u<=d&&u<=h;){var f=e[u],p=t[u]=l?js(t[u]):$s(t[u]);if(!Ls(f,p))break;g(f,p,n,null,i,a,o,s,l),u++}for(;u<=d&&u<=h;){var v=e[d],m=t[h]=l?js(t[h]):$s(t[h]);if(!Ls(v,m))break;g(v,m,n,null,i,a,o,s,l),d--,h--}if(u>d){if(u<=h)for(var _=h+1,y=_<c?t[_].el:r;u<=h;)g(null,t[u]=l?js(t[u]):$s(t[u]),n,y,i,a,o,s,l),u++}else if(u>h)for(;u<=d;)F(e[u],i,a,!0),u++;else{var b,w=u,x=u,S=new Map;for(u=x;u<=h;u++){var k=t[u]=l?js(t[u]):$s(t[u]);null!=k.key&&S.set(k.key,u)}var T=0,E=h-x+1,C=!1,M=0,O=new Array(E);for(u=0;u<E;u++)O[u]=0;for(u=w;u<=d;u++){var I=e[u];if(T>=E)F(I,i,a,!0);else{var L=void 0;if(null!=I.key)L=S.get(I.key);else for(b=x;b<=h;b++)if(0===O[b-x]&&Ls(I,t[b])){L=b;break}void 0===L?F(I,i,a,!0):(O[L-x]=u+1,L>=M?M=L:C=!0,g(I,t[L],n,null,i,a,o,s,l),T++)}}var A=C?function(e){var t,n,r,i,a,o=e.slice(),s=[0],l=e.length;for(t=0;t<l;t++){var u=e[t];if(0!==u){if(e[n=s[s.length-1]]<u){o[t]=n,s.push(t);continue}for(r=0,i=s.length-1;r<i;)e[s[a=r+i>>1]]<u?r=a+1:i=a;u<e[s[r]]&&(r>0&&(o[t]=s[r-1]),s[r]=t)}}r=s.length,i=s[r-1];for(;r-- >0;)s[r]=i,i=o[i];return s}(O):nn;for(b=A.length-1,u=E-1;u>=0;u--){var N=x+u,B=t[N],R=N+1<c?t[N+1].el:r;0===O[u]?g(null,B,n,R,i,a,o,s,l):C&&(b<0||u!==A[b]?D(B,n,R,2):b--)}}},D=function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,{el:o,type:s,transition:l,children:u,shapeFlag:c}=e;if(6&c)D(e.component.subTree,t,n,r);else if(128&c)e.suspense.move(t,n,r);else if(64&c)s.move(e,t,n,q);else if(s!==Ts){if(s!==Ms)if(2!==r&&1&c&&l)if(0===r)l.beforeEnter(o),i(o,t,n),bs((()=>l.enter(o)),a);else{var{leave:d,delayLeave:h,afterLeave:f}=l,p=()=>i(o,t,n),v=()=>{d(o,(()=>{p(),f&&f()}))};h?h(o,p,v):v()}else i(o,t,n);else b(e,t,n)}else{i(o,t,n);for(var g=0;g<u.length;g++)D(u[g],t,n,r);i(e.anchor,t,n)}},F=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],{type:a,props:o,ref:s,children:l,dynamicChildren:u,shapeFlag:c,patchFlag:d,dirs:h}=e;if(null!=s&&ys(s,null,n,e,!0),256&c)t.ctx.deactivate(e);else{var f,p=1&c&&h,v=!bo(e);if(v&&(f=o&&o.onVnodeBeforeUnmount)&&Hs(f,t,e),6&c)W(e.component,n,r);else{if(128&c)return void e.suspense.unmount(n,r);p&&Fo(e,null,t,"beforeUnmount"),64&c?e.type.remove(e,t,n,i,q,r):u&&(a!==Ts||d>0&&64&d)?V(u,t,n,!1,!0):(a===Ts&&384&d||!i&&16&c)&&V(l,t,n),r&&$(e)}(v&&(f=o&&o.onVnodeUnmounted)||p)&&bs((()=>{f&&Hs(f,t,e),p&&Fo(e,null,t,"unmounted")}),n)}},$=e=>{var{type:t,el:n,anchor:r,transition:i}=e;if(t!==Ts)if(t!==Ms){var o=()=>{a(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){var{leave:s,delayLeave:l}=i,u=()=>s(n,o);l?l(e.el,o,u):u()}else o()}else w(e);else j(n,r)},j=(e,t)=>{for(var n;e!==t;)n=f(e),a(e),e=n;a(t)},W=(e,t,n)=>{var{bum:r,scope:i,update:a,subTree:o,um:s}=e;r&&Nn(r),i.stop(),a&&(a.active=!1,F(o,e,t,n)),s&&bs(s,t),bs((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},V=function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;a<e.length;a++)F(e[a],t,n,r,i)},H=e=>6&e.shapeFlag?H(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),U=(e,t,n)=>{if(null==e)t._vnode&&F(t._vnode,null,null,!0);else{var r=t.__vueParent;g(t._vnode||null,e,t,null,r,null,n)}Xa(),t._vnode=e},q={p:g,um:F,m:D,r:$,mt:L,mc:T,pc:R,pbc:C,n:H,o:e};t&&([n,r]=t(q));return{render:U,hydrate:n,createApp:_s(U,n)}}(e)}function xs(e,t){var{effect:n,update:r}=e;n.allowRecurse=r.allowRecurse=t}function Ss(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.children,i=t.children;if(fn(r)&&fn(i))for(var a=0;a<r.length;a++){var o=r[a],s=i[a];1&s.shapeFlag&&!s.dynamicChildren&&((s.patchFlag<=0||32===s.patchFlag)&&((s=i[a]=js(i[a])).el=o.el),n||Ss(o,s)),s.type===Es&&(s.el=o.el)}}var ks=e=>e.__isTeleport,Ts=Symbol(void 0),Es=Symbol(void 0),Cs=Symbol(void 0),Ms=Symbol(void 0);function Os(e){e}function Is(e){return!!e&&!0===e.__v_isVNode}function Ls(e,t){return e.type===t.type&&e.key===t.key}var As="__vInternal",Ns=e=>{var{key:t}=e;return null!=t?t:null},Bs=e=>{var{ref:t,ref_key:n,ref_for:r}=e;return null!=t?gn(t)||ka(t)||vn(t)?{i:no,r:t,k:n,f:!!r}:t:null};function Rs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e===Ts?0:1,o=arguments.length>7&&void 0!==arguments[7]&&arguments[7],s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ns(t),ref:t&&Bs(t),scopeId:ro,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:no};return o?(Ws(s,n),128&a&&e.normalize(s)):n&&(s.shapeFlag|=gn(n)?8:16),s}var Ps=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];e&&e!==$o||(e=Cs);if(Is(e)){var o=Ds(e,t,!0);return n&&Ws(o,n),o.patchFlag|=-2,o}rl(e)&&(e=e.__vccOpts);if(t){t=zs(t);var{class:s,style:l}=t;s&&!gn(s)&&(t.class=Zt(s)),_n(l)&&(ma(l)&&!fn(l)&&(l=un({},l)),t.style=Ht(l))}var u=gn(e)?1:uo(e)?128:ks(e)?64:_n(e)?4:vn(e)?2:0;return Rs(e,t,n,r,i,u,a,!0)};function zs(e){return e?ma(e)||As in e?un({},e):e:null}function Ds(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{props:r,ref:i,patchFlag:a,children:o}=e,s=t?Vs(r||{},t):r,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Ns(s),ref:t&&t.ref?n&&i?fn(i)?i.concat(Bs(t)):[i,Bs(t)]:Bs(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ts?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ds(e.ssContent),ssFallback:e.ssFallback&&Ds(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx};return l}function Fs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Ps(Es,null,e,t)}function $s(e){return null==e||"boolean"==typeof e?Ps(Cs):fn(e)?Ps(Ts,null,e.slice()):"object"==typeof e?js(e):Ps(Es,null,String(e))}function js(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Ds(e)}function Ws(e,t){var n=0,{shapeFlag:r}=e;if(null==t)t=null;else if(fn(t))n=16;else if("object"==typeof t){if(65&r){var i=t.default;return void(i&&(i._c&&(i._d=!1),Ws(e,i()),i._c&&(i._d=!0)))}n=32;var a=t._;a||As in t?3===a&&no&&(1===no.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=no}else vn(t)?(t={default:t,_ctx:no},n=32):(t=String(t),64&r?(n=16,t=[Fs(t)]):n=8);e.children=t,e.shapeFlag|=n}function Vs(){for(var e={},t=0;t<arguments.length;t++){var n=t<0||arguments.length<=t?void 0:arguments[t];for(var r in n)if("class"===r)e.class!==n.class&&(e.class=Zt([e.class,n.class]));else if("style"===r)e.style=Ht([e.style,n.style]);else if(sn(r)){var i=e[r],a=n[r];!a||i===a||fn(i)&&i.includes(a)||(e[r]=i?[].concat(i,a):a)}else""!==r&&(e[r]=n[r])}return e}function Hs(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;Ba(e,t,7,[n,r])}var Us=gs(),qs=0;var Ys=null,Xs=()=>Ys||no,Zs=e=>{Ys=e,e.scope.on()},Gs=()=>{Ys&&Ys.scope.off(),Ys=null};function Ks(e){return 4&e.vnode.shapeFlag}var Js=!1;function Qs(e,t){var n=e.type;e.accessCache=Object.create(null),e.proxy=ya(new Proxy(e.ctx,Ho));var{setup:r}=n;if(r){var i=e.setupContext=r.length>1?function(e){var t,n=t=>{e.exposed=t||{}};return{get attrs(){return t||(t=function(e){return new Proxy(e.attrs,{get:(t,n)=>(wi(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:n}}(e):null;Zs(e),yi();var a=Na(r,e,0,[e.props,i]);if(bi(),Gs(),yn(a)){if(a.then(Gs,Gs),t)return a.then((n=>{el(e,n,t)})).catch((t=>{Ra(t,e,0)}));e.asyncDep=a}else el(e,a,t)}else tl(e,t)}function el(e,t,n){vn(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_n(t)&&(e.setupState=La(t)),tl(e,n)}function tl(e,t,n){var r=e.type;e.render||(e.render=r.render||rn);Zs(e),yi(),qo(e),bi(),Gs()}function nl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(La(ya(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Wo?Wo[n](e):void 0,has:(e,t)=>t in e||t in Wo}))}function rl(e){return vn(e)&&"__vccOpts"in e}var il=(e,t)=>function(e,t){var n,r,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=vn(e);return a?(n=e,r=rn):(n=e.get,r=e.set),new Aa(n,r,a||!r,i)}(e,t,Js);function al(e,t,n){var r=arguments.length;return 2===r?_n(t)&&!fn(t)?Is(t)?Ps(e,null,[t]):Ps(e,t):Ps(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Is(n)&&(n=[n]),Ps(e,t,n))}var ol=Symbol(""),sl=()=>ho(ol),ll="3.2.45",ul="undefined"!=typeof document?document:null,cl=ul&&ul.createElement("template"),dl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{var t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{var i=t?ul.createElementNS("http://www.w3.org/2000/svg",e):ul.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:e=>ul.createTextNode(e),createComment:e=>ul.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ul.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,a){var o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==a&&(i=i.nextSibling););else{cl.innerHTML=r?"<svg>".concat(e,"</svg>"):e;var s=cl.content;if(r){for(var l=s.firstChild;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function hl(e,t,n){var r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function fl(e,t,n){var r=e.style,i=gn(n);if(n&&!i){for(var a in n)vl(r,a,n[a]);if(t&&!gn(t))for(var o in t)null==n[o]&&vl(r,o,"")}else{var s=r.display;i?t!==n&&(r.cssText=normalizeStyleValue(n)):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}var pl=/\s*!important$/;function vl(e,t,n){if(fn(n))n.forEach((n=>vl(e,t,n)));else if(null==n&&(n=""),n=normalizeStyleValue(n),t.startsWith("--"))e.setProperty(t,n);else{var r=normalizeStyleName(e,t);pl.test(n)?e.setProperty(On(r),n.replace(pl,""),"important"):e[r]=n}}var gl="http://www.w3.org/1999/xlink";function ml(e,t,n,r,i){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(gl,t.slice(6,t.length)):e.setAttributeNS(gl,t,n);else{var a=Gt(t);null==n||a&&!Kt(n)?e.removeAttribute(t):e.setAttribute(t,a?"":n)}}function _l(e,t,n,r,i,a,o){if("innerHTML"===t||"textContent"===t)return r&&o(r,i,a),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;var s=null==n?"":n;return e.value===s&&"OPTION"!==e.tagName||(e.value=s),void(null==n&&e.removeAttribute(t))}var l=!1;if(""===n||null==n){var u=typeof e[t];"boolean"===u?n=Kt(n):null==n&&"string"===u?(n="",l=!0):"number"===u&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}function yl(e,t,n,r){e.addEventListener(t,n,r)}function bl(e,t,n,r){e.removeEventListener(t,n,r)}function wl(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=e._vei||(e._vei={}),o=a[t];if(r&&o)o.value=r;else{var[s,l]=Sl(t);if(r){var u=a[t]=El(r,i);yl(e,s,u,l)}else o&&(bl(e,s,o,l),a[t]=void 0)}}var xl=/(?:Once|Passive|Capture)$/;function Sl(e){var t,n;if(xl.test(e))for(t={};n=e.match(xl);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0;return[":"===e[2]?e.slice(3):On(e.slice(2)),t]}var kl=0,Tl=Promise.resolve();function El(e,t){var n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Ba(function(e,t){if(fn(t)){var n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=kl||(Tl.then((()=>kl=0)),kl=Date.now()),n}var Cl=/^on[a-z]/;function Ml(e,t,n,r){return r?"innerHTML"===t||"textContent"===t||!!(t in e&&Cl.test(t)&&vn(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!Cl.test(t)||!gn(n))&&t in e))))}var Ol=["ctrl","shift","alt","meta"],Il={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)=>Ol.some((n=>e["".concat(n,"Key")]&&!t.includes(n)))},Ll=(e,t)=>function(n){for(var r=0;r<t.length;r++){var i=Il[t[r]];if(i&&i(n,t))return}for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];return e(n,...o)},Al={beforeMount(e,t,n){var{value:r}=t,{transition:i}=n;e._vod="none"===e.style.display?"":e.style.display,i&&r?i.beforeEnter(e):Nl(e,r)},mounted(e,t,n){var{value:r}=t,{transition:i}=n;i&&r&&i.enter(e)},updated(e,t,n){var{value:r,oldValue:i}=t,{transition:a}=n;!r!=!i&&(a?r?(a.beforeEnter(e),Nl(e,!0),a.enter(e)):a.leave(e,(()=>{Nl(e,!1)})):Nl(e,r))},beforeUnmount(e,t){var{value:n}=t;Nl(e,n)}};function Nl(e,t){e.style.display=t?e._vod:"none"}var Bl,Rl=un({patchProp:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0;"class"===t?hl(e,r,i):"style"===t?fl(e,n,r):sn(t)?ln(t)||wl(e,t,n,r,o):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):Ml(e,t,r,i))?_l(e,t,r,a,o,s,l):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),ml(e,t,r,i))}},dl);function Pl(){return Bl||(Bl=ws(Rl))}var zl=function(){var e=Pl().createApp(...arguments),{mount:t}=e;return e.mount=n=>{var r=Dl(n);if(r){var i=e._component;vn(i)||i.render||i.template||(i.template=r.innerHTML),r.innerHTML="";var a=t(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a}},e};function Dl(e){return gn(e)?document.querySelector(e):e}var Fl,$l,jl=["top","left","right","bottom"],Wl={};function Vl(){return $l="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 Hl(){if($l="string"==typeof $l?$l:Vl()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(s){}var r=document.createElement("div");i(r,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),jl.forEach((function(e){o(r,e)})),document.body.appendChild(r),a(),Fl=!0}else jl.forEach((function(e){Wl[e]=0}));function i(e,t){var n=e.style;Object.keys(t).forEach((function(e){var r=t[e];n[e]=r}))}function a(t){t?e.push(t):e.forEach((function(e){e()}))}function o(e,n){var r=document.createElement("div"),o=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),u={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:$l+"(safe-area-inset-"+n+")"};i(r,u),i(o,u),i(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),i(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),r.appendChild(s),o.appendChild(l),e.appendChild(r),e.appendChild(o),a((function(){r.scrollTop=o.scrollTop=1e4;var e=r.scrollTop,i=o.scrollTop;function a(){this.scrollTop!==(this===r?e:i)&&(r.scrollTop=o.scrollTop=1e4,e=r.scrollTop,i=o.scrollTop,function(e){ql.length||setTimeout((function(){var e={};ql.forEach((function(t){e[t]=Wl[t]})),ql.length=0,Yl.forEach((function(t){t(e)}))}),0);ql.push(e)}(n))}r.addEventListener("scroll",a,t),o.addEventListener("scroll",a,t)}));var c=getComputedStyle(r);Object.defineProperty(Wl,n,{configurable:!0,get:function(){return parseFloat(c.paddingBottom)}})}}function Ul(e){return Fl||Hl(),Wl[e]}var ql=[];var Yl=[];var Xl={get support(){return 0!=("string"==typeof $l?$l:Vl()).length},get top(){return Ul("top")},get left(){return Ul("left")},get right(){return Ul("right")},get bottom(){return Ul("bottom")},onChange:function(e){Vl()&&(Fl||Hl(),"function"==typeof e&&Yl.push(e))},offChange:function(e){var t=Yl.indexOf(e);t>=0&&Yl.splice(t,1)}},Zl=Ll((()=>{}),["prevent"]);function Gl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Kl(){var e=Gl(document.documentElement.style,"--window-top");return e?e+Xl.top:0}function Jl(e){return Symbol(e)}function Ql(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function eu(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return tu(e);if(gn(e)){var n=parseInt(e)||0;return Ql(e)?uni.upx2px(n):n}return e}function tu(e){return Ql(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>uni.upx2px(parseFloat(t))+"px")):e}var nu,ru="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";function iu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#000",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:27;return Ps("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Ps("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function au(){return ou()}function ou(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function su(e){e.preventDefault()}var lu,uu,cu,du,hu,fu=0;function pu(e){var{onPageScroll:t,onReachBottom:n,onReachBottomDistance:r}=e,i=!1,a=!1,o=!0,s=()=>{function e(){if((()=>{var{scrollHeight:e}=document.documentElement,t=window.innerHeight,n=window.scrollY,i=n>0&&e>t&&n+t+r>=e,o=Math.abs(e-fu)>r;return!i||a&&!o?(!i&&a&&(a=!1),!1):(fu=e,a=!0,!0)})())return n&&n(),o=!1,setTimeout((function(){o=!0}),350),!0}t&&t(window.pageYOffset),n&&o&&(e()||(nu=setTimeout(e,300))),i=!1};return function(){clearTimeout(nu),i||requestAnimationFrame(s),i=!0}}function vu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return vu(e,t.slice(2));for(var n=t.split("/"),r=n.length,i=0;i<r&&".."===n[i];i++);n.splice(0,i),t=n.join("/");var a=e.length>0?e.split("/"):[];return a.splice(a.length-i-1,i+1),Kn(a.concat(n).join("/"))}function gu(){return"object"==typeof window&&"object"==typeof navigator&&"object"==typeof document?"webview":"v8"}function mu(){return lu.webview.currentWebview().id}var _u={};function yu(e){var t=e.data&&e.data.__message;if(t&&t.__page){var n=t.__page,r=_u[n];r&&r(t),t.keep||delete _u[n]}}class bu{constructor(e){this.webview=e}sendMessage(e){var t=JSON.parse(JSON.stringify({__message:{data:e}})),n=this.webview.id;cu?new cu(n).postMessage(t):lu.webview.postMessageToUniNView&&lu.webview.postMessageToUniNView(t,n)}close(){this.webview.close()}}function wu(e){var{context:t={},url:n,data:r={},style:i={},onMessage:a,onClose:o}=e;lu=t.plus||plus,uu=t.weex||("object"==typeof weex?weex:null),cu=t.BroadcastChannel||("object"==typeof BroadcastChannel?BroadcastChannel:null);var s="page".concat(Date.now());!1!==(i=un({},i)).titleNView&&"none"!==i.titleNView&&(i.titleNView=un({autoBackButton:!0,titleSize:"17px"},i.titleNView));var l={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"/".concat(n,".js"),defaultFontSize:16,viewport:lu.screen.resolutionWidth}};i=un(l,i);var u=lu.webview.create("",s,i,{extras:{from:mu(),runtime:gu(),data:r,useGlobalEvent:!cu}});return u.addEventListener("close",o),function(e,t){"v8"===gu()?cu?(du&&du.close(),(du=new cu(mu())).onmessage=yu):hu||(hu=uu.requireModule("globalEvent")).addEventListener("plusMessage",yu):window.__plusMessage=yu,_u[e]=t}(s,(e=>{vn(a)&&a(e.data),e.keep||u.close("auto")})),u.show(i.animationType,i.animationDuration),new bu(u)}class xu{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=e.$el,this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(this.$el&&e){var t=Tu(this.$el.querySelector(e));if(t)return Su(t)}}selectAllComponents(e){if(!this.$el||!e)return[];for(var t=[],n=this.$el.querySelectorAll(e),r=0;r<n.length;r++){var i=Tu(n[r]);i&&t.push(Su(i))}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(){var{__wxsAddClass:e}=this.$el;e.length&&(this.$el.className=e.join(" "))}updateWxsStyle(){var{__wxsStyle:e}=this.$el;e&&this.$el.setAttribute("style",function(e){var t="";if(!e||gn(e))return t;for(var n in e){var r=e[n],i=n.startsWith("--")?n:On(n);(gn(r)||"number"==typeof r)&&(t+="".concat(i,":").concat(r,";"))}return t}(e))}setStyle(e){return this.$el&&e?(gn(e)&&(e=Xt(e)),xn(e)&&(this.$el.__wxsStyle=e,this.forceUpdate("style")),this):this}addClass(e){if(!this.$el||!e)return this;var 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;var{__wxsAddClass:t}=this.$el;if(t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var r=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===r.indexOf(e)&&(r.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){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.$vm[e];vn(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&UniViewJSBridge.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){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){var t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce(((e,n)=>(e[n]=t[n],e)),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Su(e){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new xu(e)),e.$el.__wxsComponentDescriptor}function ku(e,t){return Su(e)}function Tu(e){if(e)return Eu(e)}function Eu(e){return e.__wxsVm||(e.__wxsVm={ownerId:e.__ownerId,$el:e,$emit(){},$forceUpdate(){var t,n,{__wxsStyle:r,__wxsAddClass:i,__wxsRemoveClass:a,__wxsStyleChanged:o,__wxsClassChanged:s}=e;o&&(e.__wxsStyleChanged=!1,r&&(n=()=>{Object.keys(r).forEach((t=>{e.style[t]=r[t]}))})),s&&(e.__wxsClassChanged=!1,t=()=>{a&&a.forEach((t=>{e.classList.remove(t)})),i&&i.forEach((t=>{e.classList.add(t)}))}),requestAnimationFrame((()=>{t&&t(),n&&n()}))}})}function Cu(e,t,n){var{currentTarget:r}=e;if(!(e instanceof Event&&r instanceof HTMLElement))return[e];var i=Ou(e,0!==r.tagName.indexOf("UNI-"));if("click"===e.type)!function(e,t){var{x:n,y:r}=t,i=Kl();e.detail={x:n,y:r-i},e.touches=e.changedTouches=[Iu(t,i)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch"))(e)){var a=Kl();i.touches=Lu(e.touches,a),i.changedTouches=Lu(e.changedTouches,a)}return[i]}function Mu(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}function Ou(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{type:n,timeStamp:r,target:i,currentTarget:a}=e,o={type:n,timeStamp:r,target:ar(t?i:Mu(i)),detail:{},currentTarget:ar(a)};return e._stopped&&(o._stopped=!0),e.type.startsWith("touch")&&(o.touches=e.touches,o.changedTouches=e.changedTouches),o}function Iu(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Lu(e,t){for(var n=[],r=0;r<e.length;r++){var{identifier:i,pageX:a,pageY:o,clientX:s,clientY:l,force:u}=e[r];n.push({identifier:i,pageX:a,pageY:o-t,clientX:s,clientY:l-t,force:u||0})}return n}var Au="vdSync",Nu="__uniapp__service",Bu="onWebviewReady",Ru=un(Xr,{publishHandler:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ou()+"";plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:e,data:t,pageId:n}},Nu)}});function Pu(e,t,n,r){if(r&&r.beforeInvoke){var i=r.beforeInvoke(t);if(gn(i))return i}var a=function(e,t){var n=e[0];if(t&&(xn(t.formatArgs)||!xn(n)))for(var r=t.formatArgs,i=Object.keys(r),a=0;a<i.length;a++){var o=i[a],s=r[o];if(vn(s)){var l=s(e[0][o],n);if(gn(l))return l}else hn(n,o)||(n[o]=s)}}(t,r);if(a)return a}function zu(e,t,n,r){return function(e,t,n,r){return function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var a=Pu(0,n,0,r);if(a)throw new Error(a);return t.apply(null,n)}}(0,t,0,r)}function Du(){if("undefined"!=typeof __SYSTEM_INFO__)return window.__SYSTEM_INFO__;var{resolutionWidth:e}=plus.screen.getCurrentSize()||{resolutionWidth:0};return{platform:(plus.os.name||"").toLowerCase(),pixelRatio:plus.screen.scale,windowWidth:Math.round(e)}}function Fu(e){if(0===e.indexOf("//"))return"https:"+e;if(Hn.test(e)||Un.test(e))return e;if(function(e){if(0===e.indexOf("_www")||0===e.indexOf("_doc")||0===e.indexOf("_documents")||0===e.indexOf("_downloads"))return!0;return!1}(e))return"file://"+$u(e);var t="file://"+$u("_www");if(0===e.indexOf("/"))return e.startsWith("/storage/")||e.startsWith("/sdcard/")||e.includes("/Containers/Data/Application/")?"file://"+e:t+e;if(0===e.indexOf("../")||0===e.indexOf("./")){if("string"==typeof __id__)return t+vu(Kn(__id__),e);var n=window.__PAGE_INFO__;if(n)return t+vu(Kn(n.route),e)}return e}var $u=function(e){var t=Object.create(null);return n=>t[n]||(t[n]=e(n))}((e=>plus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,"")));var ju=0;function Wu(e){return function(e){return new Promise((function(t,n){0===e.indexOf("http://")||0===e.indexOf("https://")?plus.downloader.createDownload(e,{filename:"".concat("_doc/uniapp_temp","/download/")},(function(e,r){200===r?t(e.filename):n(new Error("network fail"))})).start():t(e)}))}(e).then((function(e){var t,n=window;return n.webkit&&n.webkit.messageHandlers?(t=e,new Promise((function(e,n){function r(){var r=new plus.nativeObj.Bitmap("bitmap_".concat(Date.now(),"_").concat(Math.random(),"}"));r.load(t,(function(){e(r.toBase64Data()),r.clear()}),(function(e){r.clear(),n(e)}))}plus.io.resolveLocalFileSystemURL(t,(function(t){t.file((function(t){var n=new plus.io.FileReader;n.onload=function(t){e(t.target.result)},n.onerror=r,n.readAsDataURL(t)}),r)}),r)}))):plus.io.convertLocalFileSystemURL(e)}))}var Vu={};!function(e){var t="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var i in r)n(r,i)&&(e[i]=r[i])}}return e},e.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var r={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){var t,n,r,i,a,o;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(o=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)a=e[t],o.set(a,i),i+=a.length;return o}},i={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,r)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(t)}(Vu);var Hu={},Uu={},qu={},Yu=Vu;function Xu(e){for(var t=e.length;--t>=0;)e[t]=0}var Zu=256,Gu=286,Ku=30,Ju=15,Qu=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],ec=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],tc=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],nc=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],rc=new Array(576);Xu(rc);var ic=new Array(60);Xu(ic);var ac=new Array(512);Xu(ac);var oc=new Array(256);Xu(oc);var sc=new Array(29);Xu(sc);var lc,uc,cc,dc=new Array(Ku);function hc(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function fc(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function pc(e){return e<256?ac[e]:ac[256+(e>>>7)]}function vc(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function gc(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,vc(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function mc(e,t,n){gc(e,n[2*t],n[2*t+1])}function _c(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function yc(e,t,n){var r,i,a=new Array(16),o=0;for(r=1;r<=Ju;r++)a[r]=o=o+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=_c(a[s]++,s))}}function bc(e){var t;for(t=0;t<Gu;t++)e.dyn_ltree[2*t]=0;for(t=0;t<Ku;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function wc(e){e.bi_valid>8?vc(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function xc(e,t,n,r){var i=2*t,a=2*n;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function Sc(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&xc(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!xc(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function kc(e,t,n){var r,i,a,o,s=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===r?mc(e,i,t):(mc(e,(a=oc[i])+Zu+1,t),0!==(o=Qu[a])&&gc(e,i-=sc[a],o),mc(e,a=pc(--r),n),0!==(o=ec[a])&&gc(e,r-=dc[a],o))}while(s<e.last_lit);mc(e,256,t)}function Tc(e,t){var n,r,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<l;n++)0!==a[2*n]?(e.heap[++e.heap_len]=u=n,e.depth[n]=0):a[2*n+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=u,n=e.heap_len>>1;n>=1;n--)Sc(e,a,n);i=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Sc(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,Sc(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,a,o,s,l=t.dyn_tree,u=t.max_code,c=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,p=t.stat_desc.max_length,v=0;for(a=0;a<=Ju;a++)e.bl_count[a]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(a=l[2*l[2*(r=e.heap[n])+1]+1]+1)>p&&(a=p,v++),l[2*r+1]=a,r>u||(e.bl_count[a]++,o=0,r>=f&&(o=h[r-f]),s=l[2*r],e.opt_len+=s*(a+o),d&&(e.static_len+=s*(c[2*r+1]+o)));if(0!==v){do{for(a=p-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[p]--,v-=2}while(v>0);for(a=p;0!==a;a--)for(r=e.bl_count[a];0!==r;)(i=e.heap[--n])>u||(l[2*i+1]!==a&&(e.opt_len+=(a-l[2*i+1])*l[2*i],l[2*i+1]=a),r--)}}(e,t),yc(a,u,e.bl_count)}function Ec(e,t,n){var r,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=o,o=t[2*(r+1)+1],++s<l&&i===o||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,a=i,0===o?(l=138,u=3):i===o?(l=6,u=3):(l=7,u=4))}function Cc(e,t,n){var r,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),r=0;r<=n;r++)if(i=o,o=t[2*(r+1)+1],!(++s<l&&i===o)){if(s<u)do{mc(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==a&&(mc(e,i,e.bl_tree),s--),mc(e,16,e.bl_tree),gc(e,s-3,2)):s<=10?(mc(e,17,e.bl_tree),gc(e,s-3,3)):(mc(e,18,e.bl_tree),gc(e,s-11,7));s=0,a=i,0===o?(l=138,u=3):i===o?(l=6,u=3):(l=7,u=4)}}Xu(dc);var Mc=!1;function Oc(e,t,n,r){gc(e,0+(r?1:0),3),function(e,t,n,r){wc(e),r&&(vc(e,n),vc(e,~n)),Yu.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}qu._tr_init=function(e){Mc||(!function(){var e,t,n,r,i,a=new Array(16);for(n=0,r=0;r<28;r++)for(sc[r]=n,e=0;e<1<<Qu[r];e++)oc[n++]=r;for(oc[n-1]=r,i=0,r=0;r<16;r++)for(dc[r]=i,e=0;e<1<<ec[r];e++)ac[i++]=r;for(i>>=7;r<Ku;r++)for(dc[r]=i<<7,e=0;e<1<<ec[r]-7;e++)ac[256+i++]=r;for(t=0;t<=Ju;t++)a[t]=0;for(e=0;e<=143;)rc[2*e+1]=8,e++,a[8]++;for(;e<=255;)rc[2*e+1]=9,e++,a[9]++;for(;e<=279;)rc[2*e+1]=7,e++,a[7]++;for(;e<=287;)rc[2*e+1]=8,e++,a[8]++;for(yc(rc,287,a),e=0;e<Ku;e++)ic[2*e+1]=5,ic[2*e]=_c(e,5);lc=new hc(rc,Qu,257,Gu,Ju),uc=new hc(ic,ec,0,Ku,Ju),cc=new hc(new Array(0),tc,0,19,7)}(),Mc=!0),e.l_desc=new fc(e.dyn_ltree,lc),e.d_desc=new fc(e.dyn_dtree,uc),e.bl_desc=new fc(e.bl_tree,cc),e.bi_buf=0,e.bi_valid=0,bc(e)},qu._tr_stored_block=Oc,qu._tr_flush_block=function(e,t,n,r){var i,a,o=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<Zu;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),Tc(e,e.l_desc),Tc(e,e.d_desc),o=function(e){var t;for(Ec(e,e.dyn_ltree,e.l_desc.max_code),Ec(e,e.dyn_dtree,e.d_desc.max_code),Tc(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*nc[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=n+5,n+4<=i&&-1!==t?Oc(e,t,n,r):4===e.strategy||a===i?(gc(e,2+(r?1:0),3),kc(e,rc,ic)):(gc(e,4+(r?1:0),3),function(e,t,n,r){var i;for(gc(e,t-257,5),gc(e,n-1,5),gc(e,r-4,4),i=0;i<r;i++)gc(e,e.bl_tree[2*nc[i]+1],3);Cc(e,e.dyn_ltree,t-1),Cc(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),kc(e,e.dyn_ltree,e.dyn_dtree)),bc(e),r&&wc(e)},qu._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(oc[n]+Zu+1)]++,e.dyn_dtree[2*pc(t)]++),e.last_lit===e.lit_bufsize-1},qu._tr_align=function(e){gc(e,2,3),mc(e,256,rc),function(e){16===e.bi_valid?(vc(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)};var Ic=function(e,t,n,r){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;0!==n;){n-=o=n>2e3?2e3:n;do{a=a+(i=i+t[r++]|0)|0}while(--o);i%=65521,a%=65521}return i|a<<16|0};var Lc=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();var Ac,Nc=function(e,t,n,r){var i=Lc,a=r+n;e^=-1;for(var o=r;o<a;o++)e=e>>>8^i[255&(e^t[o])];return-1^e},Bc={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Rc=Vu,Pc=qu,zc=Ic,Dc=Nc,Fc=Bc,$c=-2,jc=258,Wc=262,Vc=103,Hc=113,Uc=666;function qc(e,t){return e.msg=Fc[t],t}function Yc(e){return(e<<1)-(e>4?9:0)}function Xc(e){for(var t=e.length;--t>=0;)e[t]=0}function Zc(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(Rc.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function Gc(e,t){Pc._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Zc(e.strm)}function Kc(e,t){e.pending_buf[e.pending++]=t}function Jc(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function Qc(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-Wc?e.strstart-(e.w_size-Wc):0,u=e.window,c=e.w_mask,d=e.prev,h=e.strstart+jc,f=u[a+o-1],p=u[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(n=t)+o]===p&&u[n+o-1]===f&&u[n]===u[a]&&u[++n]===u[a+1]){a+=2,n++;do{}while(u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&a<h);if(r=jc-(h-a),a=h-jc,r>o){if(e.match_start=t,o=r,r>=s)break;f=u[a+o-1],p=u[a+o]}}}while((t=d[t&c])>l&&0!=--i);return o<=e.lookahead?o:e.lookahead}function ed(e){var t,n,r,i,a,o,s,l,u,c,d=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=d+(d-Wc)){Rc.arraySet(e.window,e.window,d,d,0),e.match_start-=d,e.strstart-=d,e.block_start-=d,t=n=e.hash_size;do{r=e.head[--t],e.head[t]=r>=d?r-d:0}while(--n);t=n=d;do{r=e.prev[--t],e.prev[t]=r>=d?r-d:0}while(--n);i+=d}if(0===e.strm.avail_in)break;if(o=e.strm,s=e.window,l=e.strstart+e.lookahead,u=i,c=void 0,(c=o.avail_in)>u&&(c=u),n=0===c?0:(o.avail_in-=c,Rc.arraySet(s,o.input,o.next_in,c,l),1===o.state.wrap?o.adler=zc(o.adler,s,c,l):2===o.state.wrap&&(o.adler=Dc(o.adler,s,c,l)),o.next_in+=c,o.total_in+=c,c),e.lookahead+=n,e.lookahead+e.insert>=3)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+3-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<Wc&&0!==e.strm.avail_in)}function td(e,t){for(var n,r;;){if(e.lookahead<Wc){if(ed(e),e.lookahead<Wc&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-Wc&&(e.match_length=Qc(e,n)),e.match_length>=3)if(r=Pc._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=Pc._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(Gc(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(Gc(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Gc(e,!1),0===e.strm.avail_out)?1:2}function nd(e,t){for(var n,r,i;;){if(e.lookahead<Wc){if(ed(e),e.lookahead<Wc&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-Wc&&(e.match_length=Qc(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=Pc._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(Gc(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=Pc._tr_tally(e,0,e.window[e.strstart-1]))&&Gc(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=Pc._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(Gc(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Gc(e,!1),0===e.strm.avail_out)?1:2}function rd(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function id(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Rc.Buf16(1146),this.dyn_dtree=new Rc.Buf16(122),this.bl_tree=new Rc.Buf16(78),Xc(this.dyn_ltree),Xc(this.dyn_dtree),Xc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Rc.Buf16(16),this.heap=new Rc.Buf16(573),Xc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Rc.Buf16(573),Xc(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ad(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:Hc,e.adler=2===t.wrap?0:1,t.last_flush=0,Pc._tr_init(t),0):qc(e,$c)}function od(e){var t,n=ad(e);return 0===n&&((t=e.state).window_size=2*t.w_size,Xc(t.head),t.max_lazy_match=Ac[t.level].max_lazy,t.good_match=Ac[t.level].good_length,t.nice_match=Ac[t.level].nice_length,t.max_chain_length=Ac[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function sd(e,t,n,r,i,a){if(!e)return $c;var o=1;if(-1===t&&(t=6),r<0?(o=0,r=-r):r>15&&(o=2,r-=16),i<1||i>9||8!==n||r<8||r>15||t<0||t>9||a<0||a>4)return qc(e,$c);8===r&&(r=9);var s=new id;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Rc.Buf8(2*s.w_size),s.head=new Rc.Buf16(s.hash_size),s.prev=new Rc.Buf16(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Rc.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=n,od(e)}Ac=[new rd(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(ed(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,Gc(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-Wc&&(Gc(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Gc(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(Gc(e,!1),e.strm.avail_out),1)})),new rd(4,4,8,4,td),new rd(4,5,16,8,td),new rd(4,6,32,32,td),new rd(4,4,16,16,nd),new rd(8,16,32,32,nd),new rd(8,16,128,128,nd),new rd(8,32,128,256,nd),new rd(32,128,258,1024,nd),new rd(32,258,258,4096,nd)],Uu.deflateInit=function(e,t){return sd(e,t,8,15,8,0)},Uu.deflateInit2=sd,Uu.deflateReset=od,Uu.deflateResetKeep=ad,Uu.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?$c:(e.state.gzhead=t,0):$c},Uu.deflate=function(e,t){var n,r,i,a;if(!e||!e.state||t>5||t<0)return e?qc(e,$c):$c;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||r.status===Uc&&4!==t)return qc(e,0===e.avail_out?-5:$c);if(r.strm=e,n=r.last_flush,r.last_flush=t,42===r.status)if(2===r.wrap)e.adler=0,Kc(r,31),Kc(r,139),Kc(r,8),r.gzhead?(Kc(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Kc(r,255&r.gzhead.time),Kc(r,r.gzhead.time>>8&255),Kc(r,r.gzhead.time>>16&255),Kc(r,r.gzhead.time>>24&255),Kc(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Kc(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Kc(r,255&r.gzhead.extra.length),Kc(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=Dc(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Kc(r,0),Kc(r,0),Kc(r,0),Kc(r,0),Kc(r,0),Kc(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Kc(r,3),r.status=Hc);else{var o=8+(r.w_bits-8<<4)<<8;o|=(r.strategy>=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(o|=32),o+=31-o%31,r.status=Hc,Jc(r,o),0!==r.strstart&&(Jc(r,e.adler>>>16),Jc(r,65535&e.adler)),e.adler=1}if(69===r.status)if(r.gzhead.extra){for(i=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>i&&(e.adler=Dc(e.adler,r.pending_buf,r.pending-i,i)),Zc(e),i=r.pending,r.pending!==r.pending_buf_size));)Kc(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>i&&(e.adler=Dc(e.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=Dc(e.adler,r.pending_buf,r.pending-i,i)),Zc(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}a=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Kc(r,a)}while(0!==a);r.gzhead.hcrc&&r.pending>i&&(e.adler=Dc(e.adler,r.pending_buf,r.pending-i,i)),0===a&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=Dc(e.adler,r.pending_buf,r.pending-i,i)),Zc(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}a=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Kc(r,a)}while(0!==a);r.gzhead.hcrc&&r.pending>i&&(e.adler=Dc(e.adler,r.pending_buf,r.pending-i,i)),0===a&&(r.status=Vc)}else r.status=Vc;if(r.status===Vc&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&Zc(e),r.pending+2<=r.pending_buf_size&&(Kc(r,255&e.adler),Kc(r,e.adler>>8&255),e.adler=0,r.status=Hc)):r.status=Hc),0!==r.pending){if(Zc(e),0===e.avail_out)return r.last_flush=-1,0}else if(0===e.avail_in&&Yc(t)<=Yc(n)&&4!==t)return qc(e,-5);if(r.status===Uc&&0!==e.avail_in)return qc(e,-5);if(0!==e.avail_in||0!==r.lookahead||0!==t&&r.status!==Uc){var s=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(ed(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=Pc._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(Gc(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Gc(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Gc(e,!1),0===e.strm.avail_out)?1:2}(r,t):3===r.strategy?function(e,t){for(var n,r,i,a,o=e.window;;){if(e.lookahead<=jc){if(ed(e),e.lookahead<=jc&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=o[i=e.strstart-1])===o[++i]&&r===o[++i]&&r===o[++i]){a=e.strstart+jc;do{}while(r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&i<a);e.match_length=jc-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=Pc._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Pc._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(Gc(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Gc(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Gc(e,!1),0===e.strm.avail_out)?1:2}(r,t):Ac[r.level].func(r,t);if(3!==s&&4!==s||(r.status=Uc),1===s||3===s)return 0===e.avail_out&&(r.last_flush=-1),0;if(2===s&&(1===t?Pc._tr_align(r):5!==t&&(Pc._tr_stored_block(r,0,0,!1),3===t&&(Xc(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),Zc(e),0===e.avail_out))return r.last_flush=-1,0}return 4!==t?0:r.wrap<=0?1:(2===r.wrap?(Kc(r,255&e.adler),Kc(r,e.adler>>8&255),Kc(r,e.adler>>16&255),Kc(r,e.adler>>24&255),Kc(r,255&e.total_in),Kc(r,e.total_in>>8&255),Kc(r,e.total_in>>16&255),Kc(r,e.total_in>>24&255)):(Jc(r,e.adler>>>16),Jc(r,65535&e.adler)),Zc(e),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},Uu.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==Vc&&t!==Hc&&t!==Uc?qc(e,$c):(e.state=null,t===Hc?qc(e,-3):0):$c},Uu.deflateSetDictionary=function(e,t){var n,r,i,a,o,s,l,u,c=t.length;if(!e||!e.state)return $c;if(2===(a=(n=e.state).wrap)||1===a&&42!==n.status||n.lookahead)return $c;for(1===a&&(e.adler=zc(e.adler,t,c,0)),n.wrap=0,c>=n.w_size&&(0===a&&(Xc(n.head),n.strstart=0,n.block_start=0,n.insert=0),u=new Rc.Buf8(n.w_size),Rc.arraySet(u,t,c-n.w_size,n.w_size,0),t=u,c=n.w_size),o=e.avail_in,s=e.next_in,l=e.input,e.avail_in=c,e.next_in=0,e.input=t,ed(n);n.lookahead>=3;){r=n.strstart,i=n.lookahead-2;do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--i);n.strstart=r,n.lookahead=2,ed(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=s,e.input=l,e.avail_in=o,n.wrap=a,0},Uu.deflateInfo="pako deflate (from Nodeca project)";var ld={},ud=Vu,cd=!0,dd=!0;try{String.fromCharCode.apply(null,[0])}catch(Fm){cd=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(Fm){dd=!1}for(var hd=new ud.Buf8(256),fd=0;fd<256;fd++)hd[fd]=fd>=252?6:fd>=248?5:fd>=240?4:fd>=224?3:fd>=192?2:1;function pd(e,t){if(t<65534&&(e.subarray&&dd||!e.subarray&&cd))return String.fromCharCode.apply(null,ud.shrinkBuf(e,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}hd[254]=hd[254]=1,ld.string2buf=function(e){var t,n,r,i,a,o=e.length,s=0;for(i=0;i<o;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<o&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new ud.Buf8(s),a=0,i=0;a<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<o&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|63&n):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|63&n):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|63&n);return t},ld.buf2binstring=function(e){return pd(e,e.length)},ld.binstring2buf=function(e){for(var t=new ud.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t},ld.buf2string=function(e,t){var n,r,i,a,o=t||e.length,s=new Array(2*o);for(r=0,n=0;n<o;)if((i=e[n++])<128)s[r++]=i;else if((a=hd[i])>4)s[r++]=65533,n+=a-1;else{for(i&=2===a?31:3===a?15:7;a>1&&n<o;)i=i<<6|63&e[n++],a--;a>1?s[r++]=65533:i<65536?s[r++]=i:(i-=65536,s[r++]=55296|i>>10&1023,s[r++]=56320|1023&i)}return pd(s,r)},ld.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+hd[e[n]]>t?n:t};var vd=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},gd=Uu,md=Vu,_d=ld,yd=Bc,bd=vd,wd=Object.prototype.toString;function xd(e){if(!(this instanceof xd))return new xd(e);this.options=md.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new bd,this.strm.avail_out=0;var n=gd.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw new Error(yd[n]);if(t.header&&gd.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r="string"==typeof t.dictionary?_d.string2buf(t.dictionary):"[object ArrayBuffer]"===wd.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=gd.deflateSetDictionary(this.strm,r)))throw new Error(yd[n]);this._dict_set=!0}}function Sd(e,t){var n=new xd(t);if(n.push(e,!0),n.err)throw n.msg||yd[n.err];return n.result}xd.prototype.push=function(e,t){var n,r,i=this.strm,a=this.options.chunkSize;if(this.ended)return!1;r=t===~~t?t:!0===t?4:0,"string"==typeof e?i.input=_d.string2buf(e):"[object ArrayBuffer]"===wd.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;do{if(0===i.avail_out&&(i.output=new md.Buf8(a),i.next_out=0,i.avail_out=a),1!==(n=gd.deflate(i,r))&&0!==n)return this.onEnd(n),this.ended=!0,!1;0!==i.avail_out&&(0!==i.avail_in||4!==r&&2!==r)||("string"===this.options.to?this.onData(_d.buf2binstring(md.shrinkBuf(i.output,i.next_out))):this.onData(md.shrinkBuf(i.output,i.next_out)))}while((i.avail_in>0||0===i.avail_out)&&1!==n);return 4===r?(n=gd.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==r||(this.onEnd(0),i.avail_out=0,!0)},xd.prototype.onData=function(e){this.chunks.push(e)},xd.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=md.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},Hu.Deflate=xd,Hu.deflate=Sd,Hu.deflateRaw=function(e,t){return(t=t||{}).raw=!0,Sd(e,t)},Hu.gzip=function(e,t){return(t=t||{}).gzip=!0,Sd(e,t)};var kd={},Td={},Ed=Vu,Cd=15,Md=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Od=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Id=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Ld=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],Ad=Vu,Nd=Ic,Bd=Nc,Rd=function(e,t){var n,r,i,a,o,s,l,u,c,d,h,f,p,v,g,m,_,y,b,w,x,S,k,T,E;n=e.state,r=e.next_in,T=e.input,i=r+(e.avail_in-5),a=e.next_out,E=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),l=n.dmax,u=n.wsize,c=n.whave,d=n.wnext,h=n.window,f=n.hold,p=n.bits,v=n.lencode,g=n.distcode,m=(1<<n.lenbits)-1,_=(1<<n.distbits)-1;e:do{p<15&&(f+=T[r++]<<p,p+=8,f+=T[r++]<<p,p+=8),y=v[f&m];t:for(;;){if(f>>>=b=y>>>24,p-=b,0===(b=y>>>16&255))E[a++]=65535&y;else{if(!(16&b)){if(0==(64&b)){y=v[(65535&y)+(f&(1<<b)-1)];continue t}if(32&b){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}w=65535&y,(b&=15)&&(p<b&&(f+=T[r++]<<p,p+=8),w+=f&(1<<b)-1,f>>>=b,p-=b),p<15&&(f+=T[r++]<<p,p+=8,f+=T[r++]<<p,p+=8),y=g[f&_];n:for(;;){if(f>>>=b=y>>>24,p-=b,!(16&(b=y>>>16&255))){if(0==(64&b)){y=g[(65535&y)+(f&(1<<b)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(x=65535&y,p<(b&=15)&&(f+=T[r++]<<p,(p+=8)<b&&(f+=T[r++]<<p,p+=8)),(x+=f&(1<<b)-1)>l){e.msg="invalid distance too far back",n.mode=30;break e}if(f>>>=b,p-=b,x>(b=a-o)){if((b=x-b)>c&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(S=0,k=h,0===d){if(S+=u-b,b<w){w-=b;do{E[a++]=h[S++]}while(--b);S=a-x,k=E}}else if(d<b){if(S+=u+d-b,(b-=d)<w){w-=b;do{E[a++]=h[S++]}while(--b);if(S=0,d<w){w-=b=d;do{E[a++]=h[S++]}while(--b);S=a-x,k=E}}}else if(S+=d-b,b<w){w-=b;do{E[a++]=h[S++]}while(--b);S=a-x,k=E}for(;w>2;)E[a++]=k[S++],E[a++]=k[S++],E[a++]=k[S++],w-=3;w&&(E[a++]=k[S++],w>1&&(E[a++]=k[S++]))}else{S=a-x;do{E[a++]=E[S++],E[a++]=E[S++],E[a++]=E[S++],w-=3}while(w>2);w&&(E[a++]=E[S++],w>1&&(E[a++]=E[S++]))}break}}break}}while(r<i&&a<s);r-=w=p>>3,f&=(1<<(p-=w<<3))-1,e.next_in=r,e.next_out=a,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=a<s?s-a+257:257-(a-s),n.hold=f,n.bits=p},Pd=function(e,t,n,r,i,a,o,s){var l,u,c,d,h,f,p,v,g,m=s.bits,_=0,y=0,b=0,w=0,x=0,S=0,k=0,T=0,E=0,C=0,M=null,O=0,I=new Ed.Buf16(16),L=new Ed.Buf16(16),A=null,N=0;for(_=0;_<=Cd;_++)I[_]=0;for(y=0;y<r;y++)I[t[n+y]]++;for(x=m,w=Cd;w>=1&&0===I[w];w--);if(x>w&&(x=w),0===w)return i[a++]=20971520,i[a++]=20971520,s.bits=1,0;for(b=1;b<w&&0===I[b];b++);for(x<b&&(x=b),T=1,_=1;_<=Cd;_++)if(T<<=1,(T-=I[_])<0)return-1;if(T>0&&(0===e||1!==w))return-1;for(L[1]=0,_=1;_<Cd;_++)L[_+1]=L[_]+I[_];for(y=0;y<r;y++)0!==t[n+y]&&(o[L[t[n+y]]++]=y);if(0===e?(M=A=o,f=19):1===e?(M=Md,O-=257,A=Od,N-=257,f=256):(M=Id,A=Ld,f=-1),C=0,y=0,_=b,h=a,S=x,k=0,c=-1,d=(E=1<<x)-1,1===e&&E>852||2===e&&E>592)return 1;for(;;){p=_-k,o[y]<f?(v=0,g=o[y]):o[y]>f?(v=A[N+o[y]],g=M[O+o[y]]):(v=96,g=0),l=1<<_-k,b=u=1<<S;do{i[h+(C>>k)+(u-=l)]=p<<24|v<<16|g|0}while(0!==u);for(l=1<<_-1;C&l;)l>>=1;if(0!==l?(C&=l-1,C+=l):C=0,y++,0==--I[_]){if(_===w)break;_=t[n+o[y]]}if(_>x&&(C&d)!==c){for(0===k&&(k=x),h+=b,T=1<<(S=_-k);S+k<w&&!((T-=I[S+k])<=0);)S++,T<<=1;if(E+=1<<S,1===e&&E>852||2===e&&E>592)return 1;i[c=C&d]=x<<24|S<<16|h-a|0}}return 0!==C&&(i[h+C]=_-k<<24|64<<16|0),s.bits=x,0},zd=-2,Dd=12,Fd=30;function $d(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function jd(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Ad.Buf16(320),this.work=new Ad.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Wd(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Ad.Buf32(852),t.distcode=t.distdyn=new Ad.Buf32(592),t.sane=1,t.back=-1,0):zd}function Vd(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,Wd(e)):zd}function Hd(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?zd:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,Vd(e))):zd}function Ud(e,t){var n,r;return e?(r=new jd,e.state=r,r.window=null,0!==(n=Hd(e,t))&&(e.state=null),n):zd}var qd,Yd,Xd=!0;function Zd(e){if(Xd){var t;for(qd=new Ad.Buf32(512),Yd=new Ad.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Pd(1,e.lens,0,288,qd,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Pd(2,e.lens,0,32,Yd,0,e.work,{bits:5}),Xd=!1}e.lencode=qd,e.lenbits=9,e.distcode=Yd,e.distbits=5}function Gd(e,t,n,r){var i,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Ad.Buf8(a.wsize)),r>=a.wsize?(Ad.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>r&&(i=r),Ad.arraySet(a.window,t,n-r,i,a.wnext),(r-=i)?(Ad.arraySet(a.window,t,n-r,r,0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}Td.inflateReset=Vd,Td.inflateReset2=Hd,Td.inflateResetKeep=Wd,Td.inflateInit=function(e){return Ud(e,15)},Td.inflateInit2=Ud,Td.inflate=function(e,t){var n,r,i,a,o,s,l,u,c,d,h,f,p,v,g,m,_,y,b,w,x,S,k,T,E=0,C=new Ad.Buf8(4),M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return zd;(n=e.state).mode===Dd&&(n.mode=13),o=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,u=n.hold,c=n.bits,d=s,h=l,S=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;c<16;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(2&n.wrap&&35615===u){n.check=0,C[0]=255&u,C[1]=u>>>8&255,n.check=Bd(n.check,C,2,0),u=0,c=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=Fd;break}if(8!=(15&u)){e.msg="unknown compression method",n.mode=Fd;break}if(c-=4,x=8+(15&(u>>>=4)),0===n.wbits)n.wbits=x;else if(x>n.wbits){e.msg="invalid window size",n.mode=Fd;break}n.dmax=1<<x,e.adler=n.check=1,n.mode=512&u?10:Dd,u=0,c=0;break;case 2:for(;c<16;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(n.flags=u,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=Fd;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=Fd;break}n.head&&(n.head.text=u>>8&1),512&n.flags&&(C[0]=255&u,C[1]=u>>>8&255,n.check=Bd(n.check,C,2,0)),u=0,c=0,n.mode=3;case 3:for(;c<32;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.head&&(n.head.time=u),512&n.flags&&(C[0]=255&u,C[1]=u>>>8&255,C[2]=u>>>16&255,C[3]=u>>>24&255,n.check=Bd(n.check,C,4,0)),u=0,c=0,n.mode=4;case 4:for(;c<16;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.head&&(n.head.xflags=255&u,n.head.os=u>>8),512&n.flags&&(C[0]=255&u,C[1]=u>>>8&255,n.check=Bd(n.check,C,2,0)),u=0,c=0,n.mode=5;case 5:if(1024&n.flags){for(;c<16;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.length=u,n.head&&(n.head.extra_len=u),512&n.flags&&(C[0]=255&u,C[1]=u>>>8&255,n.check=Bd(n.check,C,2,0)),u=0,c=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((f=n.length)>s&&(f=s),f&&(n.head&&(x=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Ad.arraySet(n.head.extra,r,a,f,x)),512&n.flags&&(n.check=Bd(n.check,r,f,a)),s-=f,a+=f,n.length-=f),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break e;f=0;do{x=r[a+f++],n.head&&x&&n.length<65536&&(n.head.name+=String.fromCharCode(x))}while(x&&f<s);if(512&n.flags&&(n.check=Bd(n.check,r,f,a)),s-=f,a+=f,x)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===s)break e;f=0;do{x=r[a+f++],n.head&&x&&n.length<65536&&(n.head.comment+=String.fromCharCode(x))}while(x&&f<s);if(512&n.flags&&(n.check=Bd(n.check,r,f,a)),s-=f,a+=f,x)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;c<16;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(u!==(65535&n.check)){e.msg="header crc mismatch",n.mode=Fd;break}u=0,c=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Dd;break;case 10:for(;c<32;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}e.adler=n.check=$d(u),u=0,c=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=u,n.bits=c,2;e.adler=n.check=1,n.mode=Dd;case Dd:if(5===t||6===t)break e;case 13:if(n.last){u>>>=7&c,c-=7&c,n.mode=27;break}for(;c<3;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}switch(n.last=1&u,c-=1,3&(u>>>=1)){case 0:n.mode=14;break;case 1:if(Zd(n),n.mode=20,6===t){u>>>=2,c-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=Fd}u>>>=2,c-=2;break;case 14:for(u>>>=7&c,c-=7&c;c<32;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if((65535&u)!=(u>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Fd;break}if(n.length=65535&u,u=0,c=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(f=n.length){if(f>s&&(f=s),f>l&&(f=l),0===f)break e;Ad.arraySet(i,r,a,f,o),s-=f,a+=f,l-=f,o+=f,n.length-=f;break}n.mode=Dd;break;case 17:for(;c<14;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(n.nlen=257+(31&u),u>>>=5,c-=5,n.ndist=1+(31&u),u>>>=5,c-=5,n.ncode=4+(15&u),u>>>=4,c-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Fd;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;c<3;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.lens[M[n.have++]]=7&u,u>>>=3,c-=3}for(;n.have<19;)n.lens[M[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,k={bits:n.lenbits},S=Pd(0,n.lens,0,19,n.lencode,0,n.work,k),n.lenbits=k.bits,S){e.msg="invalid code lengths set",n.mode=Fd;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;m=(E=n.lencode[u&(1<<n.lenbits)-1])>>>16&255,_=65535&E,!((g=E>>>24)<=c);){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(_<16)u>>>=g,c-=g,n.lens[n.have++]=_;else{if(16===_){for(T=g+2;c<T;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(u>>>=g,c-=g,0===n.have){e.msg="invalid bit length repeat",n.mode=Fd;break}x=n.lens[n.have-1],f=3+(3&u),u>>>=2,c-=2}else if(17===_){for(T=g+3;c<T;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}c-=g,x=0,f=3+(7&(u>>>=g)),u>>>=3,c-=3}else{for(T=g+7;c<T;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}c-=g,x=0,f=11+(127&(u>>>=g)),u>>>=7,c-=7}if(n.have+f>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Fd;break}for(;f--;)n.lens[n.have++]=x}}if(n.mode===Fd)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=Fd;break}if(n.lenbits=9,k={bits:n.lenbits},S=Pd(1,n.lens,0,n.nlen,n.lencode,0,n.work,k),n.lenbits=k.bits,S){e.msg="invalid literal/lengths set",n.mode=Fd;break}if(n.distbits=6,n.distcode=n.distdyn,k={bits:n.distbits},S=Pd(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,k),n.distbits=k.bits,S){e.msg="invalid distances set",n.mode=Fd;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=u,n.bits=c,Rd(e,h),o=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,u=n.hold,c=n.bits,n.mode===Dd&&(n.back=-1);break}for(n.back=0;m=(E=n.lencode[u&(1<<n.lenbits)-1])>>>16&255,_=65535&E,!((g=E>>>24)<=c);){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(m&&0==(240&m)){for(y=g,b=m,w=_;m=(E=n.lencode[w+((u&(1<<y+b)-1)>>y)])>>>16&255,_=65535&E,!(y+(g=E>>>24)<=c);){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}u>>>=y,c-=y,n.back+=y}if(u>>>=g,c-=g,n.back+=g,n.length=_,0===m){n.mode=26;break}if(32&m){n.back=-1,n.mode=Dd;break}if(64&m){e.msg="invalid literal/length code",n.mode=Fd;break}n.extra=15&m,n.mode=22;case 22:if(n.extra){for(T=n.extra;c<T;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.length+=u&(1<<n.extra)-1,u>>>=n.extra,c-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;m=(E=n.distcode[u&(1<<n.distbits)-1])>>>16&255,_=65535&E,!((g=E>>>24)<=c);){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(0==(240&m)){for(y=g,b=m,w=_;m=(E=n.distcode[w+((u&(1<<y+b)-1)>>y)])>>>16&255,_=65535&E,!(y+(g=E>>>24)<=c);){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}u>>>=y,c-=y,n.back+=y}if(u>>>=g,c-=g,n.back+=g,64&m){e.msg="invalid distance code",n.mode=Fd;break}n.offset=_,n.extra=15&m,n.mode=24;case 24:if(n.extra){for(T=n.extra;c<T;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}n.offset+=u&(1<<n.extra)-1,u>>>=n.extra,c-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Fd;break}n.mode=25;case 25:if(0===l)break e;if(f=h-l,n.offset>f){if((f=n.offset-f)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Fd;break}f>n.wnext?(f-=n.wnext,p=n.wsize-f):p=n.wnext-f,f>n.length&&(f=n.length),v=n.window}else v=i,p=o-n.offset,f=n.length;f>l&&(f=l),l-=f,n.length-=f;do{i[o++]=v[p++]}while(--f);0===n.length&&(n.mode=21);break;case 26:if(0===l)break e;i[o++]=n.length,l--,n.mode=21;break;case 27:if(n.wrap){for(;c<32;){if(0===s)break e;s--,u|=r[a++]<<c,c+=8}if(h-=l,e.total_out+=h,n.total+=h,h&&(e.adler=n.check=n.flags?Bd(n.check,i,h,o-h):Nd(n.check,i,h,o-h)),h=l,(n.flags?u:$d(u))!==n.check){e.msg="incorrect data check",n.mode=Fd;break}u=0,c=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;c<32;){if(0===s)break e;s--,u+=r[a++]<<c,c+=8}if(u!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=Fd;break}u=0,c=0}n.mode=29;case 29:S=1;break e;case Fd:S=-3;break e;case 31:return-4;default:return zd}return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=u,n.bits=c,(n.wsize||h!==e.avail_out&&n.mode<Fd&&(n.mode<27||4!==t))&&Gd(e,e.output,e.next_out,h-e.avail_out),d-=e.avail_in,h-=e.avail_out,e.total_in+=d,e.total_out+=h,n.total+=h,n.wrap&&h&&(e.adler=n.check=n.flags?Bd(n.check,i,h,e.next_out-h):Nd(n.check,i,h,e.next_out-h)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Dd?128:0)+(20===n.mode||15===n.mode?256:0),(0===d&&0===h||4===t)&&0===S&&(S=-5),S},Td.inflateEnd=function(e){if(!e||!e.state)return zd;var t=e.state;return t.window&&(t.window=null),e.state=null,0},Td.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?zd:(n.head=t,t.done=!1,0):zd},Td.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?zd:11===n.mode&&Nd(1,t,r,0)!==n.check?-3:Gd(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,0):zd},Td.inflateInfo="pako inflate (from Nodeca project)";var Kd={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};var Jd=Td,Qd=Vu,eh=ld,th=Kd,nh=Bc,rh=vd,ih=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},ah=Object.prototype.toString;function oh(e){if(!(this instanceof oh))return new oh(e);this.options=Qd.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new rh,this.strm.avail_out=0;var n=Jd.inflateInit2(this.strm,t.windowBits);if(n!==th.Z_OK)throw new Error(nh[n]);if(this.header=new ih,Jd.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=eh.string2buf(t.dictionary):"[object ArrayBuffer]"===ah.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=Jd.inflateSetDictionary(this.strm,t.dictionary))!==th.Z_OK))throw new Error(nh[n])}function sh(e,t){var n=new oh(t);if(n.push(e,!0),n.err)throw n.msg||nh[n.err];return n.result}oh.prototype.push=function(e,t){var n,r,i,a,o,s=this.strm,l=this.options.chunkSize,u=this.options.dictionary,c=!1;if(this.ended)return!1;r=t===~~t?t:!0===t?th.Z_FINISH:th.Z_NO_FLUSH,"string"==typeof e?s.input=eh.binstring2buf(e):"[object ArrayBuffer]"===ah.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new Qd.Buf8(l),s.next_out=0,s.avail_out=l),(n=Jd.inflate(s,th.Z_NO_FLUSH))===th.Z_NEED_DICT&&u&&(n=Jd.inflateSetDictionary(this.strm,u)),n===th.Z_BUF_ERROR&&!0===c&&(n=th.Z_OK,c=!1),n!==th.Z_STREAM_END&&n!==th.Z_OK)return this.onEnd(n),this.ended=!0,!1;s.next_out&&(0!==s.avail_out&&n!==th.Z_STREAM_END&&(0!==s.avail_in||r!==th.Z_FINISH&&r!==th.Z_SYNC_FLUSH)||("string"===this.options.to?(i=eh.utf8border(s.output,s.next_out),a=s.next_out-i,o=eh.buf2string(s.output,i),s.next_out=a,s.avail_out=l-a,a&&Qd.arraySet(s.output,s.output,i,a,0),this.onData(o)):this.onData(Qd.shrinkBuf(s.output,s.next_out)))),0===s.avail_in&&0===s.avail_out&&(c=!0)}while((s.avail_in>0||0===s.avail_out)&&n!==th.Z_STREAM_END);return n===th.Z_STREAM_END&&(r=th.Z_FINISH),r===th.Z_FINISH?(n=Jd.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===th.Z_OK):r!==th.Z_SYNC_FLUSH||(this.onEnd(th.Z_OK),s.avail_out=0,!0)},oh.prototype.onData=function(e){this.chunks.push(e)},oh.prototype.onEnd=function(e){e===th.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Qd.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},kd.Inflate=oh,kd.inflate=sh,kd.inflateRaw=function(e,t){return(t=t||{}).raw=!0,sh(e,t)},kd.ungzip=sh;var lh={};(0,Vu.assign)(lh,Hu,kd,Kd);var uh=lh,ch=!1,dh=0,hh=0,fh=960,ph=375,vh=750;function gh(e,t){var n=Number(e);return isNaN(n)?t:n}var mh=zu(0,((e,t)=>{var n;if(0===dh&&(!function(){var{platform:e,pixelRatio:t,windowWidth:n}=Du();dh=n,hh=t,ch="ios"===e}(),n=__uniConfig.globalStyle||{},fh=gh(n.rpxCalcMaxDeviceWidth,960),ph=gh(n.rpxCalcBaseDeviceWidth,375),vh=gh(n.rpxCalcBaseDeviceWidth,750)),0===(e=Number(e)))return 0;var r=t||dh,i=e/750*(r=e===vh||r<=fh?r:ph);return i<0&&(i=-i),0===(i=Math.floor(i+1e-4))&&(i=1!==hh&&ch?.5:1),e<0?-i:i})),_h={};_h.f={}.propertyIsEnumerable;var yh,bh=k,wh=Re,xh=H,Sh=_h.f,kh=(yh=!1,function(e){for(var t,n=xh(e),r=wh(n),i=r.length,a=0,o=[];i>a;)t=r[a++],bh&&!Sh.call(n,t)||o.push(yh?[t,n[t]]:n[t]);return o});fe(fe.S,"Object",{values:function(e){return kh(e)}});var Th=function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=i(t);n;)n=i(t=n.ownerDocument);return t}(),t=[],n=null,r=null;o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?d(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},o._resetCrossOriginUpdater=function(){n=null,r=null},o.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},o.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},o.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},o.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,a=null,o=null;this.POLL_INTERVAL?a=n.setInterval(r,this.POLL_INTERVAL):(s(n,"resize",r,!0),s(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(o=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(a&&e.clearInterval(a),l(e,"resize",r,!0)),l(t,"scroll",r,!0),o&&o.disconnect()}));var u=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=u){var c=i(t);c&&this._monitorIntersections(c.ownerDocument)}}},o.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var a=i(n);if((n=a&&a.ownerDocument)==t)return!0}return!1}))){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var o=i(t);o&&this._unmonitorIntersections(o.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},o.prototype._checkForIntersections=function(){if(this.root||!n||r){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var i=r.element,o=u(i),s=this._rootContainsTarget(i),l=r.entry,c=e&&s&&this._computeTargetAndRootIntersection(i,o,t),d=null;this._rootContainsTarget(i)?n&&!this.root||(d=t):d={top:0,bottom:0,left:0,right:0,width:0,height:0};var h=r.entry=new a({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:o,rootBounds:d,intersectionRect:c});l?e&&s?this._hasCrossedThreshold(l,h)&&this._queuedEntries.push(h):l&&l.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},o.prototype._computeTargetAndRootIntersection=function(t,i,a){if("none"!=window.getComputedStyle(t).display){for(var o,s,l,c,h,p,v,g,m=i,_=f(t),y=!1;!y&&_;){var b=null,w=1==_.nodeType?window.getComputedStyle(_):{};if("none"==w.display)return null;if(_==this.root||9==_.nodeType)if(y=!0,_==this.root||_==e)n&&!this.root?!r||0==r.width&&0==r.height?(_=null,b=null,m=null):b=r:b=a;else{var x=f(_),S=x&&u(x),k=x&&this._computeTargetAndRootIntersection(x,S,a);S&&k?(_=x,b=d(S,k)):(_=null,m=null)}else{var T=_.ownerDocument;_!=T.body&&_!=T.documentElement&&"visible"!=w.overflow&&(b=u(_))}if(b&&(o=b,s=m,l=void 0,c=void 0,h=void 0,p=void 0,v=void 0,g=void 0,l=Math.max(o.top,s.top),c=Math.min(o.bottom,s.bottom),h=Math.max(o.left,s.left),p=Math.min(o.right,s.right),g=c-l,m=(v=p-h)>=0&&g>=0&&{top:l,bottom:c,left:h,right:p,width:v,height:g}||null),!m)break;_=_&&f(_)}return m}},o.prototype._getRootRect=function(){var t;if(this.root&&!p(this.root))t=u(this.root);else{var n=p(this.root)?this.root:e,r=n.documentElement,i=n.body;t={top:0,left:0,right:r.clientWidth||i.clientWidth,width:r.clientWidth||i.clientWidth,bottom:r.clientHeight||i.clientHeight,height:r.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(t)},o.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var a=this.thresholds[i];if(a==n||a==r||a<n!=a<r)return!0}},o.prototype._rootIsInDom=function(){return!this.root||h(e,this.root)},o.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return h(n,t)&&(!this.root||n==t.ownerDocument)},o.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},o.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=o,window.IntersectionObserverEntry=a}function i(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}function a(e){this.time=e.time,this.target=e.target,this.rootBounds=c(e.rootBounds),this.boundingClientRect=c(e.boundingClientRect),this.intersectionRect=c(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function o(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType&&9!=n.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=function(e,t){var n=null;return function(){n||(n=setTimeout((function(){e(),n=null}),t))}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function l(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function u(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function c(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function d(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function h(e,t){for(var n=t;n;){if(n==e)return!0;n=f(n)}return!1}function f(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?i(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function p(e){return e&&9===e.nodeType}};function Eh(e){var{bottom:t,height:n,left:r,right:i,top:a,width:o}=e||{};return{bottom:t,height:n,left:r,right:i,top:a,width:o}}function Ch(e){var{intersectionRatio:t,boundingClientRect:{height:n,width:r},intersectionRect:{height:i,width:a}}=e;return 0!==t?t:i===n?a/r:i/n}const Mh=Object.freeze(Object.defineProperty({__proto__:null,upx2px:mh,navigateTo:function(e){UniViewJSBridge.invokeServiceMethod("navigateTo",e)},navigateBack:function(e){UniViewJSBridge.invokeServiceMethod("navigateBack",e)},reLaunch:function(e){UniViewJSBridge.invokeServiceMethod("reLaunch",e)},redirectTo:function(e){UniViewJSBridge.invokeServiceMethod("redirectTo",e)},switchTab:function(e){UniViewJSBridge.invokeServiceMethod("switchTab",e)}},Symbol.toStringTag,{value:"Module"}));function Oh(e,t){if(t)return hn(t,"a")&&(t.a=e(t.a)),hn(t,"e")&&(t.e=e(t.e,!1)),hn(t,"w")&&(t.w=function(e,t){var n={};return e.forEach((e=>{var[r,[i,a]]=e;n[t(r)]=[t(i),a]})),n}(t.w,e)),hn(t,"s")&&(t.s=e(t.s)),hn(t,"t")&&(t.t=e(t.t)),t}var Ih=new Set;function Lh(e,t){Ih.add(function(e,t){return e.priority=t,e}(e,t))}function Ah(e,t){var n=window.__wxsModules,r=n&&n[e];return r||(t&&t.__renderjsInstances?t.__renderjsInstances[e]:void 0)}var Nh=qn.length;function Bh(e,t,n){var[r,i,a,o]=Ph(t),s=Rh(e,r);if(fn(n)||fn(o)){var[l,u]=a.split(".");return zh(s,i,l,u,n||o)}return function(e,t,n){var r=Ah(t,e);if(!r)return console.error(Gn("wxs","module "+n+" not found"));return Qn(r,n.slice(n.indexOf(".")+1))}(s,i,a)}function Rh(e,t){if(e.__ownerId===t)return e;for(var n=e.parentElement;n;){if(n.__ownerId===t)return n;n=n.parentElement}return e}function Ph(e){return JSON.parse(e.slice(Nh))}function zh(e,t,n,r,i){var a=Ah(t,e);if(!a)return console.error(Gn("wxs","module "+n+" not found"));var o=a[r];return vn(o)?o.apply(a,i):console.error(n+"."+r+" is not a function")}function Dh(e,t,n){var r=n;return n=>{try{!function(e,t,n,r){var[i,a,o]=Ph(e),s=Rh(t,i),[l,u]=o.split(".");zh(s,a,l,u,[n,r,ku(Eu(s)),ku(Eu(t))])}(t,e.$,n,r)}catch(i){console.error(i)}r=n}}function Fh(e,t){var n=Eu(t);return Object.defineProperty(e,"instance",{get:()=>ku(n)}),e}function $h(e,t){Object.keys(t).forEach((n=>{!function(e,t){var n=function(e){var t=window["__"+Xn],n=t&&t[e];if(!n)return console.error(Gn("renderjs",e+" not found"));return n}(t);if(!n)return;var r=e.$;(r.__renderjsInstances||(r.__renderjsInstances={}))[t]=function(e,t){return t=t.default||t,t.render=()=>{},zl(t).mixin({mounted(){this.$ownerInstance=ku(Eu(e))}}).mount(document.createElement("div"))}(r,n)}(e,t[n])}))}var jh=Yn.length;function Wh(e,t){return gn(e)?(0===e.indexOf(Yn)?e=JSON.parse(e.slice(jh)):0===e.indexOf(qn)&&(e=Bh(t,e)),e):e}function Vh(e){return 0===e.indexOf("--")}class Hh{constructor(e,t,n,r){this.isMounted=!1,this.isUnmounted=!1,this.$hasWxsProps=!1,this.$children=[],this.id=e,this.tag=t,this.pid=n,r&&(this.$=r),this.$wxsProps=new Map;var i=this.$parent=function(e){return hm.get(e)}(n);i&&i.appendUniChild(this)}init(e){hn(e,"t")&&(this.$.textContent=e.t)}setText(e){this.$.textContent=e,this.updateView()}insert(e,t,n){n&&this.init(n,!1);var r=this.$,i=fm(e);-1===t?i.appendChild(r):i.insertBefore(r,fm(t).$),this.isMounted=!0}remove(){this.removeUniParent();var{$:e}=this;e.parentNode.removeChild(e),this.isUnmounted=!0,pm(this.id),function(e){var{__renderjsInstances:t}=e.$;t&&Object.keys(t).forEach((e=>{t[e].$.appContext.app.unmount()}))}(this),this.removeUniChildren(),this.updateView()}appendChild(e){var t=this.$.appendChild(e);return this.updateView(!0),t}insertBefore(e,t){var n=this.$.insertBefore(e,t);return this.updateView(!0),n}appendUniChild(e){this.$children.push(e)}removeUniChild(e){var t=this.$children.indexOf(e);t>=0&&this.$children.splice(t,1)}removeUniParent(){var{$parent:e}=this;e&&(e.removeUniChild(this),this.$parent=void 0)}removeUniChildren(){this.$children.forEach((e=>e.remove())),this.$children.length=0}setWxsProps(e){Object.keys(e).forEach((t=>{if(0===t.indexOf(vr)){var n=t.replace(vr,""),r=Wh(e[n]),i=Dh(this,e[t],r);Lh((()=>i(r)),4),this.$wxsProps.set(t,i),delete e[t],delete e[n],this.$hasWxsProps=!0}}))}addWxsEvents(e){Object.keys(e).forEach((t=>{var[n,r]=e[t];this.addWxsEvent(t,n,r)}))}addWxsEvent(e,t,n){}wxsPropsInvoke(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.$hasWxsProps&&this.$wxsProps.get(vr+e);if(r)return Lh((()=>n?Ua((()=>r(t))):r(t)),4),!0}updateView(e){(this.isMounted||e)&&window.dispatchEvent(new CustomEvent("updateview"))}}function Uh(e,t){var{__wxsAddClass:n,__wxsRemoveClass:r}=e;r&&r.length&&(t=t.split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),n&&n.length&&(t=t+" "+n.join(" ")),e.className=t}function qh(e){return Kh(nf(e))}var Yh,Xh,Zh,Gh=/url\(\s*'?"?([a-zA-Z0-9\.\-\_\/]+\.(jpg|gif|png))"?'?\s*\)/,Kh=e=>{if(gn(e)&&-1!==e.indexOf("url(")){var t=e.match(Gh);t&&3===t.length&&(e=e.replace(t[1],Fu(t[1])))}return e},{unit:Jh,unitRatio:Qh,unitPrecision:ef}={unit:"rem",unitRatio:10/320,unitPrecision:5},tf=(Yh=Jh,Xh=Qh,Zh=ef,e=>e.replace(rr,((e,t)=>{if(!t)return e;if(1===Xh)return"".concat(t).concat(Yh);var n,r,i,a,o=(n=parseFloat(t)*Xh,r=Zh,i=Math.pow(10,r+1),a=Math.floor(n*i),10*Math.round(a/10)/i);return 0===o?"0":"".concat(o).concat(Yh)}))),nf=e=>gn(e)?tf(e):e,rf=["Webkit"],af={};function of(e,t){var n=af[t];if(n)return n;var r=Cn(t);if("filter"!==r&&r in e)return af[t]=r;r=In(r);for(var i=0;i<rf.length;i++){var a=rf[i]+r;if(a in e)return af[t]=a}return t}function sf(e,t){var n=e.style;if(gn(t))""===t?e.removeAttribute("style"):n.cssText=qh(t);else for(var r in t)uf(n,r,t[r]);var{__wxsStyle:i}=e;if(i)for(var a in i)uf(n,a,i[a])}var lf=/\s*!important$/;function uf(e,t,n){if(fn(n))n.forEach((n=>uf(e,t,n)));else if(n=qh(n),t.startsWith("--"))e.setProperty(t,n);else{var r=of(e,t);lf.test(n)?e.setProperty(On(r),n.replace(lf,""),"important"):e[r]=n}}function cf(e,t){var n=e.__listeners[t];n&&e.removeEventListener(t,n)}function df(e,t){if(e.__listeners[t])return!0}function hf(e,t,n){var[r,i]=lr(t);-1===n?cf(e,r):df(e,r)||e.addEventListener(r,e.__listeners[r]=ff(e.__id,n,i),i)}function ff(e,t,n){var r=t=>{var[r]=Cu(t);r.type=function(e,t){return t&&(t.capture&&(e+="Capture"),t.once&&(e+="Once"),t.passive&&(e+="Passive")),"on".concat(In(Cn(e)))}(t.type,n),UniViewJSBridge.publishHandler(Au,[[20,e,r]])};return t?Ll(r,pf(t)):r}function pf(e){var t=[];return e&ur.prevent&&t.push("prevent"),e&ur.self&&t.push("self"),e&ur.stop&&t.push("stop"),t}function vf(e,t,n){var r=n=>{!function(e,t,n){var[r,i,a]=Ph(t),[o,s]=a.split("."),l=Rh(e,r);zh(l,i,o,s,[Fh(n,e),ku(Eu(l))])}(function(e){return!!e.addWxsEvent}(e)?e.$:e,t,Cu(n)[0])};return n?Ll(r,pf(n)):r}function gf(e,t){e._vod="none"===e.style.display?"":e.style.display,e.style.display=t?e._vod:"none"}class mf extends Hh{constructor(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];super(e,t.tagName,n,t),this.$props=ca({}),this.$.__id=e,this.$.__listeners=Object.create(null),this.$propNames=a,this._update=this.update.bind(this),this.init(i),this.insert(n,r)}init(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];hn(e,"a")&&this.setAttrs(e.a),hn(e,"s")&&this.setAttr("style",e.s),hn(e,"e")&&this.addEvents(e.e),hn(e,"w")&&this.addWxsEvents(e.w),super.init(e),t&&(vo(this.$props,(()=>{Lh(this._update,1)}),{flush:"sync"}),this.update(!0))}setAttrs(e){this.setWxsProps(e),Object.keys(e).forEach((t=>{this.setAttr(t,e[t])}))}addEvents(e){Object.keys(e).forEach((t=>{this.addEvent(t,e[t])}))}addWxsEvent(e,t,n){!function(e,t,n,r){var[i,a]=lr(t);-1===r?cf(e,i):df(e,i)||e.addEventListener(i,e.__listeners[i]=vf(e,n,r),a)}(this.$,e,t,n)}addEvent(e,t){hf(this.$,e,t)}removeEvent(e){hf(this.$,e,-1)}setAttr(e,t){e===cr?Uh(this.$,t):e===dr?sf(this.$,t):e===hr?gf(this.$,t):e===fr?this.$.__ownerId=t:e===pr?Lh((()=>$h(this,t)),3):"innerHTML"===e?this.$.innerHTML=t:"textContent"===e?this.setText(t):this.setAttribute(e,t),this.updateView()}removeAttr(e){e===cr?Uh(this.$,""):e===dr?sf(this.$,""):this.removeAttribute(e),this.updateView()}setAttribute(e,t){t=Wh(t,this.$),-1!==this.$propNames.indexOf(e)?this.$props[e]=t:Vh(e)?this.$.style.setProperty(e,qh(t)):this.wxsPropsInvoke(e,t)||this.$.setAttribute(e,t)}removeAttribute(e){-1!==this.$propNames.indexOf(e)?delete this.$props[e]:Vh(e)?this.$.style.removeProperty(e):this.$.removeAttribute(e)}update(){}}function _f(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>"".concat(uni.upx2px(parseFloat(t)),"px"))):/^-?[\d\.]+$/.test(e)?"".concat(e,"px"):e||""}function yf(e){var t=e.animation;if(t&&t.actions&&t.actions.length){var n=0,r=t.actions,i=t.actions.length;setTimeout((()=>{a()}),0)}function a(){var t=r[n],o=t.option.transition,s=function(e){var t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],r=["opacity","background-color"],i=["width","height","left","right","top","bottom"],a=e.animates,o=e.option,s=o.transition,l={},u=[];return a.forEach((e=>{var a=e.type,o=[...e.args];if(t.concat(n).includes(a))a.startsWith("rotate")||a.startsWith("skew")?o=o.map((e=>parseFloat(e)+"deg")):a.startsWith("translate")&&(o=o.map(_f)),n.indexOf(a)>=0&&(o.length=1),u.push("".concat(a,"(").concat(o.join(","),")"));else if(r.concat(i).includes(o[0])){a=o[0];var s=o[1];l[a]=i.includes(a)?_f(s):s}})),l.transform=l.webkitTransform=u.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>"".concat(function(e){return e.replace(/[A-Z]/g,(e=>"-".concat(e.toLowerCase()))).replace("webkit","-webkit")}(e)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms"))).join(","),l.transformOrigin=l.webkitTransformOrigin=o.transformOrigin,l}(t);Object.keys(s).forEach((t=>{e.$el.style[t]=s[t]})),(n+=1)<i&&setTimeout(a,o.duration+o.delay)}}const bf={props:["animation"],watch:{animation:{deep:!0,handler(){yf(this)}}},mounted(){yf(this)}};var wf=e=>{e.__reserved=!0;var{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(bf),xf(e)},xf=e=>(e.__reserved=!0,e.compatConfig={MODE:3},function(e){return vn(e)?{setup:e,name:e.name}:e}(e)),Sf={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function kf(e){var t,n,r=Ta(!1),i=!1;function a(){requestAnimationFrame((()=>{clearTimeout(n),n=setTimeout((()=>{r.value=!1}),parseInt(e.hoverStayTime))}))}function o(n){n._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(n._hoverPropagationStopped=!0),i=!0,t=setTimeout((()=>{r.value=!0,i||a()}),parseInt(e.hoverStartTime)))}function s(){i=!1,r.value&&a()}function l(){s(),window.removeEventListener("mouseup",l)}return{hovering:r,binding:{onTouchstartPassive:function(e){e.touches.length>1||o(e)},onMousedown:function(e){i||(o(e),window.addEventListener("mouseup",l))},onTouchend:function(){s()},onMouseup:function(){i&&l()},onTouchcancel:function(){i=!1,r.value=!1,clearTimeout(t)}}}}function Tf(e,t){return gn(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}function Ef(e){return e.__wwe=!0,e}function Cf(e,t){return(n,r,i)=>{e.value&&t(n,function(e,t,n,r){var i=ar(n);return{type:r.type||e,timeStamp:t.timeStamp||0,target:i,currentTarget:i,detail:r}}(n,r,e.value,i||{}))}}var Mf=Jl("uf");const Of=wf({name:"Form",emits:["submit","reset"],setup(e,t){var n,r,{slots:i,emit:a}=t,o=Ta(null);return n=Cf(o,a),r=[],co(Mf,{addField(e){r.push(e)},removeField(e){r.splice(r.indexOf(e),1)},submit(e){n("submit",e,{value:r.reduce(((e,t)=>{if(t.submit){var[n,r]=t.submit();n&&(e[n]=r)}return e}),Object.create(null))})},reset(e){r.forEach((e=>e.reset&&e.reset())),n("reset",e)}}),()=>Ps("uni-form",{ref:o},[Ps("span",null,[i.default&&i.default()])],512)}});var If={for:{type:String,default:""}},Lf=Jl("ul");const Af=wf({name:"Label",props:If,setup(e,t){var{slots:n}=t,r=au(),i=function(){var e=[];return co(Lf,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}(),a=il((()=>e.for||n.default&&n.default.length)),o=Ef((t=>{var n=t.target,a=/^uni-(checkbox|radio|switch)-/.test(n.className);a||(a=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(n.tagName)),a||(e.for?UniViewJSBridge.emit("uni-label-click-"+r+"-"+e.for,t,!0):i.length&&i[0](t,!0))}));return()=>Ps("uni-label",{class:{"uni-label-pointer":a},onClick:o},[n.default&&n.default()],10,["onClick"])}});function Nf(e,t){Bf(e.id,t),vo((()=>e.id),((e,n)=>{Rf(n,t,!0),Bf(e,t,!0)})),No((()=>{Rf(e.id,t)}))}function Bf(e,t,n){var r=au();n&&!e||xn(t)&&Object.keys(t).forEach((i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&UniViewJSBridge.on("uni-".concat(i,"-").concat(r,"-").concat(e),t[i]):0===i.indexOf("uni-")?UniViewJSBridge.on(i,t[i]):e&&UniViewJSBridge.on("uni-".concat(i,"-").concat(r,"-").concat(e),t[i])}))}function Rf(e,t,n){var r=au();n&&!e||xn(t)&&Object.keys(t).forEach((i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&UniViewJSBridge.off("uni-".concat(i,"-").concat(r,"-").concat(e),t[i]):0===i.indexOf("uni-")?UniViewJSBridge.off(i,t[i]):e&&UniViewJSBridge.off("uni-".concat(i,"-").concat(r,"-").concat(e),t[i])}))}const Pf=wf({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,t){var{slots:n}=t,r=Ta(null);Dr();var i=ho(Mf,!1),{hovering:a,binding:o}=kf(e),{t:s}=Rr(),l=Ef(((t,n)=>{if(e.disabled)return t.stopImmediatePropagation();n&&r.value.click();var a=e.formType;if(a){if(!i)return;"submit"===a?i.submit(t):"reset"===a&&i.reset(t)}else{var o,l,u;"feedback"===e.openType&&(o=s("uni.button.feedback.title"),l=s("uni.button.feedback.send"),(u=plus.webview.create("https://service.dcloud.net.cn/uniapp/feedback.html","feedback",{titleNView:{titleText:o,autoBackButton:!0,backgroundColor:"#F7F7F7",titleColor:"#007aff",buttons:[{text:l,color:"#007aff",fontSize:"16px",fontWeight:"bold",onclick:function(){u.evalJS('typeof mui !== "undefined" && mui.trigger(document.getElementById("submit"),"tap")')}}]}})).show("slide-in-right"))}})),u=ho(Lf,!1);return u&&(u.addHandler(l),Ao((()=>{u.removeHandler(l)}))),Nf(e,{"label-click":l}),()=>{var t=e.hoverClass,i=Tf(e,"disabled"),s=Tf(e,"loading"),u=Tf(e,"plain"),c=t&&"none"!==t;return Ps("uni-button",Vs({ref:r,onClick:l,class:c&&a.value?t:""},c&&o,i,s,u),[n.default&&n.default()],16,["onClick"])}}});const zf=wf({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,t){var{emit:n}=t,r=Ta(null),i=function(e){return()=>{var{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(r),a=function(e,t,n){var r=ca({width:-1,height:-1});return vo((()=>un({},r)),(e=>t("resize",e))),()=>{var t=e.value;r.width=t.offsetWidth,r.height=t.offsetHeight,n()}}(r,n,i);return function(e,t,n,r){xo(r),Oo((()=>{t.initial&&Ua(n);var i=e.value;i.offsetParent!==i.parentElement&&(i.parentElement.style.position="relative"),"AnimationEvent"in window||r()}))}(r,e,a,i),()=>Ps("uni-resize-sensor",{ref:r,onAnimationstartOnce:a},[Ps("div",{onScroll:a},[Ps("div",null,null)],40,["onScroll"]),Ps("div",{onScroll:a},[Ps("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});var Df=function(){var e=document.createElement("canvas");e.height=e.width=0;var t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function Ff(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e.width=e.offsetWidth*(t?Df:1),e.height=e.offsetHeight*(t?Df:1),e.getContext("2d").__hidpi__=t}var $f=!1;var jf,Wf=Jn((()=>function(){if(!$f){$f=!0;var e,t=CanvasRenderingContext2D.prototype;t.drawImageByCanvas=(e=t.drawImage,function(t,n,r,i,a,o,s,l,u,c){if(!this.__hidpi__)return e.apply(this,arguments);n*=Df,r*=Df,i*=Df,a*=Df,o*=Df,s*=Df,l=c?l*Df:l,u=c?u*Df:u,e.call(this,t,n,r,i,a,o,s,l,u)}),1!==Df&&(function(e,t){for(var n in e)hn(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(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);var n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map((function(e){return e*Df}));else if(Array.isArray(e))for(var r=0;r<e.length;r++)n[e[r]]*=Df;return t.apply(this,n)}}(t[n])})),t.stroke=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.lineWidth*=Df,e.apply(this,arguments),this.lineWidth/=Df}}(t.stroke),t.fillText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var t=Array.prototype.slice.call(arguments);t[1]*=Df,t[2]*=Df,t[3]&&"number"==typeof t[3]&&(t[3]*=Df);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*Df+n})),e.apply(this,t),this.font=n}}(t.fillText),t.strokeText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var t=Array.prototype.slice.call(arguments);t[1]*=Df,t[2]*=Df,t[3]&&"number"==typeof t[3]&&(t[3]*=Df);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,(function(e,t,n){return t*Df+n})),e.apply(this,t),this.font=n}}(t.strokeText),t.drawImage=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.scale(Df,Df),e.apply(this,arguments),this.scale(1/Df,1/Df)}}(t.drawImage))}}()));function Vf(e){return e?Fu(e):e}function Hf(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function Uf(e,t){Array.from(t).forEach((t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top}))}function qf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return jf||(jf=document.createElement("canvas")),jf.width=e,jf.height=t,jf}const Yf=wf({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,t){var{emit:n,slots:r}=t;Wf();var i=Ta(null),a=Ta(null),o=Ta(!1),s=function(e){return(t,n)=>{e(t,Ou(n))}}(n),{$attrs:l,$excludeAttrs:u,$listeners:c}=dv({excludeListeners:!0}),{_listeners:d}=function(e,t,n){var r=il((()=>{var r=["onTouchstart","onTouchmove","onTouchend"],i=t.value,a=un({},(()=>{var e={};for(var t in i)if(hn(i,t)){var n=i[t];e[t]=n}return e})());return r.forEach((t=>{var r=[];a[t]&&r.push(Ef((e=>{var r=e.currentTarget.getBoundingClientRect();Uf(r,e.touches),Uf(r,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)}))),e.disableScroll&&"onTouchmove"===t&&r.push(Zl),a[t]=r})),a}));return{_listeners:r}}(e,c,s),{_handleSubscribe:h,_resize:f}=function(e,t,n){var r=[],i={},a=il((()=>e.hidpi?Df:1));function o(n){var r=t.value;if(!n||r.width!==Math.floor(n.width*a.value)||r.height!==Math.floor(n.height*a.value))if(r.width>0&&r.height>0){var i=r.getContext("2d"),o=i.getImageData(0,0,r.width,r.height);Ff(r,e.hidpi),i.putImageData(o,0,0)}else Ff(r,e.hidpi)}function s(e,a){var{actions:o,reserve:s}=e;if(o)if(n.value)r.push([o,s]);else{var c=t.value,d=c.getContext("2d");s||(d.fillStyle="#000000",d.strokeStyle="#000000",d.shadowColor="#000000",d.shadowBlur=0,d.shadowOffsetX=0,d.shadowOffsetY=0,d.setTransform(1,0,0,1,0,0),d.clearRect(0,0,c.width,c.height)),l(o);for(var h=function(e){var t=o[e],n=t.method,r=t.data,s=r[0];if(/^set/.test(n)&&"setTransform"!==n){var l,c=n[3].toLowerCase()+n.slice(4);if("fillStyle"===c||"strokeStyle"===c){if("normal"===s)l=Hf(r[1]);else if("linear"===s){var h=d.createLinearGradient(...r[1]);r[2].forEach((function(e){var t=e[0],n=Hf(e[1]);h.addColorStop(t,n)})),l=h}else if("radial"===s){var f=r[1],p=f[0],v=f[1],g=f[2],m=d.createRadialGradient(p,v,0,p,v,g);r[2].forEach((function(e){var t=e[0],n=Hf(e[1]);m.addColorStop(t,n)})),l=m}else if("pattern"===s){return u(r[1],o.slice(e+1),a,(function(e){e&&(d[c]=d.createPattern(e,r[2]))}))?"continue":"break"}d[c]=l}else if("globalAlpha"===c)d[c]=Number(s)/255;else if("shadow"===c){var _=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];r.forEach((function(e,t){d[_[t]]="shadowColor"===_[t]?Hf(e):e}))}else if("fontSize"===c){var y=d.__font__||d.font;d.__font__=d.font=y.replace(/\d+\.?\d*px/,s+"px")}else"lineDash"===c?(d.setLineDash(s),d.lineDashOffset=r[1]||0):"textBaseline"===c?("normal"===s&&(r[0]="alphabetic"),d[c]=s):"font"===c?d.__font__=d.font=s:d[c]=s}else if("fillPath"===n||"strokePath"===n)n=n.replace(/Path/,""),d.beginPath(),r.forEach((function(e){d[e.method].apply(d,e.data)})),d[n]();else if("fillText"===n)d.fillText.apply(d,r);else if("drawImage"===n){if("break"===function(){var t=[...r],n=t[0],s=t.slice(1);if(i=i||{},!u(n,o.slice(e+1),a,(function(e){e&&d.drawImage.apply(d,[e].concat([...s.slice(4,8)],[...s.slice(0,4)]))})))return"break"}())return"break"}else"clip"===n?(r.forEach((function(e){d[e.method].apply(d,e.data)})),d.clip()):d[n].apply(d,r)},f=0;f<o.length;f++){var p=h(f);if("break"===p)break}n.value||a({errMsg:"drawCanvas:ok"})}}function l(e){e.forEach((function(e){var t=e.method,n=e.data,r="";function a(){var e=i[r]=new Image;if(e.onload=function(){e.ready=!0},"Google Inc."===navigator.vendor)return 0===r.indexOf("file://")&&(e.crossOrigin="anonymous"),void(e.src=r);Wu(r).then((t=>{e.src=t})).catch((()=>{e.src=r}))}"drawImage"===t?(r=Vf(r=n[0]),n[0]=r):"setFillStyle"===t&&"pattern"===n[0]&&(r=Vf(r=n[1]),n[1]=r),r&&!i[r]&&a()}))}function u(e,t,a,o){var l=i[e];return l.ready?(o(l),!0):(r.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,o(l),n.value=!1;var e=r.slice(0);r=[];for(var t=e.shift();t;)s({actions:t[0],reserve:t[1]},a),t=e.shift()},!1)}function c(e,n){var r,{x:i=0,y:o=0,width:s,height:l,destWidth:u,destHeight:c,hidpi:d=!0,dataType:h,quality:f=1,type:p="png"}=e,v=t.value,g=v.offsetWidth-i;s=s?Math.min(s,g):g;var m=v.offsetHeight-o;l=l?Math.min(l,m):m,d?(u=s,c=l):u||c?u?c||(c=Math.round(l/s*u)):u=Math.round(s/l*c):(u=Math.round(s*a.value),c=Math.round(l*a.value));var _,y=qf(u,c),b=y.getContext("2d");"jpeg"!==p&&"jpg"!==p||(p="jpeg",b.fillStyle="#fff",b.fillRect(0,0,u,c)),b.__hidpi__=!0,b.drawImageByCanvas(v,i,o,s,l,0,0,u,c,!1);try{var w;if("base64"===h)r=y.toDataURL("image/".concat(p),f);else{var x=b.getImageData(0,0,u,c);r=uh.deflateRaw(x.data,{to:"string"}),w=!0}_={data:r,compressed:w,width:u,height:c}}catch(S){_={errMsg:"canvasGetImageData:fail ".concat(S)}}if(y.height=y.width=0,b.__hidpi__=!1,!n)return _;n(_)}function d(e,n){var{data:r,x:i,y:a,width:o,height:s,compressed:l}=e;try{l&&(r=uh.inflateRaw(r)),s||(s=Math.round(r.length/4/o));var u=qf(o,s);u.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(r),o,s),0,0),t.value.getContext("2d").drawImage(u,i,a,o,s),u.height=u.width=0}catch(c){return void n({errMsg:"canvasPutImageData:fail"})}n({errMsg:"canvasPutImageData:ok"})}function h(e,t){var{x:n=0,y:r=0,width:i,height:a,destWidth:o,destHeight:s,fileType:l,quality:u,dirname:d}=e,h=c({x:n,y:r,width:i,height:a,destWidth:o,destHeight:s,hidpi:!1,dataType:"base64",type:l,quality:u});h.data&&h.data.length?function(e,t,n){var r="".concat(Date.now()).concat(ju++),i=e.split(","),a=i[0],o=i[1],s=(a.match(/data:image\/(\S+?);/)||["","png"])[1].replace("jpeg","jpg"),l="".concat(r,".").concat(s),u="".concat(t,"/").concat(l),c=t.indexOf("/"),d=t.substring(0,c),h=t.substring(c+1);plus.io.resolveLocalFileSystemURL(d,(function(e){e.getDirectory(h,{create:!0,exclusive:!1},(function(e){e.getFile(l,{create:!0,exclusive:!1},(function(e){e.createWriter((function(e){e.onwrite=function(){n(null,u)},e.onerror=n,e.seek(0),e.writeAsBinary(o)}),n)}),n)}),n)}),n)}(h.data,d,((e,n)=>{var r="toTempFilePath:".concat(e?"fail":"ok");e&&(r+=" ".concat(e.message)),t({errMsg:r,tempFilePath:n})})):t({errMsg:h.errMsg.replace("canvasPutImageData","toTempFilePath")})}var f={actionsChanged:s,getImageData:c,putImageData:d,toTempFilePath:h};function p(e,t,n){var r=f[e];0!==e.indexOf("_")&&vn(r)&&r(t,n)}return un(f,{_resize:o,_handleSubscribe:p})}(e,i,o);return kg(h,Eg(e.canvasId),!0),Oo((()=>{f()})),()=>{var{canvasId:t,disableScroll:n}=e;return Ps("uni-canvas",Vs({"canvas-id":t,"disable-scroll":n},l.value,u.value,d.value),[Ps("canvas",{ref:i,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),Ps("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[r.default&&r.default()]),Ps(zf,{ref:a,onResize:f},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});var Xf=Jl("ucg");const Zf=wf({name:"CheckboxGroup",props:{name:{type:String,default:""}},emits:["change"],setup(e,t){var{emit:n,slots:r}=t,i=Ta(null);return function(e,t){var n=[],r=()=>n.reduce(((e,t)=>(t.value.checkboxChecked&&e.push(t.value.value),e)),new Array);co(Xf,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},checkboxChange(e){t("change",e,{value:r()})}});var i=ho(Mf,!1);i&&i.addField({submit:()=>{var t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=r()),t}})}(e,Cf(i,n)),()=>Ps("uni-checkbox-group",{ref:i},[r.default&&r.default()],512)}});const Gf=wf({name:"Checkbox",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},setup(e,t){var{slots:n}=t,r=Ta(e.checked),i=Ta(e.value);vo([()=>e.checked,()=>e.value],(e=>{var[t,n]=e;r.value=t,i.value=n}));var{uniCheckGroup:a,uniLabel:o}=function(e,t,n){var r=il((()=>({checkboxChecked:Boolean(e.value),value:t.value}))),i={reset:n},a=ho(Xf,!1);a&&a.addField(r);var o=ho(Mf,!1);o&&o.addField(i);var s=ho(Lf,!1);return Ao((()=>{a&&a.removeField(r),o&&o.removeField(i)})),{uniCheckGroup:a,uniForm:o,uniLabel:s}}(r,i,(()=>{r.value=!1})),s=t=>{e.disabled||(r.value=!r.value,a&&a.checkboxChange(t),t.stopPropagation())};return o&&(o.addHandler(s),Ao((()=>{o.removeHandler(s)}))),Nf(e,{"label-click":s}),()=>{var t=Tf(e,"disabled");return Ps("uni-checkbox",Vs(t,{onClick:s}),[Ps("div",{class:"uni-checkbox-wrapper"},[Ps("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[r.value?iu(ru,e.color,22):""],2),n.default&&n.default()])],16,["onClick"])}}});var Kf,Jf,Qf,ep,tp,np;function rp(){}function ip(e,t,n){or((()=>{var r="adjustResize",i="adjustPan",a=plus.webview.currentWebview(),o=np||a.getStyle()||{},s={mode:n||o.softinputMode===r?r:e.adjustPosition?i:"nothing",position:{top:0,height:0}};if(s.mode===i){var l=t.getBoundingClientRect();s.position.top=l.top,s.position.height=l.height+(Number(e.cursorSpacing)||0)}a.setSoftinputTemporary(s)}))}or((()=>{Jf="Android"===plus.os.name,Qf=plus.os.version||""})),document.addEventListener("keyboardchange",(function(e){ep=e.height,tp&&tp()}),!1);var ap={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},op=["keyboardheightchange"];function sp(e,t,n){var r={};function i(t){var i,a=il((()=>0===String(navigator.vendor).indexOf("Apple"))),o=()=>{n("keyboardheightchange",{},{height:ep,duration:.25}),i&&0===ep&&ip(e,t),e.autoBlur&&i&&0===ep&&(Jf||parseInt(Qf)>=13)&&document.activeElement.blur()};t.addEventListener("focus",(()=>{i=!0,clearTimeout(Kf),document.addEventListener("click",rp,!1),tp=o,ep&&n("keyboardheightchange",{},{height:ep,duration:0}),function(e,t){"auto"!==e.showConfirmBar?or((()=>{var n=plus.webview.currentWebview(),{softinputNavBar:r}=n.getStyle()||{};"none"!==r!==e.showConfirmBar?(t.softinputNavBar=r||"auto",n.setStyle({softinputNavBar:e.showConfirmBar?"auto":"none"})):delete t.softinputNavBar})):delete t.softinputNavBar}(e,r),ip(e,t)})),Jf&&t.addEventListener("click",(()=>{e.disabled||e.readOnly||!i||0!==ep||ip(e,t)})),Jf||(parseInt(Qf)<12&&t.addEventListener("touchstart",(()=>{e.disabled||e.readOnly||i||ip(e,t)})),parseFloat(Qf)>=14.6&&!np&&or((()=>{var e=plus.webview.currentWebview();np=e.getStyle()||{}})));var s=()=>{document.removeEventListener("click",rp,!1),tp=null,ep&&n("keyboardheightchange",{},{height:0,duration:0}),function(e){var t=e.softinputNavBar;t&&or((()=>{plus.webview.currentWebview().setStyle({softinputNavBar:t})}))}(r),Jf&&(Kf=setTimeout((()=>{ip(e,t,!0)}),300)),a.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};t.addEventListener("blur",(()=>{a.value&&t.blur(),i=!1,s()}))}vo((()=>t.value),(e=>e&&i(e)))}var lp=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,up=/^<\/([-A-Za-z0-9_]+)[^>]*>/,cp=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,dp=_p("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),hp=_p("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"),fp=_p("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"),pp=_p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),vp=_p("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),gp=_p("script,style");function mp(e,t){var n,r,i,a=[],o=e;for(a.last=function(){return this[this.length-1]};e;){if(r=!0,a.last()&&gp[a.last()])e=e.replace(new RegExp("([\\s\\S]*?)</"+a.last()+"[^>]*>"),(function(e,n){return n=n.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),t.chars&&t.chars(n),""})),u("",a.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),r=!1):0==e.indexOf("</")?(i=e.match(up))&&(e=e.substring(i[0].length),i[0].replace(up,u),r=!1):0==e.indexOf("<")&&(i=e.match(lp))&&(e=e.substring(i[0].length),i[0].replace(lp,l),r=!1),r){var s=(n=e.indexOf("<"))<0?e:e.substring(0,n);e=n<0?"":e.substring(n),t.chars&&t.chars(s)}if(e==o)throw"Parse Error: "+e;o=e}function l(e,n,r,i){if(n=n.toLowerCase(),hp[n])for(;a.last()&&fp[a.last()];)u("",a.last());if(pp[n]&&a.last()==n&&u("",n),(i=dp[n]||!!i)||a.push(n),t.start){var o=[];r.replace(cp,(function(e,t){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:vp[t]?t:"";o.push({name:t,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})})),t.start&&t.start(n,o,i)}}function u(e,n){if(n)for(r=a.length-1;r>=0&&a[r]!=n;r--);else var r=0;if(r>=0){for(var i=a.length-1;i>=r;i--)t.end&&t.end(a[i]);a.length=r}}u()}function _p(e){for(var t={},n=e.split(","),r=0;r<n.length;r++)t[n[r]]=!0;return t}var yp={};function bp(e,t,n){if(gn(e)?window[e]:e)n();else{var r=yp[t];if(!r){r=yp[t]=[];var i=document.createElement("script");i.src=t,document.body.appendChild(i),i.onload=function(){r.forEach((e=>e())),delete yp[t]}}r.push(n)}}function wp(e){var t=e.import("blots/block/embed");class n extends t{}return n.blotName="divider",n.tagName="HR",{"formats/divider":n}}function xp(e){var t=e.import("blots/inline");class n extends t{}return n.blotName="ins",n.tagName="INS",{"formats/ins":n}}function Sp(e){var{Scope:t,Attributor:n}=e.import("parchment"),r={scope:t.BLOCK,whitelist:["left","right","center","justify"]};return{"formats/align":new n.Style("align","text-align",r)}}function kp(e){var{Scope:t,Attributor:n}=e.import("parchment"),r={scope:t.BLOCK,whitelist:["rtl"]};return{"formats/direction":new n.Style("direction","direction",r)}}function Tp(e){var t=e.import("parchment"),n=e.import("blots/container"),r=e.import("formats/list/item");class i extends n{static create(e){var t="ordered"===e?"OL":"UL",n=super.create(t);return"checked"!==e&&"unchecked"!==e||n.setAttribute("data-checked","checked"===e),n}static formats(e){return"OL"===e.tagName?"ordered":"UL"===e.tagName?e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}constructor(e){super(e);e.addEventListener("click",(n=>{if(n.target.parentNode===e){var r=this.statics.formats(e),i=t.find(n.target);"checked"===r?i.format("list","unchecked"):"unchecked"===r&&i.format("list","checked")}}))}format(e,t){this.children.length>0&&this.children.tail.format(e,t)}formats(){return{[this.statics.blotName]:this.statics.formats(this.domNode)}}insertBefore(e,t){if(e instanceof r)super.insertBefore(e,t);else{var n=null==t?this.length():t.offset(this),i=this.split(n);i.parent.insertBefore(e,i)}}optimize(e){super.optimize(e);var t=this.next;null!=t&&t.prev===this&&t.statics.blotName===this.statics.blotName&&t.domNode.tagName===this.domNode.tagName&&t.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(t.moveChildren(this),t.remove())}replace(e){if(e.statics.blotName!==this.statics.blotName){var n=t.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}super.replace(e)}}return i.blotName="list",i.scope=t.Scope.BLOCK_BLOT,i.tagName=["OL","UL"],i.defaultChild="list-item",i.allowedChildren=[r],{"formats/list":i}}function Ep(e){var{Scope:t}=e.import("parchment");return{"formats/backgroundColor":new(e.import("formats/background").constructor)("backgroundColor","background-color",{scope:t.INLINE})}}function Cp(e){var{Scope:t,Attributor:n}=e.import("parchment"),r={scope:t.BLOCK},i={};return["margin","marginTop","marginBottom","marginLeft","marginRight"].concat(["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"]).forEach((e=>{i["formats/".concat(e)]=new n.Style(e,On(e),r)})),i}function Mp(e){var{Scope:t,Attributor:n}=e.import("parchment"),r={scope:t.INLINE},i={};return["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"].forEach((e=>{i["formats/".concat(e)]=new n.Style(e,On(e),r)})),i}function Op(e){var{Scope:t,Attributor:n}=e.import("parchment"),r=[{name:"lineHeight",scope:t.BLOCK},{name:"letterSpacing",scope:t.INLINE},{name:"textDecoration",scope:t.INLINE},{name:"textIndent",scope:t.BLOCK}],i={};return r.forEach((e=>{var{name:t,scope:r}=e;i["formats/".concat(t)]=new n.Style(t,On(t),{scope:r})})),i}function Ip(e){var t=e.import("formats/image"),n=["alt","height","width","data-custom","class","data-local"];t.sanitize=e=>e?Fu(e):e,t.formats=function(e){return n.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})};var r=t.prototype.format;t.prototype.format=function(e,t){n.indexOf(e)>-1?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):r.call(this,e,t)}}function Lp(e){var t=e.import("formats/link");t.sanitize=e=>{var n=document.createElement("a");n.href=e;var r=n.href.slice(0,n.href.indexOf(":"));return t.PROTOCOL_WHITELIST.concat("file").indexOf(r)>-1?e:t.SANITIZED_URL}}function Ap(e,t,n){var r,i,a;function o(){return{html:a.root.innerHTML,text:a.getText(),delta:a.getContents()}}function s(e){var t="data-placeholder",n=a.root;n.getAttribute(t)!==e&&n.setAttribute(t,e)}vo((()=>e.readOnly),(e=>{r&&(a.enable(!e),e||a.blur())})),vo((()=>e.placeholder),(e=>{r&&s(e)}));var l={};function u(e){var t=e?a.getFormat(e):{},r=Object.keys(t);(r.length!==Object.keys(l).length||r.find((e=>t[e]!==l[e])))&&(l=t,n("statuschange",{},t))}function c(){n("input",{},o())}function d(l){var d=window.Quill;!function(e){var t={divider:wp,ins:xp,align:Sp,direction:kp,list:Tp,background:Ep,box:Cp,font:Mp,text:Op,image:Ip,link:Lp},n={};Object.values(t).forEach((t=>un(n,t(e)))),e.register(n,!0)}(d);var h={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};l.length&&(d.register("modules/ImageResize",window.ImageResize.default),h.modules={ImageResize:{modules:l}});var f=t.value,p=(a=new d(f,h)).root;["focus","blur","input"].forEach((t=>{p.addEventListener(t,(r=>{var i=o();if("input"===t){if("ios"===Du().platform){var a=(i.html.match(/<span [\s\S]*>([\s\S]*)<\/span>/)||[])[1];s(a&&a.replace(/\s/g,"")?"":e.placeholder)}r.stopPropagation()}else n(t,r,i)}))})),a.on("text-change",c),a.on("selection-change",u),a.on("scroll-optimize",(()=>{u(a.selection.getRange()[0])})),a.clipboard.addMatcher(Node.ELEMENT_NODE,((e,t)=>(i||t.ops&&(t.ops=t.ops.filter((e=>{var{insert:t}=e;return gn(t)})).map((e=>{var{insert:t}=e;return{insert:t}}))),t))),r=!0,n("ready",{},{})}kg(((e,t,n)=>{var s,l,d,{options:h,callbackId:f}=t;if(r){var p=window.Quill;switch(e){case"format":var{name:v="",value:g=!1}=h;l=a.getSelection(!0);var m=a.getFormat(l)[v]||!1;if(["bold","italic","underline","strike","ins"].includes(v))g=!m;else if("direction"===v){g=("rtl"!==g||!m)&&g;var _=a.getFormat(l).align;"rtl"!==g||_?g||"right"!==_||a.format("align",!1,"user"):a.format("align","right","user")}else if("indent"===v){g="+1"===g,"rtl"===a.getFormat(l).direction&&(g=!g),g=g?"+1":"-1"}else"list"===v&&(g="check"===g?"unchecked":g,m="checked"===m?"unchecked":m),g=m&&m!==(g||!1)||!m&&g?g:!m;a.format(v,g,"user");break;case"insertDivider":l=a.getSelection(!0),a.insertText(l.index,Wn,"user"),a.insertEmbed(l.index+1,"divider",!0,"user"),a.setSelection(l.index+2,0,"silent");break;case"insertImage":l=a.getSelection(!0);var{src:y="",alt:b="",width:w="",height:x="",extClass:S="",data:k={}}=h,T=Fu(y);a.insertEmbed(l.index,"image",T,"silent");var E=!!/^(file|blob):/.test(T)&&T;a.formatText(l.index,1,"data-local",E,"silent"),a.formatText(l.index,1,"alt",b,"silent"),a.formatText(l.index,1,"width",w,"silent"),a.formatText(l.index,1,"height",x,"silent"),a.formatText(l.index,1,"class",S,"silent"),a.formatText(l.index,1,"data-custom",Object.keys(k).map((e=>"".concat(e,"=").concat(k[e]))).join("&"),"silent"),a.setSelection(l.index+1,0,"silent"),a.scrollIntoView(),setTimeout((()=>{c()}),1e3);break;case"insertText":l=a.getSelection(!0);var{text:C=""}=h;a.insertText(l.index,C,"user"),a.setSelection(l.index+C.length,0,"silent");break;case"setContents":var{delta:M,html:O}=h;"object"==typeof M?a.setContents(M,"silent"):gn(O)?a.setContents(function(e){var t,n=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"],r="";mp(e,{start:function(e,i,a){if(n.includes(e)){t=!1;var o=i.map((e=>{var{name:t,value:n}=e;return"".concat(t,'="').concat(n,'"')})).join(" "),s="<".concat(e," ").concat(o," ").concat(a?"/":"",">");r+=s}else t=!a},end:function(e){t||(r+="</".concat(e,">"))},chars:function(e){t||(r+=e)}}),i=!0;var o=a.clipboard.convert(r);return i=!1,o}(O),"silent"):d="contents is missing";break;case"getContents":s=o();break;case"clear":a.setText("");break;case"removeFormat":l=a.getSelection(!0);var I=p.import("parchment");l.length?a.removeFormat(l.index,l.length,"user"):Object.keys(a.getFormat(l)).forEach((e=>{I.query(e,I.Scope.INLINE)&&a.format(e,!1)}));break;case"undo":a.history.undo();break;case"redo":a.history.redo();break;case"blur":a.blur();break;case"getSelectionText":s={text:""},(l=a.selection.savedRange)&&0!==l.length&&(s.text=a.getText(l.index,l.length));break;case"scrollIntoView":a.scrollIntoView()}u(l)}else d="not ready";f&&n({callbackId:f,data:un({},s,{errMsg:"".concat(e,":").concat(d?"fail "+d:"ok")})})}),Eg(),!0),Oo((()=>{var t=[];e.showImgSize&&t.push("DisplaySize"),e.showImgToolbar&&t.push("Toolbar"),e.showImgResize&&t.push("Resize");bp(window.Quill,"./__uniappquill.js",(()=>{if(t.length){bp(window.ImageResize,"./__uniappquillimageresize.js",(()=>{d(t)}))}else d(t)}))}))}const Np=wf({name:"Editor",props:un({},ap,{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}}),emit:["ready","focus","blur","input","statuschange",...op],setup(e,t){var{emit:n}=t,r=Ta(null),i=Cf(r,n);return Ap(e,r,i),sp(e,r,i),()=>Ps("uni-editor",{ref:r,id:e.id,class:"ql-container"},null,8,["id"])}});var Bp="#10aeff",Rp="#b2b2b2",Pp={success:{d:"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.176zM24.832 11.328l-11.264 11.104q-0.032 0.032-0.112 0.032t-0.112-0.032l-5.216-5.376q-0.096-0.128 0-0.288l0.704-0.96q0.032-0.064 0.112-0.064t0.112 0.032l4.256 3.264q0.064 0.032 0.144 0.032t0.112-0.032l10.336-8.608q0.064-0.064 0.144-0.064t0.112 0.064l0.672 0.672q0.128 0.128 0 0.224z",c:Vn},success_no_circle:{d:ru,c:Vn},info:{d:"M15.808 0.128q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.176 3.776-2.176 8.16 0 4.224 2.176 7.872 2.080 3.552 5.632 5.632 3.648 2.176 7.872 2.176 4.384 0 8.16-2.176 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.416-2.176-8.16-2.112-3.616-5.728-5.728-3.744-2.176-8.16-2.176zM16.864 23.776q0 0.064-0.064 0.064h-1.568q-0.096 0-0.096-0.064l-0.256-11.328q0-0.064 0.064-0.064h2.112q0.096 0 0.064 0.064l-0.256 11.328zM16 10.88q-0.576 0-0.976-0.4t-0.4-0.96 0.4-0.96 0.976-0.4 0.976 0.4 0.4 0.96-0.4 0.96-0.976 0.4z",c:Bp},warn:{d:"M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z",c:"#f76260"},waiting:{d:"M15.84 0.096q-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.176zM23.008 21.92l-0.512 0.896q-0.096 0.128-0.224 0.064l-8-3.808q-0.096-0.064-0.16-0.128-0.128-0.096-0.128-0.288l0.512-12.096q0-0.064 0.048-0.112t0.112-0.048h1.376q0.064 0 0.112 0.048t0.048 0.112l0.448 10.848 6.304 4.256q0.064 0.064 0.080 0.128t-0.016 0.128z",c:Bp},cancel:{d:"M20.928 10.176l-4.928 4.928-4.928-4.928-0.896 0.896 4.928 4.928-4.928 4.928 0.896 0.896 4.928-4.928 4.928 4.928 0.896-0.896-4.928-4.928 4.928-4.928-0.896-0.896zM16 2.080q-3.776 0-7.040 1.888-3.136 1.856-4.992 4.992-1.888 3.264-1.888 7.040t1.888 7.040q1.856 3.136 4.992 4.992 3.264 1.888 7.040 1.888t7.040-1.888q3.136-1.856 4.992-4.992 1.888-3.264 1.888-7.040t-1.888-7.040q-1.856-3.136-4.992-4.992-3.264-1.888-7.040-1.888zM16 28.64q-3.424 0-6.4-1.728-2.848-1.664-4.512-4.512-1.728-2.976-1.728-6.4t1.728-6.4q1.664-2.848 4.512-4.512 2.976-1.728 6.4-1.728t6.4 1.728q2.848 1.664 4.512 4.512 1.728 2.976 1.728 6.4t-1.728 6.4q-1.664 2.848-4.512 4.512-2.976 1.728-6.4 1.728z",c:"#f43530"},download:{d:"M15.808 1.696q-3.776 0-7.072 1.984-3.2 1.888-5.088 5.152-1.952 3.392-1.952 7.36 0 3.776 1.952 7.072 1.888 3.2 5.088 5.088 3.296 1.952 7.072 1.952 3.968 0 7.36-1.952 3.264-1.888 5.152-5.088 1.984-3.296 1.984-7.072 0-4-1.984-7.36-1.888-3.264-5.152-5.152-3.36-1.984-7.36-1.984zM20.864 18.592l-3.776 4.928q-0.448 0.576-1.088 0.576t-1.088-0.576l-3.776-4.928q-0.448-0.576-0.24-0.992t0.944-0.416h2.976v-8.928q0-0.256 0.176-0.432t0.4-0.176h1.216q0.224 0 0.4 0.176t0.176 0.432v8.928h2.976q0.736 0 0.944 0.416t-0.24 0.992z",c:Vn},search:{d:"M20.928 22.688q-1.696 1.376-3.744 2.112-2.112 0.768-4.384 0.768-3.488 0-6.464-1.728-2.88-1.696-4.576-4.608-1.76-2.976-1.76-6.464t1.76-6.464q1.696-2.88 4.576-4.576 2.976-1.76 6.464-1.76t6.464 1.76q2.912 1.696 4.608 4.576 1.728 2.976 1.728 6.464 0 2.272-0.768 4.384-0.736 2.048-2.112 3.744l9.312 9.28-1.824 1.824-9.28-9.312zM12.8 23.008q2.784 0 5.184-1.376 2.304-1.376 3.68-3.68 1.376-2.4 1.376-5.184t-1.376-5.152q-1.376-2.336-3.68-3.68-2.4-1.408-5.184-1.408t-5.152 1.408q-2.336 1.344-3.68 3.68-1.408 2.368-1.408 5.152t1.408 5.184q1.344 2.304 3.68 3.68 2.368 1.376 5.152 1.376zM12.8 23.008v0z",c:Rp},clear:{d:"M16 0q-4.352 0-8.064 2.176-3.616 2.144-5.76 5.76-2.176 3.712-2.176 8.064t2.176 8.064q2.144 3.616 5.76 5.76 3.712 2.176 8.064 2.176t8.064-2.176q3.616-2.144 5.76-5.76 2.176-3.712 2.176-8.064t-2.176-8.064q-2.144-3.616-5.76-5.76-3.712-2.176-8.064-2.176zM22.688 21.408q0.32 0.32 0.304 0.752t-0.336 0.736-0.752 0.304-0.752-0.32l-5.184-5.376-5.376 5.184q-0.32 0.32-0.752 0.304t-0.736-0.336-0.304-0.752 0.32-0.752l5.376-5.184-5.184-5.376q-0.32-0.32-0.304-0.752t0.336-0.752 0.752-0.304 0.752 0.336l5.184 5.376 5.376-5.184q0.32-0.32 0.752-0.304t0.752 0.336 0.304 0.752-0.336 0.752l-5.376 5.184 5.184 5.376z",c:Rp}};const zp=wf({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=il((()=>Pp[e.type]));return()=>{var{value:n}=t;return Ps("uni-icon",null,[n&&n.d&&iu(n.d,e.color||n.c,eu(e.size))])}}});var Dp={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Fp={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},$p={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]};const jp=wf({name:"Image",props:Dp,setup(e,t){var{emit:n}=t,r=Ta(null),i=function(e,t){var n=Ta(""),r=il((()=>{var e="auto",r="",i=$p[t.mode];return i?(i[0]&&(r=i[0]),i[1]&&(e=i[1])):(r="0% 0%",e="100% 100%"),"background-image:".concat(n.value?'url("'+n.value+'")':"none",";background-position:").concat(r,";background-size:").concat(e,";")})),i=ca({rootEl:e,src:il((()=>t.src?Fu(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:r,imgSrc:n});return Oo((()=>{var t=e.value.style;i.origWidth=Number(t.width)||0,i.origHeight=Number(t.height)||0})),i}(r,e),a=Cf(r,n),{fixSize:o}=function(e,t,n){var r=()=>{var{mode:r}=t,i=Fp[r];if(i){var{origWidth:a,origHeight:o}=n,s=a&&o?a/o:0;if(s){var l=e.value,u=l[i[0]];u&&(l.style[i[1]]=function(e){Wp&&e>10&&(e=2*Math.round(e/2));return e}(i[2](u,s))+"px"),window.dispatchEvent(new CustomEvent("updateview"))}}},i=()=>{var{style:t}=e.value,{origStyle:{width:r,height:i}}=n;t.width=r,t.height=i};return vo((()=>t.mode),((e,t)=>{Fp[t]&&i(),Fp[e]&&r()})),{fixSize:r,resetSize:i}}(r,e,i);return function(e,t,n,r,i){var a,o,s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.origWidth=t,e.origHeight=n,e.imgSrc=r},l=l=>{if(!l)return u(),void s();(a=a||new Image).onload=e=>{var{width:c,height:d}=a;s(c,d,l),r(),a.draggable=t.draggable,o&&o.remove(),o=a,n.value.appendChild(a),u(),i("load",e,{width:c,height:d})},a.onerror=t=>{s(),u(),i("error",t,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},a.src=l},u=()=>{a&&(a.onload=null,a.onerror=null,a=null)};vo((()=>e.src),(e=>l(e))),vo((()=>e.imgSrc),(e=>{!e&&o&&(o.remove(),o=null)})),Oo((()=>l(e.src))),Ao((()=>u()))}(i,e,r,o,a),()=>Ps("uni-image",{ref:r},[Ps("div",{style:i.modeStyle},null,4),Fp[e.mode]?Ps(zf,{onResize:o},null,8,["onResize"]):Ps("span",null,null)],512)}});var Wp="Google Inc."===navigator.vendor;var Vp,Hp=ir(!0),Up=[],qp=0,Yp=e=>Up.forEach((t=>t.userAction=e));function Xp(){var e=ca({userAction:!1});return Oo((()=>{!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{userAction:!1};if(!Vp){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!qp&&Yp(!0),qp++,setTimeout((()=>{!--qp&&Yp(!1)}),0)}),Hp)})),Vp=!0}Up.push(e)}(e)})),Ao((()=>{var t,n;t=e,(n=Up.indexOf(t))>=0&&Up.splice(n,1)})),{state:e}}function Zp(){var e=ca({attrs:{}});return Oo((()=>{for(var t=Xs();t;){var n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function Gp(e,t){var n=document.activeElement;if(!n)return t({});var r={};["input","textarea"].includes(n.tagName.toLowerCase())&&(r.start=n.selectionStart,r.end=n.selectionEnd),t(r)}var Kp;function Jp(e,t){return"number"===t&&isNaN(Number(e))&&(e=""),null===e?"":String(e)}var Qp=un({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"}},ap),ev=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend",...op];function tv(e,t,n,r){var i=function(e,t,n){var r,{clearTimeout:i,setTimeout:a}=n,o=function(){i(r),r=a((()=>e.apply(this,arguments)),t)};return o.cancel=function(){i(r)},o}((n=>{t.value=Jp(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout});vo((()=>e.modelValue),i),vo((()=>e.value),i);var a=function(e,t){var n,r,i=0,a=function(){for(var a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];var l=Date.now();clearTimeout(n),r=()=>{r=null,i=l,e.apply(this,o)},l-i<t?n=setTimeout(r,t-(l-i)):r()};return a.cancel=function(){clearTimeout(n),r=null},a.flush=function(){clearTimeout(n),r&&r()},a}(((e,t)=>{i.cancel(),n("update:modelValue",t.value),n("update:value",t.value),r("input",e,t)}),100);return Mo((()=>{i.cancel(),a.cancel()})),{trigger:r,triggerInput:(e,t,n)=>{i.cancel(),a(e,t),n&&a.flush()}}}function nv(e,t){var{state:n}=Xp(),r=il((()=>e.autoFocus||e.focus));function i(){if(r.value){var e=t.value;if(e&&"plus"in window){var a=200-(Date.now()-Kp);a>0?setTimeout(i,a):(e.focus(),n.userAction||plus.key.showSoftKeybord())}else setTimeout(i,100)}}vo((()=>e.focus),(e=>{var n;e?i():(n=t.value)&&n.blur()})),Oo((()=>{Kp=Kp||Date.now(),r.value&&Ua(i)}))}function rv(e,t,n,r){Ur(ou(),"getSelectedTextRange",Gp);var{fieldRef:i,state:a,trigger:o}=function(e,t,n){var r=Ta(null),i=Cf(t,n),a=il((()=>{var t=Number(e.selectionStart);return isNaN(t)?-1:t})),o=il((()=>{var t=Number(e.selectionEnd);return isNaN(t)?-1:t})),s=il((()=>{var t=Number(e.cursor);return isNaN(t)?-1:t})),l=il((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t})),u=Jp(e.modelValue,e.type)||Jp(e.value,e.type),c=ca({value:u,valueOrigin:u,maxlength:l,focus:e.focus,composing:!1,selectionStart:a,selectionEnd:o,cursor:s});return vo((()=>c.focus),(e=>n("update:focus",e))),vo((()=>c.maxlength),(e=>c.value=c.value.slice(0,e))),{fieldRef:r,state:c,trigger:i}}(e,t,n),{triggerInput:s}=tv(e,a,n,o);nv(e,i),sp(e,i,o);var{state:l}=Zp();return function(e,t){var n=ho(Mf,!1);if(n){var r=Xs(),i={submit(){var n=r.proxy;return[n[e],gn(t)?n[t]:t.value]},reset(){gn(t)?r.proxy[t]="":t.value=""}};n.addField(i),Ao((()=>{n.removeField(i)}))}}("name",a),function(e,t,n,r,i,a){function o(){var n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function s(){var 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}vo([()=>t.selectionStart,()=>t.selectionEnd],o),vo((()=>t.cursor),s),vo((()=>e.value),(function(){var u=e.value;if(u){var c=function(e,r){e.stopPropagation(),vn(a)&&!1===a(e,t)||(t.value=u.value,t.composing&&n.ignoreCompositionEvent||i(e,{value:u.value,cursor:l(u)},r))};u.addEventListener("change",(e=>e.stopPropagation())),u.addEventListener("focus",(function(e){t.focus=!0,r("focus",e,{value:t.value}),o(),s()})),u.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,c(e,!0)),t.focus=!1,r("blur",e,{value:t.value,cursor:l(e.target)})})),u.addEventListener("input",c),u.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),u.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,c(e)),d(e)})),u.addEventListener("compositionupdate",d)}function d(e){n.ignoreCompositionEvent||r(e.type,e,{value:e.data})}}))}(i,a,e,o,s,r),{fieldRef:i,state:a,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:o}}var iv=["none","text","decimal","numeric","tel","search","email","url"];const av=wf({name:"Input",props:un({},Qp,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""},inputmode:{type:String,default:void 0,validator:e=>!!~iv.indexOf(e)}}),emits:["confirm",...ev],setup(e,t){var n,{emit:r}=t,i=["text","number","idcard","digit","password","tel"],a=["off","one-time-code"],o=il((()=>{var t="";switch(e.type){case"text":"search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~i.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=il((()=>{var t=a.indexOf(e.textContentType),n=a.indexOf(On(e.textContentType));return a[-1!==t?t:-1!==n?n:0]})),l=Ta(""),u=Ta(null),{fieldRef:c,state:d,scopedAttrsState:h,fixDisabledColor:f,trigger:p}=rv(e,u,r,((e,t)=>{var r=e.target;if("number"===o.value){if(n&&(r.removeEventListener("blur",n),n=null),r.validity&&!r.validity.valid){if((!l.value||!r.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",n=()=>{l.value=r.value=""},r.addEventListener("blur",n),!1;if(l.value)if(-1!==l.value.indexOf(".")){if("."!==e.data&&"deleteContentBackward"===e.inputType){var i=l.value.indexOf(".");return l.value=r.value=t.value=l.value.slice(0,i),!0}}else if("."===e.data)return l.value+=".",n=()=>{l.value=r.value=l.value.slice(0,-1)},r.addEventListener("blur",n),!1;return l.value=t.value=r.value="-"===l.value?"":l.value,!1}l.value=r.value;var a=t.maxlength;if(a>0&&r.value.length>a)return r.value=r.value.slice(0,a),t.value=r.value,!1}}));vo((()=>d.value),(t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t)}));var v=["number","digit"],g=il((()=>v.includes(e.type)?e.step:""));function m(t){if("Enter"===t.key){var n=t.target;t.stopPropagation(),p("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}}return()=>{var t=e.disabled&&f?Ps("input",{key:"disabled-input",ref:c,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:o.value,maxlength:d.maxlength,step:g.value,class:"uni-input-input",onFocus:e=>e.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):Ps("input",{key:"input",ref:c,value:d.value,disabled:!!e.disabled,type:o.value,maxlength:d.maxlength,step:g.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",autocomplete:s.value,onKeyup:m,inputmode:e.inputmode},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return Ps("uni-input",{ref:u},[Ps("div",{class:"uni-input-wrapper"},[Do(Ps("div",Vs(h.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Al,!(d.value.length||"-"===l.value)]]),"search"===e.confirmType?Ps("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});function ov(e){return Object.keys(e).map((t=>[t,e[t]]))}var sv,lv,uv=["class","style"],cv=/^on[A-Z]+/,dv=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{excludeListeners:t=!1,excludeKeys:n=[]}=e,r=Xs(),i=Ea({}),a=Ea({}),o=Ea({}),s=n.concat(uv);return r.attrs=ca(r.attrs),fo((()=>{var e=ov(r.attrs).reduce(((e,n)=>{var[r,i]=n;return s.includes(r)?e.exclude[r]=i:cv.test(r)?(t||(e.attrs[r]=i),e.listeners[r]=i):e.attrs[r]=i,e}),{exclude:{},attrs:{},listeners:{}});i.value=e.attrs,a.value=e.listeners,o.value=e.exclude})),{$attrs:i,$listeners:a,$excludeAttrs:o}};function hv(){or((()=>{sv||(sv=plus.webview.currentWebview()),lv||(lv=(sv.getStyle()||{}).pullToRefresh||{})}))}function fv(e){var{disable:t}=e;lv&&lv.support&&sv.setPullToRefresh(Object.assign({},lv,{support:!t}))}function pv(e){var t=[];return fn(e)&&e.forEach((e=>{Is(e)?e.type===Ts?t.push(...pv(e.children)):t.push(e):fn(e)&&t.push(...pv(e))})),t}function vv(e){Xs().rebuild=e}const gv=wf({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,t){var{slots:n}=t,r=Ta(null),i=Ta(!1),{setContexts:a,events:o}=function(e,t){var n=Ta(0),r=Ta(0),i=ca({x:null,y:null}),a=Ta(null),o=null,s=[];function l(t){t&&1!==t&&(e.scaleArea?s.forEach((function(e){e._setScale(t)})):o&&o._setScale(t))}function u(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,r=t.value;function i(e){for(var t=0;t<n.length;t++){var a=n[t];if(e===a.rootRef.value)return a}return e===r||e===document.body||e===document?null:i(e.parentNode)}return i(e)}var c=Ef((t=>{fv({disable:!0});var n=t.touches;if(n&&n.length>1){var r={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(a.value=mv(r),i.x=r.x,i.y=r.y,!e.scaleArea){var s=u(n[0].target),l=u(n[1].target);o=s&&s===l?s:null}}})),d=Ef((e=>{var t=e.touches;if(t&&t.length>1){e.preventDefault();var n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==i.x&&a.value&&a.value>0)l(mv(n)/a.value);i.x=n.x,i.y=n.y}})),h=Ef((t=>{fv({disable:!1});var n=t.touches;n&&n.length||t.changedTouches&&(i.x=0,i.y=0,a.value=null,e.scaleArea?s.forEach((function(e){e._endScale()})):o&&o._endScale())}));function f(){p(),s.forEach((function(e,t){e.setParent()}))}function p(){var e=window.getComputedStyle(t.value),i=t.value.getBoundingClientRect();n.value=i.width-["Left","Right"].reduce((function(t,n){var r="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[r])}),0),r.value=i.height-["Top","Bottom"].reduce((function(t,n){var r="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[r])}),0)}return co("movableAreaWidth",n),co("movableAreaHeight",r),{setContexts(e){s=e},events:{_onTouchstart:c,_onTouchmove:d,_onTouchend:h,_resize:f}}}(e,r),{$listeners:s,$attrs:l,$excludeAttrs:u}=dv(),c=s.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{var t=c[e],n=o["_".concat(e)];c[e]=t?[].concat(t,n):n})),Oo((()=>{o._resize(),hv(),i.value=!0}));var d=[],h=[];function f(){for(var e=[],t=function(){var t=d[n];t instanceof Element||(t=t.el);var r=h.find((e=>t===e.rootRef.value));r&&e.push(ya(r))},n=0;n<d.length;n++)t();a(e)}vv((()=>{d=r.value.children,f()}));return co("_isMounted",i),co("movableAreaRootRef",r),co("addMovableViewContext",(e=>{h.push(e),f()})),co("removeMovableViewContext",(e=>{var t=h.indexOf(e);t>=0&&(h.splice(t,1),f())})),()=>(n.default&&n.default(),Ps("uni-movable-area",Vs({ref:r},l.value,u.value,c),[Ps(zf,{onReize:o._resize},null,8,["onReize"]),d],16))}});function mv(e){return Math.sqrt(e.x*e.x+e.y*e.y)}var _v,yv,bv=function(e,t,n,r){e.addEventListener(t,(e=>{vn(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};function wv(e,t,n){Ao((()=>{document.removeEventListener("mousemove",_v),document.removeEventListener("mouseup",yv)}));var r,i,a=0,o=0,s=0,l=0,u=function(e,n,r,i){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:r,y:i,dx:r-a,dy:i-o,ddx:r-s,ddy:i-l,timeStamp:e.timeStamp}}))return!1},c=null;bv(e,"touchstart",(function(e){if(r=!0,1===e.touches.length&&!c)return c=e,a=s=e.touches[0].pageX,o=l=e.touches[0].pageY,u(e,"start",a,o)})),bv(e,"mousedown",(function(e){if(i=!0,!r&&!c)return c=e,a=s=e.pageX,o=l=e.pageY,u(e,"start",a,o)})),bv(e,"touchmove",(function(e){if(1===e.touches.length&&c){var t=u(e,"move",e.touches[0].pageX,e.touches[0].pageY);return s=e.touches[0].pageX,l=e.touches[0].pageY,t}}));var d=_v=function(e){if(!r&&i&&c){var t=u(e,"move",e.pageX,e.pageY);return s=e.pageX,l=e.pageY,t}};document.addEventListener("mousemove",d),bv(e,"touchend",(function(e){if(0===e.touches.length&&c)return r=!1,c=null,u(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));var h=yv=function(e){if(i=!1,!r&&c)return c=null,u(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",h),bv(e,"touchcancel",(function(e){if(c){r=!1;var t=c;return c=null,u(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function xv(e,t,n){return e>t-n&&e<t+n}function Sv(e,t){return xv(e,0,t)}function kv(){}function Tv(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function Ev(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function Cv(e,t,n){this._springX=new Ev(e,t,n),this._springY=new Ev(e,t,n),this._springScale=new Ev(e,t,n),this._startTime=0}function Mv(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}kv.prototype.x=function(e){return Math.sqrt(e)},Tv.prototype.setV=function(e,t){var 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()},Tv.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},Tv.prototype.s=function(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t,this._lastDt=e);var 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}},Tv.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}},Tv.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}},Tv.prototype.dt=function(){return-this._x_v/this._x_a},Tv.prototype.done=function(){var e=xv(this.s().x,this._endPositionX)||xv(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Tv.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Tv.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Ev.prototype._solve=function(e,t){var n=this._c,r=this._m,i=this._k,a=n*n-4*r*i;if(0===a){var o=-n/(2*r),s=e,l=t/(o*e);return{x:function(e){return(s+l*e)*Math.pow(Math.E,o*e)},dx:function(e){var t=Math.pow(Math.E,o*e);return o*(s+l*e)*t+l*t}}}if(a>0){var u=(-n-Math.sqrt(a))/(2*r),c=(-n+Math.sqrt(a))/(2*r),d=(t-u*e)/(c-u),h=e-d;return{x:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),h*t+d*n},dx:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),h*u*t+d*c*n}}}var f=Math.sqrt(4*r*i-n*n)/(2*r),p=-n/2*r,v=e,g=(t-p*e)/f;return{x:function(e){return Math.pow(Math.E,p*e)*(v*Math.cos(f*e)+g*Math.sin(f*e))},dx:function(e){var t=Math.pow(Math.E,p*e),n=Math.cos(f*e),r=Math.sin(f*e);return t*(g*f*n-v*f*r)+p*t*(g*r+v*n)}}},Ev.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Ev.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Ev.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Sv(t,.1)){t=t||0;var r=this._endPosition;this._solution&&(Sv(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),Sv(t,.1)&&(t=0),Sv(r,.1)&&(r=0),r+=this._endPosition),this._solution&&Sv(r-e,.1)&&Sv(t,.1)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,t),this._startTime=n)}},Ev.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Ev.prototype.done=function(e){return e||(e=(new Date).getTime()),xv(this.x(),this._endPosition,.1)&&Sv(this.dx(),.1)},Ev.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())},Ev.prototype.springConstant=function(){return this._k},Ev.prototype.damping=function(){return this._c},Ev.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}]},Cv.prototype.setEnd=function(e,t,n,r){var i=(new Date).getTime();this._springX.setEnd(e,r,i),this._springY.setEnd(t,r,i),this._springScale.setEnd(n,r,i),this._startTime=i},Cv.prototype.x=function(){var e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},Cv.prototype.done=function(){var e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Cv.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 Ov=wf({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:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},emits:["change","scale"],setup(e,t){var{slots:n,emit:r}=t,i=Ta(null),a=Cf(i,r),{setParent:o}=function(e,t,n){var r,i,a=ho("_isMounted",Ta(!1)),o=ho("addMovableViewContext",(()=>{})),s=ho("removeMovableViewContext",(()=>{})),l=Ta(1),u=Ta(1),c=Ta(!1),d=Ta(0),h=Ta(0),f=null,p=null,v=!1,g=null,m=null,_=new kv,y=new kv,b={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=il((()=>{var t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new Tv(1,w.value);vo((()=>e.disabled),(()=>{U()}));var{_updateOldScale:S,_endScale:k,_setScale:T,scaleValueSync:E,_updateBoundary:C,_updateOffset:M,_updateWH:O,_scaleOffset:I,minX:L,minY:A,maxX:N,maxY:B,FAandSFACancel:R,_getLimitXY:P,_setTransform:z,_revise:D,dampingNumber:F,xMove:$,yMove:j,xSync:W,ySync:V,_STD:H}=function(e,t,n,r,i,a,o,s,l,u){var c=il((()=>{var t=Number(e.scaleMin);return isNaN(t)?.5:t})),d=il((()=>{var t=Number(e.scaleMax);return isNaN(t)?10:t})),h=Ta(Number(e.scaleValue)||1);vo(h,(e=>{z(e)})),vo(c,(()=>{P()})),vo(d,(()=>{P()})),vo((()=>e.scaleValue),(e=>{h.value=Number(e)||0}));var{_updateBoundary:f,_updateOffset:p,_updateWH:v,_scaleOffset:g,minX:m,minY:_,maxX:y,maxY:b}=function(e,t,n){var r=ho("movableAreaWidth",Ta(0)),i=ho("movableAreaHeight",Ta(0)),a=ho("movableAreaRootRef"),o={x:0,y:0},s={x:0,y:0},l=Ta(0),u=Ta(0),c=Ta(0),d=Ta(0),h=Ta(0),f=Ta(0);function p(){var e=0-o.x+s.x,t=r.value-l.value-o.x-s.x;c.value=Math.min(e,t),h.value=Math.max(e,t);var n=0-o.y+s.y,a=i.value-u.value-o.y-s.y;d.value=Math.min(n,a),f.value=Math.max(n,a)}function v(){o.x=Av(e.value,a.value),o.y=Nv(e.value,a.value)}function g(r){r=r||t.value,r=n(r);var i=e.value.getBoundingClientRect();u.value=i.height/t.value,l.value=i.width/t.value;var a=u.value*r,o=l.value*r;s.x=(o-l.value)/2,s.y=(a-u.value)/2}return{_updateBoundary:p,_updateOffset:v,_updateWH:g,_scaleOffset:s,minX:c,minY:d,maxX:h,maxY:f}}(t,r,R),{FAandSFACancel:w,_getLimitXY:x,_animationTo:S,_setTransform:k,_revise:T,dampingNumber:E,xMove:C,yMove:M,xSync:O,ySync:I,_STD:L}=function(e,t,n,r,i,a,o,s,l,u,c,d,h,f){var p=il((()=>{var e=Number(t.damping);return isNaN(e)?20:e})),v=il((()=>"all"===t.direction||"horizontal"===t.direction)),g=il((()=>"all"===t.direction||"vertical"===t.direction)),m=Ta(Rv(t.x)),_=Ta(Rv(t.y));vo((()=>t.x),(e=>{m.value=Rv(e)})),vo((()=>t.y),(e=>{_.value=Rv(e)})),vo(m,(e=>{T(e)})),vo(_,(e=>{E(e)}));var y=new Cv(1,9*Math.pow(p.value,2)/40,p.value);function b(e,t){var n=!1;return e>i.value?(e=i.value,n=!0):e<o.value&&(e=o.value,n=!0),t>a.value?(t=a.value,n=!0):t<s.value&&(t=s.value,n=!0),{x:e,y:t,outOfBounds:n}}function w(){d&&d.cancel(),c&&c.cancel()}function x(e,n,i,a,o,s){w(),v.value||(e=l.value),g.value||(n=u.value),t.scale||(i=r.value);var d=b(e,n);e=d.x,n=d.y,t.animation?(y._springX._solution=null,y._springY._solution=null,y._springScale._solution=null,y._springX._endPosition=l.value,y._springY._endPosition=u.value,y._springScale._endPosition=r.value,y.setEnd(e,n,i,1),c=Bv(y,(function(){var e=y.x();S(e.x,e.y,e.scale,a,o,s)}),(function(){c.cancel()}))):S(e,n,i,a,o,s)}function S(i,a,o){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",c=arguments.length>4?arguments[4]:void 0,d=arguments.length>5?arguments[5]:void 0;null!==i&&"NaN"!==i.toString()&&"number"==typeof i||(i=l.value||0),null!==a&&"NaN"!==a.toString()&&"number"==typeof a||(a=u.value||0),i=Number(i.toFixed(1)),a=Number(a.toFixed(1)),o=Number(o.toFixed(1)),l.value===i&&u.value===a||c||f("change",{},{x:Mv(i,n.x),y:Mv(a,n.y),source:s}),t.scale||(o=r.value),o=+(o=h(o)).toFixed(3),d&&o!==r.value&&f("scale",{},{x:i,y:a,scale:o});var p="translateX("+i+"px) translateY("+a+"px) translateZ(0px) scale("+o+")";e.value&&(e.value.style.transform=p,e.value.style.webkitTransform=p,l.value=i,u.value=a,r.value=o)}function k(e){var t=b(l.value,u.value),n=t.x,i=t.y,a=t.outOfBounds;return a&&x(n,i,r.value,e),a}function T(e){if(v.value){if(e+n.x===l.value)return l;c&&c.cancel(),x(e+n.x,_.value+n.y,r.value)}return e}function E(e){if(g.value){if(e+n.y===u.value)return u;c&&c.cancel(),x(m.value+n.x,e+n.y,r.value)}return e}return{FAandSFACancel:w,_getLimitXY:b,_animationTo:x,_setTransform:S,_revise:k,dampingNumber:p,xMove:v,yMove:g,xSync:m,ySync:_,_STD:y}}(t,e,g,r,y,b,m,_,o,s,l,u,R,n);function A(t,n){if(e.scale){t=R(t),v(t),f();var r=x(o.value,s.value),i=r.x,a=r.y;n?S(i,a,t,"",!0,!0):Lv((function(){k(i,a,t,"",!0,!0)}))}}function N(){a.value=!0}function B(e){i.value=e}function R(e){return e=Math.max(.5,c.value,e),e=Math.min(10,d.value,e)}function P(){if(!e.scale)return!1;A(r.value,!0),B(r.value)}function z(t){return!!e.scale&&(A(t=R(t),!0),B(t),t)}function D(){a.value=!1,B(r.value)}function F(e){e&&(e=i.value*e,N(),A(e))}return{_updateOldScale:B,_endScale:D,_setScale:F,scaleValueSync:h,_updateBoundary:f,_updateOffset:p,_updateWH:v,_scaleOffset:g,minX:m,minY:_,maxX:y,maxY:b,FAandSFACancel:w,_getLimitXY:x,_animationTo:S,_setTransform:k,_revise:T,dampingNumber:E,xMove:C,yMove:M,xSync:O,ySync:I,_STD:L}}(e,n,t,l,u,c,d,h,f,p);function U(){c.value||e.disabled||(fv({disable:!0}),R(),b.historyX=[0,0],b.historyY=[0,0],b.historyT=[0,0],$.value&&(r=d.value),j.value&&(i=h.value),n.value.style.willChange="transform",g=null,m=null,v=!0)}function q(t){if(!c.value&&!e.disabled&&v){var n=d.value,a=h.value;if(null===m&&(m=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),$.value&&(n=t.detail.dx+r,b.historyX.shift(),b.historyX.push(n),j.value||null!==g||(g=Math.abs(t.detail.dx/t.detail.dy)<1)),j.value&&(a=t.detail.dy+i,b.historyY.shift(),b.historyY.push(a),$.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();var o="touch";n<L.value?e.outOfBounds?(o="touch-out-of-bounds",n=L.value-_.x(L.value-n)):n=L.value:n>N.value&&(e.outOfBounds?(o="touch-out-of-bounds",n=N.value+_.x(n-N.value)):n=N.value),a<A.value?e.outOfBounds?(o="touch-out-of-bounds",a=A.value-y.x(A.value-a)):a=A.value:a>B.value&&(e.outOfBounds?(o="touch-out-of-bounds",a=B.value+y.x(a-B.value)):a=B.value),Lv((function(){z(n,a,l.value,o)}))}}}function Y(){if(!c.value&&!e.disabled&&v&&(fv({disable:!1}),n.value.style.willChange="auto",v=!1,!g&&!D("out-of-bounds")&&e.inertia)){var t=1e3*(b.historyX[1]-b.historyX[0])/(b.historyT[1]-b.historyT[0]),r=1e3*(b.historyY[1]-b.historyY[0])/(b.historyT[1]-b.historyT[0]),i=d.value,a=h.value;x.setV(t,r),x.setS(i,a);var o=x.delta().x,s=x.delta().y,u=o+i,f=s+a;u<L.value?(u=L.value,f=a+(L.value-i)*s/o):u>N.value&&(u=N.value,f=a+(N.value-i)*s/o),f<A.value?(f=A.value,u=i+(A.value-a)*o/s):f>B.value&&(f=B.value,u=i+(B.value-a)*o/s),x.setEnd(u,f),p=Bv(x,(function(){var e=x.s(),t=e.x,n=e.y;z(t,n,l.value,"friction")}),(function(){p.cancel()}))}e.outOfBounds||e.inertia||R()}function X(){if(a.value){R();var t=e.scale?E.value:1;M(),O(t),C();var n=P(W.value+I.x,V.value+I.y),r=n.x,i=n.y;z(r,i,t,"",!0),S(t)}}return Oo((()=>{wv(n.value,(e=>{switch(e.detail.state){case"start":U();break;case"move":q(e);break;case"end":Y()}})),X(),x.reconfigure(1,w.value),H.reconfigure(1,9*Math.pow(F.value,2)/40,F.value),n.value.style.transformOrigin="center",hv();var e={rootRef:n,setParent:X,_endScale:k,_setScale:T};o(e),No((()=>{s(e)}))})),No((()=>{R()})),{setParent:X}}(e,a,i);return()=>Ps("uni-movable-view",{ref:i},[Ps(zf,{onResize:o},null,8,["onResize"]),n.default&&n.default()],512)}});var Iv=!1;function Lv(e){Iv||(Iv=!0,requestAnimationFrame((function(){e(),Iv=!1})))}function Av(e,t){if(e===t)return 0;var n=e.offsetLeft;return e.offsetParent?n+=Av(e.offsetParent,t):0}function Nv(e,t){if(e===t)return 0;var n=e.offsetTop;return e.offsetParent?n+=Nv(e.offsetParent,t):0}function Bv(e,t,n){var r={id:0,cancelled:!1};return function e(t,n,r,i){if(!t||!t.cancelled){r(n);var a=n.done();a||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,r,i))),a&&i&&i(n)}}(r,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,r),model:e}}function Rv(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}var Pv=["navigate","redirect","switchTab","reLaunch","navigateBack"],zv=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],Dv=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"];const Fv=wf({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:{hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~Pv.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||zv.concat(Dv).includes(e)},animationDuration:{type:[String,Number],default:300}},setup(e,t){var{slots:n}=t,r=Xs(),i=r&&r.vnode.scopeId||"",{hovering:a,binding:o}=kf(e),s=function(e){return()=>{if("navigateBack"===e.openType||e.url){var t=parseInt(e.animationDuration);switch(e.openType){case"navigate":uni.navigateTo({url:e.url,animationType:e.animationType||"pop-in",animationDuration:t});break;case"redirect":uni.redirectTo({url:e.url,exists:e.exists});break;case"switchTab":uni.switchTab({url:e.url});break;case"reLaunch":uni.reLaunch({url:e.url});break;case"navigateBack":uni.navigateBack({delta:e.delta,animationType:e.animationType||"pop-out",animationDuration:t})}}else console.error("<navigator/> should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}(e);return()=>{var{hoverClass:t,url:l}=e,u=e.hoverClass&&"none"!==e.hoverClass;return Ps("a",{class:"navigator-wrap",href:l,onClick:Zl,onMousedown:Zl},[Ps("uni-navigator",Vs({class:u&&a.value?t:""},u&&o,r?r.attrs:{},{[i]:""},{onClick:s}),[n.default&&n.default()],16,["onClick"])],40,["href","onClick","onMousedown"])}}});const $v=wf({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return fn(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,t){var{slots:n,emit:r}=t,i=Ta(null),a=Ta(null),o=Cf(i,r),s=function(e){var t=ca([...e.value]),n=ca({value:t,height:34});return vo((()=>e.value),((e,t)=>{(e===t||e.length!==t.length||e.findIndex(((e,n)=>e!==t[n]))>=0)&&(n.value.length=e.length,e.forEach(((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)})))})),n}(e),l=Ta(null),u=Ta([]),c=Ta([]);function d(e){var t=c.value;if(t instanceof HTMLCollection)return Array.prototype.indexOf.call(t,e.el);var n=(t=t.filter((e=>e.type!==Cs))).indexOf(e);return-1!==n?n:u.value.indexOf(e)}return co("getPickerViewColumn",(function(e){return il({get(){var t=d(e.vnode);return s.value[t]||0},set(t){var n=d(e.vnode);if(!(n<0)&&s.value[n]!==t){s.value[n]=t;var i=s.value.map((e=>e));r("update:value",i),o("change",{},{value:i})}}})})),co("pickerViewProps",e),co("pickerViewState",s),vv((()=>{var e;e=l.value,s.height=e.$el.offsetHeight,c.value=a.value.children})),()=>{var e=n.default&&n.default();return Ps("uni-picker-view",{ref:i},[Ps(zf,{ref:l,onResize:e=>{var{height:t}=e;return s.height=t}},null,8,["onResize"]),Ps("div",{ref:a,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class jv{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);var t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);var t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){var t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){var e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function Wv(e,t,n){return e>t-n&&e<t+n}function Vv(e,t){return Wv(e,0,t)}class Hv{constructor(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}_solve(e,t){var n=this._c,r=this._m,i=this._k,a=n*n-4*r*i;if(0===a){var o=-n/(2*r),s=e,l=t/(o*e);return{x:function(e){return(s+l*e)*Math.pow(Math.E,o*e)},dx:function(e){var t=Math.pow(Math.E,o*e);return o*(s+l*e)*t+l*t}}}if(a>0){var u=(-n-Math.sqrt(a))/(2*r),c=(-n+Math.sqrt(a))/(2*r),d=(t-u*e)/(c-u),h=e-d;return{x:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),h*t+d*n},dx:function(e){var t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,u*e)),n||(n=this._powER2T=Math.pow(Math.E,c*e)),h*u*t+d*c*n}}}var f=Math.sqrt(4*r*i-n*n)/(2*r),p=-n/2*r,v=e,g=(t-p*e)/f;return{x:function(e){return Math.pow(Math.E,p*e)*(v*Math.cos(f*e)+g*Math.sin(f*e))},dx:function(e){var t=Math.pow(Math.E,p*e),n=Math.cos(f*e),r=Math.sin(f*e);return t*(g*f*n-v*f*r)+p*t*(g*r+v*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Vv(t,.4)){t=t||0;var r=this._endPosition;this._solution&&(Vv(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),Vv(t,.4)&&(t=0),Vv(r,.4)&&(r=0),r+=this._endPosition),this._solution&&Vv(r-e,.4)&&Vv(t,.4)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),Wv(this.x(),this._endPosition,.4)&&Vv(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class Uv{constructor(e,t,n){this._extent=e,this._friction=t||new jv(.01),this._spring=n||new Hv(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){var t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){var e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class qv{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new Uv(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){var n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)<this._itemSize&&Math.abs(n.y)<300||Math.abs(n.y)<150))return void this.snap();if(this._enableX&&(Math.abs(e)<this._itemSize&&Math.abs(n.x)<300||Math.abs(n.x)<150))return void this.snap()}var r,i,a;if(this._enableX?this._scroll.set(this._position,n.x):this._enableY&&this._scroll.set(this._position,n.y),this._enableSnap){var o=this._scroll._friction.x(100),s=o%this._itemSize;(r=Math.abs(s)>this._itemSize/2?o-(this._itemSize-Math.abs(s)):o-s)<=0&&r>=-this._extent&&this._scroll.setVelocityByEnd(r)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=(i=this._scroll,function e(t,n,r,i){if(!t||!t.cancelled){r(n);var a=n.done();a||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,r,i))),a&&i&&i(n)}}(a={id:0,cancelled:!1},i,(()=>{var e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();var r=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/r),this._lastTime=e)}),(()=>{this._enableSnap&&(r<=0&&r>=-this._extent&&(this._position=r,this.updatePosition()),vn(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,a),model:i})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){var e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),vn(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);var n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(vn(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;var e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){var r=0,i=this._position;this._enableX?(r=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(r=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-r?this._position=-r:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),i!==this._position&&(this.dispatchScroll(),vn(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=r,this._scroll._extent=r}updatePosition(){var e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}var Yv=0;const Xv=wf({name:"PickerViewColumn",setup(e,t){var n,r,{slots:i,emit:a}=t,o=Ta(null),s=Ta(null),l=ho("getPickerViewColumn"),u=Xs(),c=l?l(u):Ta(0),d=ho("pickerViewProps"),h=ho("pickerViewState"),f=Ta(34),p=Ta(null),v=il((()=>(h.height-f.value)/2)),{state:g}=Zp(),m=function(e){var t="uni-picker-view-content-".concat(Yv++);return vo((()=>e.value),(function(){var n=document.createElement("style");n.innerText=".uni-picker-view-content.".concat(t,">*{height: ").concat(e.value,"px;overflow: hidden;}"),document.head.appendChild(n)})),t}(f),_=ca({current:c.value,length:0});function y(){n&&!r&&(r=!0,Ua((()=>{r=!1;var e=Math.min(_.current,_.length-1);e=Math.max(e,0),n.update(e*f.value,void 0,f.value)})))}vo((()=>c.value),(e=>{e!==_.current&&(_.current=e,y())})),vo((()=>_.current),(e=>c.value=e)),vo([()=>f.value,()=>_.length,()=>h.height],y);var b=0;function w(e){var t=b+e.deltaY;if(Math.abs(t)>10){b=0;var r=Math.min(_.current+(t<0?-1:1),_.length-1);_.current=r=Math.max(r,0),n.scrollTo(r*f.value)}else b=t;e.preventDefault()}function x(e){var{clientY:t}=e,r=o.value;if(!n.isScrolling()){var i=t-r.getBoundingClientRect().top-h.height/2,a=f.value/2;if(!(Math.abs(i)<=a)){var s=Math.ceil((Math.abs(i)-a)/f.value),l=i<0?-s:s,u=Math.min(_.current+l,_.length-1);_.current=u=Math.max(u,0),n.scrollTo(u*f.value)}}}var S=()=>{var e,t,r,i=o.value,a=s.value,{scroller:l,handleTouchStart:u,handleTouchMove:c,handleTouchEnd:d}=function(e,t){var n={trackingID:-1,maxDy:0,maxDx:0},r=new qv(e,t);function i(e){var t=e,r=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:r.screenX-n.x,y:r.screenY-n.y}}return{scroller:r,handleTouchStart:function(e){var t=e,i=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=i.screenX,n.y=i.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||i.timeStamp],n.listener=r,r.onTouchStart&&r.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){var t=e,r=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();var a=i(e);if(a){for(n.maxDy=Math.max(n.maxDy,Math.abs(a.y)),n.maxDx=Math.max(n.maxDx,Math.abs(a.x)),n.historyX.push(a.x),n.historyY.push(a.y),n.historyTime.push(t.detail.timeStamp||r.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(a.x,a.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();var t=i(e);if(t){var r=n.listener;n.trackingID=-1,n.listener=null;var a={x:0,y:0};if(n.historyTime.length>2)for(var o=n.historyTime.length-1,s=n.historyTime[o],l=n.historyX[o],u=n.historyY[o];o>0;){o--;var c=s-n.historyTime[o];if(c>30&&c<50){a.x=(l-n.historyX[o])/(c/1e3),a.y=(u-n.historyY[o])/(c/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],r&&r.onTouchEnd&&r.onTouchEnd(t.x,t.y,a)}}}}}(a,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:f.value,friction:new jv(1e-4),spring:new Hv(2,90,20),onSnap:e=>{isNaN(e)||e===_.current||(_.current=e)}});n=l,wv(i,(e=>{switch(e.detail.state){case"start":u(e),fv({disable:!0});break;case"move":c(e),e.stopPropagation();break;case"end":case"cancel":d(e),fv({disable:!1})}}),!0),t=0,r=0,(e=i).addEventListener("touchstart",(e=>{var n=e.changedTouches[0];t=n.clientX,r=n.clientY})),e.addEventListener("touchend",(e=>{var n=e.changedTouches[0];if(Math.abs(n.clientX-t)<20&&Math.abs(n.clientY-r)<20){var i={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},a=new CustomEvent("click",i);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((e=>{a[e]=n[e]})),e.target.dispatchEvent(a)}})),hv(),y()},k=!1;return vv((()=>{var e;_.length=s.value.children.length,k||(k=!0,e=p.value,f.value=e.$el.offsetHeight,S())})),()=>{var e=i.default&&i.default(),t="".concat(v.value,"px 0");return Ps("uni-picker-view-column",{ref:o},[Ps("div",{onWheel:w,onClick:x,class:"uni-picker-view-group"},[Ps("div",Vs(g.attrs,{class:["uni-picker-view-mask",d.maskClass],style:"background-size: 100% ".concat(v.value,"px;").concat(d.maskStyle)}),null,16),Ps("div",Vs(g.attrs,{class:["uni-picker-view-indicator",d.indicatorClass],style:d.indicatorStyle}),[Ps(zf,{ref:p,onResize:e=>{var{height:t}=e;return f.value=t}},null,8,["onResize"])],16),Ps("div",{ref:s,class:["uni-picker-view-content",m],style:{padding:t}},[e],6)],40,["onWheel","onClick"])],512)}}});var Zv=Vn,Gv="backwards";const Kv=wf({name:"Progress",props:{percent:{type:[Number,String],default:0,validator:e=>!isNaN(parseFloat(e))},fontSize:{type:[String,Number],default:16},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator:e=>!isNaN(parseFloat(e))},color:{type:String,default:Zv},activeColor:{type:String,default:Zv},backgroundColor:{type:String,default:"#EBEBEB"},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:Gv},duration:{type:[Number,String],default:30,validator:e=>!isNaN(parseFloat(e))},borderRadius:{type:[Number,String],default:0}},setup(e){var t=function(e){var t=Ta(0),n=il((()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;"))),r=il((()=>{var n=e.color!==Zv&&e.activeColor===Zv?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(n)})),i=il((()=>{var t=parseFloat(e.percent);return t<0&&(t=0),t>100&&(t=100),t})),a=ca({outerBarStyle:n,innerBarStyle:r,realPercent:i,currentPercent:t,strokeTimer:0,lastPercent:0});return a}(e);return Jv(t,e),vo((()=>t.realPercent),((n,r)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=r||0,Jv(t,e)})),()=>{var{showInfo:n}=e,{outerBarStyle:r,innerBarStyle:i,currentPercent:a}=t;return Ps("uni-progress",{class:"uni-progress"},[Ps("div",{style:r,class:"uni-progress-bar"},[Ps("div",{style:i,class:"uni-progress-inner-bar"},null,4)],4),n?Ps("p",{class:"uni-progress-info"},[a+"%"]):""])}}});function Jv(e,t){t.active?(e.currentPercent=t.activeMode===Gv?0:e.lastPercent,e.strokeTimer=setInterval((()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1}),parseFloat(t.duration))):e.currentPercent=e.realPercent}var Qv=Jl("ucg");const eg=wf({name:"RadioGroup",props:{name:{type:String,default:""}},setup(e,t){var{emit:n,slots:r}=t,i=Ta(null);return function(e,t){var n=[];Oo((()=>{s(n.length-1)}));var r=()=>{var e;return null===(e=n.find((e=>e.value.radioChecked)))||void 0===e?void 0:e.value.value};co(Qv,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},radioChange(e,i){s(n.indexOf(i),!0),t("change",e,{value:r()})}});var i=ho(Mf,!1),a={submit:()=>{var t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=r()),t}};i&&(i.addField(a),Ao((()=>{i.removeField(a)})));function o(e,t){e.value={radioChecked:t,value:e.value.value}}function s(e,t){n.forEach(((r,i)=>{i!==e&&(t?o(n[i],!1):n.forEach(((e,t)=>{i>=t||n[t].value.radioChecked&&o(n[i],!1)})))}))}}(e,Cf(i,n)),()=>Ps("uni-radio-group",{ref:i},[r.default&&r.default()],512)}});const tg=wf({name:"Radio",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},setup(e,t){var{slots:n}=t,r=Ta(e.checked),i=Ta(e.value),a=il((()=>e.disabled?"background-color: #E1E1E1;border-color: ##D1D1D1;":"background-color: ".concat(e.color,";border-color: ").concat(e.color,";")));vo([()=>e.checked,()=>e.value],(e=>{var[t,n]=e;r.value=t,i.value=n}));var{uniCheckGroup:o,uniLabel:s,field:l}=function(e,t,n){var r=il({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:t=>{var{radioChecked:n}=t;e.value=n}}),i={reset:n},a=ho(Qv,!1);a&&a.addField(r);var o=ho(Mf,!1);o&&o.addField(i);var s=ho(Lf,!1);return Ao((()=>{a&&a.removeField(r),o&&o.removeField(i)})),{uniCheckGroup:a,uniForm:o,uniLabel:s,field:r}}(r,i,(()=>{r.value=!1})),u=t=>{e.disabled||(r.value=!0,o&&o.radioChange(t,l),t.stopPropagation())};return s&&(s.addHandler(u),Ao((()=>{s.removeHandler(u)}))),Nf(e,{"label-click":u}),()=>{var t=Tf(e,"disabled");return Ps("uni-radio",Vs(t,{onClick:u}),[Ps("div",{class:"uni-radio-wrapper"},[Ps("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:r.value?a.value:""},[r.value?iu(ru,e.disabled?"#ADADAD":"#fff",18):""],6),n.default&&n.default()])],16,["onClick"])}}});var ng={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:""},rg={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};var ig=(e,t,n)=>!n||fn(n)&&!n.length?[]:n.map((n=>{if(xn(n)){if(!hn(n,"type")||"node"===n.type){var r={[e]:""},i=n.name.toLowerCase();if(!hn(ng,i))return;return function(e,t){if(xn(t))for(var n in t)if(hn(t,n)){var r=t[n];"img"===e&&"src"===n&&(t[n]=Fu(r))}}(i,n.attrs),r=un(r,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClick:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),al(n.name,r,ig(e,t,n.children))}return"text"===n.type&&gn(n.text)&&""!==n.text?Fs((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(e,t){return hn(rg,t)&&rg[t]?rg[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e}))):void 0}}));function ag(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"")}(e);var t=[],n={node:"root",children:[]};return mp(e,{start:function(e,r,i){var a={name:e};if(0!==r.length&&(a.attrs=function(e){return e.reduce((function(e,t){var n=t.value,r=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(r)&&(n=n.split(" ")),e[r]?Array.isArray(e[r])?e[r].push(n):e[r]=[e[r],n]:e[r]=n,e}),{})}(r)),i){var o=t[0]||n;o.children||(o.children=[]),o.children.push(a)}else t.unshift(a)},end:function(e){var r=t.shift();if(r.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(r);else{var i=t[0];i.children||(i.children=[]),i.children.push(r)}},chars:function(e){var r={type:"text",text:e};if(0===t.length)n.children.push(r);else{var i=t[0];i.children||(i.children=[]),i.children.push(r)}},comment:function(e){var n={node:"comment",text:e},r=t[0];r.children||(r.children=[]),r.children.push(n)}}),n.children}const og=wf({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["click","touchstart","touchmove","touchcancel","touchend","longpress","itemclick"],setup(e,t){var{emit:n}=t,r=Xs(),i=r&&r.vnode.scopeId||"",a=Ta(null),o=Ta([]),s=Cf(a,n);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s("itemclick",e,t)}return vo((()=>e.nodes),(function(){var t=e.nodes;gn(t)&&(t=ag(e.nodes)),o.value=ig(i,l,t)}),{immediate:!0}),()=>al("uni-rich-text",{ref:a},al("div",{},o.value))}});var sg=ir(!0);const lg=wf({name:"ScrollView",compatConfig:{MODE:3},props:{scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"back"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,t){var{emit:n,slots:r}=t,i=Ta(null),a=Ta(null),o=Ta(null),s=Ta(null),l=Ta(null),u=Cf(i,n),{state:c,scrollTopNumber:d,scrollLeftNumber:h}=function(e){var t=il((()=>Number(e.scrollTop)||0)),n=il((()=>Number(e.scrollLeft)||0)),r=ca({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""});return{state:r,scrollTopNumber:t,scrollLeftNumber:n}}(e);!function(e,t,n,r,i,a,o,s,l){var u=!1,c=0,d=!1,h=()=>{},f=il((()=>{var t=Number(e.upperThreshold);return isNaN(t)?50:t})),p=il((()=>{var t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){var n=o.value,r=0,i="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?r=n.scrollLeft-e:"y"===t&&(r=n.scrollTop-e),0!==r){var a=s.value;a.style.transition="transform .3s ease-out",a.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?i="translateX("+r+"px) translateZ(0)":"y"===t&&(i="translateY("+r+"px) translateZ(0)"),a.removeEventListener("transitionend",h),a.removeEventListener("webkitTransitionEnd",h),h=()=>b(e,t),a.addEventListener("transitionend",h),a.addEventListener("webkitTransitionEnd",h),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),a.style.transform=i,a.style.webkitTransform=i}}function g(n){var r=n.target;i("scroll",n,{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop,scrollHeight:r.scrollHeight,scrollWidth:r.scrollWidth,deltaX:t.lastScrollLeft-r.scrollLeft,deltaY:t.lastScrollTop-r.scrollTop}),e.scrollY&&(r.scrollTop<=f.value&&t.lastScrollTop-r.scrollTop>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",n,{direction:"top"}),t.lastScrollToUpperTime=n.timeStamp),r.scrollTop+r.offsetHeight+p.value>=r.scrollHeight&&t.lastScrollTop-r.scrollTop<0&&n.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",n,{direction:"bottom"}),t.lastScrollToLowerTime=n.timeStamp)),e.scrollX&&(r.scrollLeft<=f.value&&t.lastScrollLeft-r.scrollLeft>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",n,{direction:"left"}),t.lastScrollToUpperTime=n.timeStamp),r.scrollLeft+r.offsetWidth+p.value>=r.scrollWidth&&t.lastScrollLeft-r.scrollLeft<0&&n.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",n,{direction:"right"}),t.lastScrollToLowerTime=n.timeStamp)),t.lastScrollTop=r.scrollTop,t.lastScrollLeft=r.scrollLeft}function m(t){e.scrollY&&(e.scrollWithAnimation?v(t,"y"):o.value.scrollTop=t)}function _(t){e.scrollX&&(e.scrollWithAnimation?v(t,"x"):o.value.scrollLeft=t)}function y(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error("id error: scroll-into-view=".concat(t));var n=a.value.querySelector("#"+t);if(n){var r=o.value.getBoundingClientRect(),i=n.getBoundingClientRect();if(e.scrollX){var s=i.left-r.left,l=o.value.scrollLeft+s;e.scrollWithAnimation?v(l,"x"):o.value.scrollLeft=l}if(e.scrollY){var u=i.top-r.top,c=o.value.scrollTop+u;e.scrollWithAnimation?v(c,"y"):o.value.scrollTop=c}}}}function b(t,n){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";var r=o.value;"x"===n?(r.style.overflowX=e.scrollX?"auto":"hidden",r.scrollLeft=t):"y"===n&&(r.style.overflowY=e.scrollY?"auto":"hidden",r.scrollTop=t),s.value.removeEventListener("transitionend",h),s.value.removeEventListener("webkitTransitionEnd",h)}function w(n){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,u||(u=!0,i("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":u=!1,t.refresherHeight=c=0,"restore"===n&&(d=!1,i("refresherrestore",{},{})),"refresherabort"===n&&d&&(d=!1,i("refresherabort",{},{}))}t.refreshState=n}Oo((()=>{Ua((()=>{m(n.value),_(r.value)})),y(e.scrollIntoView);var a=function(e){e.preventDefault(),e.stopPropagation(),g(e)},s={x:0,y:0},l=null,h=function(n){if(null!==s){var r=n.touches[0].pageX,a=n.touches[0].pageY,h=o.value;if(Math.abs(r-s.x)>Math.abs(a-s.y))if(e.scrollX){if(0===h.scrollLeft&&r>s.x)return void(l=!1);if(h.scrollWidth===h.offsetWidth+h.scrollLeft&&r<s.x)return void(l=!1);l=!0}else l=!1;else if(e.scrollY)if(0===h.scrollTop&&a>s.y)l=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(h.scrollHeight===h.offsetHeight+h.scrollTop&&a<s.y)return void(l=!1);l=!0}else l=!1;if(l&&n.stopPropagation(),0===h.scrollTop&&1===n.touches.length&&w("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){var f=a-s.y;0===c&&(c=a),u?(t.refresherHeight=f+e.refresherThreshold,d=!1):(t.refresherHeight=a-c,t.refresherHeight>0&&(d=!0,i("refresherpulling",n,{deltaY:f})));var p=t.refresherHeight/e.refresherThreshold;t.refreshRotate=360*(p>1?1:p)}}},f=function(e){1===e.touches.length&&(fv({disable:!0}),s={x:e.touches[0].pageX,y:e.touches[0].pageY})},p=function(n){s=null,fv({disable:!1}),t.refresherHeight>=e.refresherThreshold?w("refreshing"):w("refresherabort")};o.value.addEventListener("touchstart",f,sg),o.value.addEventListener("touchmove",h,ir(!1)),o.value.addEventListener("scroll",a,ir(!1)),o.value.addEventListener("touchend",p,sg),hv(),Ao((()=>{o.value.removeEventListener("touchstart",f),o.value.removeEventListener("touchmove",h),o.value.removeEventListener("scroll",a),o.value.removeEventListener("touchend",p)}))})),xo((()=>{e.scrollY&&(o.value.scrollTop=t.lastScrollTop),e.scrollX&&(o.value.scrollLeft=t.lastScrollLeft)})),vo(n,(e=>{m(e)})),vo(r,(e=>{_(e)})),vo((()=>e.scrollIntoView),(e=>{y(e)})),vo((()=>e.refresherTriggered),(e=>{!0===e?w("refreshing"):!1===e&&w("restore")}))}(e,c,d,h,u,i,a,s,n);var f=il((()=>{var t="";return e.scrollX?t+="overflow-x:auto;":t+="overflow-x:hidden;",e.scrollY?t+="overflow-y:auto;":t+="overflow-y:hidden;",t})),p=r.default&&r.default();return()=>{var{refresherEnabled:t,refresherBackground:n,refresherDefaultStyle:u}=e,{refresherHeight:d,refreshState:h,refreshRotate:v}=c;return Ps("uni-scroll-view",{ref:i},[Ps("div",{ref:o,class:"uni-scroll-view"},[Ps("div",{ref:a,style:f.value,class:"uni-scroll-view"},[Ps("div",{ref:s,class:"uni-scroll-view-content"},[t?Ps("div",{ref:l,style:{backgroundColor:n,height:d+"px"},class:"uni-scroll-view-refresher"},["none"!==u?Ps("div",{class:"uni-scroll-view-refresh"},[Ps("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==h?Ps("svg",{key:"refresh__icon",style:{transform:"rotate("+v+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[Ps("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),Ps("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==h?Ps("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[Ps("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"==u?r.refresher&&r.refresher():null],4):null,p],512)],4)],512)],512)}}});const ug=wf({name:"Slider",props:{name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},emits:["changing","change"],setup(e,t){var{emit:n}=t,r=Ta(null),i=Ta(null),a=Ta(null),o=Ta(Number(e.value));vo((()=>e.value),(e=>{o.value=Number(e)}));var s=Cf(r,n),l=function(e,t){var n=()=>{var n=Number(e.max),r=Number(e.min);return 100*(t.value-r)/(n-r)+"%"},r=()=>"#e9e9e9"!==e.backgroundColor?e.backgroundColor:"#007aff"!==e.color?e.color:"#007aff",i=()=>"#007aff"!==e.activeColor?e.activeColor:"#e9e9e9"!==e.selectedColor?e.selectedColor:"#e9e9e9",a={setBgColor:il((()=>({backgroundColor:r()}))),setBlockBg:il((()=>({left:n()}))),setActiveColor:il((()=>({backgroundColor:i(),width:n()}))),setBlockStyle:il((()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:n(),backgroundColor:e.blockColor})))};return a}(e,o),{_onClick:u,_onTrack:c}=function(e,t,n,r,i){var a=n=>{e.disabled||(s(n),i("change",n,{value:t.value}))},o=t=>{var n=Number(e.max),r=Number(e.min),i=Number(e.step);return t<r?r:t>n?n:cg.mul.call(Math.round((t-r)/i),i)+r},s=i=>{var a=Number(e.max),s=Number(e.min),l=r.value,u=getComputedStyle(l,null).marginLeft,c=l.offsetWidth;c+=parseInt(u);var d=n.value,h=d.offsetWidth-(e.showValue?c:0),f=d.getBoundingClientRect().left,p=(i.x-f)*(a-s)/h+s;t.value=o(p)},l=n=>{if(!e.disabled)return"move"===n.detail.state?(s({x:n.detail.x}),i("changing",n,{value:t.value}),!1):"end"===n.detail.state&&i("change",n,{value:t.value})},u=ho(Mf,!1);if(u){var c={reset:()=>t.value=Number(e.min),submit:()=>{var n=["",null];return""!==e.name&&(n[0]=e.name,n[1]=t.value),n}};u.addField(c),Ao((()=>{u.removeField(c)}))}return{_onClick:a,_onTrack:l}}(e,o,r,i,s);return Oo((()=>{wv(a.value,c)})),()=>{var{setBgColor:t,setBlockBg:n,setActiveColor:s,setBlockStyle:c}=l;return Ps("uni-slider",{ref:r,onClick:Ef(u)},[Ps("div",{class:"uni-slider-wrapper"},[Ps("div",{class:"uni-slider-tap-area"},[Ps("div",{style:t.value,class:"uni-slider-handle-wrapper"},[Ps("div",{ref:a,style:n.value,class:"uni-slider-handle"},null,4),Ps("div",{style:c.value,class:"uni-slider-thumb"},null,4),Ps("div",{style:s.value,class:"uni-slider-track"},null,4)],4)]),Do(Ps("span",{ref:i,class:"uni-slider-value"},[o.value],512),[[Al,e.showValue]])]),Ps("slot",null,null)],8,["onClick"])}}});var cg={mul:function(e){var t=0,n=this.toString(),r=e.toString();try{t+=n.split(".")[1].length}catch(i){}try{t+=r.split(".")[1].length}catch(i){}return Number(n.replace(".",""))*Number(r.replace(".",""))/Math.pow(10,t)}};function dg(e,t,n,r,i,a){function o(){u&&(clearTimeout(u),u=null)}var s,l,u=null,c=!0,d=0,h=1,f=null,p=!1,v=0,g="",m=il((()=>n.value.length>t.displayMultipleItems)),_=il((()=>e.circular&&m.value));function y(i){Math.floor(2*d)===Math.floor(2*i)&&Math.ceil(2*d)===Math.ceil(2*i)||_.value&&function(r){if(!c)for(var i=n.value,a=i.length,o=r+t.displayMultipleItems,s=0;s<a;s++){var l=i[s],u=Math.floor(r/a)*a+s,d=u+a,h=u-a,f=Math.max(r-(u+1),u-o,0),p=Math.max(r-(d+1),d-o,0),v=Math.max(r-(h+1),h-o,0),g=Math.min(f,p,v),m=[u,d,h][[f,p,v].indexOf(g)];l.updatePosition(m,e.vertical)}}(i);var o="translate("+(e.vertical?"0":100*-i*h+"%")+", "+(e.vertical?100*-i*h+"%":"0")+") translateZ(0)",l=r.value;if(l&&(l.style.webkitTransform=o,l.style.transform=o),d=i,!s){if(i%1==0)return;s=i}i-=Math.floor(s);var u=n.value;i<=-(u.length-1)?i+=u.length:i>=u.length&&(i-=u.length),i=s%1>.5||s<0?i-1:i,a("transition",{},{dx:e.vertical?0:i*l.offsetWidth,dy:e.vertical?i*l.offsetHeight:0})}function b(e){var r=n.value.length;if(!r)return-1;var i=(Math.round(e)%r+r)%r;if(_.value){if(r<=t.displayMultipleItems)return 0}else if(i>r-t.displayMultipleItems)return r-t.displayMultipleItems;return i}function w(){f=null}function x(){if(f){var e=f,r=e.toPos,i=e.acc,o=e.endTime,u=e.source,c=o-Date.now();if(c<=0){y(r),f=null,p=!1,s=null;var d=n.value[t.current];if(d){var h=d.getItemId();a("animationfinish",{},{current:t.current,currentItemId:h,source:u})}}else{y(r+i*c*c/2),l=requestAnimationFrame(x)}}else p=!1}function S(e,r,i){w();var a=t.duration,o=n.value.length,s=d;if(_.value)if(i<0){for(;s<e;)s+=o;for(;s-o>e;)s-=o}else if(i>0){for(;s>e;)s-=o;for(;s+o<e;)s+=o;s+o-e<e-s&&(s+=o)}else{for(;s+o<e;)s+=o;for(;s-o>e;)s-=o;s+o-e<e-s&&(s+=o)}else"click"===r&&(e=e+t.displayMultipleItems-1<o?e:0);f={toPos:e,acc:2*(s-e)/(a*a),endTime:Date.now()+a,source:r},p||(p=!0,l=requestAnimationFrame(x))}function k(){o();var e=n.value,r=function(){u=null,g="autoplay",_.value?t.current=b(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,S(t.current,"autoplay",_.value?1:0),u=setTimeout(r,t.interval)};c||e.length<=t.displayMultipleItems||(u=setTimeout(r,t.interval))}function T(e){e?k():o()}return vo([()=>e.current,()=>e.currentItemId,()=>[...n.value]],(()=>{var r=-1;if(e.currentItemId)for(var i=0,a=n.value;i<a.length;i++){if(a[i].getItemId()===e.currentItemId){r=i;break}}r<0&&(r=Math.round(e.current)||0),r=r<0?0:r,t.current!==r&&(g="",t.current=r)})),vo([()=>e.vertical,()=>_.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){o(),f&&(y(f.toPos),f=null);for(var i=n.value,a=0;a<i.length;a++)i[a].updatePosition(a,e.vertical);h=1;var s=r.value;if(1===t.displayMultipleItems&&i.length){var l=i[0].getBoundingClientRect(),u=s.getBoundingClientRect();(h=l.width/u.width)>0&&h<1||(h=1)}var p=d;d=-2;var g=t.current;g>=0?(c=!1,t.userTracking?(y(p+g-v),v=g):(y(g),e.autoplay&&k())):(c=!0,y(-t.displayMultipleItems-1))})),vo((()=>t.interval),(()=>{u&&(o(),k())})),vo((()=>t.current),((e,r)=>{!function(e,r){var i=g;g="";var o=n.value;if(!i){var s=o.length;S(e,"",_.value&&r+(s-e)%s>s/2?1:0)}var l=o[e];if(l){var u=t.currentItemId=l.getItemId();a("change",{},{current:t.current,currentItemId:u,source:i})}}(e,r),i("update:current",e)})),vo((()=>t.currentItemId),(e=>{i("update:currentItemId",e)})),vo((()=>e.autoplay&&!t.userTracking),T),T(e.autoplay&&!t.userTracking),Oo((()=>{var i=!1,a=0,s=0;function l(e){t.userTracking=!1;var n=a/Math.abs(a),r=0;!e&&Math.abs(a)>.2&&(r=.5*n);var i=b(d+r);e?y(v):(g="touch",t.current=i,S(i,"touch",0!==r?r:0===i&&_.value&&d>=1?1:0))}wv(r.value,(u=>{if(!e.disableTouch&&!c){if("start"===u.detail.state)return t.userTracking=!0,i=!1,o(),v=d,a=0,s=Date.now(),void w();if("end"===u.detail.state)return l(!1);if("cancel"===u.detail.state)return l(!0);if(t.userTracking){if(!i){i=!0;var h=Math.abs(u.detail.dx),f=Math.abs(u.detail.dy);if((h>=f&&e.vertical||h<=f&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&k())}return function(i){var o=s;s=Date.now();var l=n.value.length-t.displayMultipleItems;function u(e){return.5-.25/(e+.5)}function c(e,t){var n=v+e;a=.6*a+.4*t,_.value||(n<0||n>l)&&(n<0?n=-u(-n):n>l&&(n=l+u(n-l)),a=0),y(n)}var d=s-o||1,h=r.value;e.vertical?c(-i.dy/h.offsetHeight,-i.ddy/d):c(-i.dx/h.offsetWidth,-i.ddx/d)}(u.detail),!1}}}))})),No((()=>{o(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){S(t.current=e,g="click",_.value?1:0)},circularEnabled:_,swiperEnabled:m}}const hg=wf({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,t){var{slots:n,emit:r}=t,i=Ta(null),a=Cf(i,r),o=Ta(null),s=Ta(null),l=function(e){return ca({interval:il((()=>{var t=Number(e.interval);return isNaN(t)?5e3:t})),duration:il((()=>{var t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:il((()=>{var t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),u=il((()=>{var t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:eu(e.previousMargin,!0),bottom:eu(e.nextMargin,!0)}:{top:0,bottom:0,left:eu(e.previousMargin,!0),right:eu(e.nextMargin,!0)}),t})),c=il((()=>{var t=Math.abs(100/l.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}})),d=[],h=[],f=Ta([]);function p(){for(var e=[],t=function(){var t=d[n];t instanceof Element||(t=t.el);var r=h.find((e=>t===e.rootRef.value));r&&e.push(ya(r))},n=0;n<d.length;n++)t();f.value=e}vv((()=>{d=s.value.children,p()}));co("addSwiperContext",(function(e){h.push(e),p()}));co("removeSwiperContext",(function(e){var t=h.indexOf(e);t>=0&&(h.splice(t,1),p())}));var{onSwiperDotClick:v,circularEnabled:g,swiperEnabled:m}=dg(e,l,f,s,r,a);return()=>{var t=n.default&&n.default();return d=pv(t),Ps("uni-swiper",{ref:i},[Ps("div",{ref:o,class:"uni-swiper-wrapper"},[Ps("div",{class:"uni-swiper-slides",style:u.value},[Ps("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[t],4)],4),e.indicatorDots&&Ps("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map(((t,n,r)=>Ps("div",{onClick:()=>v(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<l.current+l.displayMultipleItems&&n>=l.current||n<l.current+l.displayMultipleItems-r.length},style:{background:n===l.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"])))],2),null],512)],512)}}});const fg=wf({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,t){var{slots:n}=t,r=Ta(null),i={rootRef:r,getItemId:()=>e.itemId,getBoundingClientRect:()=>r.value.getBoundingClientRect(),updatePosition(e,t){var n=t?"0":100*e+"%",i=t?100*e+"%":"0",a=r.value,o="translate(".concat(n,",").concat(i,") translateZ(0)");a&&(a.style.webkitTransform=o,a.style.transform=o)}};return Oo((()=>{var e=ho("addSwiperContext");e&&e(i)})),No((()=>{var e=ho("removeSwiperContext");e&&e(i)})),()=>Ps("uni-swiper-item",{ref:r,style:{position:"absolute",width:"100%",height:"100%"}},[n.default&&n.default()],512)}});const pg=wf({name:"Switch",props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:""}},emits:["change"],setup(e,t){var{emit:n}=t,r=Ta(null),i=Ta(e.checked),a=function(e,t){var n=ho(Mf,!1),r=ho(Lf,!1),i={submit:()=>{var n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};n&&(n.addField(i),No((()=>{n.removeField(i)})));return r}(e,i),o=Cf(r,n);vo((()=>e.checked),(e=>{i.value=e}));var s=t=>{e.disabled||(i.value=!i.value,o("change",t,{value:i.value}))};return a&&(a.addHandler(s),Ao((()=>{a.removeHandler(s)}))),Nf(e,{"label-click":s}),()=>{var{color:t,type:n}=e,a=Tf(e,"disabled"),o={};return t&&i.value&&(o.backgroundColor=t,o.borderColor=t),Ps("uni-switch",Vs({ref:r},a,{onClick:s}),[Ps("div",{class:"uni-switch-wrapper"},[Do(Ps("div",{class:["uni-switch-input",[i.value?"uni-switch-input-checked":""]],style:o},null,6),[[Al,"switch"===n]]),Do(Ps("div",{class:"uni-checkbox-input"},[i.value?iu(ru,e.color,22):""],512),[[Al,"checkbox"===n]])])],16,["onClick"])}}});var vg={ensp:" ",emsp:" ",nbsp:" "};function gg(e,t){return e.replace(/\\n/g,Wn).split(Wn).map((e=>function(e,t){var{space:n,decode:r}=t;if(!e)return e;n&&vg[n]&&(e=e.replace(/ /g,vg[n]));if(!r)return e;return e.replace(/&nbsp;/g,vg.nbsp).replace(/&ensp;/g,vg.ensp).replace(/&emsp;/g,vg.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'")}(e,t)))}var mg=un({},Qp,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>yg.concat("return").includes(e)}}),_g=!1,yg=["done","go","next","search","send"];const bg=wf({name:"Textarea",props:mg,emits:["confirm","linechange",...ev],setup(e,t){var n,{emit:r}=t,i=Ta(null),a=Ta(null),{fieldRef:o,state:s,scopedAttrsState:l,fixDisabledColor:u,trigger:c}=rv(e,i,r),d=il((()=>s.value.split(Wn))),h=il((()=>yg.includes(e.confirmType))),f=Ta(0),p=Ta(null);function v(e){var{height:t}=e;f.value=t}function g(e){"Enter"===e.key&&h.value&&e.preventDefault()}function m(t){if("Enter"===t.key&&h.value){!function(e){c("confirm",e,{value:s.value})}(t);var n=t.target;!e.confirmHold&&n.blur()}}return vo((()=>f.value),(t=>{var n=i.value,r=p.value,o=a.value,s=parseFloat(getComputedStyle(n).lineHeight);isNaN(s)&&(s=r.offsetHeight);var l=Math.round(t/s);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(n.style.height="auto",o.style.height=t+"px")})),n="(prefers-color-scheme: dark)",_g=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(n).media!==n,()=>{var t=e.disabled&&u?Ps("textarea",{key:"disabled-textarea",ref:o,value:s.value,tabindex:"-1",readonly:!!e.disabled,maxlength:s.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":_g},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):Ps("textarea",{key:"textarea",ref:o,value:s.value,disabled:!!e.disabled,maxlength:s.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":_g},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:g,onKeyup:m},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return Ps("uni-textarea",{ref:i},[Ps("div",{ref:a,class:"uni-textarea-wrapper"},[Do(Ps("div",Vs(l.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Al,!s.value.length]]),Ps("div",{ref:p,class:"uni-textarea-line"},[" "],512),Ps("div",{class:"uni-textarea-compute"},[d.value.map((e=>Ps("div",null,[e.trim()?e:"."]))),Ps(zf,{initial:!0,onResize:v},null,8,["initial","onResize"])]),"search"===e.confirmType?Ps("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}});function wg(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function xg(e,t,n){e&&Ur(n||ou(),e,((e,n)=>{var{type:r,data:i}=e;t(r,i,n)}))}function Sg(e,t){e&&function(e,t){t=Hr(e,t),delete Vr[t]}(t||ou(),e)}function kg(e,t,n,r){var i=Xs().proxy;Oo((()=>{xg(t||wg(i),e,r),!n&&t||vo((()=>i.id),((t,n)=>{xg(wg(i,t),e,r),Sg(n&&wg(i,n))}))})),Ao((()=>{Sg(t||wg(i),r)}))}un({},Sf);var Tg=0;function Eg(e){var t=au(),n=Xs().proxy,r=n.$options.name.toLowerCase(),i=e||n.id||"context".concat(Tg++);return Oo((()=>{n.$el.__uniContextInfo={id:i,type:r,page:t}})),"".concat(r,".").concat(i)}class Cg extends mf{constructor(e,t,n,r,i){super(e,t,n,r,i,[...bf.props,...arguments.length>5&&void 0!==arguments[5]?arguments[5]:[]])}call(e){var t={animation:this.$props.animation,$el:this.$};e.call(t)}setAttribute(e,t){return"animation"===e&&(this.$animate=!0),super.setAttribute(e,t)}update(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.$animate)return e?this.call(bf.mounted):void(this.$animate&&(this.$animate=!1,this.call(bf.watch.animation.handler)))}}var Mg=["space","decode"];var Og=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class Ig extends Cg{constructor(e,t,n,r,i){super(e,t,n,r,i,[...Og,...arguments.length>5&&void 0!==arguments[5]?arguments[5]:[]])}update(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.$props["hover-class"];t&&"none"!==t?(this._hover||(this._hover=new Lg(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(e)}}class Lg{constructor(e,t){this._listening=!1,this._hovering=!1,this._hoverTouch=!1,this.$=e,this.props=t,this.__hoverTouchStart=this._hoverTouchStart.bind(this),this.__hoverTouchEnd=this._hoverTouchEnd.bind(this),this.__hoverTouchCancel=this._hoverTouchCancel.bind(this)}get hovering(){return this._hovering}set hovering(e){this._hovering=e;var t=this.props["hover-class"].split(" ").filter(Boolean),n=this.$.classList;e?this.$.classList.add.apply(n,t):this.$.classList.remove.apply(n,t)}addEvent(){this._listening||(this._listening=!0,this.$.addEventListener("touchstart",this.__hoverTouchStart),this.$.addEventListener("touchend",this.__hoverTouchEnd),this.$.addEventListener("touchcancel",this.__hoverTouchCancel))}removeEvent(){this._listening&&(this._listening=!1,this.$.removeEventListener("touchstart",this.__hoverTouchStart),this.$.removeEventListener("touchend",this.__hoverTouchEnd),this.$.removeEventListener("touchcancel",this.__hoverTouchCancel))}_hoverTouchStart(e){if(!e._hoverPropagationStopped){var t=this.props["hover-class"];t&&"none"!==t&&!this.$.disabled&&(e.touches.length>1||(this.props["hover-stop-propagation"]&&(e._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout((()=>{this.hovering=!0,this._hoverTouch||this._hoverReset()}),this.props["hover-start-time"])))}}_hoverTouchEnd(){this._hoverTouch=!1,this.hovering&&this._hoverReset()}_hoverReset(){requestAnimationFrame((()=>{clearTimeout(this._hoverStayTimer),this._hoverStayTimer=setTimeout((()=>{this.hovering=!1}),this.props["hover-stay-time"])}))}_hoverTouchCancel(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}function Ag(){return plus.navigator.isImmersedStatusbar()?Math.round("iOS"===plus.os.name?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function Ng(){var e=plus.webview.currentWebview().getStyle(),t=e&&e.titleNView;return t&&"default"===t.type?44+Ag():0}var Bg=Symbol("onDraw");function Rg(e,t){return il((()=>{var n={};return Object.keys(e).forEach((r=>{if(!t||!t.includes(r)){var i=e[r];i="src"===r?Fu(i):i,n[r.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))]=i}})),n}))}function Pg(e){var t=ca({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),n=Ta(!1);function r(){var r=e.value,i=r.getBoundingClientRect(),a=["width","height"];n.value=0===i.width||0===i.height,n.value||(t.position=function(e){for(var t;e;){var n=getComputedStyle(e),r=n.transform||n.webkitTransform;t=(!r||"none"===r)&&t,t="fixed"===n.position||t,e=e.parentElement}return t}(r)?"absolute":"static",a.push("top","left")),a.forEach((e=>{var n=i[e];n="top"===e?n+("static"===t.position?document.documentElement.scrollTop||document.body.scrollTop||0:Ng()):n,t[e]=n+"px"}))}var i=null;function a(){i&&cancelAnimationFrame(i),i=requestAnimationFrame((()=>{i=null,r()}))}window.addEventListener("updateview",a);var o=[],s=[];return co(Bg,(function(e){o?o.push(e):e(t)})),Oo((()=>{r(),s.forEach((e=>e())),s=null})),Ao((()=>{window.removeEventListener("updateview",a)})),{position:t,hidden:n,onParentReady:function(e){var n=ho(Bg),r=n=>{e(n),o.forEach((e=>e(t))),o=null};!function(e){s?s.push(e):e()}((()=>{n?n(r):r({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})}))}}}const zg=wf({name:"Ad",props:{adpid:{type:[Number,String],default:""},data:{type:Object,default:null},dataCount:{type:Number,default:5},channel:{type:String,default:""}},setup(e,t){var n,{emit:r}=t,i=Ta(null),a=Ta(null),o=Cf(i,r),s=Rg(e,["id"]),{position:l,onParentReady:u}=Pg(a);return u((()=>{function t(){var t={adpid:e.adpid,width:l.width,count:e.dataCount};void 0!==e.channel&&(t.ext={channel:e.channel}),UniViewJSBridge.invokeServiceMethod("getAdData",t,(e=>{var{code:t,data:r,message:i}=e;0===t?n.renderingBind(r):o("error",{},{errMsg:i})}))}n=plus.ad.createAdView(Object.assign({},s.value,l)),plus.webview.currentWebview().append(n),n.setDislikeListener((e=>{a.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),o("close",{},e)})),n.setRenderingListener((e=>{0===e.result?(a.value.style.height=e.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):o("error",{},{errCode:e.result})})),n.setAdClickedListener((()=>{o("adclicked",{},{})})),vo((()=>l),(e=>n.setStyle(e)),{deep:!0}),vo((()=>e.adpid),(e=>{e&&t()})),vo((()=>e.data),(e=>{e&&n.renderingBind(e)})),e.adpid&&t()})),Ao((()=>{n&&n.close()})),()=>Ps("uni-ad",{ref:i},[Ps("div",{ref:a,class:"uni-ad-container"},null,512)],512)}});class Dg extends Hh{constructor(e,t,n,r,i,a,o){super(e,t,r);var s=document.createElement("div");s.__vueParent=function(e){for(;e&&e.pid>0;)if(e=fm(e.pid)){var{__vueParentComponent:t}=e.$;if(t)return t}return null}(this),this.$props=ca({}),this.init(a),this.$app=zl(function(e,t){return()=>al(e,t)}(n,this.$props)),this.$app.mount(s),this.$=s.firstElementChild,o&&(this.$holder=this.$.querySelector(o)),hn(a,"t")&&this.setText(a.t||""),a.a&&hn(a.a,hr)&&gf(this.$,a.a[hr]),this.insert(r,i),Za()}init(e){var{a:t,e:n,w:r}=e;t&&(this.setWxsProps(t),Object.keys(t).forEach((e=>{this.setAttr(e,t[e])}))),hn(e,"s")&&this.setAttr("style",e.s),n&&Object.keys(n).forEach((e=>{this.addEvent(e,n[e])})),r&&this.addWxsEvents(e.w)}setText(e){(this.$holder||this.$).textContent=e,this.updateView()}addWxsEvent(e,t,n){this.$props[e]=vf(this,t,n)}addEvent(e,t){this.$props[e]=ff(this.id,t,lr(e)[1])}removeEvent(e){this.$props[e]=null}setAttr(e,t){if(e===hr)this.$&&gf(this.$,t);else if(e===fr)this.$.__ownerId=t;else if(e===pr)Lh((()=>$h(this,t)),3);else if(e===dr){var n=Wh(t,this.$||fm(this.pid).$),r=this.$props.style;xn(n)&&xn(r)?Object.keys(n).forEach((e=>{r[e]=n[e]})):this.$props.style=n}else Vh(e)?this.$.style.setProperty(e,qh(t)):(t=Wh(t,this.$||fm(this.pid).$),this.wxsPropsInvoke(e,t,!0)||(this.$props[e]=t));this.updateView()}removeAttr(e){Vh(e)?this.$.style.removeProperty(e):this.$props[e]=null,this.updateView()}remove(){this.removeUniParent(),this.isUnmounted=!0,this.$app.unmount(),pm(this.id),this.removeUniChildren(),this.updateView()}appendChild(e){var t=(this.$holder||this.$).appendChild(e);return this.updateView(!0),t}insertBefore(e,t){var n=(this.$holder||this.$).insertBefore(e,t);return this.updateView(!0),n}}class Fg extends Dg{constructor(e,t,n,r,i,a,o){super(e,t,n,r,i,a,o)}getRebuildFn(){return this._rebuild||(this._rebuild=this.rebuild.bind(this)),this._rebuild}setText(e){return Lh(this.getRebuildFn(),2),super.setText(e)}appendChild(e){return Lh(this.getRebuildFn(),2),super.appendChild(e)}insertBefore(e,t){return Lh(this.getRebuildFn(),2),super.insertBefore(e,t)}removeUniChild(e){return Lh(this.getRebuildFn(),2),super.removeUniChild(e)}rebuild(){var e=this.$.__vueParentComponent;e.rebuild&&e.rebuild()}}function $g(e,t,n){e.childNodes.forEach((n=>{n instanceof Element?-1===n.className.indexOf(t)&&e.removeChild(n):e.removeChild(n)})),e.appendChild(document.createTextNode(n))}var jg=["value","modelValue"];function Wg(e){jg.forEach((t=>{if(hn(e,t)){var n="onUpdate:"+t;hn(e,n)||(e[n]=n=>e[t]=n)}}))}class Vg extends Hh{constructor(e,t,n,r){super(e,t,n),this.insert(n,r)}}var Hg=0;function Ug(e,t,n){var r,i,{position:a,hidden:o,onParentReady:s}=Pg(e);s((s=>{var l=il((()=>{var e={};for(var t in a){var n=a[t],r=parseFloat(n),i=parseFloat(s[t]);if("top"===t||"left"===t)n=Math.max(r,i)+"px";else if("width"===t||"height"===t){var o="width"===t?"left":"top",l=parseFloat(s[o]),u=parseFloat(a[o]),c=Math.max(l-u,0),d=Math.max(u+r-(l+i),0);n=Math.max(r-c-d,0)+"px"}e[t]=n}return e})),u=["borderRadius","borderColor","borderWidth","backgroundColor"],c=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],d=[],h={start:"left",end:"right"};function f(t){var n=getComputedStyle(e.value);return u.concat(c,d).forEach((e=>{t[e]=n[e]})),t}var p=ca(f({})),v=null;i=function(){v&&cancelAnimationFrame(v),v=requestAnimationFrame((()=>{v=null,f(p)}))},window.addEventListener("updateview",i);var g=il((()=>{var e=function(){var e={};for(var t in e){var n=e[t];"top"!==t&&"left"!==t||(n=Math.min(parseFloat(n)-parseFloat(s[t]),0)+"px"),e[t]=n}return e}(),t=[{tag:"rect",position:e,rectStyles:{color:p.backgroundColor,radius:p.borderRadius,borderColor:p.borderColor,borderWidth:p.borderWidth}}];if("src"in n)n.src&&t.push({tag:"img",position:e,src:n.src});else{var r=parseFloat(p.lineHeight)-parseFloat(p.fontSize),i=parseFloat(e.width)-parseFloat(p.paddingLeft)-parseFloat(p.paddingRight);i=i<0?0:i;var a=parseFloat(e.height)-parseFloat(p.paddingTop)-r/2-parseFloat(p.paddingBottom);a=a<0?0:a,t.push({tag:"font",position:{top:"".concat(parseFloat(e.top)+parseFloat(p.paddingTop)+r/2,"px"),left:"".concat(parseFloat(e.left)+parseFloat(p.paddingLeft),"px"),width:"".concat(i,"px"),height:"".concat(a,"px")},textStyles:{align:h[p.textAlign]||p.textAlign,color:p.color,decoration:"none",lineSpacing:"".concat(r,"px"),margin:"0px",overflow:p.textOverflow,size:p.fontSize,verticalAlign:"top",weight:p.fontWeight,whiteSpace:p.whiteSpace},text:n.text})}return t}));r=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(Hg++),l.value,g.value),plus.webview.currentWebview().append(r),o.value&&r.hide(),r.addEventListener("click",(()=>{t("click",{},{})})),vo((()=>o.value),(e=>{r[e?"hide":"show"]()})),vo((()=>l.value),(e=>{r.setStyle(e)}),{deep:!0}),vo((()=>g.value),(()=>{r.reset(),r.draw(g.value)}),{deep:!0})})),Ao((()=>{r&&r.close(),i&&window.removeEventListener("updateview",i)}))}const qg=wf({name:"CoverImage",props:{src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}},emits:["click","load","error"],setup(e,t){var{emit:n}=t,r=Ta(null),i=Cf(r,n),a=ca({src:""}),o=function(e,t,n){var r,i=Ta("");function a(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var a=e.src?Fu(e.src):"";0===a.indexOf("http://")||0===a.indexOf("https://")?(r=plus.downloader.createDownload(a,{filename:"_doc/uniapp_temp//download/"},((e,t)=>{200===t?o(e.filename):n("error",{},{errMsg:"error"})}))).start():a&&o(a)}function o(r){t.src=r,plus.io.getImageInfo({src:r,success:t=>{var{width:r,height:a}=t;e.autoSize&&(i.value="width:".concat(r,"px;height:").concat(a,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),n("load",{},{width:r,height:a})},fail:()=>{n("error",{},{errMsg:"error"})}})}return e.src&&a(),vo((()=>e.src),a),Ao((()=>{r&&r.abort()})),i}(e,a,i);return Ug(r,i,a),()=>Ps("uni-cover-image",{ref:r,style:o.value},[Ps("div",{class:"uni-cover-image"},null)],4)}});const Yg=wf({name:"CoverView",emits:["click"],setup(e,t){var{emit:n}=t,r=Ta(null),i=Ta(null),a=Cf(r,n),o=ca({text:""});return Ug(r,a,o),vv((()=>{var e=i.value.childNodes[0];o.text=e&&e instanceof Text?e.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))})),()=>Ps("uni-cover-view",{ref:r},[Ps("div",{ref:i,class:"uni-cover-view"},null,512)],512)}});var Xg={id:{type:String,default:""},url:{type:String,default:""},mode:{type:String,default:"SD"},muted:{type:[Boolean,String],default:!1},enableCamera:{type:[Boolean,String],default:!0},autoFocus:{type:[Boolean,String],default:!0},beauty:{type:[Number,String],default:0},whiteness:{type:[Number,String],default:0},aspect:{type:[String],default:"3:2"},minBitrate:{type:[Number],default:200}},Zg=["statechange","netstatus","error"];const Gg=wf({name:"LivePusher",props:Xg,emits:Zg,setup(e,t){var n,{emit:r}=t,i=Ta(null),a=Cf(i,r),o=Ta(null),s=Rg(e,["id"]),{position:l,hidden:u,onParentReady:c}=Pg(o);return c((()=>{n=new plus.video.LivePusher("livePusher"+Date.now(),Object.assign({},s.value,l)),plus.webview.currentWebview().append(n),Zg.forEach((e=>{n.addEventListener(e,(t=>{a(e,{},t.detail)}))})),vo((()=>s.value),(e=>n.setStyles(e)),{deep:!0}),vo((()=>l),(e=>n.setStyles(e)),{deep:!0}),vo((()=>u.value),(e=>{e||n.setStyles(l)}))})),kg(((e,t)=>{n&&n[e](t)}),Eg(),!0),Ao((()=>{n&&n.close()})),()=>Ps("uni-live-pusher",{ref:i,id:e.id},[Ps("div",{ref:o,class:"uni-live-pusher-container"},null,512)],8,["id"])}});function Kg(e){if(0!==e.indexOf("#"))return{color:e,opacity:1};var t=e.slice(7,9);return{color:e.slice(0,7),opacity:t?Number("0x"+t)/255:1}}const Jg=wf({name:"Map",props:{id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:16},markers:{type:Array,default:()=>[]},polyline:{type:Array,default:()=>[]},circles:{type:Array,default:()=>[]},polygons:{type:Array,default:()=>[]},controls:{type:Array,default:()=>[]}},emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,t){var n,{emit:r}=t,i=Ta(null),a=Cf(i,r),o=Ta(null),s=Rg(e,["id"]),{position:l,hidden:u,onParentReady:c}=Pg(o),{_addMarkers:d,_addMapLines:h,_addMapCircles:f,_addMapPolygons:p,_setMap:v}=function(e,t){var n;function r(t){var{longitude:r,latitude:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n&&(n.setCenter(new plus.maps.Point(Number(r||e.longitude),Number(i||e.latitude))),t({errMsg:"moveToLocation:ok"}))}function i(e){n&&n.getCurrentCenter(((t,n)=>{e({longitude:n.getLng(),latitude:n.getLat(),errMsg:"getCenterLocation:ok"})}))}function a(e){if(n){var t=n.getBounds();e({southwest:t.getSouthWest(),northeast:t.getNorthEast(),errMsg:"getRegion:ok"})}}function o(e){n&&e({scale:n.getZoom(),errMsg:"getScale:ok"})}function s(e){if(n){var{id:r,latitude:i,longitude:a,iconPath:o,callout:s,label:l}=e;(e=>{var i,{latitude:a,longitude:u}=e.coord,c=new plus.maps.Marker(new plus.maps.Point(u,a));o&&c.setIcon(Fu(o)),l&&l.content&&c.setLabel(l.content);var d=void 0;s&&s.content&&(d=new plus.maps.Bubble(s.content)),d&&c.setBubble(d),(r||0===r)&&(c.onclick=e=>{t("markertap",{},{markerId:r,latitude:a,longitude:u})},d&&(d.onclick=()=>{t("callouttap",{},{markerId:r})})),null===(i=n)||void 0===i||i.addOverlay(c),n.__markers__.push(c)})({coord:{latitude:i,longitude:a}})}}function l(){n&&(n.__markers__.forEach((e=>{var t;null===(t=n)||void 0===t||t.removeOverlay(e)})),n.__markers__=[])}function u(e,t){t&&l(),e.forEach((e=>{s(e)}))}function c(e){n&&(n.__lines__.length>0&&(n.__lines__.forEach((e=>{var t;null===(t=n)||void 0===t||t.removeOverlay(e)})),n.__lines__=[]),e.forEach((e=>{var t,{color:r,width:i}=e,a=e.points.map((e=>new plus.maps.Point(e.longitude,e.latitude))),o=new plus.maps.Polyline(a);if(r){var s=Kg(r);o.setStrokeColor(s.color),o.setStrokeOpacity(s.opacity)}i&&o.setLineWidth(i),null===(t=n)||void 0===t||t.addOverlay(o),n.__lines__.push(o)})))}function d(e){n&&(n.__circles__.length>0&&(n.__circles__.forEach((e=>{var t;null===(t=n)||void 0===t||t.removeOverlay(e)})),n.__circles__=[]),e.forEach((e=>{var t,{latitude:r,longitude:i,color:a,fillColor:o,radius:s,strokeWidth:l}=e,u=new plus.maps.Circle(new plus.maps.Point(i,r),s);if(a){var c=Kg(a);u.setStrokeColor(c.color),u.setStrokeOpacity(c.opacity)}if(o){var d=Kg(o);u.setFillColor(d.color),u.setFillOpacity(d.opacity)}l&&u.setLineWidth(l),null===(t=n)||void 0===t||t.addOverlay(u),n.__circles__.push(u)})))}function h(e){if(n){var t=n.__polygons__;t.forEach((e=>{var t;null===(t=n)||void 0===t||t.removeOverlay(e)})),t.length=0,e.forEach((e=>{var r,{points:i,strokeWidth:a,strokeColor:o,fillColor:s}=e,l=[];i&&i.forEach((e=>{l.push(new plus.maps.Point(e.longitude,e.latitude))}));var u=new plus.maps.Polygon(l);if(o){var c=Kg(o);u.setStrokeColor(c.color),u.setStrokeOpacity(c.opacity)}if(s){var d=Kg(s);u.setFillColor(d.color),u.setFillOpacity(d.opacity)}a&&u.setLineWidth(a),null===(r=n)||void 0===r||r.addOverlay(u),t.push(u)}))}}var f={moveToLocation:r,getCenterLocation:i,getRegion:a,getScale:o};return kg(((e,t,n)=>{f[e]&&f[e](n,t)}),Eg(),!0),{_addMarkers:u,_addMapLines:c,_addMapCircles:d,_addMapPolygons:h,_setMap(e){n=e}}}(e,a);c((()=>{(n=un(plus.maps.create(ou()+"-map-"+(e.id||Date.now()),Object.assign({},s.value,l,(()=>{if(e.latitude&&e.longitude)return{center:new plus.maps.Point(Number(e.longitude),Number(e.latitude))}})())),{__markers__:[],__lines__:[],__circles__:[],__polygons__:[]})).setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(n),u.value&&n.hide(),n.onclick=e=>{a("tap",{},e),a("click",{},e)},n.onstatuschanged=e=>{a("regionchange",{},{})},v(n),d(e.markers),h(e.polyline),f(e.circles),p(e.polygons),vo((()=>s.value),(e=>n&&n.setStyles(e)),{deep:!0}),vo((()=>l),(e=>n&&n.setStyles(e)),{deep:!0}),vo(u,(e=>{n&&n[e?"hide":"show"]()})),vo((()=>e.scale),(e=>{n&&n.setZoom(parseInt(String(e)))})),vo([()=>e.latitude,()=>e.longitude],(e=>{var[t,r]=e;n&&n.setStyles({center:new plus.maps.Point(Number(r),Number(t))})})),vo((()=>e.markers),(e=>{d(e,!0)}),{deep:!0}),vo((()=>e.polyline),(e=>{h(e)}),{deep:!0}),vo((()=>e.circles),(e=>{f(e)}),{deep:!0}),vo((()=>e.polygons),(e=>{p(e)}),{deep:!0})}));var g=il((()=>e.controls.map((e=>{var t={position:"absolute"};return["top","left","width","height"].forEach((n=>{e.position[n]&&(t[n]=e.position[n]+"px")})),{id:e.id,iconPath:Fu(e.iconPath),position:t,clickable:e.clickable}}))));return Ao((()=>{n&&(n.close(),v(null))})),()=>Ps("uni-map",{ref:i,id:e.id},[Ps("div",{ref:o,class:"uni-map-container"},null,512),g.value.map(((e,t)=>Ps(qg,{key:t,src:e.iconPath,style:e.position,"auto-size":!0,onClick:()=>e.clickable&&a("controltap",{},{controlId:e.id})},null,8,["src","style","auto-size","onClick"]))),Ps("div",{class:"uni-map-slot"},null)],8,["id"])}});var Qg={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},em={YEAR:"year",MONTH:"month",DAY:"day"};function tm(e){return e>9?e:"0".concat(e)}function nm(e,t){e=String(e||"");var n=new Date;if(t===Qg.TIME){var r=e.split(":");2===r.length&&n.setHours(parseInt(r[0]),parseInt(r[1]))}else{var i=e.split("-");3===i.length&&n.setFullYear(parseInt(i[0]),parseInt(String(parseFloat(i[1])-1)),parseInt(i[2]))}return n}const rm=wf({name:"Picker",props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Qg.SELECTOR,validator:e=>Object.values(Qg).indexOf(e)>=0},fields:{type:String,default:""},start:{type:String,default:function(e){if(e.mode===Qg.TIME)return"00:00";if(e.mode===Qg.DATE){var t=(new Date).getFullYear()-100;switch(e.fields){case em.YEAR:return t;case em.MONTH:return t+"-01";default:return t+"-01-01"}}return""}},end:{type:String,default:function(e){if(e.mode===Qg.TIME)return"23:59";if(e.mode===Qg.DATE){var t=(new Date).getFullYear()+100;switch(e.fields){case em.YEAR:return t;case em.MONTH:return t+"-12";default:return t+"-12-31"}}return""}},disabled:{type:[Boolean,String],default:!1}},emits:["change","cancel","columnchange"],setup(e,t){var{emit:n}=t;zr();var{t:r,getLocale:i}=Rr(),a=Ta(null),o=Cf(a,n),s=Ta(null),l=Ta(null),u=()=>{var t=e.value;switch(e.mode){case Qg.MULTISELECTOR:fn(t)||(t=[]),fn(s.value)||(s.value=[]);for(var n=s.value.length=Math.max(t.length,e.range.length),r=0;r<n;r++){var i=Number(t[r]),a=Number(s.value[r]),o=isNaN(i)?isNaN(a)?0:a:i;s.value.splice(r,1,o<0?0:o)}break;case Qg.TIME:case Qg.DATE:s.value=String(t);break;default:var l=Number(t);s.value=l<0?0:l}},c=e=>{l.value&&l.value.sendMessage(e)},d=(t,n)=>{t.mode!==Qg.TIME&&t.mode!==Qg.DATE||t.fields?(t.fields=Object.values(em).includes(t.fields)?t.fields:em.DAY,(e=>{var t={event:"cancel"};l.value=wu({url:"__uniapppicker",data:e,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:n=>{var r=n.event;if("created"!==r)return"columnchange"===r?(delete n.event,void o(r,{},n)):void(t=n);c(e)},onClose:()=>{l.value=null;var e=t.event;delete t.event,e&&o(e,{},t)}})})(t)):((t,n)=>{plus.nativeUI[e.mode===Qg.TIME?"pickTime":"pickDate"]((t=>{var n=t.date;o("change",{},{value:e.mode===Qg.TIME?"".concat(tm(n.getHours()),":").concat(tm(n.getMinutes())):"".concat(n.getFullYear(),"-").concat(tm(n.getMonth()+1),"-").concat(tm(n.getDate()))})}),(()=>{o("cancel",{},{})}),e.mode===Qg.TIME?{time:nm(e.value,Qg.TIME),popover:n}:{date:nm(e.value,Qg.DATE),minDate:nm(e.start,Qg.DATE),maxDate:nm(e.end,Qg.DATE),popover:n})})(0,n)},h=t=>{if(!e.disabled){var n=t.currentTarget.getBoundingClientRect();d(Object.assign({},e,{value:s.value,locale:i(),messages:{done:r("uni.picker.done"),cancel:r("uni.picker.cancel")}}),{top:n.top+Ng(),left:n.left,width:n.width,height:n.height})}},f=ho(Mf,!1),p={submit:()=>[e.name,s.value],reset:()=>{switch(e.mode){case Qg.SELECTOR:s.value=0;break;case Qg.MULTISELECTOR:fn(e.value)&&(s.value=e.value.map((e=>0)));break;case Qg.DATE:case Qg.TIME:s.value=""}}};return f&&(f.addField(p),Ao((()=>f.removeField(p)))),Object.keys(e).forEach((t=>{"name"!==t&&vo((()=>e[t]),(e=>{var n={};n[t]=e,c(n)}),{deep:!0})})),vo((()=>e.value),u,{deep:!0}),u(),()=>Ps("uni-picker",{ref:a,onClick:h},[Ps("slot",null,null)],8,["onClick"])}});var im={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},vslideGesture:{type:[Boolean,String],default:!1},vslideGestureInFullscreen:{type:[Boolean,String],default:!1},showPlayBtn:{type:[Boolean,String],default:!0},showMuteBtn:{type:[Boolean,String],default:!1},enablePlayGesture:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0},showLoading:{type:[Boolean,String],default:!0},codec:{type:String,default:"hardware"},httpCache:{type:[Boolean,String],default:!1},playStrategy:{type:[Number,String],default:0},header:{type:Object,default:()=>({})},advanced:{type:Array,default:()=>[]},title:{type:String,default:""}},am=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],om=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"];const sm=wf({name:"Video",props:im,emits:am,setup(e,t){var n,{emit:r}=t,i=Ta(null),a=Cf(i,r),o=Ta(null),s=Rg(e,["id"]),{position:l,hidden:u,onParentReady:c}=Pg(o);return c((()=>{n=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},s.value,l)),plus.webview.currentWebview().append(n),u.value&&n.hide(),am.forEach((e=>{n.addEventListener(e,(t=>{a(e,{},t.detail)}))})),vo((()=>s.value),(e=>n.setStyles(e)),{deep:!0}),vo((()=>l),(e=>n.setStyles(e)),{deep:!0}),vo((()=>u.value),(e=>{n[e?"hide":"show"](),e||n.setStyles(l)}))})),kg(((e,t)=>{if(om.includes(e)){var r;switch(e){case"seek":r=t.position;break;case"sendDanmu":r=t;break;case"playbackRate":r=t.rate;break;case"requestFullScreen":r=t.direction}n&&n[e](r)}}),Eg(),!0),Ao((()=>{n&&n.close()})),()=>Ps("uni-video",{ref:i,id:e.id},[Ps("div",{ref:o,class:"uni-video-container"},null,512),Ps("div",{class:"uni-video-slot"},null)],8,["id"])}});var lm,um={src:{type:String,default:""},updateTitle:{type:Boolean,default:!0},webviewStyles:{type:Object,default:()=>({})}};const cm=wf({name:"WebView",props:um,setup(e){var t=ou(),n=Ta(null),{hidden:r,onParentReady:i}=Pg(n),a=il((()=>e.webviewStyles));return i((()=>{var n;(e=>{var{htmlId:t,src:n,webviewStyles:r,props:i}=e,a=plus.webview.currentWebview(),o=un({"uni-app":"none",isUniH5:!0,contentAdjust:!1},r),s=a.getTitleNView();if(s){var l=44+parseFloat(o.top||"0");plus.navigator.isImmersedStatusbar()&&(l+=Ag()),o.top=String(l),o.bottom=o.bottom||"0"}lm=plus.webview.create(n,t,o),s&&lm.addEventListener("titleUpdate",(function(){var e;if(i.updateTitle){var t=null===(e=lm)||void 0===e?void 0:e.getTitle();a.setStyle({titleNView:{titleText:t&&"null"!==t?t:" "}})}})),plus.webview.currentWebview().append(lm)})({htmlId:Ta("webviewId"+t).value,src:Fu(e.src),webviewStyles:a.value,props:e}),UniViewJSBridge.publishHandler("webviewInserted",{},t),r.value&&(null===(n=lm)||void 0===n||n.hide())})),Ao((()=>{var e;plus.webview.currentWebview().remove(lm),null===(e=lm)||void 0===e||e.close("none"),lm=null,UniViewJSBridge.publishHandler("webviewRemoved",{},t)})),vo((()=>e.src),(t=>{var n,r=Fu(t)||"";if(r){var i;if(/^(http|https):\/\//.test(r)&&e.webviewStyles.progress)null===(i=lm)||void 0===i||i.setStyle({progress:{color:e.webviewStyles.progress.color}});null===(n=lm)||void 0===n||n.loadURL(r)}})),vo(a,(e=>{var t;null===(t=lm)||void 0===t||t.setStyle(e)})),vo(r,(e=>{lm&&lm[e?"hide":"show"]()})),()=>Ps("uni-web-view",{ref:n},null,512)}});var dm={"#text":class extends Hh{constructor(e,t,n,r){super(e,"#text",t,document.createTextNode("")),this.init(r),this.insert(t,n)}},"#comment":class extends Hh{constructor(e,t,n){super(e,"#comment",t,document.createComment("")),this.insert(t,n)}},VIEW:class extends Ig{constructor(e,t,n,r){super(e,document.createElement("uni-view"),t,n,r)}},IMAGE:class extends Dg{constructor(e,t,n,r){super(e,"uni-image",jp,t,n,r)}},TEXT:class extends Cg{constructor(e,t,n,r){super(e,document.createElement("uni-text"),t,n,r,Mg),this._text=""}init(e){this._text=e.t||"",super.init(e)}setText(e){this._text=e,this.update(),this.updateView()}update(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{$props:{space:t,decode:n}}=this;this.$.textContent=gg(this._text,{space:t,decode:n}).join(Wn),super.update(e)}},NAVIGATOR:class extends Dg{constructor(e,t,n,r){super(e,"uni-navigator",Fv,t,n,r,"uni-navigator")}},FORM:class extends Dg{constructor(e,t,n,r){super(e,"uni-form",Of,t,n,r,"span")}},BUTTON:class extends Dg{constructor(e,t,n,r){super(e,"uni-button",Pf,t,n,r)}},INPUT:class extends Dg{constructor(e,t,n,r){super(e,"uni-input",av,t,n,r)}init(e){super.init(e),Wg(this.$props)}},LABEL:class extends Dg{constructor(e,t,n,r){super(e,"uni-label",Af,t,n,r)}},RADIO:class extends Dg{constructor(e,t,n,r){super(e,"uni-radio",tg,t,n,r,".uni-radio-wrapper")}setText(e){$g(this.$holder,"uni-radio-input",e)}},CHECKBOX:class extends Dg{constructor(e,t,n,r){super(e,"uni-checkbox",Gf,t,n,r,".uni-checkbox-wrapper")}setText(e){$g(this.$holder,"uni-checkbox-input",e)}},"CHECKBOX-GROUP":class extends Dg{constructor(e,t,n,r){super(e,"uni-checkbox-group",Zf,t,n,r)}},AD:class extends Dg{constructor(e,t,n,r){super(e,"uni-ad",zg,t,n,r)}},CAMERA:class extends Vg{constructor(e,t,n){super(e,"uni-camera",t,n)}},CANVAS:class extends Dg{constructor(e,t,n,r){super(e,"uni-canvas",Yf,t,n,r,"uni-canvas > div")}},"COVER-IMAGE":class extends Dg{constructor(e,t,n,r){super(e,"uni-cover-image",qg,t,n,r)}},"COVER-VIEW":class extends Fg{constructor(e,t,n,r){super(e,"uni-cover-view",Yg,t,n,r,".uni-cover-view")}},EDITOR:class extends Dg{constructor(e,t,n,r){super(e,"uni-editor",Np,t,n,r)}},"FUNCTIONAL-PAGE-NAVIGATOR":class extends Vg{constructor(e,t,n){super(e,"uni-functional-page-navigator",t,n)}},ICON:class extends Dg{constructor(e,t,n,r){super(e,"uni-icon",zp,t,n,r)}},"RADIO-GROUP":class extends Dg{constructor(e,t,n,r){super(e,"uni-radio-group",eg,t,n,r)}},"LIVE-PLAYER":class extends Vg{constructor(e,t,n){super(e,"uni-live-player",t,n)}},"LIVE-PUSHER":class extends Dg{constructor(e,t,n,r){super(e,"uni-live-pusher",Gg,t,n,r,".uni-live-pusher-slot")}},MAP:class extends Dg{constructor(e,t,n,r){super(e,"uni-map",Jg,t,n,r,".uni-map-slot")}},"MOVABLE-AREA":class extends Fg{constructor(e,t,n,r){super(e,"uni-movable-area",gv,t,n,r)}},"MOVABLE-VIEW":class extends Dg{constructor(e,t,n,r){super(e,"uni-movable-view",Ov,t,n,r)}},"OFFICIAL-ACCOUNT":class extends Vg{constructor(e,t,n){super(e,"uni-official-account",t,n)}},"OPEN-DATA":class extends Vg{constructor(e,t,n){super(e,"uni-open-data",t,n)}},PICKER:class extends Dg{constructor(e,t,n,r){super(e,"uni-picker",rm,t,n,r)}},"PICKER-VIEW":class extends Fg{constructor(e,t,n,r){super(e,"uni-picker-view",$v,t,n,r,".uni-picker-view-wrapper")}},"PICKER-VIEW-COLUMN":class extends Fg{constructor(e,t,n,r){super(e,"uni-picker-view-column",Xv,t,n,r,".uni-picker-view-content")}},PROGRESS:class extends Dg{constructor(e,t,n,r){super(e,"uni-progress",Kv,t,n,r)}},"RICH-TEXT":class extends Dg{constructor(e,t,n,r){super(e,"uni-rich-text",og,t,n,r)}},"SCROLL-VIEW":class extends Dg{constructor(e,t,n,r){super(e,"uni-scroll-view",lg,t,n,r,".uni-scroll-view-content")}setText(e){$g(this.$holder,"uni-scroll-view-refresher",e)}},SLIDER:class extends Dg{constructor(e,t,n,r){super(e,"uni-slider",ug,t,n,r)}},SWIPER:class extends Fg{constructor(e,t,n,r){super(e,"uni-swiper",hg,t,n,r,".uni-swiper-slide-frame")}},"SWIPER-ITEM":class extends Dg{constructor(e,t,n,r){super(e,"uni-swiper-item",fg,t,n,r)}},SWITCH:class extends Dg{constructor(e,t,n,r){super(e,"uni-switch",pg,t,n,r)}},TEXTAREA:class extends Dg{constructor(e,t,n,r){super(e,"uni-textarea",bg,t,n,r)}init(e){super.init(e),Wg(this.$props)}},VIDEO:class extends Dg{constructor(e,t,n,r){super(e,"uni-video",sm,t,n,r,".uni-video-slot")}},"WEB-VIEW":class extends Dg{constructor(e,t,n,r){super(e,"uni-web-view",cm,t,n,r)}}};var hm=new Map;function fm(e){return hm.get(e)}function pm(e){return hm.delete(e)}function vm(e,t,n,r){var i,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(0===e)i=new Hh(e,t,n,document.createElement(t));else{var o=dm[t];i=o?new o(e,n,r,a):new mf(e,document.createElement(t),n,r,a)}return hm.set(e,i),i}var gm=[],mm=!1;function _m(e){if(mm)return e();gm.push(e)}function ym(){mm=!0,gm.forEach((e=>{try{e()}catch(t){console.error(t)}})),gm.length=0}function bm(e){var{css:t,route:n,platform:r,pixelRatio:i,windowWidth:a,disableScroll:o,statusbarHeight:s,windowTop:l,windowBottom:u}=e;!function(e){window.__PAGE_INFO__={route:e}}(n),function(e,t,n){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:n}}(r,i,a),vm(0,"div",-1,-1).$=document.getElementById("app");var c=plus.webview.currentWebview().id;window.__id__=c,document.title="".concat(n,"[").concat(c,"]"),function(e,t,n){var r={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":n+"px","--status-bar-height":e+"px"};!function(e){var t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}(r)}(s,l,u),o&&document.addEventListener("touchmove",su),t?function(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=ym,t.onerror=ym,document.head.appendChild(t)}(n):ym()}var wm=!1;function xm(e,t){var{scrollTop:n,selector:r,duration:i}=e;!function(e,t,n){if(gn(e)){var r=document.querySelector(e);if(r){var{height:i,top:a}=r.getBoundingClientRect();e=a+window.pageYOffset,n&&(e-=i)}}e<0&&(e=0);var o=document.documentElement,{clientHeight:s,scrollHeight:l}=o;if(e=Math.min(e,l-s),0!==t){if(window.scrollY!==e){var u=t=>{if(t<=0)window.scrollTo(0,e);else{var n=e-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/t*10),u(t-10)}))}};u(t)}}else o.scrollTop=document.body.scrollTop=e}(r||n||0,i),t()}function Sm(e){var t=e[0];1===t[0]?bm(t[1]):_m((()=>function(e){var t=e[0],n=function(e){if(!e.length)return e=>e;var t=function(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if("number"==typeof n)return e[n];var i={};return n.forEach((e=>{var[n,a]=e;i[t(n)]=r?t(a):a})),i};return t}(0===t[0]?t[1]:[]);e.forEach((e=>{switch(e[0]){case 1:return bm(e[1]);case 2:return;case 3:var t=e[3];return vm(e[1],n(e[2]),-1===t?0:t,e[4],Oh(n,e[5]));case 4:return fm(e[1]).insert(e[2],e[3],Oh(n,e[4]));case 5:return fm(e[1]).remove();case 6:return fm(e[1]).setAttr(n(e[2]),n(e[3]));case 7:return fm(e[1]).removeAttr(n(e[2]));case 8:return fm(e[1]).addEvent(n(e[2]),e[3]);case 12:return fm(e[1]).addWxsEvent(n(e[2]),n(e[3]),e[4]);case 9:return fm(e[1]).removeEvent(n(e[2]));case 10:return fm(e[1]).setText(n(e[2]));case 15:return function(e){if(!wm){wm=!0;var t={onReachBottomDistance:e,onPageScroll(e){UniViewJSBridge.publishHandler("onPageScroll",{scrollTop:e})},onReachBottom(){UniViewJSBridge.publishHandler("onReachBottom")}};requestAnimationFrame((()=>document.addEventListener("scroll",pu(t))))}}(e[1])}})),function(){try{[...Ih].sort(((e,t)=>e.priority-t.priority)).forEach((e=>e()))}finally{Ih.clear()}}()}(e)))}function km(){UniViewJSBridge.publishHandler(Bu)}function Tm(e){return window.__$__(e).$}function Em(e,t){var n={},{top:r,topWindowHeight:i}=function(){var e=document.documentElement.style,t=Kl(),n=Gl(e,"--window-bottom"),r=Gl(e,"--window-left"),i=Gl(e,"--window-right"),a=Gl(e,"--top-window-height");return{top:t,bottom:n?n+Xl.bottom:0,left:r?r+Xl.left:0,right:i?i+Xl.right:0,topWindowHeight:a||0}}();if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=nr(e)),t.rect||t.size){var a=e.getBoundingClientRect();t.rect&&(n.left=a.left,n.right=a.right,n.top=a.top-r-i,n.bottom=a.bottom-r-i),t.size&&(n.width=a.width,n.height=a.height)}if(fn(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){var o=e.children[0].children[0];n.scrollLeft=o.scrollLeft,n.scrollTop=o.scrollTop,n.scrollHeight=o.scrollHeight,n.scrollWidth=o.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(fn(t.computedStyle)){var s=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=s[e]}))}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function Cm(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){for(var t=this.parentElement.querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}function Mm(e,t,n,r,i){var a=function(e,t){return e?window.__$__(e).$:t.$el}(t,e),o=a.parentElement;if(!o)return r?null:[];var{nodeType:s}=a,l=3===s||8===s;if(r){var u=l?o.querySelector(n):Cm(a,n)?a:a.querySelector(n);return u?Em(u,i):null}var c=[],d=(l?o:a).querySelectorAll(n);return d&&d.length&&[].forEach.call(d,(e=>{c.push(Em(e,i))})),!l&&Cm(a,n)&&c.unshift(Em(a,i)),c}function Om(e,t,n){var r=[];t.forEach((t=>{var{component:n,selector:i,single:a,fields:o}=t;null===n?r.push(function(e){var 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){var n=document.documentElement,r=document.body;t.scrollLeft=n.scrollLeft||r.scrollLeft||0,t.scrollTop=n.scrollTop||r.scrollTop||0,t.scrollHeight=n.scrollHeight||r.scrollHeight||0,t.scrollWidth=n.scrollWidth||r.scrollWidth||0}return t}(o)):r.push(Mm(e,n,i,a,o))})),n(r)}function Im(e,t){var{reqId:n,component:r,options:i,callback:a}=e,o=Tm(r);(o.__io||(o.__io={}))[n]=function(e,t,n){Th();var r=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,i=new IntersectionObserver((e=>{e.forEach((e=>{n({intersectionRatio:Ch(e),intersectionRect:Eh(e.intersectionRect),boundingClientRect:Eh(e.boundingClientRect),relativeRect:Eh(e.rootBounds),time:Date.now(),dataset:nr(e.target),id:e.target.id})}))}),{root:r,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){i.USE_MUTATION_OBSERVER=!0;for(var a=e.querySelectorAll(t.selector),o=0;o<a.length;o++)i.observe(a[o])}else{i.USE_MUTATION_OBSERVER=!1;var s=e.querySelector(t.selector);s?i.observe(s):console.warn("Node ".concat(t.selector," is not found. Intersection observer will not trigger."))}return i}(o,i,a)}var Lm={},Am={};function Nm(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function Bm(e,t){var{reqId:n,component:r,options:i,callback:a}=e,o=Lm[n]=window.matchMedia(function(e){var t=[];for(var n of["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"])"orientation"!==n&&e[n]&&Number(e[n]>=0)&&t.push("(".concat(Nm(n),": ").concat(Number(e[n]),"px)")),"orientation"===n&&e[n]&&t.push("(".concat(Nm(n),": ").concat(e[n],")"));return t.join(" and ")}(i)),s=Am[n]=e=>a(e.matches);s(o),o.addListener(s)}function Rm(e,t){var{family:n,source:r,desc:i}=e;(function(e,t,n){var r=document.fonts;if(r){var i=new FontFace(e,t,n);return i.load().then((()=>{r.add&&r.add(i)}))}return new Promise((r=>{var i=document.createElement("style"),a=[];if(n){var{style:o,weight:s,stretch:l,unicodeRange:u,variant:c,featureSettings:d}=n;o&&a.push("font-style:".concat(o)),s&&a.push("font-weight:".concat(s)),l&&a.push("font-stretch:".concat(l)),u&&a.push("unicode-range:".concat(u)),c&&a.push("font-variant:".concat(c)),d&&a.push("font-feature-settings:".concat(d))}i.innerText='@font-face{font-family:"'.concat(e,'";src:').concat(t,";").concat(a.join(";"),"}"),document.head.appendChild(i),r()}))})(n,r,i).then((()=>{t()})).catch((e=>{t(e.toString())}))}var Pm={$el:document.body};function zm(){var e=ou();!function(e,t){UniViewJSBridge.subscribe(Hr(e,$r),t?t(qr):qr)}(e,(e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];_m((()=>{e.apply(null,n)}))})),Ur(e,"requestComponentInfo",((e,t)=>{Om(Pm,e.reqs,t)})),Ur(e,"addIntersectionObserver",(e=>{Im(un({},e,{callback(t){UniViewJSBridge.publishHandler(e.eventName,t)}}))})),Ur(e,"removeIntersectionObserver",(e=>{!function(e,t){var{reqId:n,component:r}=e,i=Tm(r),a=i.__io&&i.__io[n];a&&(a.disconnect(),delete i.__io[n])}(e)})),Ur(e,"addMediaQueryObserver",(e=>{Bm(un({},e,{callback(t){UniViewJSBridge.publishHandler(e.eventName,t)}}))})),Ur(e,"removeMediaQueryObserver",(e=>{!function(e,t){var{reqId:n,component:r}=e,i=Am[n],a=Lm[n];a&&(a.removeListener(i),delete Am[n],delete Lm[n])}(e)})),Ur(e,"pageScrollTo",xm),Ur(e,"loadFontFace",Rm),Ur(e,"setPageMeta",(e=>{!function(e,t){var{pageStyle:n,rootFontSize:r}=t;n&&(document.querySelector("uni-page-body")||document.body).setAttribute("style",n),r&&document.documentElement.style.fontSize!==r&&(document.documentElement.style.fontSize=r)}(0,e)}))}function Dm(){ii(),zm(),function(){var{subscribe:e}=UniViewJSBridge;e(Au,Sm),e("setLocale",(e=>Rr().setLocale(e))),e(Bu,km)}(),function(){if(0===String(navigator.vendor).indexOf("Apple")){var e,t=null;document.documentElement.addEventListener("click",(n=>{clearTimeout(e),t&&Math.abs(n.pageX-t.pageX)<=44&&Math.abs(n.pageY-t.pageY)<=44&&n.timeStamp-t.timeStamp<=450&&n.preventDefault(),t=n,e=setTimeout((()=>{t=null}),450)}))}}(),Ru.publishHandler(Bu)}window.uni=Mh,window.UniViewJSBridge=Ru,window.rpx2px=mh,window.normalizeStyleName=of,window.normalizeStyleValue=qh,window.__$__=fm,window.__f__=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];uni.__log__?uni.__log__(e,t,...r):console[e].apply(console,[...r,t])},"undefined"!=typeof plus?Dm():document.addEventListener("plusready",Dm)}));