From 2d288147ee662954958e10325f7b9b6e10111351 Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Mon, 22 Nov 2021 17:55:48 +0800 Subject: [PATCH] feat: CSS Modules and State-Driven Dynamic CSS (#3008) --- packages/shims-node.d.ts | 1 + .../uni-app-plus/dist/uni-app-view.umd.js | 6 +- .../framework/dom/components/UniComponent.ts | 10 +- .../view/framework/dom/elements/UniElement.ts | 6 +- .../src/view/framework/dom/utils.ts | 4 + .../dist/service.runtime.esm.dev.js | 23 +- .../dist/service.runtime.esm.prod.js | 23 +- .../uni-app-vue/lib/service.runtime.esm.js | 21 +- packages/uni-cli-shared/package.json | 1 + .../src/vite/plugins/vitejs/plugins/css.ts | 7 +- .../uni-mp-compiler/__tests__/style.spec.ts | 32 ++ packages/uni-mp-compiler/src/compile.ts | 8 +- packages/uni-mp-compiler/src/options.ts | 1 + packages/uni-mp-compiler/src/transform.ts | 2 + .../src/transforms/transformRoot.ts | 48 ++ packages/uni-mp-vite/src/plugin/index.ts | 18 + packages/uni-mp-vue/dist/vue.runtime.esm.js | 50 +- packages/uni-mp-vue/lib/vue.runtime.esm.js | 50 +- packages/vite-plugin-uni/src/cli/utils.ts | 3 + packages/vite-plugin-uni/src/config/define.ts | 4 + packages/vite-plugin-uni/src/index.ts | 8 + pnpm-lock.yaml | 497 +++++++++--------- 22 files changed, 560 insertions(+), 263 deletions(-) create mode 100644 packages/uni-mp-compiler/src/transforms/transformRoot.ts diff --git a/packages/shims-node.d.ts b/packages/shims-node.d.ts index d3cf9af25..bbd134b55 100644 --- a/packages/shims-node.d.ts +++ b/packages/shims-node.d.ts @@ -4,6 +4,7 @@ declare namespace NodeJS { } interface ProcessEnv { NODE_ENV: 'production' | 'development' | 'test' + UNI_NODE_ENV: 'production' | 'development' | 'test' UNI_PLATFORM: UniApp.PLATFORM UNI_SUB_PLATFORM: 'quickapp-webview-huawei' | 'quickapp-webview-union' UNI_INPUT_DIR: string diff --git a/packages/uni-app-plus/dist/uni-app-view.umd.js b/packages/uni-app-plus/dist/uni-app-view.umd.js index b67d4e6a2..dd6ece988 100644 --- a/packages/uni-app-plus/dist/uni-app-view.umd.js +++ b/packages/uni-app-plus/dist/uni-app-view.umd.js @@ -1,3 +1,3 @@ -(function(yn){typeof define=="function"&&define.amd?define(yn):yn()})(function(){"use strict";var yn="",hy="",gy="",Gt={exports:{}},Jr={exports:{}},Qr={exports:{}},ac=Qr.exports={version:"2.6.12"};typeof __e=="number"&&(__e=ac);var pt={exports:{}},ei=pt.exports=typeof ei!="undefined"&&ei.Math==Math?ei:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=ei);var sc=Qr.exports,Ns=pt.exports,ks="__core-js_shared__",Bs=Ns[ks]||(Ns[ks]={});(Jr.exports=function(e,t){return Bs[e]||(Bs[e]=t!==void 0?t:{})})("versions",[]).push({version:sc.version,mode:"window",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"});var oc=0,lc=Math.random(),Sn=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++oc+lc).toString(36))},xn=Jr.exports("wks"),uc=Sn,Tn=pt.exports.Symbol,Ds=typeof Tn=="function",fc=Gt.exports=function(e){return xn[e]||(xn[e]=Ds&&Tn[e]||(Ds?Tn:uc)("Symbol."+e))};fc.store=xn;var ti={},En=function(e){return typeof e=="object"?e!==null:typeof e=="function"},cc=En,Cn=function(e){if(!cc(e))throw TypeError(e+" is not an object!");return e},ri=function(e){try{return!!e()}catch(t){return!0}},hr=!ri(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),Fs=En,On=pt.exports.document,vc=Fs(On)&&Fs(On.createElement),$s=function(e){return vc?On.createElement(e):{}},dc=!hr&&!ri(function(){return Object.defineProperty($s("div"),"a",{get:function(){return 7}}).a!=7}),ii=En,hc=function(e,t){if(!ii(e))return e;var r,i;if(t&&typeof(r=e.toString)=="function"&&!ii(i=r.call(e))||typeof(r=e.valueOf)=="function"&&!ii(i=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!ii(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Ws=Cn,gc=dc,pc=hc,mc=Object.defineProperty;ti.f=hr?Object.defineProperty:function(t,r,i){if(Ws(t),r=pc(r,!0),Ws(i),gc)try{return mc(t,r,i)}catch(n){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[r]=i.value),t};var Us=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},_c=ti,bc=Us,Zt=hr?function(e,t,r){return _c.f(e,t,bc(1,r))}:function(e,t,r){return e[t]=r,e},In=Gt.exports("unscopables"),Mn=Array.prototype;Mn[In]==null&&Zt(Mn,In,{});var wc=function(e){Mn[In][e]=!0},yc=function(e,t){return{value:t,done:!!e}},An={},Sc={}.toString,xc=function(e){return Sc.call(e).slice(8,-1)},Tc=xc,Ec=Object("z").propertyIsEnumerable(0)?Object:function(e){return Tc(e)=="String"?e.split(""):Object(e)},Vs=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},Cc=Ec,Oc=Vs,ni=function(e){return Cc(Oc(e))},ai={exports:{}},Ic={}.hasOwnProperty,si=function(e,t){return Ic.call(e,t)},Mc=Jr.exports("native-function-to-string",Function.toString),Ac=pt.exports,oi=Zt,Hs=si,Rn=Sn("src"),Pn=Mc,js="toString",Rc=(""+Pn).split(js);Qr.exports.inspectSource=function(e){return Pn.call(e)},(ai.exports=function(e,t,r,i){var n=typeof r=="function";n&&(Hs(r,"name")||oi(r,"name",t)),e[t]!==r&&(n&&(Hs(r,Rn)||oi(r,Rn,e[t]?""+e[t]:Rc.join(String(t)))),e===Ac?e[t]=r:i?e[t]?e[t]=r:oi(e,t,r):(delete e[t],oi(e,t,r)))})(Function.prototype,js,function(){return typeof this=="function"&&this[Rn]||Pn.call(this)});var zs=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},Pc=zs,Lc=function(e,t,r){if(Pc(e),t===void 0)return e;switch(r){case 1:return function(i){return e.call(t,i)};case 2:return function(i,n){return e.call(t,i,n)};case 3:return function(i,n,a){return e.call(t,i,n,a)}}return function(){return e.apply(t,arguments)}},Jt=pt.exports,li=Qr.exports,Nc=Zt,kc=ai.exports,Ys=Lc,Ln="prototype",De=function(e,t,r){var i=e&De.F,n=e&De.G,a=e&De.S,s=e&De.P,o=e&De.B,l=n?Jt:a?Jt[t]||(Jt[t]={}):(Jt[t]||{})[Ln],u=n?li:li[t]||(li[t]={}),v=u[Ln]||(u[Ln]={}),c,m,g,_;n&&(r=t);for(c in r)m=!i&&l&&l[c]!==void 0,g=(m?l:r)[c],_=o&&m?Ys(g,Jt):s&&typeof g=="function"?Ys(Function.call,g):g,l&&kc(l,c,g,e&De.U),u[c]!=g&&Nc(u,c,_),s&&v[c]!=g&&(v[c]=g)};Jt.core=li,De.F=1,De.G=2,De.S=4,De.P=8,De.B=16,De.W=32,De.U=64,De.R=128;var Nn=De,Bc=Math.ceil,Dc=Math.floor,qs=function(e){return isNaN(e=+e)?0:(e>0?Dc:Bc)(e)},Fc=qs,$c=Math.min,Wc=function(e){return e>0?$c(Fc(e),9007199254740991):0},Uc=qs,Vc=Math.max,Hc=Math.min,jc=function(e,t){return e=Uc(e),e<0?Vc(e+t,0):Hc(e,t)},zc=ni,Yc=Wc,qc=jc,Xc=function(e){return function(t,r,i){var n=zc(t),a=Yc(n.length),s=qc(i,a),o;if(e&&r!=r){for(;a>s;)if(o=n[s++],o!=o)return!0}else for(;a>s;s++)if((e||s in n)&&n[s]===r)return e||s||0;return!e&&-1}},Xs=Jr.exports("keys"),Kc=Sn,kn=function(e){return Xs[e]||(Xs[e]=Kc(e))},Ks=si,Gc=ni,Zc=Xc(!1),Jc=kn("IE_PROTO"),Qc=function(e,t){var r=Gc(e),i=0,n=[],a;for(a in r)a!=Jc&&Ks(r,a)&&n.push(a);for(;t.length>i;)Ks(r,a=t[i++])&&(~Zc(n,a)||n.push(a));return n},Gs="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),ev=Qc,tv=Gs,Bn=Object.keys||function(t){return ev(t,tv)},rv=ti,iv=Cn,nv=Bn,av=hr?Object.defineProperties:function(t,r){iv(t);for(var i=nv(r),n=i.length,a=0,s;n>a;)rv.f(t,s=i[a++],r[s]);return t},Zs=pt.exports.document,sv=Zs&&Zs.documentElement,ov=Cn,lv=av,Js=Gs,uv=kn("IE_PROTO"),Dn=function(){},Fn="prototype",ui=function(){var e=$s("iframe"),t=Js.length,r="<",i=">",n;for(e.style.display="none",sv.appendChild(e),e.src="javascript:",n=e.contentWindow.document,n.open(),n.write(r+"script"+i+"document.F=Object"+r+"/script"+i),n.close(),ui=n.F;t--;)delete ui[Fn][Js[t]];return ui()},fv=Object.create||function(t,r){var i;return t!==null?(Dn[Fn]=ov(t),i=new Dn,Dn[Fn]=null,i[uv]=t):i=ui(),r===void 0?i:lv(i,r)},cv=ti.f,vv=si,Qs=Gt.exports("toStringTag"),eo=function(e,t,r){e&&!vv(e=r?e:e.prototype,Qs)&&cv(e,Qs,{configurable:!0,value:t})},dv=fv,hv=Us,gv=eo,to={};Zt(to,Gt.exports("iterator"),function(){return this});var pv=function(e,t,r){e.prototype=dv(to,{next:hv(1,r)}),gv(e,t+" Iterator")},mv=Vs,ro=function(e){return Object(mv(e))},_v=si,bv=ro,io=kn("IE_PROTO"),wv=Object.prototype,yv=Object.getPrototypeOf||function(e){return e=bv(e),_v(e,io)?e[io]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?wv:null},$n=Nn,Sv=ai.exports,no=Zt,ao=An,xv=pv,Tv=eo,Ev=yv,gr=Gt.exports("iterator"),Wn=!([].keys&&"next"in[].keys()),Cv="@@iterator",so="keys",fi="values",oo=function(){return this},Ov=function(e,t,r,i,n,a,s){xv(r,t,i);var o=function(f){if(!Wn&&f in c)return c[f];switch(f){case so:return function(){return new r(this,f)};case fi:return function(){return new r(this,f)}}return function(){return new r(this,f)}},l=t+" Iterator",u=n==fi,v=!1,c=e.prototype,m=c[gr]||c[Cv]||n&&c[n],g=m||o(n),_=n?u?o("entries"):g:void 0,b=t=="Array"&&c.entries||m,w,p,h;if(b&&(h=Ev(b.call(new e)),h!==Object.prototype&&h.next&&(Tv(h,l,!0),typeof h[gr]!="function"&&no(h,gr,oo))),u&&m&&m.name!==fi&&(v=!0,g=function(){return m.call(this)}),(Wn||v||!c[gr])&&no(c,gr,g),ao[t]=g,ao[l]=oo,n)if(w={values:u?g:o(fi),keys:a?g:o(so),entries:_},s)for(p in w)p in c||Sv(c,p,w[p]);else $n($n.P+$n.F*(Wn||v),t,w);return w},Un=wc,ci=yc,lo=An,Iv=ni,Mv=Ov(Array,"Array",function(e,t){this._t=Iv(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,ci(1)):t=="keys"?ci(0,r):t=="values"?ci(0,e[r]):ci(0,[r,e[r]])},"values");lo.Arguments=lo.Array,Un("keys"),Un("values"),Un("entries");for(var uo=Mv,Av=Bn,Rv=ai.exports,Pv=pt.exports,fo=Zt,co=An,vo=Gt.exports,ho=vo("iterator"),go=vo("toStringTag"),po=co.Array,mo={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},_o=Av(mo),Vn=0;Vn<_o.length;Vn++){var vi=_o[Vn],Lv=mo[vi],bo=Pv[vi],Pt=bo&&bo.prototype,di;if(Pt&&(Pt[ho]||fo(Pt,ho,po),Pt[go]||fo(Pt,go,vi),co[vi]=po,Lv))for(di in uo)Pt[di]||Rv(Pt,di,uo[di],!0)}function hi(e,t){for(var r=Object.create(null),i=e.split(","),n=0;n!!r[a.toLowerCase()]:a=>!!r[a]}var Nv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",kv=hi(Nv);function wo(e){return!!e||e===""}var Bv=hi("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width");function Hn(e){if(oe(e)){for(var t={},r=0;r{if(r){var i=r.split(Fv);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function $v(e){var t="";if(!e||ye(e))return t;for(var r in e){var i=e[r],n=r.startsWith("--")?r:Ve(r);(ye(i)||typeof i=="number"&&Bv(n))&&(t+="".concat(n,":").concat(i,";"))}return t}function jn(e){var t="";if(ye(e))t=e;else if(oe(e))for(var r=0;r{},Wv=()=>!1,Uv=/^on[^a-z]/,gi=e=>Uv.test(e),zn=e=>e.startsWith("onUpdate:"),ce=Object.assign,So=(e,t)=>{var r=e.indexOf(t);r>-1&&e.splice(r,1)},Vv=Object.prototype.hasOwnProperty,te=(e,t)=>Vv.call(e,t),oe=Array.isArray,mr=e=>_r(e)==="[object Map]",Hv=e=>_r(e)==="[object Set]",ae=e=>typeof e=="function",ye=e=>typeof e=="string",Yn=e=>typeof e=="symbol",Be=e=>e!==null&&typeof e=="object",xo=e=>Be(e)&&ae(e.then)&&ae(e.catch),jv=Object.prototype.toString,_r=e=>jv.call(e),qn=e=>_r(e).slice(8,-1),it=e=>_r(e)==="[object Object]",Xn=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,pi=hi(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),mi=e=>{var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}},zv=/-(\w)/g,mt=mi(e=>e.replace(zv,(t,r)=>r?r.toUpperCase():"")),Yv=/\B([A-Z])/g,Ve=mi(e=>e.replace(Yv,"-$1").toLowerCase()),_i=mi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Kn=mi(e=>e?"on".concat(_i(e)):""),br=(e,t)=>!Object.is(e,t),Gn=(e,t)=>{for(var r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},qv=e=>{var t=parseFloat(e);return isNaN(t)?e:t},To,Xv=()=>To||(To=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"||typeof window!="undefined"?window:{}),wr=` -`,Eo=44,wi="#007aff",Kv=/^([a-z-]+:)?\/\//i,Gv=/^data:.*,.*/,Co="wxs://",Oo="json://",Zv="wxsModules",Jv="renderjsModules",Qv="onPageScroll",ed="onReachBottom",td="onWxsInvokeCallMethod",Zn=0;function Jn(e){var t=Date.now(),r=Zn?t-Zn:0;Zn=t;for(var i=arguments.length,n=new Array(i>1?i-1:0),a=1;aJSON.stringify(s)).join(" "))}function Qn(e){return ce({},e.dataset,e.__uniDataset)}function ea(e){return{passive:e}}function ta(e){var{id:t,offsetTop:r,offsetLeft:i}=e;return{id:t,dataset:Qn(e),offsetTop:r,offsetLeft:i}}function rd(e,t,r){var i=document.fonts;if(i){var n=new FontFace(e,t,r);return n.load().then(()=>{i.add&&i.add(n)})}return new Promise(a=>{var s=document.createElement("style"),o=[];if(r){var{style:l,weight:u,stretch:v,unicodeRange:c,variant:m,featureSettings:g}=r;l&&o.push("font-style:".concat(l)),u&&o.push("font-weight:".concat(u)),v&&o.push("font-stretch:".concat(v)),c&&o.push("unicode-range:".concat(c)),m&&o.push("font-variant:".concat(m)),g&&o.push("font-feature-settings:".concat(g))}s.innerText='@font-face{font-family:"'.concat(e,'";src:').concat(t,";").concat(o.join(";"),"}"),document.head.appendChild(s),a()})}function id(e,t){if(ye(e)){var r=document.querySelector(e);r&&(e=r.getBoundingClientRect().top+window.pageYOffset)}e<0&&(e=0);var i=document.documentElement,{clientHeight:n,scrollHeight:a}=i;if(e=Math.min(e,a-n),t===0){i.scrollTop=document.body.scrollTop=e;return}if(window.scrollY!==e){var s=o=>{if(o<=0){window.scrollTo(0,e);return}var l=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+l/o*10),s(o-10)})};s(t)}}function nd(){return typeof __channelId__=="string"&&__channelId__}function ad(e,t){switch(qn(t)){case"Function":return"function() { [native code] }";default:return t}}function sd(e,t,r){if(nd())return r.push(t.replace("at ","uni-app:///")),console[e].apply(console,r);var i=r.map(function(n){var a=_r(n).toLowerCase();if(a==="[object object]"||a==="[object array]")try{n="---BEGIN:JSON---"+JSON.stringify(n,ad)+"---END:JSON---"}catch(o){n=a}else if(n===null)n="---NULL---";else if(n===void 0)n="---UNDEFINED---";else{var s=qn(n).toUpperCase();s==="NUMBER"||s==="BOOLEAN"?n="---BEGIN:"+s+"---"+n+"---END:"+s+"---":n=String(n)}return n});return i.join("---COMMA---")+" "+t}function od(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),n=2;n{var i=t[r];return i||(t[r]=e(r))}}function xd(e){return Sd(e)}function sa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r;return function(){if(e){for(var i=arguments.length,n=new Array(i),a=0;ae.apply(this,arguments);r=setTimeout(n,t)};return i.cancel=function(){clearTimeout(r)},i}var Ed=Array.isArray,Cd=e=>e!==null&&typeof e=="object",Od=["{","}"];class Id{constructor(){this._caches=Object.create(null)}interpolate(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Od;if(!r)return[t];var n=this._caches[t];return n||(n=Rd(t,i),this._caches[t]=n),Pd(n,r)}}var Md=/^(?:\d)+/,Ad=/^(?:\w)+/;function Rd(e,t){for(var[r,i]=t,n=[],a=0,s="";aLd.call(e,t),Nd=new Id;function kd(e,t){return!!t.find(r=>e.indexOf(r)!==-1)}function Bd(e,t){return t.find(r=>e.indexOf(r)===0)}function ko(e,t){if(!!e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e==="chinese")return yr;if(e.indexOf("zh")===0)return e.indexOf("-hans")>-1?yr:e.indexOf("-hant")>-1||kd(e,["-tw","-hk","-mo","-cht"])?Si:yr;var r=Bd(e,[_t,oa,la]);if(r)return r}}class Dd{constructor(t){var{locale:r,fallbackLocale:i,messages:n,watcher:a,formater:s}=t;this.locale=_t,this.fallbackLocale=_t,this.message={},this.messages={},this.watchers=[],i&&(this.fallbackLocale=i),this.formater=s||Nd,this.messages=n||{},this.setLocale(r||_t),a&&this.watchLocale(a)}setLocale(t){var r=this.locale;this.locale=ko(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],r!==this.locale&&this.watchers.forEach(i=>{i(this.locale,r)})}getLocale(){return this.locale}watchLocale(t){var r=this.watchers.push(t)-1;return()=>{this.watchers.splice(r,1)}}add(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,n=this.messages[t];n?i?Object.assign(n,r):Object.keys(r).forEach(a=>{No(n,a)||(n[a]=r[a])}):this.messages[t]=r}f(t,r,i){return this.formater.interpolate(t,r,i).join("")}t(t,r,i){var n=this.message;return typeof r=="string"?(r=ko(r,this.messages),r&&(n=this.messages[r])):i=r,No(n,t)?this.formater.interpolate(n[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}function Fd(e,t){e.$watchLocale?e.$watchLocale(r=>{t.setLocale(r)}):e.$watch(()=>e.$locale,r=>{t.setLocale(r)})}function $d(){return typeof uni!="undefined"&&uni.getLocale?uni.getLocale():typeof window!="undefined"&&window.getLocale?window.getLocale():_t}function Wd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;typeof e!="string"&&([e,t]=[t,e]),typeof e!="string"&&(e=$d()),typeof r!="string"&&(r=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||_t);var n=new Dd({locale:e,fallbackLocale:r,messages:t,watcher:i}),a=(s,o)=>{if(typeof getApp!="function")a=function(u,v){return n.t(u,v)};else{var l=!1;a=function(u,v){var c=getApp().$vm;return c&&(c.$locale,l||(l=!0,Fd(c,n))),n.t(u,v)}}return a(s,o)};return{i18n:n,f(s,o,l){return n.f(s,o,l)},t(s,o){return a(s,o)},add(s,o){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return n.add(s,o,l)},watch(s){return n.watchLocale(s)},getLocale(){return n.getLocale()},setLocale(s){return n.setLocale(s)}}}var ua;function He(){if(!ua){var e;typeof getApp=="function"?e=weex.requireModule("plus").getLanguage():e=plus.webview.currentWebview().getStyle().locale,ua=Wd(e)}return ua}function nt(e,t,r){return t.reduce((i,n,a)=>(i[e+n]=r[a],i),{})}var Ud=sa(()=>{var e="uni.picker.",t=["done","cancel"];He().add(_t,nt(e,t,["Done","Cancel"]),!1),He().add(la,nt(e,t,["OK","Cancelar"]),!1),He().add(oa,nt(e,t,["OK","Annuler"]),!1),He().add(yr,nt(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1),He().add(Si,nt(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1)}),Vd=sa(()=>{var e="uni.button.",t=["feedback.title","feedback.send"];He().add(_t,nt(e,t,["feedback","send"]),!1),He().add(la,nt(e,t,["realimentaci\xF3n","enviar"]),!1),He().add(oa,nt(e,t,["retour d'information","envoyer"]),!1),He().add(yr,nt(e,t,["\u95EE\u9898\u53CD\u9988","\u53D1\u9001"]),!1),He().add(Si,nt(e,t,["\u554F\u984C\u53CD\u994B","\u767C\u9001"]),!1)}),Bo=function(){};Bo.prototype={on:function(e,t,r){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){var i=this;function n(){i.off(e,n),t.apply(r,arguments)}return n._=t,this.on(e,n,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),i=0,n=r.length;for(i;i1?i-1:0),a=1;a2&&arguments[2]!==void 0?arguments[2]:!1;t[n?"once":"on"]("".concat(e,".").concat(r),i)},unsubscribe(r,i){t.off("".concat(e,".").concat(r),i)},subscribeHandler(r,i,n){t.emit("".concat(e,".").concat(r),i,n)}}}var Do="invokeViewApi",Fo="invokeServiceApi",jd=1,zd=(e,t,r)=>{var{subscribe:i,publishHandler:n}=UniViewJSBridge,a=r?jd++:0;r&&i(Fo+"."+a,r,!0),n(Fo,{id:a,name:e,args:t})},xi=Object.create(null);function Ti(e,t){return e+"."+t}function Yd(e,t){UniViewJSBridge.subscribe(Ti(e,Do),t?t($o):$o)}function at(e,t,r){t=Ti(e,t),xi[t]||(xi[t]=r)}function qd(e,t){t=Ti(e,t),delete xi[t]}function $o(e,t){var{id:r,name:i,args:n}=e;i=Ti(t,i);var a=o=>{r&&UniViewJSBridge.publishHandler(Do+"."+r,o)},s=xi[i];s?s(n,a):a({})}var Xd=ce(Hd("service"),{invokeServiceMethod:zd}),Kd=350,Wo=10,Ei=ea(!0),Sr;function xr(){Sr&&(clearTimeout(Sr),Sr=null)}var Uo=0,Vo=0;function Gd(e){if(xr(),e.touches.length===1){var{pageX:t,pageY:r}=e.touches[0];Uo=t,Vo=r,Sr=setTimeout(function(){var i=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});i.touches=e.touches,i.changedTouches=e.changedTouches,e.target.dispatchEvent(i)},Kd)}}function Zd(e){if(!!Sr){if(e.touches.length!==1)return xr();var{pageX:t,pageY:r}=e.touches[0];if(Math.abs(t-Uo)>Wo||Math.abs(r-Vo)>Wo)return xr()}}function Jd(){window.addEventListener("touchstart",Gd,Ei),window.addEventListener("touchmove",Zd,Ei),window.addEventListener("touchend",xr,Ei),window.addEventListener("touchcancel",xr,Ei)}function Ho(e,t){var r=Number(e);return isNaN(r)?t:r}function Qd(){var e=/^Apple/.test(navigator.vendor)&&typeof window.orientation=="number",t=e&&Math.abs(window.orientation)===90,r=e?Math[t?"max":"min"](screen.width,screen.height):screen.width,i=Math.min(window.innerWidth,document.documentElement.clientWidth,r)||r;return i}function eh(){function e(){var t=__uniConfig.globalStyle||{},r=Ho(t.rpxCalcMaxDeviceWidth,960),i=Ho(t.rpxCalcBaseDeviceWidth,375),n=Qd();n=n<=r?n:i,document.documentElement.style.fontSize=n/23.4375+"px"}e(),document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e),window.addEventListener("resize",e)}function th(){eh(),Jd()}var rh=ri,ih=function(e,t){return!!e&&rh(function(){t?e.call(null,function(){},1):e.call(null)})},fa=Nn,nh=zs,jo=ro,zo=ri,ca=[].sort,Yo=[1,2,3];fa(fa.P+fa.F*(zo(function(){Yo.sort(void 0)})||!zo(function(){Yo.sort(null)})||!ih(ca)),"Array",{sort:function(t){return t===void 0?ca.call(jo(this)):ca.call(jo(this),nh(t))}});var Lt,Ci=[];class ah{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.active=!0,this.effects=[],this.cleanups=[],!t&&Lt&&(this.parent=Lt,this.index=(Lt.scopes||(Lt.scopes=[])).push(this)-1)}run(t){if(this.active)try{return this.on(),t()}finally{this.off()}}on(){this.active&&(Ci.push(this),Lt=this)}off(){this.active&&(Ci.pop(),Lt=Ci[Ci.length-1])}stop(t){if(this.active){if(this.effects.forEach(i=>i.stop()),this.cleanups.forEach(i=>i()),this.scopes&&this.scopes.forEach(i=>i.stop(!0)),this.parent&&!t){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function sh(e,t){t=t||Lt,t&&t.active&&t.effects.push(e)}var va=e=>{var t=new Set(e);return t.w=0,t.n=0,t},qo=e=>(e.w&bt)>0,Xo=e=>(e.n&bt)>0,oh=e=>{var{deps:t}=e;if(t.length)for(var r=0;r{var{deps:t}=e;if(t.length){for(var r=0,i=0;i1&&arguments[1]!==void 0?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0;this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],sh(this,i)}run(){if(!this.active)return this.fn();if(!Er.includes(this))try{return Er.push(Nt=this),uh(),bt=1<<++Tr,Tr<=ha?oh(this):Ko(this),this.fn()}finally{Tr<=ha&&lh(this),bt=1<<--Tr,Bt(),Er.pop();var t=Er.length;Nt=t>0?Er[t-1]:void 0}}stop(){this.active&&(Ko(this),this.onStop&&this.onStop(),this.active=!1)}}function Ko(e){var{deps:t}=e;if(t.length){for(var r=0;r{(c==="length"||c>=i)&&o.push(v)});else switch(r!==void 0&&o.push(s.get(r)),t){case"add":oe(e)?Xn(r)&&o.push(s.get("length")):(o.push(s.get(kt)),mr(e)&&o.push(s.get(ga)));break;case"delete":oe(e)||(o.push(s.get(kt)),mr(e)&&o.push(s.get(ga)));break;case"set":mr(e)&&o.push(s.get(kt));break}if(o.length===1)o[0]&&_a(o[0]);else{var l=[];for(var u of o)u&&l.push(...u);_a(va(l))}}}function _a(e,t){for(var r of oe(e)?e:[...e])(r!==Nt||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}var fh=hi("__proto__,__v_isRef,__isVue"),Jo=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Yn)),ch=ba(),vh=ba(!1,!0),dh=ba(!0),Qo=hh();function hh(){var e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(){for(var r=ge(this),i=0,n=this.length;i{e[t]=function(){tr();for(var r=arguments.length,i=new Array(r),n=0;n0&&arguments[0]!==void 0?arguments[0]:!1,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return function(i,n,a){if(n==="__v_isReactive")return!e;if(n==="__v_isReadonly")return e;if(n==="__v_raw"&&a===(e?t?Ah:ll:t?ol:sl).get(i))return i;var s=oe(i);if(!e&&s&&te(Qo,n))return Reflect.get(Qo,n,a);var o=Reflect.get(i,n,a);if((Yn(n)?Jo.has(n):fh(n))||(e||je(i,"get",n),t))return o;if(We(o)){var l=!s||!Xn(n);return l?o.value:o}return Be(o)?e?ul(o):Ee(o):o}}var gh=el(),ph=el(!0);function el(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return function(r,i,n,a){var s=r[i];if(!e&&(n=ge(n),s=ge(s),!oe(r)&&We(s)&&!We(n)))return s.value=n,!0;var o=oe(r)&&Xn(i)?Number(i)e,Oi=e=>Reflect.getPrototypeOf(e);function Ii(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e=e.__v_raw;var n=ge(e),a=ge(t);t!==a&&!r&&je(n,"get",t),!r&&je(n,"get",a);var{has:s}=Oi(n),o=i?wa:r?xa:Cr;if(s.call(n,t))return o(e.get(t));if(s.call(n,a))return o(e.get(a));e!==n&&e.get(t)}function Mi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.__v_raw,i=ge(r),n=ge(e);return e!==n&&!t&&je(i,"has",e),!t&&je(i,"has",n),e===n?r.has(e):r.has(e)||r.has(n)}function Ai(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e=e.__v_raw,!t&&je(ge(e),"iterate",kt),Reflect.get(e,"size",e)}function rl(e){e=ge(e);var t=ge(this),r=Oi(t),i=r.has.call(t,e);return i||(t.add(e),vt(t,"add",e,e)),this}function il(e,t){t=ge(t);var r=ge(this),{has:i,get:n}=Oi(r),a=i.call(r,e);a||(e=ge(e),a=i.call(r,e));var s=n.call(r,e);return r.set(e,t),a?br(t,s)&&vt(r,"set",e,t):vt(r,"add",e,t),this}function nl(e){var t=ge(this),{has:r,get:i}=Oi(t),n=r.call(t,e);n||(e=ge(e),n=r.call(t,e)),i&&i.call(t,e);var a=t.delete(e);return n&&vt(t,"delete",e,void 0),a}function al(){var e=ge(this),t=e.size!==0,r=e.clear();return t&&vt(e,"clear",void 0,void 0),r}function Ri(e,t){return function(i,n){var a=this,s=a.__v_raw,o=ge(s),l=t?wa:e?xa:Cr;return!e&&je(o,"iterate",kt),s.forEach((u,v)=>i.call(n,l(u),l(v),a))}}function Pi(e,t,r){return function(){var i=this.__v_raw,n=ge(i),a=mr(n),s=e==="entries"||e===Symbol.iterator&&a,o=e==="keys"&&a,l=i[e](...arguments),u=r?wa:t?xa:Cr;return!t&&je(n,"iterate",o?ga:kt),{next(){var{value:v,done:c}=l.next();return c?{value:v,done:c}:{value:s?[u(v[0]),u(v[1])]:u(v),done:c}},[Symbol.iterator](){return this}}}}function wt(e){return function(){return e==="delete"?!1:this}}function Sh(){var e={get(a){return Ii(this,a)},get size(){return Ai(this)},has:Mi,add:rl,set:il,delete:nl,clear:al,forEach:Ri(!1,!1)},t={get(a){return Ii(this,a,!1,!0)},get size(){return Ai(this)},has:Mi,add:rl,set:il,delete:nl,clear:al,forEach:Ri(!1,!0)},r={get(a){return Ii(this,a,!0)},get size(){return Ai(this,!0)},has(a){return Mi.call(this,a,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Ri(!0,!1)},i={get(a){return Ii(this,a,!0,!0)},get size(){return Ai(this,!0)},has(a){return Mi.call(this,a,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Ri(!0,!0)},n=["keys","values","entries",Symbol.iterator];return n.forEach(a=>{e[a]=Pi(a,!1,!1),r[a]=Pi(a,!0,!1),t[a]=Pi(a,!1,!0),i[a]=Pi(a,!0,!0)}),[e,r,t,i]}var[xh,Th,Eh,Ch]=Sh();function ya(e,t){var r=t?e?Ch:Eh:e?Th:xh;return(i,n,a)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?i:Reflect.get(te(r,n)&&n in i?r:i,n,a)}var Oh={get:ya(!1,!1)},Ih={get:ya(!1,!0)},Mh={get:ya(!0,!1)},sl=new WeakMap,ol=new WeakMap,ll=new WeakMap,Ah=new WeakMap;function Rh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ph(e){return e.__v_skip||!Object.isExtensible(e)?0:Rh(qn(e))}function Ee(e){return e&&e.__v_isReadonly?e:Sa(e,!1,tl,Oh,sl)}function Lh(e){return Sa(e,!1,yh,Ih,ol)}function ul(e){return Sa(e,!0,wh,Mh,ll)}function Sa(e,t,r,i,n){if(!Be(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;var a=n.get(e);if(a)return a;var s=Ph(e);if(s===0)return e;var o=new Proxy(e,s===2?i:r);return n.set(e,o),o}function rr(e){return fl(e)?rr(e.__v_raw):!!(e&&e.__v_isReactive)}function fl(e){return!!(e&&e.__v_isReadonly)}function cl(e){return rr(e)||fl(e)}function ge(e){var t=e&&e.__v_raw;return t?ge(t):e}function Li(e){return bi(e,"__v_skip",!0),e}var Cr=e=>Be(e)?Ee(e):e,xa=e=>Be(e)?ul(e):e;function vl(e){Go()&&(e=ge(e),e.dep||(e.dep=va()),Zo(e.dep))}function dl(e,t){e=ge(e),e.dep&&_a(e.dep)}function We(e){return Boolean(e&&e.__v_isRef===!0)}function $(e){return hl(e,!1)}function Ta(e){return hl(e,!0)}function hl(e,t){return We(e)?e:new Nh(e,t)}class Nh{constructor(t,r){this._shallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:ge(t),this._value=r?t:Cr(t)}get value(){return vl(this),this._value}set value(t){t=this._shallow?t:ge(t),br(t,this._rawValue)&&(this._rawValue=t,this._value=this._shallow?t:Cr(t),dl(this))}}function kh(e){return We(e)?e.value:e}var Bh={get:(e,t,r)=>kh(Reflect.get(e,t,r)),set:(e,t,r,i)=>{var n=e[t];return We(n)&&!We(r)?(n.value=r,!0):Reflect.set(e,t,r,i)}};function gl(e){return rr(e)?e:new Proxy(e,Bh)}class Dh{constructor(t,r,i){this._setter=r,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new pa(t,()=>{this._dirty||(this._dirty=!0,dl(this))}),this.__v_isReadonly=i}get value(){var t=ge(this);return vl(t),t._dirty&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Q(e,t){var r,i,n=ae(e);n?(r=e,i=rt):(r=e.get,i=e.set);var a=new Dh(r,i,n||!i);return a}function Fh(e,t){for(var r=e.vnode.props||be,i=arguments.length,n=new Array(i>2?i-2:0),a=2;ab.trim()):v&&(s=n.map(qv))}var m,g=r[m=Kn(t)]||r[m=Kn(mt(t))];!g&&o&&(g=r[m=Kn(Ve(t))]),g&&Qe(g,e,6,s);var _=r[m+"Once"];if(_){if(!e.emitted)e.emitted={};else if(e.emitted[m])return;e.emitted[m]=!0,Qe(_,e,6,s)}}function pl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=t.emitsCache,n=i.get(e);if(n!==void 0)return n;var a=e.emits,s={},o=!1;if(!ae(e)){var l=u=>{var v=pl(u,t,!0);v&&(o=!0,ce(s,v))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!o?(i.set(e,null),null):(oe(a)?a.forEach(u=>s[u]=null):ce(s,a),i.set(e,s),s)}function Ea(e,t){return!e||!gi(t)?!1:(t=t.slice(2).replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,Ve(t))||te(e,t))}var Je=null,ml=null;function Ni(e){var t=Je;return Je=e,ml=e&&e.type.__scopeId||null,t}function $h(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Je;if(!t||e._n)return e;var r=function(){r._d&&$l(-1);var i=Ni(t),n=e(...arguments);return Ni(i),r._d&&$l(1),n};return r._n=!0,r._c=!0,r._d=!0,r}function py(){}function Ca(e){var{type:t,vnode:r,proxy:i,withProxy:n,props:a,propsOptions:[s],slots:o,attrs:l,emit:u,render:v,renderCache:c,data:m,setupState:g,ctx:_,inheritAttrs:b}=e,w,p,h=Ni(e);try{if(r.shapeFlag&4){var f=n||i;w=lt(v.call(f,f,c,a,g,m,_)),p=l}else{var d=t;w=lt(d.length>1?d(a,{attrs:l,slots:o,emit:u}):d(a,null)),p=t.props?l:Wh(l)}}catch(C){Vi(C,e,1),w=I(Ir)}var y=w;if(p&&b!==!1){var x=Object.keys(p),{shapeFlag:E}=y;x.length&&E&(1|6)&&(s&&x.some(zn)&&(p=Uh(p,s)),y=Ar(y,p))}return r.dirs&&(y.dirs=y.dirs?y.dirs.concat(r.dirs):r.dirs),r.transition&&(y.transition=r.transition),w=y,Ni(h),w}var Wh=e=>{var t;for(var r in e)(r==="class"||r==="style"||gi(r))&&((t||(t={}))[r]=e[r]);return t},Uh=(e,t)=>{var r={};for(var i in e)(!zn(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function Vh(e,t,r){var{props:i,children:n,component:a}=e,{props:s,children:o,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return i?_l(i,s,u):!!s;if(l&8)for(var v=t.dynamicProps,c=0;ce.__isSuspense;function zh(e,t){t&&t.pendingBranch?oe(e)?t.effects.push(...e):t.effects.push(e):kg(e)}function Ne(e,t){if(ke){var r=ke.provides,i=ke.parent&&ke.parent.provides;i===r&&(r=ke.provides=Object.create(i)),r[e]=t}}function pe(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=ke||Je;if(i){var n=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(n&&e in n)return n[e];if(arguments.length>1)return r&&ae(t)?t.call(i.proxy):t}}function Yh(e){return ae(e)?{setup:e,name:e.name}:e}var Oa=e=>!!e.type.__asyncLoader,bl=e=>e.type.__isKeepAlive;function Ia(e,t){wl(e,"a",t)}function qh(e,t){wl(e,"da",t)}function wl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ke,i=e.__wdc||(e.__wdc=()=>{for(var a=r;a;){if(a.isDeactivated)return;a=a.parent}e()});if(ki(t,i,r),r)for(var n=r.parent;n&&n.parent;)bl(n.parent.vnode)&&Xh(i,t,r,n),n=n.parent}function Xh(e,t,r,i){var n=ki(t,e,i,!0);yt(()=>{So(i[t],n)},r)}function ki(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ke,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(r){var n=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=function(){if(!r.isUnmounted){tr(),ir(r);for(var s=arguments.length,o=new Array(s),l=0;lfunction(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke;return(!Ui||e==="sp")&&ki(e,t,r)},yl=dt("bm"),Ie=dt("m"),Kh=dt("bu"),Gh=dt("u"),xe=dt("bum"),yt=dt("um"),Zh=dt("sp"),Jh=dt("rtg"),Qh=dt("rtc");function eg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke;ki("ec",e,t)}var Ma=!0;function tg(e){var t=Tl(e),r=e.proxy,i=e.ctx;Ma=!1,t.beforeCreate&&Sl(t.beforeCreate,e,"bc");var{data:n,computed:a,methods:s,watch:o,provide:l,inject:u,created:v,beforeMount:c,mounted:m,beforeUpdate:g,updated:_,activated:b,deactivated:w,beforeDestroy:p,beforeUnmount:h,destroyed:f,unmounted:d,render:y,renderTracked:x,renderTriggered:E,errorCaptured:C,serverPrefetch:M,expose:W,inheritAttrs:V,components:q,directives:he,filters:R}=t,B=null;if(u&&rg(u,i,B,e.appContext.config.unwrapInjectedRef),s)for(var ee in s){var ie=s[ee];ae(ie)&&(i[ee]=ie.bind(r))}if(n&&function(){var re=n.call(r,r);Be(re)&&(e.data=Ee(re))}(),Ma=!0,a){var z=function(re){var le=a[re],Ce=ae(le)?le.bind(r,r):ae(le.get)?le.get.bind(r,r):rt,Oe=!ae(le)&&ae(le.set)?le.set.bind(r):rt,Ge=Q({get:Ce,set:Oe});Object.defineProperty(i,re,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:At=>Ge.value=At})};for(var J in a)z(J)}if(o)for(var ne in o)xl(o[ne],i,r,ne);if(l){var we=ae(l)?l.call(r):l;Reflect.ownKeys(we).forEach(re=>{Ne(re,we[re])})}v&&Sl(v,e,"c");function se(re,le){oe(le)?le.forEach(Ce=>re(Ce.bind(r))):le&&re(le.bind(r))}if(se(yl,c),se(Ie,m),se(Kh,g),se(Gh,_),se(Ia,b),se(qh,w),se(eg,C),se(Qh,x),se(Jh,E),se(xe,h),se(yt,d),se(Zh,M),oe(W))if(W.length){var G=e.exposed||(e.exposed={});W.forEach(re=>{Object.defineProperty(G,re,{get:()=>r[re],set:le=>r[re]=le})})}else e.exposed||(e.exposed={});y&&e.render===rt&&(e.render=y),V!=null&&(e.inheritAttrs=V),q&&(e.components=q),he&&(e.directives=he)}function rg(e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;oe(e)&&(e=Aa(e));var i=function(a){var s=e[a],o=void 0;Be(s)?"default"in s?o=pe(s.from||a,s.default,!0):o=pe(s.from||a):o=pe(s),We(o)&&r?Object.defineProperty(t,a,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[a]=o};for(var n in e)i(n)}function Sl(e,t,r){Qe(oe(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function xl(e,t,r,i){var n=i.includes(".")?Jl(r,i):()=>r[i];if(ye(e)){var a=t[e];ae(a)&&U(n,a)}else if(ae(e))U(n,e.bind(r));else if(Be(e))if(oe(e))e.forEach(o=>xl(o,t,r,i));else{var s=ae(e.handler)?e.handler.bind(r):t[e.handler];ae(s)&&U(n,s,e)}}function Tl(e){var t=e.type,{mixins:r,extends:i}=t,{mixins:n,optionsCache:a,config:{optionMergeStrategies:s}}=e.appContext,o=a.get(t),l;return o?l=o:!n.length&&!r&&!i?l=t:(l={},n.length&&n.forEach(u=>Bi(l,u,s,!0)),Bi(l,t,s)),a.set(t,l),l}function Bi(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,{mixins:n,extends:a}=t;a&&Bi(e,a,r,!0),n&&n.forEach(l=>Bi(e,l,r,!0));for(var s in t)if(!(i&&s==="expose")){var o=ig[s]||r&&r[s];e[s]=o?o(e[s],t[s]):t[s]}return e}var ig={data:El,props:Dt,emits:Dt,methods:Dt,computed:Dt,beforeCreate:Fe,created:Fe,beforeMount:Fe,mounted:Fe,beforeUpdate:Fe,updated:Fe,beforeDestroy:Fe,beforeUnmount:Fe,destroyed:Fe,unmounted:Fe,activated:Fe,deactivated:Fe,errorCaptured:Fe,serverPrefetch:Fe,components:Dt,directives:Dt,watch:ag,provide:El,inject:ng};function El(e,t){return t?e?function(){return ce(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function ng(e,t){return Dt(Aa(e),Aa(t))}function Aa(e){if(oe(e)){for(var t={},r=0;r3&&arguments[3]!==void 0?arguments[3]:!1,n={},a={};bi(a,Fi,1),e.propsDefaults=Object.create(null),Cl(e,t,n,a);for(var s in e.propsOptions[0])s in n||(n[s]=void 0);r?e.props=i?n:Lh(n):e.type.props?e.props=n:e.props=a,e.attrs=a}function og(e,t,r,i){var{props:n,attrs:a,vnode:{patchFlag:s}}=e,o=ge(n),[l]=e.propsOptions,u=!1;if((i||s>0)&&!(s&16)){if(s&8)for(var v=e.vnode.dynamicProps,c=0;c2&&arguments[2]!==void 0?arguments[2]:!1,i=t.propsCache,n=i.get(e);if(n)return n;var a=e.props,s={},o=[],l=!1;if(!ae(e)){var u=f=>{l=!0;var[d,y]=Ol(f,t,!0);ce(s,d),y&&o.push(...y)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return i.set(e,pr),pr;if(oe(a))for(var v=0;v-1,b[1]=p<0||w-1||te(b,"default"))&&o.push(g)}}}var h=[s,o];return i.set(e,h),h}function Il(e){return e[0]!=="$"}function Ml(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Al(e,t){return Ml(e)===Ml(t)}function Rl(e,t){return oe(t)?t.findIndex(r=>Al(r,e)):ae(t)&&Al(t,e)?0:-1}var Pl=e=>e[0]==="_"||e==="$stable",Pa=e=>oe(e)?e.map(lt):[lt(e)],lg=(e,t,r)=>{var i=$h(function(){return Pa(t(...arguments))},r);return i._c=!1,i},Ll=(e,t,r)=>{var i=e._ctx;for(var n in e)if(!Pl(n)){var a=e[n];ae(a)?t[n]=lg(n,a,i):a!=null&&function(){var s=Pa(a);t[n]=()=>s}()}},Nl=(e,t)=>{var r=Pa(t);e.slots.default=()=>r},ug=(e,t)=>{if(e.vnode.shapeFlag&32){var r=t._;r?(e.slots=ge(t),bi(t,"_",r)):Ll(t,e.slots={})}else e.slots={},t&&Nl(e,t);bi(e.slots,Fi,1)},fg=(e,t,r)=>{var{vnode:i,slots:n}=e,a=!0,s=be;if(i.shapeFlag&32){var o=t._;o?r&&o===1?a=!1:(ce(n,t),!r&&o===1&&delete n._):(a=!t.$stable,Ll(t,n)),s=t}else t&&(Nl(e,t),s={default:1});if(a)for(var l in n)!Pl(l)&&!(l in s)&&delete n[l]};function Or(e,t){var r=Je;if(r===null)return e;for(var i=r.proxy,n=e.dirs||(e.dirs=[]),a=0;a1&&arguments[1]!==void 0?arguments[1]:null;n!=null&&!Be(n)&&(n=null);var a=kl(),s=new Set,o=!1,l=a.app={_uid:cg++,_component:i,_props:n,_container:null,_context:a,_instance:null,version:$g,get config(){return a.config},set config(u){},use(u){for(var v=arguments.length,c=new Array(v>1?v-1:0),m=1;m3&&arguments[3]!==void 0?arguments[3]:null,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,F=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,H=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,D=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,k=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!!T.dynamicChildren;if(S!==T){S&&!Mr(S,T)&&(P=Ge(S),G(S,L,F,!0),S=null),T.patchFlag===-2&&(k=!1,T.dynamicChildren=null);var{type:N,ref:Z,shapeFlag:K}=T;switch(N){case Na:p(S,T,A,P);break;case Ir:h(S,T,A,P);break;case ka:S==null&&f(T,A,P,H);break;case ot:he(S,T,A,P,L,F,H,D,k);break;default:K&1?x(S,T,A,P,L,F,H,D,k):K&6?R(S,T,A,P,L,F,H,D,k):(K&64||K&128)&&N.process(S,T,A,P,L,F,H,D,k,Ae)}Z!=null&&L&&La(Z,S&&S.ref,F,T||S,!T)}},p=(S,T,A,P)=>{if(S==null)i(T.el=o(T.children),A,P);else{var L=T.el=S.el;T.children!==S.children&&u(L,T.children)}},h=(S,T,A,P)=>{S==null?i(T.el=l(T.children||""),A,P):T.el=S.el},f=(S,T,A,P)=>{[S.el,S.anchor]=b(S.children,T,A,P)},d=(S,T,A)=>{for(var{el:P,anchor:L}=S,F;P&&P!==L;)F=m(P),i(P,T,A),P=F;i(L,T,A)},y=S=>{for(var{el:T,anchor:A}=S,P;T&&T!==A;)P=m(T),n(T),T=P;n(A)},x=(S,T,A,P,L,F,H,D,k)=>{H=H||T.type==="svg",S==null?E(T,A,P,L,F,H,D,k):W(S,T,L,F,H,D,k)},E=(S,T,A,P,L,F,H,D)=>{var k,N,{type:Z,props:K,shapeFlag:X,transition:fe,patchFlag:Pe,dirs:Se}=S;if(S.el&&_!==void 0&&Pe===-1)k=S.el=_(S.el);else{if(k=S.el=s(S.type,F,K&&K.is,K),X&8?v(k,S.children):X&16&&M(S.children,k,null,P,L,F&&Z!=="foreignObject",H,D),Se&&Ft(S,null,P,"created"),K){for(var O in K)O!=="value"&&!pi(O)&&a(k,O,null,K[O],F,S.children,P,L,Oe);"value"in K&&a(k,"value",null,K.value),(N=K.onVnodeBeforeMount)&&st(N,P,S)}C(k,S,S.scopeId,H,P)}Object.defineProperty(k,"__vueParentComponent",{value:P,enumerable:!1}),Se&&Ft(S,null,P,"beforeMount");var j=(!L||L&&!L.pendingBranch)&&fe&&!fe.persisted;j&&fe.beforeEnter(k),i(k,T,A),((N=K&&K.onVnodeMounted)||j||Se)&&$e(()=>{N&&st(N,P,S),j&&fe.enter(k),Se&&Ft(S,null,P,"mounted")},L)},C=(S,T,A,P,L)=>{if(A&&g(S,A),P)for(var F=0;F8&&arguments[8]!==void 0?arguments[8]:0,N=k;N{var D=T.el=S.el,{patchFlag:k,dynamicChildren:N,dirs:Z}=T;k|=S.patchFlag&16;var K=S.props||be,X=T.props||be,fe;(fe=X.onVnodeBeforeUpdate)&&st(fe,A,T,S),Z&&Ft(T,S,A,"beforeUpdate");var Pe=L&&T.type!=="foreignObject";if(N?V(S.dynamicChildren,N,D,A,P,Pe,F):H||J(S,T,D,null,A,P,Pe,F,!1),k>0){if(k&16)q(D,T,K,X,A,P,L);else if(k&2&&K.class!==X.class&&a(D,"class",null,X.class,L),k&4&&a(D,"style",K.style,X.style,L),k&8)for(var Se=T.dynamicProps,O=0;O{fe&&st(fe,A,T,S),Z&&Ft(T,S,A,"updated")},P)},V=(S,T,A,P,L,F,H)=>{for(var D=0;D{if(A!==P){for(var D in P)if(!pi(D)){var k=P[D],N=A[D];k!==N&&D!=="value"&&a(S,D,N,k,H,T.children,L,F,Oe)}if(A!==be)for(var Z in A)!pi(Z)&&!(Z in P)&&a(S,Z,A[Z],null,H,T.children,L,F,Oe);"value"in P&&a(S,"value",A.value,P.value)}},he=(S,T,A,P,L,F,H,D,k)=>{var N=T.el=S?S.el:o(""),Z=T.anchor=S?S.anchor:o(""),{patchFlag:K,dynamicChildren:X,slotScopeIds:fe}=T;fe&&(D=D?D.concat(fe):fe),S==null?(i(N,A,P),i(Z,A,P),M(T.children,A,Z,L,F,H,D,k)):K>0&&K&64&&X&&S.dynamicChildren?(V(S.dynamicChildren,X,A,L,F,H,D),(T.key!=null||L&&T===L.subTree)&&Bl(S,T,!0)):J(S,T,A,Z,L,F,H,D,k)},R=(S,T,A,P,L,F,H,D,k)=>{T.slotScopeIds=D,S==null?T.shapeFlag&512?L.ctx.activate(T,A,P,H,k):B(T,A,P,L,F,H,k):ee(S,T,k)},B=(S,T,A,P,L,F,H)=>{var D=S.component=Eg(S,P,L);if(bl(S)&&(D.ctx.renderer=Ae),Cg(D),D.asyncDep){if(L&&L.registerDep(D,ie),!S.el){var k=D.subTree=I(Ir);h(null,k,T,A)}return}ie(D,S,T,A,L,F,H)},ee=(S,T,A)=>{var P=T.component=S.component;if(Vh(S,T,A))if(P.asyncDep&&!P.asyncResolved){z(P,T,A);return}else P.next=T,Lg(P.update),P.update();else T.component=S.component,T.el=S.el,P.vnode=T},ie=(S,T,A,P,L,F,H)=>{var D=()=>{if(S.isMounted){var{next:ue,bu:Le,u:Ue,parent:Re,vnode:tt}=S,Rt=ue,ct;k.allowRecurse=!1,ue?(ue.el=tt.el,z(S,ue,H)):ue=tt,Le&&Gn(Le),(ct=ue.props&&ue.props.onVnodeBeforeUpdate)&&st(ct,Re,ue,tt),k.allowRecurse=!0;var Xt=Ca(S),gt=S.subTree;S.subTree=Xt,w(gt,Xt,c(gt.el),Ge(gt),S,L,F),ue.el=Xt.el,Rt===null&&Hh(S,Xt.el),Ue&&$e(Ue,L),(ct=ue.props&&ue.props.onVnodeUpdated)&&$e(()=>st(ct,Re,ue,tt),L)}else{var Z,{el:K,props:X}=T,{bm:fe,m:Pe,parent:Se}=S,O=Oa(T);if(k.allowRecurse=!1,fe&&Gn(fe),!O&&(Z=X&&X.onVnodeBeforeMount)&&st(Z,Se,T),k.allowRecurse=!0,K&&Zr){var j=()=>{S.subTree=Ca(S),Zr(K,S.subTree,S,L,null)};O?T.type.__asyncLoader().then(()=>!S.isUnmounted&&j()):j()}else{var Y=S.subTree=Ca(S);w(null,Y,A,P,S,L,F),T.el=Y.el}if(Pe&&$e(Pe,L),!O&&(Z=X&&X.onVnodeMounted)){var ve=T;$e(()=>st(Z,Se,ve),L)}T.shapeFlag&256&&S.a&&$e(S.a,L),S.isMounted=!0,T=A=P=null}},k=new pa(D,()=>Yl(S.update),S.scope),N=S.update=k.run.bind(k);N.id=S.uid,k.allowRecurse=N.allowRecurse=!0,N()},z=(S,T,A)=>{T.component=S;var P=S.vnode.props;S.vnode=T,S.next=null,og(S,T.props,P,A),fg(S,T.children,A),tr(),Va(void 0,S.update),Bt()},J=function(S,T,A,P,L,F,H,D){var k=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!1,N=S&&S.children,Z=S?S.shapeFlag:0,K=T.children,{patchFlag:X,shapeFlag:fe}=T;if(X>0){if(X&128){we(N,K,A,P,L,F,H,D,k);return}else if(X&256){ne(N,K,A,P,L,F,H,D,k);return}}fe&8?(Z&16&&Oe(N,L,F),K!==N&&v(A,K)):Z&16?fe&16?we(N,K,A,P,L,F,H,D,k):Oe(N,L,F,!0):(Z&8&&v(A,""),fe&16&&M(K,A,P,L,F,H,D,k))},ne=(S,T,A,P,L,F,H,D,k)=>{S=S||pr,T=T||pr;var N=S.length,Z=T.length,K=Math.min(N,Z),X;for(X=0;XZ?Oe(S,L,F,!0,!1,K):M(T,A,P,L,F,H,D,k,K)},we=(S,T,A,P,L,F,H,D,k)=>{for(var N=0,Z=T.length,K=S.length-1,X=Z-1;N<=K&&N<=X;){var fe=S[N],Pe=T[N]=k?St(T[N]):lt(T[N]);if(Mr(fe,Pe))w(fe,Pe,A,null,L,F,H,D,k);else break;N++}for(;N<=K&&N<=X;){var Se=S[K],O=T[X]=k?St(T[X]):lt(T[X]);if(Mr(Se,O))w(Se,O,A,null,L,F,H,D,k);else break;K--,X--}if(N>K){if(N<=X)for(var j=X+1,Y=jX)for(;N<=K;)G(S[N],L,F,!0),N++;else{var ve=N,ue=N,Le=new Map;for(N=ue;N<=X;N++){var Ue=T[N]=k?St(T[N]):lt(T[N]);Ue.key!=null&&Le.set(Ue.key,N)}var Re,tt=0,Rt=X-ue+1,ct=!1,Xt=0,gt=new Array(Rt);for(N=0;N=Rt){G(dr,L,F,!0);continue}var Kt=void 0;if(dr.key!=null)Kt=Le.get(dr.key);else for(Re=ue;Re<=X;Re++)if(gt[Re-ue]===0&&Mr(dr,T[Re])){Kt=Re;break}Kt===void 0?G(dr,L,F,!0):(gt[Kt-ue]=N+1,Kt>=Xt?Xt=Kt:ct=!0,w(dr,T[Kt],A,null,L,F,H,D,k),tt++)}var rc=ct?gg(gt):pr;for(Re=rc.length-1,N=Rt-1;N>=0;N--){var Ls=ue+N,ic=T[Ls],nc=Ls+14&&arguments[4]!==void 0?arguments[4]:null,{el:F,type:H,transition:D,children:k,shapeFlag:N}=S;if(N&6){se(S.component.subTree,T,A,P);return}if(N&128){S.suspense.move(T,A,P);return}if(N&64){H.move(S,T,A,Ae);return}if(H===ot){i(F,T,A);for(var Z=0;ZD.enter(F),L);else{var{leave:X,delayLeave:fe,afterLeave:Pe}=D,Se=()=>i(F,T,A),O=()=>{X(F,()=>{Se(),Pe&&Pe()})};fe?fe(F,Se,O):O()}else i(F,T,A)},G=function(S,T,A){var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,{type:F,props:H,ref:D,children:k,dynamicChildren:N,shapeFlag:Z,patchFlag:K,dirs:X}=S;if(D!=null&&La(D,null,A,S,!0),Z&256){T.ctx.deactivate(S);return}var fe=Z&1&&X,Pe=!Oa(S),Se;if(Pe&&(Se=H&&H.onVnodeBeforeUnmount)&&st(Se,T,S),Z&6)Ce(S.component,A,P);else{if(Z&128){S.suspense.unmount(A,P);return}fe&&Ft(S,null,T,"beforeUnmount"),Z&64?S.type.remove(S,T,A,L,Ae,P):N&&(F!==ot||K>0&&K&64)?Oe(N,T,A,!1,!0):(F===ot&&K&(128|256)||!L&&Z&16)&&Oe(k,T,A),P&&re(S)}(Pe&&(Se=H&&H.onVnodeUnmounted)||fe)&&$e(()=>{Se&&st(Se,T,S),fe&&Ft(S,null,T,"unmounted")},A)},re=S=>{var{type:T,el:A,anchor:P,transition:L}=S;if(T===ot){le(A,P);return}if(T===ka){y(S);return}var F=()=>{n(A),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(S.shapeFlag&1&&L&&!L.persisted){var{leave:H,delayLeave:D}=L,k=()=>H(A,F);D?D(S.el,F,k):k()}else F()},le=(S,T)=>{for(var A;S!==T;)A=m(S),n(S),S=A;n(T)},Ce=(S,T,A)=>{var{bum:P,scope:L,update:F,subTree:H,um:D}=S;P&&Gn(P),L.stop(),F&&(F.active=!1,G(H,S,T,A)),D&&$e(D,T),$e(()=>{S.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},Oe=function(S,T,A){for(var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,F=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,H=F;HS.shapeFlag&6?Ge(S.component.subTree):S.shapeFlag&128?S.suspense.next():m(S.anchor||S.el),At=(S,T,A)=>{if(S==null)T._vnode&&G(T._vnode,null,null,!0);else{var P=T.__vueParent;w(T._vnode||null,S,T,null,P,null,A)}T._vnode=S},Ae={p:w,um:G,m:se,r:re,mt:B,mc:M,pc:J,pbc:V,n:Ge,o:e},Gr,Zr;return t&&([Gr,Zr]=t(Ae)),{render:At,hydrate:Gr,createApp:vg(At,Gr)}}function La(e,t,r,i){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(oe(e)){e.forEach((_,b)=>La(_,t&&(oe(t)?t[b]:t),r,i,n));return}if(!(Oa(i)&&!n)){var a=i.shapeFlag&4?Fa(i.component)||i.component.proxy:i.el,s=n?null:a,{i:o,r:l}=e,u=t&&t.r,v=o.refs===be?o.refs={}:o.refs,c=o.setupState;if(u!=null&&u!==l&&(ye(u)?(v[u]=null,te(c,u)&&(c[u]=null)):We(u)&&(u.value=null)),ye(l)){var m=()=>{v[l]=s,te(c,l)&&(c[l]=s)};s?(m.id=-1,$e(m,r)):m()}else if(We(l)){var g=()=>{l.value=s};s?(g.id=-1,$e(g,r)):g()}else ae(l)&&Tt(l,o,12,[s,v])}}function st(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Qe(e,t,7,[r,i])}function Bl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=e.children,n=t.children;if(oe(i)&&oe(n))for(var a=0;a>1,e[r[o]]0&&(t[i]=r[a-1]),r[a]=i)}}for(a=r.length,s=r[a-1];a-- >0;)r[a]=s,s=t[s];return r}var pg=e=>e.__isTeleport,mg=Symbol(),ot=Symbol(void 0),Na=Symbol(void 0),Ir=Symbol(void 0),ka=Symbol(void 0),Dl=null,Fl=1;function $l(e){Fl+=e}function Di(e){return e?e.__v_isVNode===!0:!1}function Mr(e,t){return e.type===t.type&&e.key===t.key}var Fi="__vInternal",Wl=e=>{var{key:t}=e;return t!=null?t:null},$i=e=>{var{ref:t}=e;return t!=null?ye(t)||We(t)||ae(t)?{i:Je,r:t}:t:null};function _g(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:e===ot?0:1,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,o=arguments.length>7&&arguments[7]!==void 0?arguments[7]:!1,l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wl(t),ref:t&&$i(t),scopeId:ml,slotScopeIds:null,children:r,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:i,dynamicProps:n,dynamicChildren:null,appContext:null};return o?(Ba(l,r),a&128&&e.normalize(l)):r&&(l.shapeFlag|=ye(r)?8:16),Fl>0&&!s&&Dl&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Dl.push(l),l}var I=bg;function bg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1;if((!e||e===mg)&&(e=Ir),Di(e)){var s=Ar(e,t,!0);return r&&Ba(s,r),s}if(Ag(e)&&(e=e.__vccOpts),t){t=wg(t);var{class:o,style:l}=t;o&&!ye(o)&&(t.class=jn(o)),Be(l)&&(cl(l)&&!oe(l)&&(l=ce({},l)),t.style=Hn(l))}var u=ye(e)?1:jh(e)?128:pg(e)?64:Be(e)?4:ae(e)?2:0;return _g(e,t,r,i,n,u,a,!0)}function wg(e){return e?cl(e)||Fi in e?ce({},e):e:null}function Ar(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{props:i,ref:n,patchFlag:a,children:s}=e,o=t?ze(i||{},t):i,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&Wl(o),ref:t&&t.ref?r&&n?oe(n)?n.concat($i(t)):[n,$i(t)]:$i(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ot?a===-1?16:a|16: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&&Ar(e.ssContent),ssFallback:e.ssFallback&&Ar(e.ssFallback),el:e.el,anchor:e.anchor};return l}function yg(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return I(Na,null,e,t)}function lt(e){return e==null||typeof e=="boolean"?I(Ir):oe(e)?I(ot,null,e.slice()):typeof e=="object"?St(e):I(Na,null,String(e))}function St(e){return e.el===null||e.memo?e:Ar(e)}function Ba(e,t){var r=0,{shapeFlag:i}=e;if(t==null)t=null;else if(oe(t))r=16;else if(typeof t=="object")if(i&(1|64)){var n=t.default;n&&(n._c&&(n._d=!1),Ba(e,n()),n._c&&(n._d=!0));return}else{r=32;var a=t._;!a&&!(Fi in t)?t._ctx=Je:a===3&&Je&&(Je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:Je},r=32):(t=String(t),i&64?(r=16,t=[yg(t)]):r=8);e.children=t,e.shapeFlag|=r}function ze(){for(var e={},t=0;te?Ul(e)?Fa(e)||e.proxy:Da(e.parent):null,Wi=ce(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=>Da(e.parent),$root:e=>Da(e.root),$emit:e=>e.emit,$options:e=>Tl(e),$forceUpdate:e=>()=>Yl(e.update),$nextTick:e=>sr.bind(e.proxy),$watch:e=>Dg.bind(e)}),Sg={get(e,t){var{_:r}=e,{ctx:i,setupState:n,data:a,props:s,accessCache:o,type:l,appContext:u}=r,v;if(t[0]!=="$"){var c=o[t];if(c!==void 0)switch(c){case 0:return n[t];case 1:return a[t];case 3:return i[t];case 2:return s[t]}else{if(n!==be&&te(n,t))return o[t]=0,n[t];if(a!==be&&te(a,t))return o[t]=1,a[t];if((v=r.propsOptions[0])&&te(v,t))return o[t]=2,s[t];if(i!==be&&te(i,t))return o[t]=3,i[t];Ma&&(o[t]=4)}}var m=Wi[t],g,_;if(m)return t==="$attrs"&&je(r,"get",t),m(r);if((g=l.__cssModules)&&(g=g[t]))return g;if(i!==be&&te(i,t))return o[t]=3,i[t];if(_=u.config.globalProperties,te(_,t))return _[t]},set(e,t,r){var{_:i}=e,{data:n,setupState:a,ctx:s}=i;if(a!==be&&te(a,t))a[t]=r;else if(n!==be&&te(n,t))n[t]=r;else if(te(i.props,t))return!1;return t[0]==="$"&&t.slice(1)in i?!1:(s[t]=r,!0)},has(e,t){var{_:{data:r,setupState:i,accessCache:n,ctx:a,appContext:s,propsOptions:o}}=e,l;return n[t]!==void 0||r!==be&&te(r,t)||i!==be&&te(i,t)||(l=o[0])&&te(l,t)||te(a,t)||te(Wi,t)||te(s.config.globalProperties,t)}},xg=kl(),Tg=0;function Eg(e,t,r){var i=e.type,n=(t?t.appContext:e.appContext)||xg,a={uid:Tg++,vnode:e,type:i,parent:t,appContext:n,root:null,next:null,subTree:null,update:null,scope:new ah(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(n.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ol(i,n),emitsOptions:pl(i,n),emit:null,emitted:null,propsDefaults:be,inheritAttrs:i.inheritAttrs,ctx:be,data:be,props:be,attrs:be,slots:be,refs:be,setupState:be,setupContext:null,suspense:r,suspenseId:r?r.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};return a.ctx={_:a},a.root=t?t.root:a,a.emit=Fh.bind(null,a),e.ce&&e.ce(a),a}var ke=null,xt=()=>ke||Je,ir=e=>{ke=e,e.scope.on()},$t=()=>{ke&&ke.scope.off(),ke=null};function Ul(e){return e.vnode.shapeFlag&4}var Ui=!1;function Cg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ui=t;var{props:r,children:i}=e.vnode,n=Ul(e);sg(e,r,n,t),ug(e,i);var a=n?Og(e,t):void 0;return Ui=!1,a}function Og(e,t){var r=e.type;e.accessCache=Object.create(null),e.proxy=Li(new Proxy(e.ctx,Sg));var{setup:i}=r;if(i){var n=e.setupContext=i.length>1?Mg(e):null;ir(e),tr();var a=Tt(i,e,0,[e.props,n]);if(Bt(),$t(),xo(a)){if(a.then($t,$t),t)return a.then(s=>{Vl(e,s,t)}).catch(s=>{Vi(s,e,0)});e.asyncDep=a}else Vl(e,a,t)}else jl(e,t)}function Vl(e,t,r){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Be(t)&&(e.setupState=gl(t)),jl(e,r)}var Hl;function jl(e,t,r){var i=e.type;if(!e.render){if(!t&&Hl&&!i.render){var n=i.template;if(n){var{isCustomElement:a,compilerOptions:s}=e.appContext.config,{delimiters:o,compilerOptions:l}=i,u=ce(ce({isCustomElement:a,delimiters:o},s),l);i.render=Hl(n,u)}}e.render=i.render||rt}ir(e),tr(),tg(e),Bt(),$t()}function Ig(e){return new Proxy(e.attrs,{get(t,r){return je(e,"get","$attrs"),t[r]}})}function Mg(e){var t=i=>{e.exposed=i||{}},r;return{get attrs(){return r||(r=Ig(e))},slots:e.slots,emit:e.emit,expose:t}}function Fa(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(gl(Li(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Wi)return Wi[r](e)}}))}function Ag(e){return ae(e)&&"__vccOpts"in e}function Tt(e,t,r,i){var n;try{n=i?e(...i):e()}catch(a){Vi(a,t,r)}return n}function Qe(e,t,r,i){if(ae(e)){var n=Tt(e,t,r,i);return n&&xo(n)&&n.catch(o=>{Vi(o,t,r)}),n}for(var a=[],s=0;s>>1,n=Nr(Ye[i]);nht&&Ye.splice(t,1)}function Xl(e,t,r,i){oe(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&r.push(e),ql()}function Ng(e){Xl(e,Pr,Rr,nr)}function kg(e){Xl(e,Et,Lr,ar)}function Va(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Rr.length){for(Ua=t,Pr=[...new Set(Rr)],Rr.length=0,nr=0;nrNr(r)-Nr(i)),ar=0;are.id==null?1/0:e.id;function Gl(e){$a=!1,Hi=!0,Va(e),Ye.sort((i,n)=>Nr(i)-Nr(n));var t=rt;try{for(ht=0;ht2&&arguments[2]!==void 0?arguments[2]:be,o=ke,l,u=!1,v=!1;if(We(e)?(l=()=>e.value,u=!!e._shallow):rr(e)?(l=()=>e,i=!0):oe(e)?(v=!0,u=e.some(rr),l=()=>e.map(h=>{if(We(h))return h.value;if(rr(h))return Wt(h);if(ae(h))return Tt(h,o,2)})):ae(e)?t?l=()=>Tt(e,o,2):l=()=>{if(!(o&&o.isUnmounted))return m&&m(),Qe(e,o,3,[g])}:l=rt,t&&i){var c=l;l=()=>Wt(c())}var m,g=h=>{m=p.onStop=()=>{Tt(h,o,4)}};if(Ui)return g=rt,t?r&&Qe(t,o,3,[l(),v?[]:void 0,g]):l(),rt;var _=v?[]:Zl,b=()=>{if(!!p.active)if(t){var h=p.run();(i||u||(v?h.some((f,d)=>br(f,_[d])):br(h,_)))&&(m&&m(),Qe(t,o,3,[h,_===Zl?void 0:_,g]),_=h)}else p.run()};b.allowRecurse=!!t;var w;n==="sync"?w=b:n==="post"?w=()=>$e(b,o&&o.suspense):w=()=>{!o||o.isMounted?Ng(b):b()};var p=new pa(l,w);return t?r?b():_=p.run():n==="post"?$e(p.run.bind(p),o&&o.suspense):p.run(),()=>{p.stop(),o&&o.scope&&So(o.scope.effects,p)}}function Dg(e,t,r){var i=this.proxy,n=ye(e)?e.includes(".")?Jl(i,e):()=>i[e]:e.bind(i,i),a;ae(t)?a=t:(a=t.handler,r=t);var s=ke;ir(this);var o=Ha(n,a.bind(i),r);return s?ir(s):$t(),o}function Jl(e,t){var r=t.split(".");return()=>{for(var i=e,n=0;n{Wt(n,t)});else if(it(e))for(var i in e)Wt(e[i],t);return e}function Fg(e,t,r){var i=arguments.length;return i===2?Be(t)&&!oe(t)?Di(t)?I(e,null,[t]):I(e,t):I(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&Di(r)&&(r=[r]),I(e,t,r))}var $g="3.2.22",Wg="http://www.w3.org/2000/svg",or=typeof document!="undefined"?document:null,Ql=new Map,Ug={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{var t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,i)=>{var n=t?or.createElementNS(Wg,e):or.createElement(e,r?{is:r}:void 0);return e==="select"&&i&&i.multiple!=null&&n.setAttribute("multiple",i.multiple),n},createText:e=>or.createTextNode(e),createComment:e=>or.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>or.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){var t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,r,i){var n=r?r.previousSibling:t.lastChild,a=Ql.get(e);if(!a){var s=or.createElement("template");if(s.innerHTML=i?"".concat(e,""):e,a=s.content,i){for(var o=a.firstChild;o.firstChild;)a.appendChild(o.firstChild);a.removeChild(o)}Ql.set(e,a)}return t.insertBefore(a.cloneNode(!0),r),[n?n.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function Vg(e,t,r){var i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function Hg(e,t,r){var i=e.style,n=ye(r);if(r&&!n){for(var a in r)ja(i,a,r[a]);if(t&&!ye(t))for(var s in t)r[s]==null&&ja(i,s,"")}else{var o=i.display;n?t!==r&&(i.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=o)}}var eu=/\s*!important$/;function ja(e,t,r){if(oe(r))r.forEach(n=>ja(e,t,n));else if(r=Yg(r),t.startsWith("--"))e.setProperty(t,r);else{var i=jg(e,t);eu.test(r)?e.setProperty(Ve(i),r.replace(eu,""),"important"):e[i]=r}}var tu=["Webkit","Moz","ms"],za={};function jg(e,t){var r=za[t];if(r)return r;var i=mt(t);if(i!=="filter"&&i in e)return za[t]=i;i=_i(i);for(var n=0;ntypeof rpx2px!="function"?e:ye(e)?e.replace(zg,(t,r)=>rpx2px(r)+"px"):e,ru="http://www.w3.org/1999/xlink";function qg(e,t,r,i,n){if(i&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(ru,t.slice(6,t.length)):e.setAttributeNS(ru,t,r);else{var a=kv(t);r==null||a&&!wo(r)?e.removeAttribute(t):e.setAttribute(t,a?"":r)}}function Xg(e,t,r,i,n,a,s){if(t==="innerHTML"||t==="textContent"){i&&s(i,n,a),e[t]=r==null?"":r;return}if(t==="value"&&e.tagName!=="PROGRESS"){e._value=r;var o=r==null?"":r;e.value!==o&&(e.value=o),r==null&&e.removeAttribute(t);return}if(r===""||r==null){var l=typeof e[t];if(l==="boolean"){e[t]=wo(r);return}else if(r==null&&l==="string"){e[t]="",e.removeAttribute(t);return}else if(l==="number"){try{e[t]=0}catch(u){}e.removeAttribute(t);return}}try{e[t]=r}catch(u){}}var ji=Date.now,iu=!1;if(typeof window!="undefined"){ji()>document.createEvent("Event").timeStamp&&(ji=()=>performance.now());var nu=navigator.userAgent.match(/firefox\/(\d+)/i);iu=!!(nu&&Number(nu[1])<=53)}var Ya=0,Kg=Promise.resolve(),Gg=()=>{Ya=0},Zg=()=>Ya||(Kg.then(Gg),Ya=ji());function Jg(e,t,r,i){e.addEventListener(t,r,i)}function Qg(e,t,r,i){e.removeEventListener(t,r,i)}function ep(e,t,r,i){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,a=e._vei||(e._vei={}),s=a[t];if(i&&s)s.value=i;else{var[o,l]=tp(t);if(i){var u=a[t]=rp(i,n);Jg(e,o,u,l)}else s&&(Qg(e,o,s,l),a[t]=void 0)}}var au=/(?:Once|Passive|Capture)$/;function tp(e){var t;if(au.test(e)){t={};for(var r;r=e.match(au);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Ve(e.slice(2)),t]}function rp(e,t){var r=i=>{var n=i.timeStamp||ji();(iu||n>=r.attached-1)&&Qe(ip(i,r.value),t,5,[i])};return r.value=e,r.attached=Zg(),r}function ip(e,t){if(oe(t)){var r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(i=>n=>!n._stopped&&i(n))}else return t}var su=/^on[a-z]/,np=function(e,t,r,i){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a=arguments.length>5?arguments[5]:void 0,s=arguments.length>6?arguments[6]:void 0,o=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0;t==="class"?Vg(e,i,n):t==="style"?Hg(e,r,i):gi(t)?zn(t)||ep(e,t,r,i,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ap(e,t,i,n))?Xg(e,t,i,a,s,o,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),qg(e,t,i,n))};function ap(e,t,r,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&su.test(t)&&ae(r)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||su.test(t)&&ye(r)?!1:t in e}var sp=["ctrl","shift","alt","meta"],op={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&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>sp.some(r=>e["".concat(r,"Key")]&&!t.includes(r))},qa=(e,t)=>function(r){for(var i=0;i1?a-1:0),o=1;o{Br(e,!1)}):Br(e,i))},beforeUnmount(e,t){var{value:r}=t;Br(e,r)}};function Br(e,t){e.style.display=t?e._vod:"none"}var lp=ce({patchProp:np},Ug),ou;function up(){return ou||(ou=dg(lp))}var lu=function(){var e=up().createApp(...arguments),{mount:t}=e;return e.mount=r=>{var i=fp(r);if(!!i){var n=e._component;!ae(n)&&!n.render&&!n.template&&(n.template=i.innerHTML),i.innerHTML="";var a=t(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a}},e};function fp(e){if(ye(e)){var t=document.querySelector(e);return t}return e}var uu=["top","left","right","bottom"],Xa,zi={},Ze;function Ka(){return!("CSS"in window)||typeof CSS.supports!="function"?Ze="":CSS.supports("top: env(safe-area-inset-top)")?Ze="env":CSS.supports("top: constant(safe-area-inset-top)")?Ze="constant":Ze="",Ze}function fu(){if(Ze=typeof Ze=="string"?Ze:Ka(),!Ze){uu.forEach(function(o){zi[o]=0});return}function e(o,l){var u=o.style;Object.keys(l).forEach(function(v){var c=l[v];u[v]=c})}var t=[];function r(o){o?t.push(o):t.forEach(function(l){l()})}var i=!1;try{var n=Object.defineProperty({},"passive",{get:function(){i={passive:!0}}});window.addEventListener("test",null,n)}catch(o){}function a(o,l){var u=document.createElement("div"),v=document.createElement("div"),c=document.createElement("div"),m=document.createElement("div"),g=100,_=1e4,b={position:"absolute",width:g+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Ze+"(safe-area-inset-"+l+")"};e(u,b),e(v,b),e(c,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(m,{transition:"0s",animation:"none",width:"250%",height:"250%"}),u.appendChild(c),v.appendChild(m),o.appendChild(u),o.appendChild(v),r(function(){u.scrollTop=v.scrollTop=_;var p=u.scrollTop,h=v.scrollTop;function f(){this.scrollTop!==(this===u?p:h)&&(u.scrollTop=v.scrollTop=_,p=u.scrollTop,h=v.scrollTop,cp(l))}u.addEventListener("scroll",f,i),v.addEventListener("scroll",f,i)});var w=getComputedStyle(u);Object.defineProperty(zi,l,{configurable:!0,get:function(){return parseFloat(w.paddingBottom)}})}var s=document.createElement("div");e(s,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),uu.forEach(function(o){a(s,o)}),document.body.appendChild(s),r(),Xa=!0}function Yi(e){return Xa||fu(),zi[e]}var qi=[];function cp(e){qi.length||setTimeout(function(){var t={};qi.forEach(function(r){t[r]=zi[r]}),qi.length=0,Xi.forEach(function(r){r(t)})},0),qi.push(e)}var Xi=[];function vp(e){!Ka()||(Xa||fu(),typeof e=="function"&&Xi.push(e))}function dp(e){var t=Xi.indexOf(e);t>=0&&Xi.splice(t,1)}var hp={get support(){return(typeof Ze=="string"?Ze:Ka()).length!=0},get top(){return Yi("top")},get left(){return Yi("left")},get right(){return Yi("right")},get bottom(){return Yi("bottom")},onChange:vp,offChange:dp},Ki=hp,gp=qa(()=>{},["prevent"]);function Ga(){var e=document.documentElement.style,t=parseInt(e.getPropertyValue("--window-top"));return t?t+Ki.top:0}function pp(){var e=document.documentElement.style,t=Ga(),r=parseInt(e.getPropertyValue("--window-bottom")),i=parseInt(e.getPropertyValue("--window-left")),n=parseInt(e.getPropertyValue("--window-right"));return{top:t,bottom:r?r+Ki.bottom:0,left:i?i+Ki.left:0,right:n?n+Ki.right:0}}function mp(e){var t=document.documentElement.style;Object.keys(e).forEach(r=>{t.setProperty(r,e[r])})}function Gi(e){return Symbol(e)}function cu(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function Ut(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t)return _p(e);if(typeof e=="string"){var r=parseInt(e)||0;return cu(e)?uni.upx2px(r):r}return e}function _p(e){return cu(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,r)=>uni.upx2px(parseFloat(r))+"px"):e}var bp="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",wp="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",yp="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",Sp="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",xp="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",Zi="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",Tp="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",Ep="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",Cp="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";function Ji(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#000",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:27;return I("svg",{width:r,height:r,viewBox:"0 0 32 32"},[I("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Qi(){return Ct()}function Op(){return window.__PAGE_INFO__}function Ct(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function Ip(e){e.preventDefault()}var vu,du=0;function Mp(e){var{onPageScroll:t,onReachBottom:r,onReachBottomDistance:i}=e,n=!1,a=!1,s=!0,o=()=>{var{scrollHeight:u}=document.documentElement,v=window.innerHeight,c=window.scrollY,m=c>0&&u>v&&c+v+i>=u,g=Math.abs(u-du)>i;return m&&(!a||g)?(du=u,a=!0,!0):(!m&&a&&(a=!1),!1)},l=()=>{t&&t(window.pageYOffset);function u(){if(o())return r&&r(),s=!1,setTimeout(function(){s=!0},350),!0}r&&s&&(u()||(vu=setTimeout(u,300))),n=!1};return function(){clearTimeout(vu),n||requestAnimationFrame(l),n=!0}}function Za(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Za(e,t.substr(2));for(var r=t.split("/"),i=r.length,n=0;n0?e.split("/"):[];return a.splice(a.length-n-1,n+1),"/"+a.concat(r).join("/")}class Ap{constructor(t){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=t,this.$el=t.$el,this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(t){if(!(!this.$el||!t)){var r=hu(this.$el.querySelector(t));if(!!r)return Ja(r)}}selectAllComponents(t){if(!this.$el||!t)return[];for(var r=[],i=this.$el.querySelectorAll(t),n=0;n-1&&r.splice(i,1)}var n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return n.indexOf(t)===-1&&(n.push(t),this.forceUpdate("class")),this}hasClass(t){return this.$el&&this.$el.classList.contains(t)}getDataset(){return this.$el&&this.$el.dataset}callMethod(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.$vm[t];ae(i)?i(JSON.parse(JSON.stringify(r))):this.$vm.ownerId&&UniViewJSBridge.publishHandler(td,{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:t,args:r})}requestAnimationFrame(t){return window.requestAnimationFrame(t)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$vm.$emit(t,r),this}getComputedStyle(t){if(this.$el){var r=window.getComputedStyle(this.$el);return t&&t.length?t.reduce((i,n)=>(i[n]=r[n],i),{}):r}return{}}setTimeout(t,r){return window.setTimeout(t,r)}clearTimeout(t){return window.clearTimeout(t)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Ja(e){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Ap(e)),e.$el.__wxsComponentDescriptor}function en(e,t){return Ja(e)}function hu(e){if(!!e)return Dr(e)}function Dr(e){return e.__wxsVm||(e.__wxsVm={ownerId:e.__ownerId,$el:e,$emit(){},$forceUpdate(){var{__wxsStyle:t,__wxsAddClass:r,__wxsRemoveClass:i,__wxsStyleChanged:n,__wxsClassChanged:a}=e,s,o;n&&(e.__wxsStyleChanged=!1,t&&(o=()=>{Object.keys(t).forEach(l=>{e.style[l]=t[l]})})),a&&(e.__wxsClassChanged=!1,s=()=>{i&&i.forEach(l=>{e.classList.remove(l)}),r&&r.forEach(l=>{e.classList.add(l)})}),requestAnimationFrame(()=>{s&&s(),o&&o()})}})}var Rp=e=>e.type==="click";function gu(e,t,r){var{currentTarget:i}=e;if(!(e instanceof Event)||!(i instanceof HTMLElement))return[e];if(i.tagName.indexOf("UNI-")!==0)return[e];var n=pu(e);if(Rp(e))Lp(n,e);else if(e instanceof TouchEvent){var a=Ga();n.touches=mu(e.touches,a),n.changedTouches=mu(e.changedTouches,a)}return[n]}function Pp(e){for(;e&&e.tagName.indexOf("UNI-")!==0;)e=e.parentElement;return e}function pu(e){var{type:t,timeStamp:r,target:i,currentTarget:n}=e,a={type:t,timeStamp:r,target:ta(Pp(i)),detail:{},currentTarget:ta(n)};return e._stopped&&(a._stopped=!0),e.type.startsWith("touch")&&(a.touches=e.touches,a.changedTouches=e.changedTouches),a}function Lp(e,t){var{x:r,y:i}=t,n=Ga();e.detail={x:r,y:i-n},e.touches=e.changedTouches=[Np(t)]}function Np(e){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY}}function mu(e,t){for(var r=[],i=0;i1&&arguments[1]!==void 0?arguments[1]:{},r=Ct()+"";plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:e,data:t,pageId:r}},kp)}function Vp(e,t){var r=e[0];if(!(!t||!it(t.formatArgs)&&it(r)))for(var i=t.formatArgs,n=Object.keys(i),a=0;aplus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,""));function Yp(e){return e.indexOf("_www")===0||e.indexOf("_doc")===0||e.indexOf("_documents")===0||e.indexOf("_downloads")===0}function qp(e,t,r){}function Xp(e){return Promise.resolve(e)}var Kp="upx2px",Gp=1e-4,Zp=750,xu=!1,Qa=0,Tu=0;function Jp(){var{platform:e,pixelRatio:t,windowWidth:r}=yu();Qa=r,Tu=t,xu=e==="ios"}function Eu(e,t){var r=Number(e);return isNaN(r)?t:r}var Cu=zp(Kp,(e,t)=>{if(Qa===0&&Jp(),e=Number(e),e===0)return 0;var r=t||Qa;{var i=__uniConfig.globalStyle||{},n=Eu(i.rpxCalcMaxDeviceWidth,960),a=Eu(i.rpxCalcBaseDeviceWidth,375);r=r<=n?r:a}var s=e/Zp*r;return s<0&&(s=-s),s=Math.floor(s+Gp),s===0&&(Tu===1||!xu?s=1:s=.5),e<0?-s:s}),Qp=[{name:"id",type:String,required:!0}];Qp.concat({name:"componentInstance",type:Object});var Ou={};Ou.f={}.propertyIsEnumerable;var em=hr,tm=Bn,rm=ni,im=Ou.f,nm=function(e){return function(t){for(var r=rm(t),i=tm(r),n=i.length,a=0,s=[],o;n>a;)o=i[a++],(!em||im.call(r,o))&&s.push(e?[o,r[o]]:r[o]);return s}},Iu=Nn,am=nm(!1);Iu(Iu.S,"Object",{values:function(t){return am(t)}});var sm="setPageMeta",om="loadFontFace",lm="pageScrollTo",um=function(){if(typeof window!="object")return;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}});return}function e(f){try{return f.defaultView&&f.defaultView.frameElement||null}catch(d){return null}}var t=function(f){for(var d=f,y=e(d);y;)d=y.ownerDocument,y=e(d);return d}(window.document),r=[],i=null,n=null;function a(f){this.time=f.time,this.target=f.target,this.rootBounds=_(f.rootBounds),this.boundingClientRect=_(f.boundingClientRect),this.intersectionRect=_(f.intersectionRect||g()),this.isIntersecting=!!f.intersectionRect;var d=this.boundingClientRect,y=d.width*d.height,x=this.intersectionRect,E=x.width*x.height;y?this.intersectionRatio=Number((E/y).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function s(f,d){var y=d||{};if(typeof f!="function")throw new Error("callback must be a function");if(y.root&&y.root.nodeType!=1&&y.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=f,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(y.rootMargin),this.thresholds=this._initThresholds(y.threshold),this.root=y.root||null,this.rootMargin=this._rootMarginValues.map(function(x){return x.value+x.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return i||(i=function(f,d){!f||!d?n=g():n=b(f,d),r.forEach(function(y){y._checkForIntersections()})}),i},s._resetCrossOriginUpdater=function(){i=null,n=null},s.prototype.observe=function(f){var d=this._observationTargets.some(function(y){return y.element==f});if(!d){if(!(f&&f.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:f,entry:null}),this._monitorIntersections(f.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(f){this._observationTargets=this._observationTargets.filter(function(d){return d.element!=f}),this._unmonitorIntersections(f.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var f=this._queuedEntries.slice();return this._queuedEntries=[],f},s.prototype._initThresholds=function(f){var d=f||[0];return Array.isArray(d)||(d=[d]),d.sort().filter(function(y,x,E){if(typeof y!="number"||isNaN(y)||y<0||y>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return y!==E[x-1]})},s.prototype._parseRootMargin=function(f){var d=f||"0px",y=d.split(/\s+/).map(function(x){var E=/^(-?\d*\.?\d+)(px|%)$/.exec(x);if(!E)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(E[1]),unit:E[2]}});return y[1]=y[1]||y[0],y[2]=y[2]||y[0],y[3]=y[3]||y[1],y},s.prototype._monitorIntersections=function(f){var d=f.defaultView;if(!!d&&this._monitoringDocuments.indexOf(f)==-1){var y=this._checkForIntersections,x=null,E=null;this.POLL_INTERVAL?x=d.setInterval(y,this.POLL_INTERVAL):(u(d,"resize",y,!0),u(f,"scroll",y,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in d&&(E=new d.MutationObserver(y),E.observe(f,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(f),this._monitoringUnsubscribes.push(function(){var W=f.defaultView;W&&(x&&W.clearInterval(x),v(W,"resize",y,!0)),v(f,"scroll",y,!0),E&&E.disconnect()});var C=this.root&&(this.root.ownerDocument||this.root)||t;if(f!=C){var M=e(f);M&&this._monitorIntersections(M.ownerDocument)}}},s.prototype._unmonitorIntersections=function(f){var d=this._monitoringDocuments.indexOf(f);if(d!=-1){var y=this.root&&(this.root.ownerDocument||this.root)||t,x=this._observationTargets.some(function(M){var W=M.element.ownerDocument;if(W==f)return!0;for(;W&&W!=y;){var V=e(W);if(W=V&&V.ownerDocument,W==f)return!0}return!1});if(!x){var E=this._monitoringUnsubscribes[d];if(this._monitoringDocuments.splice(d,1),this._monitoringUnsubscribes.splice(d,1),E(),f!=y){var C=e(f);C&&this._unmonitorIntersections(C.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var f=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var d=0;d=0&&W>=0&&{top:y,bottom:x,left:E,right:C,width:M,height:W}||null}function m(f){var d;try{d=f.getBoundingClientRect()}catch(y){}return d?(d.width&&d.height||(d={top:d.top,right:d.right,bottom:d.bottom,left:d.left,width:d.right-d.left,height:d.bottom-d.top}),d):g()}function g(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function _(f){return!f||"x"in f?f:{top:f.top,y:f.top,bottom:f.bottom,left:f.left,x:f.left,right:f.right,width:f.width,height:f.height}}function b(f,d){var y=d.top-f.top,x=d.left-f.left;return{top:y,left:x,height:d.height,width:d.width,bottom:y+d.height,right:x+d.width}}function w(f,d){for(var y=d;y;){if(y==f)return!0;y=p(y)}return!1}function p(f){var d=f.parentNode;return f.nodeType==9&&f!=t?e(f):(d&&d.assignedSlot&&(d=d.assignedSlot.parentNode),d&&d.nodeType==11&&d.host?d.host:d)}function h(f){return f&&f.nodeType===9}window.IntersectionObserver=s,window.IntersectionObserverEntry=a};function es(e){var{bottom:t,height:r,left:i,right:n,top:a,width:s}=e||{};return{bottom:t,height:r,left:i,right:n,top:a,width:s}}function fm(e){var{intersectionRatio:t,boundingClientRect:{height:r,width:i},intersectionRect:{height:n,width:a}}=e;return t!==0?t:n===r?a/i:n/r}function cm(e,t,r){um();var i=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,n=new IntersectionObserver(l=>{l.forEach(u=>{r({intersectionRatio:fm(u),intersectionRect:es(u.intersectionRect),boundingClientRect:es(u.boundingClientRect),relativeRect:es(u.rootBounds),time:Date.now(),dataset:Qn(u.target),id:u.target.id})})},{root:i,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){n.USE_MUTATION_OBSERVER=!0;for(var a=e.querySelectorAll(t.selector),s=0;s{var i=450,n=44;clearTimeout(t),e&&Math.abs(r.pageX-e.pageX)<=n&&Math.abs(r.pageY-e.pageY)<=n&&r.timeStamp-e.timeStamp<=i&&r.preventDefault(),e=r,t=setTimeout(()=>{e=null},i)})}}function bm(e){if(!e.length)return r=>r;var t=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(typeof r=="number")return e[r];var n={};return r.forEach(a=>{var[s,o]=a;i?n[t(s)]=t(o):n[t(s)]=o}),n};return t}function wm(e,t){if(!!t)return t.a&&(t.a=e(t.a)),t.e&&(t.e=e(t.e,!1)),t.w&&(t.w=ym(t.w,e)),t.s&&(t.s=e(t.s)),t.t&&(t.t=e(t.t)),t}function ym(e,t){var r={};return e.forEach(i=>{var[n,[a,s]]=i;r[t(n)]=[t(a),s]}),r}function Sm(e,t){return e.priority=t,e}var ts=new Set,xm=1,rs=2,Mu=3,Au=4;function Ot(e,t){ts.add(Sm(e,t))}function Tm(){try{[...ts].sort((e,t)=>e.priority-t.priority).forEach(e=>e())}finally{ts.clear()}}function Ru(e,t){var r=window["__"+Zv],i=r&&r[e];if(i)return i;if(t&&t.__renderjsInstances)return t.__renderjsInstances[e]}var Em=Co.length;function Cm(e,t,r){var[i,n,a,s]=ns(t),o=is(e,i);if(oe(r)||oe(s)){var[l,u]=a.split(".");return as(o,n,l,u,r||s)}return Mm(o,n,a)}function Om(e,t,r){var[i,n,a]=ns(t),[s,o]=a.split("."),l=is(e,i);return as(l,n,s,o,[Rm(r,e),en(Dr(l))])}function is(e,t){if(e.__ownerId===t)return e;for(var r=e.parentElement;r;){if(r.__ownerId===t)return r;r=r.parentElement}return e}function ns(e){return JSON.parse(e.substr(Em))}function Im(e,t,r,i){var[n,a,s]=ns(e),o=is(t,n),[l,u]=s.split(".");return as(o,a,l,u,[r,i,en(Dr(o)),en(Dr(t))])}function as(e,t,r,i,n){var a=Ru(t,e);if(!a)return console.error(Jn("wxs","module "+r+" not found"));var s=a[i];return ae(s)?s.apply(a,n):console.error(r+"."+i+" is not a function")}function Mm(e,t,r){var i=Ru(t,e);return i?Lo(i,r.substr(r.indexOf(".")+1)):console.error(Jn("wxs","module "+r+" not found"))}function Am(e,t,r){var i=r;return n=>{try{Im(t,e.$,n,i)}catch(a){console.error(a)}i=n}}function Rm(e,t){var r=Dr(t);return Object.defineProperty(e,"instance",{get(){return en(r)}}),e}function Pu(e,t){Object.keys(t).forEach(r=>{Lm(e,t[r])})}function Pm(e){var{__renderjsInstances:t}=e.$;!t||Object.keys(t).forEach(r=>{t[r].$.appContext.app.unmount()})}function Lm(e,t){var r=Nm(t);if(!!r){var i=e.$;(i.__renderjsInstances||(i.__renderjsInstances={}))[t]=km(r)}}function Nm(e){var t=window["__"+Jv],r=t&&t[e];return r||console.error(Jn("renderjs",e+" not found"))}function km(e){return e=e.default||e,e.render=()=>{},lu(e).mount(document.createElement("div"))}class lr{constructor(t,r,i,n){this.isMounted=!1,this.isUnmounted=!1,this.$hasWxsProps=!1,this.$children=[],this.id=t,this.tag=r,this.pid=i,n&&(this.$=n),this.$wxsProps=new Map;var a=this.$parent=Uw(i);a&&a.appendUniChild(this)}init(t){te(t,"t")&&(this.$.textContent=t.t)}setText(t){this.$.textContent=t}insert(t,r){var i=this.$,n=Ke(t);r===-1?n.appendChild(i):n.insertBefore(i,Ke(r).$),this.isMounted=!0}remove(){this.removeUniParent();var{$:t}=this;t.parentNode.removeChild(t),this.isUnmounted=!0,Yf(this.id),Pm(this),this.removeUniChildren()}appendChild(t){return this.$.appendChild(t)}insertBefore(t,r){return this.$.insertBefore(t,r)}appendUniChild(t){this.$children.push(t)}removeUniChild(t){var r=this.$children.indexOf(t);r>=0&&this.$children.splice(r,1)}removeUniParent(){var{$parent:t}=this;t&&(t.removeUniChild(this),this.$parent=void 0)}removeUniChildren(){this.$children.forEach(t=>t.remove()),this.$children.length=0}setWxsProps(t){Object.keys(t).forEach(r=>{if(r.indexOf(aa)===0){var i=r.replace(aa,""),n=t[i],a=Am(this,t[r],n);Ot(()=>a(n),Au),this.$wxsProps.set(r,a),delete t[r],delete t[i],this.$hasWxsProps=!0}})}addWxsEvents(t){Object.keys(t).forEach(r=>{var[i,n]=t[r];this.addWxsEvent(r,i,n)})}addWxsEvent(t,r,i){}wxsPropsInvoke(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=this.$hasWxsProps&&this.$wxsProps.get(aa+t);if(n)return Ot(()=>i?sr(()=>n(r)):n(r),Au),!0}}function Lu(e,t){var{__wxsAddClass:r,__wxsRemoveClass:i}=e;i&&i.length&&(t=t.split(/\s+/).filter(n=>i.indexOf(n)===-1).join(" "),i.length=0),r&&r.length&&(t=t+" "+r.join(" ")),e.className=t}function Nu(e,t){var r=e.style;if(ye(t))t===""?e.removeAttribute("style"):r.cssText=Ut(t,!0);else for(var i in t)ss(r,i,t[i]);var{__wxsStyle:n}=e;if(n)for(var a in n)ss(r,a,n[a])}var ku=/\s*!important$/;function ss(e,t,r){if(oe(r))r.forEach(n=>ss(e,t,n));else if(r=Ut(r,!0),t.startsWith("--"))e.setProperty(t,r);else{var i=Bm(e,t);ku.test(r)?e.setProperty(Ve(i),r.replace(ku,""),"important"):e[i]=r}}var Bu=["Webkit"],os={};function Bm(e,t){var r=os[t];if(r)return r;var i=mt(t);if(i!=="filter"&&i in e)return os[t]=i;i=_i(i);for(var n=0;n{var[a]=gu(n);a.type=ld(n.type,r),UniViewJSBridge.publishHandler(_u,[[yd,e,a]])};return t?qa(i,Uu(t)):i}function Uu(e){var t=[];return e&ia.prevent&&t.push("prevent"),e&ia.self&&t.push("self"),e&ia.stop&&t.push("stop"),t}function Dm(e,t,r,i){var[n,a]=ra(t);i===-1?Du(e,n):Fu(e,n)||e.addEventListener(n,e.__listeners[n]=Vu(e,r,i),a)}function Vu(e,t,r){var i=n=>{Om(e,t,gu(n)[0])};return r?qa(i,Uu(r)):i}var Fm=Oo.length;function ls(e,t){return ye(t)&&(t.indexOf(Oo)===0?t=JSON.parse(t.substr(Fm)):t.indexOf(Co)===0&&(t=Cm(e,t))),t}function us(e,t){e._vod=e.style.display==="none"?"":e.style.display,e.style.display=t?e._vod:"none"}class Hu extends lr{constructor(t,r,i,n,a){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r.tagName,i,r);this.$props=Ee({}),this.$.__id=t,this.$.__listeners=Object.create(null),this.$propNames=s,this._update=this.update.bind(this),this.init(a),this.insert(i,n)}init(t){te(t,"a")&&this.setAttrs(t.a),te(t,"s")&&this.setAttr("style",t.s),te(t,"e")&&this.addEvents(t.e),te(t,"w")&&this.addWxsEvents(t.w),super.init(t),U(this.$props,()=>{Ot(this._update,xm)},{flush:"sync"}),this.update(!0)}setAttrs(t){this.setWxsProps(t),Object.keys(t).forEach(r=>{this.setAttr(r,t[r])})}addEvents(t){Object.keys(t).forEach(r=>{this.addEvent(r,t[r])})}addWxsEvent(t,r,i){Dm(this.$,t,r,i)}addEvent(t,r){$u(this.$,t,r)}removeEvent(t){$u(this.$,t,-1)}setAttr(t,r){t===Mo?Lu(this.$,r):t===na?Nu(this.$,r):t===yi?us(this.$,r):t===Ao?this.$.__ownerId=r:t===Ro?Ot(()=>Pu(this,r),Mu):t===ud?this.$.innerHTML=r:t===fd?this.setText(r):this.setAttribute(t,r)}removeAttr(t){t===Mo?Lu(this.$,""):t===na?Nu(this.$,""):this.removeAttribute(t)}setAttribute(t,r){r=ls(this.$,r),this.$propNames.indexOf(t)!==-1?this.$props[t]=r:this.wxsPropsInvoke(t,r)||this.$.setAttribute(t,r)}removeAttribute(t){this.$propNames.indexOf(t)!==-1?delete this.$props[t]:this.$.removeAttribute(t)}update(){}}class $m extends lr{constructor(t,r,i){super(t,"#comment",r,document.createComment(""));this.insert(r,i)}}var my="";function ju(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(t,r)=>"".concat(uni.upx2px(parseFloat(r)),"px")):/^-?[\d\.]+$/.test(e)?"".concat(e,"px"):e||""}function Wm(e){return e.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase())).replace("webkit","-webkit")}function Um(e){var t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],r=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],i=["opacity","background-color"],n=["width","height","left","right","top","bottom"],a=e.animates,s=e.option,o=s.transition,l={},u=[];return a.forEach(v=>{var c=v.type,m=[...v.args];if(t.concat(r).includes(c))c.startsWith("rotate")||c.startsWith("skew")?m=m.map(_=>parseFloat(_)+"deg"):c.startsWith("translate")&&(m=m.map(ju)),r.indexOf(c)>=0&&(m.length=1),u.push("".concat(c,"(").concat(m.join(","),")"));else if(i.concat(n).includes(m[0])){c=m[0];var g=m[1];l[c]=n.includes(c)?ju(g):g}}),l.transform=l.webkitTransform=u.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(v=>"".concat(Wm(v)," ").concat(o.duration,"ms ").concat(o.timingFunction," ").concat(o.delay,"ms")).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}function zu(e){var t=e.animation;if(!t||!t.actions||!t.actions.length)return;var r=0,i=t.actions,n=t.actions.length;function a(){var s=i[r],o=s.option.transition,l=Um(s);Object.keys(l).forEach(u=>{e.$el.style[u]=l[u]}),r+=1,r{a()},0)}var tn={props:["animation"],watch:{animation:{deep:!0,handler(){zu(this)}}},mounted(){zu(this)}},de=e=>{var{props:t,mixins:r}=e;return(!t||!t.animation)&&(r||(e.mixins=[])).push(tn),Vm(e)},Vm=e=>(e.compatConfig={MODE:3},Yh(e)),Hm={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function fs(e){var t=$(!1),r=!1,i,n;function a(){requestAnimationFrame(()=>{clearTimeout(n),n=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function s(u){u._hoverPropagationStopped||!e.hoverClass||e.hoverClass==="none"||e.disabled||u.touches.length>1||(e.hoverStopPropagation&&(u._hoverPropagationStopped=!0),r=!0,i=setTimeout(()=>{t.value=!0,r||a()},parseInt(e.hoverStartTime)))}function o(){r=!1,t.value&&a()}function l(){r=!1,t.value=!1,clearTimeout(i)}return{hovering:t,binding:{onTouchstartPassive:s,onTouchend:o,onTouchcancel:l}}}function Fr(e,t){return ye(t)&&(t=[t]),t.reduce((r,i)=>(e[i]&&(r[i]=!0),r),Object.create(null))}function Vt(e){return e.__wwe=!0,e}function Me(e,t){return(r,i,n)=>{e.value&&t(r,zm(r,i,e.value,n||{}))}}function jm(e){return(t,r)=>{e(t,pu(r))}}function zm(e,t,r,i){var n=ta(r);return{type:i.type||e,timeStamp:t.timeStamp||0,target:n,currentTarget:n,detail:i}}var ut=Gi("uf"),Ym=de({name:"Form",emits:["submit","reset"],setup(e,t){var{slots:r,emit:i}=t,n=$(null);return qm(Me(n,i)),()=>I("uni-form",{ref:n},[I("span",null,[r.default&&r.default()])],512)}});function qm(e){var t=[];return Ne(ut,{addField(r){t.push(r)},removeField(r){t.splice(t.indexOf(r),1)},submit(r){e("submit",r,{value:t.reduce((i,n)=>{if(n.submit){var[a,s]=n.submit();a&&(i[a]=s)}return i},Object.create(null))})},reset(r){t.forEach(i=>i.reset&&i.reset()),e("reset",r)}}),t}var $r=Gi("ul"),Xm={for:{type:String,default:""}},Km=de({name:"Label",props:Xm,setup(e,t){var{slots:r}=t,i=Qi(),n=Gm(),a=Q(()=>e.for||r.default&&r.default.length),s=Vt(o=>{var l=o.target,u=/^uni-(checkbox|radio|switch)-/.test(l.className);u||(u=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(l.tagName)),!u&&(e.for?UniViewJSBridge.emit("uni-label-click-"+i+"-"+e.for,o,!0):n.length&&n[0](o,!0))});return()=>I("uni-label",{class:{"uni-label-pointer":a},onClick:s},[r.default&&r.default()],10,["onClick"])}});function Gm(){var e=[];return Ne($r,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}function rn(e,t){Yu(e.id,t),U(()=>e.id,(r,i)=>{qu(i,t,!0),Yu(r,t,!0)}),yt(()=>{qu(e.id,t)})}function Yu(e,t,r){var i=Qi();r&&!e||!it(t)||Object.keys(t).forEach(n=>{r?n.indexOf("@")!==0&&n.indexOf("uni-")!==0&&UniViewJSBridge.on("uni-".concat(n,"-").concat(i,"-").concat(e),t[n]):n.indexOf("uni-")===0?UniViewJSBridge.on(n,t[n]):e&&UniViewJSBridge.on("uni-".concat(n,"-").concat(i,"-").concat(e),t[n])})}function qu(e,t,r){var i=Qi();r&&!e||!it(t)||Object.keys(t).forEach(n=>{r?n.indexOf("@")!==0&&n.indexOf("uni-")!==0&&UniViewJSBridge.off("uni-".concat(n,"-").concat(i,"-").concat(e),t[n]):n.indexOf("uni-")===0?UniViewJSBridge.off(n,t[n]):e&&UniViewJSBridge.off("uni-".concat(n,"-").concat(i,"-").concat(e),t[n])})}var Zm=de({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}},setup(e,t){var{slots:r}=t,i=$(null);Vd();var n=pe(ut,!1),{hovering:a,binding:s}=fs(e),{t:o}=He(),l=Vt((v,c)=>{if(e.disabled)return v.stopImmediatePropagation();c&&i.value.click();var m=e.formType;if(m){if(!n)return;m==="submit"?n.submit(v):m==="reset"&&n.reset(v);return}e.openType==="feedback"&&Jm(o("uni.button.feedback.title"),o("uni.button.feedback.send"))}),u=pe($r,!1);return u&&(u.addHandler(l),xe(()=>{u.removeHandler(l)})),rn(e,{"label-click":l}),()=>{var v=e.hoverClass,c=Fr(e,"disabled"),m=Fr(e,"loading"),g=v&&v!=="none";return I("uni-button",ze({ref:i,onClick:l,class:g&&a.value?v:""},g&&s,c,m),[r.default&&r.default()],16,["onClick"])}}});function Jm(e,t){var r=plus.webview.create("https://service.dcloud.net.cn/uniapp/feedback.html","feedback",{titleNView:{titleText:e,autoBackButton:!0,backgroundColor:"#F7F7F7",titleColor:"#007aff",buttons:[{text:t,color:"#007aff",fontSize:"16px",fontWeight:"bold",onclick:function(){r.evalJS('typeof mui !== "undefined" && mui.trigger(document.getElementById("submit"),"tap")')}}]}});r.show("slide-in-right")}var Ht=de({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,t){var{emit:r}=t,i=$(null),n=e0(i),a=Qm(i,r,n);return t0(i,e,a,n),()=>I("uni-resize-sensor",{ref:i,onAnimationstartOnce:a},[I("div",{onScroll:a},[I("div",null,null)],40,["onScroll"]),I("div",{onScroll:a},[I("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function Qm(e,t,r){var i=Ee({width:-1,height:-1});return U(()=>ce({},i),n=>t("resize",n)),()=>{var n=e.value;i.width=n.offsetWidth,i.height=n.offsetHeight,r()}}function e0(e){return()=>{var{firstElementChild:t,lastElementChild:r}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,r.scrollLeft=1e5,r.scrollTop=1e5}}function t0(e,t,r,i){Ia(i),Ie(()=>{t.initial&&sr(r);var n=e.value;n.offsetParent!==n.parentElement&&(n.parentElement.style.position="relative"),"AnimationEvent"in window||i()})}var me=function(){var e=document.createElement("canvas");e.height=e.width=0;var t=e.getContext("2d"),r=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/r}();function Xu(e){e.width=e.offsetWidth*me,e.height=e.offsetHeight*me,e.getContext("2d").__hidpi__=!0}var Ku=!1;function r0(){if(!Ku){Ku=!0;var e=function(i,n){for(var a in i)te(i,a)&&n(i[a],a)},t={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",setTransform:[4,5]},r=CanvasRenderingContext2D.prototype;r.drawImageByCanvas=function(i){return function(n,a,s,o,l,u,v,c,m,g){if(!this.__hidpi__)return i.apply(this,arguments);a*=me,s*=me,o*=me,l*=me,u*=me,v*=me,c=g?c*me:c,m=g?m*me:m,i.call(this,n,a,s,o,l,u,v,c,m)}}(r.drawImage),me!==1&&(e(t,function(i,n){r[n]=function(a){return function(){if(!this.__hidpi__)return a.apply(this,arguments);var s=Array.prototype.slice.call(arguments);if(i==="all")s=s.map(function(l){return l*me});else if(Array.isArray(i))for(var o=0;or0());function Gu(e){return e&&et(e)}function nn(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function Zu(e,t){var r=e;return Array.from(t).map(i=>{var n=r.getBoundingClientRect();return{identifier:i.identifier,x:i.clientX-n.left,y:i.clientY-n.top}})}var Wr;function Ju(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Wr||(Wr=document.createElement("canvas")),Wr.width=e,Wr.height=t,Wr}var n0={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1}},a0=de({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:n0,computed:{id(){return this.canvasId}},setup(e,t){var{emit:r,slots:i}=t;i0();var n=$(null),a=$(null),s=$(!1),o=jm(r),{$attrs:l,$excludeAttrs:u,$listeners:v}=_f({excludeListeners:!0}),{_listeners:c}=s0(e,v,o),{_handleSubscribe:m,_resize:g}=o0(n,s);return gn(m,pn(e.canvasId),!0),Ie(()=>{g()}),()=>{var{canvasId:_,disableScroll:b}=e;return I("uni-canvas",ze({"canvas-id":_,"disable-scroll":b},l.value,u.value,c.value),[I("canvas",{ref:n,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),I("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[i.default&&i.default()]),I(Ht,{ref:a,onResize:g},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function s0(e,t,r){var i=Q(()=>{var n=["onTouchstart","onTouchmove","onTouchend"],a=t.value,s=ce({},(()=>{var o={};for(var l in a)if(Object.prototype.hasOwnProperty.call(a,l)){var u=a[l];o[l]=u}return o})());return n.forEach(o=>{var l=s[o],u=[];l&&u.push(Vt(v=>{r(o.replace("on","").toLocaleLowerCase(),ce({},(()=>{var c={};for(var m in v)c[m]=v[m];return c})(),{touches:Zu(v.currentTarget,v.touches),changedTouches:Zu(v.currentTarget,v.changedTouches)}))})),e.disableScroll&&o==="onTouchmove"&&u.push(gp),s[o]=u}),s});return{_listeners:i}}function o0(e,t){var r=[],i={};function n(g){var _=e.value,b=!g||_.width!==Math.floor(g.width*me)||_.height!==Math.floor(g.height*me);if(!!b)if(_.width>0&&_.height>0){var w=_.getContext("2d"),p=w.getImageData(0,0,_.width,_.height);Xu(_),w.putImageData(p,0,0)}else Xu(_)}function a(g,_){var{actions:b,reserve:w}=g;if(!!b){if(t.value){r.push([b,w]);return}var p=e.value,h=p.getContext("2d");w||(h.fillStyle="#000000",h.strokeStyle="#000000",h.shadowColor="#000000",h.shadowBlur=0,h.shadowOffsetX=0,h.shadowOffsetY=0,h.setTransform(1,0,0,1,0,0),h.clearRect(0,0,p.width,p.height)),s(b);for(var f=function(x){var E=b[x],C=E.method,M=E.data,W=M[0];if(/^set/.test(C)&&C!=="setTransform"){var V=C[3].toLowerCase()+C.slice(4),q;if(V==="fillStyle"||V==="strokeStyle"){if(W==="normal")q=nn(M[1]);else if(W==="linear"){var he=h.createLinearGradient(...M[1]);M[2].forEach(function(G){var re=G[0],le=nn(G[1]);he.addColorStop(re,le)}),q=he}else if(W==="radial"){var R=M[1],B=R[0],ee=R[1],ie=R[2],z=h.createRadialGradient(B,ee,0,B,ee,ie);M[2].forEach(function(G){var re=G[0],le=nn(G[1]);z.addColorStop(re,le)}),q=z}else if(W==="pattern"){var J=o(M[1],b.slice(x+1),_,function(G){G&&(h[V]=h.createPattern(G,M[2]))});return J?"continue":"break"}h[V]=q}else if(V==="globalAlpha")h[V]=Number(W)/255;else if(V==="shadow"){var ne=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];M.forEach(function(G,re){h[ne[re]]=ne[re]==="shadowColor"?nn(G):G})}else if(V==="fontSize"){var we=h.__font__||h.font;h.__font__=h.font=we.replace(/\d+\.?\d*px/,W+"px")}else V==="lineDash"?(h.setLineDash(W),h.lineDashOffset=M[1]||0):V==="textBaseline"?(W==="normal"&&(M[0]="alphabetic"),h[V]=W):V==="font"?h.__font__=h.font=W:h[V]=W}else if(C==="fillPath"||C==="strokePath")C=C.replace(/Path/,""),h.beginPath(),M.forEach(function(G){h[G.method].apply(h,G.data)}),h[C]();else if(C==="fillText")h.fillText.apply(h,M);else if(C==="drawImage"){var se=function(){var G=[...M],re=G[0],le=G.slice(1);if(i=i||{},o(re,b.slice(x+1),_,function(Ce){Ce&&h.drawImage.apply(h,[Ce].concat([...le.slice(4,8)],[...le.slice(0,4)]))}))return"break"}();if(se==="break")return"break"}else C==="clip"?(M.forEach(function(G){h[G.method].apply(h,G.data)}),h.clip()):h[C].apply(h,M)},d=0;d{f.src=d}).catch(()=>{f.src=p})}})}function o(g,_,b,w){var p=i[g];return p.ready?(w(p),!0):(r.unshift([_,!0]),t.value=!0,p.onload=function(){p.ready=!0,w(p),t.value=!1;var h=r.slice(0);r=[];for(var f=h.shift();f;)a({actions:f[0],reserve:f[1]},b),f=h.shift()},!1)}function l(g,_){var{x:b=0,y:w=0,width:p,height:h,destWidth:f,destHeight:d,hidpi:y=!0,dataType:x,quality:E=1,type:C="png"}=g,M=e.value,W,V=M.offsetWidth-b;p=p?Math.min(p,V):V;var q=M.offsetHeight-w;h=h?Math.min(h,q):q,y?(f=p,d=h):!f&&!d?(f=Math.round(p*me),d=Math.round(h*me)):f?d||(d=Math.round(h/p*f)):f=Math.round(p/h*d);var he=Ju(f,d),R=he.getContext("2d");(C==="jpeg"||C==="jpg")&&(C="jpeg",R.fillStyle="#fff",R.fillRect(0,0,f,d)),R.__hidpi__=!0,R.drawImageByCanvas(M,b,w,p,h,0,0,f,d,!1);var B;try{var ee;if(x==="base64")W=he.toDataURL("image/".concat(C),E);else{var ie=R.getImageData(0,0,f,d),z=require("pako");W=z.deflateRaw(ie.data,{to:"string"}),ee=!0}B={data:W,compressed:ee,width:f,height:d}}catch(J){B={errMsg:"canvasGetImageData:fail ".concat(J)}}if(he.height=he.width=0,R.__hidpi__=!1,_)_(B);else return B}function u(g,_){var{data:b,x:w,y:p,width:h,height:f,compressed:d}=g;try{f||(f=Math.round(b.length/4/h));var y=Ju(h,f),x=y.getContext("2d");if(d){var E=require("pako");b=E.inflateRaw(b)}x.putImageData(new ImageData(new Uint8ClampedArray(b),h,f),0,0),e.value.getContext("2d").drawImage(y,w,p,h,f),y.height=y.width=0}catch(C){_({errMsg:"canvasPutImageData:fail"});return}_({errMsg:"canvasPutImageData:ok"})}function v(g,_){var{x:b=0,y:w=0,width:p,height:h,destWidth:f,destHeight:d,fileType:y,quality:x,dirname:E}=g,C=l({x:b,y:w,width:p,height:h,destWidth:f,destHeight:d,hidpi:!1,dataType:"base64",type:y,quality:x});if(!C.data||!C.data.length){_({errMsg:C.errMsg.replace("canvasPutImageData","toTempFilePath")});return}qp(C.data)}var c={actionsChanged:a,getImageData:l,putImageData:u,toTempFilePath:v};function m(g,_,b){var w=c[g];g.indexOf("_")!==0&&typeof w=="function"&&w(_,b)}return ce(c,{_resize:n,_handleSubscribe:m})}var Qu=Gi("ucg"),l0={name:{type:String,default:""}},u0=de({name:"CheckboxGroup",props:l0,emits:["change"],setup(e,t){var{emit:r,slots:i}=t,n=$(null),a=Me(n,r);return f0(e,a),()=>I("uni-checkbox-group",{ref:n},[i.default&&i.default()],512)}});function f0(e,t){var r=[],i=()=>r.reduce((a,s)=>(s.value.checkboxChecked&&a.push(s.value.value),a),new Array);Ne(Qu,{addField(a){r.push(a)},removeField(a){r.splice(r.indexOf(a),1)},checkboxChange(a){t("change",a,{value:i()})}});var n=pe(ut,!1);return n&&n.addField({submit:()=>{var a=["",null];return e.name!==""&&(a[0]=e.name,a[1]=i()),a}}),i}var c0={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:""}},v0=de({name:"Checkbox",props:c0,setup(e,t){var{slots:r}=t,i=$(e.checked),n=$(e.value);U([()=>e.checked,()=>e.value],u=>{var[v,c]=u;i.value=v,n.value=c});var a=()=>{i.value=!1},{uniCheckGroup:s,uniLabel:o}=d0(i,n,a),l=u=>{e.disabled||(i.value=!i.value,s&&s.checkboxChange(u))};return o&&(o.addHandler(l),xe(()=>{o.removeHandler(l)})),rn(e,{"label-click":l}),()=>{var u=Fr(e,"disabled");return I("uni-checkbox",ze(u,{onClick:l}),[I("div",{class:"uni-checkbox-wrapper"},[I("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[i.value?Ji(Zi,e.color,22):""],2),r.default&&r.default()])],16,["onClick"])}}});function d0(e,t,r){var i=Q(()=>({checkboxChecked:Boolean(e.value),value:t.value})),n={reset:r},a=pe(Qu,!1);a&&a.addField(i);var s=pe(ut,!1);s&&s.addField(n);var o=pe($r,!1);return xe(()=>{a&&a.removeField(i),s&&s.removeField(n)}),{uniCheckGroup:a,uniForm:s,uniLabel:o}}var ef,Ur,an,It,sn,cs;Qt(()=>{Ur=plus.os.name==="Android",an=plus.os.version||""}),document.addEventListener("keyboardchange",function(e){It=e.height,sn&&sn()},!1);function tf(){}function Vr(e,t,r){Qt(()=>{var i="adjustResize",n="adjustPan",a="nothing",s=plus.webview.currentWebview(),o=cs||s.getStyle()||{},l={mode:r||o.softinputMode===i?i:e.adjustPosition?n:a,position:{top:0,height:0}};if(l.mode===n){var u=t.getBoundingClientRect();l.position.top=u.top,l.position.height=u.height+(Number(e.cursorSpacing)||0)}s.setSoftinputTemporary(l)})}function h0(e,t){if(e.showConfirmBar==="auto"){delete t.softinputNavBar;return}Qt(()=>{var r=plus.webview.currentWebview(),{softinputNavBar:i}=r.getStyle()||{},n=i!=="none";n!==e.showConfirmBar?(t.softinputNavBar=i||"auto",r.setStyle({softinputNavBar:e.showConfirmBar?"auto":"none"})):delete t.softinputNavBar})}function g0(e){var t=e.softinputNavBar;t&&Qt(()=>{var r=plus.webview.currentWebview();r.setStyle({softinputNavBar:t})})}var rf={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},nf=["keyboardheightchange"];function af(e,t,r){var i={};function n(a){var s,o=()=>{r("keyboardheightchange",{},{height:It,duration:.25}),s&&It===0&&Vr(e,a),e.autoBlur&&s&&It===0&&(Ur||parseInt(an)>=13)&&document.activeElement.blur()};a.addEventListener("focus",()=>{s=!0,clearTimeout(ef),document.addEventListener("click",tf,!1),sn=o,It&&r("keyboardheightchange",{},{height:It,duration:0}),h0(e,i),Vr(e,a)}),Ur&&a.addEventListener("click",()=>{!e.disabled&&!e.readOnly&&s&&It===0&&Vr(e,a)}),Ur||(parseInt(an)<12&&a.addEventListener("touchstart",()=>{!e.disabled&&!e.readOnly&&!s&&Vr(e,a)}),parseFloat(an)>=14.6&&!cs&&Qt(()=>{var u=plus.webview.currentWebview();cs=u.getStyle()||{}}));var l=()=>{document.removeEventListener("click",tf,!1),sn=null,It&&r("keyboardheightchange",{},{height:0,duration:0}),g0(i),Ur&&(ef=setTimeout(()=>{Vr(e,a,!0)},300)),String(navigator.vendor).indexOf("Apple")===0&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};a.addEventListener("blur",()=>{a.blur(),s=!1,l()})}U(()=>t.value,a=>n(a))}var sf=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,of=/^<\/([-A-Za-z0-9_]+)[^>]*>/,p0=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,m0=ur("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),_0=ur("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"),b0=ur("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"),w0=ur("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),y0=ur("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),S0=ur("script,style");function lf(e,t){var r,i,n,a=[],s=e;for(a.last=function(){return this[this.length-1]};e;){if(i=!0,!a.last()||!S0[a.last()]){if(e.indexOf(""),r>=0&&(t.comment&&t.comment(e.substring(4,r)),e=e.substring(r+3),i=!1)):e.indexOf("]*>"),function(v,c){return c=c.replace(/|/g,"$1$2"),t.chars&&t.chars(c),""}),u("",a.last());if(e==s)throw"Parse Error: "+e;s=e}u();function l(v,c,m,g){if(c=c.toLowerCase(),_0[c])for(;a.last()&&b0[a.last()];)u("",a.last());if(w0[c]&&a.last()==c&&u("",c),g=m0[c]||!!g,g||a.push(c),t.start){var _=[];m.replace(p0,function(b,w){var p=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:y0[w]?w:"";_.push({name:w,value:p,escaped:p.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(c,_,g)}}function u(v,c){if(c)for(var m=a.length-1;m>=0&&a[m]!=c;m--);else var m=0;if(m>=0){for(var g=a.length-1;g>=m;g--)t.end&&t.end(a[g]);a.length=m}}}function ur(e){for(var t={},r=e.split(","),i=0;is()),delete vs[t]}}n.push(r)}function x0(e){var t=e.import("blots/block/embed");class r extends t{}return r.blotName="divider",r.tagName="HR",{"formats/divider":r}}function T0(e){var t=e.import("blots/inline");class r extends t{}return r.blotName="ins",r.tagName="INS",{"formats/ins":r}}function E0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["left","right","center","justify"]},n=new r.Style("align","text-align",i);return{"formats/align":n}}function C0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["rtl"]},n=new r.Style("direction","direction",i);return{"formats/direction":n}}function O0(e){var t=e.import("parchment"),r=e.import("blots/container"),i=e.import("formats/list/item");class n extends r{static create(s){var o=s==="ordered"?"OL":"UL",l=super.create(o);return(s==="checked"||s==="unchecked")&&l.setAttribute("data-checked",s==="checked"),l}static formats(s){if(s.tagName==="OL")return"ordered";if(s.tagName==="UL")return s.hasAttribute("data-checked")?s.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}constructor(s){super(s);var o=l=>{if(l.target.parentNode===s){var u=this.statics.formats(s),v=t.find(l.target);u==="checked"?v.format("list","unchecked"):u==="unchecked"&&v.format("list","checked")}};s.addEventListener("click",o)}format(s,o){this.children.length>0&&this.children.tail.format(s,o)}formats(){return{[this.statics.blotName]:this.statics.formats(this.domNode)}}insertBefore(s,o){if(s instanceof i)super.insertBefore(s,o);else{var l=o==null?this.length():o.offset(this),u=this.split(l);u.parent.insertBefore(s,u)}}optimize(s){super.optimize(s);var o=this.next;o!=null&&o.prev===this&&o.statics.blotName===this.statics.blotName&&o.domNode.tagName===this.domNode.tagName&&o.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(o.moveChildren(this),o.remove())}replace(s){if(s.statics.blotName!==this.statics.blotName){var o=t.create(this.statics.defaultChild);s.moveChildren(o),this.appendChild(o)}super.replace(s)}}return n.blotName="list",n.scope=t.Scope.BLOCK_BLOT,n.tagName=["OL","UL"],n.defaultChild="list-item",n.allowedChildren=[i],{"formats/list":n}}function I0(e){var{Scope:t}=e.import("parchment"),r=e.import("formats/background"),i=new r.constructor("backgroundColor","background-color",{scope:t.INLINE});return{"formats/backgroundColor":i}}function M0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK},n=["margin","marginTop","marginBottom","marginLeft","marginRight"],a=["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"],s={};return n.concat(a).forEach(o=>{s["formats/".concat(o)]=new r.Style(o,Ve(o),i)}),s}function A0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.INLINE},n=["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"],a={};return n.forEach(s=>{a["formats/".concat(s)]=new r.Style(s,Ve(s),i)}),a}function R0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i=[{name:"lineHeight",scope:t.BLOCK},{name:"letterSpacing",scope:t.INLINE},{name:"textDecoration",scope:t.INLINE},{name:"textIndent",scope:t.BLOCK}],n={};return i.forEach(a=>{var{name:s,scope:o}=a;n["formats/".concat(s)]=new r.Style(s,Ve(s),{scope:o})}),n}function P0(e){var t=e.import("formats/image"),r=["alt","height","width","data-custom","class","data-local"];t.sanitize=n=>n&&et(n),t.formats=function(a){return r.reduce(function(s,o){return a.hasAttribute(o)&&(s[o]=a.getAttribute(o)),s},{})};var i=t.prototype.format;t.prototype.format=function(n,a){r.indexOf(n)>-1?a?this.domNode.setAttribute(n,a):this.domNode.removeAttribute(n):i.call(this,n,a)}}function L0(e){var t=e.import("formats/link");t.sanitize=r=>{var i=document.createElement("a");i.href=r;var n=i.href.slice(0,i.href.indexOf(":"));return t.PROTOCOL_WHITELIST.concat("file").indexOf(n)>-1?r:t.SANITIZED_URL}}function N0(e){var t={divider:x0,ins:T0,align:E0,direction:C0,list:O0,background:I0,box:M0,font:A0,text:R0,image:P0,link:L0},r={};Object.values(t).forEach(i=>ce(r,i(e))),e.register(r,!0)}function k0(e,t,r){var i,n,a,s=!1;U(()=>e.readOnly,_=>{i&&(a.enable(!_),_||a.blur())}),U(()=>e.placeholder,_=>{i&&u(_)});function o(_){var b=["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"],w="",p;lf(_,{start:function(f,d,y){if(!b.includes(f)){p=!y;return}p=!1;var x=d.map(C=>{var{name:M,value:W}=C;return"".concat(M,'="').concat(W,'"')}).join(" "),E="<".concat(f," ").concat(x," ").concat(y?"/":"",">");w+=E},end:function(f){p||(w+=""))},chars:function(f){p||(w+=f)}}),n=!0;var h=a.clipboard.convert(w);return n=!1,h}function l(){var _=a.root.innerHTML,b=a.getText(),w=a.getContents();return{html:_,text:b,delta:w}}function u(_){var b="data-placeholder",w=a.root;w.getAttribute(b)!==_&&w.setAttribute(b,_)}var v={};function c(_){var b=_?a.getFormat(_):{},w=Object.keys(b);(w.length!==Object.keys(v).length||w.find(p=>b[p]!==v[p]))&&(v=b,r("statuschange",{},b))}function m(_){var b=window.Quill;N0(b);var w={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};_.length&&(b.register("modules/ImageResize",window.ImageResize.default),w.modules={ImageResize:{modules:_}});var p=t.value;a=new b(p,w);var h=a.root,f=["focus","blur","input"];f.forEach(d=>{h.addEventListener(d,y=>{var x=l();if(d==="input"){if(yu().platform==="ios"){var E=(x.html.match(/([\s\S]*)<\/span>/)||[])[1],C=E&&E.replace(/\s/g,"")?"":e.placeholder;u(C)}y.stopPropagation()}else r(d,y,x)})}),a.on("text-change",()=>{s||r("input",{},l())}),a.on("selection-change",c),a.on("scroll-optimize",()=>{var d=a.selection.getRange()[0];c(d)}),a.clipboard.addMatcher(Node.ELEMENT_NODE,(d,y)=>(n||y.ops&&(y.ops=y.ops.filter(x=>{var{insert:E}=x;return typeof E=="string"}).map(x=>{var{insert:E}=x;return{insert:E}})),y)),i=!0,r("ready",{},{})}Ie(()=>{var _=[];e.showImgSize&&_.push("DisplaySize"),e.showImgToolbar&&_.push("Toolbar"),e.showImgResize&&_.push("Resize");var b="./__uniappquill.js";uf(window.Quill,b,()=>{if(_.length){var w="./__uniappquillimageresize.js";uf(window.ImageResize,w,()=>{m(_)})}else m(_)})});var g=pn();gn((_,b,w)=>{var{options:p,callbackId:h}=b,f,d,y;if(i){var x=window.Quill;switch(_){case"format":{var{name:E="",value:C=!1}=p;d=a.getSelection(!0);var M=a.getFormat(d)[E]||!1;if(["bold","italic","underline","strike","ins"].includes(E))C=!M;else if(E==="direction"){C=C==="rtl"&&M?!1:C;var W=a.getFormat(d).align;C==="rtl"&&!W?a.format("align","right","user"):!C&&W==="right"&&a.format("align",!1,"user")}else if(E==="indent"){var V=a.getFormat(d).direction==="rtl";C=C==="+1",V&&(C=!C),C=C?"+1":"-1"}else E==="list"&&(C=C==="check"?"unchecked":C,M=M==="checked"?"unchecked":M),C=M&&M!==(C||!1)||!M&&C?C:!M;a.format(E,C,"user")}break;case"insertDivider":d=a.getSelection(!0),a.insertText(d.index,wr,"user"),a.insertEmbed(d.index+1,"divider",!0,"user"),a.setSelection(d.index+2,0,"silent");break;case"insertImage":{d=a.getSelection(!0);var{src:q="",alt:he="",width:R="",height:B="",extClass:ee="",data:ie={}}=p,z=et(q);a.insertEmbed(d.index,"image",z,"user");var J=/^(file|blob):/.test(z)?z:!1;s=!0,a.formatText(d.index,1,"data-local",J),a.formatText(d.index,1,"alt",he),a.formatText(d.index,1,"width",R),a.formatText(d.index,1,"height",B),a.formatText(d.index,1,"class",ee),s=!1,a.formatText(d.index,1,"data-custom",Object.keys(ie).map(re=>"".concat(re,"=").concat(ie[re])).join("&")),a.setSelection(d.index+1,0,"silent")}break;case"insertText":{d=a.getSelection(!0);var{text:ne=""}=p;a.insertText(d.index,ne,"user"),a.setSelection(d.index+ne.length,0,"silent")}break;case"setContents":{var{delta:we,html:se}=p;typeof we=="object"?a.setContents(we,"silent"):typeof se=="string"?a.setContents(o(se),"silent"):y="contents is missing"}break;case"getContents":f=l();break;case"clear":a.setText("");break;case"removeFormat":{d=a.getSelection(!0);var G=x.import("parchment");d.length?a.removeFormat(d.index,d.length,"user"):Object.keys(a.getFormat(d)).forEach(re=>{G.query(re,G.Scope.INLINE)&&a.format(re,!1)})}break;case"undo":a.history.undo();break;case"redo":a.history.redo();break;case"blur":a.blur();break;case"getSelectionText":d=a.selection.savedRange,f={text:""},d&&d.length!==0&&(f.text=a.getText(d.index,d.length));break;case"scrollIntoView":a.scrollIntoView();break}c(d)}else y="not ready";h&&w({callbackId:h,data:ce({},f,{errMsg:"".concat(_,":").concat(y?"fail "+y:"ok")})})},g,!0)}var B0=ce({},rf,{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}}),D0=de({name:"Editor",props:B0,emit:["ready","focus","blur","input","statuschange",...nf],setup(e,t){var{emit:r}=t,i=$(null),n=Me(i,r);return k0(e,i,n),af(e,i,n),()=>I("uni-editor",{ref:i,id:e.id,class:"ql-container"},null,8,["id"])}}),ff="#10aeff",F0="#f76260",cf="#b2b2b2",$0="#f43530",W0={success:{d:Tp,c:wi},success_no_circle:{d:Zi,c:wi},info:{d:Sp,c:ff},warn:{d:Cp,c:F0},waiting:{d:Ep,c:ff},cancel:{d:bp,c:$0},download:{d:yp,c:wi},search:{d:xp,c:cf},clear:{d:wp,c:cf}},U0=de({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=Q(()=>W0[e.type]);return()=>{var{value:r}=t;return I("uni-icon",null,[r&&r.d&&Ji(r.d,e.color||r.c,Ut(e.size))])}}}),V0={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!0}},on={widthFix:["offsetWidth","height"],heightFix:["offsetHeight","width"]},H0={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"]},j0=de({name:"Image",props:V0,setup(e,t){var{emit:r}=t,i=$(null),n=z0(i,e),a=Me(i,r),{fixSize:s}=K0(i,e,n);return Y0(n,s,a),()=>{var{mode:o}=e,{imgSrc:l,modeStyle:u,src:v}=n,c;return c=l?I("img",{src:l,draggable:e.draggable},null,8,["src","draggable"]):I("img",null,null),I("uni-image",{ref:i},[I("div",{style:u},null,4),c,on[o]?I(Ht,{onResize:s},null,8,["onResize"]):I("span",null,null)],512)}}});function z0(e,t){var r=$(""),i=Q(()=>{var a="auto",s="",o=H0[t.mode];return o?(o[0]&&(s=o[0]),o[1]&&(a=o[1])):(s="0% 0%",a="100% 100%"),"background-image:".concat(r.value?'url("'+r.value+'")':"none",";background-position:").concat(s,";background-size:").concat(a,";")}),n=Ee({rootEl:e,src:Q(()=>t.src?et(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:i,imgSrc:r});return Ie(()=>{var a=e.value,s=a.style;n.origWidth=Number(s.width)||0,n.origHeight=Number(s.height)||0}),n}function Y0(e,t,r){var i,n=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";e.origWidth=o,e.origHeight=l,e.imgSrc=u},a=o=>{if(!o){s(),n();return}i=i||new Image,i.onload=l=>{var{width:u,height:v}=i;n(u,v,o),t(),s(),r("load",l,{width:u,height:v})},i.onerror=l=>{n(),s(),r("error",l,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},i.src=o},s=()=>{i&&(i.onload=null,i.onerror=null,i=null)};U(()=>e.src,o=>a(o)),Ie(()=>a(e.src)),xe(()=>s())}var q0=navigator.vendor==="Google Inc.";function X0(e){return q0&&e>10&&(e=Math.round(e/2)*2),e}function K0(e,t,r){var i=()=>{var{mode:a}=t,s=on[a];if(!!s){var{origWidth:o,origHeight:l}=r,u=o&&l?o/l:0;if(!!u){var v=e.value,c=v[s[0]];c&&(v.style[s[1]]=X0(c/u)+"px"),window.dispatchEvent(new CustomEvent("updateview"))}}},n=()=>{var{style:a}=e.value,{origStyle:{width:s,height:o}}=r;a.width=s,a.height=o};return U(()=>t.mode,(a,s)=>{on[s]&&n(),on[a]&&i()}),{fixSize:i,resetSize:n}}function G0(e,t){var r=0,i,n,a=function(){for(var s=arguments.length,o=new Array(s),l=0;l{n=null,r=u,e.apply(this,o)},u-rln.forEach(t=>t.userAction=e);function J0(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{userAction:!1};if(!vf){var t=["touchstart","touchmove","touchend","mousedown","mouseup"];t.forEach(r=>{document.addEventListener(r,function(){!ds&&df(!0),ds++,setTimeout(()=>{!--ds&&df(!1)},0)},Z0)}),vf=!0}ln.push(e)}function Q0(e){var t=ln.indexOf(e);t>=0&&ln.splice(t,1)}function e_(){var e=Ee({userAction:!1});return Ie(()=>{J0(e)}),xe(()=>{Q0(e)}),{state:e}}function hf(){var e=Ee({attrs:{}});return Ie(()=>{for(var t=xt();t;){var r=t.type.__scopeId;r&&(e.attrs[r]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function t_(e,t){var r=pe(ut,!1);if(!!r){var i=xt(),n={submit(){var a=i.proxy;return[a[e],typeof t=="string"?a[t]:t.value]},reset(){typeof t=="string"?i.proxy[t]="":t.value=""}};r.addField(n),xe(()=>{r.removeField(n)})}}function r_(e,t){var r=document.activeElement;if(!r)return t({});var i={};["input","textarea"].includes(r.tagName.toLowerCase())&&(i.start=r.selectionStart,i.end=r.selectionEnd),t(i)}var i_=function(){at(Ct(),"getSelectedTextRange",r_)},n_=200,hs;function gs(e){return e===null?"":String(e)}var gf=ce({},{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"}},rf),pf=["input","focus","blur","update:value","update:modelValue","update:focus",...nf];function a_(e,t,r){var i=$(null),n=Me(t,r),a=Q(()=>{var c=Number(e.selectionStart);return isNaN(c)?-1:c}),s=Q(()=>{var c=Number(e.selectionEnd);return isNaN(c)?-1:c}),o=Q(()=>{var c=Number(e.cursor);return isNaN(c)?-1:c}),l=Q(()=>{var c=Number(e.maxlength);return isNaN(c)?140:c}),u=gs(e.modelValue)||gs(e.value),v=Ee({value:u,valueOrigin:u,maxlength:l,focus:e.focus,composing:!1,selectionStart:a,selectionEnd:s,cursor:o});return U(()=>v.focus,c=>r("update:focus",c)),U(()=>v.maxlength,c=>v.value=v.value.slice(0,c)),{fieldRef:i,state:v,trigger:n}}function s_(e,t,r,i){var n=Td(o=>{t.value=gs(o)},100);U(()=>e.modelValue,n),U(()=>e.value,n);var a=G0((o,l)=>{n.cancel(),r("update:modelValue",l.value),r("update:value",l.value),i("input",o,l)},100),s=(o,l,u)=>{n.cancel(),a(o,l),u&&a.flush()};return yl(()=>{n.cancel(),a.cancel()}),{trigger:i,triggerInput:s}}function o_(e,t){var{state:r}=e_(),i=Q(()=>e.autoFocus||e.focus);function n(){if(!!i.value){var s=t.value;if(!s||!("plus"in window)){setTimeout(n,100);return}{var o=n_-(Date.now()-hs);if(o>0){setTimeout(n,o);return}s.focus(),r.userAction||plus.key.showSoftKeybord()}}}function a(){var s=t.value;s&&s.blur()}U(()=>e.focus,s=>{s?n():a()}),Ie(()=>{hs=hs||Date.now(),i.value&&sr(n)})}function l_(e,t,r,i,n){function a(){var l=e.value;l&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&(l.selectionStart=t.selectionStart,l.selectionEnd=t.selectionEnd)}function s(){var l=e.value;l&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&(l.selectionEnd=l.selectionStart=t.cursor)}function o(){var l=e.value,u=function(m){t.focus=!0,r("focus",m,{value:t.value}),a(),s()},v=function(m,g){m.stopPropagation(),!(typeof n=="function"&&n(m,t)===!1)&&(t.value=l.value,t.composing||i(m,{value:l.value,cursor:l.selectionEnd},g))},c=function(m){t.composing&&(t.composing=!1,v(m,!0)),t.focus=!1,r("blur",m,{value:t.value,cursor:m.target.selectionEnd})};l.addEventListener("change",m=>m.stopPropagation()),l.addEventListener("focus",u),l.addEventListener("blur",c),l.addEventListener("input",v),l.addEventListener("compositionstart",m=>{m.stopPropagation(),t.composing=!0}),l.addEventListener("compositionend",m=>{m.stopPropagation(),t.composing&&(t.composing=!1,v(m))})}U([()=>t.selectionStart,()=>t.selectionEnd],a),U(()=>t.cursor,s),U(()=>e.value,o)}function mf(e,t,r,i){i_();var{fieldRef:n,state:a,trigger:s}=a_(e,t,r),{triggerInput:o}=s_(e,a,r,s);o_(e,n),af(e,n,s);var{state:l}=hf();t_("name",a),l_(n,a,s,o,i);var u=String(navigator.vendor).indexOf("Apple")===0&&CSS.supports("image-orientation:from-image");return{fieldRef:n,state:a,scopedAttrsState:l,fixDisabledColor:u,trigger:s}}var u_=ce({},gf,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),f_=de({name:"Input",props:u_,emits:["confirm",...pf],setup(e,t){var{emit:r}=t,i=["text","number","idcard","digit","password","tel"],n=["off","one-time-code"],a=Q(()=>{var h="";switch(e.type){case"text":e.confirmType==="search"&&(h="search");break;case"idcard":h="text";break;case"digit":h="number";break;default:h=~i.includes(e.type)?e.type:"text";break}return e.password?"password":h}),s=Q(()=>{var h=n.indexOf(e.textContentType),f=n.indexOf(Ve(e.textContentType)),d=h!==-1?h:f!==-1?f:0;return n[d]}),o=$(""),l,u=$(null),{fieldRef:v,state:c,scopedAttrsState:m,fixDisabledColor:g,trigger:_}=mf(e,u,r,(h,f)=>{var d=h.target;if(a.value==="number"){if(l&&(d.removeEventListener("blur",l),l=null),d.validity&&!d.validity.valid)return!o.value&&h.data==="-"||o.value[0]==="-"&&h.inputType==="deleteContentBackward"?(o.value="-",f.value="",l=()=>{o.value=d.value=""},d.addEventListener("blur",l),!1):(o.value=f.value=d.value=o.value==="-"?"":o.value,!1);o.value=d.value;var y=f.maxlength;if(y>0&&d.value.length>y)return d.value=d.value.slice(0,y),f.value=d.value,!1}}),b=["number","digit"],w=Q(()=>b.includes(e.type)?"0.000000000000000001":"");function p(h){h.key==="Enter"&&(h.stopPropagation(),_("confirm",h,{value:h.target.value}))}return()=>{var h=e.disabled&&g?I("input",{ref:v,value:c.value,tabindex:"-1",readonly:!!e.disabled,type:a.value,maxlength:c.maxlength,step:w.value,class:"uni-input-input",onFocus:f=>f.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):I("input",{ref:v,value:c.value,disabled:!!e.disabled,type:a.value,maxlength:c.maxlength,step:w.value,enterkeyhint:e.confirmType,pattern:e.type==="number"?"[0-9]*":void 0,class:"uni-input-input",autocomplete:s.value,onKeyup:p},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return I("uni-input",{ref:u},[I("div",{class:"uni-input-wrapper"},[Or(I("div",ze(m.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[kr,!(c.value.length||o.value==="-")]]),e.confirmType==="search"?I("form",{action:"",onSubmit:f=>f.preventDefault(),class:"uni-input-form"},[h],40,["onSubmit"]):h])],512)}}});function c_(e){return Object.keys(e).map(t=>[t,e[t]])}var v_=["class","style"],d_=/^on[A-Z]+/,_f=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{excludeListeners:t=!1,excludeKeys:r=[]}=e,i=xt(),n=Ta({}),a=Ta({}),s=Ta({}),o=r.concat(v_);return i.attrs=Ee(i.attrs),Bg(()=>{var l=c_(i.attrs).reduce((u,v)=>{var[c,m]=v;return o.includes(c)?u.exclude[c]=m:d_.test(c)?(t||(u.attrs[c]=m),u.listeners[c]=m):u.attrs[c]=m,u},{exclude:{},attrs:{},listeners:{}});n.value=l.attrs,a.value=l.listeners,s.value=l.exclude}),{$attrs:n,$listeners:a,$excludeAttrs:s}},un,Hr;function fn(){Qt(()=>{un||(un=plus.webview.currentWebview()),Hr||(Hr=(un.getStyle()||{}).pullToRefresh||{})})}function Mt(e){var{disable:t}=e;Hr&&Hr.support&&un.setPullToRefresh(Object.assign({},Hr,{support:!t}))}function ps(e){var t=[];return Array.isArray(e)&&e.forEach(r=>{Di(r)?r.type===ot?t.push(...ps(r.children)):t.push(r):Array.isArray(r)&&t.push(...ps(r))}),t}function jr(e){var t=xt();t.rebuild=e}var h_={scaleArea:{type:Boolean,default:!1}},g_=de({inheritAttrs:!1,name:"MovableArea",props:h_,setup(e,t){var{slots:r}=t,i=$(null),n=$(!1),{setContexts:a,events:s}=p_(e,i),{$listeners:o,$attrs:l,$excludeAttrs:u}=_f(),v=o.value,c=["onTouchstart","onTouchmove","onTouchend"];c.forEach(p=>{var h=v[p],f=s["_".concat(p)];v[p]=h?[].concat(h,f):f}),Ie(()=>{s._resize(),fn(),n.value=!0});var m=[],g=[];function _(){for(var p=[],h=function(d){var y=m[d];y instanceof Element||(y=y.el);var x=g.find(E=>y===E.rootRef.value);x&&p.push(Li(x))},f=0;f{m=i.value.children,_()});var b=p=>{g.push(p),_()},w=p=>{var h=g.indexOf(p);h>=0&&(g.splice(h,1),_())};return Ne("_isMounted",n),Ne("movableAreaRootRef",i),Ne("addMovableViewContext",b),Ne("removeMovableViewContext",w),()=>(r.default&&r.default(),I("uni-movable-area",ze({ref:i},l.value,u.value,v),[I(Ht,{onReize:s._resize},null,8,["onReize"]),m],16))}});function bf(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function p_(e,t){var r=$(0),i=$(0),n=Ee({x:null,y:null}),a=$(null),s=null,o=[];function l(b){b&&b!==1&&(e.scaleArea?o.forEach(function(w){w._setScale(b)}):s&&s._setScale(b))}function u(b){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:o,p=t.value;function h(f){for(var d=0;d{Mt({disable:!0});var w=b.touches;if(w&&w.length>1){var p={x:w[1].pageX-w[0].pageX,y:w[1].pageY-w[0].pageY};if(a.value=bf(p),n.x=p.x,n.y=p.y,!e.scaleArea){var h=u(w[0].target),f=u(w[1].target);s=h&&h===f?h:null}}}),c=Vt(b=>{var w=b.touches;if(w&&w.length>1){b.preventDefault();var p={x:w[1].pageX-w[0].pageX,y:w[1].pageY-w[0].pageY};if(n.x!==null&&a.value&&a.value>0){var h=bf(p)/a.value;l(h)}n.x=p.x,n.y=p.y}}),m=Vt(b=>{Mt({disable:!1});var w=b.touches;w&&w.length||b.changedTouches&&(n.x=0,n.y=0,a.value=null,e.scaleArea?o.forEach(function(p){p._endScale()}):s&&s._endScale())});function g(){_(),o.forEach(function(b,w){b.setParent()})}function _(){var b=window.getComputedStyle(t.value),w=t.value.getBoundingClientRect();r.value=w.width-["Left","Right"].reduce(function(p,h){var f="border"+h+"Width",d="padding"+h;return p+parseFloat(b[f])+parseFloat(b[d])},0),i.value=w.height-["Top","Bottom"].reduce(function(p,h){var f="border"+h+"Width",d="padding"+h;return p+parseFloat(b[f])+parseFloat(b[d])},0)}return Ne("movableAreaWidth",r),Ne("movableAreaHeight",i),{setContexts(b){o=b},events:{_onTouchstart:v,_onTouchmove:c,_onTouchend:m,_resize:g}}}var zr=function(e,t,r,i){e.addEventListener(t,n=>{typeof r=="function"&&r(n)===!1&&((typeof n.cancelable!="undefined"?n.cancelable:!0)&&n.preventDefault(),n.stopPropagation())},{passive:!1})},wf,yf;function cn(e,t,r){xe(()=>{document.removeEventListener("mousemove",wf),document.removeEventListener("mouseup",yf)});var i=0,n=0,a=0,s=0,o=function(g,_,b,w){if(t({target:g.target,currentTarget:g.currentTarget,preventDefault:g.preventDefault.bind(g),stopPropagation:g.stopPropagation.bind(g),touches:g.touches,changedTouches:g.changedTouches,detail:{state:_,x:b,y:w,dx:b-i,dy:w-n,ddx:b-a,ddy:w-s,timeStamp:g.timeStamp}})===!1)return!1},l=null,u,v;zr(e,"touchstart",function(g){if(u=!0,g.touches.length===1&&!l)return l=g,i=a=g.touches[0].pageX,n=s=g.touches[0].pageY,o(g,"start",i,n)}),zr(e,"mousedown",function(g){if(v=!0,!u&&!l)return l=g,i=a=g.pageX,n=s=g.pageY,o(g,"start",i,n)}),zr(e,"touchmove",function(g){if(g.touches.length===1&&l){var _=o(g,"move",g.touches[0].pageX,g.touches[0].pageY);return a=g.touches[0].pageX,s=g.touches[0].pageY,_}});var c=wf=function(g){if(!u&&v&&l){var _=o(g,"move",g.pageX,g.pageY);return a=g.pageX,s=g.pageY,_}};document.addEventListener("mousemove",c),zr(e,"touchend",function(g){if(g.touches.length===0&&l)return u=!1,l=null,o(g,"end",g.changedTouches[0].pageX,g.changedTouches[0].pageY)});var m=yf=function(g){if(v=!1,!u&&l)return l=null,o(g,"end",g.pageX,g.pageY)};document.addEventListener("mouseup",m),zr(e,"touchcancel",function(g){if(l){u=!1;var _=l;return l=null,o(g,r?"cancel":"end",_.touches[0].pageX,_.touches[0].pageY)}})}function vn(e,t,r){return e>t-r&&ethis._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,r=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&rthis._endPositionY)&&(r=this._endPositionY),{x:t,y:r}},ft.prototype.ds=function(e){return e===void 0&&(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}},ft.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}},ft.prototype.dt=function(){return-this._x_v/this._x_a},ft.prototype.done=function(){var e=vn(this.s().x,this._endPositionX)||vn(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},ft.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},ft.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t};function qe(e,t,r){this._m=e,this._k=t,this._c=r,this._solution=null,this._endPosition=0,this._startTime=0}qe.prototype._solve=function(e,t){var r=this._c,i=this._m,n=this._k,a=r*r-4*i*n;if(a===0){var s=-r/(2*i),o=e,l=t/(s*e);return{x:function(p){return(o+l*p)*Math.pow(Math.E,s*p)},dx:function(p){var h=Math.pow(Math.E,s*p);return s*(o+l*p)*h+l*h}}}if(a>0){var u=(-r-Math.sqrt(a))/(2*i),v=(-r+Math.sqrt(a))/(2*i),c=(t-u*e)/(v-u),m=e-c;return{x:function(p){var h,f;return p===this._t&&(h=this._powER1T,f=this._powER2T),this._t=p,h||(h=this._powER1T=Math.pow(Math.E,u*p)),f||(f=this._powER2T=Math.pow(Math.E,v*p)),m*h+c*f},dx:function(p){var h,f;return p===this._t&&(h=this._powER1T,f=this._powER2T),this._t=p,h||(h=this._powER1T=Math.pow(Math.E,u*p)),f||(f=this._powER2T=Math.pow(Math.E,v*p)),m*u*h+c*v*f}}}var g=Math.sqrt(4*i*n-r*r)/(2*i),_=-r/2*i,b=e,w=(t-_*e)/g;return{x:function(p){return Math.pow(Math.E,_*p)*(b*Math.cos(g*p)+w*Math.sin(g*p))},dx:function(p){var h=Math.pow(Math.E,_*p),f=Math.cos(g*p),d=Math.sin(g*p);return h*(w*g*f-b*g*d)+_*h*(w*d+b*f)}}},qe.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},qe.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},qe.prototype.setEnd=function(e,t,r){if(r||(r=new Date().getTime()),e!==this._endPosition||!jt(t,.1)){t=t||0;var i=this._endPosition;this._solution&&(jt(t,.1)&&(t=this._solution.dx((r-this._startTime)/1e3)),i=this._solution.x((r-this._startTime)/1e3),jt(t,.1)&&(t=0),jt(i,.1)&&(i=0),i+=this._endPosition),this._solution&&jt(i-e,.1)&&jt(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=r)}},qe.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},qe.prototype.done=function(e){return e||(e=new Date().getTime()),vn(this.x(),this._endPosition,.1)&&jt(this.dx(),.1)},qe.prototype.reconfigure=function(e,t,r){this._m=e,this._k=t,this._c=r,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=new Date().getTime())},qe.prototype.springConstant=function(){return this._k},qe.prototype.damping=function(){return this._c},qe.prototype.configuration=function(){function e(r,i){r.reconfigure(1,i,r.damping())}function t(r,i){r.reconfigure(1,r.springConstant(),i)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]};function Yr(e,t,r){this._springX=new qe(e,t,r),this._springY=new qe(e,t,r),this._springScale=new qe(e,t,r),this._startTime=0}Yr.prototype.setEnd=function(e,t,r,i){var n=new Date().getTime();this._springX.setEnd(e,i,n),this._springY.setEnd(t,i,n),this._springScale.setEnd(r,i,n),this._startTime=n},Yr.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)}},Yr.prototype.done=function(){var e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Yr.prototype.reconfigure=function(e,t,r){this._springX.reconfigure(e,t,r),this._springY.reconfigure(e,t,r),this._springScale.reconfigure(e,t,r)};var m_={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}},__=de({name:"MovableView",props:m_,emits:["change","scale"],setup(e,t){var{slots:r,emit:i}=t,n=$(null),a=Me(n,i),{setParent:s}=b_(e,a,n);return()=>I("uni-movable-view",{ref:n},[I(Ht,{onResize:s},null,8,["onResize"]),r.default&&r.default()],512)}}),_s=!1;function Sf(e){_s||(_s=!0,requestAnimationFrame(function(){e(),_s=!1}))}function xf(e,t){if(e===t)return 0;var r=e.offsetLeft;return e.offsetParent?r+=xf(e.offsetParent,t):0}function Tf(e,t){if(e===t)return 0;var r=e.offsetTop;return e.offsetParent?r+=Tf(e.offsetParent,t):0}function Ef(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}function Cf(e,t,r){var i={id:0,cancelled:!1},n=function(s){s&&s.id&&cancelAnimationFrame(s.id),s&&(s.cancelled=!0)};function a(s,o,l,u){if(!s||!s.cancelled){l(o);var v=o.done();v||s.cancelled||(s.id=requestAnimationFrame(a.bind(null,s,o,l,u))),v&&u&&u(o)}}return a(i,e,t,r),{cancel:n.bind(null,i),model:e}}function dn(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}function b_(e,t,r){var i=pe("movableAreaWidth",$(0)),n=pe("movableAreaHeight",$(0)),a=pe("_isMounted",$(!1)),s=pe("movableAreaRootRef"),o=pe("addMovableViewContext",()=>{}),l=pe("removeMovableViewContext",()=>{}),u=$(dn(e.x)),v=$(dn(e.y)),c=$(Number(e.scaleValue)||1),m=$(0),g=$(0),_=$(0),b=$(0),w=$(0),p=$(0),h=null,f=null,d={x:0,y:0},y={x:0,y:0},x=1,E=1,C=0,M=0,W=!1,V=!1,q,he,R=null,B=null,ee=new ms,ie=new ms,z={historyX:[0,0],historyY:[0,0],historyT:[0,0]},J=Q(()=>{var O=Number(e.damping);return isNaN(O)?20:O}),ne=Q(()=>{var O=Number(e.friction);return isNaN(O)||O<=0?2:O}),we=Q(()=>{var O=Number(e.scaleMin);return isNaN(O)?.5:O}),se=Q(()=>{var O=Number(e.scaleMax);return isNaN(O)?10:O}),G=Q(()=>e.direction==="all"||e.direction==="horizontal"),re=Q(()=>e.direction==="all"||e.direction==="vertical"),le=new Yr(1,9*Math.pow(J.value,2)/40,J.value),Ce=new ft(1,ne.value);U(()=>e.x,O=>{u.value=dn(O)}),U(()=>e.y,O=>{v.value=dn(O)}),U(u,O=>{Ge(O)}),U(v,O=>{At(O)}),U(()=>e.scaleValue,O=>{c.value=Number(O)||0}),U(c,O=>{Gr(O)}),U(we,()=>{Ae()}),U(se,()=>{Ae()});function Oe(){f&&f.cancel(),h&&h.cancel()}function Ge(O){if(G.value){if(O+y.x===C)return C;h&&h.cancel(),Z(O+y.x,v.value+y.y,x)}return O}function At(O){if(re.value){if(O+y.y===M)return M;h&&h.cancel(),Z(u.value+y.x,O+y.y,x)}return O}function Ae(){if(!e.scale)return!1;D(x,!0),k(x)}function Gr(O){return e.scale?(O=N(O),D(O,!0),k(O),O):!1}function Zr(){W||e.disabled||(Mt({disable:!0}),Oe(),z.historyX=[0,0],z.historyY=[0,0],z.historyT=[0,0],G.value&&(q=C),re.value&&(he=M),r.value.style.willChange="transform",R=null,B=null,V=!0)}function S(O){if(!W&&!e.disabled&&V){var j=C,Y=M;if(B===null&&(B=Math.abs(O.detail.dx/O.detail.dy)>1?"htouchmove":"vtouchmove"),G.value&&(j=O.detail.dx+q,z.historyX.shift(),z.historyX.push(j),!re.value&&R===null&&(R=Math.abs(O.detail.dx/O.detail.dy)<1)),re.value&&(Y=O.detail.dy+he,z.historyY.shift(),z.historyY.push(Y),!G.value&&R===null&&(R=Math.abs(O.detail.dy/O.detail.dx)<1)),z.historyT.shift(),z.historyT.push(O.detail.timeStamp),!R){O.preventDefault();var ve="touch";j<_.value?e.outOfBounds?(ve="touch-out-of-bounds",j=_.value-ee.x(_.value-j)):j=_.value:j>w.value&&(e.outOfBounds?(ve="touch-out-of-bounds",j=w.value+ee.x(j-w.value)):j=w.value),Yp.value&&(e.outOfBounds?(ve="touch-out-of-bounds",Y=p.value+ie.x(Y-p.value)):Y=p.value),Sf(function(){X(j,Y,x,ve)})}}}function T(){if(!W&&!e.disabled&&V&&(Mt({disable:!1}),r.value.style.willChange="auto",V=!1,!R&&!K("out-of-bounds")&&e.inertia)){var O=1e3*(z.historyX[1]-z.historyX[0])/(z.historyT[1]-z.historyT[0]),j=1e3*(z.historyY[1]-z.historyY[0])/(z.historyT[1]-z.historyT[0]);Ce.setV(O,j),Ce.setS(C,M);var Y=Ce.delta().x,ve=Ce.delta().y,ue=Y+C,Le=ve+M;ue<_.value?(ue=_.value,Le=M+(_.value-C)*ve/Y):ue>w.value&&(ue=w.value,Le=M+(w.value-C)*ve/Y),Lep.value&&(Le=p.value,ue=C+(p.value-M)*Y/ve),Ce.setEnd(ue,Le),f=Cf(Ce,function(){var Ue=Ce.s(),Re=Ue.x,tt=Ue.y;X(Re,tt,x,"friction")},function(){f.cancel()})}!e.outOfBounds&&!e.inertia&&Oe()}function A(O,j){var Y=!1;return O>w.value?(O=w.value,Y=!0):O<_.value&&(O=_.value,Y=!0),j>p.value?(j=p.value,Y=!0):j3&&arguments[3]!==void 0?arguments[3]:"",ue=arguments.length>4?arguments[4]:void 0,Le=arguments.length>5?arguments[5]:void 0;O!==null&&O.toString()!=="NaN"&&typeof O=="number"||(O=C||0),j!==null&&j.toString()!=="NaN"&&typeof j=="number"||(j=M||0),O=Number(O.toFixed(1)),j=Number(j.toFixed(1)),Y=Number(Y.toFixed(1)),C===O&&M===j||ue||t("change",{},{x:Ef(O,y.x),y:Ef(j,y.y),source:ve}),e.scale||(Y=x),Y=N(Y),Y=+Y.toFixed(3),Le&&Y!==x&&t("scale",{},{x:O,y:j,scale:Y});var Ue="translateX("+O+"px) translateY("+j+"px) translateZ(0px) scale("+Y+")";r.value.style.transform=Ue,r.value.style.webkitTransform=Ue,C=O,M=j,x=Y}function fe(){if(!!a.value){Oe();var O=e.scale?c.value:1;P(),L(O),F(),C=u.value+y.x,M=v.value+y.y;var j=A(C,M),Y=j.x,ve=j.y;X(Y,ve,O,"",!0),k(O)}}function Pe(){W=!1,k(x)}function Se(O){O&&(O=E*O,H(),D(O))}return Ie(()=>{cn(r.value,j=>{switch(j.detail.state){case"start":Zr();break;case"move":S(j);break;case"end":T()}}),fe(),Ce.reconfigure(1,ne.value),le.reconfigure(1,9*Math.pow(J.value,2)/40,J.value),r.value.style.transformOrigin="center",fn();var O={rootRef:r,setParent:fe,_endScale:Pe,_setScale:Se};o(O),yt(()=>{l(O)})}),yt(()=>{Oe()}),{setParent:fe}}var w_=["navigate","redirect","switchTab","reLaunch","navigateBack"],y_={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator(e){return Boolean(~w_.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}},S_=de({name:"Navigator",compatConfig:{MODE:3},props:y_,setup(e,t){var{slots:r}=t,{hovering:i,binding:n}=fs(e);function a(s){if(e.openType!=="navigateBack"&&!e.url){console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");return}switch(e.openType){case"navigate":uni.navigateTo({url:e.url});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});break}}return()=>{var{hoverClass:s}=e,o=e.hoverClass&&e.hoverClass!=="none";return I("uni-navigator",ze({class:o&&i.value?s:""},o&&n,{onClick:a}),[r.default&&r.default()],16,["onClick"])}}}),x_={value:{type:Array,default(){return[]},validator:function(e){return Array.isArray(e)&&e.filter(t=>typeof t=="number").length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}};function T_(e){var t=Ee([...e.value]),r=Ee({value:t,height:34});return U(()=>e.value,(i,n)=>{(i===n||i.length!==n.length||i.findIndex((a,s)=>a!==n[s])>=0)&&(r.value.length=i.length,i.forEach((a,s)=>{a!==r.value[s]&&r.value.splice(s,1,a)}))}),r}var E_=de({name:"PickerView",props:x_,emits:["change","pickstart","pickend","update:value"],setup(e,t){var{slots:r,emit:i}=t,n=$(null),a=$(null),s=Me(n,i),o=T_(e),l=$(null),u=()=>{var _=l.value;o.height=_.$el.offsetHeight},v=$([]),c=$([]);function m(_){var b=c.value;if(b instanceof HTMLCollection)return Array.prototype.indexOf.call(b,_.el);var w=b.indexOf(_);return w!==-1?w:v.value.indexOf(_)}var g=function(_){var b=Q({get(){var w=m(_.vnode);return o.value[w]||0},set(w){var p=m(_.vnode);if(!(p<0)){var h=o.value[p];if(h!==w){o.value[p]=w;var f=o.value.map(d=>d);i("update:value",f),s("change",{},{value:f})}}}});return b};return Ne("getPickerViewColumn",g),Ne("pickerViewProps",e),Ne("pickerViewState",o),jr(()=>{u(),c.value=a.value.children}),()=>{var _=r.default&&r.default();return I("uni-picker-view",{ref:n},[I(Ht,{ref:l,onResize:b=>{var{height:w}=b;return o.height=w}},null,8,["onResize"]),I("div",{ref:a,class:"uni-picker-view-wrapper"},[_],512)],512)}}});class Of{constructor(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}set(t,r){this._x=t,this._v=r,this._startTime=new Date().getTime()}setVelocityByEnd(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._x+this._v*r/this._dragLog-this._v/this._dragLog}dx(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._v*r}done(){return Math.abs(this.dx())<3}reconfigure(t){var r=this.x(),i=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(r,i)}configuration(){var t=this;return[{label:"Friction",read:function(){return t._drag},write:function(r){t.reconfigure(r)},min:.001,max:.1,step:.001}]}}function If(e,t,r){return e>t-r&&e0){var v=(-i-Math.sqrt(s))/(2*n),c=(-i+Math.sqrt(s))/(2*n),m=(r-v*t)/(c-v),g=t-m;return{x:function(h){var f,d;return h===this._t&&(f=this._powER1T,d=this._powER2T),this._t=h,f||(f=this._powER1T=Math.pow(Math.E,v*h)),d||(d=this._powER2T=Math.pow(Math.E,c*h)),g*f+m*d},dx:function(h){var f,d;return h===this._t&&(f=this._powER1T,d=this._powER2T),this._t=h,f||(f=this._powER1T=Math.pow(Math.E,v*h)),d||(d=this._powER2T=Math.pow(Math.E,c*h)),g*v*f+m*c*d}}}var _=Math.sqrt(4*n*a-i*i)/(2*n),b=-i/2*n,w=t,p=(r-b*t)/_;return{x:function(h){return Math.pow(Math.E,b*h)*(w*Math.cos(_*h)+p*Math.sin(_*h))},dx:function(h){var f=Math.pow(Math.E,b*h),d=Math.cos(_*h),y=Math.sin(_*h);return f*(p*_*d-w*_*y)+b*f*(p*y+w*d)}}}x(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0}dx(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0}setEnd(t,r,i){if(i||(i=new Date().getTime()),t!==this._endPosition||!zt(r,.4)){r=r||0;var n=this._endPosition;this._solution&&(zt(r,.4)&&(r=this._solution.dx((i-this._startTime)/1e3)),n=this._solution.x((i-this._startTime)/1e3),zt(r,.4)&&(r=0),zt(n,.4)&&(n=0),n+=this._endPosition),this._solution&&zt(n-t,.4)&&zt(r,.4)||(this._endPosition=t,this._solution=this._solve(n-this._endPosition,r),this._startTime=i)}}snap(t){this._startTime=new Date().getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}}done(t){return t||(t=new Date().getTime()),If(this.x(),this._endPosition,.4)&&zt(this.dx(),.4)}reconfigure(t,r,i){this._m=t,this._k=r,this._c=i,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(){function t(i,n){i.reconfigure(1,n,i.damping())}function r(i,n){i.reconfigure(1,i.springConstant(),n)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:r.bind(this,this),min:1,max:500}]}}class C_{constructor(t,r,i){this._extent=t,this._friction=r||new Of(.01),this._spring=i||new Mf(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(t,r){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(r)}set(t,r){this._friction.set(t,r),t>0&&r>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&r<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=new Date().getTime()}x(t){if(!this._startTime)return 0;if(t||(t=(new Date().getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var r=this._friction.x(t),i=this.dx(t);return(r>0&&i>=0||r<-this._extent&&i<=0)&&(this._springing=!0,this._spring.setEnd(0,i),r<-this._extent?this._springOffset=-this._extent:this._springOffset=0,r=this._spring.x()+this._springOffset),r}dx(t){var r;return this._lastTime===t?r=this._lastDx:r=this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=r,r}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(t){this._friction.setVelocityByEnd(t)}configuration(){var t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t}}function O_(e,t,r){var i={id:0,cancelled:!1};function n(s,o,l,u){if(!s||!s.cancelled){l(o);var v=o.done();v||s.cancelled||(s.id=requestAnimationFrame(n.bind(null,s,o,l,u))),v&&u&&u(o)}}function a(s){s&&s.id&&cancelAnimationFrame(s.id),s&&(s.cancelled=!0)}return n(i,e,t,r),{cancel:a.bind(null,i),model:e}}class I_{constructor(t,r){r=r||{},this._element=t,this._options=r,this._enableSnap=r.enableSnap||!1,this._itemSize=r.itemSize||0,this._enableX=r.enableX||!1,this._enableY=r.enableY||!1,this._shouldDispatchScrollEvent=!!r.onScroll,this._enableX?(this._extent=(r.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=r.scrollWidth):(this._extent=(r.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=r.scrollHeight),this._position=0,this._scroll=new C_(this._extent,r.friction,r.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(t,r){var i=this._startPosition;this._enableX?i+=t:this._enableY&&(i+=r),i>0?i*=.5:i<-this._extent&&(i=.5*(i+this._extent)-this._extent),this._position=i,this.updatePosition(),this.dispatchScroll()}onTouchEnd(t,r,i){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(r)this._itemSize/2?a-(this._itemSize-Math.abs(s)):a-s,n<=0&&n>=-this._extent&&this._scroll.setVelocityByEnd(n)}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=O_(this._scroll,()=>{var o=Date.now(),l=(o-this._scroll._startTime)/1e3,u=this._scroll.x(l);this._position=u,this.updatePosition();var v=this._scroll.dx(l);this._shouldDispatchScrollEvent&&o-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/v),this._lastTime=o)},()=>{this._enableSnap&&(n<=0&&n>=-this._extent&&(this._position=n,this.updatePosition()),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){var t=this._itemSize,r=this._position%t,i=Math.abs(r)>this._itemSize/2?this._position-(t-Math.abs(r)):this._position-r;this._position!==i&&(this._snapping=!0,this.scrollTo(-i),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(t,r){this._animation&&(this._animation.cancel(),this._scrolling=!1),typeof t=="number"&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);var i="transform "+(r||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+i,this._element.style.transition=i,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(typeof this._options.onScroll=="function"&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;var t={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(t)}}update(t,r,i){var n=0,a=this._position;this._enableX?(n=this._element.childNodes.length?(r||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=r):(n=this._element.childNodes.length?(r||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=r),typeof t=="number"&&(this._position=-t),this._position<-n?this._position=-n:this._position>0&&(this._position=0),this._itemSize=i||this._itemSize,this.updatePosition(),a!==this._position&&(this.dispatchScroll(),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=n,this._scroll._extent=n}updatePosition(){var t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t}isScrolling(){return this._scrolling||this._snapping}}function M_(e,t){var r={trackingID:-1,maxDy:0,maxDx:0},i=new I_(e,t);function n(l){var u=l,v=l;return u.detail.state==="move"||u.detail.state==="end"?{x:u.detail.dx,y:u.detail.dy}:{x:v.screenX-r.x,y:v.screenY-r.y}}function a(l){var u=l,v=l;u.detail.state==="start"?(r.trackingID="touch",r.x=u.detail.x,r.y=u.detail.y):(r.trackingID="mouse",r.x=v.screenX,r.y=v.screenY),r.maxDx=0,r.maxDy=0,r.historyX=[0],r.historyY=[0],r.historyTime=[u.detail.timeStamp||v.timeStamp],r.listener=i,i.onTouchStart&&i.onTouchStart(),l.preventDefault()}function s(l){var u=l,v=l;if(r.trackingID!==-1){l.preventDefault();var c=n(l);if(c){for(r.maxDy=Math.max(r.maxDy,Math.abs(c.y)),r.maxDx=Math.max(r.maxDx,Math.abs(c.x)),r.historyX.push(c.x),r.historyY.push(c.y),r.historyTime.push(u.detail.timeStamp||v.timeStamp);r.historyTime.length>10;)r.historyTime.shift(),r.historyX.shift(),r.historyY.shift();r.listener&&r.listener.onTouchMove&&r.listener.onTouchMove(c.x,c.y)}}}function o(l){if(r.trackingID!==-1){l.preventDefault();var u=n(l);if(u){var v=r.listener;r.trackingID=-1,r.listener=null;var c=r.historyTime.length,m={x:0,y:0};if(c>2)for(var g=r.historyTime.length-1,_=r.historyTime[g],b=r.historyX[g],w=r.historyY[g];g>0;){g--;var p=r.historyTime[g],h=_-p;if(h>30&&h<50){m.x=(b-r.historyX[g])/(h/1e3),m.y=(w-r.historyY[g])/(h/1e3);break}}r.historyTime=[],r.historyX=[],r.historyY=[],v&&v.onTouchEnd&&v.onTouchEnd(u.x,u.y,m)}}}return{scroller:i,handleTouchStart:a,handleTouchMove:s,handleTouchEnd:o}}var A_=0;function R_(e){var t="uni-picker-view-content-".concat(A_++);function r(){var i=document.createElement("style");i.innerText=".uni-picker-view-content.".concat(t,">*{height: ").concat(e.value,"px;overflow: hidden;}"),document.head.appendChild(i)}return U(()=>e.value,r),t}function P_(e){var t=20,r=0,i=0;e.addEventListener("touchstart",n=>{var a=n.changedTouches[0];r=a.clientX,i=a.clientY}),e.addEventListener("touchend",n=>{var a=n.changedTouches[0];if(Math.abs(a.clientX-r){o[u]=a[u]}),n.target.dispatchEvent(o)}})}var L_=de({name:"PickerViewColumn",setup(e,t){var{slots:r,emit:i}=t,n=$(null),a=$(null),s=pe("getPickerViewColumn"),o=xt(),l=s?s(o):$(0),u=pe("pickerViewProps"),v=pe("pickerViewState"),c=$(34),m=$(null),g=()=>{var M=m.value;c.value=M.$el.offsetHeight},_=Q(()=>(v.height-c.value)/2),{state:b}=hf(),w=R_(c),p,h=Ee({current:l.value,length:0}),f;function d(){p&&!f&&(f=!0,sr(()=>{f=!1;var M=Math.min(h.current,h.length-1);M=Math.max(M,0),p.update(M*c.value,void 0,c.value)}))}U(()=>l.value,M=>{M!==h.current&&(h.current=M,d())}),U(()=>h.current,M=>l.value=M),U([()=>c.value,()=>h.length,()=>v.height],d);var y=0;function x(M){var W=y+M.deltaY;if(Math.abs(W)>10){y=0;var V=Math.min(h.current+(W<0?-1:1),h.length-1);h.current=V=Math.max(V,0),p.scrollTo(V*c.value)}else y=W;M.preventDefault()}function E(M){var{clientY:W}=M,V=n.value;if(!p.isScrolling()){var q=V.getBoundingClientRect(),he=W-q.top-v.height/2,R=c.value/2;if(!(Math.abs(he)<=R)){var B=Math.ceil((Math.abs(he)-R)/c.value),ee=he<0?-B:B,ie=Math.min(h.current+ee,h.length-1);h.current=ie=Math.max(ie,0),p.scrollTo(ie*c.value)}}}var C=()=>{var M=n.value,W=a.value,{scroller:V,handleTouchStart:q,handleTouchMove:he,handleTouchEnd:R}=M_(W,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:c.value,friction:new Of(1e-4),spring:new Mf(2,90,20),onSnap:B=>{!isNaN(B)&&B!==h.current&&(h.current=B)}});p=V,cn(M,B=>{switch(B.detail.state){case"start":q(B),Mt({disable:!0});break;case"move":he(B),B.stopPropagation();break;case"end":case"cancel":R(B),Mt({disable:!1})}},!0),P_(M),fn(),d()};return jr(()=>{h.length=a.value.children.length,g(),C()}),()=>{var M=r.default&&r.default(),W="".concat(_.value,"px 0");return I("uni-picker-view-column",{ref:n},[I("div",{onWheel:x,onClick:E,class:"uni-picker-view-group"},[I("div",ze(b.attrs,{class:["uni-picker-view-mask",u.maskClass],style:"background-size: 100% ".concat(_.value,"px;").concat(u.maskStyle)}),null,16),I("div",ze(b.attrs,{class:["uni-picker-view-indicator",u.indicatorClass],style:u.indicatorStyle}),[I(Ht,{ref:m,onResize:V=>{var{height:q}=V;return c.value=q}},null,8,["onResize"])],16),I("div",{ref:a,class:["uni-picker-view-content",w],style:{padding:W}},[M],6)],40,["onWheel","onClick"])],512)}}}),Yt={activeColor:wi,backgroundColor:"#EBEBEB",activeMode:"backwards"},N_={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:Yt.activeColor},activeColor:{type:String,default:Yt.activeColor},backgroundColor:{type:String,default:Yt.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:Yt.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}}},k_=de({name:"Progress",props:N_,setup(e){var t=B_(e);return Af(t,e),U(()=>t.realPercent,(r,i)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=i||0,Af(t,e)}),()=>{var{showInfo:r}=e,{outerBarStyle:i,innerBarStyle:n,currentPercent:a}=t;return I("uni-progress",{class:"uni-progress"},[I("div",{style:i,class:"uni-progress-bar"},[I("div",{style:n,class:"uni-progress-inner-bar"},null,4)],4),r?I("p",{class:"uni-progress-info"},[a+"%"]):""])}}});function B_(e){var t=$(0),r=Q(()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;")),i=Q(()=>{var s=e.color!==Yt.activeColor&&e.activeColor===Yt.activeColor?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(s)}),n=Q(()=>{var s=parseFloat(e.percent);return s<0&&(s=0),s>100&&(s=100),s}),a=Ee({outerBarStyle:r,innerBarStyle:i,realPercent:n,currentPercent:t,strokeTimer:0,lastPercent:0});return a}function Af(e,t){t.active?(e.currentPercent=t.activeMode===Yt.activeMode?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 Rf=Gi("ucg"),D_={name:{type:String,default:""}},F_=de({name:"RadioGroup",props:D_,setup(e,t){var{emit:r,slots:i}=t,n=$(null),a=Me(n,r);return $_(e,a),()=>I("uni-radio-group",{ref:n},[i.default&&i.default()],512)}});function $_(e,t){var r=[];Ie(()=>{o(r.length-1)});var i=()=>{var l;return(l=r.find(u=>u.value.radioChecked))===null||l===void 0?void 0:l.value.value};Ne(Rf,{addField(l){r.push(l)},removeField(l){r.splice(r.indexOf(l),1)},radioChange(l,u){var v=r.indexOf(u);o(v,!0),t("change",l,{value:i()})}});var n=pe(ut,!1),a={submit:()=>{var l=["",null];return e.name!==""&&(l[0]=e.name,l[1]=i()),l}};n&&(n.addField(a),xe(()=>{n.removeField(a)}));function s(l,u){l.value={radioChecked:u,value:l.value.value}}function o(l,u){r.forEach((v,c)=>{c!==l&&(u?s(r[c],!1):r.forEach((m,g)=>{c>=g||r[g].value.radioChecked&&s(r[c],!1)}))})}return r}var W_={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:""}},U_=de({name:"Radio",props:W_,setup(e,t){var{slots:r}=t,i=$(e.checked),n=$(e.value),a=Q(()=>"background-color: ".concat(e.color,";border-color: ").concat(e.color,";"));U([()=>e.checked,()=>e.value],c=>{var[m,g]=c;i.value=m,n.value=g});var s=()=>{i.value=!1},{uniCheckGroup:o,uniLabel:l,field:u}=V_(i,n,s),v=c=>{e.disabled||(i.value=!0,o&&o.radioChange(c,u))};return l&&(l.addHandler(v),xe(()=>{l.removeHandler(v)})),rn(e,{"label-click":v}),()=>{var c=Fr(e,"disabled");return I("uni-radio",ze(c,{onClick:v}),[I("div",{class:"uni-radio-wrapper"},[I("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:i.value?a.value:""},[i.value?Ji(Zi,"#fff",18):""],6),r.default&&r.default()])],16,["onClick"])}}});function V_(e,t,r){var i=Q({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:l=>{var{radioChecked:u}=l;e.value=u}}),n={reset:r},a=pe(Rf,!1);a&&a.addField(i);var s=pe(ut,!1);s&&s.addField(n);var o=pe($r,!1);return xe(()=>{a&&a.removeField(i),s&&s.removeField(n)}),{uniCheckGroup:a,uniForm:s,uniLabel:o,field:i}}function H_(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}function j_(e){return e.reduce(function(t,r){var i=r.value,n=r.name;return i.match(/ /)&&n!=="style"&&(i=i.split(" ")),t[n]?Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]:t[n]=i,t},{})}function z_(e){e=H_(e);var t=[],r={node:"root",children:[]};return lf(e,{start:function(i,n,a){var s={name:i};if(n.length!==0&&(s.attrs=j_(n)),a){var o=t[0]||r;o.children||(o.children=[]),o.children.push(s)}else t.unshift(s)},end:function(i){var n=t.shift();if(n.name!==i&&console.error("invalid state: mismatch end tag"),t.length===0)r.children.push(n);else{var a=t[0];a.children||(a.children=[]),a.children.push(n)}},chars:function(i){var n={type:"text",text:i};if(t.length===0)r.children.push(n);else{var a=t[0];a.children||(a.children=[]),a.children.push(n)}},comment:function(i){var n={node:"comment",text:i},a=t[0];a.children||(a.children=[]),a.children.push(n)}}),r.children}var Pf={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:""},bs={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function Y_(e){return e.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,r){if(te(bs,r)&&bs[r])return bs[r];if(/^#[0-9]{1,4}$/.test(r))return String.fromCharCode(r.slice(1));if(/^#x[0-9a-f]{1,4}$/i.test(r))return String.fromCharCode("0"+r.slice(1));var i=document.createElement("div");return i.innerHTML=t,i.innerText||i.textContent})}function q_(e,t,r){return e==="img"&&t==="src"?et(r):r}function Lf(e,t,r,i){return e.forEach(function(n){if(!!it(n))if(!te(n,"type")||n.type==="node"){if(!(typeof n.name=="string"&&n.name))return;var a=n.name.toLowerCase();if(!te(Pf,a))return;var s=document.createElement(a);if(!s)return;var o=n.attrs;if(it(o)){var l=Pf[a]||[];Object.keys(o).forEach(function(v){var c=o[v];switch(v){case"class":Array.isArray(c)&&(c=c.join(" "));case"style":s.setAttribute(v,c),r&&s.setAttribute(r,"");break;default:l.indexOf(v)!==-1&&s.setAttribute(v,q_(a,v,c))}})}X_(n,s,i);var u=n.children;Array.isArray(u)&&u.length&&Lf(n.children,s,r,i),t.appendChild(s)}else n.type==="text"&&typeof n.text=="string"&&n.text!==""&&t.appendChild(document.createTextNode(Y_(n.text)))}),t}function X_(e,t,r){["a","img"].includes(e.name)&&r&&(t.setAttribute("onClick","return false;"),t.addEventListener("click",i=>{r(i,{node:e}),i.stopPropagation()},!0))}var K_={nodes:{type:[Array,String],default:function(){return[]}}},G_=de({name:"RichText",compatConfig:{MODE:3},props:K_,emits:["click","touchstart","touchmove","touchcancel","touchend","longpress"],setup(e,t){var{emit:r,attrs:i}=t,n=xt(),a=$(null),s=Me(a,r),o=!!i.onItemclick;function l(v){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};s("itemclick",v,c)}function u(v){var c;typeof v=="string"&&(v=z_(v));var m=Lf(v,document.createDocumentFragment(),(n==null||(c=n.root)===null||c===void 0?void 0:c.type).__scopeId||"",o&&l);a.value.firstElementChild.innerHTML="",a.value.firstElementChild.appendChild(m)}return U(()=>e.nodes,v=>{u(v)}),Ie(()=>{u(e.nodes)}),()=>I("uni-rich-text",{ref:a},[I("div",null,null)],512)}}),ws=ea(!0),Z_={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}},J_=de({name:"ScrollView",compatConfig:{MODE:3},props:Z_,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,t){var{emit:r,slots:i}=t,n=$(null),a=$(null),s=$(null),o=$(null),l=$(null),u=Me(n,r),{state:v,scrollTopNumber:c,scrollLeftNumber:m}=Q_(e);eb(e,v,c,m,u,n,a,o,r);var g=Q(()=>{var _="";return e.scrollX?_+="overflow-x:auto;":_+="overflow-x:hidden;",e.scrollY?_+="overflow-y:auto;":_+="overflow-y:hidden;",_});return()=>{var{refresherEnabled:_,refresherBackground:b,refresherDefaultStyle:w}=e,{refresherHeight:p,refreshState:h,refreshRotate:f}=v;return I("uni-scroll-view",{ref:n},[I("div",{ref:s,class:"uni-scroll-view"},[I("div",{ref:a,style:g.value,class:"uni-scroll-view"},[I("div",{ref:o,class:"uni-scroll-view-content"},[_?I("div",{ref:l,style:{backgroundColor:b,height:p+"px"},class:"uni-scroll-view-refresher"},[w!=="none"?I("div",{class:"uni-scroll-view-refresh"},[I("div",{class:"uni-scroll-view-refresh-inner"},[h=="pulling"?I("svg",{key:"refresh__icon",style:{transform:"rotate("+f+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[I("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),I("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,h=="refreshing"?I("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[I("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,w=="none"?i.refresher&&i.refresher():null],4):null,i.default&&i.default()],512)],4)],512)],512)}}});function Q_(e){var t=Q(()=>Number(e.scrollTop)||0),r=Q(()=>Number(e.scrollLeft)||0),i=Ee({lastScrollTop:t.value,lastScrollLeft:r.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""});return{state:i,scrollTopNumber:t,scrollLeftNumber:r}}function eb(e,t,r,i,n,a,s,o,l){var u=!1,v=0,c=!1,m=()=>{},g=Q(()=>{var x=Number(e.upperThreshold);return isNaN(x)?50:x}),_=Q(()=>{var x=Number(e.lowerThreshold);return isNaN(x)?50:x});function b(x,E){var C=s.value,M=0,W="";if(x<0?x=0:E==="x"&&x>C.scrollWidth-C.offsetWidth?x=C.scrollWidth-C.offsetWidth:E==="y"&&x>C.scrollHeight-C.offsetHeight&&(x=C.scrollHeight-C.offsetHeight),E==="x"?M=C.scrollLeft-x:E==="y"&&(M=C.scrollTop-x),M!==0){var V=o.value;V.style.transition="transform .3s ease-out",V.style.webkitTransition="-webkit-transform .3s ease-out",E==="x"?W="translateX("+M+"px) translateZ(0)":E==="y"&&(W="translateY("+M+"px) translateZ(0)"),V.removeEventListener("transitionend",m),V.removeEventListener("webkitTransitionEnd",m),m=()=>d(x,E),V.addEventListener("transitionend",m),V.addEventListener("webkitTransitionEnd",m),E==="x"?C.style.overflowX="hidden":E==="y"&&(C.style.overflowY="hidden"),V.style.transform=W,V.style.webkitTransform=W}}function w(x){var E=x.target;n("scroll",x,{scrollLeft:E.scrollLeft,scrollTop:E.scrollTop,scrollHeight:E.scrollHeight,scrollWidth:E.scrollWidth,deltaX:t.lastScrollLeft-E.scrollLeft,deltaY:t.lastScrollTop-E.scrollTop}),e.scrollY&&(E.scrollTop<=g.value&&t.lastScrollTop-E.scrollTop>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(n("scrolltoupper",x,{direction:"top"}),t.lastScrollToUpperTime=x.timeStamp),E.scrollTop+E.offsetHeight+_.value>=E.scrollHeight&&t.lastScrollTop-E.scrollTop<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(n("scrolltolower",x,{direction:"bottom"}),t.lastScrollToLowerTime=x.timeStamp)),e.scrollX&&(E.scrollLeft<=g.value&&t.lastScrollLeft-E.scrollLeft>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(n("scrolltoupper",x,{direction:"left"}),t.lastScrollToUpperTime=x.timeStamp),E.scrollLeft+E.offsetWidth+_.value>=E.scrollWidth&&t.lastScrollLeft-E.scrollLeft<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(n("scrolltolower",x,{direction:"right"}),t.lastScrollToLowerTime=x.timeStamp)),t.lastScrollTop=E.scrollTop,t.lastScrollLeft=E.scrollLeft}function p(x){e.scrollY&&(e.scrollWithAnimation?b(x,"y"):s.value.scrollTop=x)}function h(x){e.scrollX&&(e.scrollWithAnimation?b(x,"x"):s.value.scrollLeft=x)}function f(x){if(x){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(x)){console.error("id error: scroll-into-view=".concat(x));return}var E=a.value.querySelector("#"+x);if(E){var C=s.value.getBoundingClientRect(),M=E.getBoundingClientRect();if(e.scrollX){var W=M.left-C.left,V=s.value.scrollLeft,q=V+W;e.scrollWithAnimation?b(q,"x"):s.value.scrollLeft=q}if(e.scrollY){var he=M.top-C.top,R=s.value.scrollTop,B=R+he;e.scrollWithAnimation?b(B,"y"):s.value.scrollTop=B}}}}function d(x,E){o.value.style.transition="",o.value.style.webkitTransition="",o.value.style.transform="",o.value.style.webkitTransform="";var C=s.value;E==="x"?(C.style.overflowX=e.scrollX?"auto":"hidden",C.scrollLeft=x):E==="y"&&(C.style.overflowY=e.scrollY?"auto":"hidden",C.scrollTop=x),o.value.removeEventListener("transitionend",m),o.value.removeEventListener("webkitTransitionEnd",m)}function y(x){switch(x){case"refreshing":t.refresherHeight=e.refresherThreshold,u||(u=!0,n("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":u=!1,t.refresherHeight=v=0,x==="restore"&&(c=!1,n("refresherrestore",{},{})),x==="refresherabort"&&c&&(c=!1,n("refresherabort",{},{}));break}t.refreshState=x}Ie(()=>{sr(()=>{p(r.value),h(i.value)}),f(e.scrollIntoView);var x=function(q){q.stopPropagation(),w(q)},E={x:0,y:0},C=null,M=function(q){var he=q.touches[0].pageX,R=q.touches[0].pageY,B=s.value;if(Math.abs(he-E.x)>Math.abs(R-E.y))if(e.scrollX){if(B.scrollLeft===0&&he>E.x){C=!1;return}else if(B.scrollWidth===B.offsetWidth+B.scrollLeft&&heE.y)C=!1,e.refresherEnabled&&q.cancelable!==!1&&q.preventDefault();else if(B.scrollHeight===B.offsetHeight+B.scrollTop&&R0&&(c=!0,n("refresherpulling",q,{deltaY:ee})));var ie=t.refresherHeight/e.refresherThreshold;t.refreshRotate=(ie>1?1:ie)*360}},W=function(q){q.touches.length===1&&(Mt({disable:!0}),E={x:q.touches[0].pageX,y:q.touches[0].pageY})},V=function(q){E={x:0,y:0},Mt({disable:!1}),t.refresherHeight>=e.refresherThreshold?y("refreshing"):y("refresherabort")};s.value.addEventListener("touchstart",W,ws),s.value.addEventListener("touchmove",M),s.value.addEventListener("scroll",x,ws),s.value.addEventListener("touchend",V,ws),fn(),xe(()=>{s.value.removeEventListener("touchstart",W),s.value.removeEventListener("touchmove",M),s.value.removeEventListener("scroll",x),s.value.removeEventListener("touchend",V)})}),Ia(()=>{e.scrollY&&(s.value.scrollTop=t.lastScrollTop),e.scrollX&&(s.value.scrollLeft=t.lastScrollLeft)}),U(r,x=>{p(x)}),U(i,x=>{h(x)}),U(()=>e.scrollIntoView,x=>{f(x)}),U(()=>e.refresherTriggered,x=>{x===!0?y("refreshing"):x===!1&&y("restore")})}var tb={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}},rb=de({name:"Slider",props:tb,emits:["changing","change"],setup(e,t){var{emit:r}=t,i=$(null),n=$(null),a=$(null),s=$(Number(e.value));U(()=>e.value,c=>{s.value=Number(c)});var o=Me(i,r),l=ib(e,s),{_onClick:u,_onTrack:v}=nb(e,s,i,n,o);return Ie(()=>{cn(a.value,v)}),()=>{var{setBgColor:c,setBlockBg:m,setActiveColor:g,setBlockStyle:_}=l;return I("uni-slider",{ref:i,onClick:Vt(u)},[I("div",{class:"uni-slider-wrapper"},[I("div",{class:"uni-slider-tap-area"},[I("div",{style:c.value,class:"uni-slider-handle-wrapper"},[I("div",{ref:a,style:m.value,class:"uni-slider-handle"},null,4),I("div",{style:_.value,class:"uni-slider-thumb"},null,4),I("div",{style:g.value,class:"uni-slider-track"},null,4)],4)]),Or(I("span",{ref:n,class:"uni-slider-value"},[s.value],512),[[kr,e.showValue]])]),I("slot",null,null)],8,["onClick"])}}});function ib(e,t){var r=()=>{var s=Number(e.max),o=Number(e.min);return 100*(t.value-o)/(s-o)+"%"},i=()=>e.backgroundColor!=="#e9e9e9"?e.backgroundColor:e.color!=="#007aff"?e.color:"#007aff",n=()=>e.activeColor!=="#007aff"?e.activeColor:e.selectedColor!=="#e9e9e9"?e.selectedColor:"#e9e9e9",a={setBgColor:Q(()=>({backgroundColor:i()})),setBlockBg:Q(()=>({left:r()})),setActiveColor:Q(()=>({backgroundColor:n(),width:r()})),setBlockStyle:Q(()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:r(),backgroundColor:e.blockColor}))};return a}function nb(e,t,r,i,n){var a=c=>{e.disabled||(o(c),n("change",c,{value:t.value}))},s=c=>{var m=Number(e.max),g=Number(e.min),_=Number(e.step);return cm?m:ab.mul.call(Math.round((c-g)/_),_)+g},o=c=>{var m=Number(e.max),g=Number(e.min),_=i.value,b=getComputedStyle(_,null).marginLeft,w=_.offsetWidth;w=w+parseInt(b);var p=r.value,h=p.offsetWidth-(e.showValue?w:0),f=p.getBoundingClientRect().left,d=(c.x-f)*(m-g)/h+g;t.value=s(d)},l=c=>{if(!e.disabled)return c.detail.state==="move"?(o({x:c.detail.x}),n("changing",c,{value:t.value}),!1):c.detail.state==="end"&&n("change",c,{value:t.value})},u=pe(ut,!1);if(u){var v={reset:()=>t.value=Number(e.min),submit:()=>{var c=["",null];return e.name!==""&&(c[0]=e.name,c[1]=t.value),c}};u.addField(v),xe(()=>{u.removeField(v)})}return{_onClick:a,_onTrack:l}}var ab={mul:function(e){var t=0,r=this.toString(),i=e.toString();try{t+=r.split(".")[1].length}catch(n){}try{t+=i.split(".")[1].length}catch(n){}return Number(r.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,t)}},sb={indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1}};function ob(e){var t=Q(()=>{var a=Number(e.interval);return isNaN(a)?5e3:a}),r=Q(()=>{var a=Number(e.duration);return isNaN(a)?500:a}),i=Q(()=>{var a=Math.round(e.displayMultipleItems);return isNaN(a)?1:a}),n=Ee({interval:t,duration:r,displayMultipleItems:i,current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1});return n}function lb(e,t,r,i,n,a){function s(){o&&(clearTimeout(o),o=null)}var o=null,l=!0,u=0,v=1,c=null,m=!1,g=0,_,b="",w,p=Q(()=>e.circular&&r.value.length>t.displayMultipleItems);function h(R){if(!l)for(var B=r.value,ee=B.length,ie=R+t.displayMultipleItems,z=0;z=J.length&&(R-=J.length),R=_%1>.5||_<0?R-1:R,a("transition",{},{dx:e.vertical?0:R*z.offsetWidth,dy:e.vertical?R*z.offsetHeight:0})}function d(){c&&(f(c.toPos),c=null)}function y(R){var B=r.value.length;if(!B)return-1;var ee=(Math.round(R)%B+B)%B;if(p.value){if(B<=t.displayMultipleItems)return 0}else if(ee>B-t.displayMultipleItems)return B-t.displayMultipleItems;return ee}function x(){c=null}function E(){if(!c){m=!1;return}var R=c,B=R.toPos,ee=R.acc,ie=R.endTime,z=R.source,J=ie-Date.now();if(J<=0){f(B),c=null,m=!1,_=null;var ne=r.value[t.current];if(ne){var we=ne.getItemId();a("animationfinish",{},{current:t.current,currentItemId:we,source:z})}return}var se=ee*J*J/2,G=B+se;f(G),w=requestAnimationFrame(E)}function C(R,B,ee){x();var ie=t.duration,z=r.value.length,J=u;if(p.value)if(ee<0){for(;JR;)J-=z}else if(ee>0){for(;J>R;)J-=z;for(;J+zR;)J-=z;J+z-R0&&v<1||(v=1)}var J=u;u=-2;var ne=t.current;ne>=0?(l=!1,t.userTracking?(f(J+ne-g),g=ne):(f(ne),e.autoplay&&M())):(l=!0,f(-t.displayMultipleItems-1))}U([()=>e.current,()=>e.currentItemId,()=>[...r.value]],()=>{var R=-1;if(e.currentItemId)for(var B=0,ee=r.value;Be.vertical,()=>p.value,()=>t.displayMultipleItems,()=>[...r.value]],W),U(()=>t.interval,()=>{o&&(s(),M())});function V(R,B){var ee=b;b="";var ie=r.value;if(!ee){var z=ie.length;C(R,"",p.value&&B+(z-R)%z>z/2?1:0)}var J=ie[R];if(J){var ne=t.currentItemId=J.getItemId();a("change",{},{current:t.current,currentItemId:ne,source:ee})}}U(()=>t.current,(R,B)=>{V(R,B),n("update:current",R)}),U(()=>t.currentItemId,R=>{n("update:currentItemId",R)});function q(R){R?M():s()}U(()=>e.autoplay&&!t.userTracking,q),q(e.autoplay&&!t.userTracking),Ie(()=>{var R=!1,B=0,ee=0;function ie(){s(),g=u,B=0,ee=Date.now(),x()}function z(ne){var we=ee;ee=Date.now();var se=r.value.length,G=se-t.displayMultipleItems;function re(Ge){return .5-.25/(Ge+.5)}function le(Ge,At){var Ae=g+Ge;B=.6*B+.4*At,p.value||(Ae<0||Ae>G)&&(Ae<0?Ae=-re(-Ae):Ae>G&&(Ae=G+re(Ae-G)),B=0),f(Ae)}var Ce=ee-we||1,Oe=i.value;e.vertical?le(-ne.dy/Oe.offsetHeight,-ne.ddy/Ce):le(-ne.dx/Oe.offsetWidth,-ne.ddx/Ce)}function J(ne){t.userTracking=!1;var we=B/Math.abs(B),se=0;!ne&&Math.abs(B)>.2&&(se=.5*we);var G=y(u+se);ne?f(g):(b="touch",t.current=G,C(G,"touch",se!==0?se:G===0&&p.value&&u>=1?1:0))}cn(i.value,ne=>{if(!e.disableTouch&&!l){if(ne.detail.state==="start")return t.userTracking=!0,R=!1,ie();if(ne.detail.state==="end")return J(!1);if(ne.detail.state==="cancel")return J(!0);if(t.userTracking){if(!R){R=!0;var we=Math.abs(ne.detail.dx),se=Math.abs(ne.detail.dy);if((we>=se&&e.vertical||we<=se&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&M();return}}return z(ne.detail),!1}}})}),yt(()=>{s(),cancelAnimationFrame(w)});function he(R){C(t.current=R,b="click",p.value?1:0)}return{onSwiperDotClick:he}}var ub=de({name:"Swiper",props:sb,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,t){var{slots:r,emit:i}=t,n=$(null),a=Me(n,i),s=$(null),o=$(null),l=ob(e),u=Q(()=>{var h={};return(e.nextMargin||e.previousMargin)&&(h=e.vertical?{left:0,right:0,top:Ut(e.previousMargin,!0),bottom:Ut(e.nextMargin,!0)}:{top:0,bottom:0,left:Ut(e.previousMargin,!0),right:Ut(e.nextMargin,!0)}),h}),v=Q(()=>{var h=Math.abs(100/l.displayMultipleItems)+"%";return{width:e.vertical?"100%":h,height:e.vertical?h:"100%"}}),c=[],m=[],g=$([]);function _(){for(var h=[],f=function(y){var x=c[y];x instanceof Element||(x=x.el);var E=m.find(C=>x===C.rootRef.value);E&&h.push(Li(E))},d=0;d{c=o.value.children,_()});var b=function(h){m.push(h),_()};Ne("addSwiperContext",b);var w=function(h){var f=m.indexOf(h);f>=0&&(m.splice(f,1),_())};Ne("removeSwiperContext",w);var{onSwiperDotClick:p}=lb(e,l,g,o,i,a);return()=>{var h=r.default&&r.default();return c=ps(h),I("uni-swiper",{ref:n},[I("div",{ref:s,class:"uni-swiper-wrapper"},[I("div",{class:"uni-swiper-slides",style:u.value},[I("div",{ref:o,class:"uni-swiper-slide-frame",style:v.value},[h],4)],4),e.indicatorDots&&I("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[g.value.map((f,d,y)=>I("div",{onClick:()=>p(d),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":d=l.current||d{var a=pe("addSwiperContext");a&&a(n)}),yt(()=>{var a=pe("removeSwiperContext");a&&a(n)}),()=>I("uni-swiper-item",{ref:i,style:{position:"absolute",width:"100%",height:"100%"}},[r.default&&r.default()],512)}}),vb={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"}},db=de({name:"Switch",props:vb,emits:["change"],setup(e,t){var{emit:r}=t,i=$(null),n=$(e.checked),a=hb(e,n),s=Me(i,r);U(()=>e.checked,l=>{n.value=l});var o=l=>{e.disabled||(n.value=!n.value,s("change",l,{value:n.value}))};return a&&(a.addHandler(o),xe(()=>{a.removeHandler(o)})),rn(e,{"label-click":o}),()=>{var{color:l,type:u}=e,v=Fr(e,"disabled");return I("uni-switch",ze({ref:i},v,{onClick:o}),[I("div",{class:"uni-switch-wrapper"},[Or(I("div",{class:["uni-switch-input",[n.value?"uni-switch-input-checked":""]],style:{backgroundColor:n.value?l:"#DFDFDF",borderColor:n.value?l:"#DFDFDF"}},null,6),[[kr,u==="switch"]]),Or(I("div",{class:"uni-checkbox-input"},[n.value?Ji(Zi,e.color,22):""],512),[[kr,u==="checkbox"]])])],16,["onClick"])}}});function hb(e,t){var r=pe(ut,!1),i=pe($r,!1),n={submit:()=>{var a=["",null];return e.name&&(a[0]=e.name,a[1]=t.value),a},reset:()=>{t.value=!1}};return r&&(r.addField(n),yt(()=>{r.removeField(n)})),i}var qr={ensp:"\u2002",emsp:"\u2003",nbsp:"\xA0"};function gb(e,t){return e.replace(/\\n/g,wr).split(wr).map(r=>pb(r,t))}function pb(e,t){var{space:r,decode:i}=t;return!e||(r&&qr[r]&&(e=e.replace(/ /g,qr[r])),!i)?e:e.replace(/ /g,qr.nbsp).replace(/ /g,qr.ensp).replace(/ /g,qr.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}var mb=ce({},gf,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:""}}),ys=!1;function _b(){var e="(prefers-color-scheme: dark)";ys=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}var bb=de({name:"Textarea",props:mb,emit:["confirm","linechange",...pf],setup(e,t){var{emit:r}=t,i=$(null),{fieldRef:n,state:a,scopedAttrsState:s,fixDisabledColor:o,trigger:l}=mf(e,i,r),u=Q(()=>a.value.split(wr)),v=Q(()=>["done","go","next","search","send"].includes(e.confirmType)),c=$(0),m=$(null);U(()=>c.value,p=>{var h=i.value,f=m.value,d=parseFloat(getComputedStyle(h).lineHeight);isNaN(d)&&(d=f.offsetHeight);var y=Math.round(p/d);l("linechange",{},{height:p,heightRpx:750/window.innerWidth*p,lineCount:y}),e.autoHeight&&(h.style.height=p+"px")});function g(p){var{height:h}=p;c.value=h}function _(p){l("confirm",p,{value:a.value})}function b(p){p.key==="Enter"&&v.value&&p.preventDefault()}function w(p){if(p.key==="Enter"&&v.value){_(p);var h=p.target;h.blur()}}return _b(),()=>{var p=e.disabled&&o?I("textarea",{ref:n,value:a.value,tabindex:"-1",readonly:!!e.disabled,maxlength:a.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":ys},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:h=>h.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):I("textarea",{ref:n,value:a.value,disabled:!!e.disabled,maxlength:a.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":ys},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:b,onKeyup:w},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return I("uni-textarea",{ref:i},[I("div",{class:"uni-textarea-wrapper"},[Or(I("div",ze(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[kr,!a.value.length]]),I("div",{ref:m,class:"uni-textarea-line"},[" "],512),I("div",{class:"uni-textarea-compute"},[u.value.map(h=>I("div",null,[h.trim()?h:"."])),I(Ht,{initial:!0,onResize:g},null,8,["initial","onResize"])]),e.confirmType==="search"?I("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[p],40,["onSubmit"]):p])],512)}}});ce({},Hm);function hn(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function Nf(e,t,r){!e||at(r||Ct(),e,(i,n)=>{var{type:a,data:s}=i;t(a,s,n)})}function kf(e){!e||qd(Ct(),e)}function gn(e,t,r,i){var n=xt(),a=n.proxy;Ie(()=>{Nf(t||hn(a),e,i),(r||!t)&&U(()=>a.id,(s,o)=>{Nf(hn(a,s),e,i),kf(o&&hn(a,o))})}),xe(()=>{kf(t||hn(a))})}var wb=0;function pn(e){var t=Qi(),r=xt(),i=r.proxy,n=i.$options.name.toLowerCase(),a=e||i.id||"context".concat(wb++);return Ie(()=>{var s=i.$el;s.__uniContextInfo={id:a,type:n,page:t}}),"".concat(n,".").concat(a)}function yb(e){return e.__uniContextInfo}class Bf extends Hu{constructor(t,r,i,n,a){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,n,a,[...tn.props,...s])}call(t){var r={animation:this.$props.animation,$el:this.$};t.call(r)}setAttribute(t,r){return t==="animation"&&(this.$animate=!0),super.setAttribute(t,r)}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!!this.$animate){if(t)return this.call(tn.mounted);this.$animate&&(this.$animate=!1,this.call(tn.watch.animation.handler))}}}var Sb=["space","decode"];class xb extends Bf{constructor(t,r,i,n){super(t,document.createElement("uni-text"),r,i,n,Sb);this._text=""}init(t){this._text=t.t||"",super.init(t)}setText(t){this._text=t,this.update()}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,{$props:{space:r,decode:i}}=this;this.$.textContent=gb(this._text,{space:r,decode:i}).join(wr),super.update(t)}}class Tb extends lr{constructor(t,r,i,n){super(t,"#text",r,document.createTextNode(""));this.init(n),this.insert(r,i)}}var _y="",Eb=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class Cb extends Bf{constructor(t,r,i,n,a){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,n,a,[...Eb,...s])}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.$props["hover-class"];r&&r!=="none"?(this._hover||(this._hover=new Ob(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(t)}}class Ob{constructor(t,r){this._listening=!1,this._hovering=!1,this._hoverTouch=!1,this.$=t,this.props=r,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(t){this._hovering=t;var r=this.props["hover-class"];t?this.$.classList.add(r):this.$.classList.remove(r)}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(t){if(!t._hoverPropagationStopped){var r=this.props["hover-class"];!r||r==="none"||this.$.disabled||t.touches.length>1||(this.props["hover-stop-propagation"]&&(t._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)}}class Ib extends Cb{constructor(t,r,i,n){super(t,document.createElement("uni-view"),r,i,n)}}function Df(){return plus.navigator.isImmersedStatusbar()?Math.round(plus.os.name==="iOS"?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function Ff(){var e=plus.webview.currentWebview(),t=e.getStyle(),r=t&&t.titleNView;return r&&r.type==="default"?Eo+Df():0}var $f=Symbol("onDraw");function Mb(e){for(var t;e;){var r=getComputedStyle(e),i=r.transform||r.webkitTransform;t=i&&i!=="none"?!1:t,t=r.position==="fixed"?!0:t,e=e.parentElement}return t}function Ss(e,t){return Q(()=>{var r={};return Object.keys(e).forEach(i=>{if(!(t&&t.includes(i))){var n=e[i];n=i==="src"?et(n):n,r[i.replace(/[A-Z]/g,a=>"-"+a.toLowerCase())]=n}}),r})}function Xr(e){var t=Ee({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),r=$(!1);function i(){var c=e.value,m=c.getBoundingClientRect(),g=["width","height"];r.value=m.width===0||m.height===0,r.value||(t.position=Mb(c)?"absolute":"static",g.push("top","left")),g.forEach(_=>{var b=m[_];b=_==="top"?b+(t.position==="static"?document.documentElement.scrollTop||document.body.scrollTop||0:Ff()):b,t[_]=b+"px"})}var n=null;function a(){n&&cancelAnimationFrame(n),n=requestAnimationFrame(()=>{n=null,i()})}window.addEventListener("updateview",a);var s=[],o=[];function l(c){o?o.push(c):c()}function u(c){var m=pe($f),g=_=>{c(_),s.forEach(b=>b(t)),s=null};l(()=>{m?m(g):g({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})})}var v=function(c){s?s.push(c):c(t)};return Ne($f,v),Ie(()=>{i(),o.forEach(c=>c()),o=null}),xe(()=>{window.removeEventListener("updateview",a)}),{position:t,hidden:r,onParentReady:u}}var Ab=de({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{emit:r}=t,i=$(null),n=$(null),a=Me(i,r),s=Ss(e,["id"]),{position:o,onParentReady:l}=Xr(n),u;return l(()=>{u=plus.ad.createAdView(Object.assign({},s.value,o)),plus.webview.currentWebview().append(u),u.setDislikeListener(c=>{n.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),a("close",{},c)}),u.setRenderingListener(c=>{c.result===0?(n.value.style.height=c.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):a("error",{},{errCode:c.result})}),u.setAdClickedListener(()=>{a("adclicked",{},{})}),U(()=>o,c=>u.setStyle(c),{deep:!0}),U(()=>e.adpid,c=>{c&&v()}),U(()=>e.data,c=>{c&&u.renderingBind(c)});function v(){var c={adpid:e.adpid,width:o.width,count:e.dataCount};e.channel!==void 0&&(c.ext={channel:e.channel}),UniViewJSBridge.invokeServiceMethod("getAdData",c,m=>{var{code:g,data:_,message:b}=m;g===0?u.renderingBind(_):a("error",{},{errMsg:b})})}e.adpid&&v()}),xe(()=>{u&&u.close()}),()=>I("uni-ad",{ref:i},[I("div",{ref:n,class:"uni-ad-container"},null,512)],512)}});class _e extends lr{constructor(t,r,i,n,a,s,o){super(t,r,n);var l=document.createElement("div");l.__vueParent=Rb(this),this.$props=Ee({}),this.init(s),this.$app=lu(Ww(i,this.$props)),this.$app.mount(l),this.$=l.firstElementChild,o&&(this.$holder=this.$.querySelector(o)),te(s,"t")&&this.setText(s.t||""),s.a&&te(s.a,yi)&&us(this.$,s.a[yi]),this.insert(n,a),Kl()}init(t){var{a:r,e:i,w:n}=t;r&&(this.setWxsProps(r),Object.keys(r).forEach(a=>{this.setAttr(a,r[a])})),te(t,"s")&&this.setAttr("style",t.s),i&&Object.keys(i).forEach(a=>{this.addEvent(a,i[a])}),n&&this.addWxsEvents(t.w)}setText(t){(this.$holder||this.$).textContent=t}addWxsEvent(t,r,i){this.$props[t]=Vu(this.$,r,i)}addEvent(t,r){this.$props[t]=Wu(this.id,r,ra(t)[1])}removeEvent(t){this.$props[t]=null}setAttr(t,r){if(t===yi)this.$&&us(this.$,r);else if(t===Ao)this.$.__ownerId=r;else if(t===Ro)Ot(()=>Pu(this,r),Mu);else if(t===na){var i=ls(this.$||Ke(this.pid).$,r),n=this.$props.style;it(i)&&it(n)?Object.keys(i).forEach(a=>{n[a]=i[a]}):this.$props.style=i}else r=ls(this.$||Ke(this.pid).$,r),this.wxsPropsInvoke(t,r,!0)||(this.$props[t]=r)}removeAttr(t){this.$props[t]=null}remove(){this.removeUniParent(),this.isUnmounted=!0,this.$app.unmount(),Yf(this.id),this.removeUniChildren()}appendChild(t){return(this.$holder||this.$).appendChild(t)}insertBefore(t,r){return(this.$holder||this.$).insertBefore(t,r)}}class Kr extends _e{constructor(t,r,i,n,a,s,o){super(t,r,i,n,a,s,o)}getRebuildFn(){return this._rebuild||(this._rebuild=this.rebuild.bind(this)),this._rebuild}setText(t){return Ot(this.getRebuildFn(),rs),super.setText(t)}appendChild(t){return Ot(this.getRebuildFn(),rs),super.appendChild(t)}insertBefore(t,r){return Ot(this.getRebuildFn(),rs),super.insertBefore(t,r)}rebuild(){var t=this.$.__vueParentComponent;t.rebuild&&t.rebuild()}}function Rb(e){for(;e&&e.pid>0;)if(e=Ke(e.pid),e){var{__vueParentComponent:t}=e.$;if(t)return t}return null}function xs(e,t,r){e.childNodes.forEach(i=>{i instanceof Element?i.className.indexOf(t)===-1&&e.removeChild(i):e.removeChild(i)}),e.appendChild(document.createTextNode(r))}class Pb extends _e{constructor(t,r,i,n){super(t,"uni-ad",Ab,r,i,n)}}var by="";class Lb extends _e{constructor(t,r,i,n){super(t,"uni-button",Zm,r,i,n)}}class fr extends lr{constructor(t,r,i,n){super(t,r,i);this.insert(i,n)}}class Nb extends fr{constructor(t,r,i){super(t,"uni-camera",r,i)}}var wy="";class kb extends _e{constructor(t,r,i,n){super(t,"uni-canvas",a0,r,i,n,"uni-canvas > div")}}var yy="";class Bb extends _e{constructor(t,r,i,n){super(t,"uni-checkbox",v0,r,i,n,".uni-checkbox-wrapper")}setText(t){xs(this.$holder,"uni-checkbox-input",t)}}var Sy="";class Db extends _e{constructor(t,r,i,n){super(t,"uni-checkbox-group",u0,r,i,n)}}var xy="",Fb=0;function Wf(e,t,r){var{position:i,hidden:n,onParentReady:a}=Xr(e),s,o;a(l=>{var u=Q(()=>{var f={};for(var d in i){var y=i[d],x=parseFloat(y),E=parseFloat(l[d]);if(d==="top"||d==="left")y=Math.max(x,E)+"px";else if(d==="width"||d==="height"){var C=d==="width"?"left":"top",M=parseFloat(l[C]),W=parseFloat(i[C]),V=Math.max(M-W,0),q=Math.max(W+x-(M+E),0);y=Math.max(x-V-q,0)+"px"}f[d]=y}return f}),v=["borderRadius","borderColor","borderWidth","backgroundColor"],c=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],m=[],g={start:"left",end:"right"};function _(f){var d=getComputedStyle(e.value);return v.concat(c,m).forEach(y=>{f[y]=d[y]}),f}var b=Ee(_({})),w=null;o=function(){w&&cancelAnimationFrame(w),w=requestAnimationFrame(()=>{w=null,_(b)})},window.addEventListener("updateview",o);function p(){var f={};for(var d in f){var y=f[d];(d==="top"||d==="left")&&(y=Math.min(parseFloat(y)-parseFloat(l[d]),0)+"px"),f[d]=y}return f}var h=Q(()=>{var f=p(),d=[{tag:"rect",position:f,rectStyles:{color:b.backgroundColor,radius:b.borderRadius,borderColor:b.borderColor,borderWidth:b.borderWidth}}];if("src"in r)r.src&&d.push({tag:"img",position:f,src:r.src});else{var y=parseFloat(b.lineHeight)-parseFloat(b.fontSize),x=parseFloat(f.width)-parseFloat(b.paddingLeft)-parseFloat(b.paddingRight);x=x<0?0:x;var E=parseFloat(f.height)-parseFloat(b.paddingTop)-y/2-parseFloat(b.paddingBottom);E=E<0?0:E,d.push({tag:"font",position:{top:"".concat(parseFloat(f.top)+parseFloat(b.paddingTop)+y/2,"px"),left:"".concat(parseFloat(f.left)+parseFloat(b.paddingLeft),"px"),width:"".concat(x,"px"),height:"".concat(E,"px")},textStyles:{align:g[b.textAlign]||b.textAlign,color:b.color,decoration:"none",lineSpacing:"".concat(y,"px"),margin:"0px",overflow:b.textOverflow,size:b.fontSize,verticalAlign:"top",weight:b.fontWeight,whiteSpace:b.whiteSpace},text:r.text})}return d});s=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(Fb++),u.value,h.value),plus.webview.currentWebview().append(s),n.value&&s.hide(),s.addEventListener("click",()=>{t("click",{},{})}),U(()=>n.value,f=>{s[f?"hide":"show"]()}),U(()=>u.value,f=>{s.setStyle(f)},{deep:!0}),U(()=>h.value,()=>{s.reset(),s.draw(h.value)},{deep:!0})}),xe(()=>{s&&s.close(),o&&window.removeEventListener("updateview",o)})}var $b="_doc/uniapp_temp/",Wb={src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}};function Ub(e,t,r){var i=$(""),n;function a(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var o=e.src?et(e.src):"";o.indexOf("http://")===0||o.indexOf("https://")===0?(n=plus.downloader.createDownload(o,{filename:$b+"/download/"},(l,u)=>{u===200?s(l.filename):r("error",{},{errMsg:"error"})}),n.start()):o&&s(o)}function s(o){t.src=o,plus.io.getImageInfo({src:o,success:l=>{var{width:u,height:v}=l;e.autoSize&&(i.value="width:".concat(u,"px;height:").concat(v,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),r("load",{},{width:u,height:v})},fail:()=>{r("error",{},{errMsg:"error"})}})}return e.src&&a(),U(()=>e.src,a),xe(()=>{n&&n.abort()}),i}var Uf=de({name:"CoverImage",props:Wb,emits:["click","load","error"],setup(e,t){var{emit:r}=t,i=$(null),n=Me(i,r),a=Ee({src:""}),s=Ub(e,a,n);return Wf(i,n,a),()=>I("uni-cover-image",{ref:i,style:s.value},[I("div",{class:"uni-cover-image"},null)],4)}});class Vb extends _e{constructor(t,r,i,n){super(t,"uni-cover-image",Uf,r,i,n)}}var Ty="",Hb=de({name:"CoverView",emits:["click"],setup(e,t){var{emit:r}=t,i=$(null),n=$(null),a=Me(i,r),s=Ee({text:""});return Wf(i,a,s),jr(()=>{var o=n.value.childNodes[0];s.text=o&&o instanceof Text?o.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))}),()=>I("uni-cover-view",{ref:i},[I("div",{ref:n,class:"uni-cover-view"},null,512)],512)}});class jb extends Kr{constructor(t,r,i,n){super(t,"uni-cover-view",Hb,r,i,n,".uni-cover-view")}}var Ey="";class zb extends _e{constructor(t,r,i,n){super(t,"uni-editor",D0,r,i,n)}}var Cy="";class Yb extends _e{constructor(t,r,i,n){super(t,"uni-form",Ym,r,i,n,"span")}}class qb extends fr{constructor(t,r,i){super(t,"uni-functional-page-navigator",r,i)}}var Oy="";class Xb extends _e{constructor(t,r,i,n){super(t,"uni-icon",U0,r,i,n)}}var Iy="";class Kb extends _e{constructor(t,r,i,n){super(t,"uni-image",j0,r,i,n)}}var My="";class Gb extends _e{constructor(t,r,i,n){super(t,"uni-input",f_,r,i,n)}}var Ay="";class Zb extends _e{constructor(t,r,i,n){super(t,"uni-label",Km,r,i,n)}}class Jb extends fr{constructor(t,r,i){super(t,"uni-live-player",r,i)}}class Qb extends fr{constructor(t,r,i){super(t,"uni-live-pusher",r,i)}}var Ry="",ew=(e,t,r)=>{r({coord:{latitude:t,longitude:e}})};function Ts(e){if(e.indexOf("#")!==0)return{color:e,opacity:1};var t=e.substr(7,2);return{color:e.substr(0,7),opacity:t?Number("0x"+t)/255:1}}var tw={id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:16},markers:{type:Array,default(){return[]}},polyline:{type:Array,default(){return[]}},circles:{type:Array,default(){return[]}},controls:{type:Array,default(){return[]}}},rw=de({name:"Map",props:tw,emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,t){var{emit:r}=t,i=$(null),n=Me(i,r),a=$(null),s=Ss(e,["id"]),{position:o,hidden:l,onParentReady:u}=Xr(a),v,{_addMarkers:c,_addMapLines:m,_addMapCircles:g,_setMap:_}=iw(e,n);u(()=>{v=ce(plus.maps.create(Ct()+"-map-"+(e.id||Date.now()),Object.assign({},s.value,o,(()=>{if(e.latitude&&e.longitude)return{center:new plus.maps.Point(Number(e.longitude),Number(e.latitude))}})())),{__markers__:[],__lines__:[],__circles__:[]}),v.setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(v),l.value&&v.hide(),v.onclick=w=>{n("click",{},w)},v.onstatuschanged=w=>{n("regionchange",{},{})},_(v),c(e.markers),m(e.polyline),g(e.circles),U(()=>s.value,w=>v&&v.setStyles(w),{deep:!0}),U(()=>o,w=>v&&v.setStyles(w),{deep:!0}),U(l,w=>{v&&v[w?"hide":"show"]()}),U(()=>e.scale,w=>{v&&v.setZoom(parseInt(String(w)))}),U([()=>e.latitude,()=>e.longitude],w=>{var[p,h]=w;v&&v.setStyles({center:new plus.maps.Point(Number(p),Number(h))})}),U(()=>e.markers,w=>{c(w,!0)},{deep:!0}),U(()=>e.polyline,w=>{m(w)},{deep:!0}),U(()=>e.circles,w=>{g(w)},{deep:!0})});var b=Q(()=>e.controls.map(w=>{var p={position:"absolute"};return["top","left","width","height"].forEach(h=>{w.position[h]&&(p[h]=w.position[h]+"px")}),{id:w.id,iconPath:et(w.iconPath),position:p,clickable:w.clickable}}));return xe(()=>{v&&(v.close(),_(null))}),()=>I("uni-map",{ref:i,id:e.id},[I("div",{ref:a,class:"uni-map-container"},null,512),b.value.map((w,p)=>I(Uf,{key:p,src:w.iconPath,style:w.position,"auto-size":!0,onClick:()=>w.clickable&&n("controltap",{},{controlId:w.id})},null,8,["src","style","auto-size","onClick"])),I("div",{class:"uni-map-slot"},null)],8,["id"])}});function iw(e,t){var r;function i(g){var{longitude:_,latitude:b}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!r||(r.setCenter(new plus.maps.Point(Number(_||e.longitude),Number(b||e.latitude))),g({errMsg:"moveToLocation:ok"}))}function n(g){!r||r.getCurrentCenter((_,b)=>{g({longitude:b.getLng(),latitude:b.getLat(),errMsg:"getCenterLocation:ok"})})}function a(g){if(!!r){var _=r.getBounds();g({southwest:_.getSouthWest(),northeast:_.getNorthEast(),errMsg:"getRegion:ok"})}}function s(g){!r||g({scale:r.getZoom(),errMsg:"getScale:ok"})}function o(g){if(!!r){var{id:_,latitude:b,longitude:w,iconPath:p,callout:h,label:f}=g;ew(w,b,d=>{var y,{latitude:x,longitude:E}=d.coord,C=new plus.maps.Marker(new plus.maps.Point(E,x));p&&C.setIcon(et(p)),f&&f.content&&C.setLabel(f.content);var M=void 0;h&&h.content&&(M=new plus.maps.Bubble(h.content)),M&&C.setBubble(M),(_||_===0)&&(C.onclick=W=>{t("markertap",{},{markerId:_})},M&&(M.onclick=()=>{t("callouttap",{},{markerId:_})})),(y=r)===null||y===void 0||y.addOverlay(C),r.__markers__.push(C)})}}function l(){if(!!r){var g=r.__markers__;g.forEach(_=>{var b;(b=r)===null||b===void 0||b.removeOverlay(_)}),r.__markers__=[]}}function u(g,_){_&&l(),g.forEach(b=>{o(b)})}function v(g){!r||(r.__lines__.length>0&&(r.__lines__.forEach(_=>{var b;(b=r)===null||b===void 0||b.removeOverlay(_)}),r.__lines__=[]),g.forEach(_=>{var b,{color:w,width:p}=_,h=_.points.map(y=>new plus.maps.Point(y.longitude,y.latitude)),f=new plus.maps.Polyline(h);if(w){var d=Ts(w);f.setStrokeColor(d.color),f.setStrokeOpacity(d.opacity)}p&&f.setLineWidth(p),(b=r)===null||b===void 0||b.addOverlay(f),r.__lines__.push(f)}))}function c(g){!r||(r.__circles__.length>0&&(r.__circles__.forEach(_=>{var b;(b=r)===null||b===void 0||b.removeOverlay(_)}),r.__circles__=[]),g.forEach(_=>{var b,{latitude:w,longitude:p,color:h,fillColor:f,radius:d,strokeWidth:y}=_,x=new plus.maps.Circle(new plus.maps.Point(p,w),d);if(h){var E=Ts(h);x.setStrokeColor(E.color),x.setStrokeOpacity(E.opacity)}if(f){var C=Ts(f);x.setFillColor(C.color),x.setFillOpacity(C.opacity)}y&&x.setLineWidth(y),(b=r)===null||b===void 0||b.addOverlay(x),r.__circles__.push(x)}))}var m={moveToLocation:i,getCenterLocation:n,getRegion:a,getScale:s};return gn((g,_,b)=>{m[g]&&m[g](b,_)},pn(),!0),{_addMarkers:u,_addMapLines:v,_addMapCircles:c,_setMap(g){r=g}}}class nw extends _e{constructor(t,r,i,n){super(t,"uni-map",rw,r,i,n,".uni-map-slot")}}var Py="";class aw extends Kr{constructor(t,r,i,n){super(t,"uni-movable-area",g_,r,i,n)}}var Ly="";class sw extends _e{constructor(t,r,i,n){super(t,"uni-movable-view",__,r,i,n)}}var Ny="";class ow extends _e{constructor(t,r,i,n){super(t,"uni-navigator",S_,r,i,n)}}class lw extends fr{constructor(t,r,i){super(t,"uni-official-account",r,i)}}class uw extends fr{constructor(t,r,i){super(t,"uni-open-data",r,i)}}var qt,Vf,cr;function Hf(){return typeof window=="object"&&typeof navigator=="object"&&typeof document=="object"?"webview":"v8"}function jf(){return qt.webview.currentWebview().id}var mn,Es,Cs={};function Os(e){var t=e.data&&e.data.__message;if(!(!t||!t.__page)){var r=t.__page,i=Cs[r];i&&i(t),t.keep||delete Cs[r]}}function fw(e,t){Hf()==="v8"?cr?(mn&&mn.close(),mn=new cr(jf()),mn.onmessage=Os):Es||(Es=Vf.requireModule("globalEvent"),Es.addEventListener("plusMessage",Os)):window.__plusMessage=Os,Cs[e]=t}class cw{constructor(t){this.webview=t}sendMessage(t){var r=JSON.parse(JSON.stringify({__message:{data:t}})),i=this.webview.id;if(cr){var n=new cr(i);n.postMessage(r)}else qt.webview.postMessageToUniNView&&qt.webview.postMessageToUniNView(r,i)}close(){this.webview.close()}}function vw(e){var{context:t={},url:r,data:i={},style:n={},onMessage:a,onClose:s}=e;qt=t.plus||plus,Vf=t.weex||(typeof weex=="object"?weex:null),cr=t.BroadcastChannel||(typeof BroadcastChannel=="object"?BroadcastChannel:null);var o={autoBackButton:!0,titleSize:"17px"},l="page".concat(Date.now());n=ce({},n),n.titleNView!==!1&&n.titleNView!=="none"&&(n.titleNView=ce(o,n.titleNView));var u={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"".concat(typeof process=="object"&&process.env&&{}.VUE_APP_TEMPLATE_PATH||"","/").concat(r,".js"),defaultFontSize:qt.screen.resolutionWidth/20,viewport:qt.screen.resolutionWidth}};n=ce(u,n);var v=qt.webview.create("",l,n,{extras:{from:jf(),runtime:Hf(),data:i,useGlobalEvent:!cr}});return v.addEventListener("close",s),fw(l,c=>{typeof a=="function"&&a(c.data),c.keep||v.close("auto")}),v.show(n.animationType,n.animationDuration),new cw(v)}var Te={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},vr={YEAR:"year",MONTH:"month",DAY:"day"};function _n(e){return e>9?e:"0".concat(e)}function bn(e,t){e=String(e||"");var r=new Date;if(t===Te.TIME){var i=e.split(":");i.length===2&&r.setHours(parseInt(i[0]),parseInt(i[1]))}else{var n=e.split("-");n.length===3&&r.setFullYear(parseInt(n[0]),parseInt(String(parseFloat(n[1])-1)),parseInt(n[2]))}return r}function dw(e){if(e.mode===Te.TIME)return"00:00";if(e.mode===Te.DATE){var t=new Date().getFullYear()-100;switch(e.fields){case vr.YEAR:return t;case vr.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function hw(e){if(e.mode===Te.TIME)return"23:59";if(e.mode===Te.DATE){var t=new Date().getFullYear()+100;switch(e.fields){case vr.YEAR:return t;case vr.MONTH:return t+"-12";default:return t+"-12-31"}}return""}var gw={name:{type:String,default:""},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Te.SELECTOR,validator(e){return Object.values(Te).indexOf(e)>=0}},fields:{type:String,default:""},start:{type:String,default:dw},end:{type:String,default:hw},disabled:{type:[Boolean,String],default:!1}},pw=de({name:"Picker",props:gw,emits:["change","cancel","columnchange"],setup(e,t){var{emit:r}=t;Ud();var{t:i,getLocale:n}=He(),a=$(null),s=Me(a,r),o=$(null),l=$(null),u=()=>{var p=e.value;switch(e.mode){case Te.MULTISELECTOR:{Array.isArray(p)||(p=[]),Array.isArray(o.value)||(o.value=[]);for(var h=o.value.length=Math.max(p.length,e.range.length),f=0;f{l.value&&l.value.sendMessage(p)},c=p=>{var h={event:"cancel"};l.value=vw({url:"__uniapppicker",data:p,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:f=>{var d=f.event;if(d==="created"){v(p);return}if(d==="columnchange"){delete f.event,s(d,{},f);return}h=f},onClose:()=>{l.value=null;var f=h.event;delete h.event,f&&s(f,{},h)}})},m=(p,h)=>{plus.nativeUI[e.mode===Te.TIME?"pickTime":"pickDate"](f=>{var d=f.date;s("change",{},{value:e.mode===Te.TIME?"".concat(_n(d.getHours()),":").concat(_n(d.getMinutes())):"".concat(d.getFullYear(),"-").concat(_n(d.getMonth()+1),"-").concat(_n(d.getDate()))})},()=>{s("cancel",{},{})},e.mode===Te.TIME?{time:bn(e.value,Te.TIME),popover:h}:{date:bn(e.value,Te.DATE),minDate:bn(e.start,Te.DATE),maxDate:bn(e.end,Te.DATE),popover:h})},g=(p,h)=>{(p.mode===Te.TIME||p.mode===Te.DATE)&&!p.fields?m(p,h):(p.fields=Object.values(vr).includes(p.fields)?p.fields:vr.DAY,c(p))},_=p=>{if(!e.disabled){var h=p.currentTarget,f=h.getBoundingClientRect();g(Object.assign({},e,{value:o.value,locale:n(),messages:{done:i("uni.picker.done"),cancel:i("uni.picker.cancel")}}),{top:f.top+Ff(),left:f.left,width:f.width,height:f.height})}},b=pe(ut,!1),w={submit:()=>[e.name,o.value],reset:()=>{switch(e.mode){case Te.SELECTOR:o.value=0;break;case Te.MULTISELECTOR:Array.isArray(e.value)&&(o.value=e.value.map(p=>0));break;case Te.DATE:case Te.TIME:o.value="";break}}};return b&&(b.addField(w),xe(()=>b.removeField(w))),Object.keys(e).forEach(p=>{p!=="name"&&U(()=>e[p],h=>{var f={};f[p]=h,v(f)},{deep:!0})}),U(()=>e.value,u,{deep:!0}),u(),()=>I("uni-picker",{ref:a,onClick:_},[I("slot",null,null)],8,["onClick"])}});class mw extends _e{constructor(t,r,i,n){super(t,"uni-picker",pw,r,i,n)}}var ky="";class _w extends Kr{constructor(t,r,i,n){super(t,"uni-picker-view",E_,r,i,n,".uni-picker-view-wrapper")}}var By="";class bw extends Kr{constructor(t,r,i,n){super(t,"uni-picker-view-column",L_,r,i,n,".uni-picker-view-content")}}var Dy="";class ww extends _e{constructor(t,r,i,n){super(t,"uni-progress",k_,r,i,n)}}var Fy="";class yw extends _e{constructor(t,r,i,n){super(t,"uni-radio",U_,r,i,n,".uni-radio-wrapper")}setText(t){xs(this.$holder,"uni-radio-input",t)}}var $y="";class Sw extends _e{constructor(t,r,i,n){super(t,"uni-radio-group",F_,r,i,n)}}var Wy="";class xw extends _e{constructor(t,r,i,n){super(t,"uni-rich-text",G_,r,i,n)}}var Uy="";class Tw extends _e{constructor(t,r,i,n){super(t,"uni-scroll-view",J_,r,i,n,".uni-scroll-view-content")}setText(t){xs(this.$holder,"uni-scroll-view-refresher",t)}}var Vy="";class Ew extends _e{constructor(t,r,i,n){super(t,"uni-slider",rb,r,i,n)}}var Hy="";class Cw extends Kr{constructor(t,r,i,n){super(t,"uni-swiper",ub,r,i,n,".uni-swiper-slide-frame")}}var jy="";class Ow extends _e{constructor(t,r,i,n){super(t,"uni-swiper-item",cb,r,i,n)}}var zy="";class Iw extends _e{constructor(t,r,i,n){super(t,"uni-switch",db,r,i,n)}}var Yy="";class Mw extends _e{constructor(t,r,i,n){super(t,"uni-textarea",bb,r,i,n)}}var qy="",Aw={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default(){return[]}},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},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(){return{}}},advanced:{type:Array,default(){return[]}}},zf=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],Rw=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"],Pw=de({name:"Video",props:Aw,emits:zf,setup(e,t){var{emit:r}=t,i=$(null),n=Me(i,r),a=$(null),s=Ss(e,["id"]),{position:o,hidden:l,onParentReady:u}=Xr(a),v;u(()=>{v=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},s.value,o)),plus.webview.currentWebview().append(v),l.value&&v.hide(),zf.forEach(m=>{v.addEventListener(m,g=>{n(m,{},g.detail)})}),U(()=>s.value,m=>v.setStyles(m),{deep:!0}),U(()=>o,m=>v.setStyles(m),{deep:!0}),U(()=>l.value,m=>{v[m?"hide":"show"](),m||v.setStyles(o)})});var c=pn();return gn((m,g)=>{if(Rw.includes(m)){var _;switch(m){case"seek":_=g.position;break;case"sendDanmu":_=g;break;case"playbackRate":_=g.rate;break;case"requestFullScreen":_=g.direction;break}v&&v[m](_)}},c,!0),xe(()=>{v&&v.close()}),()=>I("uni-video",{ref:i,id:e.id},[I("div",{ref:a,class:"uni-video-container"},null,512),I("div",{class:"uni-video-slot"},null)],8,["id"])}});class Lw extends _e{constructor(t,r,i,n){super(t,"uni-video",Pw,r,i,n,".uni-video-slot")}}var Xy="",Nw={src:{type:String,default:""},webviewStyles:{type:Object,default(){return{}}}},Xe,kw=e=>{var{htmlId:t,src:r,webviewStyles:i}=e,n=plus.webview.currentWebview(),a=ce(i,{"uni-app":"none",isUniH5:!0}),s=n.getTitleNView();if(s){var o=Eo+parseFloat(a.top||"0");plus.navigator.isImmersedStatusbar()&&(o+=Df()),a.top=String(o),a.bottom=a.bottom||"0"}Xe=plus.webview.create(r,t,a),s&&Xe.addEventListener("titleUpdate",function(){var l,u=(l=Xe)===null||l===void 0?void 0:l.getTitle();n.setStyle({titleNView:{titleText:!u||u==="null"?" ":u}})}),plus.webview.currentWebview().append(Xe)},Bw=()=>{var e;plus.webview.currentWebview().remove(Xe),(e=Xe)===null||e===void 0||e.close("none"),Xe=null},Dw=de({name:"WebView",props:Nw,setup(e){var t=Ct(),r=$(null),{hidden:i,onParentReady:n}=Xr(r),a=Q(()=>e.webviewStyles);return n(()=>{var s,o=$($p+t);kw({htmlId:o.value,src:et(e.src),webviewStyles:a.value}),UniViewJSBridge.publishHandler(Dp,{},t),i.value&&((s=Xe)===null||s===void 0||s.hide())}),xe(()=>{Bw(),UniViewJSBridge.publishHandler(Fp,{},t)}),U(()=>e.src,s=>{var o,l=et(s)||"";if(!!l){if(/^(http|https):\/\//.test(l)&&e.webviewStyles.progress){var u;(u=Xe)===null||u===void 0||u.setStyle({progress:{color:e.webviewStyles.progress.color}})}(o=Xe)===null||o===void 0||o.loadURL(l)}}),U(a,s=>{var o;(o=Xe)===null||o===void 0||o.setStyle(s)}),U(i,s=>{Xe&&Xe[s?"hide":"show"]()}),()=>I("uni-web-view",{ref:r},null,512)}});class Fw extends _e{constructor(t,r,i,n){super(t,"uni-web-view",Dw,r,i,n)}}var $w={"#text":Tb,"#comment":$m,VIEW:Ib,IMAGE:Kb,TEXT:xb,NAVIGATOR:ow,FORM:Yb,BUTTON:Lb,INPUT:Gb,LABEL:Zb,RADIO:yw,CHECKBOX:Bb,"CHECKBOX-GROUP":Db,AD:Pb,CAMERA:Nb,CANVAS:kb,"COVER-IMAGE":Vb,"COVER-VIEW":jb,EDITOR:zb,"FUNCTIONAL-PAGE-NAVIGATOR":qb,ICON:Xb,"RADIO-GROUP":Sw,"LIVE-PLAYER":Jb,"LIVE-PUSHER":Qb,MAP:nw,"MOVABLE-AREA":aw,"MOVABLE-VIEW":sw,"OFFICIAL-ACCOUNT":lw,"OPEN-DATA":uw,PICKER:mw,"PICKER-VIEW":_w,"PICKER-VIEW-COLUMN":bw,PROGRESS:ww,"RICH-TEXT":xw,"SCROLL-VIEW":Tw,SLIDER:Ew,SWIPER:Cw,"SWIPER-ITEM":Ow,SWITCH:Iw,TEXTAREA:Mw,VIDEO:Lw,"WEB-VIEW":Fw};function Ww(e,t){return()=>Fg(e,t)}var wn=new Map;function Ke(e){return wn.get(e)}function Uw(e){return wn.get(e)}function Yf(e){return wn.delete(e)}function qf(e,t,r,i){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},a;if(e===0)a=new lr(e,t,r,document.createElement(t));else{var s=$w[t];s?a=new s(e,r,i,n):a=new Hu(e,document.createElement(t),r,i,n)}return wn.set(e,a),a}var Is=[],Xf=!1;function Kf(e){if(Xf)return e();Is.push(e)}function Ms(){Xf=!0,Is.forEach(e=>e()),Is.length=0}function Vw(){}function Gf(e){var{css:t,route:r,platform:i,pixelRatio:n,windowWidth:a,disableScroll:s,statusbarHeight:o,windowTop:l,windowBottom:u}=e;Hw(r),jw(i,n,a),zw();var v=plus.webview.currentWebview().id;window.__id__=v,document.title="".concat(r,"[").concat(v,"]"),qw(o,l,u),s&&document.addEventListener("touchmove",Ip),t?Yw(r):Ms()}function Hw(e){window.__PAGE_INFO__={route:e}}function jw(e,t,r){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:r}}function zw(){qf(0,"div",-1,-1).$=document.getElementById("app")}function Yw(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=Ms,t.onerror=Ms,document.head.appendChild(t)}function qw(e,t,r){var i={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":r+"px","--status-bar-height":e+"px"};mp(i)}var Zf=!1;function Xw(e){if(!Zf){Zf=!0;var t={onReachBottomDistance:e,onPageScroll(r){UniViewJSBridge.publishHandler(Qv,{scrollTop:r})},onReachBottom(){UniViewJSBridge.publishHandler(ed)}};requestAnimationFrame(()=>document.addEventListener("scroll",Mp(t)))}}function Kw(e,t){var{scrollTop:r,selector:i,duration:n}=e;id(i||r||0,n),t()}function Gw(e){var t=e[0];t[0]===Po?Zw(t):Kf(()=>Jw(e))}function Zw(e){return Gf(e[1])}function Jw(e){var t=e[0],r=bm(t[0]===Bp?t[1]:[]);e.forEach(i=>{switch(i[0]){case Po:return Gf(i[1]);case cd:return Vw();case vd:return qf(i[1],r(i[2]),i[3],i[4],wm(r,i[5]));case dd:return Ke(i[1]).remove();case hd:return Ke(i[1]).setAttr(r(i[2]),r(i[3]));case gd:return Ke(i[1]).removeAttr(r(i[2]));case pd:return Ke(i[1]).addEvent(r(i[2]),i[3]);case bd:return Ke(i[1]).addWxsEvent(r(i[2]),r(i[3]),i[4]);case md:return Ke(i[1]).removeEvent(r(i[2]));case _d:return Ke(i[1]).setText(r(i[2]));case wd:return Xw(i[1])}}),Tm()}function Qw(){var{subscribe:e}=UniViewJSBridge;e(_u,Gw),e(Wp,He().setLocale),e(bu,ey)}function ey(){UniViewJSBridge.publishHandler("webviewReady")}function Jf(e){return window.__$__(e).$}function ty(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 r=document.documentElement,i=document.body;t.scrollLeft=r.scrollLeft||i.scrollLeft||0,t.scrollTop=r.scrollTop||i.scrollTop||0,t.scrollHeight=r.scrollHeight||i.scrollHeight||0,t.scrollWidth=r.scrollWidth||i.scrollWidth||0}return t}function As(e,t){var r={},{top:i}=pp();if(t.id&&(r.id=e.id),t.dataset&&(r.dataset=Qn(e)),t.rect||t.size){var n=e.getBoundingClientRect();t.rect&&(r.left=n.left,r.right=n.right,r.top=n.top-i,r.bottom=n.bottom-i),t.size&&(r.width=n.width,r.height=n.height)}if(Array.isArray(t.properties)&&t.properties.forEach(o=>{o=o.replace(/-([a-z])/g,function(l,u){return u.toUpperCase()})}),t.scrollOffset)if(e.tagName==="UNI-SCROLL-VIEW"){var a=e.children[0].children[0];r.scrollLeft=a.scrollLeft,r.scrollTop=a.scrollTop,r.scrollHeight=a.scrollHeight,r.scrollWidth=a.scrollWidth}else r.scrollLeft=0,r.scrollTop=0,r.scrollHeight=0,r.scrollWidth=0;if(Array.isArray(t.computedStyle)){var s=getComputedStyle(e);t.computedStyle.forEach(o=>{r[o]=s[o]})}return t.context&&(r.contextInfo=yb(e)),r}function ry(e,t){return e?window.__$__(e).$:t.$el}function Qf(e,t){var r=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(i){for(var n=this.parentElement.querySelectorAll(i),a=n.length;--a>=0&&n.item(a)!==this;);return a>-1};return r.call(e,t)}function iy(e,t,r,i,n){var a=ry(t,e),s=a.parentElement;if(!s)return i?null:[];var{nodeType:o}=a,l=o===3||o===8;if(i){var u=l?s.querySelector(r):Qf(a,r)?a:a.querySelector(r);return u?As(u,n):null}else{var v=[],c=(l?s:a).querySelectorAll(r);return c&&c.length&&[].forEach.call(c,m=>{v.push(As(m,n))}),!l&&Qf(a,r)&&v.unshift(As(a,n)),v}}function ny(e,t,r){var i=[];t.forEach(n=>{var{component:a,selector:s,single:o,fields:l}=n;a===null?i.push(ty(l)):i.push(iy(e,a,s,o,l))}),r(i)}function ay(e,t){var{pageStyle:r,rootFontSize:i}=t;if(r){var n=document.querySelector("uni-page-body")||document.body;n.setAttribute("style",r)}i&&document.documentElement.style.fontSize!==i&&(document.documentElement.style.fontSize=i)}function sy(e,t){var{reqId:r,component:i,options:n,callback:a}=e,s=Jf(i);(s.__io||(s.__io={}))[r]=cm(s,n,a)}function oy(e,t){var{reqId:r,component:i}=e,n=Jf(i),a=n.__io&&n.__io[r];a&&(a.disconnect(),delete n.__io[r])}var Rs={},Ps={};function ly(e){var t=[],r=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"];for(var i of r)i!=="orientation"&&e[i]&&Number(e[i]>=0)&&t.push("(".concat(ec(i),": ").concat(Number(e[i]),"px)")),i==="orientation"&&e[i]&&t.push("(".concat(ec(i),": ").concat(e[i],")"));var n=t.join(" and ");return n}function ec(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function uy(e,t){var{reqId:r,component:i,options:n,callback:a}=e,s=Rs[r]=window.matchMedia(ly(n)),o=Ps[r]=l=>a(l.matches);o(s),s.addListener(o)}function fy(e,t){var{reqId:r,component:i}=e,n=Ps[r],a=Rs[r];a&&(a.removeListener(n),delete Ps[r],delete Rs[r])}function cy(e,t){var{family:r,source:i,desc:n}=e;rd(r,i,n).then(()=>{t()}).catch(a=>{t(a.toString())})}var vy={$el:document.body};function dy(){var e=Ct();Yd(e,t=>function(){for(var r=arguments.length,i=new Array(r),n=0;n{t.apply(null,i)})}),at(e,"requestComponentInfo",(t,r)=>{ny(vy,t.reqs,r)}),at(e,"addIntersectionObserver",t=>{sy(ce({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),at(e,"removeIntersectionObserver",t=>{oy(t)}),at(e,"addMediaQueryObserver",t=>{uy(ce({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),at(e,"removeMediaQueryObserver",t=>{fy(t)}),at(e,lm,Kw),at(e,om,cy),at(e,sm,t=>{ay(null,t)})}window.uni=mm,window.UniViewJSBridge=wu,window.rpx2px=Cu,window.__$__=Ke,window.__f__=od;function tc(){th(),dy(),Qw(),_m(),wu.publishHandler(bu)}typeof plus!="undefined"?tc():document.addEventListener("plusready",tc)}); +(function(Sn){typeof define=="function"&&define.amd?define(Sn):Sn()})(function(){"use strict";var Sn="",gy="",py="",Gt={exports:{}},Jr={exports:{}},Qr={exports:{}},sc=Qr.exports={version:"2.6.12"};typeof __e=="number"&&(__e=sc);var pt={exports:{}},ei=pt.exports=typeof ei!="undefined"&&ei.Math==Math?ei:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=ei);var oc=Qr.exports,ks=pt.exports,Bs="__core-js_shared__",Ds=ks[Bs]||(ks[Bs]={});(Jr.exports=function(e,t){return Ds[e]||(Ds[e]=t!==void 0?t:{})})("versions",[]).push({version:oc.version,mode:"window",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"});var lc=0,uc=Math.random(),xn=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++lc+uc).toString(36))},Tn=Jr.exports("wks"),fc=xn,En=pt.exports.Symbol,Fs=typeof En=="function",cc=Gt.exports=function(e){return Tn[e]||(Tn[e]=Fs&&En[e]||(Fs?En:fc)("Symbol."+e))};cc.store=Tn;var ti={},Cn=function(e){return typeof e=="object"?e!==null:typeof e=="function"},vc=Cn,On=function(e){if(!vc(e))throw TypeError(e+" is not an object!");return e},ri=function(e){try{return!!e()}catch(t){return!0}},hr=!ri(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),$s=Cn,In=pt.exports.document,dc=$s(In)&&$s(In.createElement),Ws=function(e){return dc?In.createElement(e):{}},hc=!hr&&!ri(function(){return Object.defineProperty(Ws("div"),"a",{get:function(){return 7}}).a!=7}),ii=Cn,gc=function(e,t){if(!ii(e))return e;var r,i;if(t&&typeof(r=e.toString)=="function"&&!ii(i=r.call(e))||typeof(r=e.valueOf)=="function"&&!ii(i=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!ii(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Us=On,pc=hc,mc=gc,_c=Object.defineProperty;ti.f=hr?Object.defineProperty:function(t,r,i){if(Us(t),r=mc(r,!0),Us(i),pc)try{return _c(t,r,i)}catch(n){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[r]=i.value),t};var Vs=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},bc=ti,wc=Vs,Zt=hr?function(e,t,r){return bc.f(e,t,wc(1,r))}:function(e,t,r){return e[t]=r,e},Mn=Gt.exports("unscopables"),An=Array.prototype;An[Mn]==null&&Zt(An,Mn,{});var yc=function(e){An[Mn][e]=!0},Sc=function(e,t){return{value:t,done:!!e}},Rn={},xc={}.toString,Tc=function(e){return xc.call(e).slice(8,-1)},Ec=Tc,Cc=Object("z").propertyIsEnumerable(0)?Object:function(e){return Ec(e)=="String"?e.split(""):Object(e)},Hs=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},Oc=Cc,Ic=Hs,ni=function(e){return Oc(Ic(e))},ai={exports:{}},Mc={}.hasOwnProperty,si=function(e,t){return Mc.call(e,t)},Ac=Jr.exports("native-function-to-string",Function.toString),Rc=pt.exports,oi=Zt,js=si,Pn=xn("src"),Ln=Ac,zs="toString",Pc=(""+Ln).split(zs);Qr.exports.inspectSource=function(e){return Ln.call(e)},(ai.exports=function(e,t,r,i){var n=typeof r=="function";n&&(js(r,"name")||oi(r,"name",t)),e[t]!==r&&(n&&(js(r,Pn)||oi(r,Pn,e[t]?""+e[t]:Pc.join(String(t)))),e===Rc?e[t]=r:i?e[t]?e[t]=r:oi(e,t,r):(delete e[t],oi(e,t,r)))})(Function.prototype,zs,function(){return typeof this=="function"&&this[Pn]||Ln.call(this)});var Ys=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},Lc=Ys,Nc=function(e,t,r){if(Lc(e),t===void 0)return e;switch(r){case 1:return function(i){return e.call(t,i)};case 2:return function(i,n){return e.call(t,i,n)};case 3:return function(i,n,a){return e.call(t,i,n,a)}}return function(){return e.apply(t,arguments)}},Jt=pt.exports,li=Qr.exports,kc=Zt,Bc=ai.exports,qs=Nc,Nn="prototype",De=function(e,t,r){var i=e&De.F,n=e&De.G,a=e&De.S,s=e&De.P,o=e&De.B,l=n?Jt:a?Jt[t]||(Jt[t]={}):(Jt[t]||{})[Nn],u=n?li:li[t]||(li[t]={}),v=u[Nn]||(u[Nn]={}),c,m,g,_;n&&(r=t);for(c in r)m=!i&&l&&l[c]!==void 0,g=(m?l:r)[c],_=o&&m?qs(g,Jt):s&&typeof g=="function"?qs(Function.call,g):g,l&&Bc(l,c,g,e&De.U),u[c]!=g&&kc(u,c,_),s&&v[c]!=g&&(v[c]=g)};Jt.core=li,De.F=1,De.G=2,De.S=4,De.P=8,De.B=16,De.W=32,De.U=64,De.R=128;var kn=De,Dc=Math.ceil,Fc=Math.floor,Xs=function(e){return isNaN(e=+e)?0:(e>0?Fc:Dc)(e)},$c=Xs,Wc=Math.min,Uc=function(e){return e>0?Wc($c(e),9007199254740991):0},Vc=Xs,Hc=Math.max,jc=Math.min,zc=function(e,t){return e=Vc(e),e<0?Hc(e+t,0):jc(e,t)},Yc=ni,qc=Uc,Xc=zc,Kc=function(e){return function(t,r,i){var n=Yc(t),a=qc(n.length),s=Xc(i,a),o;if(e&&r!=r){for(;a>s;)if(o=n[s++],o!=o)return!0}else for(;a>s;s++)if((e||s in n)&&n[s]===r)return e||s||0;return!e&&-1}},Ks=Jr.exports("keys"),Gc=xn,Bn=function(e){return Ks[e]||(Ks[e]=Gc(e))},Gs=si,Zc=ni,Jc=Kc(!1),Qc=Bn("IE_PROTO"),ev=function(e,t){var r=Zc(e),i=0,n=[],a;for(a in r)a!=Qc&&Gs(r,a)&&n.push(a);for(;t.length>i;)Gs(r,a=t[i++])&&(~Jc(n,a)||n.push(a));return n},Zs="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),tv=ev,rv=Zs,Dn=Object.keys||function(t){return tv(t,rv)},iv=ti,nv=On,av=Dn,sv=hr?Object.defineProperties:function(t,r){nv(t);for(var i=av(r),n=i.length,a=0,s;n>a;)iv.f(t,s=i[a++],r[s]);return t},Js=pt.exports.document,ov=Js&&Js.documentElement,lv=On,uv=sv,Qs=Zs,fv=Bn("IE_PROTO"),Fn=function(){},$n="prototype",ui=function(){var e=Ws("iframe"),t=Qs.length,r="<",i=">",n;for(e.style.display="none",ov.appendChild(e),e.src="javascript:",n=e.contentWindow.document,n.open(),n.write(r+"script"+i+"document.F=Object"+r+"/script"+i),n.close(),ui=n.F;t--;)delete ui[$n][Qs[t]];return ui()},cv=Object.create||function(t,r){var i;return t!==null?(Fn[$n]=lv(t),i=new Fn,Fn[$n]=null,i[fv]=t):i=ui(),r===void 0?i:uv(i,r)},vv=ti.f,dv=si,eo=Gt.exports("toStringTag"),to=function(e,t,r){e&&!dv(e=r?e:e.prototype,eo)&&vv(e,eo,{configurable:!0,value:t})},hv=cv,gv=Vs,pv=to,ro={};Zt(ro,Gt.exports("iterator"),function(){return this});var mv=function(e,t,r){e.prototype=hv(ro,{next:gv(1,r)}),pv(e,t+" Iterator")},_v=Hs,io=function(e){return Object(_v(e))},bv=si,wv=io,no=Bn("IE_PROTO"),yv=Object.prototype,Sv=Object.getPrototypeOf||function(e){return e=wv(e),bv(e,no)?e[no]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?yv:null},Wn=kn,xv=ai.exports,ao=Zt,so=Rn,Tv=mv,Ev=to,Cv=Sv,gr=Gt.exports("iterator"),Un=!([].keys&&"next"in[].keys()),Ov="@@iterator",oo="keys",fi="values",lo=function(){return this},Iv=function(e,t,r,i,n,a,s){Tv(r,t,i);var o=function(f){if(!Un&&f in c)return c[f];switch(f){case oo:return function(){return new r(this,f)};case fi:return function(){return new r(this,f)}}return function(){return new r(this,f)}},l=t+" Iterator",u=n==fi,v=!1,c=e.prototype,m=c[gr]||c[Ov]||n&&c[n],g=m||o(n),_=n?u?o("entries"):g:void 0,b=t=="Array"&&c.entries||m,w,p,h;if(b&&(h=Cv(b.call(new e)),h!==Object.prototype&&h.next&&(Ev(h,l,!0),typeof h[gr]!="function"&&ao(h,gr,lo))),u&&m&&m.name!==fi&&(v=!0,g=function(){return m.call(this)}),(Un||v||!c[gr])&&ao(c,gr,g),so[t]=g,so[l]=lo,n)if(w={values:u?g:o(fi),keys:a?g:o(oo),entries:_},s)for(p in w)p in c||xv(c,p,w[p]);else Wn(Wn.P+Wn.F*(Un||v),t,w);return w},Vn=yc,ci=Sc,uo=Rn,Mv=ni,Av=Iv(Array,"Array",function(e,t){this._t=Mv(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,ci(1)):t=="keys"?ci(0,r):t=="values"?ci(0,e[r]):ci(0,[r,e[r]])},"values");uo.Arguments=uo.Array,Vn("keys"),Vn("values"),Vn("entries");for(var fo=Av,Rv=Dn,Pv=ai.exports,Lv=pt.exports,co=Zt,vo=Rn,ho=Gt.exports,go=ho("iterator"),po=ho("toStringTag"),mo=vo.Array,_o={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},bo=Rv(_o),Hn=0;Hn!!r[a.toLowerCase()]:a=>!!r[a]}var kv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Bv=hi(kv);function yo(e){return!!e||e===""}var Dv=hi("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width");function jn(e){if(oe(e)){for(var t={},r=0;r{if(r){var i=r.split($v);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function Wv(e){var t="";if(!e||ye(e))return t;for(var r in e){var i=e[r],n=r.startsWith("--")?r:Ve(r);(ye(i)||typeof i=="number"&&Dv(n))&&(t+="".concat(n,":").concat(i,";"))}return t}function zn(e){var t="";if(ye(e))t=e;else if(oe(e))for(var r=0;r{},Uv=()=>!1,Vv=/^on[^a-z]/,gi=e=>Vv.test(e),Yn=e=>e.startsWith("onUpdate:"),ce=Object.assign,xo=(e,t)=>{var r=e.indexOf(t);r>-1&&e.splice(r,1)},Hv=Object.prototype.hasOwnProperty,te=(e,t)=>Hv.call(e,t),oe=Array.isArray,mr=e=>_r(e)==="[object Map]",jv=e=>_r(e)==="[object Set]",ae=e=>typeof e=="function",ye=e=>typeof e=="string",qn=e=>typeof e=="symbol",Be=e=>e!==null&&typeof e=="object",To=e=>Be(e)&&ae(e.then)&&ae(e.catch),zv=Object.prototype.toString,_r=e=>zv.call(e),Xn=e=>_r(e).slice(8,-1),it=e=>_r(e)==="[object Object]",Kn=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,pi=hi(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),mi=e=>{var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}},Yv=/-(\w)/g,mt=mi(e=>e.replace(Yv,(t,r)=>r?r.toUpperCase():"")),qv=/\B([A-Z])/g,Ve=mi(e=>e.replace(qv,"-$1").toLowerCase()),_i=mi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Gn=mi(e=>e?"on".concat(_i(e)):""),br=(e,t)=>!Object.is(e,t),Zn=(e,t)=>{for(var r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Xv=e=>{var t=parseFloat(e);return isNaN(t)?e:t},Eo,Kv=()=>Eo||(Eo=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"||typeof window!="undefined"?window:{}),wr=` +`,Co=44,wi="#007aff",Gv=/^([a-z-]+:)?\/\//i,Zv=/^data:.*,.*/,Oo="wxs://",Io="json://",Jv="wxsModules",Qv="renderjsModules",ed="onPageScroll",td="onReachBottom",rd="onWxsInvokeCallMethod",Jn=0;function Qn(e){var t=Date.now(),r=Jn?t-Jn:0;Jn=t;for(var i=arguments.length,n=new Array(i>1?i-1:0),a=1;aJSON.stringify(s)).join(" "))}function ea(e){return ce({},e.dataset,e.__uniDataset)}function ta(e){return{passive:e}}function ra(e){var{id:t,offsetTop:r,offsetLeft:i}=e;return{id:t,dataset:ea(e),offsetTop:r,offsetLeft:i}}function id(e,t,r){var i=document.fonts;if(i){var n=new FontFace(e,t,r);return n.load().then(()=>{i.add&&i.add(n)})}return new Promise(a=>{var s=document.createElement("style"),o=[];if(r){var{style:l,weight:u,stretch:v,unicodeRange:c,variant:m,featureSettings:g}=r;l&&o.push("font-style:".concat(l)),u&&o.push("font-weight:".concat(u)),v&&o.push("font-stretch:".concat(v)),c&&o.push("unicode-range:".concat(c)),m&&o.push("font-variant:".concat(m)),g&&o.push("font-feature-settings:".concat(g))}s.innerText='@font-face{font-family:"'.concat(e,'";src:').concat(t,";").concat(o.join(";"),"}"),document.head.appendChild(s),a()})}function nd(e,t){if(ye(e)){var r=document.querySelector(e);r&&(e=r.getBoundingClientRect().top+window.pageYOffset)}e<0&&(e=0);var i=document.documentElement,{clientHeight:n,scrollHeight:a}=i;if(e=Math.min(e,a-n),t===0){i.scrollTop=document.body.scrollTop=e;return}if(window.scrollY!==e){var s=o=>{if(o<=0){window.scrollTo(0,e);return}var l=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+l/o*10),s(o-10)})};s(t)}}function ad(){return typeof __channelId__=="string"&&__channelId__}function sd(e,t){switch(Xn(t)){case"Function":return"function() { [native code] }";default:return t}}function od(e,t,r){if(ad())return r.push(t.replace("at ","uni-app:///")),console[e].apply(console,r);var i=r.map(function(n){var a=_r(n).toLowerCase();if(a==="[object object]"||a==="[object array]")try{n="---BEGIN:JSON---"+JSON.stringify(n,sd)+"---END:JSON---"}catch(o){n=a}else if(n===null)n="---NULL---";else if(n===void 0)n="---UNDEFINED---";else{var s=Xn(n).toUpperCase();s==="NUMBER"||s==="BOOLEAN"?n="---BEGIN:"+s+"---"+n+"---END:"+s+"---":n=String(n)}return n});return i.join("---COMMA---")+" "+t}function ld(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),n=2;n{var i=t[r];return i||(t[r]=e(r))}}function Td(e){return xd(e)}function oa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r;return function(){if(e){for(var i=arguments.length,n=new Array(i),a=0;ae.apply(this,arguments);r=setTimeout(n,t)};return i.cancel=function(){clearTimeout(r)},i}var Cd=Array.isArray,Od=e=>e!==null&&typeof e=="object",Id=["{","}"];class Md{constructor(){this._caches=Object.create(null)}interpolate(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Id;if(!r)return[t];var n=this._caches[t];return n||(n=Pd(t,i),this._caches[t]=n),Ld(n,r)}}var Ad=/^(?:\d)+/,Rd=/^(?:\w)+/;function Pd(e,t){for(var[r,i]=t,n=[],a=0,s="";aNd.call(e,t),kd=new Md;function Bd(e,t){return!!t.find(r=>e.indexOf(r)!==-1)}function Dd(e,t){return t.find(r=>e.indexOf(r)===0)}function Bo(e,t){if(!!e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e==="chinese")return yr;if(e.indexOf("zh")===0)return e.indexOf("-hans")>-1?yr:e.indexOf("-hant")>-1||Bd(e,["-tw","-hk","-mo","-cht"])?Si:yr;var r=Dd(e,[_t,la,ua]);if(r)return r}}class Fd{constructor(t){var{locale:r,fallbackLocale:i,messages:n,watcher:a,formater:s}=t;this.locale=_t,this.fallbackLocale=_t,this.message={},this.messages={},this.watchers=[],i&&(this.fallbackLocale=i),this.formater=s||kd,this.messages=n||{},this.setLocale(r||_t),a&&this.watchLocale(a)}setLocale(t){var r=this.locale;this.locale=Bo(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],r!==this.locale&&this.watchers.forEach(i=>{i(this.locale,r)})}getLocale(){return this.locale}watchLocale(t){var r=this.watchers.push(t)-1;return()=>{this.watchers.splice(r,1)}}add(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,n=this.messages[t];n?i?Object.assign(n,r):Object.keys(r).forEach(a=>{ko(n,a)||(n[a]=r[a])}):this.messages[t]=r}f(t,r,i){return this.formater.interpolate(t,r,i).join("")}t(t,r,i){var n=this.message;return typeof r=="string"?(r=Bo(r,this.messages),r&&(n=this.messages[r])):i=r,ko(n,t)?this.formater.interpolate(n[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}function $d(e,t){e.$watchLocale?e.$watchLocale(r=>{t.setLocale(r)}):e.$watch(()=>e.$locale,r=>{t.setLocale(r)})}function Wd(){return typeof uni!="undefined"&&uni.getLocale?uni.getLocale():typeof window!="undefined"&&window.getLocale?window.getLocale():_t}function Ud(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;typeof e!="string"&&([e,t]=[t,e]),typeof e!="string"&&(e=Wd()),typeof r!="string"&&(r=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||_t);var n=new Fd({locale:e,fallbackLocale:r,messages:t,watcher:i}),a=(s,o)=>{if(typeof getApp!="function")a=function(u,v){return n.t(u,v)};else{var l=!1;a=function(u,v){var c=getApp().$vm;return c&&(c.$locale,l||(l=!0,$d(c,n))),n.t(u,v)}}return a(s,o)};return{i18n:n,f(s,o,l){return n.f(s,o,l)},t(s,o){return a(s,o)},add(s,o){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return n.add(s,o,l)},watch(s){return n.watchLocale(s)},getLocale(){return n.getLocale()},setLocale(s){return n.setLocale(s)}}}var fa;function He(){if(!fa){var e;typeof getApp=="function"?e=weex.requireModule("plus").getLanguage():e=plus.webview.currentWebview().getStyle().locale,fa=Ud(e)}return fa}function nt(e,t,r){return t.reduce((i,n,a)=>(i[e+n]=r[a],i),{})}var Vd=oa(()=>{var e="uni.picker.",t=["done","cancel"];He().add(_t,nt(e,t,["Done","Cancel"]),!1),He().add(ua,nt(e,t,["OK","Cancelar"]),!1),He().add(la,nt(e,t,["OK","Annuler"]),!1),He().add(yr,nt(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1),He().add(Si,nt(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1)}),Hd=oa(()=>{var e="uni.button.",t=["feedback.title","feedback.send"];He().add(_t,nt(e,t,["feedback","send"]),!1),He().add(ua,nt(e,t,["realimentaci\xF3n","enviar"]),!1),He().add(la,nt(e,t,["retour d'information","envoyer"]),!1),He().add(yr,nt(e,t,["\u95EE\u9898\u53CD\u9988","\u53D1\u9001"]),!1),He().add(Si,nt(e,t,["\u554F\u984C\u53CD\u994B","\u767C\u9001"]),!1)}),Do=function(){};Do.prototype={on:function(e,t,r){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){var i=this;function n(){i.off(e,n),t.apply(r,arguments)}return n._=t,this.on(e,n,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),i=0,n=r.length;for(i;i1?i-1:0),a=1;a2&&arguments[2]!==void 0?arguments[2]:!1;t[n?"once":"on"]("".concat(e,".").concat(r),i)},unsubscribe(r,i){t.off("".concat(e,".").concat(r),i)},subscribeHandler(r,i,n){t.emit("".concat(e,".").concat(r),i,n)}}}var Fo="invokeViewApi",$o="invokeServiceApi",zd=1,Yd=(e,t,r)=>{var{subscribe:i,publishHandler:n}=UniViewJSBridge,a=r?zd++:0;r&&i($o+"."+a,r,!0),n($o,{id:a,name:e,args:t})},xi=Object.create(null);function Ti(e,t){return e+"."+t}function qd(e,t){UniViewJSBridge.subscribe(Ti(e,Fo),t?t(Wo):Wo)}function at(e,t,r){t=Ti(e,t),xi[t]||(xi[t]=r)}function Xd(e,t){t=Ti(e,t),delete xi[t]}function Wo(e,t){var{id:r,name:i,args:n}=e;i=Ti(t,i);var a=o=>{r&&UniViewJSBridge.publishHandler(Fo+"."+r,o)},s=xi[i];s?s(n,a):a({})}var Kd=ce(jd("service"),{invokeServiceMethod:Yd}),Gd=350,Uo=10,Ei=ta(!0),Sr;function xr(){Sr&&(clearTimeout(Sr),Sr=null)}var Vo=0,Ho=0;function Zd(e){if(xr(),e.touches.length===1){var{pageX:t,pageY:r}=e.touches[0];Vo=t,Ho=r,Sr=setTimeout(function(){var i=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});i.touches=e.touches,i.changedTouches=e.changedTouches,e.target.dispatchEvent(i)},Gd)}}function Jd(e){if(!!Sr){if(e.touches.length!==1)return xr();var{pageX:t,pageY:r}=e.touches[0];if(Math.abs(t-Vo)>Uo||Math.abs(r-Ho)>Uo)return xr()}}function Qd(){window.addEventListener("touchstart",Zd,Ei),window.addEventListener("touchmove",Jd,Ei),window.addEventListener("touchend",xr,Ei),window.addEventListener("touchcancel",xr,Ei)}function jo(e,t){var r=Number(e);return isNaN(r)?t:r}function eh(){var e=/^Apple/.test(navigator.vendor)&&typeof window.orientation=="number",t=e&&Math.abs(window.orientation)===90,r=e?Math[t?"max":"min"](screen.width,screen.height):screen.width,i=Math.min(window.innerWidth,document.documentElement.clientWidth,r)||r;return i}function th(){function e(){var t=__uniConfig.globalStyle||{},r=jo(t.rpxCalcMaxDeviceWidth,960),i=jo(t.rpxCalcBaseDeviceWidth,375),n=eh();n=n<=r?n:i,document.documentElement.style.fontSize=n/23.4375+"px"}e(),document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e),window.addEventListener("resize",e)}function rh(){th(),Qd()}var ih=ri,nh=function(e,t){return!!e&&ih(function(){t?e.call(null,function(){},1):e.call(null)})},ca=kn,ah=Ys,zo=io,Yo=ri,va=[].sort,qo=[1,2,3];ca(ca.P+ca.F*(Yo(function(){qo.sort(void 0)})||!Yo(function(){qo.sort(null)})||!nh(va)),"Array",{sort:function(t){return t===void 0?va.call(zo(this)):va.call(zo(this),ah(t))}});var Lt,Ci=[];class sh{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.active=!0,this.effects=[],this.cleanups=[],!t&&Lt&&(this.parent=Lt,this.index=(Lt.scopes||(Lt.scopes=[])).push(this)-1)}run(t){if(this.active)try{return this.on(),t()}finally{this.off()}}on(){this.active&&(Ci.push(this),Lt=this)}off(){this.active&&(Ci.pop(),Lt=Ci[Ci.length-1])}stop(t){if(this.active){if(this.effects.forEach(i=>i.stop()),this.cleanups.forEach(i=>i()),this.scopes&&this.scopes.forEach(i=>i.stop(!0)),this.parent&&!t){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function oh(e,t){t=t||Lt,t&&t.active&&t.effects.push(e)}var da=e=>{var t=new Set(e);return t.w=0,t.n=0,t},Xo=e=>(e.w&bt)>0,Ko=e=>(e.n&bt)>0,lh=e=>{var{deps:t}=e;if(t.length)for(var r=0;r{var{deps:t}=e;if(t.length){for(var r=0,i=0;i1&&arguments[1]!==void 0?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0;this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],oh(this,i)}run(){if(!this.active)return this.fn();if(!Er.includes(this))try{return Er.push(Nt=this),fh(),bt=1<<++Tr,Tr<=ga?lh(this):Go(this),this.fn()}finally{Tr<=ga&&uh(this),bt=1<<--Tr,Bt(),Er.pop();var t=Er.length;Nt=t>0?Er[t-1]:void 0}}stop(){this.active&&(Go(this),this.onStop&&this.onStop(),this.active=!1)}}function Go(e){var{deps:t}=e;if(t.length){for(var r=0;r{(c==="length"||c>=i)&&o.push(v)});else switch(r!==void 0&&o.push(s.get(r)),t){case"add":oe(e)?Kn(r)&&o.push(s.get("length")):(o.push(s.get(kt)),mr(e)&&o.push(s.get(pa)));break;case"delete":oe(e)||(o.push(s.get(kt)),mr(e)&&o.push(s.get(pa)));break;case"set":mr(e)&&o.push(s.get(kt));break}if(o.length===1)o[0]&&ba(o[0]);else{var l=[];for(var u of o)u&&l.push(...u);ba(da(l))}}}function ba(e,t){for(var r of oe(e)?e:[...e])(r!==Nt||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}var ch=hi("__proto__,__v_isRef,__isVue"),Qo=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(qn)),vh=wa(),dh=wa(!1,!0),hh=wa(!0),el=gh();function gh(){var e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(){for(var r=ge(this),i=0,n=this.length;i{e[t]=function(){tr();for(var r=arguments.length,i=new Array(r),n=0;n0&&arguments[0]!==void 0?arguments[0]:!1,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return function(i,n,a){if(n==="__v_isReactive")return!e;if(n==="__v_isReadonly")return e;if(n==="__v_raw"&&a===(e?t?Rh:ul:t?ll:ol).get(i))return i;var s=oe(i);if(!e&&s&&te(el,n))return Reflect.get(el,n,a);var o=Reflect.get(i,n,a);if((qn(n)?Qo.has(n):ch(n))||(e||je(i,"get",n),t))return o;if(We(o)){var l=!s||!Kn(n);return l?o.value:o}return Be(o)?e?fl(o):Ee(o):o}}var ph=tl(),mh=tl(!0);function tl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return function(r,i,n,a){var s=r[i];if(!e&&(n=ge(n),s=ge(s),!oe(r)&&We(s)&&!We(n)))return s.value=n,!0;var o=oe(r)&&Kn(i)?Number(i)e,Oi=e=>Reflect.getPrototypeOf(e);function Ii(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e=e.__v_raw;var n=ge(e),a=ge(t);t!==a&&!r&&je(n,"get",t),!r&&je(n,"get",a);var{has:s}=Oi(n),o=i?ya:r?Ta:Cr;if(s.call(n,t))return o(e.get(t));if(s.call(n,a))return o(e.get(a));e!==n&&e.get(t)}function Mi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.__v_raw,i=ge(r),n=ge(e);return e!==n&&!t&&je(i,"has",e),!t&&je(i,"has",n),e===n?r.has(e):r.has(e)||r.has(n)}function Ai(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e=e.__v_raw,!t&&je(ge(e),"iterate",kt),Reflect.get(e,"size",e)}function il(e){e=ge(e);var t=ge(this),r=Oi(t),i=r.has.call(t,e);return i||(t.add(e),vt(t,"add",e,e)),this}function nl(e,t){t=ge(t);var r=ge(this),{has:i,get:n}=Oi(r),a=i.call(r,e);a||(e=ge(e),a=i.call(r,e));var s=n.call(r,e);return r.set(e,t),a?br(t,s)&&vt(r,"set",e,t):vt(r,"add",e,t),this}function al(e){var t=ge(this),{has:r,get:i}=Oi(t),n=r.call(t,e);n||(e=ge(e),n=r.call(t,e)),i&&i.call(t,e);var a=t.delete(e);return n&&vt(t,"delete",e,void 0),a}function sl(){var e=ge(this),t=e.size!==0,r=e.clear();return t&&vt(e,"clear",void 0,void 0),r}function Ri(e,t){return function(i,n){var a=this,s=a.__v_raw,o=ge(s),l=t?ya:e?Ta:Cr;return!e&&je(o,"iterate",kt),s.forEach((u,v)=>i.call(n,l(u),l(v),a))}}function Pi(e,t,r){return function(){var i=this.__v_raw,n=ge(i),a=mr(n),s=e==="entries"||e===Symbol.iterator&&a,o=e==="keys"&&a,l=i[e](...arguments),u=r?ya:t?Ta:Cr;return!t&&je(n,"iterate",o?pa:kt),{next(){var{value:v,done:c}=l.next();return c?{value:v,done:c}:{value:s?[u(v[0]),u(v[1])]:u(v),done:c}},[Symbol.iterator](){return this}}}}function wt(e){return function(){return e==="delete"?!1:this}}function xh(){var e={get(a){return Ii(this,a)},get size(){return Ai(this)},has:Mi,add:il,set:nl,delete:al,clear:sl,forEach:Ri(!1,!1)},t={get(a){return Ii(this,a,!1,!0)},get size(){return Ai(this)},has:Mi,add:il,set:nl,delete:al,clear:sl,forEach:Ri(!1,!0)},r={get(a){return Ii(this,a,!0)},get size(){return Ai(this,!0)},has(a){return Mi.call(this,a,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Ri(!0,!1)},i={get(a){return Ii(this,a,!0,!0)},get size(){return Ai(this,!0)},has(a){return Mi.call(this,a,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Ri(!0,!0)},n=["keys","values","entries",Symbol.iterator];return n.forEach(a=>{e[a]=Pi(a,!1,!1),r[a]=Pi(a,!0,!1),t[a]=Pi(a,!1,!0),i[a]=Pi(a,!0,!0)}),[e,r,t,i]}var[Th,Eh,Ch,Oh]=xh();function Sa(e,t){var r=t?e?Oh:Ch:e?Eh:Th;return(i,n,a)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?i:Reflect.get(te(r,n)&&n in i?r:i,n,a)}var Ih={get:Sa(!1,!1)},Mh={get:Sa(!1,!0)},Ah={get:Sa(!0,!1)},ol=new WeakMap,ll=new WeakMap,ul=new WeakMap,Rh=new WeakMap;function Ph(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Lh(e){return e.__v_skip||!Object.isExtensible(e)?0:Ph(Xn(e))}function Ee(e){return e&&e.__v_isReadonly?e:xa(e,!1,rl,Ih,ol)}function Nh(e){return xa(e,!1,Sh,Mh,ll)}function fl(e){return xa(e,!0,yh,Ah,ul)}function xa(e,t,r,i,n){if(!Be(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;var a=n.get(e);if(a)return a;var s=Lh(e);if(s===0)return e;var o=new Proxy(e,s===2?i:r);return n.set(e,o),o}function rr(e){return cl(e)?rr(e.__v_raw):!!(e&&e.__v_isReactive)}function cl(e){return!!(e&&e.__v_isReadonly)}function vl(e){return rr(e)||cl(e)}function ge(e){var t=e&&e.__v_raw;return t?ge(t):e}function Li(e){return bi(e,"__v_skip",!0),e}var Cr=e=>Be(e)?Ee(e):e,Ta=e=>Be(e)?fl(e):e;function dl(e){Zo()&&(e=ge(e),e.dep||(e.dep=da()),Jo(e.dep))}function hl(e,t){e=ge(e),e.dep&&ba(e.dep)}function We(e){return Boolean(e&&e.__v_isRef===!0)}function $(e){return gl(e,!1)}function Ea(e){return gl(e,!0)}function gl(e,t){return We(e)?e:new kh(e,t)}class kh{constructor(t,r){this._shallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:ge(t),this._value=r?t:Cr(t)}get value(){return dl(this),this._value}set value(t){t=this._shallow?t:ge(t),br(t,this._rawValue)&&(this._rawValue=t,this._value=this._shallow?t:Cr(t),hl(this))}}function Bh(e){return We(e)?e.value:e}var Dh={get:(e,t,r)=>Bh(Reflect.get(e,t,r)),set:(e,t,r,i)=>{var n=e[t];return We(n)&&!We(r)?(n.value=r,!0):Reflect.set(e,t,r,i)}};function pl(e){return rr(e)?e:new Proxy(e,Dh)}class Fh{constructor(t,r,i){this._setter=r,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new ma(t,()=>{this._dirty||(this._dirty=!0,hl(this))}),this.__v_isReadonly=i}get value(){var t=ge(this);return dl(t),t._dirty&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Q(e,t){var r,i,n=ae(e);n?(r=e,i=rt):(r=e.get,i=e.set);var a=new Fh(r,i,n||!i);return a}function $h(e,t){for(var r=e.vnode.props||be,i=arguments.length,n=new Array(i>2?i-2:0),a=2;ab.trim()):v&&(s=n.map(Xv))}var m,g=r[m=Gn(t)]||r[m=Gn(mt(t))];!g&&o&&(g=r[m=Gn(Ve(t))]),g&&Qe(g,e,6,s);var _=r[m+"Once"];if(_){if(!e.emitted)e.emitted={};else if(e.emitted[m])return;e.emitted[m]=!0,Qe(_,e,6,s)}}function ml(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=t.emitsCache,n=i.get(e);if(n!==void 0)return n;var a=e.emits,s={},o=!1;if(!ae(e)){var l=u=>{var v=ml(u,t,!0);v&&(o=!0,ce(s,v))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!o?(i.set(e,null),null):(oe(a)?a.forEach(u=>s[u]=null):ce(s,a),i.set(e,s),s)}function Ca(e,t){return!e||!gi(t)?!1:(t=t.slice(2).replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,Ve(t))||te(e,t))}var Je=null,_l=null;function Ni(e){var t=Je;return Je=e,_l=e&&e.type.__scopeId||null,t}function Wh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Je;if(!t||e._n)return e;var r=function(){r._d&&Wl(-1);var i=Ni(t),n=e(...arguments);return Ni(i),r._d&&Wl(1),n};return r._n=!0,r._c=!0,r._d=!0,r}function my(){}function Oa(e){var{type:t,vnode:r,proxy:i,withProxy:n,props:a,propsOptions:[s],slots:o,attrs:l,emit:u,render:v,renderCache:c,data:m,setupState:g,ctx:_,inheritAttrs:b}=e,w,p,h=Ni(e);try{if(r.shapeFlag&4){var f=n||i;w=lt(v.call(f,f,c,a,g,m,_)),p=l}else{var d=t;w=lt(d.length>1?d(a,{attrs:l,slots:o,emit:u}):d(a,null)),p=t.props?l:Uh(l)}}catch(C){Vi(C,e,1),w=I(Ir)}var y=w;if(p&&b!==!1){var x=Object.keys(p),{shapeFlag:E}=y;x.length&&E&(1|6)&&(s&&x.some(Yn)&&(p=Vh(p,s)),y=Ar(y,p))}return r.dirs&&(y.dirs=y.dirs?y.dirs.concat(r.dirs):r.dirs),r.transition&&(y.transition=r.transition),w=y,Ni(h),w}var Uh=e=>{var t;for(var r in e)(r==="class"||r==="style"||gi(r))&&((t||(t={}))[r]=e[r]);return t},Vh=(e,t)=>{var r={};for(var i in e)(!Yn(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function Hh(e,t,r){var{props:i,children:n,component:a}=e,{props:s,children:o,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return i?bl(i,s,u):!!s;if(l&8)for(var v=t.dynamicProps,c=0;ce.__isSuspense;function Yh(e,t){t&&t.pendingBranch?oe(e)?t.effects.push(...e):t.effects.push(e):Bg(e)}function Ne(e,t){if(ke){var r=ke.provides,i=ke.parent&&ke.parent.provides;i===r&&(r=ke.provides=Object.create(i)),r[e]=t}}function pe(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=ke||Je;if(i){var n=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(n&&e in n)return n[e];if(arguments.length>1)return r&&ae(t)?t.call(i.proxy):t}}function qh(e){return ae(e)?{setup:e,name:e.name}:e}var Ia=e=>!!e.type.__asyncLoader,wl=e=>e.type.__isKeepAlive;function Ma(e,t){yl(e,"a",t)}function Xh(e,t){yl(e,"da",t)}function yl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ke,i=e.__wdc||(e.__wdc=()=>{for(var a=r;a;){if(a.isDeactivated)return;a=a.parent}e()});if(ki(t,i,r),r)for(var n=r.parent;n&&n.parent;)wl(n.parent.vnode)&&Kh(i,t,r,n),n=n.parent}function Kh(e,t,r,i){var n=ki(t,e,i,!0);yt(()=>{xo(i[t],n)},r)}function ki(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ke,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(r){var n=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=function(){if(!r.isUnmounted){tr(),ir(r);for(var s=arguments.length,o=new Array(s),l=0;lfunction(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke;return(!Ui||e==="sp")&&ki(e,t,r)},Sl=dt("bm"),Ie=dt("m"),Gh=dt("bu"),Zh=dt("u"),xe=dt("bum"),yt=dt("um"),Jh=dt("sp"),Qh=dt("rtg"),eg=dt("rtc");function tg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ke;ki("ec",e,t)}var Aa=!0;function rg(e){var t=El(e),r=e.proxy,i=e.ctx;Aa=!1,t.beforeCreate&&xl(t.beforeCreate,e,"bc");var{data:n,computed:a,methods:s,watch:o,provide:l,inject:u,created:v,beforeMount:c,mounted:m,beforeUpdate:g,updated:_,activated:b,deactivated:w,beforeDestroy:p,beforeUnmount:h,destroyed:f,unmounted:d,render:y,renderTracked:x,renderTriggered:E,errorCaptured:C,serverPrefetch:M,expose:W,inheritAttrs:V,components:q,directives:he,filters:R}=t,B=null;if(u&&ig(u,i,B,e.appContext.config.unwrapInjectedRef),s)for(var ee in s){var ie=s[ee];ae(ie)&&(i[ee]=ie.bind(r))}if(n&&function(){var re=n.call(r,r);Be(re)&&(e.data=Ee(re))}(),Aa=!0,a){var z=function(re){var le=a[re],Ce=ae(le)?le.bind(r,r):ae(le.get)?le.get.bind(r,r):rt,Oe=!ae(le)&&ae(le.set)?le.set.bind(r):rt,Ge=Q({get:Ce,set:Oe});Object.defineProperty(i,re,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:At=>Ge.value=At})};for(var J in a)z(J)}if(o)for(var ne in o)Tl(o[ne],i,r,ne);if(l){var we=ae(l)?l.call(r):l;Reflect.ownKeys(we).forEach(re=>{Ne(re,we[re])})}v&&xl(v,e,"c");function se(re,le){oe(le)?le.forEach(Ce=>re(Ce.bind(r))):le&&re(le.bind(r))}if(se(Sl,c),se(Ie,m),se(Gh,g),se(Zh,_),se(Ma,b),se(Xh,w),se(tg,C),se(eg,x),se(Qh,E),se(xe,h),se(yt,d),se(Jh,M),oe(W))if(W.length){var G=e.exposed||(e.exposed={});W.forEach(re=>{Object.defineProperty(G,re,{get:()=>r[re],set:le=>r[re]=le})})}else e.exposed||(e.exposed={});y&&e.render===rt&&(e.render=y),V!=null&&(e.inheritAttrs=V),q&&(e.components=q),he&&(e.directives=he)}function ig(e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;oe(e)&&(e=Ra(e));var i=function(a){var s=e[a],o=void 0;Be(s)?"default"in s?o=pe(s.from||a,s.default,!0):o=pe(s.from||a):o=pe(s),We(o)&&r?Object.defineProperty(t,a,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[a]=o};for(var n in e)i(n)}function xl(e,t,r){Qe(oe(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function Tl(e,t,r,i){var n=i.includes(".")?Ql(r,i):()=>r[i];if(ye(e)){var a=t[e];ae(a)&&U(n,a)}else if(ae(e))U(n,e.bind(r));else if(Be(e))if(oe(e))e.forEach(o=>Tl(o,t,r,i));else{var s=ae(e.handler)?e.handler.bind(r):t[e.handler];ae(s)&&U(n,s,e)}}function El(e){var t=e.type,{mixins:r,extends:i}=t,{mixins:n,optionsCache:a,config:{optionMergeStrategies:s}}=e.appContext,o=a.get(t),l;return o?l=o:!n.length&&!r&&!i?l=t:(l={},n.length&&n.forEach(u=>Bi(l,u,s,!0)),Bi(l,t,s)),a.set(t,l),l}function Bi(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,{mixins:n,extends:a}=t;a&&Bi(e,a,r,!0),n&&n.forEach(l=>Bi(e,l,r,!0));for(var s in t)if(!(i&&s==="expose")){var o=ng[s]||r&&r[s];e[s]=o?o(e[s],t[s]):t[s]}return e}var ng={data:Cl,props:Dt,emits:Dt,methods:Dt,computed:Dt,beforeCreate:Fe,created:Fe,beforeMount:Fe,mounted:Fe,beforeUpdate:Fe,updated:Fe,beforeDestroy:Fe,beforeUnmount:Fe,destroyed:Fe,unmounted:Fe,activated:Fe,deactivated:Fe,errorCaptured:Fe,serverPrefetch:Fe,components:Dt,directives:Dt,watch:sg,provide:Cl,inject:ag};function Cl(e,t){return t?e?function(){return ce(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function ag(e,t){return Dt(Ra(e),Ra(t))}function Ra(e){if(oe(e)){for(var t={},r=0;r3&&arguments[3]!==void 0?arguments[3]:!1,n={},a={};bi(a,Fi,1),e.propsDefaults=Object.create(null),Ol(e,t,n,a);for(var s in e.propsOptions[0])s in n||(n[s]=void 0);r?e.props=i?n:Nh(n):e.type.props?e.props=n:e.props=a,e.attrs=a}function lg(e,t,r,i){var{props:n,attrs:a,vnode:{patchFlag:s}}=e,o=ge(n),[l]=e.propsOptions,u=!1;if((i||s>0)&&!(s&16)){if(s&8)for(var v=e.vnode.dynamicProps,c=0;c2&&arguments[2]!==void 0?arguments[2]:!1,i=t.propsCache,n=i.get(e);if(n)return n;var a=e.props,s={},o=[],l=!1;if(!ae(e)){var u=f=>{l=!0;var[d,y]=Il(f,t,!0);ce(s,d),y&&o.push(...y)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return i.set(e,pr),pr;if(oe(a))for(var v=0;v-1,b[1]=p<0||w-1||te(b,"default"))&&o.push(g)}}}var h=[s,o];return i.set(e,h),h}function Ml(e){return e[0]!=="$"}function Al(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Rl(e,t){return Al(e)===Al(t)}function Pl(e,t){return oe(t)?t.findIndex(r=>Rl(r,e)):ae(t)&&Rl(t,e)?0:-1}var Ll=e=>e[0]==="_"||e==="$stable",La=e=>oe(e)?e.map(lt):[lt(e)],ug=(e,t,r)=>{var i=Wh(function(){return La(t(...arguments))},r);return i._c=!1,i},Nl=(e,t,r)=>{var i=e._ctx;for(var n in e)if(!Ll(n)){var a=e[n];ae(a)?t[n]=ug(n,a,i):a!=null&&function(){var s=La(a);t[n]=()=>s}()}},kl=(e,t)=>{var r=La(t);e.slots.default=()=>r},fg=(e,t)=>{if(e.vnode.shapeFlag&32){var r=t._;r?(e.slots=ge(t),bi(t,"_",r)):Nl(t,e.slots={})}else e.slots={},t&&kl(e,t);bi(e.slots,Fi,1)},cg=(e,t,r)=>{var{vnode:i,slots:n}=e,a=!0,s=be;if(i.shapeFlag&32){var o=t._;o?r&&o===1?a=!1:(ce(n,t),!r&&o===1&&delete n._):(a=!t.$stable,Nl(t,n)),s=t}else t&&(kl(e,t),s={default:1});if(a)for(var l in n)!Ll(l)&&!(l in s)&&delete n[l]};function Or(e,t){var r=Je;if(r===null)return e;for(var i=r.proxy,n=e.dirs||(e.dirs=[]),a=0;a1&&arguments[1]!==void 0?arguments[1]:null;n!=null&&!Be(n)&&(n=null);var a=Bl(),s=new Set,o=!1,l=a.app={_uid:vg++,_component:i,_props:n,_container:null,_context:a,_instance:null,version:Wg,get config(){return a.config},set config(u){},use(u){for(var v=arguments.length,c=new Array(v>1?v-1:0),m=1;m3&&arguments[3]!==void 0?arguments[3]:null,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,F=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,H=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,D=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,k=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!!T.dynamicChildren;if(S!==T){S&&!Mr(S,T)&&(P=Ge(S),G(S,L,F,!0),S=null),T.patchFlag===-2&&(k=!1,T.dynamicChildren=null);var{type:N,ref:Z,shapeFlag:K}=T;switch(N){case ka:p(S,T,A,P);break;case Ir:h(S,T,A,P);break;case Ba:S==null&&f(T,A,P,H);break;case ot:he(S,T,A,P,L,F,H,D,k);break;default:K&1?x(S,T,A,P,L,F,H,D,k):K&6?R(S,T,A,P,L,F,H,D,k):(K&64||K&128)&&N.process(S,T,A,P,L,F,H,D,k,Ae)}Z!=null&&L&&Na(Z,S&&S.ref,F,T||S,!T)}},p=(S,T,A,P)=>{if(S==null)i(T.el=o(T.children),A,P);else{var L=T.el=S.el;T.children!==S.children&&u(L,T.children)}},h=(S,T,A,P)=>{S==null?i(T.el=l(T.children||""),A,P):T.el=S.el},f=(S,T,A,P)=>{[S.el,S.anchor]=b(S.children,T,A,P)},d=(S,T,A)=>{for(var{el:P,anchor:L}=S,F;P&&P!==L;)F=m(P),i(P,T,A),P=F;i(L,T,A)},y=S=>{for(var{el:T,anchor:A}=S,P;T&&T!==A;)P=m(T),n(T),T=P;n(A)},x=(S,T,A,P,L,F,H,D,k)=>{H=H||T.type==="svg",S==null?E(T,A,P,L,F,H,D,k):W(S,T,L,F,H,D,k)},E=(S,T,A,P,L,F,H,D)=>{var k,N,{type:Z,props:K,shapeFlag:X,transition:fe,patchFlag:Pe,dirs:Se}=S;if(S.el&&_!==void 0&&Pe===-1)k=S.el=_(S.el);else{if(k=S.el=s(S.type,F,K&&K.is,K),X&8?v(k,S.children):X&16&&M(S.children,k,null,P,L,F&&Z!=="foreignObject",H,D),Se&&Ft(S,null,P,"created"),K){for(var O in K)O!=="value"&&!pi(O)&&a(k,O,null,K[O],F,S.children,P,L,Oe);"value"in K&&a(k,"value",null,K.value),(N=K.onVnodeBeforeMount)&&st(N,P,S)}C(k,S,S.scopeId,H,P)}Object.defineProperty(k,"__vueParentComponent",{value:P,enumerable:!1}),Se&&Ft(S,null,P,"beforeMount");var j=(!L||L&&!L.pendingBranch)&&fe&&!fe.persisted;j&&fe.beforeEnter(k),i(k,T,A),((N=K&&K.onVnodeMounted)||j||Se)&&$e(()=>{N&&st(N,P,S),j&&fe.enter(k),Se&&Ft(S,null,P,"mounted")},L)},C=(S,T,A,P,L)=>{if(A&&g(S,A),P)for(var F=0;F8&&arguments[8]!==void 0?arguments[8]:0,N=k;N{var D=T.el=S.el,{patchFlag:k,dynamicChildren:N,dirs:Z}=T;k|=S.patchFlag&16;var K=S.props||be,X=T.props||be,fe;(fe=X.onVnodeBeforeUpdate)&&st(fe,A,T,S),Z&&Ft(T,S,A,"beforeUpdate");var Pe=L&&T.type!=="foreignObject";if(N?V(S.dynamicChildren,N,D,A,P,Pe,F):H||J(S,T,D,null,A,P,Pe,F,!1),k>0){if(k&16)q(D,T,K,X,A,P,L);else if(k&2&&K.class!==X.class&&a(D,"class",null,X.class,L),k&4&&a(D,"style",K.style,X.style,L),k&8)for(var Se=T.dynamicProps,O=0;O{fe&&st(fe,A,T,S),Z&&Ft(T,S,A,"updated")},P)},V=(S,T,A,P,L,F,H)=>{for(var D=0;D{if(A!==P){for(var D in P)if(!pi(D)){var k=P[D],N=A[D];k!==N&&D!=="value"&&a(S,D,N,k,H,T.children,L,F,Oe)}if(A!==be)for(var Z in A)!pi(Z)&&!(Z in P)&&a(S,Z,A[Z],null,H,T.children,L,F,Oe);"value"in P&&a(S,"value",A.value,P.value)}},he=(S,T,A,P,L,F,H,D,k)=>{var N=T.el=S?S.el:o(""),Z=T.anchor=S?S.anchor:o(""),{patchFlag:K,dynamicChildren:X,slotScopeIds:fe}=T;fe&&(D=D?D.concat(fe):fe),S==null?(i(N,A,P),i(Z,A,P),M(T.children,A,Z,L,F,H,D,k)):K>0&&K&64&&X&&S.dynamicChildren?(V(S.dynamicChildren,X,A,L,F,H,D),(T.key!=null||L&&T===L.subTree)&&Dl(S,T,!0)):J(S,T,A,Z,L,F,H,D,k)},R=(S,T,A,P,L,F,H,D,k)=>{T.slotScopeIds=D,S==null?T.shapeFlag&512?L.ctx.activate(T,A,P,H,k):B(T,A,P,L,F,H,k):ee(S,T,k)},B=(S,T,A,P,L,F,H)=>{var D=S.component=Cg(S,P,L);if(wl(S)&&(D.ctx.renderer=Ae),Og(D),D.asyncDep){if(L&&L.registerDep(D,ie),!S.el){var k=D.subTree=I(Ir);h(null,k,T,A)}return}ie(D,S,T,A,L,F,H)},ee=(S,T,A)=>{var P=T.component=S.component;if(Hh(S,T,A))if(P.asyncDep&&!P.asyncResolved){z(P,T,A);return}else P.next=T,Ng(P.update),P.update();else T.component=S.component,T.el=S.el,P.vnode=T},ie=(S,T,A,P,L,F,H)=>{var D=()=>{if(S.isMounted){var{next:ue,bu:Le,u:Ue,parent:Re,vnode:tt}=S,Rt=ue,ct;k.allowRecurse=!1,ue?(ue.el=tt.el,z(S,ue,H)):ue=tt,Le&&Zn(Le),(ct=ue.props&&ue.props.onVnodeBeforeUpdate)&&st(ct,Re,ue,tt),k.allowRecurse=!0;var Xt=Oa(S),gt=S.subTree;S.subTree=Xt,w(gt,Xt,c(gt.el),Ge(gt),S,L,F),ue.el=Xt.el,Rt===null&&jh(S,Xt.el),Ue&&$e(Ue,L),(ct=ue.props&&ue.props.onVnodeUpdated)&&$e(()=>st(ct,Re,ue,tt),L)}else{var Z,{el:K,props:X}=T,{bm:fe,m:Pe,parent:Se}=S,O=Ia(T);if(k.allowRecurse=!1,fe&&Zn(fe),!O&&(Z=X&&X.onVnodeBeforeMount)&&st(Z,Se,T),k.allowRecurse=!0,K&&Zr){var j=()=>{S.subTree=Oa(S),Zr(K,S.subTree,S,L,null)};O?T.type.__asyncLoader().then(()=>!S.isUnmounted&&j()):j()}else{var Y=S.subTree=Oa(S);w(null,Y,A,P,S,L,F),T.el=Y.el}if(Pe&&$e(Pe,L),!O&&(Z=X&&X.onVnodeMounted)){var ve=T;$e(()=>st(Z,Se,ve),L)}T.shapeFlag&256&&S.a&&$e(S.a,L),S.isMounted=!0,T=A=P=null}},k=new ma(D,()=>ql(S.update),S.scope),N=S.update=k.run.bind(k);N.id=S.uid,k.allowRecurse=N.allowRecurse=!0,N()},z=(S,T,A)=>{T.component=S;var P=S.vnode.props;S.vnode=T,S.next=null,lg(S,T.props,P,A),cg(S,T.children,A),tr(),Ha(void 0,S.update),Bt()},J=function(S,T,A,P,L,F,H,D){var k=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!1,N=S&&S.children,Z=S?S.shapeFlag:0,K=T.children,{patchFlag:X,shapeFlag:fe}=T;if(X>0){if(X&128){we(N,K,A,P,L,F,H,D,k);return}else if(X&256){ne(N,K,A,P,L,F,H,D,k);return}}fe&8?(Z&16&&Oe(N,L,F),K!==N&&v(A,K)):Z&16?fe&16?we(N,K,A,P,L,F,H,D,k):Oe(N,L,F,!0):(Z&8&&v(A,""),fe&16&&M(K,A,P,L,F,H,D,k))},ne=(S,T,A,P,L,F,H,D,k)=>{S=S||pr,T=T||pr;var N=S.length,Z=T.length,K=Math.min(N,Z),X;for(X=0;XZ?Oe(S,L,F,!0,!1,K):M(T,A,P,L,F,H,D,k,K)},we=(S,T,A,P,L,F,H,D,k)=>{for(var N=0,Z=T.length,K=S.length-1,X=Z-1;N<=K&&N<=X;){var fe=S[N],Pe=T[N]=k?St(T[N]):lt(T[N]);if(Mr(fe,Pe))w(fe,Pe,A,null,L,F,H,D,k);else break;N++}for(;N<=K&&N<=X;){var Se=S[K],O=T[X]=k?St(T[X]):lt(T[X]);if(Mr(Se,O))w(Se,O,A,null,L,F,H,D,k);else break;K--,X--}if(N>K){if(N<=X)for(var j=X+1,Y=jX)for(;N<=K;)G(S[N],L,F,!0),N++;else{var ve=N,ue=N,Le=new Map;for(N=ue;N<=X;N++){var Ue=T[N]=k?St(T[N]):lt(T[N]);Ue.key!=null&&Le.set(Ue.key,N)}var Re,tt=0,Rt=X-ue+1,ct=!1,Xt=0,gt=new Array(Rt);for(N=0;N=Rt){G(dr,L,F,!0);continue}var Kt=void 0;if(dr.key!=null)Kt=Le.get(dr.key);else for(Re=ue;Re<=X;Re++)if(gt[Re-ue]===0&&Mr(dr,T[Re])){Kt=Re;break}Kt===void 0?G(dr,L,F,!0):(gt[Kt-ue]=N+1,Kt>=Xt?Xt=Kt:ct=!0,w(dr,T[Kt],A,null,L,F,H,D,k),tt++)}var ic=ct?pg(gt):pr;for(Re=ic.length-1,N=Rt-1;N>=0;N--){var Ns=ue+N,nc=T[Ns],ac=Ns+14&&arguments[4]!==void 0?arguments[4]:null,{el:F,type:H,transition:D,children:k,shapeFlag:N}=S;if(N&6){se(S.component.subTree,T,A,P);return}if(N&128){S.suspense.move(T,A,P);return}if(N&64){H.move(S,T,A,Ae);return}if(H===ot){i(F,T,A);for(var Z=0;ZD.enter(F),L);else{var{leave:X,delayLeave:fe,afterLeave:Pe}=D,Se=()=>i(F,T,A),O=()=>{X(F,()=>{Se(),Pe&&Pe()})};fe?fe(F,Se,O):O()}else i(F,T,A)},G=function(S,T,A){var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,{type:F,props:H,ref:D,children:k,dynamicChildren:N,shapeFlag:Z,patchFlag:K,dirs:X}=S;if(D!=null&&Na(D,null,A,S,!0),Z&256){T.ctx.deactivate(S);return}var fe=Z&1&&X,Pe=!Ia(S),Se;if(Pe&&(Se=H&&H.onVnodeBeforeUnmount)&&st(Se,T,S),Z&6)Ce(S.component,A,P);else{if(Z&128){S.suspense.unmount(A,P);return}fe&&Ft(S,null,T,"beforeUnmount"),Z&64?S.type.remove(S,T,A,L,Ae,P):N&&(F!==ot||K>0&&K&64)?Oe(N,T,A,!1,!0):(F===ot&&K&(128|256)||!L&&Z&16)&&Oe(k,T,A),P&&re(S)}(Pe&&(Se=H&&H.onVnodeUnmounted)||fe)&&$e(()=>{Se&&st(Se,T,S),fe&&Ft(S,null,T,"unmounted")},A)},re=S=>{var{type:T,el:A,anchor:P,transition:L}=S;if(T===ot){le(A,P);return}if(T===Ba){y(S);return}var F=()=>{n(A),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(S.shapeFlag&1&&L&&!L.persisted){var{leave:H,delayLeave:D}=L,k=()=>H(A,F);D?D(S.el,F,k):k()}else F()},le=(S,T)=>{for(var A;S!==T;)A=m(S),n(S),S=A;n(T)},Ce=(S,T,A)=>{var{bum:P,scope:L,update:F,subTree:H,um:D}=S;P&&Zn(P),L.stop(),F&&(F.active=!1,G(H,S,T,A)),D&&$e(D,T),$e(()=>{S.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},Oe=function(S,T,A){for(var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,F=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,H=F;HS.shapeFlag&6?Ge(S.component.subTree):S.shapeFlag&128?S.suspense.next():m(S.anchor||S.el),At=(S,T,A)=>{if(S==null)T._vnode&&G(T._vnode,null,null,!0);else{var P=T.__vueParent;w(T._vnode||null,S,T,null,P,null,A)}T._vnode=S},Ae={p:w,um:G,m:se,r:re,mt:B,mc:M,pc:J,pbc:V,n:Ge,o:e},Gr,Zr;return t&&([Gr,Zr]=t(Ae)),{render:At,hydrate:Gr,createApp:dg(At,Gr)}}function Na(e,t,r,i){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(oe(e)){e.forEach((_,b)=>Na(_,t&&(oe(t)?t[b]:t),r,i,n));return}if(!(Ia(i)&&!n)){var a=i.shapeFlag&4?$a(i.component)||i.component.proxy:i.el,s=n?null:a,{i:o,r:l}=e,u=t&&t.r,v=o.refs===be?o.refs={}:o.refs,c=o.setupState;if(u!=null&&u!==l&&(ye(u)?(v[u]=null,te(c,u)&&(c[u]=null)):We(u)&&(u.value=null)),ye(l)){var m=()=>{v[l]=s,te(c,l)&&(c[l]=s)};s?(m.id=-1,$e(m,r)):m()}else if(We(l)){var g=()=>{l.value=s};s?(g.id=-1,$e(g,r)):g()}else ae(l)&&Tt(l,o,12,[s,v])}}function st(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Qe(e,t,7,[r,i])}function Dl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=e.children,n=t.children;if(oe(i)&&oe(n))for(var a=0;a>1,e[r[o]]0&&(t[i]=r[a-1]),r[a]=i)}}for(a=r.length,s=r[a-1];a-- >0;)r[a]=s,s=t[s];return r}var mg=e=>e.__isTeleport,_g=Symbol(),ot=Symbol(void 0),ka=Symbol(void 0),Ir=Symbol(void 0),Ba=Symbol(void 0),Fl=null,$l=1;function Wl(e){$l+=e}function Di(e){return e?e.__v_isVNode===!0:!1}function Mr(e,t){return e.type===t.type&&e.key===t.key}var Fi="__vInternal",Ul=e=>{var{key:t}=e;return t!=null?t:null},$i=e=>{var{ref:t}=e;return t!=null?ye(t)||We(t)||ae(t)?{i:Je,r:t}:t:null};function bg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:e===ot?0:1,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,o=arguments.length>7&&arguments[7]!==void 0?arguments[7]:!1,l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ul(t),ref:t&&$i(t),scopeId:_l,slotScopeIds:null,children:r,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:i,dynamicProps:n,dynamicChildren:null,appContext:null};return o?(Da(l,r),a&128&&e.normalize(l)):r&&(l.shapeFlag|=ye(r)?8:16),$l>0&&!s&&Fl&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Fl.push(l),l}var I=wg;function wg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1;if((!e||e===_g)&&(e=Ir),Di(e)){var s=Ar(e,t,!0);return r&&Da(s,r),s}if(Rg(e)&&(e=e.__vccOpts),t){t=yg(t);var{class:o,style:l}=t;o&&!ye(o)&&(t.class=zn(o)),Be(l)&&(vl(l)&&!oe(l)&&(l=ce({},l)),t.style=jn(l))}var u=ye(e)?1:zh(e)?128:mg(e)?64:Be(e)?4:ae(e)?2:0;return bg(e,t,r,i,n,u,a,!0)}function yg(e){return e?vl(e)||Fi in e?ce({},e):e:null}function Ar(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{props:i,ref:n,patchFlag:a,children:s}=e,o=t?ze(i||{},t):i,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&Ul(o),ref:t&&t.ref?r&&n?oe(n)?n.concat($i(t)):[n,$i(t)]:$i(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ot?a===-1?16:a|16: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&&Ar(e.ssContent),ssFallback:e.ssFallback&&Ar(e.ssFallback),el:e.el,anchor:e.anchor};return l}function Sg(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return I(ka,null,e,t)}function lt(e){return e==null||typeof e=="boolean"?I(Ir):oe(e)?I(ot,null,e.slice()):typeof e=="object"?St(e):I(ka,null,String(e))}function St(e){return e.el===null||e.memo?e:Ar(e)}function Da(e,t){var r=0,{shapeFlag:i}=e;if(t==null)t=null;else if(oe(t))r=16;else if(typeof t=="object")if(i&(1|64)){var n=t.default;n&&(n._c&&(n._d=!1),Da(e,n()),n._c&&(n._d=!0));return}else{r=32;var a=t._;!a&&!(Fi in t)?t._ctx=Je:a===3&&Je&&(Je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:Je},r=32):(t=String(t),i&64?(r=16,t=[Sg(t)]):r=8);e.children=t,e.shapeFlag|=r}function ze(){for(var e={},t=0;te?Vl(e)?$a(e)||e.proxy:Fa(e.parent):null,Wi=ce(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=>Fa(e.parent),$root:e=>Fa(e.root),$emit:e=>e.emit,$options:e=>El(e),$forceUpdate:e=>()=>ql(e.update),$nextTick:e=>sr.bind(e.proxy),$watch:e=>Fg.bind(e)}),xg={get(e,t){var{_:r}=e,{ctx:i,setupState:n,data:a,props:s,accessCache:o,type:l,appContext:u}=r,v;if(t[0]!=="$"){var c=o[t];if(c!==void 0)switch(c){case 0:return n[t];case 1:return a[t];case 3:return i[t];case 2:return s[t]}else{if(n!==be&&te(n,t))return o[t]=0,n[t];if(a!==be&&te(a,t))return o[t]=1,a[t];if((v=r.propsOptions[0])&&te(v,t))return o[t]=2,s[t];if(i!==be&&te(i,t))return o[t]=3,i[t];Aa&&(o[t]=4)}}var m=Wi[t],g,_;if(m)return t==="$attrs"&&je(r,"get",t),m(r);if((g=l.__cssModules)&&(g=g[t]))return g;if(i!==be&&te(i,t))return o[t]=3,i[t];if(_=u.config.globalProperties,te(_,t))return _[t]},set(e,t,r){var{_:i}=e,{data:n,setupState:a,ctx:s}=i;if(a!==be&&te(a,t))a[t]=r;else if(n!==be&&te(n,t))n[t]=r;else if(te(i.props,t))return!1;return t[0]==="$"&&t.slice(1)in i?!1:(s[t]=r,!0)},has(e,t){var{_:{data:r,setupState:i,accessCache:n,ctx:a,appContext:s,propsOptions:o}}=e,l;return n[t]!==void 0||r!==be&&te(r,t)||i!==be&&te(i,t)||(l=o[0])&&te(l,t)||te(a,t)||te(Wi,t)||te(s.config.globalProperties,t)}},Tg=Bl(),Eg=0;function Cg(e,t,r){var i=e.type,n=(t?t.appContext:e.appContext)||Tg,a={uid:Eg++,vnode:e,type:i,parent:t,appContext:n,root:null,next:null,subTree:null,update:null,scope:new sh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(n.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Il(i,n),emitsOptions:ml(i,n),emit:null,emitted:null,propsDefaults:be,inheritAttrs:i.inheritAttrs,ctx:be,data:be,props:be,attrs:be,slots:be,refs:be,setupState:be,setupContext:null,suspense:r,suspenseId:r?r.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};return a.ctx={_:a},a.root=t?t.root:a,a.emit=$h.bind(null,a),e.ce&&e.ce(a),a}var ke=null,xt=()=>ke||Je,ir=e=>{ke=e,e.scope.on()},$t=()=>{ke&&ke.scope.off(),ke=null};function Vl(e){return e.vnode.shapeFlag&4}var Ui=!1;function Og(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ui=t;var{props:r,children:i}=e.vnode,n=Vl(e);og(e,r,n,t),fg(e,i);var a=n?Ig(e,t):void 0;return Ui=!1,a}function Ig(e,t){var r=e.type;e.accessCache=Object.create(null),e.proxy=Li(new Proxy(e.ctx,xg));var{setup:i}=r;if(i){var n=e.setupContext=i.length>1?Ag(e):null;ir(e),tr();var a=Tt(i,e,0,[e.props,n]);if(Bt(),$t(),To(a)){if(a.then($t,$t),t)return a.then(s=>{Hl(e,s,t)}).catch(s=>{Vi(s,e,0)});e.asyncDep=a}else Hl(e,a,t)}else zl(e,t)}function Hl(e,t,r){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Be(t)&&(e.setupState=pl(t)),zl(e,r)}var jl;function zl(e,t,r){var i=e.type;if(!e.render){if(!t&&jl&&!i.render){var n=i.template;if(n){var{isCustomElement:a,compilerOptions:s}=e.appContext.config,{delimiters:o,compilerOptions:l}=i,u=ce(ce({isCustomElement:a,delimiters:o},s),l);i.render=jl(n,u)}}e.render=i.render||rt}ir(e),tr(),rg(e),Bt(),$t()}function Mg(e){return new Proxy(e.attrs,{get(t,r){return je(e,"get","$attrs"),t[r]}})}function Ag(e){var t=i=>{e.exposed=i||{}},r;return{get attrs(){return r||(r=Mg(e))},slots:e.slots,emit:e.emit,expose:t}}function $a(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(pl(Li(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Wi)return Wi[r](e)}}))}function Rg(e){return ae(e)&&"__vccOpts"in e}function Tt(e,t,r,i){var n;try{n=i?e(...i):e()}catch(a){Vi(a,t,r)}return n}function Qe(e,t,r,i){if(ae(e)){var n=Tt(e,t,r,i);return n&&To(n)&&n.catch(o=>{Vi(o,t,r)}),n}for(var a=[],s=0;s>>1,n=Nr(Ye[i]);nht&&Ye.splice(t,1)}function Kl(e,t,r,i){oe(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&r.push(e),Xl()}function kg(e){Kl(e,Pr,Rr,nr)}function Bg(e){Kl(e,Et,Lr,ar)}function Ha(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Rr.length){for(Va=t,Pr=[...new Set(Rr)],Rr.length=0,nr=0;nrNr(r)-Nr(i)),ar=0;are.id==null?1/0:e.id;function Zl(e){Wa=!1,Hi=!0,Ha(e),Ye.sort((i,n)=>Nr(i)-Nr(n));var t=rt;try{for(ht=0;ht2&&arguments[2]!==void 0?arguments[2]:be,o=ke,l,u=!1,v=!1;if(We(e)?(l=()=>e.value,u=!!e._shallow):rr(e)?(l=()=>e,i=!0):oe(e)?(v=!0,u=e.some(rr),l=()=>e.map(h=>{if(We(h))return h.value;if(rr(h))return Wt(h);if(ae(h))return Tt(h,o,2)})):ae(e)?t?l=()=>Tt(e,o,2):l=()=>{if(!(o&&o.isUnmounted))return m&&m(),Qe(e,o,3,[g])}:l=rt,t&&i){var c=l;l=()=>Wt(c())}var m,g=h=>{m=p.onStop=()=>{Tt(h,o,4)}};if(Ui)return g=rt,t?r&&Qe(t,o,3,[l(),v?[]:void 0,g]):l(),rt;var _=v?[]:Jl,b=()=>{if(!!p.active)if(t){var h=p.run();(i||u||(v?h.some((f,d)=>br(f,_[d])):br(h,_)))&&(m&&m(),Qe(t,o,3,[h,_===Jl?void 0:_,g]),_=h)}else p.run()};b.allowRecurse=!!t;var w;n==="sync"?w=b:n==="post"?w=()=>$e(b,o&&o.suspense):w=()=>{!o||o.isMounted?kg(b):b()};var p=new ma(l,w);return t?r?b():_=p.run():n==="post"?$e(p.run.bind(p),o&&o.suspense):p.run(),()=>{p.stop(),o&&o.scope&&xo(o.scope.effects,p)}}function Fg(e,t,r){var i=this.proxy,n=ye(e)?e.includes(".")?Ql(i,e):()=>i[e]:e.bind(i,i),a;ae(t)?a=t:(a=t.handler,r=t);var s=ke;ir(this);var o=ja(n,a.bind(i),r);return s?ir(s):$t(),o}function Ql(e,t){var r=t.split(".");return()=>{for(var i=e,n=0;n{Wt(n,t)});else if(it(e))for(var i in e)Wt(e[i],t);return e}function $g(e,t,r){var i=arguments.length;return i===2?Be(t)&&!oe(t)?Di(t)?I(e,null,[t]):I(e,t):I(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&Di(r)&&(r=[r]),I(e,t,r))}var Wg="3.2.22",Ug="http://www.w3.org/2000/svg",or=typeof document!="undefined"?document:null,eu=new Map,Vg={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{var t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,i)=>{var n=t?or.createElementNS(Ug,e):or.createElement(e,r?{is:r}:void 0);return e==="select"&&i&&i.multiple!=null&&n.setAttribute("multiple",i.multiple),n},createText:e=>or.createTextNode(e),createComment:e=>or.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>or.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){var t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,r,i){var n=r?r.previousSibling:t.lastChild,a=eu.get(e);if(!a){var s=or.createElement("template");if(s.innerHTML=i?"".concat(e,""):e,a=s.content,i){for(var o=a.firstChild;o.firstChild;)a.appendChild(o.firstChild);a.removeChild(o)}eu.set(e,a)}return t.insertBefore(a.cloneNode(!0),r),[n?n.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function Hg(e,t,r){var i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function jg(e,t,r){var i=e.style,n=ye(r);if(r&&!n){for(var a in r)za(i,a,r[a]);if(t&&!ye(t))for(var s in t)r[s]==null&&za(i,s,"")}else{var o=i.display;n?t!==r&&(i.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=o)}}var tu=/\s*!important$/;function za(e,t,r){if(oe(r))r.forEach(n=>za(e,t,n));else if(r=qg(r),t.startsWith("--"))e.setProperty(t,r);else{var i=zg(e,t);tu.test(r)?e.setProperty(Ve(i),r.replace(tu,""),"important"):e[i]=r}}var ru=["Webkit","Moz","ms"],Ya={};function zg(e,t){var r=Ya[t];if(r)return r;var i=mt(t);if(i!=="filter"&&i in e)return Ya[t]=i;i=_i(i);for(var n=0;ntypeof rpx2px!="function"?e:ye(e)?e.replace(Yg,(t,r)=>rpx2px(r)+"px"):e,iu="http://www.w3.org/1999/xlink";function Xg(e,t,r,i,n){if(i&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(iu,t.slice(6,t.length)):e.setAttributeNS(iu,t,r);else{var a=Bv(t);r==null||a&&!yo(r)?e.removeAttribute(t):e.setAttribute(t,a?"":r)}}function Kg(e,t,r,i,n,a,s){if(t==="innerHTML"||t==="textContent"){i&&s(i,n,a),e[t]=r==null?"":r;return}if(t==="value"&&e.tagName!=="PROGRESS"){e._value=r;var o=r==null?"":r;e.value!==o&&(e.value=o),r==null&&e.removeAttribute(t);return}if(r===""||r==null){var l=typeof e[t];if(l==="boolean"){e[t]=yo(r);return}else if(r==null&&l==="string"){e[t]="",e.removeAttribute(t);return}else if(l==="number"){try{e[t]=0}catch(u){}e.removeAttribute(t);return}}try{e[t]=r}catch(u){}}var ji=Date.now,nu=!1;if(typeof window!="undefined"){ji()>document.createEvent("Event").timeStamp&&(ji=()=>performance.now());var au=navigator.userAgent.match(/firefox\/(\d+)/i);nu=!!(au&&Number(au[1])<=53)}var qa=0,Gg=Promise.resolve(),Zg=()=>{qa=0},Jg=()=>qa||(Gg.then(Zg),qa=ji());function Qg(e,t,r,i){e.addEventListener(t,r,i)}function ep(e,t,r,i){e.removeEventListener(t,r,i)}function tp(e,t,r,i){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,a=e._vei||(e._vei={}),s=a[t];if(i&&s)s.value=i;else{var[o,l]=rp(t);if(i){var u=a[t]=ip(i,n);Qg(e,o,u,l)}else s&&(ep(e,o,s,l),a[t]=void 0)}}var su=/(?:Once|Passive|Capture)$/;function rp(e){var t;if(su.test(e)){t={};for(var r;r=e.match(su);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Ve(e.slice(2)),t]}function ip(e,t){var r=i=>{var n=i.timeStamp||ji();(nu||n>=r.attached-1)&&Qe(np(i,r.value),t,5,[i])};return r.value=e,r.attached=Jg(),r}function np(e,t){if(oe(t)){var r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(i=>n=>!n._stopped&&i(n))}else return t}var ou=/^on[a-z]/,ap=function(e,t,r,i){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a=arguments.length>5?arguments[5]:void 0,s=arguments.length>6?arguments[6]:void 0,o=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0;t==="class"?Hg(e,i,n):t==="style"?jg(e,r,i):gi(t)?Yn(t)||tp(e,t,r,i,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sp(e,t,i,n))?Kg(e,t,i,a,s,o,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),Xg(e,t,i,n))};function sp(e,t,r,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&ou.test(t)&&ae(r)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ou.test(t)&&ye(r)?!1:t in e}var op=["ctrl","shift","alt","meta"],lp={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&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>op.some(r=>e["".concat(r,"Key")]&&!t.includes(r))},Xa=(e,t)=>function(r){for(var i=0;i1?a-1:0),o=1;o{Br(e,!1)}):Br(e,i))},beforeUnmount(e,t){var{value:r}=t;Br(e,r)}};function Br(e,t){e.style.display=t?e._vod:"none"}var up=ce({patchProp:ap},Vg),lu;function fp(){return lu||(lu=hg(up))}var uu=function(){var e=fp().createApp(...arguments),{mount:t}=e;return e.mount=r=>{var i=cp(r);if(!!i){var n=e._component;!ae(n)&&!n.render&&!n.template&&(n.template=i.innerHTML),i.innerHTML="";var a=t(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a}},e};function cp(e){if(ye(e)){var t=document.querySelector(e);return t}return e}var fu=["top","left","right","bottom"],Ka,zi={},Ze;function Ga(){return!("CSS"in window)||typeof CSS.supports!="function"?Ze="":CSS.supports("top: env(safe-area-inset-top)")?Ze="env":CSS.supports("top: constant(safe-area-inset-top)")?Ze="constant":Ze="",Ze}function cu(){if(Ze=typeof Ze=="string"?Ze:Ga(),!Ze){fu.forEach(function(o){zi[o]=0});return}function e(o,l){var u=o.style;Object.keys(l).forEach(function(v){var c=l[v];u[v]=c})}var t=[];function r(o){o?t.push(o):t.forEach(function(l){l()})}var i=!1;try{var n=Object.defineProperty({},"passive",{get:function(){i={passive:!0}}});window.addEventListener("test",null,n)}catch(o){}function a(o,l){var u=document.createElement("div"),v=document.createElement("div"),c=document.createElement("div"),m=document.createElement("div"),g=100,_=1e4,b={position:"absolute",width:g+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Ze+"(safe-area-inset-"+l+")"};e(u,b),e(v,b),e(c,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(m,{transition:"0s",animation:"none",width:"250%",height:"250%"}),u.appendChild(c),v.appendChild(m),o.appendChild(u),o.appendChild(v),r(function(){u.scrollTop=v.scrollTop=_;var p=u.scrollTop,h=v.scrollTop;function f(){this.scrollTop!==(this===u?p:h)&&(u.scrollTop=v.scrollTop=_,p=u.scrollTop,h=v.scrollTop,vp(l))}u.addEventListener("scroll",f,i),v.addEventListener("scroll",f,i)});var w=getComputedStyle(u);Object.defineProperty(zi,l,{configurable:!0,get:function(){return parseFloat(w.paddingBottom)}})}var s=document.createElement("div");e(s,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),fu.forEach(function(o){a(s,o)}),document.body.appendChild(s),r(),Ka=!0}function Yi(e){return Ka||cu(),zi[e]}var qi=[];function vp(e){qi.length||setTimeout(function(){var t={};qi.forEach(function(r){t[r]=zi[r]}),qi.length=0,Xi.forEach(function(r){r(t)})},0),qi.push(e)}var Xi=[];function dp(e){!Ga()||(Ka||cu(),typeof e=="function"&&Xi.push(e))}function hp(e){var t=Xi.indexOf(e);t>=0&&Xi.splice(t,1)}var gp={get support(){return(typeof Ze=="string"?Ze:Ga()).length!=0},get top(){return Yi("top")},get left(){return Yi("left")},get right(){return Yi("right")},get bottom(){return Yi("bottom")},onChange:dp,offChange:hp},Ki=gp,pp=Xa(()=>{},["prevent"]);function Za(){var e=document.documentElement.style,t=parseInt(e.getPropertyValue("--window-top"));return t?t+Ki.top:0}function mp(){var e=document.documentElement.style,t=Za(),r=parseInt(e.getPropertyValue("--window-bottom")),i=parseInt(e.getPropertyValue("--window-left")),n=parseInt(e.getPropertyValue("--window-right"));return{top:t,bottom:r?r+Ki.bottom:0,left:i?i+Ki.left:0,right:n?n+Ki.right:0}}function _p(e){var t=document.documentElement.style;Object.keys(e).forEach(r=>{t.setProperty(r,e[r])})}function Gi(e){return Symbol(e)}function vu(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function Ut(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t)return bp(e);if(typeof e=="string"){var r=parseInt(e)||0;return vu(e)?uni.upx2px(r):r}return e}function bp(e){return vu(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,r)=>uni.upx2px(parseFloat(r))+"px"):e}var wp="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",yp="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",Sp="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",xp="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",Tp="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",Zi="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",Ep="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",Cp="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",Op="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";function Ji(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#000",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:27;return I("svg",{width:r,height:r,viewBox:"0 0 32 32"},[I("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Qi(){return Ct()}function Ip(){return window.__PAGE_INFO__}function Ct(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function Mp(e){e.preventDefault()}var du,hu=0;function Ap(e){var{onPageScroll:t,onReachBottom:r,onReachBottomDistance:i}=e,n=!1,a=!1,s=!0,o=()=>{var{scrollHeight:u}=document.documentElement,v=window.innerHeight,c=window.scrollY,m=c>0&&u>v&&c+v+i>=u,g=Math.abs(u-hu)>i;return m&&(!a||g)?(hu=u,a=!0,!0):(!m&&a&&(a=!1),!1)},l=()=>{t&&t(window.pageYOffset);function u(){if(o())return r&&r(),s=!1,setTimeout(function(){s=!0},350),!0}r&&s&&(u()||(du=setTimeout(u,300))),n=!1};return function(){clearTimeout(du),n||requestAnimationFrame(l),n=!0}}function Ja(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Ja(e,t.substr(2));for(var r=t.split("/"),i=r.length,n=0;n0?e.split("/"):[];return a.splice(a.length-n-1,n+1),"/"+a.concat(r).join("/")}class Rp{constructor(t){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=t,this.$el=t.$el,this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(t){if(!(!this.$el||!t)){var r=gu(this.$el.querySelector(t));if(!!r)return Qa(r)}}selectAllComponents(t){if(!this.$el||!t)return[];for(var r=[],i=this.$el.querySelectorAll(t),n=0;n-1&&r.splice(i,1)}var n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return n.indexOf(t)===-1&&(n.push(t),this.forceUpdate("class")),this}hasClass(t){return this.$el&&this.$el.classList.contains(t)}getDataset(){return this.$el&&this.$el.dataset}callMethod(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.$vm[t];ae(i)?i(JSON.parse(JSON.stringify(r))):this.$vm.ownerId&&UniViewJSBridge.publishHandler(rd,{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:t,args:r})}requestAnimationFrame(t){return window.requestAnimationFrame(t)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$vm.$emit(t,r),this}getComputedStyle(t){if(this.$el){var r=window.getComputedStyle(this.$el);return t&&t.length?t.reduce((i,n)=>(i[n]=r[n],i),{}):r}return{}}setTimeout(t,r){return window.setTimeout(t,r)}clearTimeout(t){return window.clearTimeout(t)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Qa(e){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Rp(e)),e.$el.__wxsComponentDescriptor}function en(e,t){return Qa(e)}function gu(e){if(!!e)return Dr(e)}function Dr(e){return e.__wxsVm||(e.__wxsVm={ownerId:e.__ownerId,$el:e,$emit(){},$forceUpdate(){var{__wxsStyle:t,__wxsAddClass:r,__wxsRemoveClass:i,__wxsStyleChanged:n,__wxsClassChanged:a}=e,s,o;n&&(e.__wxsStyleChanged=!1,t&&(o=()=>{Object.keys(t).forEach(l=>{e.style[l]=t[l]})})),a&&(e.__wxsClassChanged=!1,s=()=>{i&&i.forEach(l=>{e.classList.remove(l)}),r&&r.forEach(l=>{e.classList.add(l)})}),requestAnimationFrame(()=>{s&&s(),o&&o()})}})}var Pp=e=>e.type==="click";function pu(e,t,r){var{currentTarget:i}=e;if(!(e instanceof Event)||!(i instanceof HTMLElement))return[e];if(i.tagName.indexOf("UNI-")!==0)return[e];var n=mu(e);if(Pp(e))Np(n,e);else if(e instanceof TouchEvent){var a=Za();n.touches=_u(e.touches,a),n.changedTouches=_u(e.changedTouches,a)}return[n]}function Lp(e){for(;e&&e.tagName.indexOf("UNI-")!==0;)e=e.parentElement;return e}function mu(e){var{type:t,timeStamp:r,target:i,currentTarget:n}=e,a={type:t,timeStamp:r,target:ra(Lp(i)),detail:{},currentTarget:ra(n)};return e._stopped&&(a._stopped=!0),e.type.startsWith("touch")&&(a.touches=e.touches,a.changedTouches=e.changedTouches),a}function Np(e,t){var{x:r,y:i}=t,n=Za();e.detail={x:r,y:i-n},e.touches=e.changedTouches=[kp(t)]}function kp(e){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY}}function _u(e,t){for(var r=[],i=0;i1&&arguments[1]!==void 0?arguments[1]:{},r=Ct()+"";plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:e,data:t,pageId:r}},Bp)}function Hp(e,t){var r=e[0];if(!(!t||!it(t.formatArgs)&&it(r)))for(var i=t.formatArgs,n=Object.keys(i),a=0;aplus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,""));function qp(e){return e.indexOf("_www")===0||e.indexOf("_doc")===0||e.indexOf("_documents")===0||e.indexOf("_downloads")===0}function Xp(e,t,r){}function Kp(e){return Promise.resolve(e)}var Gp="upx2px",Zp=1e-4,Jp=750,Tu=!1,es=0,Eu=0;function Qp(){var{platform:e,pixelRatio:t,windowWidth:r}=Su();es=r,Eu=t,Tu=e==="ios"}function Cu(e,t){var r=Number(e);return isNaN(r)?t:r}var Ou=Yp(Gp,(e,t)=>{if(es===0&&Qp(),e=Number(e),e===0)return 0;var r=t||es;{var i=__uniConfig.globalStyle||{},n=Cu(i.rpxCalcMaxDeviceWidth,960),a=Cu(i.rpxCalcBaseDeviceWidth,375);r=r<=n?r:a}var s=e/Jp*r;return s<0&&(s=-s),s=Math.floor(s+Zp),s===0&&(Eu===1||!Tu?s=1:s=.5),e<0?-s:s}),em=[{name:"id",type:String,required:!0}];em.concat({name:"componentInstance",type:Object});var Iu={};Iu.f={}.propertyIsEnumerable;var tm=hr,rm=Dn,im=ni,nm=Iu.f,am=function(e){return function(t){for(var r=im(t),i=rm(r),n=i.length,a=0,s=[],o;n>a;)o=i[a++],(!tm||nm.call(r,o))&&s.push(e?[o,r[o]]:r[o]);return s}},Mu=kn,sm=am(!1);Mu(Mu.S,"Object",{values:function(t){return sm(t)}});var om="setPageMeta",lm="loadFontFace",um="pageScrollTo",fm=function(){if(typeof window!="object")return;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}});return}function e(f){try{return f.defaultView&&f.defaultView.frameElement||null}catch(d){return null}}var t=function(f){for(var d=f,y=e(d);y;)d=y.ownerDocument,y=e(d);return d}(window.document),r=[],i=null,n=null;function a(f){this.time=f.time,this.target=f.target,this.rootBounds=_(f.rootBounds),this.boundingClientRect=_(f.boundingClientRect),this.intersectionRect=_(f.intersectionRect||g()),this.isIntersecting=!!f.intersectionRect;var d=this.boundingClientRect,y=d.width*d.height,x=this.intersectionRect,E=x.width*x.height;y?this.intersectionRatio=Number((E/y).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function s(f,d){var y=d||{};if(typeof f!="function")throw new Error("callback must be a function");if(y.root&&y.root.nodeType!=1&&y.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=f,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(y.rootMargin),this.thresholds=this._initThresholds(y.threshold),this.root=y.root||null,this.rootMargin=this._rootMarginValues.map(function(x){return x.value+x.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return i||(i=function(f,d){!f||!d?n=g():n=b(f,d),r.forEach(function(y){y._checkForIntersections()})}),i},s._resetCrossOriginUpdater=function(){i=null,n=null},s.prototype.observe=function(f){var d=this._observationTargets.some(function(y){return y.element==f});if(!d){if(!(f&&f.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:f,entry:null}),this._monitorIntersections(f.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(f){this._observationTargets=this._observationTargets.filter(function(d){return d.element!=f}),this._unmonitorIntersections(f.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var f=this._queuedEntries.slice();return this._queuedEntries=[],f},s.prototype._initThresholds=function(f){var d=f||[0];return Array.isArray(d)||(d=[d]),d.sort().filter(function(y,x,E){if(typeof y!="number"||isNaN(y)||y<0||y>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return y!==E[x-1]})},s.prototype._parseRootMargin=function(f){var d=f||"0px",y=d.split(/\s+/).map(function(x){var E=/^(-?\d*\.?\d+)(px|%)$/.exec(x);if(!E)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(E[1]),unit:E[2]}});return y[1]=y[1]||y[0],y[2]=y[2]||y[0],y[3]=y[3]||y[1],y},s.prototype._monitorIntersections=function(f){var d=f.defaultView;if(!!d&&this._monitoringDocuments.indexOf(f)==-1){var y=this._checkForIntersections,x=null,E=null;this.POLL_INTERVAL?x=d.setInterval(y,this.POLL_INTERVAL):(u(d,"resize",y,!0),u(f,"scroll",y,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in d&&(E=new d.MutationObserver(y),E.observe(f,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(f),this._monitoringUnsubscribes.push(function(){var W=f.defaultView;W&&(x&&W.clearInterval(x),v(W,"resize",y,!0)),v(f,"scroll",y,!0),E&&E.disconnect()});var C=this.root&&(this.root.ownerDocument||this.root)||t;if(f!=C){var M=e(f);M&&this._monitorIntersections(M.ownerDocument)}}},s.prototype._unmonitorIntersections=function(f){var d=this._monitoringDocuments.indexOf(f);if(d!=-1){var y=this.root&&(this.root.ownerDocument||this.root)||t,x=this._observationTargets.some(function(M){var W=M.element.ownerDocument;if(W==f)return!0;for(;W&&W!=y;){var V=e(W);if(W=V&&V.ownerDocument,W==f)return!0}return!1});if(!x){var E=this._monitoringUnsubscribes[d];if(this._monitoringDocuments.splice(d,1),this._monitoringUnsubscribes.splice(d,1),E(),f!=y){var C=e(f);C&&this._unmonitorIntersections(C.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var f=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var d=0;d=0&&W>=0&&{top:y,bottom:x,left:E,right:C,width:M,height:W}||null}function m(f){var d;try{d=f.getBoundingClientRect()}catch(y){}return d?(d.width&&d.height||(d={top:d.top,right:d.right,bottom:d.bottom,left:d.left,width:d.right-d.left,height:d.bottom-d.top}),d):g()}function g(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function _(f){return!f||"x"in f?f:{top:f.top,y:f.top,bottom:f.bottom,left:f.left,x:f.left,right:f.right,width:f.width,height:f.height}}function b(f,d){var y=d.top-f.top,x=d.left-f.left;return{top:y,left:x,height:d.height,width:d.width,bottom:y+d.height,right:x+d.width}}function w(f,d){for(var y=d;y;){if(y==f)return!0;y=p(y)}return!1}function p(f){var d=f.parentNode;return f.nodeType==9&&f!=t?e(f):(d&&d.assignedSlot&&(d=d.assignedSlot.parentNode),d&&d.nodeType==11&&d.host?d.host:d)}function h(f){return f&&f.nodeType===9}window.IntersectionObserver=s,window.IntersectionObserverEntry=a};function ts(e){var{bottom:t,height:r,left:i,right:n,top:a,width:s}=e||{};return{bottom:t,height:r,left:i,right:n,top:a,width:s}}function cm(e){var{intersectionRatio:t,boundingClientRect:{height:r,width:i},intersectionRect:{height:n,width:a}}=e;return t!==0?t:n===r?a/i:n/r}function vm(e,t,r){fm();var i=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,n=new IntersectionObserver(l=>{l.forEach(u=>{r({intersectionRatio:cm(u),intersectionRect:ts(u.intersectionRect),boundingClientRect:ts(u.boundingClientRect),relativeRect:ts(u.rootBounds),time:Date.now(),dataset:ea(u.target),id:u.target.id})})},{root:i,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){n.USE_MUTATION_OBSERVER=!0;for(var a=e.querySelectorAll(t.selector),s=0;s{var i=450,n=44;clearTimeout(t),e&&Math.abs(r.pageX-e.pageX)<=n&&Math.abs(r.pageY-e.pageY)<=n&&r.timeStamp-e.timeStamp<=i&&r.preventDefault(),e=r,t=setTimeout(()=>{e=null},i)})}}function wm(e){if(!e.length)return r=>r;var t=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(typeof r=="number")return e[r];var n={};return r.forEach(a=>{var[s,o]=a;i?n[t(s)]=t(o):n[t(s)]=o}),n};return t}function ym(e,t){if(!!t)return t.a&&(t.a=e(t.a)),t.e&&(t.e=e(t.e,!1)),t.w&&(t.w=Sm(t.w,e)),t.s&&(t.s=e(t.s)),t.t&&(t.t=e(t.t)),t}function Sm(e,t){var r={};return e.forEach(i=>{var[n,[a,s]]=i;r[t(n)]=[t(a),s]}),r}function xm(e,t){return e.priority=t,e}var rs=new Set,Tm=1,is=2,Au=3,Ru=4;function Ot(e,t){rs.add(xm(e,t))}function Em(){try{[...rs].sort((e,t)=>e.priority-t.priority).forEach(e=>e())}finally{rs.clear()}}function Pu(e,t){var r=window["__"+Jv],i=r&&r[e];if(i)return i;if(t&&t.__renderjsInstances)return t.__renderjsInstances[e]}var Cm=Oo.length;function Om(e,t,r){var[i,n,a,s]=as(t),o=ns(e,i);if(oe(r)||oe(s)){var[l,u]=a.split(".");return ss(o,n,l,u,r||s)}return Am(o,n,a)}function Im(e,t,r){var[i,n,a]=as(t),[s,o]=a.split("."),l=ns(e,i);return ss(l,n,s,o,[Pm(r,e),en(Dr(l))])}function ns(e,t){if(e.__ownerId===t)return e;for(var r=e.parentElement;r;){if(r.__ownerId===t)return r;r=r.parentElement}return e}function as(e){return JSON.parse(e.substr(Cm))}function Mm(e,t,r,i){var[n,a,s]=as(e),o=ns(t,n),[l,u]=s.split(".");return ss(o,a,l,u,[r,i,en(Dr(o)),en(Dr(t))])}function ss(e,t,r,i,n){var a=Pu(t,e);if(!a)return console.error(Qn("wxs","module "+r+" not found"));var s=a[i];return ae(s)?s.apply(a,n):console.error(r+"."+i+" is not a function")}function Am(e,t,r){var i=Pu(t,e);return i?No(i,r.substr(r.indexOf(".")+1)):console.error(Qn("wxs","module "+r+" not found"))}function Rm(e,t,r){var i=r;return n=>{try{Mm(t,e.$,n,i)}catch(a){console.error(a)}i=n}}function Pm(e,t){var r=Dr(t);return Object.defineProperty(e,"instance",{get(){return en(r)}}),e}function Lu(e,t){Object.keys(t).forEach(r=>{Nm(e,t[r])})}function Lm(e){var{__renderjsInstances:t}=e.$;!t||Object.keys(t).forEach(r=>{t[r].$.appContext.app.unmount()})}function Nm(e,t){var r=km(t);if(!!r){var i=e.$;(i.__renderjsInstances||(i.__renderjsInstances={}))[t]=Bm(r)}}function km(e){var t=window["__"+Qv],r=t&&t[e];return r||console.error(Qn("renderjs",e+" not found"))}function Bm(e){return e=e.default||e,e.render=()=>{},uu(e).mount(document.createElement("div"))}class lr{constructor(t,r,i,n){this.isMounted=!1,this.isUnmounted=!1,this.$hasWxsProps=!1,this.$children=[],this.id=t,this.tag=r,this.pid=i,n&&(this.$=n),this.$wxsProps=new Map;var a=this.$parent=Vw(i);a&&a.appendUniChild(this)}init(t){te(t,"t")&&(this.$.textContent=t.t)}setText(t){this.$.textContent=t}insert(t,r){var i=this.$,n=Ke(t);r===-1?n.appendChild(i):n.insertBefore(i,Ke(r).$),this.isMounted=!0}remove(){this.removeUniParent();var{$:t}=this;t.parentNode.removeChild(t),this.isUnmounted=!0,qf(this.id),Lm(this),this.removeUniChildren()}appendChild(t){return this.$.appendChild(t)}insertBefore(t,r){return this.$.insertBefore(t,r)}appendUniChild(t){this.$children.push(t)}removeUniChild(t){var r=this.$children.indexOf(t);r>=0&&this.$children.splice(r,1)}removeUniParent(){var{$parent:t}=this;t&&(t.removeUniChild(this),this.$parent=void 0)}removeUniChildren(){this.$children.forEach(t=>t.remove()),this.$children.length=0}setWxsProps(t){Object.keys(t).forEach(r=>{if(r.indexOf(sa)===0){var i=r.replace(sa,""),n=t[i],a=Rm(this,t[r],n);Ot(()=>a(n),Ru),this.$wxsProps.set(r,a),delete t[r],delete t[i],this.$hasWxsProps=!0}})}addWxsEvents(t){Object.keys(t).forEach(r=>{var[i,n]=t[r];this.addWxsEvent(r,i,n)})}addWxsEvent(t,r,i){}wxsPropsInvoke(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=this.$hasWxsProps&&this.$wxsProps.get(sa+t);if(n)return Ot(()=>i?sr(()=>n(r)):n(r),Ru),!0}}function Nu(e,t){var{__wxsAddClass:r,__wxsRemoveClass:i}=e;i&&i.length&&(t=t.split(/\s+/).filter(n=>i.indexOf(n)===-1).join(" "),i.length=0),r&&r.length&&(t=t+" "+r.join(" ")),e.className=t}function ku(e,t){var r=e.style;if(ye(t))t===""?e.removeAttribute("style"):r.cssText=Ut(t,!0);else for(var i in t)os(r,i,t[i]);var{__wxsStyle:n}=e;if(n)for(var a in n)os(r,a,n[a])}var Bu=/\s*!important$/;function os(e,t,r){if(oe(r))r.forEach(n=>os(e,t,n));else if(r=Ut(r,!0),t.startsWith("--"))e.setProperty(t,r);else{var i=Dm(e,t);Bu.test(r)?e.setProperty(Ve(i),r.replace(Bu,""),"important"):e[i]=r}}var Du=["Webkit"],ls={};function Dm(e,t){var r=ls[t];if(r)return r;var i=mt(t);if(i!=="filter"&&i in e)return ls[t]=i;i=_i(i);for(var n=0;n{var[a]=pu(n);a.type=ud(n.type,r),UniViewJSBridge.publishHandler(bu,[[Sd,e,a]])};return t?Xa(i,Vu(t)):i}function Vu(e){var t=[];return e&na.prevent&&t.push("prevent"),e&na.self&&t.push("self"),e&na.stop&&t.push("stop"),t}function Fm(e,t,r,i){var[n,a]=ia(t);i===-1?Fu(e,n):$u(e,n)||e.addEventListener(n,e.__listeners[n]=Hu(e,r,i),a)}function Hu(e,t,r){var i=n=>{Im(e,t,pu(n)[0])};return r?Xa(i,Vu(r)):i}var $m=Io.length;function us(e,t){return ye(t)&&(t.indexOf(Io)===0?t=JSON.parse(t.substr($m)):t.indexOf(Oo)===0&&(t=Om(e,t))),t}function tn(e){return e.indexOf("--")===0}function fs(e,t){e._vod=e.style.display==="none"?"":e.style.display,e.style.display=t?e._vod:"none"}class ju extends lr{constructor(t,r,i,n,a){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r.tagName,i,r);this.$props=Ee({}),this.$.__id=t,this.$.__listeners=Object.create(null),this.$propNames=s,this._update=this.update.bind(this),this.init(a),this.insert(i,n)}init(t){te(t,"a")&&this.setAttrs(t.a),te(t,"s")&&this.setAttr("style",t.s),te(t,"e")&&this.addEvents(t.e),te(t,"w")&&this.addWxsEvents(t.w),super.init(t),U(this.$props,()=>{Ot(this._update,Tm)},{flush:"sync"}),this.update(!0)}setAttrs(t){this.setWxsProps(t),Object.keys(t).forEach(r=>{this.setAttr(r,t[r])})}addEvents(t){Object.keys(t).forEach(r=>{this.addEvent(r,t[r])})}addWxsEvent(t,r,i){Fm(this.$,t,r,i)}addEvent(t,r){Wu(this.$,t,r)}removeEvent(t){Wu(this.$,t,-1)}setAttr(t,r){t===Ao?Nu(this.$,r):t===aa?ku(this.$,r):t===yi?fs(this.$,r):t===Ro?this.$.__ownerId=r:t===Po?Ot(()=>Lu(this,r),Au):t===fd?this.$.innerHTML=r:t===cd?this.setText(r):this.setAttribute(t,r)}removeAttr(t){t===Ao?Nu(this.$,""):t===aa?ku(this.$,""):this.removeAttribute(t)}setAttribute(t,r){r=us(this.$,r),this.$propNames.indexOf(t)!==-1?this.$props[t]=r:tn(t)?this.$.style.setProperty(t,r):this.wxsPropsInvoke(t,r)||this.$.setAttribute(t,r)}removeAttribute(t){this.$propNames.indexOf(t)!==-1?delete this.$props[t]:tn(t)?this.$.style.removeProperty(t):this.$.removeAttribute(t)}update(){}}class Wm extends lr{constructor(t,r,i){super(t,"#comment",r,document.createComment(""));this.insert(r,i)}}var _y="";function zu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(t,r)=>"".concat(uni.upx2px(parseFloat(r)),"px")):/^-?[\d\.]+$/.test(e)?"".concat(e,"px"):e||""}function Um(e){return e.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase())).replace("webkit","-webkit")}function Vm(e){var t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],r=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],i=["opacity","background-color"],n=["width","height","left","right","top","bottom"],a=e.animates,s=e.option,o=s.transition,l={},u=[];return a.forEach(v=>{var c=v.type,m=[...v.args];if(t.concat(r).includes(c))c.startsWith("rotate")||c.startsWith("skew")?m=m.map(_=>parseFloat(_)+"deg"):c.startsWith("translate")&&(m=m.map(zu)),r.indexOf(c)>=0&&(m.length=1),u.push("".concat(c,"(").concat(m.join(","),")"));else if(i.concat(n).includes(m[0])){c=m[0];var g=m[1];l[c]=n.includes(c)?zu(g):g}}),l.transform=l.webkitTransform=u.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(v=>"".concat(Um(v)," ").concat(o.duration,"ms ").concat(o.timingFunction," ").concat(o.delay,"ms")).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}function Yu(e){var t=e.animation;if(!t||!t.actions||!t.actions.length)return;var r=0,i=t.actions,n=t.actions.length;function a(){var s=i[r],o=s.option.transition,l=Vm(s);Object.keys(l).forEach(u=>{e.$el.style[u]=l[u]}),r+=1,r{a()},0)}var rn={props:["animation"],watch:{animation:{deep:!0,handler(){Yu(this)}}},mounted(){Yu(this)}},de=e=>{var{props:t,mixins:r}=e;return(!t||!t.animation)&&(r||(e.mixins=[])).push(rn),Hm(e)},Hm=e=>(e.compatConfig={MODE:3},qh(e)),jm={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function cs(e){var t=$(!1),r=!1,i,n;function a(){requestAnimationFrame(()=>{clearTimeout(n),n=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function s(u){u._hoverPropagationStopped||!e.hoverClass||e.hoverClass==="none"||e.disabled||u.touches.length>1||(e.hoverStopPropagation&&(u._hoverPropagationStopped=!0),r=!0,i=setTimeout(()=>{t.value=!0,r||a()},parseInt(e.hoverStartTime)))}function o(){r=!1,t.value&&a()}function l(){r=!1,t.value=!1,clearTimeout(i)}return{hovering:t,binding:{onTouchstartPassive:s,onTouchend:o,onTouchcancel:l}}}function Fr(e,t){return ye(t)&&(t=[t]),t.reduce((r,i)=>(e[i]&&(r[i]=!0),r),Object.create(null))}function Vt(e){return e.__wwe=!0,e}function Me(e,t){return(r,i,n)=>{e.value&&t(r,Ym(r,i,e.value,n||{}))}}function zm(e){return(t,r)=>{e(t,mu(r))}}function Ym(e,t,r,i){var n=ra(r);return{type:i.type||e,timeStamp:t.timeStamp||0,target:n,currentTarget:n,detail:i}}var ut=Gi("uf"),qm=de({name:"Form",emits:["submit","reset"],setup(e,t){var{slots:r,emit:i}=t,n=$(null);return Xm(Me(n,i)),()=>I("uni-form",{ref:n},[I("span",null,[r.default&&r.default()])],512)}});function Xm(e){var t=[];return Ne(ut,{addField(r){t.push(r)},removeField(r){t.splice(t.indexOf(r),1)},submit(r){e("submit",r,{value:t.reduce((i,n)=>{if(n.submit){var[a,s]=n.submit();a&&(i[a]=s)}return i},Object.create(null))})},reset(r){t.forEach(i=>i.reset&&i.reset()),e("reset",r)}}),t}var $r=Gi("ul"),Km={for:{type:String,default:""}},Gm=de({name:"Label",props:Km,setup(e,t){var{slots:r}=t,i=Qi(),n=Zm(),a=Q(()=>e.for||r.default&&r.default.length),s=Vt(o=>{var l=o.target,u=/^uni-(checkbox|radio|switch)-/.test(l.className);u||(u=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(l.tagName)),!u&&(e.for?UniViewJSBridge.emit("uni-label-click-"+i+"-"+e.for,o,!0):n.length&&n[0](o,!0))});return()=>I("uni-label",{class:{"uni-label-pointer":a},onClick:s},[r.default&&r.default()],10,["onClick"])}});function Zm(){var e=[];return Ne($r,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}function nn(e,t){qu(e.id,t),U(()=>e.id,(r,i)=>{Xu(i,t,!0),qu(r,t,!0)}),yt(()=>{Xu(e.id,t)})}function qu(e,t,r){var i=Qi();r&&!e||!it(t)||Object.keys(t).forEach(n=>{r?n.indexOf("@")!==0&&n.indexOf("uni-")!==0&&UniViewJSBridge.on("uni-".concat(n,"-").concat(i,"-").concat(e),t[n]):n.indexOf("uni-")===0?UniViewJSBridge.on(n,t[n]):e&&UniViewJSBridge.on("uni-".concat(n,"-").concat(i,"-").concat(e),t[n])})}function Xu(e,t,r){var i=Qi();r&&!e||!it(t)||Object.keys(t).forEach(n=>{r?n.indexOf("@")!==0&&n.indexOf("uni-")!==0&&UniViewJSBridge.off("uni-".concat(n,"-").concat(i,"-").concat(e),t[n]):n.indexOf("uni-")===0?UniViewJSBridge.off(n,t[n]):e&&UniViewJSBridge.off("uni-".concat(n,"-").concat(i,"-").concat(e),t[n])})}var Jm=de({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}},setup(e,t){var{slots:r}=t,i=$(null);Hd();var n=pe(ut,!1),{hovering:a,binding:s}=cs(e),{t:o}=He(),l=Vt((v,c)=>{if(e.disabled)return v.stopImmediatePropagation();c&&i.value.click();var m=e.formType;if(m){if(!n)return;m==="submit"?n.submit(v):m==="reset"&&n.reset(v);return}e.openType==="feedback"&&Qm(o("uni.button.feedback.title"),o("uni.button.feedback.send"))}),u=pe($r,!1);return u&&(u.addHandler(l),xe(()=>{u.removeHandler(l)})),nn(e,{"label-click":l}),()=>{var v=e.hoverClass,c=Fr(e,"disabled"),m=Fr(e,"loading"),g=v&&v!=="none";return I("uni-button",ze({ref:i,onClick:l,class:g&&a.value?v:""},g&&s,c,m),[r.default&&r.default()],16,["onClick"])}}});function Qm(e,t){var r=plus.webview.create("https://service.dcloud.net.cn/uniapp/feedback.html","feedback",{titleNView:{titleText:e,autoBackButton:!0,backgroundColor:"#F7F7F7",titleColor:"#007aff",buttons:[{text:t,color:"#007aff",fontSize:"16px",fontWeight:"bold",onclick:function(){r.evalJS('typeof mui !== "undefined" && mui.trigger(document.getElementById("submit"),"tap")')}}]}});r.show("slide-in-right")}var Ht=de({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,t){var{emit:r}=t,i=$(null),n=t0(i),a=e0(i,r,n);return r0(i,e,a,n),()=>I("uni-resize-sensor",{ref:i,onAnimationstartOnce:a},[I("div",{onScroll:a},[I("div",null,null)],40,["onScroll"]),I("div",{onScroll:a},[I("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function e0(e,t,r){var i=Ee({width:-1,height:-1});return U(()=>ce({},i),n=>t("resize",n)),()=>{var n=e.value;i.width=n.offsetWidth,i.height=n.offsetHeight,r()}}function t0(e){return()=>{var{firstElementChild:t,lastElementChild:r}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,r.scrollLeft=1e5,r.scrollTop=1e5}}function r0(e,t,r,i){Ma(i),Ie(()=>{t.initial&&sr(r);var n=e.value;n.offsetParent!==n.parentElement&&(n.parentElement.style.position="relative"),"AnimationEvent"in window||i()})}var me=function(){var e=document.createElement("canvas");e.height=e.width=0;var t=e.getContext("2d"),r=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/r}();function Ku(e){e.width=e.offsetWidth*me,e.height=e.offsetHeight*me,e.getContext("2d").__hidpi__=!0}var Gu=!1;function i0(){if(!Gu){Gu=!0;var e=function(i,n){for(var a in i)te(i,a)&&n(i[a],a)},t={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",setTransform:[4,5]},r=CanvasRenderingContext2D.prototype;r.drawImageByCanvas=function(i){return function(n,a,s,o,l,u,v,c,m,g){if(!this.__hidpi__)return i.apply(this,arguments);a*=me,s*=me,o*=me,l*=me,u*=me,v*=me,c=g?c*me:c,m=g?m*me:m,i.call(this,n,a,s,o,l,u,v,c,m)}}(r.drawImage),me!==1&&(e(t,function(i,n){r[n]=function(a){return function(){if(!this.__hidpi__)return a.apply(this,arguments);var s=Array.prototype.slice.call(arguments);if(i==="all")s=s.map(function(l){return l*me});else if(Array.isArray(i))for(var o=0;oi0());function Zu(e){return e&&et(e)}function an(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function Ju(e,t){var r=e;return Array.from(t).map(i=>{var n=r.getBoundingClientRect();return{identifier:i.identifier,x:i.clientX-n.left,y:i.clientY-n.top}})}var Wr;function Qu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Wr||(Wr=document.createElement("canvas")),Wr.width=e,Wr.height=t,Wr}var a0={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1}},s0=de({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:a0,computed:{id(){return this.canvasId}},setup(e,t){var{emit:r,slots:i}=t;n0();var n=$(null),a=$(null),s=$(!1),o=zm(r),{$attrs:l,$excludeAttrs:u,$listeners:v}=bf({excludeListeners:!0}),{_listeners:c}=o0(e,v,o),{_handleSubscribe:m,_resize:g}=l0(n,s);return pn(m,mn(e.canvasId),!0),Ie(()=>{g()}),()=>{var{canvasId:_,disableScroll:b}=e;return I("uni-canvas",ze({"canvas-id":_,"disable-scroll":b},l.value,u.value,c.value),[I("canvas",{ref:n,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),I("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[i.default&&i.default()]),I(Ht,{ref:a,onResize:g},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function o0(e,t,r){var i=Q(()=>{var n=["onTouchstart","onTouchmove","onTouchend"],a=t.value,s=ce({},(()=>{var o={};for(var l in a)if(Object.prototype.hasOwnProperty.call(a,l)){var u=a[l];o[l]=u}return o})());return n.forEach(o=>{var l=s[o],u=[];l&&u.push(Vt(v=>{r(o.replace("on","").toLocaleLowerCase(),ce({},(()=>{var c={};for(var m in v)c[m]=v[m];return c})(),{touches:Ju(v.currentTarget,v.touches),changedTouches:Ju(v.currentTarget,v.changedTouches)}))})),e.disableScroll&&o==="onTouchmove"&&u.push(pp),s[o]=u}),s});return{_listeners:i}}function l0(e,t){var r=[],i={};function n(g){var _=e.value,b=!g||_.width!==Math.floor(g.width*me)||_.height!==Math.floor(g.height*me);if(!!b)if(_.width>0&&_.height>0){var w=_.getContext("2d"),p=w.getImageData(0,0,_.width,_.height);Ku(_),w.putImageData(p,0,0)}else Ku(_)}function a(g,_){var{actions:b,reserve:w}=g;if(!!b){if(t.value){r.push([b,w]);return}var p=e.value,h=p.getContext("2d");w||(h.fillStyle="#000000",h.strokeStyle="#000000",h.shadowColor="#000000",h.shadowBlur=0,h.shadowOffsetX=0,h.shadowOffsetY=0,h.setTransform(1,0,0,1,0,0),h.clearRect(0,0,p.width,p.height)),s(b);for(var f=function(x){var E=b[x],C=E.method,M=E.data,W=M[0];if(/^set/.test(C)&&C!=="setTransform"){var V=C[3].toLowerCase()+C.slice(4),q;if(V==="fillStyle"||V==="strokeStyle"){if(W==="normal")q=an(M[1]);else if(W==="linear"){var he=h.createLinearGradient(...M[1]);M[2].forEach(function(G){var re=G[0],le=an(G[1]);he.addColorStop(re,le)}),q=he}else if(W==="radial"){var R=M[1],B=R[0],ee=R[1],ie=R[2],z=h.createRadialGradient(B,ee,0,B,ee,ie);M[2].forEach(function(G){var re=G[0],le=an(G[1]);z.addColorStop(re,le)}),q=z}else if(W==="pattern"){var J=o(M[1],b.slice(x+1),_,function(G){G&&(h[V]=h.createPattern(G,M[2]))});return J?"continue":"break"}h[V]=q}else if(V==="globalAlpha")h[V]=Number(W)/255;else if(V==="shadow"){var ne=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];M.forEach(function(G,re){h[ne[re]]=ne[re]==="shadowColor"?an(G):G})}else if(V==="fontSize"){var we=h.__font__||h.font;h.__font__=h.font=we.replace(/\d+\.?\d*px/,W+"px")}else V==="lineDash"?(h.setLineDash(W),h.lineDashOffset=M[1]||0):V==="textBaseline"?(W==="normal"&&(M[0]="alphabetic"),h[V]=W):V==="font"?h.__font__=h.font=W:h[V]=W}else if(C==="fillPath"||C==="strokePath")C=C.replace(/Path/,""),h.beginPath(),M.forEach(function(G){h[G.method].apply(h,G.data)}),h[C]();else if(C==="fillText")h.fillText.apply(h,M);else if(C==="drawImage"){var se=function(){var G=[...M],re=G[0],le=G.slice(1);if(i=i||{},o(re,b.slice(x+1),_,function(Ce){Ce&&h.drawImage.apply(h,[Ce].concat([...le.slice(4,8)],[...le.slice(0,4)]))}))return"break"}();if(se==="break")return"break"}else C==="clip"?(M.forEach(function(G){h[G.method].apply(h,G.data)}),h.clip()):h[C].apply(h,M)},d=0;d{f.src=d}).catch(()=>{f.src=p})}})}function o(g,_,b,w){var p=i[g];return p.ready?(w(p),!0):(r.unshift([_,!0]),t.value=!0,p.onload=function(){p.ready=!0,w(p),t.value=!1;var h=r.slice(0);r=[];for(var f=h.shift();f;)a({actions:f[0],reserve:f[1]},b),f=h.shift()},!1)}function l(g,_){var{x:b=0,y:w=0,width:p,height:h,destWidth:f,destHeight:d,hidpi:y=!0,dataType:x,quality:E=1,type:C="png"}=g,M=e.value,W,V=M.offsetWidth-b;p=p?Math.min(p,V):V;var q=M.offsetHeight-w;h=h?Math.min(h,q):q,y?(f=p,d=h):!f&&!d?(f=Math.round(p*me),d=Math.round(h*me)):f?d||(d=Math.round(h/p*f)):f=Math.round(p/h*d);var he=Qu(f,d),R=he.getContext("2d");(C==="jpeg"||C==="jpg")&&(C="jpeg",R.fillStyle="#fff",R.fillRect(0,0,f,d)),R.__hidpi__=!0,R.drawImageByCanvas(M,b,w,p,h,0,0,f,d,!1);var B;try{var ee;if(x==="base64")W=he.toDataURL("image/".concat(C),E);else{var ie=R.getImageData(0,0,f,d),z=require("pako");W=z.deflateRaw(ie.data,{to:"string"}),ee=!0}B={data:W,compressed:ee,width:f,height:d}}catch(J){B={errMsg:"canvasGetImageData:fail ".concat(J)}}if(he.height=he.width=0,R.__hidpi__=!1,_)_(B);else return B}function u(g,_){var{data:b,x:w,y:p,width:h,height:f,compressed:d}=g;try{f||(f=Math.round(b.length/4/h));var y=Qu(h,f),x=y.getContext("2d");if(d){var E=require("pako");b=E.inflateRaw(b)}x.putImageData(new ImageData(new Uint8ClampedArray(b),h,f),0,0),e.value.getContext("2d").drawImage(y,w,p,h,f),y.height=y.width=0}catch(C){_({errMsg:"canvasPutImageData:fail"});return}_({errMsg:"canvasPutImageData:ok"})}function v(g,_){var{x:b=0,y:w=0,width:p,height:h,destWidth:f,destHeight:d,fileType:y,quality:x,dirname:E}=g,C=l({x:b,y:w,width:p,height:h,destWidth:f,destHeight:d,hidpi:!1,dataType:"base64",type:y,quality:x});if(!C.data||!C.data.length){_({errMsg:C.errMsg.replace("canvasPutImageData","toTempFilePath")});return}Xp(C.data)}var c={actionsChanged:a,getImageData:l,putImageData:u,toTempFilePath:v};function m(g,_,b){var w=c[g];g.indexOf("_")!==0&&typeof w=="function"&&w(_,b)}return ce(c,{_resize:n,_handleSubscribe:m})}var ef=Gi("ucg"),u0={name:{type:String,default:""}},f0=de({name:"CheckboxGroup",props:u0,emits:["change"],setup(e,t){var{emit:r,slots:i}=t,n=$(null),a=Me(n,r);return c0(e,a),()=>I("uni-checkbox-group",{ref:n},[i.default&&i.default()],512)}});function c0(e,t){var r=[],i=()=>r.reduce((a,s)=>(s.value.checkboxChecked&&a.push(s.value.value),a),new Array);Ne(ef,{addField(a){r.push(a)},removeField(a){r.splice(r.indexOf(a),1)},checkboxChange(a){t("change",a,{value:i()})}});var n=pe(ut,!1);return n&&n.addField({submit:()=>{var a=["",null];return e.name!==""&&(a[0]=e.name,a[1]=i()),a}}),i}var v0={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:""}},d0=de({name:"Checkbox",props:v0,setup(e,t){var{slots:r}=t,i=$(e.checked),n=$(e.value);U([()=>e.checked,()=>e.value],u=>{var[v,c]=u;i.value=v,n.value=c});var a=()=>{i.value=!1},{uniCheckGroup:s,uniLabel:o}=h0(i,n,a),l=u=>{e.disabled||(i.value=!i.value,s&&s.checkboxChange(u))};return o&&(o.addHandler(l),xe(()=>{o.removeHandler(l)})),nn(e,{"label-click":l}),()=>{var u=Fr(e,"disabled");return I("uni-checkbox",ze(u,{onClick:l}),[I("div",{class:"uni-checkbox-wrapper"},[I("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[i.value?Ji(Zi,e.color,22):""],2),r.default&&r.default()])],16,["onClick"])}}});function h0(e,t,r){var i=Q(()=>({checkboxChecked:Boolean(e.value),value:t.value})),n={reset:r},a=pe(ef,!1);a&&a.addField(i);var s=pe(ut,!1);s&&s.addField(n);var o=pe($r,!1);return xe(()=>{a&&a.removeField(i),s&&s.removeField(n)}),{uniCheckGroup:a,uniForm:s,uniLabel:o}}var tf,Ur,sn,It,on,vs;Qt(()=>{Ur=plus.os.name==="Android",sn=plus.os.version||""}),document.addEventListener("keyboardchange",function(e){It=e.height,on&&on()},!1);function rf(){}function Vr(e,t,r){Qt(()=>{var i="adjustResize",n="adjustPan",a="nothing",s=plus.webview.currentWebview(),o=vs||s.getStyle()||{},l={mode:r||o.softinputMode===i?i:e.adjustPosition?n:a,position:{top:0,height:0}};if(l.mode===n){var u=t.getBoundingClientRect();l.position.top=u.top,l.position.height=u.height+(Number(e.cursorSpacing)||0)}s.setSoftinputTemporary(l)})}function g0(e,t){if(e.showConfirmBar==="auto"){delete t.softinputNavBar;return}Qt(()=>{var r=plus.webview.currentWebview(),{softinputNavBar:i}=r.getStyle()||{},n=i!=="none";n!==e.showConfirmBar?(t.softinputNavBar=i||"auto",r.setStyle({softinputNavBar:e.showConfirmBar?"auto":"none"})):delete t.softinputNavBar})}function p0(e){var t=e.softinputNavBar;t&&Qt(()=>{var r=plus.webview.currentWebview();r.setStyle({softinputNavBar:t})})}var nf={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},af=["keyboardheightchange"];function sf(e,t,r){var i={};function n(a){var s,o=()=>{r("keyboardheightchange",{},{height:It,duration:.25}),s&&It===0&&Vr(e,a),e.autoBlur&&s&&It===0&&(Ur||parseInt(sn)>=13)&&document.activeElement.blur()};a.addEventListener("focus",()=>{s=!0,clearTimeout(tf),document.addEventListener("click",rf,!1),on=o,It&&r("keyboardheightchange",{},{height:It,duration:0}),g0(e,i),Vr(e,a)}),Ur&&a.addEventListener("click",()=>{!e.disabled&&!e.readOnly&&s&&It===0&&Vr(e,a)}),Ur||(parseInt(sn)<12&&a.addEventListener("touchstart",()=>{!e.disabled&&!e.readOnly&&!s&&Vr(e,a)}),parseFloat(sn)>=14.6&&!vs&&Qt(()=>{var u=plus.webview.currentWebview();vs=u.getStyle()||{}}));var l=()=>{document.removeEventListener("click",rf,!1),on=null,It&&r("keyboardheightchange",{},{height:0,duration:0}),p0(i),Ur&&(tf=setTimeout(()=>{Vr(e,a,!0)},300)),String(navigator.vendor).indexOf("Apple")===0&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};a.addEventListener("blur",()=>{a.blur(),s=!1,l()})}U(()=>t.value,a=>n(a))}var of=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,lf=/^<\/([-A-Za-z0-9_]+)[^>]*>/,m0=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,_0=ur("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),b0=ur("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"),w0=ur("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"),y0=ur("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),S0=ur("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),x0=ur("script,style");function uf(e,t){var r,i,n,a=[],s=e;for(a.last=function(){return this[this.length-1]};e;){if(i=!0,!a.last()||!x0[a.last()]){if(e.indexOf(""),r>=0&&(t.comment&&t.comment(e.substring(4,r)),e=e.substring(r+3),i=!1)):e.indexOf("]*>"),function(v,c){return c=c.replace(/|/g,"$1$2"),t.chars&&t.chars(c),""}),u("",a.last());if(e==s)throw"Parse Error: "+e;s=e}u();function l(v,c,m,g){if(c=c.toLowerCase(),b0[c])for(;a.last()&&w0[a.last()];)u("",a.last());if(y0[c]&&a.last()==c&&u("",c),g=_0[c]||!!g,g||a.push(c),t.start){var _=[];m.replace(m0,function(b,w){var p=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:S0[w]?w:"";_.push({name:w,value:p,escaped:p.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(c,_,g)}}function u(v,c){if(c)for(var m=a.length-1;m>=0&&a[m]!=c;m--);else var m=0;if(m>=0){for(var g=a.length-1;g>=m;g--)t.end&&t.end(a[g]);a.length=m}}}function ur(e){for(var t={},r=e.split(","),i=0;is()),delete ds[t]}}n.push(r)}function T0(e){var t=e.import("blots/block/embed");class r extends t{}return r.blotName="divider",r.tagName="HR",{"formats/divider":r}}function E0(e){var t=e.import("blots/inline");class r extends t{}return r.blotName="ins",r.tagName="INS",{"formats/ins":r}}function C0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["left","right","center","justify"]},n=new r.Style("align","text-align",i);return{"formats/align":n}}function O0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["rtl"]},n=new r.Style("direction","direction",i);return{"formats/direction":n}}function I0(e){var t=e.import("parchment"),r=e.import("blots/container"),i=e.import("formats/list/item");class n extends r{static create(s){var o=s==="ordered"?"OL":"UL",l=super.create(o);return(s==="checked"||s==="unchecked")&&l.setAttribute("data-checked",s==="checked"),l}static formats(s){if(s.tagName==="OL")return"ordered";if(s.tagName==="UL")return s.hasAttribute("data-checked")?s.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}constructor(s){super(s);var o=l=>{if(l.target.parentNode===s){var u=this.statics.formats(s),v=t.find(l.target);u==="checked"?v.format("list","unchecked"):u==="unchecked"&&v.format("list","checked")}};s.addEventListener("click",o)}format(s,o){this.children.length>0&&this.children.tail.format(s,o)}formats(){return{[this.statics.blotName]:this.statics.formats(this.domNode)}}insertBefore(s,o){if(s instanceof i)super.insertBefore(s,o);else{var l=o==null?this.length():o.offset(this),u=this.split(l);u.parent.insertBefore(s,u)}}optimize(s){super.optimize(s);var o=this.next;o!=null&&o.prev===this&&o.statics.blotName===this.statics.blotName&&o.domNode.tagName===this.domNode.tagName&&o.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(o.moveChildren(this),o.remove())}replace(s){if(s.statics.blotName!==this.statics.blotName){var o=t.create(this.statics.defaultChild);s.moveChildren(o),this.appendChild(o)}super.replace(s)}}return n.blotName="list",n.scope=t.Scope.BLOCK_BLOT,n.tagName=["OL","UL"],n.defaultChild="list-item",n.allowedChildren=[i],{"formats/list":n}}function M0(e){var{Scope:t}=e.import("parchment"),r=e.import("formats/background"),i=new r.constructor("backgroundColor","background-color",{scope:t.INLINE});return{"formats/backgroundColor":i}}function A0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK},n=["margin","marginTop","marginBottom","marginLeft","marginRight"],a=["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"],s={};return n.concat(a).forEach(o=>{s["formats/".concat(o)]=new r.Style(o,Ve(o),i)}),s}function R0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.INLINE},n=["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"],a={};return n.forEach(s=>{a["formats/".concat(s)]=new r.Style(s,Ve(s),i)}),a}function P0(e){var{Scope:t,Attributor:r}=e.import("parchment"),i=[{name:"lineHeight",scope:t.BLOCK},{name:"letterSpacing",scope:t.INLINE},{name:"textDecoration",scope:t.INLINE},{name:"textIndent",scope:t.BLOCK}],n={};return i.forEach(a=>{var{name:s,scope:o}=a;n["formats/".concat(s)]=new r.Style(s,Ve(s),{scope:o})}),n}function L0(e){var t=e.import("formats/image"),r=["alt","height","width","data-custom","class","data-local"];t.sanitize=n=>n&&et(n),t.formats=function(a){return r.reduce(function(s,o){return a.hasAttribute(o)&&(s[o]=a.getAttribute(o)),s},{})};var i=t.prototype.format;t.prototype.format=function(n,a){r.indexOf(n)>-1?a?this.domNode.setAttribute(n,a):this.domNode.removeAttribute(n):i.call(this,n,a)}}function N0(e){var t=e.import("formats/link");t.sanitize=r=>{var i=document.createElement("a");i.href=r;var n=i.href.slice(0,i.href.indexOf(":"));return t.PROTOCOL_WHITELIST.concat("file").indexOf(n)>-1?r:t.SANITIZED_URL}}function k0(e){var t={divider:T0,ins:E0,align:C0,direction:O0,list:I0,background:M0,box:A0,font:R0,text:P0,image:L0,link:N0},r={};Object.values(t).forEach(i=>ce(r,i(e))),e.register(r,!0)}function B0(e,t,r){var i,n,a,s=!1;U(()=>e.readOnly,_=>{i&&(a.enable(!_),_||a.blur())}),U(()=>e.placeholder,_=>{i&&u(_)});function o(_){var b=["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"],w="",p;uf(_,{start:function(f,d,y){if(!b.includes(f)){p=!y;return}p=!1;var x=d.map(C=>{var{name:M,value:W}=C;return"".concat(M,'="').concat(W,'"')}).join(" "),E="<".concat(f," ").concat(x," ").concat(y?"/":"",">");w+=E},end:function(f){p||(w+=""))},chars:function(f){p||(w+=f)}}),n=!0;var h=a.clipboard.convert(w);return n=!1,h}function l(){var _=a.root.innerHTML,b=a.getText(),w=a.getContents();return{html:_,text:b,delta:w}}function u(_){var b="data-placeholder",w=a.root;w.getAttribute(b)!==_&&w.setAttribute(b,_)}var v={};function c(_){var b=_?a.getFormat(_):{},w=Object.keys(b);(w.length!==Object.keys(v).length||w.find(p=>b[p]!==v[p]))&&(v=b,r("statuschange",{},b))}function m(_){var b=window.Quill;k0(b);var w={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};_.length&&(b.register("modules/ImageResize",window.ImageResize.default),w.modules={ImageResize:{modules:_}});var p=t.value;a=new b(p,w);var h=a.root,f=["focus","blur","input"];f.forEach(d=>{h.addEventListener(d,y=>{var x=l();if(d==="input"){if(Su().platform==="ios"){var E=(x.html.match(/([\s\S]*)<\/span>/)||[])[1],C=E&&E.replace(/\s/g,"")?"":e.placeholder;u(C)}y.stopPropagation()}else r(d,y,x)})}),a.on("text-change",()=>{s||r("input",{},l())}),a.on("selection-change",c),a.on("scroll-optimize",()=>{var d=a.selection.getRange()[0];c(d)}),a.clipboard.addMatcher(Node.ELEMENT_NODE,(d,y)=>(n||y.ops&&(y.ops=y.ops.filter(x=>{var{insert:E}=x;return typeof E=="string"}).map(x=>{var{insert:E}=x;return{insert:E}})),y)),i=!0,r("ready",{},{})}Ie(()=>{var _=[];e.showImgSize&&_.push("DisplaySize"),e.showImgToolbar&&_.push("Toolbar"),e.showImgResize&&_.push("Resize");var b="./__uniappquill.js";ff(window.Quill,b,()=>{if(_.length){var w="./__uniappquillimageresize.js";ff(window.ImageResize,w,()=>{m(_)})}else m(_)})});var g=mn();pn((_,b,w)=>{var{options:p,callbackId:h}=b,f,d,y;if(i){var x=window.Quill;switch(_){case"format":{var{name:E="",value:C=!1}=p;d=a.getSelection(!0);var M=a.getFormat(d)[E]||!1;if(["bold","italic","underline","strike","ins"].includes(E))C=!M;else if(E==="direction"){C=C==="rtl"&&M?!1:C;var W=a.getFormat(d).align;C==="rtl"&&!W?a.format("align","right","user"):!C&&W==="right"&&a.format("align",!1,"user")}else if(E==="indent"){var V=a.getFormat(d).direction==="rtl";C=C==="+1",V&&(C=!C),C=C?"+1":"-1"}else E==="list"&&(C=C==="check"?"unchecked":C,M=M==="checked"?"unchecked":M),C=M&&M!==(C||!1)||!M&&C?C:!M;a.format(E,C,"user")}break;case"insertDivider":d=a.getSelection(!0),a.insertText(d.index,wr,"user"),a.insertEmbed(d.index+1,"divider",!0,"user"),a.setSelection(d.index+2,0,"silent");break;case"insertImage":{d=a.getSelection(!0);var{src:q="",alt:he="",width:R="",height:B="",extClass:ee="",data:ie={}}=p,z=et(q);a.insertEmbed(d.index,"image",z,"user");var J=/^(file|blob):/.test(z)?z:!1;s=!0,a.formatText(d.index,1,"data-local",J),a.formatText(d.index,1,"alt",he),a.formatText(d.index,1,"width",R),a.formatText(d.index,1,"height",B),a.formatText(d.index,1,"class",ee),s=!1,a.formatText(d.index,1,"data-custom",Object.keys(ie).map(re=>"".concat(re,"=").concat(ie[re])).join("&")),a.setSelection(d.index+1,0,"silent")}break;case"insertText":{d=a.getSelection(!0);var{text:ne=""}=p;a.insertText(d.index,ne,"user"),a.setSelection(d.index+ne.length,0,"silent")}break;case"setContents":{var{delta:we,html:se}=p;typeof we=="object"?a.setContents(we,"silent"):typeof se=="string"?a.setContents(o(se),"silent"):y="contents is missing"}break;case"getContents":f=l();break;case"clear":a.setText("");break;case"removeFormat":{d=a.getSelection(!0);var G=x.import("parchment");d.length?a.removeFormat(d.index,d.length,"user"):Object.keys(a.getFormat(d)).forEach(re=>{G.query(re,G.Scope.INLINE)&&a.format(re,!1)})}break;case"undo":a.history.undo();break;case"redo":a.history.redo();break;case"blur":a.blur();break;case"getSelectionText":d=a.selection.savedRange,f={text:""},d&&d.length!==0&&(f.text=a.getText(d.index,d.length));break;case"scrollIntoView":a.scrollIntoView();break}c(d)}else y="not ready";h&&w({callbackId:h,data:ce({},f,{errMsg:"".concat(_,":").concat(y?"fail "+y:"ok")})})},g,!0)}var D0=ce({},nf,{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}}),F0=de({name:"Editor",props:D0,emit:["ready","focus","blur","input","statuschange",...af],setup(e,t){var{emit:r}=t,i=$(null),n=Me(i,r);return B0(e,i,n),sf(e,i,n),()=>I("uni-editor",{ref:i,id:e.id,class:"ql-container"},null,8,["id"])}}),cf="#10aeff",$0="#f76260",vf="#b2b2b2",W0="#f43530",U0={success:{d:Ep,c:wi},success_no_circle:{d:Zi,c:wi},info:{d:xp,c:cf},warn:{d:Op,c:$0},waiting:{d:Cp,c:cf},cancel:{d:wp,c:W0},download:{d:Sp,c:wi},search:{d:Tp,c:vf},clear:{d:yp,c:vf}},V0=de({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=Q(()=>U0[e.type]);return()=>{var{value:r}=t;return I("uni-icon",null,[r&&r.d&&Ji(r.d,e.color||r.c,Ut(e.size))])}}}),H0={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!0}},ln={widthFix:["offsetWidth","height"],heightFix:["offsetHeight","width"]},j0={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"]},z0=de({name:"Image",props:H0,setup(e,t){var{emit:r}=t,i=$(null),n=Y0(i,e),a=Me(i,r),{fixSize:s}=G0(i,e,n);return q0(n,s,a),()=>{var{mode:o}=e,{imgSrc:l,modeStyle:u,src:v}=n,c;return c=l?I("img",{src:l,draggable:e.draggable},null,8,["src","draggable"]):I("img",null,null),I("uni-image",{ref:i},[I("div",{style:u},null,4),c,ln[o]?I(Ht,{onResize:s},null,8,["onResize"]):I("span",null,null)],512)}}});function Y0(e,t){var r=$(""),i=Q(()=>{var a="auto",s="",o=j0[t.mode];return o?(o[0]&&(s=o[0]),o[1]&&(a=o[1])):(s="0% 0%",a="100% 100%"),"background-image:".concat(r.value?'url("'+r.value+'")':"none",";background-position:").concat(s,";background-size:").concat(a,";")}),n=Ee({rootEl:e,src:Q(()=>t.src?et(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:i,imgSrc:r});return Ie(()=>{var a=e.value,s=a.style;n.origWidth=Number(s.width)||0,n.origHeight=Number(s.height)||0}),n}function q0(e,t,r){var i,n=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";e.origWidth=o,e.origHeight=l,e.imgSrc=u},a=o=>{if(!o){s(),n();return}i=i||new Image,i.onload=l=>{var{width:u,height:v}=i;n(u,v,o),t(),s(),r("load",l,{width:u,height:v})},i.onerror=l=>{n(),s(),r("error",l,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},i.src=o},s=()=>{i&&(i.onload=null,i.onerror=null,i=null)};U(()=>e.src,o=>a(o)),Ie(()=>a(e.src)),xe(()=>s())}var X0=navigator.vendor==="Google Inc.";function K0(e){return X0&&e>10&&(e=Math.round(e/2)*2),e}function G0(e,t,r){var i=()=>{var{mode:a}=t,s=ln[a];if(!!s){var{origWidth:o,origHeight:l}=r,u=o&&l?o/l:0;if(!!u){var v=e.value,c=v[s[0]];c&&(v.style[s[1]]=K0(c/u)+"px"),window.dispatchEvent(new CustomEvent("updateview"))}}},n=()=>{var{style:a}=e.value,{origStyle:{width:s,height:o}}=r;a.width=s,a.height=o};return U(()=>t.mode,(a,s)=>{ln[s]&&n(),ln[a]&&i()}),{fixSize:i,resetSize:n}}function Z0(e,t){var r=0,i,n,a=function(){for(var s=arguments.length,o=new Array(s),l=0;l{n=null,r=u,e.apply(this,o)},u-run.forEach(t=>t.userAction=e);function Q0(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{userAction:!1};if(!df){var t=["touchstart","touchmove","touchend","mousedown","mouseup"];t.forEach(r=>{document.addEventListener(r,function(){!hs&&hf(!0),hs++,setTimeout(()=>{!--hs&&hf(!1)},0)},J0)}),df=!0}un.push(e)}function e_(e){var t=un.indexOf(e);t>=0&&un.splice(t,1)}function t_(){var e=Ee({userAction:!1});return Ie(()=>{Q0(e)}),xe(()=>{e_(e)}),{state:e}}function gf(){var e=Ee({attrs:{}});return Ie(()=>{for(var t=xt();t;){var r=t.type.__scopeId;r&&(e.attrs[r]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function r_(e,t){var r=pe(ut,!1);if(!!r){var i=xt(),n={submit(){var a=i.proxy;return[a[e],typeof t=="string"?a[t]:t.value]},reset(){typeof t=="string"?i.proxy[t]="":t.value=""}};r.addField(n),xe(()=>{r.removeField(n)})}}function i_(e,t){var r=document.activeElement;if(!r)return t({});var i={};["input","textarea"].includes(r.tagName.toLowerCase())&&(i.start=r.selectionStart,i.end=r.selectionEnd),t(i)}var n_=function(){at(Ct(),"getSelectedTextRange",i_)},a_=200,gs;function ps(e){return e===null?"":String(e)}var pf=ce({},{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"}},nf),mf=["input","focus","blur","update:value","update:modelValue","update:focus",...af];function s_(e,t,r){var i=$(null),n=Me(t,r),a=Q(()=>{var c=Number(e.selectionStart);return isNaN(c)?-1:c}),s=Q(()=>{var c=Number(e.selectionEnd);return isNaN(c)?-1:c}),o=Q(()=>{var c=Number(e.cursor);return isNaN(c)?-1:c}),l=Q(()=>{var c=Number(e.maxlength);return isNaN(c)?140:c}),u=ps(e.modelValue)||ps(e.value),v=Ee({value:u,valueOrigin:u,maxlength:l,focus:e.focus,composing:!1,selectionStart:a,selectionEnd:s,cursor:o});return U(()=>v.focus,c=>r("update:focus",c)),U(()=>v.maxlength,c=>v.value=v.value.slice(0,c)),{fieldRef:i,state:v,trigger:n}}function o_(e,t,r,i){var n=Ed(o=>{t.value=ps(o)},100);U(()=>e.modelValue,n),U(()=>e.value,n);var a=Z0((o,l)=>{n.cancel(),r("update:modelValue",l.value),r("update:value",l.value),i("input",o,l)},100),s=(o,l,u)=>{n.cancel(),a(o,l),u&&a.flush()};return Sl(()=>{n.cancel(),a.cancel()}),{trigger:i,triggerInput:s}}function l_(e,t){var{state:r}=t_(),i=Q(()=>e.autoFocus||e.focus);function n(){if(!!i.value){var s=t.value;if(!s||!("plus"in window)){setTimeout(n,100);return}{var o=a_-(Date.now()-gs);if(o>0){setTimeout(n,o);return}s.focus(),r.userAction||plus.key.showSoftKeybord()}}}function a(){var s=t.value;s&&s.blur()}U(()=>e.focus,s=>{s?n():a()}),Ie(()=>{gs=gs||Date.now(),i.value&&sr(n)})}function u_(e,t,r,i,n){function a(){var l=e.value;l&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&(l.selectionStart=t.selectionStart,l.selectionEnd=t.selectionEnd)}function s(){var l=e.value;l&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&(l.selectionEnd=l.selectionStart=t.cursor)}function o(){var l=e.value,u=function(m){t.focus=!0,r("focus",m,{value:t.value}),a(),s()},v=function(m,g){m.stopPropagation(),!(typeof n=="function"&&n(m,t)===!1)&&(t.value=l.value,t.composing||i(m,{value:l.value,cursor:l.selectionEnd},g))},c=function(m){t.composing&&(t.composing=!1,v(m,!0)),t.focus=!1,r("blur",m,{value:t.value,cursor:m.target.selectionEnd})};l.addEventListener("change",m=>m.stopPropagation()),l.addEventListener("focus",u),l.addEventListener("blur",c),l.addEventListener("input",v),l.addEventListener("compositionstart",m=>{m.stopPropagation(),t.composing=!0}),l.addEventListener("compositionend",m=>{m.stopPropagation(),t.composing&&(t.composing=!1,v(m))})}U([()=>t.selectionStart,()=>t.selectionEnd],a),U(()=>t.cursor,s),U(()=>e.value,o)}function _f(e,t,r,i){n_();var{fieldRef:n,state:a,trigger:s}=s_(e,t,r),{triggerInput:o}=o_(e,a,r,s);l_(e,n),sf(e,n,s);var{state:l}=gf();r_("name",a),u_(n,a,s,o,i);var u=String(navigator.vendor).indexOf("Apple")===0&&CSS.supports("image-orientation:from-image");return{fieldRef:n,state:a,scopedAttrsState:l,fixDisabledColor:u,trigger:s}}var f_=ce({},pf,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),c_=de({name:"Input",props:f_,emits:["confirm",...mf],setup(e,t){var{emit:r}=t,i=["text","number","idcard","digit","password","tel"],n=["off","one-time-code"],a=Q(()=>{var h="";switch(e.type){case"text":e.confirmType==="search"&&(h="search");break;case"idcard":h="text";break;case"digit":h="number";break;default:h=~i.includes(e.type)?e.type:"text";break}return e.password?"password":h}),s=Q(()=>{var h=n.indexOf(e.textContentType),f=n.indexOf(Ve(e.textContentType)),d=h!==-1?h:f!==-1?f:0;return n[d]}),o=$(""),l,u=$(null),{fieldRef:v,state:c,scopedAttrsState:m,fixDisabledColor:g,trigger:_}=_f(e,u,r,(h,f)=>{var d=h.target;if(a.value==="number"){if(l&&(d.removeEventListener("blur",l),l=null),d.validity&&!d.validity.valid)return!o.value&&h.data==="-"||o.value[0]==="-"&&h.inputType==="deleteContentBackward"?(o.value="-",f.value="",l=()=>{o.value=d.value=""},d.addEventListener("blur",l),!1):(o.value=f.value=d.value=o.value==="-"?"":o.value,!1);o.value=d.value;var y=f.maxlength;if(y>0&&d.value.length>y)return d.value=d.value.slice(0,y),f.value=d.value,!1}}),b=["number","digit"],w=Q(()=>b.includes(e.type)?"0.000000000000000001":"");function p(h){h.key==="Enter"&&(h.stopPropagation(),_("confirm",h,{value:h.target.value}))}return()=>{var h=e.disabled&&g?I("input",{ref:v,value:c.value,tabindex:"-1",readonly:!!e.disabled,type:a.value,maxlength:c.maxlength,step:w.value,class:"uni-input-input",onFocus:f=>f.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):I("input",{ref:v,value:c.value,disabled:!!e.disabled,type:a.value,maxlength:c.maxlength,step:w.value,enterkeyhint:e.confirmType,pattern:e.type==="number"?"[0-9]*":void 0,class:"uni-input-input",autocomplete:s.value,onKeyup:p},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return I("uni-input",{ref:u},[I("div",{class:"uni-input-wrapper"},[Or(I("div",ze(m.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[kr,!(c.value.length||o.value==="-")]]),e.confirmType==="search"?I("form",{action:"",onSubmit:f=>f.preventDefault(),class:"uni-input-form"},[h],40,["onSubmit"]):h])],512)}}});function v_(e){return Object.keys(e).map(t=>[t,e[t]])}var d_=["class","style"],h_=/^on[A-Z]+/,bf=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{excludeListeners:t=!1,excludeKeys:r=[]}=e,i=xt(),n=Ea({}),a=Ea({}),s=Ea({}),o=r.concat(d_);return i.attrs=Ee(i.attrs),Dg(()=>{var l=v_(i.attrs).reduce((u,v)=>{var[c,m]=v;return o.includes(c)?u.exclude[c]=m:h_.test(c)?(t||(u.attrs[c]=m),u.listeners[c]=m):u.attrs[c]=m,u},{exclude:{},attrs:{},listeners:{}});n.value=l.attrs,a.value=l.listeners,s.value=l.exclude}),{$attrs:n,$listeners:a,$excludeAttrs:s}},fn,Hr;function cn(){Qt(()=>{fn||(fn=plus.webview.currentWebview()),Hr||(Hr=(fn.getStyle()||{}).pullToRefresh||{})})}function Mt(e){var{disable:t}=e;Hr&&Hr.support&&fn.setPullToRefresh(Object.assign({},Hr,{support:!t}))}function ms(e){var t=[];return Array.isArray(e)&&e.forEach(r=>{Di(r)?r.type===ot?t.push(...ms(r.children)):t.push(r):Array.isArray(r)&&t.push(...ms(r))}),t}function jr(e){var t=xt();t.rebuild=e}var g_={scaleArea:{type:Boolean,default:!1}},p_=de({inheritAttrs:!1,name:"MovableArea",props:g_,setup(e,t){var{slots:r}=t,i=$(null),n=$(!1),{setContexts:a,events:s}=m_(e,i),{$listeners:o,$attrs:l,$excludeAttrs:u}=bf(),v=o.value,c=["onTouchstart","onTouchmove","onTouchend"];c.forEach(p=>{var h=v[p],f=s["_".concat(p)];v[p]=h?[].concat(h,f):f}),Ie(()=>{s._resize(),cn(),n.value=!0});var m=[],g=[];function _(){for(var p=[],h=function(d){var y=m[d];y instanceof Element||(y=y.el);var x=g.find(E=>y===E.rootRef.value);x&&p.push(Li(x))},f=0;f{m=i.value.children,_()});var b=p=>{g.push(p),_()},w=p=>{var h=g.indexOf(p);h>=0&&(g.splice(h,1),_())};return Ne("_isMounted",n),Ne("movableAreaRootRef",i),Ne("addMovableViewContext",b),Ne("removeMovableViewContext",w),()=>(r.default&&r.default(),I("uni-movable-area",ze({ref:i},l.value,u.value,v),[I(Ht,{onReize:s._resize},null,8,["onReize"]),m],16))}});function wf(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function m_(e,t){var r=$(0),i=$(0),n=Ee({x:null,y:null}),a=$(null),s=null,o=[];function l(b){b&&b!==1&&(e.scaleArea?o.forEach(function(w){w._setScale(b)}):s&&s._setScale(b))}function u(b){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:o,p=t.value;function h(f){for(var d=0;d{Mt({disable:!0});var w=b.touches;if(w&&w.length>1){var p={x:w[1].pageX-w[0].pageX,y:w[1].pageY-w[0].pageY};if(a.value=wf(p),n.x=p.x,n.y=p.y,!e.scaleArea){var h=u(w[0].target),f=u(w[1].target);s=h&&h===f?h:null}}}),c=Vt(b=>{var w=b.touches;if(w&&w.length>1){b.preventDefault();var p={x:w[1].pageX-w[0].pageX,y:w[1].pageY-w[0].pageY};if(n.x!==null&&a.value&&a.value>0){var h=wf(p)/a.value;l(h)}n.x=p.x,n.y=p.y}}),m=Vt(b=>{Mt({disable:!1});var w=b.touches;w&&w.length||b.changedTouches&&(n.x=0,n.y=0,a.value=null,e.scaleArea?o.forEach(function(p){p._endScale()}):s&&s._endScale())});function g(){_(),o.forEach(function(b,w){b.setParent()})}function _(){var b=window.getComputedStyle(t.value),w=t.value.getBoundingClientRect();r.value=w.width-["Left","Right"].reduce(function(p,h){var f="border"+h+"Width",d="padding"+h;return p+parseFloat(b[f])+parseFloat(b[d])},0),i.value=w.height-["Top","Bottom"].reduce(function(p,h){var f="border"+h+"Width",d="padding"+h;return p+parseFloat(b[f])+parseFloat(b[d])},0)}return Ne("movableAreaWidth",r),Ne("movableAreaHeight",i),{setContexts(b){o=b},events:{_onTouchstart:v,_onTouchmove:c,_onTouchend:m,_resize:g}}}var zr=function(e,t,r,i){e.addEventListener(t,n=>{typeof r=="function"&&r(n)===!1&&((typeof n.cancelable!="undefined"?n.cancelable:!0)&&n.preventDefault(),n.stopPropagation())},{passive:!1})},yf,Sf;function vn(e,t,r){xe(()=>{document.removeEventListener("mousemove",yf),document.removeEventListener("mouseup",Sf)});var i=0,n=0,a=0,s=0,o=function(g,_,b,w){if(t({target:g.target,currentTarget:g.currentTarget,preventDefault:g.preventDefault.bind(g),stopPropagation:g.stopPropagation.bind(g),touches:g.touches,changedTouches:g.changedTouches,detail:{state:_,x:b,y:w,dx:b-i,dy:w-n,ddx:b-a,ddy:w-s,timeStamp:g.timeStamp}})===!1)return!1},l=null,u,v;zr(e,"touchstart",function(g){if(u=!0,g.touches.length===1&&!l)return l=g,i=a=g.touches[0].pageX,n=s=g.touches[0].pageY,o(g,"start",i,n)}),zr(e,"mousedown",function(g){if(v=!0,!u&&!l)return l=g,i=a=g.pageX,n=s=g.pageY,o(g,"start",i,n)}),zr(e,"touchmove",function(g){if(g.touches.length===1&&l){var _=o(g,"move",g.touches[0].pageX,g.touches[0].pageY);return a=g.touches[0].pageX,s=g.touches[0].pageY,_}});var c=yf=function(g){if(!u&&v&&l){var _=o(g,"move",g.pageX,g.pageY);return a=g.pageX,s=g.pageY,_}};document.addEventListener("mousemove",c),zr(e,"touchend",function(g){if(g.touches.length===0&&l)return u=!1,l=null,o(g,"end",g.changedTouches[0].pageX,g.changedTouches[0].pageY)});var m=Sf=function(g){if(v=!1,!u&&l)return l=null,o(g,"end",g.pageX,g.pageY)};document.addEventListener("mouseup",m),zr(e,"touchcancel",function(g){if(l){u=!1;var _=l;return l=null,o(g,r?"cancel":"end",_.touches[0].pageX,_.touches[0].pageY)}})}function dn(e,t,r){return e>t-r&&ethis._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,r=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&rthis._endPositionY)&&(r=this._endPositionY),{x:t,y:r}},ft.prototype.ds=function(e){return e===void 0&&(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}},ft.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}},ft.prototype.dt=function(){return-this._x_v/this._x_a},ft.prototype.done=function(){var e=dn(this.s().x,this._endPositionX)||dn(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},ft.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},ft.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t};function qe(e,t,r){this._m=e,this._k=t,this._c=r,this._solution=null,this._endPosition=0,this._startTime=0}qe.prototype._solve=function(e,t){var r=this._c,i=this._m,n=this._k,a=r*r-4*i*n;if(a===0){var s=-r/(2*i),o=e,l=t/(s*e);return{x:function(p){return(o+l*p)*Math.pow(Math.E,s*p)},dx:function(p){var h=Math.pow(Math.E,s*p);return s*(o+l*p)*h+l*h}}}if(a>0){var u=(-r-Math.sqrt(a))/(2*i),v=(-r+Math.sqrt(a))/(2*i),c=(t-u*e)/(v-u),m=e-c;return{x:function(p){var h,f;return p===this._t&&(h=this._powER1T,f=this._powER2T),this._t=p,h||(h=this._powER1T=Math.pow(Math.E,u*p)),f||(f=this._powER2T=Math.pow(Math.E,v*p)),m*h+c*f},dx:function(p){var h,f;return p===this._t&&(h=this._powER1T,f=this._powER2T),this._t=p,h||(h=this._powER1T=Math.pow(Math.E,u*p)),f||(f=this._powER2T=Math.pow(Math.E,v*p)),m*u*h+c*v*f}}}var g=Math.sqrt(4*i*n-r*r)/(2*i),_=-r/2*i,b=e,w=(t-_*e)/g;return{x:function(p){return Math.pow(Math.E,_*p)*(b*Math.cos(g*p)+w*Math.sin(g*p))},dx:function(p){var h=Math.pow(Math.E,_*p),f=Math.cos(g*p),d=Math.sin(g*p);return h*(w*g*f-b*g*d)+_*h*(w*d+b*f)}}},qe.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},qe.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},qe.prototype.setEnd=function(e,t,r){if(r||(r=new Date().getTime()),e!==this._endPosition||!jt(t,.1)){t=t||0;var i=this._endPosition;this._solution&&(jt(t,.1)&&(t=this._solution.dx((r-this._startTime)/1e3)),i=this._solution.x((r-this._startTime)/1e3),jt(t,.1)&&(t=0),jt(i,.1)&&(i=0),i+=this._endPosition),this._solution&&jt(i-e,.1)&&jt(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=r)}},qe.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},qe.prototype.done=function(e){return e||(e=new Date().getTime()),dn(this.x(),this._endPosition,.1)&&jt(this.dx(),.1)},qe.prototype.reconfigure=function(e,t,r){this._m=e,this._k=t,this._c=r,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=new Date().getTime())},qe.prototype.springConstant=function(){return this._k},qe.prototype.damping=function(){return this._c},qe.prototype.configuration=function(){function e(r,i){r.reconfigure(1,i,r.damping())}function t(r,i){r.reconfigure(1,r.springConstant(),i)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:e.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:t.bind(this,this),min:1,max:500}]};function Yr(e,t,r){this._springX=new qe(e,t,r),this._springY=new qe(e,t,r),this._springScale=new qe(e,t,r),this._startTime=0}Yr.prototype.setEnd=function(e,t,r,i){var n=new Date().getTime();this._springX.setEnd(e,i,n),this._springY.setEnd(t,i,n),this._springScale.setEnd(r,i,n),this._startTime=n},Yr.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)}},Yr.prototype.done=function(){var e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Yr.prototype.reconfigure=function(e,t,r){this._springX.reconfigure(e,t,r),this._springY.reconfigure(e,t,r),this._springScale.reconfigure(e,t,r)};var __={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}},b_=de({name:"MovableView",props:__,emits:["change","scale"],setup(e,t){var{slots:r,emit:i}=t,n=$(null),a=Me(n,i),{setParent:s}=w_(e,a,n);return()=>I("uni-movable-view",{ref:n},[I(Ht,{onResize:s},null,8,["onResize"]),r.default&&r.default()],512)}}),bs=!1;function xf(e){bs||(bs=!0,requestAnimationFrame(function(){e(),bs=!1}))}function Tf(e,t){if(e===t)return 0;var r=e.offsetLeft;return e.offsetParent?r+=Tf(e.offsetParent,t):0}function Ef(e,t){if(e===t)return 0;var r=e.offsetTop;return e.offsetParent?r+=Ef(e.offsetParent,t):0}function Cf(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}function Of(e,t,r){var i={id:0,cancelled:!1},n=function(s){s&&s.id&&cancelAnimationFrame(s.id),s&&(s.cancelled=!0)};function a(s,o,l,u){if(!s||!s.cancelled){l(o);var v=o.done();v||s.cancelled||(s.id=requestAnimationFrame(a.bind(null,s,o,l,u))),v&&u&&u(o)}}return a(i,e,t,r),{cancel:n.bind(null,i),model:e}}function hn(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}function w_(e,t,r){var i=pe("movableAreaWidth",$(0)),n=pe("movableAreaHeight",$(0)),a=pe("_isMounted",$(!1)),s=pe("movableAreaRootRef"),o=pe("addMovableViewContext",()=>{}),l=pe("removeMovableViewContext",()=>{}),u=$(hn(e.x)),v=$(hn(e.y)),c=$(Number(e.scaleValue)||1),m=$(0),g=$(0),_=$(0),b=$(0),w=$(0),p=$(0),h=null,f=null,d={x:0,y:0},y={x:0,y:0},x=1,E=1,C=0,M=0,W=!1,V=!1,q,he,R=null,B=null,ee=new _s,ie=new _s,z={historyX:[0,0],historyY:[0,0],historyT:[0,0]},J=Q(()=>{var O=Number(e.damping);return isNaN(O)?20:O}),ne=Q(()=>{var O=Number(e.friction);return isNaN(O)||O<=0?2:O}),we=Q(()=>{var O=Number(e.scaleMin);return isNaN(O)?.5:O}),se=Q(()=>{var O=Number(e.scaleMax);return isNaN(O)?10:O}),G=Q(()=>e.direction==="all"||e.direction==="horizontal"),re=Q(()=>e.direction==="all"||e.direction==="vertical"),le=new Yr(1,9*Math.pow(J.value,2)/40,J.value),Ce=new ft(1,ne.value);U(()=>e.x,O=>{u.value=hn(O)}),U(()=>e.y,O=>{v.value=hn(O)}),U(u,O=>{Ge(O)}),U(v,O=>{At(O)}),U(()=>e.scaleValue,O=>{c.value=Number(O)||0}),U(c,O=>{Gr(O)}),U(we,()=>{Ae()}),U(se,()=>{Ae()});function Oe(){f&&f.cancel(),h&&h.cancel()}function Ge(O){if(G.value){if(O+y.x===C)return C;h&&h.cancel(),Z(O+y.x,v.value+y.y,x)}return O}function At(O){if(re.value){if(O+y.y===M)return M;h&&h.cancel(),Z(u.value+y.x,O+y.y,x)}return O}function Ae(){if(!e.scale)return!1;D(x,!0),k(x)}function Gr(O){return e.scale?(O=N(O),D(O,!0),k(O),O):!1}function Zr(){W||e.disabled||(Mt({disable:!0}),Oe(),z.historyX=[0,0],z.historyY=[0,0],z.historyT=[0,0],G.value&&(q=C),re.value&&(he=M),r.value.style.willChange="transform",R=null,B=null,V=!0)}function S(O){if(!W&&!e.disabled&&V){var j=C,Y=M;if(B===null&&(B=Math.abs(O.detail.dx/O.detail.dy)>1?"htouchmove":"vtouchmove"),G.value&&(j=O.detail.dx+q,z.historyX.shift(),z.historyX.push(j),!re.value&&R===null&&(R=Math.abs(O.detail.dx/O.detail.dy)<1)),re.value&&(Y=O.detail.dy+he,z.historyY.shift(),z.historyY.push(Y),!G.value&&R===null&&(R=Math.abs(O.detail.dy/O.detail.dx)<1)),z.historyT.shift(),z.historyT.push(O.detail.timeStamp),!R){O.preventDefault();var ve="touch";j<_.value?e.outOfBounds?(ve="touch-out-of-bounds",j=_.value-ee.x(_.value-j)):j=_.value:j>w.value&&(e.outOfBounds?(ve="touch-out-of-bounds",j=w.value+ee.x(j-w.value)):j=w.value),Yp.value&&(e.outOfBounds?(ve="touch-out-of-bounds",Y=p.value+ie.x(Y-p.value)):Y=p.value),xf(function(){X(j,Y,x,ve)})}}}function T(){if(!W&&!e.disabled&&V&&(Mt({disable:!1}),r.value.style.willChange="auto",V=!1,!R&&!K("out-of-bounds")&&e.inertia)){var O=1e3*(z.historyX[1]-z.historyX[0])/(z.historyT[1]-z.historyT[0]),j=1e3*(z.historyY[1]-z.historyY[0])/(z.historyT[1]-z.historyT[0]);Ce.setV(O,j),Ce.setS(C,M);var Y=Ce.delta().x,ve=Ce.delta().y,ue=Y+C,Le=ve+M;ue<_.value?(ue=_.value,Le=M+(_.value-C)*ve/Y):ue>w.value&&(ue=w.value,Le=M+(w.value-C)*ve/Y),Lep.value&&(Le=p.value,ue=C+(p.value-M)*Y/ve),Ce.setEnd(ue,Le),f=Of(Ce,function(){var Ue=Ce.s(),Re=Ue.x,tt=Ue.y;X(Re,tt,x,"friction")},function(){f.cancel()})}!e.outOfBounds&&!e.inertia&&Oe()}function A(O,j){var Y=!1;return O>w.value?(O=w.value,Y=!0):O<_.value&&(O=_.value,Y=!0),j>p.value?(j=p.value,Y=!0):j3&&arguments[3]!==void 0?arguments[3]:"",ue=arguments.length>4?arguments[4]:void 0,Le=arguments.length>5?arguments[5]:void 0;O!==null&&O.toString()!=="NaN"&&typeof O=="number"||(O=C||0),j!==null&&j.toString()!=="NaN"&&typeof j=="number"||(j=M||0),O=Number(O.toFixed(1)),j=Number(j.toFixed(1)),Y=Number(Y.toFixed(1)),C===O&&M===j||ue||t("change",{},{x:Cf(O,y.x),y:Cf(j,y.y),source:ve}),e.scale||(Y=x),Y=N(Y),Y=+Y.toFixed(3),Le&&Y!==x&&t("scale",{},{x:O,y:j,scale:Y});var Ue="translateX("+O+"px) translateY("+j+"px) translateZ(0px) scale("+Y+")";r.value.style.transform=Ue,r.value.style.webkitTransform=Ue,C=O,M=j,x=Y}function fe(){if(!!a.value){Oe();var O=e.scale?c.value:1;P(),L(O),F(),C=u.value+y.x,M=v.value+y.y;var j=A(C,M),Y=j.x,ve=j.y;X(Y,ve,O,"",!0),k(O)}}function Pe(){W=!1,k(x)}function Se(O){O&&(O=E*O,H(),D(O))}return Ie(()=>{vn(r.value,j=>{switch(j.detail.state){case"start":Zr();break;case"move":S(j);break;case"end":T()}}),fe(),Ce.reconfigure(1,ne.value),le.reconfigure(1,9*Math.pow(J.value,2)/40,J.value),r.value.style.transformOrigin="center",cn();var O={rootRef:r,setParent:fe,_endScale:Pe,_setScale:Se};o(O),yt(()=>{l(O)})}),yt(()=>{Oe()}),{setParent:fe}}var y_=["navigate","redirect","switchTab","reLaunch","navigateBack"],S_={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator(e){return Boolean(~y_.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}},x_=de({name:"Navigator",compatConfig:{MODE:3},props:S_,setup(e,t){var{slots:r}=t,{hovering:i,binding:n}=cs(e);function a(s){if(e.openType!=="navigateBack"&&!e.url){console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");return}switch(e.openType){case"navigate":uni.navigateTo({url:e.url});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});break}}return()=>{var{hoverClass:s}=e,o=e.hoverClass&&e.hoverClass!=="none";return I("uni-navigator",ze({class:o&&i.value?s:""},o&&n,{onClick:a}),[r.default&&r.default()],16,["onClick"])}}}),T_={value:{type:Array,default(){return[]},validator:function(e){return Array.isArray(e)&&e.filter(t=>typeof t=="number").length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}};function E_(e){var t=Ee([...e.value]),r=Ee({value:t,height:34});return U(()=>e.value,(i,n)=>{(i===n||i.length!==n.length||i.findIndex((a,s)=>a!==n[s])>=0)&&(r.value.length=i.length,i.forEach((a,s)=>{a!==r.value[s]&&r.value.splice(s,1,a)}))}),r}var C_=de({name:"PickerView",props:T_,emits:["change","pickstart","pickend","update:value"],setup(e,t){var{slots:r,emit:i}=t,n=$(null),a=$(null),s=Me(n,i),o=E_(e),l=$(null),u=()=>{var _=l.value;o.height=_.$el.offsetHeight},v=$([]),c=$([]);function m(_){var b=c.value;if(b instanceof HTMLCollection)return Array.prototype.indexOf.call(b,_.el);var w=b.indexOf(_);return w!==-1?w:v.value.indexOf(_)}var g=function(_){var b=Q({get(){var w=m(_.vnode);return o.value[w]||0},set(w){var p=m(_.vnode);if(!(p<0)){var h=o.value[p];if(h!==w){o.value[p]=w;var f=o.value.map(d=>d);i("update:value",f),s("change",{},{value:f})}}}});return b};return Ne("getPickerViewColumn",g),Ne("pickerViewProps",e),Ne("pickerViewState",o),jr(()=>{u(),c.value=a.value.children}),()=>{var _=r.default&&r.default();return I("uni-picker-view",{ref:n},[I(Ht,{ref:l,onResize:b=>{var{height:w}=b;return o.height=w}},null,8,["onResize"]),I("div",{ref:a,class:"uni-picker-view-wrapper"},[_],512)],512)}}});class If{constructor(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}set(t,r){this._x=t,this._v=r,this._startTime=new Date().getTime()}setVelocityByEnd(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._x+this._v*r/this._dragLog-this._v/this._dragLog}dx(t){t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3);var r=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t);return this._dt=t,this._v*r}done(){return Math.abs(this.dx())<3}reconfigure(t){var r=this.x(),i=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(r,i)}configuration(){var t=this;return[{label:"Friction",read:function(){return t._drag},write:function(r){t.reconfigure(r)},min:.001,max:.1,step:.001}]}}function Mf(e,t,r){return e>t-r&&e0){var v=(-i-Math.sqrt(s))/(2*n),c=(-i+Math.sqrt(s))/(2*n),m=(r-v*t)/(c-v),g=t-m;return{x:function(h){var f,d;return h===this._t&&(f=this._powER1T,d=this._powER2T),this._t=h,f||(f=this._powER1T=Math.pow(Math.E,v*h)),d||(d=this._powER2T=Math.pow(Math.E,c*h)),g*f+m*d},dx:function(h){var f,d;return h===this._t&&(f=this._powER1T,d=this._powER2T),this._t=h,f||(f=this._powER1T=Math.pow(Math.E,v*h)),d||(d=this._powER2T=Math.pow(Math.E,c*h)),g*v*f+m*c*d}}}var _=Math.sqrt(4*n*a-i*i)/(2*n),b=-i/2*n,w=t,p=(r-b*t)/_;return{x:function(h){return Math.pow(Math.E,b*h)*(w*Math.cos(_*h)+p*Math.sin(_*h))},dx:function(h){var f=Math.pow(Math.E,b*h),d=Math.cos(_*h),y=Math.sin(_*h);return f*(p*_*d-w*_*y)+b*f*(p*y+w*d)}}}x(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0}dx(t){return t===void 0&&(t=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0}setEnd(t,r,i){if(i||(i=new Date().getTime()),t!==this._endPosition||!zt(r,.4)){r=r||0;var n=this._endPosition;this._solution&&(zt(r,.4)&&(r=this._solution.dx((i-this._startTime)/1e3)),n=this._solution.x((i-this._startTime)/1e3),zt(r,.4)&&(r=0),zt(n,.4)&&(n=0),n+=this._endPosition),this._solution&&zt(n-t,.4)&&zt(r,.4)||(this._endPosition=t,this._solution=this._solve(n-this._endPosition,r),this._startTime=i)}}snap(t){this._startTime=new Date().getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}}done(t){return t||(t=new Date().getTime()),Mf(this.x(),this._endPosition,.4)&&zt(this.dx(),.4)}reconfigure(t,r,i){this._m=t,this._k=r,this._c=i,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(){function t(i,n){i.reconfigure(1,n,i.damping())}function r(i,n){i.reconfigure(1,i.springConstant(),n)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:r.bind(this,this),min:1,max:500}]}}class O_{constructor(t,r,i){this._extent=t,this._friction=r||new If(.01),this._spring=i||new Af(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(t,r){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(r)}set(t,r){this._friction.set(t,r),t>0&&r>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&r<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=new Date().getTime()}x(t){if(!this._startTime)return 0;if(t||(t=(new Date().getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var r=this._friction.x(t),i=this.dx(t);return(r>0&&i>=0||r<-this._extent&&i<=0)&&(this._springing=!0,this._spring.setEnd(0,i),r<-this._extent?this._springOffset=-this._extent:this._springOffset=0,r=this._spring.x()+this._springOffset),r}dx(t){var r;return this._lastTime===t?r=this._lastDx:r=this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=r,r}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(t){this._friction.setVelocityByEnd(t)}configuration(){var t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t}}function I_(e,t,r){var i={id:0,cancelled:!1};function n(s,o,l,u){if(!s||!s.cancelled){l(o);var v=o.done();v||s.cancelled||(s.id=requestAnimationFrame(n.bind(null,s,o,l,u))),v&&u&&u(o)}}function a(s){s&&s.id&&cancelAnimationFrame(s.id),s&&(s.cancelled=!0)}return n(i,e,t,r),{cancel:a.bind(null,i),model:e}}class M_{constructor(t,r){r=r||{},this._element=t,this._options=r,this._enableSnap=r.enableSnap||!1,this._itemSize=r.itemSize||0,this._enableX=r.enableX||!1,this._enableY=r.enableY||!1,this._shouldDispatchScrollEvent=!!r.onScroll,this._enableX?(this._extent=(r.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=r.scrollWidth):(this._extent=(r.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=r.scrollHeight),this._position=0,this._scroll=new O_(this._extent,r.friction,r.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(t,r){var i=this._startPosition;this._enableX?i+=t:this._enableY&&(i+=r),i>0?i*=.5:i<-this._extent&&(i=.5*(i+this._extent)-this._extent),this._position=i,this.updatePosition(),this.dispatchScroll()}onTouchEnd(t,r,i){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(r)this._itemSize/2?a-(this._itemSize-Math.abs(s)):a-s,n<=0&&n>=-this._extent&&this._scroll.setVelocityByEnd(n)}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,()=>{var o=Date.now(),l=(o-this._scroll._startTime)/1e3,u=this._scroll.x(l);this._position=u,this.updatePosition();var v=this._scroll.dx(l);this._shouldDispatchScrollEvent&&o-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/v),this._lastTime=o)},()=>{this._enableSnap&&(n<=0&&n>=-this._extent&&(this._position=n,this.updatePosition()),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){var t=this._itemSize,r=this._position%t,i=Math.abs(r)>this._itemSize/2?this._position-(t-Math.abs(r)):this._position-r;this._position!==i&&(this._snapping=!0,this.scrollTo(-i),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(t,r){this._animation&&(this._animation.cancel(),this._scrolling=!1),typeof t=="number"&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);var i="transform "+(r||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+i,this._element.style.transition=i,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(typeof this._options.onScroll=="function"&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;var t={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(t)}}update(t,r,i){var n=0,a=this._position;this._enableX?(n=this._element.childNodes.length?(r||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=r):(n=this._element.childNodes.length?(r||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=r),typeof t=="number"&&(this._position=-t),this._position<-n?this._position=-n:this._position>0&&(this._position=0),this._itemSize=i||this._itemSize,this.updatePosition(),a!==this._position&&(this.dispatchScroll(),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=n,this._scroll._extent=n}updatePosition(){var t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t}isScrolling(){return this._scrolling||this._snapping}}function A_(e,t){var r={trackingID:-1,maxDy:0,maxDx:0},i=new M_(e,t);function n(l){var u=l,v=l;return u.detail.state==="move"||u.detail.state==="end"?{x:u.detail.dx,y:u.detail.dy}:{x:v.screenX-r.x,y:v.screenY-r.y}}function a(l){var u=l,v=l;u.detail.state==="start"?(r.trackingID="touch",r.x=u.detail.x,r.y=u.detail.y):(r.trackingID="mouse",r.x=v.screenX,r.y=v.screenY),r.maxDx=0,r.maxDy=0,r.historyX=[0],r.historyY=[0],r.historyTime=[u.detail.timeStamp||v.timeStamp],r.listener=i,i.onTouchStart&&i.onTouchStart(),l.preventDefault()}function s(l){var u=l,v=l;if(r.trackingID!==-1){l.preventDefault();var c=n(l);if(c){for(r.maxDy=Math.max(r.maxDy,Math.abs(c.y)),r.maxDx=Math.max(r.maxDx,Math.abs(c.x)),r.historyX.push(c.x),r.historyY.push(c.y),r.historyTime.push(u.detail.timeStamp||v.timeStamp);r.historyTime.length>10;)r.historyTime.shift(),r.historyX.shift(),r.historyY.shift();r.listener&&r.listener.onTouchMove&&r.listener.onTouchMove(c.x,c.y)}}}function o(l){if(r.trackingID!==-1){l.preventDefault();var u=n(l);if(u){var v=r.listener;r.trackingID=-1,r.listener=null;var c=r.historyTime.length,m={x:0,y:0};if(c>2)for(var g=r.historyTime.length-1,_=r.historyTime[g],b=r.historyX[g],w=r.historyY[g];g>0;){g--;var p=r.historyTime[g],h=_-p;if(h>30&&h<50){m.x=(b-r.historyX[g])/(h/1e3),m.y=(w-r.historyY[g])/(h/1e3);break}}r.historyTime=[],r.historyX=[],r.historyY=[],v&&v.onTouchEnd&&v.onTouchEnd(u.x,u.y,m)}}}return{scroller:i,handleTouchStart:a,handleTouchMove:s,handleTouchEnd:o}}var R_=0;function P_(e){var t="uni-picker-view-content-".concat(R_++);function r(){var i=document.createElement("style");i.innerText=".uni-picker-view-content.".concat(t,">*{height: ").concat(e.value,"px;overflow: hidden;}"),document.head.appendChild(i)}return U(()=>e.value,r),t}function L_(e){var t=20,r=0,i=0;e.addEventListener("touchstart",n=>{var a=n.changedTouches[0];r=a.clientX,i=a.clientY}),e.addEventListener("touchend",n=>{var a=n.changedTouches[0];if(Math.abs(a.clientX-r){o[u]=a[u]}),n.target.dispatchEvent(o)}})}var N_=de({name:"PickerViewColumn",setup(e,t){var{slots:r,emit:i}=t,n=$(null),a=$(null),s=pe("getPickerViewColumn"),o=xt(),l=s?s(o):$(0),u=pe("pickerViewProps"),v=pe("pickerViewState"),c=$(34),m=$(null),g=()=>{var M=m.value;c.value=M.$el.offsetHeight},_=Q(()=>(v.height-c.value)/2),{state:b}=gf(),w=P_(c),p,h=Ee({current:l.value,length:0}),f;function d(){p&&!f&&(f=!0,sr(()=>{f=!1;var M=Math.min(h.current,h.length-1);M=Math.max(M,0),p.update(M*c.value,void 0,c.value)}))}U(()=>l.value,M=>{M!==h.current&&(h.current=M,d())}),U(()=>h.current,M=>l.value=M),U([()=>c.value,()=>h.length,()=>v.height],d);var y=0;function x(M){var W=y+M.deltaY;if(Math.abs(W)>10){y=0;var V=Math.min(h.current+(W<0?-1:1),h.length-1);h.current=V=Math.max(V,0),p.scrollTo(V*c.value)}else y=W;M.preventDefault()}function E(M){var{clientY:W}=M,V=n.value;if(!p.isScrolling()){var q=V.getBoundingClientRect(),he=W-q.top-v.height/2,R=c.value/2;if(!(Math.abs(he)<=R)){var B=Math.ceil((Math.abs(he)-R)/c.value),ee=he<0?-B:B,ie=Math.min(h.current+ee,h.length-1);h.current=ie=Math.max(ie,0),p.scrollTo(ie*c.value)}}}var C=()=>{var M=n.value,W=a.value,{scroller:V,handleTouchStart:q,handleTouchMove:he,handleTouchEnd:R}=A_(W,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:c.value,friction:new If(1e-4),spring:new Af(2,90,20),onSnap:B=>{!isNaN(B)&&B!==h.current&&(h.current=B)}});p=V,vn(M,B=>{switch(B.detail.state){case"start":q(B),Mt({disable:!0});break;case"move":he(B),B.stopPropagation();break;case"end":case"cancel":R(B),Mt({disable:!1})}},!0),L_(M),cn(),d()};return jr(()=>{h.length=a.value.children.length,g(),C()}),()=>{var M=r.default&&r.default(),W="".concat(_.value,"px 0");return I("uni-picker-view-column",{ref:n},[I("div",{onWheel:x,onClick:E,class:"uni-picker-view-group"},[I("div",ze(b.attrs,{class:["uni-picker-view-mask",u.maskClass],style:"background-size: 100% ".concat(_.value,"px;").concat(u.maskStyle)}),null,16),I("div",ze(b.attrs,{class:["uni-picker-view-indicator",u.indicatorClass],style:u.indicatorStyle}),[I(Ht,{ref:m,onResize:V=>{var{height:q}=V;return c.value=q}},null,8,["onResize"])],16),I("div",{ref:a,class:["uni-picker-view-content",w],style:{padding:W}},[M],6)],40,["onWheel","onClick"])],512)}}}),Yt={activeColor:wi,backgroundColor:"#EBEBEB",activeMode:"backwards"},k_={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:Yt.activeColor},activeColor:{type:String,default:Yt.activeColor},backgroundColor:{type:String,default:Yt.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:Yt.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}}},B_=de({name:"Progress",props:k_,setup(e){var t=D_(e);return Rf(t,e),U(()=>t.realPercent,(r,i)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=i||0,Rf(t,e)}),()=>{var{showInfo:r}=e,{outerBarStyle:i,innerBarStyle:n,currentPercent:a}=t;return I("uni-progress",{class:"uni-progress"},[I("div",{style:i,class:"uni-progress-bar"},[I("div",{style:n,class:"uni-progress-inner-bar"},null,4)],4),r?I("p",{class:"uni-progress-info"},[a+"%"]):""])}}});function D_(e){var t=$(0),r=Q(()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;")),i=Q(()=>{var s=e.color!==Yt.activeColor&&e.activeColor===Yt.activeColor?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(s)}),n=Q(()=>{var s=parseFloat(e.percent);return s<0&&(s=0),s>100&&(s=100),s}),a=Ee({outerBarStyle:r,innerBarStyle:i,realPercent:n,currentPercent:t,strokeTimer:0,lastPercent:0});return a}function Rf(e,t){t.active?(e.currentPercent=t.activeMode===Yt.activeMode?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 Pf=Gi("ucg"),F_={name:{type:String,default:""}},$_=de({name:"RadioGroup",props:F_,setup(e,t){var{emit:r,slots:i}=t,n=$(null),a=Me(n,r);return W_(e,a),()=>I("uni-radio-group",{ref:n},[i.default&&i.default()],512)}});function W_(e,t){var r=[];Ie(()=>{o(r.length-1)});var i=()=>{var l;return(l=r.find(u=>u.value.radioChecked))===null||l===void 0?void 0:l.value.value};Ne(Pf,{addField(l){r.push(l)},removeField(l){r.splice(r.indexOf(l),1)},radioChange(l,u){var v=r.indexOf(u);o(v,!0),t("change",l,{value:i()})}});var n=pe(ut,!1),a={submit:()=>{var l=["",null];return e.name!==""&&(l[0]=e.name,l[1]=i()),l}};n&&(n.addField(a),xe(()=>{n.removeField(a)}));function s(l,u){l.value={radioChecked:u,value:l.value.value}}function o(l,u){r.forEach((v,c)=>{c!==l&&(u?s(r[c],!1):r.forEach((m,g)=>{c>=g||r[g].value.radioChecked&&s(r[c],!1)}))})}return r}var U_={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:""}},V_=de({name:"Radio",props:U_,setup(e,t){var{slots:r}=t,i=$(e.checked),n=$(e.value),a=Q(()=>"background-color: ".concat(e.color,";border-color: ").concat(e.color,";"));U([()=>e.checked,()=>e.value],c=>{var[m,g]=c;i.value=m,n.value=g});var s=()=>{i.value=!1},{uniCheckGroup:o,uniLabel:l,field:u}=H_(i,n,s),v=c=>{e.disabled||(i.value=!0,o&&o.radioChange(c,u))};return l&&(l.addHandler(v),xe(()=>{l.removeHandler(v)})),nn(e,{"label-click":v}),()=>{var c=Fr(e,"disabled");return I("uni-radio",ze(c,{onClick:v}),[I("div",{class:"uni-radio-wrapper"},[I("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:i.value?a.value:""},[i.value?Ji(Zi,"#fff",18):""],6),r.default&&r.default()])],16,["onClick"])}}});function H_(e,t,r){var i=Q({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:l=>{var{radioChecked:u}=l;e.value=u}}),n={reset:r},a=pe(Pf,!1);a&&a.addField(i);var s=pe(ut,!1);s&&s.addField(n);var o=pe($r,!1);return xe(()=>{a&&a.removeField(i),s&&s.removeField(n)}),{uniCheckGroup:a,uniForm:s,uniLabel:o,field:i}}function j_(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}function z_(e){return e.reduce(function(t,r){var i=r.value,n=r.name;return i.match(/ /)&&n!=="style"&&(i=i.split(" ")),t[n]?Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]:t[n]=i,t},{})}function Y_(e){e=j_(e);var t=[],r={node:"root",children:[]};return uf(e,{start:function(i,n,a){var s={name:i};if(n.length!==0&&(s.attrs=z_(n)),a){var o=t[0]||r;o.children||(o.children=[]),o.children.push(s)}else t.unshift(s)},end:function(i){var n=t.shift();if(n.name!==i&&console.error("invalid state: mismatch end tag"),t.length===0)r.children.push(n);else{var a=t[0];a.children||(a.children=[]),a.children.push(n)}},chars:function(i){var n={type:"text",text:i};if(t.length===0)r.children.push(n);else{var a=t[0];a.children||(a.children=[]),a.children.push(n)}},comment:function(i){var n={node:"comment",text:i},a=t[0];a.children||(a.children=[]),a.children.push(n)}}),r.children}var Lf={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:""},ws={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function q_(e){return e.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,r){if(te(ws,r)&&ws[r])return ws[r];if(/^#[0-9]{1,4}$/.test(r))return String.fromCharCode(r.slice(1));if(/^#x[0-9a-f]{1,4}$/i.test(r))return String.fromCharCode("0"+r.slice(1));var i=document.createElement("div");return i.innerHTML=t,i.innerText||i.textContent})}function X_(e,t,r){return e==="img"&&t==="src"?et(r):r}function Nf(e,t,r,i){return e.forEach(function(n){if(!!it(n))if(!te(n,"type")||n.type==="node"){if(!(typeof n.name=="string"&&n.name))return;var a=n.name.toLowerCase();if(!te(Lf,a))return;var s=document.createElement(a);if(!s)return;var o=n.attrs;if(it(o)){var l=Lf[a]||[];Object.keys(o).forEach(function(v){var c=o[v];switch(v){case"class":Array.isArray(c)&&(c=c.join(" "));case"style":s.setAttribute(v,c),r&&s.setAttribute(r,"");break;default:l.indexOf(v)!==-1&&s.setAttribute(v,X_(a,v,c))}})}K_(n,s,i);var u=n.children;Array.isArray(u)&&u.length&&Nf(n.children,s,r,i),t.appendChild(s)}else n.type==="text"&&typeof n.text=="string"&&n.text!==""&&t.appendChild(document.createTextNode(q_(n.text)))}),t}function K_(e,t,r){["a","img"].includes(e.name)&&r&&(t.setAttribute("onClick","return false;"),t.addEventListener("click",i=>{r(i,{node:e}),i.stopPropagation()},!0))}var G_={nodes:{type:[Array,String],default:function(){return[]}}},Z_=de({name:"RichText",compatConfig:{MODE:3},props:G_,emits:["click","touchstart","touchmove","touchcancel","touchend","longpress"],setup(e,t){var{emit:r,attrs:i}=t,n=xt(),a=$(null),s=Me(a,r),o=!!i.onItemclick;function l(v){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};s("itemclick",v,c)}function u(v){var c;typeof v=="string"&&(v=Y_(v));var m=Nf(v,document.createDocumentFragment(),(n==null||(c=n.root)===null||c===void 0?void 0:c.type).__scopeId||"",o&&l);a.value.firstElementChild.innerHTML="",a.value.firstElementChild.appendChild(m)}return U(()=>e.nodes,v=>{u(v)}),Ie(()=>{u(e.nodes)}),()=>I("uni-rich-text",{ref:a},[I("div",null,null)],512)}}),ys=ta(!0),J_={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}},Q_=de({name:"ScrollView",compatConfig:{MODE:3},props:J_,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,t){var{emit:r,slots:i}=t,n=$(null),a=$(null),s=$(null),o=$(null),l=$(null),u=Me(n,r),{state:v,scrollTopNumber:c,scrollLeftNumber:m}=eb(e);tb(e,v,c,m,u,n,a,o,r);var g=Q(()=>{var _="";return e.scrollX?_+="overflow-x:auto;":_+="overflow-x:hidden;",e.scrollY?_+="overflow-y:auto;":_+="overflow-y:hidden;",_});return()=>{var{refresherEnabled:_,refresherBackground:b,refresherDefaultStyle:w}=e,{refresherHeight:p,refreshState:h,refreshRotate:f}=v;return I("uni-scroll-view",{ref:n},[I("div",{ref:s,class:"uni-scroll-view"},[I("div",{ref:a,style:g.value,class:"uni-scroll-view"},[I("div",{ref:o,class:"uni-scroll-view-content"},[_?I("div",{ref:l,style:{backgroundColor:b,height:p+"px"},class:"uni-scroll-view-refresher"},[w!=="none"?I("div",{class:"uni-scroll-view-refresh"},[I("div",{class:"uni-scroll-view-refresh-inner"},[h=="pulling"?I("svg",{key:"refresh__icon",style:{transform:"rotate("+f+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[I("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),I("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,h=="refreshing"?I("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[I("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,w=="none"?i.refresher&&i.refresher():null],4):null,i.default&&i.default()],512)],4)],512)],512)}}});function eb(e){var t=Q(()=>Number(e.scrollTop)||0),r=Q(()=>Number(e.scrollLeft)||0),i=Ee({lastScrollTop:t.value,lastScrollLeft:r.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""});return{state:i,scrollTopNumber:t,scrollLeftNumber:r}}function tb(e,t,r,i,n,a,s,o,l){var u=!1,v=0,c=!1,m=()=>{},g=Q(()=>{var x=Number(e.upperThreshold);return isNaN(x)?50:x}),_=Q(()=>{var x=Number(e.lowerThreshold);return isNaN(x)?50:x});function b(x,E){var C=s.value,M=0,W="";if(x<0?x=0:E==="x"&&x>C.scrollWidth-C.offsetWidth?x=C.scrollWidth-C.offsetWidth:E==="y"&&x>C.scrollHeight-C.offsetHeight&&(x=C.scrollHeight-C.offsetHeight),E==="x"?M=C.scrollLeft-x:E==="y"&&(M=C.scrollTop-x),M!==0){var V=o.value;V.style.transition="transform .3s ease-out",V.style.webkitTransition="-webkit-transform .3s ease-out",E==="x"?W="translateX("+M+"px) translateZ(0)":E==="y"&&(W="translateY("+M+"px) translateZ(0)"),V.removeEventListener("transitionend",m),V.removeEventListener("webkitTransitionEnd",m),m=()=>d(x,E),V.addEventListener("transitionend",m),V.addEventListener("webkitTransitionEnd",m),E==="x"?C.style.overflowX="hidden":E==="y"&&(C.style.overflowY="hidden"),V.style.transform=W,V.style.webkitTransform=W}}function w(x){var E=x.target;n("scroll",x,{scrollLeft:E.scrollLeft,scrollTop:E.scrollTop,scrollHeight:E.scrollHeight,scrollWidth:E.scrollWidth,deltaX:t.lastScrollLeft-E.scrollLeft,deltaY:t.lastScrollTop-E.scrollTop}),e.scrollY&&(E.scrollTop<=g.value&&t.lastScrollTop-E.scrollTop>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(n("scrolltoupper",x,{direction:"top"}),t.lastScrollToUpperTime=x.timeStamp),E.scrollTop+E.offsetHeight+_.value>=E.scrollHeight&&t.lastScrollTop-E.scrollTop<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(n("scrolltolower",x,{direction:"bottom"}),t.lastScrollToLowerTime=x.timeStamp)),e.scrollX&&(E.scrollLeft<=g.value&&t.lastScrollLeft-E.scrollLeft>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(n("scrolltoupper",x,{direction:"left"}),t.lastScrollToUpperTime=x.timeStamp),E.scrollLeft+E.offsetWidth+_.value>=E.scrollWidth&&t.lastScrollLeft-E.scrollLeft<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(n("scrolltolower",x,{direction:"right"}),t.lastScrollToLowerTime=x.timeStamp)),t.lastScrollTop=E.scrollTop,t.lastScrollLeft=E.scrollLeft}function p(x){e.scrollY&&(e.scrollWithAnimation?b(x,"y"):s.value.scrollTop=x)}function h(x){e.scrollX&&(e.scrollWithAnimation?b(x,"x"):s.value.scrollLeft=x)}function f(x){if(x){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(x)){console.error("id error: scroll-into-view=".concat(x));return}var E=a.value.querySelector("#"+x);if(E){var C=s.value.getBoundingClientRect(),M=E.getBoundingClientRect();if(e.scrollX){var W=M.left-C.left,V=s.value.scrollLeft,q=V+W;e.scrollWithAnimation?b(q,"x"):s.value.scrollLeft=q}if(e.scrollY){var he=M.top-C.top,R=s.value.scrollTop,B=R+he;e.scrollWithAnimation?b(B,"y"):s.value.scrollTop=B}}}}function d(x,E){o.value.style.transition="",o.value.style.webkitTransition="",o.value.style.transform="",o.value.style.webkitTransform="";var C=s.value;E==="x"?(C.style.overflowX=e.scrollX?"auto":"hidden",C.scrollLeft=x):E==="y"&&(C.style.overflowY=e.scrollY?"auto":"hidden",C.scrollTop=x),o.value.removeEventListener("transitionend",m),o.value.removeEventListener("webkitTransitionEnd",m)}function y(x){switch(x){case"refreshing":t.refresherHeight=e.refresherThreshold,u||(u=!0,n("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":u=!1,t.refresherHeight=v=0,x==="restore"&&(c=!1,n("refresherrestore",{},{})),x==="refresherabort"&&c&&(c=!1,n("refresherabort",{},{}));break}t.refreshState=x}Ie(()=>{sr(()=>{p(r.value),h(i.value)}),f(e.scrollIntoView);var x=function(q){q.stopPropagation(),w(q)},E={x:0,y:0},C=null,M=function(q){var he=q.touches[0].pageX,R=q.touches[0].pageY,B=s.value;if(Math.abs(he-E.x)>Math.abs(R-E.y))if(e.scrollX){if(B.scrollLeft===0&&he>E.x){C=!1;return}else if(B.scrollWidth===B.offsetWidth+B.scrollLeft&&heE.y)C=!1,e.refresherEnabled&&q.cancelable!==!1&&q.preventDefault();else if(B.scrollHeight===B.offsetHeight+B.scrollTop&&R0&&(c=!0,n("refresherpulling",q,{deltaY:ee})));var ie=t.refresherHeight/e.refresherThreshold;t.refreshRotate=(ie>1?1:ie)*360}},W=function(q){q.touches.length===1&&(Mt({disable:!0}),E={x:q.touches[0].pageX,y:q.touches[0].pageY})},V=function(q){E={x:0,y:0},Mt({disable:!1}),t.refresherHeight>=e.refresherThreshold?y("refreshing"):y("refresherabort")};s.value.addEventListener("touchstart",W,ys),s.value.addEventListener("touchmove",M),s.value.addEventListener("scroll",x,ys),s.value.addEventListener("touchend",V,ys),cn(),xe(()=>{s.value.removeEventListener("touchstart",W),s.value.removeEventListener("touchmove",M),s.value.removeEventListener("scroll",x),s.value.removeEventListener("touchend",V)})}),Ma(()=>{e.scrollY&&(s.value.scrollTop=t.lastScrollTop),e.scrollX&&(s.value.scrollLeft=t.lastScrollLeft)}),U(r,x=>{p(x)}),U(i,x=>{h(x)}),U(()=>e.scrollIntoView,x=>{f(x)}),U(()=>e.refresherTriggered,x=>{x===!0?y("refreshing"):x===!1&&y("restore")})}var rb={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}},ib=de({name:"Slider",props:rb,emits:["changing","change"],setup(e,t){var{emit:r}=t,i=$(null),n=$(null),a=$(null),s=$(Number(e.value));U(()=>e.value,c=>{s.value=Number(c)});var o=Me(i,r),l=nb(e,s),{_onClick:u,_onTrack:v}=ab(e,s,i,n,o);return Ie(()=>{vn(a.value,v)}),()=>{var{setBgColor:c,setBlockBg:m,setActiveColor:g,setBlockStyle:_}=l;return I("uni-slider",{ref:i,onClick:Vt(u)},[I("div",{class:"uni-slider-wrapper"},[I("div",{class:"uni-slider-tap-area"},[I("div",{style:c.value,class:"uni-slider-handle-wrapper"},[I("div",{ref:a,style:m.value,class:"uni-slider-handle"},null,4),I("div",{style:_.value,class:"uni-slider-thumb"},null,4),I("div",{style:g.value,class:"uni-slider-track"},null,4)],4)]),Or(I("span",{ref:n,class:"uni-slider-value"},[s.value],512),[[kr,e.showValue]])]),I("slot",null,null)],8,["onClick"])}}});function nb(e,t){var r=()=>{var s=Number(e.max),o=Number(e.min);return 100*(t.value-o)/(s-o)+"%"},i=()=>e.backgroundColor!=="#e9e9e9"?e.backgroundColor:e.color!=="#007aff"?e.color:"#007aff",n=()=>e.activeColor!=="#007aff"?e.activeColor:e.selectedColor!=="#e9e9e9"?e.selectedColor:"#e9e9e9",a={setBgColor:Q(()=>({backgroundColor:i()})),setBlockBg:Q(()=>({left:r()})),setActiveColor:Q(()=>({backgroundColor:n(),width:r()})),setBlockStyle:Q(()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:r(),backgroundColor:e.blockColor}))};return a}function ab(e,t,r,i,n){var a=c=>{e.disabled||(o(c),n("change",c,{value:t.value}))},s=c=>{var m=Number(e.max),g=Number(e.min),_=Number(e.step);return cm?m:sb.mul.call(Math.round((c-g)/_),_)+g},o=c=>{var m=Number(e.max),g=Number(e.min),_=i.value,b=getComputedStyle(_,null).marginLeft,w=_.offsetWidth;w=w+parseInt(b);var p=r.value,h=p.offsetWidth-(e.showValue?w:0),f=p.getBoundingClientRect().left,d=(c.x-f)*(m-g)/h+g;t.value=s(d)},l=c=>{if(!e.disabled)return c.detail.state==="move"?(o({x:c.detail.x}),n("changing",c,{value:t.value}),!1):c.detail.state==="end"&&n("change",c,{value:t.value})},u=pe(ut,!1);if(u){var v={reset:()=>t.value=Number(e.min),submit:()=>{var c=["",null];return e.name!==""&&(c[0]=e.name,c[1]=t.value),c}};u.addField(v),xe(()=>{u.removeField(v)})}return{_onClick:a,_onTrack:l}}var sb={mul:function(e){var t=0,r=this.toString(),i=e.toString();try{t+=r.split(".")[1].length}catch(n){}try{t+=i.split(".")[1].length}catch(n){}return Number(r.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,t)}},ob={indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1}};function lb(e){var t=Q(()=>{var a=Number(e.interval);return isNaN(a)?5e3:a}),r=Q(()=>{var a=Number(e.duration);return isNaN(a)?500:a}),i=Q(()=>{var a=Math.round(e.displayMultipleItems);return isNaN(a)?1:a}),n=Ee({interval:t,duration:r,displayMultipleItems:i,current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1});return n}function ub(e,t,r,i,n,a){function s(){o&&(clearTimeout(o),o=null)}var o=null,l=!0,u=0,v=1,c=null,m=!1,g=0,_,b="",w,p=Q(()=>e.circular&&r.value.length>t.displayMultipleItems);function h(R){if(!l)for(var B=r.value,ee=B.length,ie=R+t.displayMultipleItems,z=0;z=J.length&&(R-=J.length),R=_%1>.5||_<0?R-1:R,a("transition",{},{dx:e.vertical?0:R*z.offsetWidth,dy:e.vertical?R*z.offsetHeight:0})}function d(){c&&(f(c.toPos),c=null)}function y(R){var B=r.value.length;if(!B)return-1;var ee=(Math.round(R)%B+B)%B;if(p.value){if(B<=t.displayMultipleItems)return 0}else if(ee>B-t.displayMultipleItems)return B-t.displayMultipleItems;return ee}function x(){c=null}function E(){if(!c){m=!1;return}var R=c,B=R.toPos,ee=R.acc,ie=R.endTime,z=R.source,J=ie-Date.now();if(J<=0){f(B),c=null,m=!1,_=null;var ne=r.value[t.current];if(ne){var we=ne.getItemId();a("animationfinish",{},{current:t.current,currentItemId:we,source:z})}return}var se=ee*J*J/2,G=B+se;f(G),w=requestAnimationFrame(E)}function C(R,B,ee){x();var ie=t.duration,z=r.value.length,J=u;if(p.value)if(ee<0){for(;JR;)J-=z}else if(ee>0){for(;J>R;)J-=z;for(;J+zR;)J-=z;J+z-R0&&v<1||(v=1)}var J=u;u=-2;var ne=t.current;ne>=0?(l=!1,t.userTracking?(f(J+ne-g),g=ne):(f(ne),e.autoplay&&M())):(l=!0,f(-t.displayMultipleItems-1))}U([()=>e.current,()=>e.currentItemId,()=>[...r.value]],()=>{var R=-1;if(e.currentItemId)for(var B=0,ee=r.value;Be.vertical,()=>p.value,()=>t.displayMultipleItems,()=>[...r.value]],W),U(()=>t.interval,()=>{o&&(s(),M())});function V(R,B){var ee=b;b="";var ie=r.value;if(!ee){var z=ie.length;C(R,"",p.value&&B+(z-R)%z>z/2?1:0)}var J=ie[R];if(J){var ne=t.currentItemId=J.getItemId();a("change",{},{current:t.current,currentItemId:ne,source:ee})}}U(()=>t.current,(R,B)=>{V(R,B),n("update:current",R)}),U(()=>t.currentItemId,R=>{n("update:currentItemId",R)});function q(R){R?M():s()}U(()=>e.autoplay&&!t.userTracking,q),q(e.autoplay&&!t.userTracking),Ie(()=>{var R=!1,B=0,ee=0;function ie(){s(),g=u,B=0,ee=Date.now(),x()}function z(ne){var we=ee;ee=Date.now();var se=r.value.length,G=se-t.displayMultipleItems;function re(Ge){return .5-.25/(Ge+.5)}function le(Ge,At){var Ae=g+Ge;B=.6*B+.4*At,p.value||(Ae<0||Ae>G)&&(Ae<0?Ae=-re(-Ae):Ae>G&&(Ae=G+re(Ae-G)),B=0),f(Ae)}var Ce=ee-we||1,Oe=i.value;e.vertical?le(-ne.dy/Oe.offsetHeight,-ne.ddy/Ce):le(-ne.dx/Oe.offsetWidth,-ne.ddx/Ce)}function J(ne){t.userTracking=!1;var we=B/Math.abs(B),se=0;!ne&&Math.abs(B)>.2&&(se=.5*we);var G=y(u+se);ne?f(g):(b="touch",t.current=G,C(G,"touch",se!==0?se:G===0&&p.value&&u>=1?1:0))}vn(i.value,ne=>{if(!e.disableTouch&&!l){if(ne.detail.state==="start")return t.userTracking=!0,R=!1,ie();if(ne.detail.state==="end")return J(!1);if(ne.detail.state==="cancel")return J(!0);if(t.userTracking){if(!R){R=!0;var we=Math.abs(ne.detail.dx),se=Math.abs(ne.detail.dy);if((we>=se&&e.vertical||we<=se&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&M();return}}return z(ne.detail),!1}}})}),yt(()=>{s(),cancelAnimationFrame(w)});function he(R){C(t.current=R,b="click",p.value?1:0)}return{onSwiperDotClick:he}}var fb=de({name:"Swiper",props:ob,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,t){var{slots:r,emit:i}=t,n=$(null),a=Me(n,i),s=$(null),o=$(null),l=lb(e),u=Q(()=>{var h={};return(e.nextMargin||e.previousMargin)&&(h=e.vertical?{left:0,right:0,top:Ut(e.previousMargin,!0),bottom:Ut(e.nextMargin,!0)}:{top:0,bottom:0,left:Ut(e.previousMargin,!0),right:Ut(e.nextMargin,!0)}),h}),v=Q(()=>{var h=Math.abs(100/l.displayMultipleItems)+"%";return{width:e.vertical?"100%":h,height:e.vertical?h:"100%"}}),c=[],m=[],g=$([]);function _(){for(var h=[],f=function(y){var x=c[y];x instanceof Element||(x=x.el);var E=m.find(C=>x===C.rootRef.value);E&&h.push(Li(E))},d=0;d{c=o.value.children,_()});var b=function(h){m.push(h),_()};Ne("addSwiperContext",b);var w=function(h){var f=m.indexOf(h);f>=0&&(m.splice(f,1),_())};Ne("removeSwiperContext",w);var{onSwiperDotClick:p}=ub(e,l,g,o,i,a);return()=>{var h=r.default&&r.default();return c=ms(h),I("uni-swiper",{ref:n},[I("div",{ref:s,class:"uni-swiper-wrapper"},[I("div",{class:"uni-swiper-slides",style:u.value},[I("div",{ref:o,class:"uni-swiper-slide-frame",style:v.value},[h],4)],4),e.indicatorDots&&I("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[g.value.map((f,d,y)=>I("div",{onClick:()=>p(d),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":d=l.current||d{var a=pe("addSwiperContext");a&&a(n)}),yt(()=>{var a=pe("removeSwiperContext");a&&a(n)}),()=>I("uni-swiper-item",{ref:i,style:{position:"absolute",width:"100%",height:"100%"}},[r.default&&r.default()],512)}}),db={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"}},hb=de({name:"Switch",props:db,emits:["change"],setup(e,t){var{emit:r}=t,i=$(null),n=$(e.checked),a=gb(e,n),s=Me(i,r);U(()=>e.checked,l=>{n.value=l});var o=l=>{e.disabled||(n.value=!n.value,s("change",l,{value:n.value}))};return a&&(a.addHandler(o),xe(()=>{a.removeHandler(o)})),nn(e,{"label-click":o}),()=>{var{color:l,type:u}=e,v=Fr(e,"disabled");return I("uni-switch",ze({ref:i},v,{onClick:o}),[I("div",{class:"uni-switch-wrapper"},[Or(I("div",{class:["uni-switch-input",[n.value?"uni-switch-input-checked":""]],style:{backgroundColor:n.value?l:"#DFDFDF",borderColor:n.value?l:"#DFDFDF"}},null,6),[[kr,u==="switch"]]),Or(I("div",{class:"uni-checkbox-input"},[n.value?Ji(Zi,e.color,22):""],512),[[kr,u==="checkbox"]])])],16,["onClick"])}}});function gb(e,t){var r=pe(ut,!1),i=pe($r,!1),n={submit:()=>{var a=["",null];return e.name&&(a[0]=e.name,a[1]=t.value),a},reset:()=>{t.value=!1}};return r&&(r.addField(n),yt(()=>{r.removeField(n)})),i}var qr={ensp:"\u2002",emsp:"\u2003",nbsp:"\xA0"};function pb(e,t){return e.replace(/\\n/g,wr).split(wr).map(r=>mb(r,t))}function mb(e,t){var{space:r,decode:i}=t;return!e||(r&&qr[r]&&(e=e.replace(/ /g,qr[r])),!i)?e:e.replace(/ /g,qr.nbsp).replace(/ /g,qr.ensp).replace(/ /g,qr.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")}var _b=ce({},pf,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:""}}),Ss=!1;function bb(){var e="(prefers-color-scheme: dark)";Ss=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}var wb=de({name:"Textarea",props:_b,emit:["confirm","linechange",...mf],setup(e,t){var{emit:r}=t,i=$(null),{fieldRef:n,state:a,scopedAttrsState:s,fixDisabledColor:o,trigger:l}=_f(e,i,r),u=Q(()=>a.value.split(wr)),v=Q(()=>["done","go","next","search","send"].includes(e.confirmType)),c=$(0),m=$(null);U(()=>c.value,p=>{var h=i.value,f=m.value,d=parseFloat(getComputedStyle(h).lineHeight);isNaN(d)&&(d=f.offsetHeight);var y=Math.round(p/d);l("linechange",{},{height:p,heightRpx:750/window.innerWidth*p,lineCount:y}),e.autoHeight&&(h.style.height=p+"px")});function g(p){var{height:h}=p;c.value=h}function _(p){l("confirm",p,{value:a.value})}function b(p){p.key==="Enter"&&v.value&&p.preventDefault()}function w(p){if(p.key==="Enter"&&v.value){_(p);var h=p.target;h.blur()}}return bb(),()=>{var p=e.disabled&&o?I("textarea",{ref:n,value:a.value,tabindex:"-1",readonly:!!e.disabled,maxlength:a.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Ss},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:h=>h.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):I("textarea",{ref:n,value:a.value,disabled:!!e.disabled,maxlength:a.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Ss},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:b,onKeyup:w},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return I("uni-textarea",{ref:i},[I("div",{class:"uni-textarea-wrapper"},[Or(I("div",ze(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[kr,!a.value.length]]),I("div",{ref:m,class:"uni-textarea-line"},[" "],512),I("div",{class:"uni-textarea-compute"},[u.value.map(h=>I("div",null,[h.trim()?h:"."])),I(Ht,{initial:!0,onResize:g},null,8,["initial","onResize"])]),e.confirmType==="search"?I("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[p],40,["onSubmit"]):p])],512)}}});ce({},jm);function gn(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function kf(e,t,r){!e||at(r||Ct(),e,(i,n)=>{var{type:a,data:s}=i;t(a,s,n)})}function Bf(e){!e||Xd(Ct(),e)}function pn(e,t,r,i){var n=xt(),a=n.proxy;Ie(()=>{kf(t||gn(a),e,i),(r||!t)&&U(()=>a.id,(s,o)=>{kf(gn(a,s),e,i),Bf(o&&gn(a,o))})}),xe(()=>{Bf(t||gn(a))})}var yb=0;function mn(e){var t=Qi(),r=xt(),i=r.proxy,n=i.$options.name.toLowerCase(),a=e||i.id||"context".concat(yb++);return Ie(()=>{var s=i.$el;s.__uniContextInfo={id:a,type:n,page:t}}),"".concat(n,".").concat(a)}function Sb(e){return e.__uniContextInfo}class Df extends ju{constructor(t,r,i,n,a){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,n,a,[...rn.props,...s])}call(t){var r={animation:this.$props.animation,$el:this.$};t.call(r)}setAttribute(t,r){return t==="animation"&&(this.$animate=!0),super.setAttribute(t,r)}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!!this.$animate){if(t)return this.call(rn.mounted);this.$animate&&(this.$animate=!1,this.call(rn.watch.animation.handler))}}}var xb=["space","decode"];class Tb extends Df{constructor(t,r,i,n){super(t,document.createElement("uni-text"),r,i,n,xb);this._text=""}init(t){this._text=t.t||"",super.init(t)}setText(t){this._text=t,this.update()}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,{$props:{space:r,decode:i}}=this;this.$.textContent=pb(this._text,{space:r,decode:i}).join(wr),super.update(t)}}class Eb extends lr{constructor(t,r,i,n){super(t,"#text",r,document.createTextNode(""));this.init(n),this.insert(r,i)}}var by="",Cb=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class Ob extends Df{constructor(t,r,i,n,a){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,n,a,[...Cb,...s])}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.$props["hover-class"];r&&r!=="none"?(this._hover||(this._hover=new Ib(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(t)}}class Ib{constructor(t,r){this._listening=!1,this._hovering=!1,this._hoverTouch=!1,this.$=t,this.props=r,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(t){this._hovering=t;var r=this.props["hover-class"];t?this.$.classList.add(r):this.$.classList.remove(r)}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(t){if(!t._hoverPropagationStopped){var r=this.props["hover-class"];!r||r==="none"||this.$.disabled||t.touches.length>1||(this.props["hover-stop-propagation"]&&(t._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)}}class Mb extends Ob{constructor(t,r,i,n){super(t,document.createElement("uni-view"),r,i,n)}}function Ff(){return plus.navigator.isImmersedStatusbar()?Math.round(plus.os.name==="iOS"?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function $f(){var e=plus.webview.currentWebview(),t=e.getStyle(),r=t&&t.titleNView;return r&&r.type==="default"?Co+Ff():0}var Wf=Symbol("onDraw");function Ab(e){for(var t;e;){var r=getComputedStyle(e),i=r.transform||r.webkitTransform;t=i&&i!=="none"?!1:t,t=r.position==="fixed"?!0:t,e=e.parentElement}return t}function xs(e,t){return Q(()=>{var r={};return Object.keys(e).forEach(i=>{if(!(t&&t.includes(i))){var n=e[i];n=i==="src"?et(n):n,r[i.replace(/[A-Z]/g,a=>"-"+a.toLowerCase())]=n}}),r})}function Xr(e){var t=Ee({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),r=$(!1);function i(){var c=e.value,m=c.getBoundingClientRect(),g=["width","height"];r.value=m.width===0||m.height===0,r.value||(t.position=Ab(c)?"absolute":"static",g.push("top","left")),g.forEach(_=>{var b=m[_];b=_==="top"?b+(t.position==="static"?document.documentElement.scrollTop||document.body.scrollTop||0:$f()):b,t[_]=b+"px"})}var n=null;function a(){n&&cancelAnimationFrame(n),n=requestAnimationFrame(()=>{n=null,i()})}window.addEventListener("updateview",a);var s=[],o=[];function l(c){o?o.push(c):c()}function u(c){var m=pe(Wf),g=_=>{c(_),s.forEach(b=>b(t)),s=null};l(()=>{m?m(g):g({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})})}var v=function(c){s?s.push(c):c(t)};return Ne(Wf,v),Ie(()=>{i(),o.forEach(c=>c()),o=null}),xe(()=>{window.removeEventListener("updateview",a)}),{position:t,hidden:r,onParentReady:u}}var Rb=de({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{emit:r}=t,i=$(null),n=$(null),a=Me(i,r),s=xs(e,["id"]),{position:o,onParentReady:l}=Xr(n),u;return l(()=>{u=plus.ad.createAdView(Object.assign({},s.value,o)),plus.webview.currentWebview().append(u),u.setDislikeListener(c=>{n.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),a("close",{},c)}),u.setRenderingListener(c=>{c.result===0?(n.value.style.height=c.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):a("error",{},{errCode:c.result})}),u.setAdClickedListener(()=>{a("adclicked",{},{})}),U(()=>o,c=>u.setStyle(c),{deep:!0}),U(()=>e.adpid,c=>{c&&v()}),U(()=>e.data,c=>{c&&u.renderingBind(c)});function v(){var c={adpid:e.adpid,width:o.width,count:e.dataCount};e.channel!==void 0&&(c.ext={channel:e.channel}),UniViewJSBridge.invokeServiceMethod("getAdData",c,m=>{var{code:g,data:_,message:b}=m;g===0?u.renderingBind(_):a("error",{},{errMsg:b})})}e.adpid&&v()}),xe(()=>{u&&u.close()}),()=>I("uni-ad",{ref:i},[I("div",{ref:n,class:"uni-ad-container"},null,512)],512)}});class _e extends lr{constructor(t,r,i,n,a,s,o){super(t,r,n);var l=document.createElement("div");l.__vueParent=Pb(this),this.$props=Ee({}),this.init(s),this.$app=uu(Uw(i,this.$props)),this.$app.mount(l),this.$=l.firstElementChild,o&&(this.$holder=this.$.querySelector(o)),te(s,"t")&&this.setText(s.t||""),s.a&&te(s.a,yi)&&fs(this.$,s.a[yi]),this.insert(n,a),Gl()}init(t){var{a:r,e:i,w:n}=t;r&&(this.setWxsProps(r),Object.keys(r).forEach(a=>{this.setAttr(a,r[a])})),te(t,"s")&&this.setAttr("style",t.s),i&&Object.keys(i).forEach(a=>{this.addEvent(a,i[a])}),n&&this.addWxsEvents(t.w)}setText(t){(this.$holder||this.$).textContent=t}addWxsEvent(t,r,i){this.$props[t]=Hu(this.$,r,i)}addEvent(t,r){this.$props[t]=Uu(this.id,r,ia(t)[1])}removeEvent(t){this.$props[t]=null}setAttr(t,r){if(t===yi)this.$&&fs(this.$,r);else if(t===Ro)this.$.__ownerId=r;else if(t===Po)Ot(()=>Lu(this,r),Au);else if(t===aa){var i=us(this.$||Ke(this.pid).$,r),n=this.$props.style;it(i)&&it(n)?Object.keys(i).forEach(a=>{n[a]=i[a]}):this.$props.style=i}else tn(t)?this.$.style.setProperty(t,r):(r=us(this.$||Ke(this.pid).$,r),this.wxsPropsInvoke(t,r,!0)||(this.$props[t]=r))}removeAttr(t){tn(t)?this.$.style.removeProperty(t):this.$props[t]=null}remove(){this.removeUniParent(),this.isUnmounted=!0,this.$app.unmount(),qf(this.id),this.removeUniChildren()}appendChild(t){return(this.$holder||this.$).appendChild(t)}insertBefore(t,r){return(this.$holder||this.$).insertBefore(t,r)}}class Kr extends _e{constructor(t,r,i,n,a,s,o){super(t,r,i,n,a,s,o)}getRebuildFn(){return this._rebuild||(this._rebuild=this.rebuild.bind(this)),this._rebuild}setText(t){return Ot(this.getRebuildFn(),is),super.setText(t)}appendChild(t){return Ot(this.getRebuildFn(),is),super.appendChild(t)}insertBefore(t,r){return Ot(this.getRebuildFn(),is),super.insertBefore(t,r)}rebuild(){var t=this.$.__vueParentComponent;t.rebuild&&t.rebuild()}}function Pb(e){for(;e&&e.pid>0;)if(e=Ke(e.pid),e){var{__vueParentComponent:t}=e.$;if(t)return t}return null}function Ts(e,t,r){e.childNodes.forEach(i=>{i instanceof Element?i.className.indexOf(t)===-1&&e.removeChild(i):e.removeChild(i)}),e.appendChild(document.createTextNode(r))}class Lb extends _e{constructor(t,r,i,n){super(t,"uni-ad",Rb,r,i,n)}}var wy="";class Nb extends _e{constructor(t,r,i,n){super(t,"uni-button",Jm,r,i,n)}}class fr extends lr{constructor(t,r,i,n){super(t,r,i);this.insert(i,n)}}class kb extends fr{constructor(t,r,i){super(t,"uni-camera",r,i)}}var yy="";class Bb extends _e{constructor(t,r,i,n){super(t,"uni-canvas",s0,r,i,n,"uni-canvas > div")}}var Sy="";class Db extends _e{constructor(t,r,i,n){super(t,"uni-checkbox",d0,r,i,n,".uni-checkbox-wrapper")}setText(t){Ts(this.$holder,"uni-checkbox-input",t)}}var xy="";class Fb extends _e{constructor(t,r,i,n){super(t,"uni-checkbox-group",f0,r,i,n)}}var Ty="",$b=0;function Uf(e,t,r){var{position:i,hidden:n,onParentReady:a}=Xr(e),s,o;a(l=>{var u=Q(()=>{var f={};for(var d in i){var y=i[d],x=parseFloat(y),E=parseFloat(l[d]);if(d==="top"||d==="left")y=Math.max(x,E)+"px";else if(d==="width"||d==="height"){var C=d==="width"?"left":"top",M=parseFloat(l[C]),W=parseFloat(i[C]),V=Math.max(M-W,0),q=Math.max(W+x-(M+E),0);y=Math.max(x-V-q,0)+"px"}f[d]=y}return f}),v=["borderRadius","borderColor","borderWidth","backgroundColor"],c=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],m=[],g={start:"left",end:"right"};function _(f){var d=getComputedStyle(e.value);return v.concat(c,m).forEach(y=>{f[y]=d[y]}),f}var b=Ee(_({})),w=null;o=function(){w&&cancelAnimationFrame(w),w=requestAnimationFrame(()=>{w=null,_(b)})},window.addEventListener("updateview",o);function p(){var f={};for(var d in f){var y=f[d];(d==="top"||d==="left")&&(y=Math.min(parseFloat(y)-parseFloat(l[d]),0)+"px"),f[d]=y}return f}var h=Q(()=>{var f=p(),d=[{tag:"rect",position:f,rectStyles:{color:b.backgroundColor,radius:b.borderRadius,borderColor:b.borderColor,borderWidth:b.borderWidth}}];if("src"in r)r.src&&d.push({tag:"img",position:f,src:r.src});else{var y=parseFloat(b.lineHeight)-parseFloat(b.fontSize),x=parseFloat(f.width)-parseFloat(b.paddingLeft)-parseFloat(b.paddingRight);x=x<0?0:x;var E=parseFloat(f.height)-parseFloat(b.paddingTop)-y/2-parseFloat(b.paddingBottom);E=E<0?0:E,d.push({tag:"font",position:{top:"".concat(parseFloat(f.top)+parseFloat(b.paddingTop)+y/2,"px"),left:"".concat(parseFloat(f.left)+parseFloat(b.paddingLeft),"px"),width:"".concat(x,"px"),height:"".concat(E,"px")},textStyles:{align:g[b.textAlign]||b.textAlign,color:b.color,decoration:"none",lineSpacing:"".concat(y,"px"),margin:"0px",overflow:b.textOverflow,size:b.fontSize,verticalAlign:"top",weight:b.fontWeight,whiteSpace:b.whiteSpace},text:r.text})}return d});s=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat($b++),u.value,h.value),plus.webview.currentWebview().append(s),n.value&&s.hide(),s.addEventListener("click",()=>{t("click",{},{})}),U(()=>n.value,f=>{s[f?"hide":"show"]()}),U(()=>u.value,f=>{s.setStyle(f)},{deep:!0}),U(()=>h.value,()=>{s.reset(),s.draw(h.value)},{deep:!0})}),xe(()=>{s&&s.close(),o&&window.removeEventListener("updateview",o)})}var Wb="_doc/uniapp_temp/",Ub={src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}};function Vb(e,t,r){var i=$(""),n;function a(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var o=e.src?et(e.src):"";o.indexOf("http://")===0||o.indexOf("https://")===0?(n=plus.downloader.createDownload(o,{filename:Wb+"/download/"},(l,u)=>{u===200?s(l.filename):r("error",{},{errMsg:"error"})}),n.start()):o&&s(o)}function s(o){t.src=o,plus.io.getImageInfo({src:o,success:l=>{var{width:u,height:v}=l;e.autoSize&&(i.value="width:".concat(u,"px;height:").concat(v,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),r("load",{},{width:u,height:v})},fail:()=>{r("error",{},{errMsg:"error"})}})}return e.src&&a(),U(()=>e.src,a),xe(()=>{n&&n.abort()}),i}var Vf=de({name:"CoverImage",props:Ub,emits:["click","load","error"],setup(e,t){var{emit:r}=t,i=$(null),n=Me(i,r),a=Ee({src:""}),s=Vb(e,a,n);return Uf(i,n,a),()=>I("uni-cover-image",{ref:i,style:s.value},[I("div",{class:"uni-cover-image"},null)],4)}});class Hb extends _e{constructor(t,r,i,n){super(t,"uni-cover-image",Vf,r,i,n)}}var Ey="",jb=de({name:"CoverView",emits:["click"],setup(e,t){var{emit:r}=t,i=$(null),n=$(null),a=Me(i,r),s=Ee({text:""});return Uf(i,a,s),jr(()=>{var o=n.value.childNodes[0];s.text=o&&o instanceof Text?o.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))}),()=>I("uni-cover-view",{ref:i},[I("div",{ref:n,class:"uni-cover-view"},null,512)],512)}});class zb extends Kr{constructor(t,r,i,n){super(t,"uni-cover-view",jb,r,i,n,".uni-cover-view")}}var Cy="";class Yb extends _e{constructor(t,r,i,n){super(t,"uni-editor",F0,r,i,n)}}var Oy="";class qb extends _e{constructor(t,r,i,n){super(t,"uni-form",qm,r,i,n,"span")}}class Xb extends fr{constructor(t,r,i){super(t,"uni-functional-page-navigator",r,i)}}var Iy="";class Kb extends _e{constructor(t,r,i,n){super(t,"uni-icon",V0,r,i,n)}}var My="";class Gb extends _e{constructor(t,r,i,n){super(t,"uni-image",z0,r,i,n)}}var Ay="";class Zb extends _e{constructor(t,r,i,n){super(t,"uni-input",c_,r,i,n)}}var Ry="";class Jb extends _e{constructor(t,r,i,n){super(t,"uni-label",Gm,r,i,n)}}class Qb extends fr{constructor(t,r,i){super(t,"uni-live-player",r,i)}}class ew extends fr{constructor(t,r,i){super(t,"uni-live-pusher",r,i)}}var Py="",tw=(e,t,r)=>{r({coord:{latitude:t,longitude:e}})};function Es(e){if(e.indexOf("#")!==0)return{color:e,opacity:1};var t=e.substr(7,2);return{color:e.substr(0,7),opacity:t?Number("0x"+t)/255:1}}var rw={id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:16},markers:{type:Array,default(){return[]}},polyline:{type:Array,default(){return[]}},circles:{type:Array,default(){return[]}},controls:{type:Array,default(){return[]}}},iw=de({name:"Map",props:rw,emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,t){var{emit:r}=t,i=$(null),n=Me(i,r),a=$(null),s=xs(e,["id"]),{position:o,hidden:l,onParentReady:u}=Xr(a),v,{_addMarkers:c,_addMapLines:m,_addMapCircles:g,_setMap:_}=nw(e,n);u(()=>{v=ce(plus.maps.create(Ct()+"-map-"+(e.id||Date.now()),Object.assign({},s.value,o,(()=>{if(e.latitude&&e.longitude)return{center:new plus.maps.Point(Number(e.longitude),Number(e.latitude))}})())),{__markers__:[],__lines__:[],__circles__:[]}),v.setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(v),l.value&&v.hide(),v.onclick=w=>{n("click",{},w)},v.onstatuschanged=w=>{n("regionchange",{},{})},_(v),c(e.markers),m(e.polyline),g(e.circles),U(()=>s.value,w=>v&&v.setStyles(w),{deep:!0}),U(()=>o,w=>v&&v.setStyles(w),{deep:!0}),U(l,w=>{v&&v[w?"hide":"show"]()}),U(()=>e.scale,w=>{v&&v.setZoom(parseInt(String(w)))}),U([()=>e.latitude,()=>e.longitude],w=>{var[p,h]=w;v&&v.setStyles({center:new plus.maps.Point(Number(p),Number(h))})}),U(()=>e.markers,w=>{c(w,!0)},{deep:!0}),U(()=>e.polyline,w=>{m(w)},{deep:!0}),U(()=>e.circles,w=>{g(w)},{deep:!0})});var b=Q(()=>e.controls.map(w=>{var p={position:"absolute"};return["top","left","width","height"].forEach(h=>{w.position[h]&&(p[h]=w.position[h]+"px")}),{id:w.id,iconPath:et(w.iconPath),position:p,clickable:w.clickable}}));return xe(()=>{v&&(v.close(),_(null))}),()=>I("uni-map",{ref:i,id:e.id},[I("div",{ref:a,class:"uni-map-container"},null,512),b.value.map((w,p)=>I(Vf,{key:p,src:w.iconPath,style:w.position,"auto-size":!0,onClick:()=>w.clickable&&n("controltap",{},{controlId:w.id})},null,8,["src","style","auto-size","onClick"])),I("div",{class:"uni-map-slot"},null)],8,["id"])}});function nw(e,t){var r;function i(g){var{longitude:_,latitude:b}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!r||(r.setCenter(new plus.maps.Point(Number(_||e.longitude),Number(b||e.latitude))),g({errMsg:"moveToLocation:ok"}))}function n(g){!r||r.getCurrentCenter((_,b)=>{g({longitude:b.getLng(),latitude:b.getLat(),errMsg:"getCenterLocation:ok"})})}function a(g){if(!!r){var _=r.getBounds();g({southwest:_.getSouthWest(),northeast:_.getNorthEast(),errMsg:"getRegion:ok"})}}function s(g){!r||g({scale:r.getZoom(),errMsg:"getScale:ok"})}function o(g){if(!!r){var{id:_,latitude:b,longitude:w,iconPath:p,callout:h,label:f}=g;tw(w,b,d=>{var y,{latitude:x,longitude:E}=d.coord,C=new plus.maps.Marker(new plus.maps.Point(E,x));p&&C.setIcon(et(p)),f&&f.content&&C.setLabel(f.content);var M=void 0;h&&h.content&&(M=new plus.maps.Bubble(h.content)),M&&C.setBubble(M),(_||_===0)&&(C.onclick=W=>{t("markertap",{},{markerId:_})},M&&(M.onclick=()=>{t("callouttap",{},{markerId:_})})),(y=r)===null||y===void 0||y.addOverlay(C),r.__markers__.push(C)})}}function l(){if(!!r){var g=r.__markers__;g.forEach(_=>{var b;(b=r)===null||b===void 0||b.removeOverlay(_)}),r.__markers__=[]}}function u(g,_){_&&l(),g.forEach(b=>{o(b)})}function v(g){!r||(r.__lines__.length>0&&(r.__lines__.forEach(_=>{var b;(b=r)===null||b===void 0||b.removeOverlay(_)}),r.__lines__=[]),g.forEach(_=>{var b,{color:w,width:p}=_,h=_.points.map(y=>new plus.maps.Point(y.longitude,y.latitude)),f=new plus.maps.Polyline(h);if(w){var d=Es(w);f.setStrokeColor(d.color),f.setStrokeOpacity(d.opacity)}p&&f.setLineWidth(p),(b=r)===null||b===void 0||b.addOverlay(f),r.__lines__.push(f)}))}function c(g){!r||(r.__circles__.length>0&&(r.__circles__.forEach(_=>{var b;(b=r)===null||b===void 0||b.removeOverlay(_)}),r.__circles__=[]),g.forEach(_=>{var b,{latitude:w,longitude:p,color:h,fillColor:f,radius:d,strokeWidth:y}=_,x=new plus.maps.Circle(new plus.maps.Point(p,w),d);if(h){var E=Es(h);x.setStrokeColor(E.color),x.setStrokeOpacity(E.opacity)}if(f){var C=Es(f);x.setFillColor(C.color),x.setFillOpacity(C.opacity)}y&&x.setLineWidth(y),(b=r)===null||b===void 0||b.addOverlay(x),r.__circles__.push(x)}))}var m={moveToLocation:i,getCenterLocation:n,getRegion:a,getScale:s};return pn((g,_,b)=>{m[g]&&m[g](b,_)},mn(),!0),{_addMarkers:u,_addMapLines:v,_addMapCircles:c,_setMap(g){r=g}}}class aw extends _e{constructor(t,r,i,n){super(t,"uni-map",iw,r,i,n,".uni-map-slot")}}var Ly="";class sw extends Kr{constructor(t,r,i,n){super(t,"uni-movable-area",p_,r,i,n)}}var Ny="";class ow extends _e{constructor(t,r,i,n){super(t,"uni-movable-view",b_,r,i,n)}}var ky="";class lw extends _e{constructor(t,r,i,n){super(t,"uni-navigator",x_,r,i,n)}}class uw extends fr{constructor(t,r,i){super(t,"uni-official-account",r,i)}}class fw extends fr{constructor(t,r,i){super(t,"uni-open-data",r,i)}}var qt,Hf,cr;function jf(){return typeof window=="object"&&typeof navigator=="object"&&typeof document=="object"?"webview":"v8"}function zf(){return qt.webview.currentWebview().id}var _n,Cs,Os={};function Is(e){var t=e.data&&e.data.__message;if(!(!t||!t.__page)){var r=t.__page,i=Os[r];i&&i(t),t.keep||delete Os[r]}}function cw(e,t){jf()==="v8"?cr?(_n&&_n.close(),_n=new cr(zf()),_n.onmessage=Is):Cs||(Cs=Hf.requireModule("globalEvent"),Cs.addEventListener("plusMessage",Is)):window.__plusMessage=Is,Os[e]=t}class vw{constructor(t){this.webview=t}sendMessage(t){var r=JSON.parse(JSON.stringify({__message:{data:t}})),i=this.webview.id;if(cr){var n=new cr(i);n.postMessage(r)}else qt.webview.postMessageToUniNView&&qt.webview.postMessageToUniNView(r,i)}close(){this.webview.close()}}function dw(e){var{context:t={},url:r,data:i={},style:n={},onMessage:a,onClose:s}=e;qt=t.plus||plus,Hf=t.weex||(typeof weex=="object"?weex:null),cr=t.BroadcastChannel||(typeof BroadcastChannel=="object"?BroadcastChannel:null);var o={autoBackButton:!0,titleSize:"17px"},l="page".concat(Date.now());n=ce({},n),n.titleNView!==!1&&n.titleNView!=="none"&&(n.titleNView=ce(o,n.titleNView));var u={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"".concat(typeof process=="object"&&process.env&&{}.VUE_APP_TEMPLATE_PATH||"","/").concat(r,".js"),defaultFontSize:qt.screen.resolutionWidth/20,viewport:qt.screen.resolutionWidth}};n=ce(u,n);var v=qt.webview.create("",l,n,{extras:{from:zf(),runtime:jf(),data:i,useGlobalEvent:!cr}});return v.addEventListener("close",s),cw(l,c=>{typeof a=="function"&&a(c.data),c.keep||v.close("auto")}),v.show(n.animationType,n.animationDuration),new vw(v)}var Te={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},vr={YEAR:"year",MONTH:"month",DAY:"day"};function bn(e){return e>9?e:"0".concat(e)}function wn(e,t){e=String(e||"");var r=new Date;if(t===Te.TIME){var i=e.split(":");i.length===2&&r.setHours(parseInt(i[0]),parseInt(i[1]))}else{var n=e.split("-");n.length===3&&r.setFullYear(parseInt(n[0]),parseInt(String(parseFloat(n[1])-1)),parseInt(n[2]))}return r}function hw(e){if(e.mode===Te.TIME)return"00:00";if(e.mode===Te.DATE){var t=new Date().getFullYear()-100;switch(e.fields){case vr.YEAR:return t;case vr.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function gw(e){if(e.mode===Te.TIME)return"23:59";if(e.mode===Te.DATE){var t=new Date().getFullYear()+100;switch(e.fields){case vr.YEAR:return t;case vr.MONTH:return t+"-12";default:return t+"-12-31"}}return""}var pw={name:{type:String,default:""},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Te.SELECTOR,validator(e){return Object.values(Te).indexOf(e)>=0}},fields:{type:String,default:""},start:{type:String,default:hw},end:{type:String,default:gw},disabled:{type:[Boolean,String],default:!1}},mw=de({name:"Picker",props:pw,emits:["change","cancel","columnchange"],setup(e,t){var{emit:r}=t;Vd();var{t:i,getLocale:n}=He(),a=$(null),s=Me(a,r),o=$(null),l=$(null),u=()=>{var p=e.value;switch(e.mode){case Te.MULTISELECTOR:{Array.isArray(p)||(p=[]),Array.isArray(o.value)||(o.value=[]);for(var h=o.value.length=Math.max(p.length,e.range.length),f=0;f{l.value&&l.value.sendMessage(p)},c=p=>{var h={event:"cancel"};l.value=dw({url:"__uniapppicker",data:p,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:f=>{var d=f.event;if(d==="created"){v(p);return}if(d==="columnchange"){delete f.event,s(d,{},f);return}h=f},onClose:()=>{l.value=null;var f=h.event;delete h.event,f&&s(f,{},h)}})},m=(p,h)=>{plus.nativeUI[e.mode===Te.TIME?"pickTime":"pickDate"](f=>{var d=f.date;s("change",{},{value:e.mode===Te.TIME?"".concat(bn(d.getHours()),":").concat(bn(d.getMinutes())):"".concat(d.getFullYear(),"-").concat(bn(d.getMonth()+1),"-").concat(bn(d.getDate()))})},()=>{s("cancel",{},{})},e.mode===Te.TIME?{time:wn(e.value,Te.TIME),popover:h}:{date:wn(e.value,Te.DATE),minDate:wn(e.start,Te.DATE),maxDate:wn(e.end,Te.DATE),popover:h})},g=(p,h)=>{(p.mode===Te.TIME||p.mode===Te.DATE)&&!p.fields?m(p,h):(p.fields=Object.values(vr).includes(p.fields)?p.fields:vr.DAY,c(p))},_=p=>{if(!e.disabled){var h=p.currentTarget,f=h.getBoundingClientRect();g(Object.assign({},e,{value:o.value,locale:n(),messages:{done:i("uni.picker.done"),cancel:i("uni.picker.cancel")}}),{top:f.top+$f(),left:f.left,width:f.width,height:f.height})}},b=pe(ut,!1),w={submit:()=>[e.name,o.value],reset:()=>{switch(e.mode){case Te.SELECTOR:o.value=0;break;case Te.MULTISELECTOR:Array.isArray(e.value)&&(o.value=e.value.map(p=>0));break;case Te.DATE:case Te.TIME:o.value="";break}}};return b&&(b.addField(w),xe(()=>b.removeField(w))),Object.keys(e).forEach(p=>{p!=="name"&&U(()=>e[p],h=>{var f={};f[p]=h,v(f)},{deep:!0})}),U(()=>e.value,u,{deep:!0}),u(),()=>I("uni-picker",{ref:a,onClick:_},[I("slot",null,null)],8,["onClick"])}});class _w extends _e{constructor(t,r,i,n){super(t,"uni-picker",mw,r,i,n)}}var By="";class bw extends Kr{constructor(t,r,i,n){super(t,"uni-picker-view",C_,r,i,n,".uni-picker-view-wrapper")}}var Dy="";class ww extends Kr{constructor(t,r,i,n){super(t,"uni-picker-view-column",N_,r,i,n,".uni-picker-view-content")}}var Fy="";class yw extends _e{constructor(t,r,i,n){super(t,"uni-progress",B_,r,i,n)}}var $y="";class Sw extends _e{constructor(t,r,i,n){super(t,"uni-radio",V_,r,i,n,".uni-radio-wrapper")}setText(t){Ts(this.$holder,"uni-radio-input",t)}}var Wy="";class xw extends _e{constructor(t,r,i,n){super(t,"uni-radio-group",$_,r,i,n)}}var Uy="";class Tw extends _e{constructor(t,r,i,n){super(t,"uni-rich-text",Z_,r,i,n)}}var Vy="";class Ew extends _e{constructor(t,r,i,n){super(t,"uni-scroll-view",Q_,r,i,n,".uni-scroll-view-content")}setText(t){Ts(this.$holder,"uni-scroll-view-refresher",t)}}var Hy="";class Cw extends _e{constructor(t,r,i,n){super(t,"uni-slider",ib,r,i,n)}}var jy="";class Ow extends Kr{constructor(t,r,i,n){super(t,"uni-swiper",fb,r,i,n,".uni-swiper-slide-frame")}}var zy="";class Iw extends _e{constructor(t,r,i,n){super(t,"uni-swiper-item",vb,r,i,n)}}var Yy="";class Mw extends _e{constructor(t,r,i,n){super(t,"uni-switch",hb,r,i,n)}}var qy="";class Aw extends _e{constructor(t,r,i,n){super(t,"uni-textarea",wb,r,i,n)}}var Xy="",Rw={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default(){return[]}},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},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(){return{}}},advanced:{type:Array,default(){return[]}}},Yf=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],Pw=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"],Lw=de({name:"Video",props:Rw,emits:Yf,setup(e,t){var{emit:r}=t,i=$(null),n=Me(i,r),a=$(null),s=xs(e,["id"]),{position:o,hidden:l,onParentReady:u}=Xr(a),v;u(()=>{v=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},s.value,o)),plus.webview.currentWebview().append(v),l.value&&v.hide(),Yf.forEach(m=>{v.addEventListener(m,g=>{n(m,{},g.detail)})}),U(()=>s.value,m=>v.setStyles(m),{deep:!0}),U(()=>o,m=>v.setStyles(m),{deep:!0}),U(()=>l.value,m=>{v[m?"hide":"show"](),m||v.setStyles(o)})});var c=mn();return pn((m,g)=>{if(Pw.includes(m)){var _;switch(m){case"seek":_=g.position;break;case"sendDanmu":_=g;break;case"playbackRate":_=g.rate;break;case"requestFullScreen":_=g.direction;break}v&&v[m](_)}},c,!0),xe(()=>{v&&v.close()}),()=>I("uni-video",{ref:i,id:e.id},[I("div",{ref:a,class:"uni-video-container"},null,512),I("div",{class:"uni-video-slot"},null)],8,["id"])}});class Nw extends _e{constructor(t,r,i,n){super(t,"uni-video",Lw,r,i,n,".uni-video-slot")}}var Ky="",kw={src:{type:String,default:""},webviewStyles:{type:Object,default(){return{}}}},Xe,Bw=e=>{var{htmlId:t,src:r,webviewStyles:i}=e,n=plus.webview.currentWebview(),a=ce(i,{"uni-app":"none",isUniH5:!0}),s=n.getTitleNView();if(s){var o=Co+parseFloat(a.top||"0");plus.navigator.isImmersedStatusbar()&&(o+=Ff()),a.top=String(o),a.bottom=a.bottom||"0"}Xe=plus.webview.create(r,t,a),s&&Xe.addEventListener("titleUpdate",function(){var l,u=(l=Xe)===null||l===void 0?void 0:l.getTitle();n.setStyle({titleNView:{titleText:!u||u==="null"?" ":u}})}),plus.webview.currentWebview().append(Xe)},Dw=()=>{var e;plus.webview.currentWebview().remove(Xe),(e=Xe)===null||e===void 0||e.close("none"),Xe=null},Fw=de({name:"WebView",props:kw,setup(e){var t=Ct(),r=$(null),{hidden:i,onParentReady:n}=Xr(r),a=Q(()=>e.webviewStyles);return n(()=>{var s,o=$(Wp+t);Bw({htmlId:o.value,src:et(e.src),webviewStyles:a.value}),UniViewJSBridge.publishHandler(Fp,{},t),i.value&&((s=Xe)===null||s===void 0||s.hide())}),xe(()=>{Dw(),UniViewJSBridge.publishHandler($p,{},t)}),U(()=>e.src,s=>{var o,l=et(s)||"";if(!!l){if(/^(http|https):\/\//.test(l)&&e.webviewStyles.progress){var u;(u=Xe)===null||u===void 0||u.setStyle({progress:{color:e.webviewStyles.progress.color}})}(o=Xe)===null||o===void 0||o.loadURL(l)}}),U(a,s=>{var o;(o=Xe)===null||o===void 0||o.setStyle(s)}),U(i,s=>{Xe&&Xe[s?"hide":"show"]()}),()=>I("uni-web-view",{ref:r},null,512)}});class $w extends _e{constructor(t,r,i,n){super(t,"uni-web-view",Fw,r,i,n)}}var Ww={"#text":Eb,"#comment":Wm,VIEW:Mb,IMAGE:Gb,TEXT:Tb,NAVIGATOR:lw,FORM:qb,BUTTON:Nb,INPUT:Zb,LABEL:Jb,RADIO:Sw,CHECKBOX:Db,"CHECKBOX-GROUP":Fb,AD:Lb,CAMERA:kb,CANVAS:Bb,"COVER-IMAGE":Hb,"COVER-VIEW":zb,EDITOR:Yb,"FUNCTIONAL-PAGE-NAVIGATOR":Xb,ICON:Kb,"RADIO-GROUP":xw,"LIVE-PLAYER":Qb,"LIVE-PUSHER":ew,MAP:aw,"MOVABLE-AREA":sw,"MOVABLE-VIEW":ow,"OFFICIAL-ACCOUNT":uw,"OPEN-DATA":fw,PICKER:_w,"PICKER-VIEW":bw,"PICKER-VIEW-COLUMN":ww,PROGRESS:yw,"RICH-TEXT":Tw,"SCROLL-VIEW":Ew,SLIDER:Cw,SWIPER:Ow,"SWIPER-ITEM":Iw,SWITCH:Mw,TEXTAREA:Aw,VIDEO:Nw,"WEB-VIEW":$w};function Uw(e,t){return()=>$g(e,t)}var yn=new Map;function Ke(e){return yn.get(e)}function Vw(e){return yn.get(e)}function qf(e){return yn.delete(e)}function Xf(e,t,r,i){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},a;if(e===0)a=new lr(e,t,r,document.createElement(t));else{var s=Ww[t];s?a=new s(e,r,i,n):a=new ju(e,document.createElement(t),r,i,n)}return yn.set(e,a),a}var Ms=[],Kf=!1;function Gf(e){if(Kf)return e();Ms.push(e)}function As(){Kf=!0,Ms.forEach(e=>e()),Ms.length=0}function Hw(){}function Zf(e){var{css:t,route:r,platform:i,pixelRatio:n,windowWidth:a,disableScroll:s,statusbarHeight:o,windowTop:l,windowBottom:u}=e;jw(r),zw(i,n,a),Yw();var v=plus.webview.currentWebview().id;window.__id__=v,document.title="".concat(r,"[").concat(v,"]"),Xw(o,l,u),s&&document.addEventListener("touchmove",Mp),t?qw(r):As()}function jw(e){window.__PAGE_INFO__={route:e}}function zw(e,t,r){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:r}}function Yw(){Xf(0,"div",-1,-1).$=document.getElementById("app")}function qw(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=As,t.onerror=As,document.head.appendChild(t)}function Xw(e,t,r){var i={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":r+"px","--status-bar-height":e+"px"};_p(i)}var Jf=!1;function Kw(e){if(!Jf){Jf=!0;var t={onReachBottomDistance:e,onPageScroll(r){UniViewJSBridge.publishHandler(ed,{scrollTop:r})},onReachBottom(){UniViewJSBridge.publishHandler(td)}};requestAnimationFrame(()=>document.addEventListener("scroll",Ap(t)))}}function Gw(e,t){var{scrollTop:r,selector:i,duration:n}=e;nd(i||r||0,n),t()}function Zw(e){var t=e[0];t[0]===Lo?Jw(t):Gf(()=>Qw(e))}function Jw(e){return Zf(e[1])}function Qw(e){var t=e[0],r=wm(t[0]===Dp?t[1]:[]);e.forEach(i=>{switch(i[0]){case Lo:return Zf(i[1]);case vd:return Hw();case dd:return Xf(i[1],r(i[2]),i[3],i[4],ym(r,i[5]));case hd:return Ke(i[1]).remove();case gd:return Ke(i[1]).setAttr(r(i[2]),r(i[3]));case pd:return Ke(i[1]).removeAttr(r(i[2]));case md:return Ke(i[1]).addEvent(r(i[2]),i[3]);case wd:return Ke(i[1]).addWxsEvent(r(i[2]),r(i[3]),i[4]);case _d:return Ke(i[1]).removeEvent(r(i[2]));case bd:return Ke(i[1]).setText(r(i[2]));case yd:return Kw(i[1])}}),Em()}function ey(){var{subscribe:e}=UniViewJSBridge;e(bu,Zw),e(Up,He().setLocale),e(wu,ty)}function ty(){UniViewJSBridge.publishHandler("webviewReady")}function Qf(e){return window.__$__(e).$}function ry(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 r=document.documentElement,i=document.body;t.scrollLeft=r.scrollLeft||i.scrollLeft||0,t.scrollTop=r.scrollTop||i.scrollTop||0,t.scrollHeight=r.scrollHeight||i.scrollHeight||0,t.scrollWidth=r.scrollWidth||i.scrollWidth||0}return t}function Rs(e,t){var r={},{top:i}=mp();if(t.id&&(r.id=e.id),t.dataset&&(r.dataset=ea(e)),t.rect||t.size){var n=e.getBoundingClientRect();t.rect&&(r.left=n.left,r.right=n.right,r.top=n.top-i,r.bottom=n.bottom-i),t.size&&(r.width=n.width,r.height=n.height)}if(Array.isArray(t.properties)&&t.properties.forEach(o=>{o=o.replace(/-([a-z])/g,function(l,u){return u.toUpperCase()})}),t.scrollOffset)if(e.tagName==="UNI-SCROLL-VIEW"){var a=e.children[0].children[0];r.scrollLeft=a.scrollLeft,r.scrollTop=a.scrollTop,r.scrollHeight=a.scrollHeight,r.scrollWidth=a.scrollWidth}else r.scrollLeft=0,r.scrollTop=0,r.scrollHeight=0,r.scrollWidth=0;if(Array.isArray(t.computedStyle)){var s=getComputedStyle(e);t.computedStyle.forEach(o=>{r[o]=s[o]})}return t.context&&(r.contextInfo=Sb(e)),r}function iy(e,t){return e?window.__$__(e).$:t.$el}function ec(e,t){var r=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(i){for(var n=this.parentElement.querySelectorAll(i),a=n.length;--a>=0&&n.item(a)!==this;);return a>-1};return r.call(e,t)}function ny(e,t,r,i,n){var a=iy(t,e),s=a.parentElement;if(!s)return i?null:[];var{nodeType:o}=a,l=o===3||o===8;if(i){var u=l?s.querySelector(r):ec(a,r)?a:a.querySelector(r);return u?Rs(u,n):null}else{var v=[],c=(l?s:a).querySelectorAll(r);return c&&c.length&&[].forEach.call(c,m=>{v.push(Rs(m,n))}),!l&&ec(a,r)&&v.unshift(Rs(a,n)),v}}function ay(e,t,r){var i=[];t.forEach(n=>{var{component:a,selector:s,single:o,fields:l}=n;a===null?i.push(ry(l)):i.push(ny(e,a,s,o,l))}),r(i)}function sy(e,t){var{pageStyle:r,rootFontSize:i}=t;if(r){var n=document.querySelector("uni-page-body")||document.body;n.setAttribute("style",r)}i&&document.documentElement.style.fontSize!==i&&(document.documentElement.style.fontSize=i)}function oy(e,t){var{reqId:r,component:i,options:n,callback:a}=e,s=Qf(i);(s.__io||(s.__io={}))[r]=vm(s,n,a)}function ly(e,t){var{reqId:r,component:i}=e,n=Qf(i),a=n.__io&&n.__io[r];a&&(a.disconnect(),delete n.__io[r])}var Ps={},Ls={};function uy(e){var t=[],r=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"];for(var i of r)i!=="orientation"&&e[i]&&Number(e[i]>=0)&&t.push("(".concat(tc(i),": ").concat(Number(e[i]),"px)")),i==="orientation"&&e[i]&&t.push("(".concat(tc(i),": ").concat(e[i],")"));var n=t.join(" and ");return n}function tc(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function fy(e,t){var{reqId:r,component:i,options:n,callback:a}=e,s=Ps[r]=window.matchMedia(uy(n)),o=Ls[r]=l=>a(l.matches);o(s),s.addListener(o)}function cy(e,t){var{reqId:r,component:i}=e,n=Ls[r],a=Ps[r];a&&(a.removeListener(n),delete Ls[r],delete Ps[r])}function vy(e,t){var{family:r,source:i,desc:n}=e;id(r,i,n).then(()=>{t()}).catch(a=>{t(a.toString())})}var dy={$el:document.body};function hy(){var e=Ct();qd(e,t=>function(){for(var r=arguments.length,i=new Array(r),n=0;n{t.apply(null,i)})}),at(e,"requestComponentInfo",(t,r)=>{ay(dy,t.reqs,r)}),at(e,"addIntersectionObserver",t=>{oy(ce({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),at(e,"removeIntersectionObserver",t=>{ly(t)}),at(e,"addMediaQueryObserver",t=>{fy(ce({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),at(e,"removeMediaQueryObserver",t=>{cy(t)}),at(e,um,Gw),at(e,lm,vy),at(e,om,t=>{sy(null,t)})}window.uni=_m,window.UniViewJSBridge=yu,window.rpx2px=Ou,window.__$__=Ke,window.__f__=ld;function rc(){rh(),hy(),ey(),bm(),yu.publishHandler(wu)}typeof plus!="undefined"?rc():document.addEventListener("plusready",rc)}); diff --git a/packages/uni-app-plus/src/view/framework/dom/components/UniComponent.ts b/packages/uni-app-plus/src/view/framework/dom/components/UniComponent.ts index ead066f3d..7db0d2f3c 100644 --- a/packages/uni-app-plus/src/view/framework/dom/components/UniComponent.ts +++ b/packages/uni-app-plus/src/view/framework/dom/components/UniComponent.ts @@ -26,7 +26,7 @@ import { JOB_PRIORITY_RENDERJS, queuePostActionJob, } from '../scheduler' -import { decodeAttr } from '../utils' +import { decodeAttr, isCssVar } from '../utils' import { patchVShow, VShowElement } from '../directives/vShow' import { initRenderjs } from '../renderjs' @@ -128,6 +128,8 @@ export class UniComponent extends UniNode { } else { this.$props.style = newStyle } + } else if (isCssVar(name)) { + this.$.style.setProperty(name, value as string) } else { value = decodeAttr(this.$ || $(this.pid).$, value) if (!this.wxsPropsInvoke(name, value, true)) { @@ -136,7 +138,11 @@ export class UniComponent extends UniNode { } } removeAttr(name: string) { - this.$props[name] = null + if (isCssVar(name)) { + this.$.style.removeProperty(name) + } else { + this.$props[name] = null + } } remove() { diff --git a/packages/uni-app-plus/src/view/framework/dom/elements/UniElement.ts b/packages/uni-app-plus/src/view/framework/dom/elements/UniElement.ts index b58879ebf..67ba3cf80 100644 --- a/packages/uni-app-plus/src/view/framework/dom/elements/UniElement.ts +++ b/packages/uni-app-plus/src/view/framework/dom/elements/UniElement.ts @@ -20,7 +20,7 @@ import { JOB_PRIORITY_UPDATE, queuePostActionJob, } from '../scheduler' -import { decodeAttr } from '../utils' +import { decodeAttr, isCssVar } from '../utils' import { patchVShow, VShowElement } from '../directives/vShow' import { initRenderjs } from '../renderjs' @@ -131,6 +131,8 @@ export class UniElement extends UniNode { value = decodeAttr(this.$, value) if (this.$propNames.indexOf(name) !== -1) { ;(this.$props as any)[name] = value + } else if (isCssVar(name)) { + this.$.style.setProperty(name, value as string) } else { if (!this.wxsPropsInvoke(name, value)) { this.$.setAttribute(name, value as string) @@ -140,6 +142,8 @@ export class UniElement extends UniNode { removeAttribute(name: string) { if (this.$propNames.indexOf(name) !== -1) { delete (this.$props as any)[name] + } else if (isCssVar(name)) { + this.$.style.removeProperty(name) } else { this.$.removeAttribute(name) } diff --git a/packages/uni-app-plus/src/view/framework/dom/utils.ts b/packages/uni-app-plus/src/view/framework/dom/utils.ts index 036ecc4c3..58a259b83 100644 --- a/packages/uni-app-plus/src/view/framework/dom/utils.ts +++ b/packages/uni-app-plus/src/view/framework/dom/utils.ts @@ -16,3 +16,7 @@ export function decodeAttr(el: UniCustomElement, value: unknown) { } return value } + +export function isCssVar(name: string) { + return name.indexOf('--') === 0 +} diff --git a/packages/uni-app-vue/dist/service.runtime.esm.dev.js b/packages/uni-app-vue/dist/service.runtime.esm.dev.js index ddb071dfc..24221859d 100644 --- a/packages/uni-app-vue/dist/service.runtime.esm.dev.js +++ b/packages/uni-app-vue/dist/service.runtime.esm.dev.js @@ -11992,13 +11992,28 @@ export default function vueFactory(exports) { if (vnode.shapeFlag & 1 /* ELEMENT */ && vnode.el) { - var style = vnode.el.style; + setVarsOnNode(vnode.el, vars); + } else if (vnode.type === Fragment) { + vnode.children.forEach(c => setVarsOnVNode(c, vars)); + } else if (vnode.type === Static) { + var { + el, + anchor + } = vnode; + while (el) { + setVarsOnNode(el, vars); + if (el === anchor) break; + el = el.nextSibling; + } + } + } + + function setVarsOnNode(el, vars) { + if (el.nodeType === 1) { for (var key in vars) { - style.setProperty("--".concat(key), vars[key]); + el.setAttribute("--".concat(key), vars[key]); } - } else if (vnode.type === Fragment) { - vnode.children.forEach(c => setVarsOnVNode(c, vars)); } } diff --git a/packages/uni-app-vue/dist/service.runtime.esm.prod.js b/packages/uni-app-vue/dist/service.runtime.esm.prod.js index f1f6eee35..968160c8b 100644 --- a/packages/uni-app-vue/dist/service.runtime.esm.prod.js +++ b/packages/uni-app-vue/dist/service.runtime.esm.prod.js @@ -10134,13 +10134,28 @@ export default function vueFactory(exports) { if (vnode.shapeFlag & 1 /* ELEMENT */ && vnode.el) { - var style = vnode.el.style; + setVarsOnNode(vnode.el, vars); + } else if (vnode.type === Fragment) { + vnode.children.forEach(c => setVarsOnVNode(c, vars)); + } else if (vnode.type === Static) { + var { + el, + anchor + } = vnode; + while (el) { + setVarsOnNode(el, vars); + if (el === anchor) break; + el = el.nextSibling; + } + } + } + + function setVarsOnNode(el, vars) { + if (el.nodeType === 1) { for (var key in vars) { - style.setProperty("--".concat(key), vars[key]); + el.setAttribute("--".concat(key), vars[key]); } - } else if (vnode.type === Fragment) { - vnode.children.forEach(c => setVarsOnVNode(c, vars)); } } diff --git a/packages/uni-app-vue/lib/service.runtime.esm.js b/packages/uni-app-vue/lib/service.runtime.esm.js index cd3f202a9..94ada7758 100644 --- a/packages/uni-app-vue/lib/service.runtime.esm.js +++ b/packages/uni-app-vue/lib/service.runtime.esm.js @@ -9410,14 +9410,27 @@ function setVarsOnVNode(vnode, vars) { vnode = vnode.component.subTree; } if (vnode.shapeFlag & 1 /* ELEMENT */ && vnode.el) { - const style = vnode.el.style; - for (const key in vars) { - style.setProperty(`--${key}`, vars[key]); - } + setVarsOnNode(vnode.el, vars); } else if (vnode.type === Fragment) { vnode.children.forEach(c => setVarsOnVNode(c, vars)); } + else if (vnode.type === Static) { + let { el, anchor } = vnode; + while (el) { + setVarsOnNode(el, vars); + if (el === anchor) + break; + el = el.nextSibling; + } + } +} +function setVarsOnNode(el, vars) { + if (el.nodeType === 1) { + for (const key in vars) { + el.setAttribute(`--${key}`, vars[key]); + } + } } const TRANSITION = 'transition'; diff --git a/packages/uni-cli-shared/package.json b/packages/uni-cli-shared/package.json index 58ae90a09..0e64e169b 100644 --- a/packages/uni-cli-shared/package.json +++ b/packages/uni-cli-shared/package.json @@ -43,6 +43,7 @@ "module-alias": "^2.2.2", "postcss-import": "^14.0.2", "postcss-load-config": "^3.1.0", + "postcss-modules": "^4.2.2", "postcss-selector-parser": "^6.0.6", "resolve": "^1.20.0", "rollup-plugin-copy": "^3.4.0", diff --git a/packages/uni-cli-shared/src/vite/plugins/vitejs/plugins/css.ts b/packages/uni-cli-shared/src/vite/plugins/vitejs/plugins/css.ts index 72c7616dc..52884f36f 100644 --- a/packages/uni-cli-shared/src/vite/plugins/vitejs/plugins/css.ts +++ b/packages/uni-cli-shared/src/vite/plugins/vitejs/plugins/css.ts @@ -3,6 +3,7 @@ import path from 'path' import glob from 'fast-glob' import chalk from 'chalk' import postcssrc from 'postcss-load-config' +import { dataToEsm } from '@rollup/pluginutils' import { PluginContext, RollupError, SourceMap } from 'rollup' import { // createDebugger, @@ -233,10 +234,14 @@ export function cssPostPlugin( if (!cssLangRE.test(id) || commonjsProxyRE.test(id)) { return } + const modules = cssModulesCache.get(config)!.get(id) + const modulesCode = + modules && dataToEsm(modules, { namedExports: true, preferConst: true }) + // build CSS handling ---------------------------------------------------- styles.set(id, css) return { - code: '', + code: modulesCode || '', map: { mappings: '' }, // avoid the css module from being tree-shaken so that we can retrieve // it in renderChunk() diff --git a/packages/uni-mp-compiler/__tests__/style.spec.ts b/packages/uni-mp-compiler/__tests__/style.spec.ts index b6e68af69..ab96b519b 100644 --- a/packages/uni-mp-compiler/__tests__/style.spec.ts +++ b/packages/uni-mp-compiler/__tests__/style.spec.ts @@ -157,4 +157,36 @@ describe('compiler: transform style', () => { }` ) }) + test(`State-Driven Dynamic CSS`, () => { + assert( + ``, + ``, + `(_ctx, _cache) => { + return { a: _s(_ctx.__cssVars()) } +}`, + { + bindingCssVars: ['color'], + } + ) + assert( + ``, + ``, + `(_ctx, _cache) => { + return { a: _s(_ctx.style), b: _s(_ctx.__cssVars()) } +}`, + { + bindingCssVars: ['color'], + } + ) + assert( + ``, + ``, + `(_ctx, _cache) => { + return { a: _s(_ctx.style), b: _s(_ctx.__cssVars()) } +}`, + { + bindingCssVars: ['color'], + } + ) + }) }) diff --git a/packages/uni-mp-compiler/src/compile.ts b/packages/uni-mp-compiler/src/compile.ts index a84f94b71..e6678dbe5 100644 --- a/packages/uni-mp-compiler/src/compile.ts +++ b/packages/uni-mp-compiler/src/compile.ts @@ -15,6 +15,7 @@ import { transformElement } from './transforms/transformElement' import { transformBind } from './transforms/vBind' import { transformComponent } from './transforms/transformComponent' import { transformSlot } from './transforms/vSlot' +import { transformRoot } from './transforms/transformRoot' export type TransformPreset = [ NodeTransform[], @@ -29,7 +30,12 @@ export function getBaseTransformPreset({ skipTransformIdentifier: boolean }): TransformPreset { // order is important - const nodeTransforms = [transformIf, transformFor, transformSlot] + const nodeTransforms = [ + transformRoot, + transformIf, + transformFor, + transformSlot, + ] if (!skipTransformIdentifier) { nodeTransforms.push(transformIdentifier) } diff --git a/packages/uni-mp-compiler/src/options.ts b/packages/uni-mp-compiler/src/options.ts index 8153b9107..d40479695 100644 --- a/packages/uni-mp-compiler/src/options.ts +++ b/packages/uni-mp-compiler/src/options.ts @@ -65,6 +65,7 @@ export interface TransformOptions isCustomElement?: (tag: string) => boolean | void expressionPlugins?: ParserPlugin[] skipTransformIdentifier?: boolean + bindingCssVars?: string[] } export interface CodegenRootScope { diff --git a/packages/uni-mp-compiler/src/transform.ts b/packages/uni-mp-compiler/src/transform.ts index ba896bafa..1b6882fd7 100644 --- a/packages/uni-mp-compiler/src/transform.ts +++ b/packages/uni-mp-compiler/src/transform.ts @@ -248,6 +248,7 @@ export function createTransformContext( hashId = null, scopeId = null, filters = [], + bindingCssVars = [], bindingMetadata = EMPTY_OBJ, cacheHandlers = false, prefixIdentifiers = false, @@ -320,6 +321,7 @@ export function createTransformContext( hashId, scopeId, filters, + bindingCssVars, bindingMetadata, cacheHandlers, prefixIdentifiers, diff --git a/packages/uni-mp-compiler/src/transforms/transformRoot.ts b/packages/uni-mp-compiler/src/transforms/transformRoot.ts new file mode 100644 index 000000000..bcdcdcf9d --- /dev/null +++ b/packages/uni-mp-compiler/src/transforms/transformRoot.ts @@ -0,0 +1,48 @@ +import { + ElementNode, + DirectiveNode, + findProp, + NodeTypes, +} from '@vue/compiler-core' +import { createBindDirectiveNode } from '@dcloudio/uni-cli-shared' +import { NodeTransform, TransformContext } from '../transform' +import { parseExpr } from '../ast' +import { + arrayExpression, + Expression, + identifier, + isArrayExpression, +} from '@babel/types' +import { genBabelExpr } from '../codegen' + +export const transformRoot: NodeTransform = (node, context) => { + if (node.type !== NodeTypes.ROOT) { + return + } + if (context.bindingCssVars.length) { + node.children.forEach((child) => { + if (child.type !== NodeTypes.ELEMENT) { + return + } + addCssVars(child, context) + }) + } +} + +const CSS_VARS = '__cssVars()' +function addCssVars(node: ElementNode, context: TransformContext) { + const styleProp = findProp(node, 'style', true) as DirectiveNode + if (!styleProp) { + node.props.push(createBindDirectiveNode('style', CSS_VARS)) + } else { + if (styleProp.exp?.type === NodeTypes.SIMPLE_EXPRESSION) { + let expr = parseExpr(styleProp.exp.content, context) as Expression + if (isArrayExpression(expr)) { + expr.elements.push(identifier(CSS_VARS)) + } else { + expr = arrayExpression([expr as Expression, identifier(CSS_VARS)]) + } + styleProp.exp.content = genBabelExpr(expr) + } + } +} diff --git a/packages/uni-mp-vite/src/plugin/index.ts b/packages/uni-mp-vite/src/plugin/index.ts index 9d9157bdb..d77ba7ad0 100644 --- a/packages/uni-mp-vite/src/plugin/index.ts +++ b/packages/uni-mp-vite/src/plugin/index.ts @@ -18,6 +18,10 @@ import { createConfigResolved } from './configResolved' import { emitFile, getFilterFiles, getTemplateFiles } from './template' import { getNVueCssPaths } from '../plugins/pagesJson' +import { + SFCTemplateCompileOptions, + SFCTemplateCompileResults, +} from '@vue/compiler-sfc' export interface UniMiniProgramPluginOptions { vite: { @@ -78,6 +82,9 @@ export function uniMiniProgramPlugin( let nvueCssEmitted = false let resolvedConfig: ResolvedConfig + + rewriteCompileTemplate() + return { name: 'vite:uni-mp', uni: uniOptions({ @@ -148,3 +155,14 @@ export function uniMiniProgramPlugin( }, } } + +function rewriteCompileTemplate() { + const compiler = require(resolveBuiltIn('@vue/compiler-sfc')) + const { compileTemplate } = compiler + compiler.compileTemplate = ( + options: SFCTemplateCompileOptions + ): SFCTemplateCompileResults => { + ;(options.compilerOptions as any).bindingCssVars = options.ssrCssVars || [] + return compileTemplate(options) + } +} diff --git a/packages/uni-mp-vue/dist/vue.runtime.esm.js b/packages/uni-mp-vue/dist/vue.runtime.esm.js index e95840236..3c7b6f5e2 100644 --- a/packages/uni-mp-vue/dist/vue.runtime.esm.js +++ b/packages/uni-mp-vue/dist/vue.runtime.esm.js @@ -4726,6 +4726,54 @@ function createVueApp(rootComponent, rootProps = null) { return app; } +function useCssModule(name = '$style') { + /* istanbul ignore else */ + { + const instance = getCurrentInstance(); + if (!instance) { + (process.env.NODE_ENV !== 'production') && warn$1(`useCssModule must be called inside setup()`); + return EMPTY_OBJ; + } + const modules = instance.type.__cssModules; + if (!modules) { + (process.env.NODE_ENV !== 'production') && warn$1(`Current instance does not have CSS modules injected.`); + return EMPTY_OBJ; + } + const mod = modules[name]; + if (!mod) { + (process.env.NODE_ENV !== 'production') && + warn$1(`Current instance does not have CSS module named "${name}".`); + return EMPTY_OBJ; + } + return mod; + } +} + +/** + * Runtime helper for SFC's CSS variable injection feature. + * @private + */ +function useCssVars(getter) { + const instance = getCurrentInstance(); + /* istanbul ignore next */ + if (!instance) { + (process.env.NODE_ENV !== 'production') && + warn$1(`useCssVars is called without current active component instance.`); + return; + } + initCssVarsRender(instance, getter); +} +function initCssVarsRender(instance, getter) { + instance.ctx.__cssVars = () => { + const vars = getter(instance.proxy); + const cssVars = {}; + for (const key in vars) { + cssVars[`--${key}`] = vars[key]; + } + return cssVars; + }; +} + function withModifiers() { } function createVNode$1() { } @@ -5133,4 +5181,4 @@ function createApp(rootComponent, rootProps = null) { } const createSSRApp = createApp; -export { EffectScope, Fragment, ReactiveEffect, Text, c, callWithAsyncErrorHandling, callWithErrorHandling, computed, createApp, createSSRApp, createVNode$1 as createVNode, createVueApp, customRef, d, defineComponent, defineEmits, defineExpose, defineProps, e, effect, effectScope, f, getCurrentInstance, getCurrentScope, h, inject, injectHook, isInSSRComponentSetup, isProxy, isReactive, isReadonly, isRef, logError, markRaw, mergeDefaults, mergeProps, n, nextTick, o, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onUnmounted, onUpdated, patch, provide, proxyRefs, queuePostFlushCb, r, reactive, readonly, ref, resolveComponent, resolveDirective, resolveFilter, s, setCurrentRenderingInstance, setupDevtoolsPlugin, shallowReactive, shallowReadonly, shallowRef, stop, t, toHandlers, toRaw, toRef, toRefs, triggerRef, unref, useAttrs, useSSRContext, useSlots, version, w, warn$1 as warn, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withModifiers, withScopeId }; +export { EffectScope, Fragment, ReactiveEffect, Text, c, callWithAsyncErrorHandling, callWithErrorHandling, computed, createApp, createSSRApp, createVNode$1 as createVNode, createVueApp, customRef, d, defineComponent, defineEmits, defineExpose, defineProps, e, effect, effectScope, f, getCurrentInstance, getCurrentScope, h, inject, injectHook, isInSSRComponentSetup, isProxy, isReactive, isReadonly, isRef, logError, markRaw, mergeDefaults, mergeProps, n, nextTick, o, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onUnmounted, onUpdated, patch, provide, proxyRefs, queuePostFlushCb, r, reactive, readonly, ref, resolveComponent, resolveDirective, resolveFilter, s, setCurrentRenderingInstance, setupDevtoolsPlugin, shallowReactive, shallowReadonly, shallowRef, stop, t, toHandlers, toRaw, toRef, toRefs, triggerRef, unref, useAttrs, useCssModule, useCssVars, useSSRContext, useSlots, version, w, warn$1 as warn, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withModifiers, withScopeId }; diff --git a/packages/uni-mp-vue/lib/vue.runtime.esm.js b/packages/uni-mp-vue/lib/vue.runtime.esm.js index 2d1ccc806..afddab39b 100644 --- a/packages/uni-mp-vue/lib/vue.runtime.esm.js +++ b/packages/uni-mp-vue/lib/vue.runtime.esm.js @@ -4726,7 +4726,55 @@ function createVueApp(rootComponent, rootProps = null) { return app; } +function useCssModule(name = '$style') { + /* istanbul ignore else */ + { + const instance = getCurrentInstance(); + if (!instance) { + (process.env.NODE_ENV !== 'production') && warn$1(`useCssModule must be called inside setup()`); + return EMPTY_OBJ; + } + const modules = instance.type.__cssModules; + if (!modules) { + (process.env.NODE_ENV !== 'production') && warn$1(`Current instance does not have CSS modules injected.`); + return EMPTY_OBJ; + } + const mod = modules[name]; + if (!mod) { + (process.env.NODE_ENV !== 'production') && + warn$1(`Current instance does not have CSS module named "${name}".`); + return EMPTY_OBJ; + } + return mod; + } +} + +/** + * Runtime helper for SFC's CSS variable injection feature. + * @private + */ +function useCssVars(getter) { + const instance = getCurrentInstance(); + /* istanbul ignore next */ + if (!instance) { + (process.env.NODE_ENV !== 'production') && + warn$1(`useCssVars is called without current active component instance.`); + return; + } + initCssVarsRender(instance, getter); +} +function initCssVarsRender(instance, getter) { + instance.ctx.__cssVars = () => { + const vars = getter(instance.proxy); + const cssVars = {}; + for (const key in vars) { + cssVars[`--${key}`] = vars[key]; + } + return cssVars; + }; +} + function withModifiers() { } function createVNode$1() { } -export { EffectScope, Fragment, ReactiveEffect, Text, callWithAsyncErrorHandling, callWithErrorHandling, computed, createVNode$1 as createVNode, createVueApp, customRef, defineComponent, defineEmits, defineExpose, defineProps, effect, effectScope, getCurrentInstance, getCurrentScope, inject, injectHook, isInSSRComponentSetup, isProxy, isReactive, isReadonly, isRef, logError, markRaw, mergeDefaults, mergeProps, nextTick, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onUnmounted, onUpdated, patch, provide, proxyRefs, queuePostFlushCb, reactive, readonly, ref, resolveComponent, resolveDirective, resolveFilter, setCurrentRenderingInstance, shallowReactive, shallowReadonly, shallowRef, stop, toHandlers, toRaw, toRef, toRefs, triggerRef, unref, useAttrs, useSSRContext, useSlots, version, warn$1 as warn, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withModifiers, withScopeId }; +export { EffectScope, Fragment, ReactiveEffect, Text, callWithAsyncErrorHandling, callWithErrorHandling, computed, createVNode$1 as createVNode, createVueApp, customRef, defineComponent, defineEmits, defineExpose, defineProps, effect, effectScope, getCurrentInstance, getCurrentScope, inject, injectHook, isInSSRComponentSetup, isProxy, isReactive, isReadonly, isRef, logError, markRaw, mergeDefaults, mergeProps, nextTick, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onUnmounted, onUpdated, patch, provide, proxyRefs, queuePostFlushCb, reactive, readonly, ref, resolveComponent, resolveDirective, resolveFilter, setCurrentRenderingInstance, shallowReactive, shallowReadonly, shallowRef, stop, toHandlers, toRaw, toRef, toRefs, triggerRef, unref, useAttrs, useCssModule, useCssVars, useSSRContext, useSlots, version, warn$1 as warn, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withModifiers, withScopeId }; diff --git a/packages/vite-plugin-uni/src/cli/utils.ts b/packages/vite-plugin-uni/src/cli/utils.ts index f180d9fb2..159c7d0c8 100644 --- a/packages/vite-plugin-uni/src/cli/utils.ts +++ b/packages/vite-plugin-uni/src/cli/utils.ts @@ -56,6 +56,9 @@ export function initEnv(type: 'dev' | 'build', options: CliOptions) { process.env.NODE_ENV = 'production' } } + // vite 会修改 NODE_ENV,存储在 UNI_NODE_ENV 中,稍后校正 NODE_ENV + process.env.UNI_NODE_ENV = process.env.VITE_USER_NODE_ENV = + process.env.NODE_ENV process.env.UNI_CLI_CONTEXT = isInHBuilderX() ? path.resolve(process.env.UNI_HBUILDERX_PLUGINS!, 'uniapp-cli-vite') diff --git a/packages/vite-plugin-uni/src/config/define.ts b/packages/vite-plugin-uni/src/config/define.ts index ce8e23ecd..e45c29c15 100644 --- a/packages/vite-plugin-uni/src/config/define.ts +++ b/packages/vite-plugin-uni/src/config/define.ts @@ -9,6 +9,10 @@ export function createDefine( return extend( { __VUE_PROD_DEVTOOLS__: false, + __VUE_I18N_FULL_INSTALL__: true, + __VUE_I18N_LEGACY_API__: true, + __VUE_I18N_PROD_DEVTOOLS__: false, + __INTLIFY_PROD_DEVTOOLS__: false, }, initDefine() ) diff --git a/packages/vite-plugin-uni/src/index.ts b/packages/vite-plugin-uni/src/index.ts index 6a08f159f..b39d21e23 100644 --- a/packages/vite-plugin-uni/src/index.ts +++ b/packages/vite-plugin-uni/src/index.ts @@ -115,6 +115,14 @@ export default function uniPlugin( }) plugins.push(...uniPlugins) + // 执行 build 命令时,vite 强制了 NODE_ENV + // https://github.com/vitejs/vite/blob/main/packages/vite/src/node/build.ts#L405 + // const config = await resolveConfig(inlineConfig, 'build', 'production') + // 在 @vitejs/plugin-vue 之前校正回来 + if (process.env.UNI_NODE_ENV !== process.env.NODE_ENV) { + process.env.NODE_ENV = process.env.UNI_NODE_ENV + } + plugins.unshift( vuePlugin(initPluginVueOptions(options, uniPlugins, uniPluginOptions)) ) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cfdad8ae2..8c732724a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -376,6 +376,7 @@ importers: postcss: ^8.3.8 postcss-import: ^14.0.2 postcss-load-config: ^3.1.0 + postcss-modules: ^4.2.2 postcss-selector-parser: ^6.0.6 resolve: ^1.20.0 rollup-plugin-copy: ^3.4.0 @@ -407,6 +408,7 @@ importers: module-alias: 2.2.2 postcss-import: 14.0.2_postcss@8.3.11 postcss-load-config: 3.1.0 + postcss-modules: 4.2.2_postcss@8.3.11 postcss-selector-parser: 6.0.6 resolve: 1.20.0 rollup-plugin-copy: 3.4.0 @@ -2833,6 +2835,14 @@ packages: '@types/yargs-parser': 20.2.1 dev: true + /@types/yauzl/2.9.2: + resolution: {integrity: sha512-8uALY5LTvSuHgloDVUvWP3pIauILm+8/0pDMokuDYIoNsOkSwd5AiHBTSEJjKTDcZr5z8UpgOWZkxBF4iJftoA==} + requiresBuild: true + dependencies: + '@types/node': 14.17.33 + dev: true + optional: true + /@typescript-eslint/parser/5.4.0_eslint@7.32.0+typescript@4.4.4: resolution: {integrity: sha512-JoB41EmxiYpaEsRwpZEYAJ9XQURPFer8hpkIW9GiaspVLX8oqbqNM8P4EP8HOZg96yaALiLEVWllA2E8vwsIKw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -3777,7 +3787,7 @@ packages: normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: registry.npmjs.org/fsevents/2.3.2 + fsevents: 2.3.2 /chrome-trace-event/1.0.3: resolution: {integrity: sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==} @@ -3822,7 +3832,7 @@ packages: object-assign: 4.1.1 string-width: 4.2.3 optionalDependencies: - colors: registry.npmjs.org/colors/1.4.0 + colors: 1.4.0 dev: true /cli-truncate/2.1.0: @@ -3889,6 +3899,13 @@ packages: engines: {node: '>=0.1.90'} dev: true + /colors/1.4.0: + resolution: {integrity: sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==} + engines: {node: '>=0.1.90'} + requiresBuild: true + dev: true + optional: true + /combined-stream/1.0.8: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} engines: {node: '>= 0.8'} @@ -4414,28 +4431,147 @@ packages: resolution: {integrity: sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==} dev: false + /esbuild-android-arm64/0.13.14: + resolution: {integrity: sha512-Q+Xhfp827r+ma8/DJgpMRUbDZfefsk13oePFEXEIJ4gxFbNv5+vyiYXYuKm43/+++EJXpnaYmEnu4hAKbAWYbA==} + cpu: [arm64] + os: [android] + requiresBuild: true + optional: true + + /esbuild-darwin-64/0.13.14: + resolution: {integrity: sha512-YmOhRns6QBNSjpVdTahi/yZ8dscx9ai7a6OY6z5ACgOuQuaQ2Qk2qgJ0/siZ6LgD0gJFMV8UINFV5oky5TFNQQ==} + cpu: [x64] + os: [darwin] + requiresBuild: true + optional: true + + /esbuild-darwin-arm64/0.13.14: + resolution: {integrity: sha512-Lp00VTli2jqZghSa68fx3fEFCPsO1hK59RMo1PRap5RUjhf55OmaZTZYnCDI0FVlCtt+gBwX5qwFt4lc6tI1xg==} + cpu: [arm64] + os: [darwin] + requiresBuild: true + optional: true + + /esbuild-freebsd-64/0.13.14: + resolution: {integrity: sha512-BKosI3jtvTfnmsCW37B1TyxMUjkRWKqopR0CE9AF2ratdpkxdR24Vpe3gLKNyWiZ7BE96/SO5/YfhbPUzY8wKw==} + cpu: [x64] + os: [freebsd] + requiresBuild: true + optional: true + + /esbuild-freebsd-arm64/0.13.14: + resolution: {integrity: sha512-yd2uh0yf+fWv5114+SYTl4/1oDWtr4nN5Op+PGxAkMqHfYfLjFKpcxwCo/QOS/0NWqPVE8O41IYZlFhbEN2B8Q==} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + optional: true + + /esbuild-linux-32/0.13.14: + resolution: {integrity: sha512-a8rOnS1oWSfkkYWXoD2yXNV4BdbDKA7PNVQ1klqkY9SoSApL7io66w5H44mTLsfyw7G6Z2vLlaLI2nz9MMAowA==} + cpu: [ia32] + os: [linux] + requiresBuild: true + optional: true + + /esbuild-linux-64/0.13.14: + resolution: {integrity: sha512-yPZSoMs9W2MC3Dw+6kflKt5FfQm6Dicex9dGIr1OlHRsn3Hm7yGMUTctlkW53KknnZdOdcdd5upxvbxqymczVQ==} + cpu: [x64] + os: [linux] + requiresBuild: true + optional: true + + /esbuild-linux-arm/0.13.14: + resolution: {integrity: sha512-8chZE4pkKRvJ/M/iwsNQ1KqsRg2RyU5eT/x2flNt/f8F2TVrDreR7I0HEeCR50wLla3B1C3wTIOzQBmjuc6uWg==} + cpu: [arm] + os: [linux] + requiresBuild: true + optional: true + + /esbuild-linux-arm64/0.13.14: + resolution: {integrity: sha512-Lvo391ln9PzC334e+jJ2S0Rt0cxP47eoH5gFyv/E8HhOnEJTvm7A+RRnMjjHnejELacTTfYgFGQYPjLsi/jObQ==} + cpu: [arm64] + os: [linux] + requiresBuild: true + optional: true + + /esbuild-linux-mips64le/0.13.14: + resolution: {integrity: sha512-MZhgxbmrWbpY3TOE029O6l5tokG9+Yoj2hW7vdit/d/VnmneqeGrSHADuDL6qXM8L5jaCiaivb4VhsyVCpdAbQ==} + cpu: [mips64el] + os: [linux] + requiresBuild: true + optional: true + + /esbuild-linux-ppc64le/0.13.14: + resolution: {integrity: sha512-un7KMwS7fX1Un6BjfSZxTT8L5cV/8Uf4SAhM7WYy2XF8o8TI+uRxxD03svZnRNIPsN2J5cl6qV4n7Iwz+yhhVw==} + cpu: [ppc64] + os: [linux] + requiresBuild: true + optional: true + + /esbuild-netbsd-64/0.13.14: + resolution: {integrity: sha512-5ekKx/YbOmmlTeNxBjh38Uh5TGn5C4uyqN17i67k18pS3J+U2hTVD7rCxcFcRS1AjNWumkVL3jWqYXadFwMS0Q==} + cpu: [x64] + os: [netbsd] + requiresBuild: true + optional: true + + /esbuild-openbsd-64/0.13.14: + resolution: {integrity: sha512-9bzvwewHjct2Cv5XcVoE1yW5YTW12Sk838EYfA46abgnhxGoFSD1mFcaztp5HHC43AsF+hQxbSFG/RilONARUA==} + cpu: [x64] + os: [openbsd] + requiresBuild: true + optional: true + + /esbuild-sunos-64/0.13.14: + resolution: {integrity: sha512-mjMrZB76M6FmoiTvj/RGWilrioR7gVwtFBRVugr9qLarXMIU1W/pQx+ieEOtflrW61xo8w1fcxyHsVVGRvoQ0w==} + cpu: [x64] + os: [sunos] + requiresBuild: true + optional: true + + /esbuild-windows-32/0.13.14: + resolution: {integrity: sha512-GZa6mrx2rgfbH/5uHg0Rdw50TuOKbdoKCpEBitzmG5tsXBdce+cOL+iFO5joZc6fDVCLW3Y6tjxmSXRk/v20Hg==} + cpu: [ia32] + os: [win32] + requiresBuild: true + optional: true + + /esbuild-windows-64/0.13.14: + resolution: {integrity: sha512-Lsgqah24bT7ClHjLp/Pj3A9wxjhIAJyWQcrOV4jqXAFikmrp2CspA8IkJgw7HFjx6QrJuhpcKVbCAe/xw0i2yw==} + cpu: [x64] + os: [win32] + requiresBuild: true + optional: true + + /esbuild-windows-arm64/0.13.14: + resolution: {integrity: sha512-KP8FHVlWGhM7nzYtURsGnskXb/cBCPTfj0gOKfjKq2tHtYnhDZywsUG57nk7TKhhK0fL11LcejHG3LRW9RF/9A==} + cpu: [arm64] + os: [win32] + requiresBuild: true + optional: true + /esbuild/0.13.14: resolution: {integrity: sha512-xu4D+1ji9x53ocuomcY+KOrwAnWzhBu/wTEjpdgZ8I1c8i5vboYIeigMdzgY1UowYBKa2vZgVgUB32bu7gkxeg==} hasBin: true requiresBuild: true optionalDependencies: - esbuild-android-arm64: registry.npmjs.org/esbuild-android-arm64/0.13.14 - esbuild-darwin-64: registry.npmjs.org/esbuild-darwin-64/0.13.14 - esbuild-darwin-arm64: registry.npmjs.org/esbuild-darwin-arm64/0.13.14 - esbuild-freebsd-64: registry.npmjs.org/esbuild-freebsd-64/0.13.14 - esbuild-freebsd-arm64: registry.npmjs.org/esbuild-freebsd-arm64/0.13.14 - esbuild-linux-32: registry.npmjs.org/esbuild-linux-32/0.13.14 - esbuild-linux-64: registry.npmjs.org/esbuild-linux-64/0.13.14 - esbuild-linux-arm: registry.npmjs.org/esbuild-linux-arm/0.13.14 - esbuild-linux-arm64: registry.npmjs.org/esbuild-linux-arm64/0.13.14 - esbuild-linux-mips64le: registry.npmjs.org/esbuild-linux-mips64le/0.13.14 - esbuild-linux-ppc64le: registry.npmjs.org/esbuild-linux-ppc64le/0.13.14 - esbuild-netbsd-64: registry.npmjs.org/esbuild-netbsd-64/0.13.14 - esbuild-openbsd-64: registry.npmjs.org/esbuild-openbsd-64/0.13.14 - esbuild-sunos-64: registry.npmjs.org/esbuild-sunos-64/0.13.14 - esbuild-windows-32: registry.npmjs.org/esbuild-windows-32/0.13.14 - esbuild-windows-64: registry.npmjs.org/esbuild-windows-64/0.13.14 - esbuild-windows-arm64: registry.npmjs.org/esbuild-windows-arm64/0.13.14 + esbuild-android-arm64: 0.13.14 + esbuild-darwin-64: 0.13.14 + esbuild-darwin-arm64: 0.13.14 + esbuild-freebsd-64: 0.13.14 + esbuild-freebsd-arm64: 0.13.14 + esbuild-linux-32: 0.13.14 + esbuild-linux-64: 0.13.14 + esbuild-linux-arm: 0.13.14 + esbuild-linux-arm64: 0.13.14 + esbuild-linux-mips64le: 0.13.14 + esbuild-linux-ppc64le: 0.13.14 + esbuild-netbsd-64: 0.13.14 + esbuild-openbsd-64: 0.13.14 + esbuild-sunos-64: 0.13.14 + esbuild-windows-32: 0.13.14 + esbuild-windows-64: 0.13.14 + esbuild-windows-arm64: 0.13.14 /escalade/3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} @@ -4468,7 +4604,7 @@ packages: esutils: 2.0.3 optionator: 0.8.3 optionalDependencies: - source-map: registry.npmjs.org/source-map/0.6.1 + source-map: 0.6.1 dev: false /escodegen/2.0.0: @@ -4481,7 +4617,7 @@ packages: esutils: 2.0.3 optionator: 0.8.3 optionalDependencies: - source-map: registry.npmjs.org/source-map/0.6.1 + source-map: 0.6.1 dev: true /eslint-scope/5.1.1: @@ -4751,7 +4887,7 @@ packages: get-stream: 5.2.0 yauzl: 2.10.0 optionalDependencies: - '@types/yauzl': registry.npmjs.org/@types/yauzl/2.9.2 + '@types/yauzl': 2.9.2 transitivePeerDependencies: - supports-color dev: true @@ -4945,6 +5081,13 @@ packages: /fs.realpath/1.0.0: resolution: {integrity: sha1-FQStJSMVjKpA20onh8sBQRmU6k8=} + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + optional: true + /function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} @@ -4958,6 +5101,12 @@ packages: readable-stream: 1.0.34 dev: true + /generic-names/2.0.1: + resolution: {integrity: sha512-kPCHWa1m9wGG/OwQpeweTwM/PYiQLrUIxXbt/P4Nic3LbGjCP0YwrALHW1uNLKZ0LIMg+RF+XRlj2ekT9ZlZAQ==} + dependencies: + loader-utils: 1.4.0 + dev: false + /gensync/1.0.0-beta.2: resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} engines: {node: '>=6.9.0'} @@ -5243,6 +5392,19 @@ packages: dependencies: safer-buffer: 2.1.2 + /icss-replace-symbols/1.1.0: + resolution: {integrity: sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=} + dev: false + + /icss-utils/5.1.0_postcss@8.3.11: + resolution: {integrity: sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==} + engines: {node: ^10 || ^12 || >= 14} + peerDependencies: + postcss: ^8.1.0 + dependencies: + postcss: 8.3.11 + dev: false + /idb-wrapper/1.7.2: resolution: {integrity: sha512-zfNREywMuf0NzDo9mVsL0yegjsirJxHpKHvWcyRozIqQy89g0a3U+oBPOCN4cc0oCiOuYgZHimzaW/R46G1Mpg==} dev: true @@ -5732,7 +5894,7 @@ packages: micromatch: 4.0.4 walker: 1.0.8 optionalDependencies: - fsevents: registry.npmjs.org/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /jest-jasmine2/27.3.1: @@ -6157,14 +6319,14 @@ packages: /jsonfile/4.0.0: resolution: {integrity: sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=} optionalDependencies: - graceful-fs: registry.npmjs.org/graceful-fs/4.2.8 + graceful-fs: 4.2.8 /jsonfile/6.1.0: resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: registry.npmjs.org/graceful-fs/4.2.8 + graceful-fs: 4.2.8 /jsprim/1.4.1: resolution: {integrity: sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=} @@ -6391,6 +6553,10 @@ packages: dependencies: p-locate: 4.1.0 + /lodash.camelcase/4.3.0: + resolution: {integrity: sha1-soqmKIorn8ZRA1x3EfZathkDMaY=} + dev: false + /lodash.debounce/4.0.8: resolution: {integrity: sha1-gteb/zCmfEAF/9XiUVMArZyk168=} dev: false @@ -6482,7 +6648,7 @@ packages: resolution: {integrity: sha512-xTYd4JVHpSCW+aqDof6w/MebaMVNTVYBZhbB/vi513xXdiPT92JMVCo0Jq8W2UZnzYRFeVbQiQ+I25l13JuKvA==} hasBin: true optionalDependencies: - minimist: registry.npmjs.org/minimist/1.2.5 + minimist: 1.2.5 dev: true /make-plural/6.2.2: @@ -6987,6 +7153,63 @@ packages: webpack: 5.64.1 dev: false + /postcss-modules-extract-imports/3.0.0_postcss@8.3.11: + resolution: {integrity: sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==} + engines: {node: ^10 || ^12 || >= 14} + peerDependencies: + postcss: ^8.1.0 + dependencies: + postcss: 8.3.11 + dev: false + + /postcss-modules-local-by-default/4.0.0_postcss@8.3.11: + resolution: {integrity: sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ==} + engines: {node: ^10 || ^12 || >= 14} + peerDependencies: + postcss: ^8.1.0 + dependencies: + icss-utils: 5.1.0_postcss@8.3.11 + postcss: 8.3.11 + postcss-selector-parser: 6.0.6 + postcss-value-parser: 4.1.0 + dev: false + + /postcss-modules-scope/3.0.0_postcss@8.3.11: + resolution: {integrity: sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==} + engines: {node: ^10 || ^12 || >= 14} + peerDependencies: + postcss: ^8.1.0 + dependencies: + postcss: 8.3.11 + postcss-selector-parser: 6.0.6 + dev: false + + /postcss-modules-values/4.0.0_postcss@8.3.11: + resolution: {integrity: sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==} + engines: {node: ^10 || ^12 || >= 14} + peerDependencies: + postcss: ^8.1.0 + dependencies: + icss-utils: 5.1.0_postcss@8.3.11 + postcss: 8.3.11 + dev: false + + /postcss-modules/4.2.2_postcss@8.3.11: + resolution: {integrity: sha512-/H08MGEmaalv/OU8j6bUKi/kZr2kqGF6huAW8m9UAgOLWtpFdhA14+gPBoymtqyv+D4MLsmqaF2zvIegdCxJXg==} + peerDependencies: + postcss: ^8.0.0 + dependencies: + generic-names: 2.0.1 + icss-replace-symbols: 1.1.0 + lodash.camelcase: 4.3.0 + postcss: 8.3.11 + postcss-modules-extract-imports: 3.0.0_postcss@8.3.11 + postcss-modules-local-by-default: 4.0.0_postcss@8.3.11 + postcss-modules-scope: 3.0.0_postcss@8.3.11 + postcss-modules-values: 4.0.0_postcss@8.3.11 + string-hash: 1.1.3 + dev: false + /postcss-selector-parser/6.0.6: resolution: {integrity: sha512-9LXrvaaX3+mcv5xkg5kFwqSzSH1JIObIx51PrndZwlmznwXRfxMddDvo9gve3gVR8ZTKgoFDdWkbRFmEhT4PMg==} engines: {node: '>=4'} @@ -7474,7 +7697,7 @@ packages: engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: registry.npmjs.org/fsevents/2.3.2 + fsevents: 2.3.2 /run-parallel/1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} @@ -7753,6 +7976,10 @@ packages: engines: {node: '>=0.6.19'} dev: true + /string-hash/1.1.3: + resolution: {integrity: sha1-6Kr8CsGFW0Zmkp7X3RJ1311sgRs=} + dev: false + /string-length/4.0.2: resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==} engines: {node: '>=10'} @@ -8326,7 +8553,7 @@ packages: resolve: 1.20.0 rollup: 2.60.0 optionalDependencies: - fsevents: registry.npmjs.org/fsevents/2.3.2 + fsevents: 2.3.2 dev: true /vlq/0.2.3: @@ -8657,217 +8884,5 @@ packages: lodash.isequal: 4.5.0 validator: 8.2.0 optionalDependencies: - commander: registry.npmjs.org/commander/2.20.3 - dev: true - - registry.npmjs.org/@types/yauzl/2.9.2: - resolution: {integrity: sha512-8uALY5LTvSuHgloDVUvWP3pIauILm+8/0pDMokuDYIoNsOkSwd5AiHBTSEJjKTDcZr5z8UpgOWZkxBF4iJftoA==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/@types/yauzl/-/yauzl-2.9.2.tgz} - name: '@types/yauzl' - version: 2.9.2 - requiresBuild: true - dependencies: - '@types/node': 14.17.33 - dev: true - optional: true - - registry.npmjs.org/colors/1.4.0: - resolution: {integrity: sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/colors/-/colors-1.4.0.tgz} - name: colors - version: 1.4.0 - engines: {node: '>=0.1.90'} - requiresBuild: true - dev: true - optional: true - - registry.npmjs.org/commander/2.20.3: - resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/commander/-/commander-2.20.3.tgz} - name: commander - version: 2.20.3 - requiresBuild: true - dev: true - optional: true - - registry.npmjs.org/esbuild-android-arm64/0.13.14: - resolution: {integrity: sha512-Q+Xhfp827r+ma8/DJgpMRUbDZfefsk13oePFEXEIJ4gxFbNv5+vyiYXYuKm43/+++EJXpnaYmEnu4hAKbAWYbA==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.13.14.tgz} - name: esbuild-android-arm64 - version: 0.13.14 - cpu: [arm64] - os: [android] - requiresBuild: true - optional: true - - registry.npmjs.org/esbuild-darwin-64/0.13.14: - resolution: {integrity: sha512-YmOhRns6QBNSjpVdTahi/yZ8dscx9ai7a6OY6z5ACgOuQuaQ2Qk2qgJ0/siZ6LgD0gJFMV8UINFV5oky5TFNQQ==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.13.14.tgz} - name: esbuild-darwin-64 - version: 0.13.14 - cpu: [x64] - os: [darwin] - requiresBuild: true - optional: true - - registry.npmjs.org/esbuild-darwin-arm64/0.13.14: - resolution: {integrity: sha512-Lp00VTli2jqZghSa68fx3fEFCPsO1hK59RMo1PRap5RUjhf55OmaZTZYnCDI0FVlCtt+gBwX5qwFt4lc6tI1xg==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.13.14.tgz} - name: esbuild-darwin-arm64 - version: 0.13.14 - cpu: [arm64] - os: [darwin] - requiresBuild: true - optional: true - - registry.npmjs.org/esbuild-freebsd-64/0.13.14: - resolution: {integrity: sha512-BKosI3jtvTfnmsCW37B1TyxMUjkRWKqopR0CE9AF2ratdpkxdR24Vpe3gLKNyWiZ7BE96/SO5/YfhbPUzY8wKw==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.13.14.tgz} - name: esbuild-freebsd-64 - version: 0.13.14 - cpu: [x64] - os: [freebsd] - requiresBuild: true - optional: true - - registry.npmjs.org/esbuild-freebsd-arm64/0.13.14: - resolution: {integrity: sha512-yd2uh0yf+fWv5114+SYTl4/1oDWtr4nN5Op+PGxAkMqHfYfLjFKpcxwCo/QOS/0NWqPVE8O41IYZlFhbEN2B8Q==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.13.14.tgz} - name: esbuild-freebsd-arm64 - version: 0.13.14 - cpu: [arm64] - os: [freebsd] - requiresBuild: true - optional: true - - registry.npmjs.org/esbuild-linux-32/0.13.14: - resolution: {integrity: sha512-a8rOnS1oWSfkkYWXoD2yXNV4BdbDKA7PNVQ1klqkY9SoSApL7io66w5H44mTLsfyw7G6Z2vLlaLI2nz9MMAowA==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.13.14.tgz} - name: esbuild-linux-32 - version: 0.13.14 - cpu: [ia32] - os: [linux] - requiresBuild: true - optional: true - - registry.npmjs.org/esbuild-linux-64/0.13.14: - resolution: {integrity: sha512-yPZSoMs9W2MC3Dw+6kflKt5FfQm6Dicex9dGIr1OlHRsn3Hm7yGMUTctlkW53KknnZdOdcdd5upxvbxqymczVQ==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.13.14.tgz} - name: esbuild-linux-64 - version: 0.13.14 - cpu: [x64] - os: [linux] - requiresBuild: true - optional: true - - registry.npmjs.org/esbuild-linux-arm/0.13.14: - resolution: {integrity: sha512-8chZE4pkKRvJ/M/iwsNQ1KqsRg2RyU5eT/x2flNt/f8F2TVrDreR7I0HEeCR50wLla3B1C3wTIOzQBmjuc6uWg==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.13.14.tgz} - name: esbuild-linux-arm - version: 0.13.14 - cpu: [arm] - os: [linux] - requiresBuild: true - optional: true - - registry.npmjs.org/esbuild-linux-arm64/0.13.14: - resolution: {integrity: sha512-Lvo391ln9PzC334e+jJ2S0Rt0cxP47eoH5gFyv/E8HhOnEJTvm7A+RRnMjjHnejELacTTfYgFGQYPjLsi/jObQ==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.13.14.tgz} - name: esbuild-linux-arm64 - version: 0.13.14 - cpu: [arm64] - os: [linux] - requiresBuild: true - optional: true - - registry.npmjs.org/esbuild-linux-mips64le/0.13.14: - resolution: {integrity: sha512-MZhgxbmrWbpY3TOE029O6l5tokG9+Yoj2hW7vdit/d/VnmneqeGrSHADuDL6qXM8L5jaCiaivb4VhsyVCpdAbQ==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.13.14.tgz} - name: esbuild-linux-mips64le - version: 0.13.14 - cpu: [mips64el] - os: [linux] - requiresBuild: true - optional: true - - registry.npmjs.org/esbuild-linux-ppc64le/0.13.14: - resolution: {integrity: sha512-un7KMwS7fX1Un6BjfSZxTT8L5cV/8Uf4SAhM7WYy2XF8o8TI+uRxxD03svZnRNIPsN2J5cl6qV4n7Iwz+yhhVw==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.13.14.tgz} - name: esbuild-linux-ppc64le - version: 0.13.14 - cpu: [ppc64] - os: [linux] - requiresBuild: true - optional: true - - registry.npmjs.org/esbuild-netbsd-64/0.13.14: - resolution: {integrity: sha512-5ekKx/YbOmmlTeNxBjh38Uh5TGn5C4uyqN17i67k18pS3J+U2hTVD7rCxcFcRS1AjNWumkVL3jWqYXadFwMS0Q==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.13.14.tgz} - name: esbuild-netbsd-64 - version: 0.13.14 - cpu: [x64] - os: [netbsd] - requiresBuild: true - optional: true - - registry.npmjs.org/esbuild-openbsd-64/0.13.14: - resolution: {integrity: sha512-9bzvwewHjct2Cv5XcVoE1yW5YTW12Sk838EYfA46abgnhxGoFSD1mFcaztp5HHC43AsF+hQxbSFG/RilONARUA==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.13.14.tgz} - name: esbuild-openbsd-64 - version: 0.13.14 - cpu: [x64] - os: [openbsd] - requiresBuild: true - optional: true - - registry.npmjs.org/esbuild-sunos-64/0.13.14: - resolution: {integrity: sha512-mjMrZB76M6FmoiTvj/RGWilrioR7gVwtFBRVugr9qLarXMIU1W/pQx+ieEOtflrW61xo8w1fcxyHsVVGRvoQ0w==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.13.14.tgz} - name: esbuild-sunos-64 - version: 0.13.14 - cpu: [x64] - os: [sunos] - requiresBuild: true - optional: true - - registry.npmjs.org/esbuild-windows-32/0.13.14: - resolution: {integrity: sha512-GZa6mrx2rgfbH/5uHg0Rdw50TuOKbdoKCpEBitzmG5tsXBdce+cOL+iFO5joZc6fDVCLW3Y6tjxmSXRk/v20Hg==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.13.14.tgz} - name: esbuild-windows-32 - version: 0.13.14 - cpu: [ia32] - os: [win32] - requiresBuild: true - optional: true - - registry.npmjs.org/esbuild-windows-64/0.13.14: - resolution: {integrity: sha512-Lsgqah24bT7ClHjLp/Pj3A9wxjhIAJyWQcrOV4jqXAFikmrp2CspA8IkJgw7HFjx6QrJuhpcKVbCAe/xw0i2yw==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.13.14.tgz} - name: esbuild-windows-64 - version: 0.13.14 - cpu: [x64] - os: [win32] - requiresBuild: true - optional: true - - registry.npmjs.org/esbuild-windows-arm64/0.13.14: - resolution: {integrity: sha512-KP8FHVlWGhM7nzYtURsGnskXb/cBCPTfj0gOKfjKq2tHtYnhDZywsUG57nk7TKhhK0fL11LcejHG3LRW9RF/9A==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.13.14.tgz} - name: esbuild-windows-arm64 - version: 0.13.14 - cpu: [arm64] - os: [win32] - requiresBuild: true - optional: true - - registry.npmjs.org/fsevents/2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz} - name: fsevents - version: 2.3.2 - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - optional: true - - registry.npmjs.org/graceful-fs/4.2.8: - resolution: {integrity: sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz} - name: graceful-fs - version: 4.2.8 - requiresBuild: true - optional: true - - registry.npmjs.org/minimist/1.2.5: - resolution: {integrity: sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz} - name: minimist - version: 1.2.5 - requiresBuild: true + commander: 2.20.3 dev: true - optional: true - - registry.npmjs.org/source-map/0.6.1: - resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==, registry: https://registry.yarnpkg.com/, tarball: https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz} - name: source-map - version: 0.6.1 - engines: {node: '>=0.10.0'} - requiresBuild: true - optional: true -- GitLab