phizclip-uniapp-demo/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/uni-app-view.umd.js

4 lines
296 KiB
JavaScript
Executable File

(function(Gn){typeof define=="function"&&define.amd?define(Gn):Gn()})(function(){"use strict";var Gn="",qT="",XT="",Lr={exports:{}},ha={exports:{}},ga={exports:{}},Fh=ga.exports={version:"2.6.12"};typeof __e=="number"&&(__e=Fh);var pa={exports:{}};pa.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),typeof __g=="number"&&(__g=window);var $h=ga.exports,Ll="__core-js_shared__",Pl=window[Ll]||(window[Ll]={});(ha.exports=function(e,t){return Pl[e]||(Pl[e]=t!==void 0?t:{})})("versions",[]).push({version:$h.version,mode:"window",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"});var zh=0,Uh=Math.random(),Jn=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++zh+Uh).toString(36))},Qn=ha.exports("wks"),Hh=Jn,eo=pa.exports.Symbol,Nl=typeof eo=="function",Wh=Lr.exports=function(e){return Qn[e]||(Qn[e]=Nl&&eo[e]||(Nl?eo:Hh)("Symbol."+e))};Wh.store=Qn;var ma={},to=function(e){return typeof e=="object"?e!==null:typeof e=="function"},Vh=to,ro=function(e){if(!Vh(e))throw TypeError(e+" is not an object!");return e},_a=function(e){try{return!!e()}catch(t){return!0}},ui=!_a(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),Dl=to,io=pa.exports.document,jh=Dl(io)&&Dl(io.createElement),Bl=function(e){return jh?io.createElement(e):{}},Yh=!ui&&!_a(function(){return Object.defineProperty(Bl("div"),"a",{get:function(){return 7}}).a!=7}),ba=to,qh=function(e,t){if(!ba(e))return e;var r,i;if(t&&typeof(r=e.toString)=="function"&&!ba(i=r.call(e))||typeof(r=e.valueOf)=="function"&&!ba(i=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!ba(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Fl=ro,Xh=Yh,Zh=qh,Kh=Object.defineProperty;ma.f=ui?Object.defineProperty:function(t,r,i){if(Fl(t),r=Zh(r,!0),Fl(i),Xh)try{return Kh(t,r,i)}catch(a){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[r]=i.value),t};var $l=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},Gh=ma,Jh=$l,Pr=ui?function(e,t,r){return Gh.f(e,t,Jh(1,r))}:function(e,t,r){return e[t]=r,e},ao=Lr.exports("unscopables"),no=Array.prototype;no[ao]==null&&Pr(no,ao,{});var Qh=function(e){no[ao][e]=!0},eg=function(e,t){return{value:t,done:!!e}},oo={},tg={}.toString,rg=function(e){return tg.call(e).slice(8,-1)},ig=rg,ag=Object("z").propertyIsEnumerable(0)?Object:function(e){return ig(e)=="String"?e.split(""):Object(e)},zl=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},ng=ag,og=zl,wa=function(e){return ng(og(e))},ya={exports:{}},sg={}.hasOwnProperty,xa=function(e,t){return sg.call(e,t)},lg=ha.exports("native-function-to-string",Function.toString),Sa=Pr,Ul=xa,so=Jn("src"),lo=lg,Hl="toString",ug=(""+lo).split(Hl);ga.exports.inspectSource=function(e){return lo.call(e)},(ya.exports=function(e,t,r,i){var a=typeof r=="function";a&&(Ul(r,"name")||Sa(r,"name",t)),e[t]!==r&&(a&&(Ul(r,so)||Sa(r,so,e[t]?""+e[t]:ug.join(String(t)))),e===window?e[t]=r:i?e[t]?e[t]=r:Sa(e,t,r):(delete e[t],Sa(e,t,r)))})(Function.prototype,Hl,function(){return typeof this=="function"&&this[so]||lo.call(this)});var Wl=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},fg=Wl,cg=function(e,t,r){if(fg(e),t===void 0)return e;switch(r){case 1:return function(i){return e.call(t,i)};case 2:return function(i,a){return e.call(t,i,a)};case 3:return function(i,a,n){return e.call(t,i,a,n)}}return function(){return e.apply(t,arguments)}},Ea=ga.exports,vg=Pr,dg=ya.exports,Vl=cg,uo="prototype",je=function(e,t,r){var i=e&je.F,a=e&je.G,n=e&je.S,o=e&je.P,s=e&je.B,l=a?window:n?window[t]||(window[t]={}):(window[t]||{})[uo],u=a?Ea:Ea[t]||(Ea[t]={}),f=u[uo]||(u[uo]={}),d,p,g,y;a&&(r=t);for(d in r)p=!i&&l&&l[d]!==void 0,g=(p?l:r)[d],y=s&&p?Vl(g,window):o&&typeof g=="function"?Vl(Function.call,g):g,l&&dg(l,d,g,e&je.U),u[d]!=g&&vg(u,d,y),o&&f[d]!=g&&(f[d]=g)};window.core=Ea,je.F=1,je.G=2,je.S=4,je.P=8,je.B=16,je.W=32,je.U=64,je.R=128;var fo=je,hg=Math.ceil,gg=Math.floor,jl=function(e){return isNaN(e=+e)?0:(e>0?gg:hg)(e)},pg=jl,mg=Math.min,_g=function(e){return e>0?mg(pg(e),9007199254740991):0},bg=jl,wg=Math.max,yg=Math.min,xg=function(e,t){return e=bg(e),e<0?wg(e+t,0):yg(e,t)},Sg=wa,Eg=_g,Tg=xg,Cg=function(e){return function(t,r,i){var a=Sg(t),n=Eg(a.length),o=Tg(i,n),s;if(e&&r!=r){for(;n>o;)if(s=a[o++],s!=s)return!0}else for(;n>o;o++)if((e||o in a)&&a[o]===r)return e||o||0;return!e&&-1}},Yl=ha.exports("keys"),Og=Jn,co=function(e){return Yl[e]||(Yl[e]=Og(e))},ql=xa,Ag=wa,Ig=Cg(!1),kg=co("IE_PROTO"),Mg=function(e,t){var r=Ag(e),i=0,a=[],n;for(n in r)n!=kg&&ql(r,n)&&a.push(n);for(;t.length>i;)ql(r,n=t[i++])&&(~Ig(a,n)||a.push(n));return a},Xl="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Rg=Mg,Lg=Xl,vo=Object.keys||function(t){return Rg(t,Lg)},Pg=ma,Ng=ro,Dg=vo,Bg=ui?Object.defineProperties:function(t,r){Ng(t);for(var i=Dg(r),a=i.length,n=0,o;a>n;)Pg.f(t,o=i[n++],r[o]);return t},Zl=pa.exports.document,Fg=Zl&&Zl.documentElement,$g=ro,zg=Bg,Kl=Xl,Ug=co("IE_PROTO"),ho=function(){},go="prototype",Ta=function(){var e=Bl("iframe"),t=Kl.length,r="<",i=">",a;for(e.style.display="none",Fg.appendChild(e),e.src="javascript:",a=e.contentWindow.document,a.open(),a.write(r+"script"+i+"document.F=Object"+r+"/script"+i),a.close(),Ta=a.F;t--;)delete Ta[go][Kl[t]];return Ta()},Hg=Object.create||function(t,r){var i;return t!==null?(ho[go]=$g(t),i=new ho,ho[go]=null,i[Ug]=t):i=Ta(),r===void 0?i:zg(i,r)},Wg=ma.f,Vg=xa,Gl=Lr.exports("toStringTag"),Jl=function(e,t,r){e&&!Vg(e=r?e:e.prototype,Gl)&&Wg(e,Gl,{configurable:!0,value:t})},jg=Hg,Yg=$l,qg=Jl,Ql={};Pr(Ql,Lr.exports("iterator"),function(){return this});var Xg=function(e,t,r){e.prototype=jg(Ql,{next:Yg(1,r)}),qg(e,t+" Iterator")},Zg=zl,eu=function(e){return Object(Zg(e))},Kg=xa,Gg=eu,tu=co("IE_PROTO"),Jg=Object.prototype,Qg=Object.getPrototypeOf||function(e){return e=Gg(e),Kg(e,tu)?e[tu]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Jg:null},po=fo,ep=ya.exports,ru=Pr,iu=oo,tp=Xg,rp=Jl,ip=Qg,fi=Lr.exports("iterator"),mo=!([].keys&&"next"in[].keys()),ap="@@iterator",au="keys",Ca="values",nu=function(){return this},np=function(e,t,r,i,a,n,o){tp(r,t,i);var s=function(c){if(!mo&&c in d)return d[c];switch(c){case au:return function(){return new r(this,c)};case Ca:return function(){return new r(this,c)}}return function(){return new r(this,c)}},l=t+" Iterator",u=a==Ca,f=!1,d=e.prototype,p=d[fi]||d[ap]||a&&d[a],g=p||s(a),y=a?u?s("entries"):g:void 0,m=t=="Array"&&d.entries||p,w,h,b;if(m&&(b=ip(m.call(new e)),b!==Object.prototype&&b.next&&(rp(b,l,!0),typeof b[fi]!="function"&&ru(b,fi,nu))),u&&p&&p.name!==Ca&&(f=!0,g=function(){return p.call(this)}),(mo||f||!d[fi])&&ru(d,fi,g),iu[t]=g,iu[l]=nu,a)if(w={values:u?g:s(Ca),keys:n?g:s(au),entries:y},o)for(h in w)h in d||ep(d,h,w[h]);else po(po.P+po.F*(mo||f),t,w);return w},_o=Qh,Oa=eg,ou=oo,op=wa,sp=np(Array,"Array",function(e,t){this._t=op(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,Oa(1)):t=="keys"?Oa(0,r):t=="values"?Oa(0,e[r]):Oa(0,[r,e[r]])},"values");ou.Arguments=ou.Array,_o("keys"),_o("values"),_o("entries");for(var su=sp,lp=vo,up=ya.exports,lu=Pr,uu=oo,fu=Lr.exports,cu=fu("iterator"),vu=fu("toStringTag"),du=uu.Array,hu={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},gu=lp(hu),bo=0;bo<gu.length;bo++){var Aa=gu[bo],fp=hu[Aa],pu=window[Aa],ur=pu&&pu.prototype,Ia;if(ur&&(ur[cu]||lu(ur,cu,du),ur[vu]||lu(ur,vu,Aa),uu[Aa]=du,fp))for(Ia in su)ur[Ia]||up(ur,Ia,su[Ia],!0)}function ka(e,t){for(var r=Object.create(null),i=e.split(","),a=0;a<i.length;a++)r[i[a]]=!0;return t?n=>!!r[n.toLowerCase()]:n=>!!r[n]}var cp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",vp=ka(cp);function mu(e){return!!e||e===""}var dp=ka("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 wo(e){if(ne(e)){for(var t={},r=0;r<e.length;r++){var i=e[r],a=Ee(i)?_u(i):wo(i);if(a)for(var n in a)t[n]=a[n]}return t}else{if(Ee(e))return e;if(We(e))return e}}var hp=/;(?![^(]*\))/g,gp=/:(.+)/;function _u(e){var t={};return e.split(hp).forEach(r=>{if(r){var i=r.split(gp);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function pp(e){var t="";if(!e||Ee(e))return t;for(var r in e){var i=e[r],a=r.startsWith("--")?r:Je(r);(Ee(i)||typeof i=="number"&&dp(a))&&(t+="".concat(a,":").concat(i,";"))}return t}function yo(e){var t="";if(Ee(e))t=e;else if(ne(e))for(var r=0;r<e.length;r++){var i=yo(e[r]);i&&(t+=i+" ")}else if(We(e))for(var a in e)e[a]&&(t+=a+" ");return t.trim()}var Se={},ci=[],mt=()=>{},mp=()=>!1,_p=/^on[^a-z]/,Ma=e=>_p.test(e),xo=e=>e.startsWith("onUpdate:"),ce=Object.assign,So=(e,t)=>{var r=e.indexOf(t);r>-1&&e.splice(r,1)},bp=Object.prototype.hasOwnProperty,ie=(e,t)=>bp.call(e,t),ne=Array.isArray,vi=e=>di(e)==="[object Map]",wp=e=>di(e)==="[object Set]",oe=e=>typeof e=="function",Ee=e=>typeof e=="string",Eo=e=>typeof e=="symbol",We=e=>e!==null&&typeof e=="object",bu=e=>We(e)&&oe(e.then)&&oe(e.catch),yp=Object.prototype.toString,di=e=>yp.call(e),To=e=>di(e).slice(8,-1),_t=e=>di(e)==="[object Object]",Co=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ra=ka(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),La=e=>{var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}},xp=/-(\w)/g,Ht=La(e=>e.replace(xp,(t,r)=>r?r.toUpperCase():"")),Sp=/\B([A-Z])/g,Je=La(e=>e.replace(Sp,"-$1").toLowerCase()),Oo=La(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ao=La(e=>e?"on".concat(Oo(e)):""),hi=(e,t)=>!Object.is(e,t),Io=(e,t)=>{for(var r=0;r<e.length;r++)e[r](t)},Pa=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Ep=e=>{var t=parseFloat(e);return isNaN(t)?e:t},wu,Tp=()=>wu||(wu=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"||typeof window!="undefined"?window:{}),gi=`
`,yu=44,Na="#007aff",Cp=/^([a-z-]+:)?\/\//i,Op=/^data:.*,.*/,xu="wxs://",Su="json://",Ap="wxsModules",Ip="renderjsModules",kp="onPageScroll",Mp="onReachBottom",Rp="onWxsInvokeCallMethod",ko=0;function Mo(e){var t=Date.now(),r=ko?t-ko:0;ko=t;for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;n<i;n++)a[n-1]=arguments[n];return"[".concat(t,"][").concat(r,"ms][").concat(e,"]\uFF1A").concat(a.map(o=>JSON.stringify(o)).join(" "))}function Lp(e){var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}}function Pp(e){return Lp(e)}function Np(e){return e.indexOf("/")===0}function Ro(e){return Np(e)?e:"/"+e}function pi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r;return function(){if(e){for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];r=e.apply(t,a),e=null}return r}}function Eu(e,t){if(!!Ee(t)){t=t.replace(/\[(\d+)\]/g,".$1");var r=t.split("."),i=r[0];return e||(e={}),r.length===1?e[i]:Eu(e[i],r.slice(1).join("."))}}function Tu(e){return Ht(e.substring(5))}var Dp=pi(()=>{var e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(i,a){if(i.startsWith("data-")&&this.tagName.startsWith("UNI-")){var n=this.__uniDataset||(this.__uniDataset={});n[Tu(i)]=a}t.call(this,i,a)};var r=e.removeAttribute;e.removeAttribute=function(i){this.__uniDataset&&i.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[Tu(i)],r.call(this,i)}});function Lo(e){return ce({},e.dataset,e.__uniDataset)}function mi(e){return{passive:e}}function Po(e){var{id:t,offsetTop:r,offsetLeft:i}=e;return{id:t,dataset:Lo(e),offsetTop:r,offsetLeft:i}}function Bp(e,t,r){var i=document.fonts;if(i){var a=new FontFace(e,t,r);return a.load().then(()=>{i.add&&i.add(a)})}return new Promise(n=>{var o=document.createElement("style"),s=[];if(r){var{style:l,weight:u,stretch:f,unicodeRange:d,variant:p,featureSettings:g}=r;l&&s.push("font-style:".concat(l)),u&&s.push("font-weight:".concat(u)),f&&s.push("font-stretch:".concat(f)),d&&s.push("unicode-range:".concat(d)),p&&s.push("font-variant:".concat(p)),g&&s.push("font-feature-settings:".concat(g))}o.innerText='@font-face{font-family:"'.concat(e,'";src:').concat(t,";").concat(s.join(";"),"}"),document.head.appendChild(o),n()})}function Fp(e,t,r){if(Ee(e)){var i=document.querySelector(e);if(i){var{height:a,top:n}=i.getBoundingClientRect();e=n+window.pageYOffset,r&&(e-=a)}}e<0&&(e=0);var o=document.documentElement,{clientHeight:s,scrollHeight:l}=o;if(e=Math.min(e,l-s),t===0){o.scrollTop=document.body.scrollTop=e;return}if(window.scrollY!==e){var u=f=>{if(f<=0){window.scrollTo(0,e);return}var d=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+d/f*10),u(f-10)})};u(t)}}function $p(){return typeof __channelId__=="string"&&__channelId__}function zp(e,t){switch(To(t)){case"Function":return"function() { [native code] }";default:return t}}function Up(e,t,r){if($p())return r.push(t.replace("at ","uni-app:///")),console[e].apply(console,r);var i=r.map(function(a){var n=di(a).toLowerCase();if(["[object object]","[object array]","[object module]"].indexOf(n)!==-1)try{a="---BEGIN:JSON---"+JSON.stringify(a,zp)+"---END:JSON---"}catch(s){a=n}else if(a===null)a="---NULL---";else if(a===void 0)a="---UNDEFINED---";else{var o=To(a).toUpperCase();o==="NUMBER"||o==="BOOLEAN"?a="---BEGIN:"+o+"---"+a+"---END:"+o+"---":a=String(a)}return a});return i.join("---COMMA---")+" "+t}function Hp(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];var n=Up(e,t,i);n&&console[e](n)}function Nr(e){if(typeof e=="function"){if(window.plus)return e();document.addEventListener("plusready",e)}}function Wp(e,t){return t&&(t.capture&&(e+="Capture"),t.once&&(e+="Once"),t.passive&&(e+="Passive")),"on".concat(Oo(Ht(e)))}var Cu=/(?:Once|Passive|Capture)$/;function No(e){var t;if(Cu.test(e)){t={};for(var r;r=e.match(Cu);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Je(e.slice(2)),t]}var Do=(()=>({stop:1,prevent:1<<1,self:1<<2}))(),Ou="class",Bo="style",Vp="innerHTML",jp="textContent",Da=".vShow",Au=".vOwnerId",Iu=".vRenderjs",Fo="change:",ku=1,Yp=2,qp=3,Xp=4,Zp=5,Kp=6,Gp=7,Jp=8,Qp=9,em=10,tm=12,rm=15,im=20;function am(e,t,r){var{clearTimeout:i,setTimeout:a}=r,n,o=function(){i(n);var s=()=>e.apply(this,arguments);n=a(s,t)};return o.cancel=function(){i(n)},o}var Mu=function(){};Mu.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 a(){i.off(e,a),t.apply(r,arguments)}return a._=t,this.on(e,a,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),i=0,a=r.length;for(i;i<a;i++)r[i].fn.apply(r[i].ctx,t);return this},off:function(e,t){var r=this.e||(this.e={}),i=r[e],a=[];if(i&&t)for(var n=0,o=i.length;n<o;n++)i[n].fn!==t&&i[n].fn._!==t&&a.push(i[n]);return a.length?r[e]=a:delete r[e],this}};var Ru=Mu,nm=Array.isArray,om=e=>e!==null&&typeof e=="object",sm=["{","}"];class lm{constructor(){this._caches=Object.create(null)}interpolate(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:sm;if(!r)return[t];var a=this._caches[t];return a||(a=cm(t,i),this._caches[t]=a),vm(a,r)}}var um=/^(?:\d)+/,fm=/^(?:\w)+/;function cm(e,t){for(var[r,i]=t,a=[],n=0,o="";n<e.length;){var s=e[n++];if(s===r){o&&a.push({type:"text",value:o}),o="";var l="";for(s=e[n++];s!==void 0&&s!==i;)l+=s,s=e[n++];var u=s===i,f=um.test(l)?"list":u&&fm.test(l)?"named":"unknown";a.push({value:l,type:f})}else o+=s}return o&&a.push({type:"text",value:o}),a}function vm(e,t){var r=[],i=0,a=nm(t)?"list":om(t)?"named":"unknown";if(a==="unknown")return r;for(;i<e.length;){var n=e[i];switch(n.type){case"text":r.push(n.value);break;case"list":r.push(t[parseInt(n.value,10)]);break;case"named":a==="named"&&r.push(t[n.value]);break}i++}return r}var _i="zh-Hans",Ba="zh-Hant",Wt="en",$o="fr",zo="es",dm=Object.prototype.hasOwnProperty,Lu=(e,t)=>dm.call(e,t),hm=new lm;function gm(e,t){return!!t.find(r=>e.indexOf(r)!==-1)}function pm(e,t){return t.find(r=>e.indexOf(r)===0)}function Pu(e,t){if(!!e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),e==="chinese")return _i;if(e.indexOf("zh")===0)return e.indexOf("-hans")>-1?_i:e.indexOf("-hant")>-1||gm(e,["-tw","-hk","-mo","-cht"])?Ba:_i;var r=pm(e,[Wt,$o,zo]);if(r)return r}}class mm{constructor(t){var{locale:r,fallbackLocale:i,messages:a,watcher:n,formater:o}=t;this.locale=Wt,this.fallbackLocale=Wt,this.message={},this.messages={},this.watchers=[],i&&(this.fallbackLocale=i),this.formater=o||hm,this.messages=a||{},this.setLocale(r||Wt),n&&this.watchLocale(n)}setLocale(t){var r=this.locale;this.locale=Pu(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,a=this.messages[t];a?i?Object.assign(a,r):Object.keys(r).forEach(n=>{Lu(a,n)||(a[n]=r[n])}):this.messages[t]=r}f(t,r,i){return this.formater.interpolate(t,r,i).join("")}t(t,r,i){var a=this.message;return typeof r=="string"?(r=Pu(r,this.messages),r&&(a=this.messages[r])):i=r,Lu(a,t)?this.formater.interpolate(a[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}function _m(e,t){e.$watchLocale?e.$watchLocale(r=>{t.setLocale(r)}):e.$watch(()=>e.$locale,r=>{t.setLocale(r)})}function bm(){return typeof uni!="undefined"&&uni.getLocale?uni.getLocale():typeof window!="undefined"&&window.getLocale?window.getLocale():Wt}function wm(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=bm()),typeof r!="string"&&(r=typeof __uniConfig!="undefined"&&__uniConfig.fallbackLocale||Wt);var a=new mm({locale:e,fallbackLocale:r,messages:t,watcher:i}),n=(o,s)=>{if(typeof getApp!="function")n=function(u,f){return a.t(u,f)};else{var l=!1;n=function(u,f){var d=getApp().$vm;return d&&(d.$locale,l||(l=!0,_m(d,a))),a.t(u,f)}}return n(o,s)};return{i18n:a,f(o,s,l){return a.f(o,s,l)},t(o,s){return n(o,s)},add(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return a.add(o,s,l)},watch(o){return a.watchLocale(o)},getLocale(){return a.getLocale()},setLocale(o){return a.setLocale(o)}}}var ym=pi(()=>typeof __uniConfig!="undefined"&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length),bi;function Qe(){if(!bi){var e;if(typeof getApp=="function"?e=weex.requireModule("plus").getLanguage():e=plus.webview.currentWebview().getStyle().locale,bi=wm(e),ym()){var t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(r=>bi.add(r,__uniConfig.locales[r])),bi.setLocale(e)}}return bi}function bt(e,t,r){return t.reduce((i,a,n)=>(i[e+a]=r[n],i),{})}var xm=pi(()=>{var e="uni.picker.",t=["done","cancel"];Qe().add(Wt,bt(e,t,["Done","Cancel"]),!1),Qe().add(zo,bt(e,t,["OK","Cancelar"]),!1),Qe().add($o,bt(e,t,["OK","Annuler"]),!1),Qe().add(_i,bt(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1),Qe().add(Ba,bt(e,t,["\u5B8C\u6210","\u53D6\u6D88"]),!1)}),Sm=pi(()=>{var e="uni.button.",t=["feedback.title","feedback.send"];Qe().add(Wt,bt(e,t,["feedback","send"]),!1),Qe().add(zo,bt(e,t,["realimentaci\xF3n","enviar"]),!1),Qe().add($o,bt(e,t,["retour d'information","envoyer"]),!1),Qe().add(_i,bt(e,t,["\u95EE\u9898\u53CD\u9988","\u53D1\u9001"]),!1),Qe().add(Ba,bt(e,t,["\u554F\u984C\u53CD\u994B","\u767C\u9001"]),!1)});function Em(e){var t=new Ru;return{on(r,i){return t.on(r,i)},once(r,i){return t.once(r,i)},off(r,i){return t.off(r,i)},emit(r){for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;n<i;n++)a[n-1]=arguments[n];return t.emit(r,...a)},subscribe(r,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;t[a?"once":"on"]("".concat(e,".").concat(r),i)},unsubscribe(r,i){t.off("".concat(e,".").concat(r),i)},subscribeHandler(r,i,a){t.emit("".concat(e,".").concat(r),i,a)}}}var Nu="invokeViewApi",Du="invokeServiceApi",Tm=1,Cm=(e,t,r)=>{var{subscribe:i,publishHandler:a}=UniViewJSBridge,n=r?Tm++:0;r&&i(Du+"."+n,r,!0),a(Du,{id:n,name:e,args:t})},Fa=Object.create(null);function $a(e,t){return e+"."+t}function Om(e,t){UniViewJSBridge.subscribe($a(e,Nu),t?t(Bu):Bu)}function wt(e,t,r){t=$a(e,t),Fa[t]||(Fa[t]=r)}function Am(e,t){t=$a(e,t),delete Fa[t]}function Bu(e,t){var{id:r,name:i,args:a}=e;i=$a(t,i);var n=s=>{r&&UniViewJSBridge.publishHandler(Nu+"."+r,s)},o=Fa[i];o?o(a,n):n({})}var Im=ce(Em("service"),{invokeServiceMethod:Cm}),km=350,Fu=10,za=mi(!0),wi;function yi(){wi&&(clearTimeout(wi),wi=null)}var $u=0,zu=0;function Mm(e){if(yi(),e.touches.length===1){var{pageX:t,pageY:r}=e.touches[0];$u=t,zu=r,wi=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)},km)}}function Rm(e){if(!!wi){if(e.touches.length!==1)return yi();var{pageX:t,pageY:r}=e.touches[0];if(Math.abs(t-$u)>Fu||Math.abs(r-zu)>Fu)return yi()}}function Lm(){window.addEventListener("touchstart",Mm,za),window.addEventListener("touchmove",Rm,za),window.addEventListener("touchend",yi,za),window.addEventListener("touchcancel",yi,za)}function Uu(e,t){var r=Number(e);return isNaN(r)?t:r}function Pm(){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 Nm(){var e=__uniConfig.globalStyle||{},t=Uu(e.rpxCalcMaxDeviceWidth,960),r=Uu(e.rpxCalcBaseDeviceWidth,375);function i(){var a=Pm();a=a<=t?a:r,document.documentElement.style.fontSize=a/23.4375+"px"}i(),document.addEventListener("DOMContentLoaded",i),window.addEventListener("load",i),window.addEventListener("resize",i)}function Dm(){Nm(),Dp(),Lm()}var Bm=_a,Fm=function(e,t){return!!e&&Bm(function(){t?e.call(null,function(){},1):e.call(null)})},Uo=fo,$m=Wl,Hu=eu,Wu=_a,Ho=[].sort,Vu=[1,2,3];Uo(Uo.P+Uo.F*(Wu(function(){Vu.sort(void 0)})||!Wu(function(){Vu.sort(null)})||!Fm(Ho)),"Array",{sort:function(t){return t===void 0?Ho.call(Hu(this)):Ho.call(Hu(this),$m(t))}});var yt;class zm{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.active=!0,this.effects=[],this.cleanups=[],!t&&yt&&(this.parent=yt,this.index=(yt.scopes||(yt.scopes=[])).push(this)-1)}run(t){if(this.active){var r=yt;try{return yt=this,t()}finally{yt=r}}}on(){yt=this}off(){yt=this.parent}stop(t){if(this.active){var r,i;for(r=0,i=this.effects.length;r<i;r++)this.effects[r].stop();for(r=0,i=this.cleanups.length;r<i;r++)this.cleanups[r]();if(this.scopes)for(r=0,i=this.scopes.length;r<i;r++)this.scopes[r].stop(!0);if(this.parent&&!t){var a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.active=!1}}}function Um(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:yt;t&&t.active&&t.effects.push(e)}var Wo=e=>{var t=new Set(e);return t.w=0,t.n=0,t},ju=e=>(e.w&Vt)>0,Yu=e=>(e.n&Vt)>0,Hm=e=>{var{deps:t}=e;if(t.length)for(var r=0;r<t.length;r++)t[r].w|=Vt},Wm=e=>{var{deps:t}=e;if(t.length){for(var r=0,i=0;i<t.length;i++){var a=t[i];ju(a)&&!Yu(a)?a.delete(e):t[r++]=a,a.w&=~Vt,a.n&=~Vt}t.length=r}},Vo=new WeakMap,xi=0,Vt=1,jo=30,ct,fr=Symbol(""),Yo=Symbol("");class qo{constructor(t){var r=arguments.length>1&&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=[],this.parent=void 0,Um(this,i)}run(){if(!this.active)return this.fn();for(var t=ct,r=jt;t;){if(t===this)return;t=t.parent}try{return this.parent=ct,ct=this,jt=!0,Vt=1<<++xi,xi<=jo?Hm(this):qu(this),this.fn()}finally{xi<=jo&&Wm(this),Vt=1<<--xi,ct=this.parent,jt=r,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ct===this?this.deferStop=!0:this.active&&(qu(this),this.onStop&&this.onStop(),this.active=!1)}}function qu(e){var{deps:t}=e;if(t.length){for(var r=0;r<t.length;r++)t[r].delete(e);t.length=0}}var jt=!0,Xu=[];function Dr(){Xu.push(jt),jt=!1}function Br(){var e=Xu.pop();jt=e===void 0?!0:e}function et(e,t,r){if(jt&&ct){var i=Vo.get(e);i||Vo.set(e,i=new Map);var a=i.get(r);a||i.set(r,a=Wo()),Zu(a)}}function Zu(e,t){var r=!1;xi<=jo?Yu(e)||(e.n|=Vt,r=!ju(e)):r=!e.has(ct),r&&(e.add(ct),ct.deps.push(e))}function Lt(e,t,r,i,a,n){var o=Vo.get(e);if(!!o){var s=[];if(t==="clear")s=[...o.values()];else if(r==="length"&&ne(e))o.forEach((f,d)=>{(d==="length"||d>=i)&&s.push(f)});else switch(r!==void 0&&s.push(o.get(r)),t){case"add":ne(e)?Co(r)&&s.push(o.get("length")):(s.push(o.get(fr)),vi(e)&&s.push(o.get(Yo)));break;case"delete":ne(e)||(s.push(o.get(fr)),vi(e)&&s.push(o.get(Yo)));break;case"set":vi(e)&&s.push(o.get(fr));break}if(s.length===1)s[0]&&Xo(s[0]);else{var l=[];for(var u of s)u&&l.push(...u);Xo(Wo(l))}}}function Xo(e,t){for(var r of ne(e)?e:[...e])(r!==ct||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}var Vm=ka("__proto__,__v_isRef,__isVue"),Ku=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Eo)),jm=Zo(),Ym=Zo(!1,!0),qm=Zo(!0),Gu=Xm();function Xm(){var e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(){for(var r=me(this),i=0,a=this.length;i<a;i++)et(r,"get",i+"");for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];var l=r[t](...o);return l===-1||l===!1?r[t](...o.map(me)):l}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(){Dr();for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var n=me(this)[t].apply(this,i);return Br(),n}}),e}function Zo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return function(i,a,n){if(a==="__v_isReactive")return!e;if(a==="__v_isReadonly")return e;if(a==="__v_isShallow")return t;if(a==="__v_raw"&&n===(e?t?f0:sf:t?of:nf).get(i))return i;var o=ne(i);if(!e&&o&&ie(Gu,a))return Reflect.get(Gu,a,n);var s=Reflect.get(i,a,n);if((Eo(a)?Ku.has(a):Vm(a))||(e||et(i,"get",a),t))return s;if($e(s)){var l=!o||!Co(a);return l?s.value:s}return We(s)?e?lf(s):ke(s):s}}var Zm=Ju(),Km=Ju(!0);function Ju(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return function(r,i,a,n){var o=r[i];if(Si(o)&&$e(o)&&!$e(a))return!1;if(!e&&!Si(a)&&(uf(a)||(a=me(a),o=me(o)),!ne(r)&&$e(o)&&!$e(a)))return o.value=a,!0;var s=ne(r)&&Co(i)?Number(i)<r.length:ie(r,i),l=Reflect.set(r,i,a,n);return r===me(n)&&(s?hi(a,o)&&Lt(r,"set",i,a):Lt(r,"add",i,a)),l}}function Gm(e,t){var r=ie(e,t);e[t];var i=Reflect.deleteProperty(e,t);return i&&r&&Lt(e,"delete",t,void 0),i}function Jm(e,t){var r=Reflect.has(e,t);return(!Eo(t)||!Ku.has(t))&&et(e,"has",t),r}function Qm(e){return et(e,"iterate",ne(e)?"length":fr),Reflect.ownKeys(e)}var Qu={get:jm,set:Zm,deleteProperty:Gm,has:Jm,ownKeys:Qm},e0={get:qm,set(e,t){return!0},deleteProperty(e,t){return!0}},t0=ce({},Qu,{get:Ym,set:Km}),Ko=e=>e,Ua=e=>Reflect.getPrototypeOf(e);function Ha(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 a=me(e),n=me(t);t!==n&&!r&&et(a,"get",t),!r&&et(a,"get",n);var{has:o}=Ua(a),s=i?Ko:r?Qo:Ei;if(o.call(a,t))return s(e.get(t));if(o.call(a,n))return s(e.get(n));e!==a&&e.get(t)}function Wa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.__v_raw,i=me(r),a=me(e);return e!==a&&!t&&et(i,"has",e),!t&&et(i,"has",a),e===a?r.has(e):r.has(e)||r.has(a)}function Va(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e=e.__v_raw,!t&&et(me(e),"iterate",fr),Reflect.get(e,"size",e)}function ef(e){e=me(e);var t=me(this),r=Ua(t),i=r.has.call(t,e);return i||(t.add(e),Lt(t,"add",e,e)),this}function tf(e,t){t=me(t);var r=me(this),{has:i,get:a}=Ua(r),n=i.call(r,e);n||(e=me(e),n=i.call(r,e));var o=a.call(r,e);return r.set(e,t),n?hi(t,o)&&Lt(r,"set",e,t):Lt(r,"add",e,t),this}function rf(e){var t=me(this),{has:r,get:i}=Ua(t),a=r.call(t,e);a||(e=me(e),a=r.call(t,e)),i&&i.call(t,e);var n=t.delete(e);return a&&Lt(t,"delete",e,void 0),n}function af(){var e=me(this),t=e.size!==0,r=e.clear();return t&&Lt(e,"clear",void 0,void 0),r}function ja(e,t){return function(i,a){var n=this,o=n.__v_raw,s=me(o),l=t?Ko:e?Qo:Ei;return!e&&et(s,"iterate",fr),o.forEach((u,f)=>i.call(a,l(u),l(f),n))}}function Ya(e,t,r){return function(){var i=this.__v_raw,a=me(i),n=vi(a),o=e==="entries"||e===Symbol.iterator&&n,s=e==="keys"&&n,l=i[e](...arguments),u=r?Ko:t?Qo:Ei;return!t&&et(a,"iterate",s?Yo:fr),{next(){var{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:o?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Yt(e){return function(){return e==="delete"?!1:this}}function r0(){var e={get(n){return Ha(this,n)},get size(){return Va(this)},has:Wa,add:ef,set:tf,delete:rf,clear:af,forEach:ja(!1,!1)},t={get(n){return Ha(this,n,!1,!0)},get size(){return Va(this)},has:Wa,add:ef,set:tf,delete:rf,clear:af,forEach:ja(!1,!0)},r={get(n){return Ha(this,n,!0)},get size(){return Va(this,!0)},has(n){return Wa.call(this,n,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:ja(!0,!1)},i={get(n){return Ha(this,n,!0,!0)},get size(){return Va(this,!0)},has(n){return Wa.call(this,n,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:ja(!0,!0)},a=["keys","values","entries",Symbol.iterator];return a.forEach(n=>{e[n]=Ya(n,!1,!1),r[n]=Ya(n,!0,!1),t[n]=Ya(n,!1,!0),i[n]=Ya(n,!0,!0)}),[e,r,t,i]}var[i0,a0,n0,o0]=r0();function Go(e,t){var r=t?e?o0:n0:e?a0:i0;return(i,a,n)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?i:Reflect.get(ie(r,a)&&a in i?r:i,a,n)}var s0={get:Go(!1,!1)},l0={get:Go(!1,!0)},u0={get:Go(!0,!1)},nf=new WeakMap,of=new WeakMap,sf=new WeakMap,f0=new WeakMap;function c0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function v0(e){return e.__v_skip||!Object.isExtensible(e)?0:c0(To(e))}function ke(e){return Si(e)?e:Jo(e,!1,Qu,s0,nf)}function d0(e){return Jo(e,!1,t0,l0,of)}function lf(e){return Jo(e,!0,e0,u0,sf)}function Jo(e,t,r,i,a){if(!We(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;var n=a.get(e);if(n)return n;var o=v0(e);if(o===0)return e;var s=new Proxy(e,o===2?i:r);return a.set(e,s),s}function Fr(e){return Si(e)?Fr(e.__v_raw):!!(e&&e.__v_isReactive)}function Si(e){return!!(e&&e.__v_isReadonly)}function uf(e){return!!(e&&e.__v_isShallow)}function ff(e){return Fr(e)||Si(e)}function me(e){var t=e&&e.__v_raw;return t?me(t):e}function qa(e){return Pa(e,"__v_skip",!0),e}var Ei=e=>We(e)?ke(e):e,Qo=e=>We(e)?lf(e):e;function cf(e){jt&&ct&&(e=me(e),Zu(e.dep||(e.dep=Wo())))}function vf(e,t){e=me(e),e.dep&&Xo(e.dep)}function $e(e){return!!(e&&e.__v_isRef===!0)}function F(e){return df(e,!1)}function es(e){return df(e,!0)}function df(e,t){return $e(e)?e:new h0(e,t)}class h0{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:me(t),this._value=r?t:Ei(t)}get value(){return cf(this),this._value}set value(t){t=this.__v_isShallow?t:me(t),hi(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Ei(t),vf(this))}}function g0(e){return $e(e)?e.value:e}var p0={get:(e,t,r)=>g0(Reflect.get(e,t,r)),set:(e,t,r,i)=>{var a=e[t];return $e(a)&&!$e(r)?(a.value=r,!0):Reflect.set(e,t,r,i)}};function hf(e){return Fr(e)?e:new Proxy(e,p0)}class m0{constructor(t,r,i,a){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new qo(t,()=>{this._dirty||(this._dirty=!0,vf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=i}get value(){var t=me(this);return cf(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function _0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i,a,n=oe(e);n?(i=e,a=mt):(i=e.get,a=e.set);var o=new m0(i,a,n||!a,r);return o}function qt(e,t,r,i){var a;try{a=i?e(...i):e()}catch(n){Xa(n,t,r)}return a}function vt(e,t,r,i){if(oe(e)){var a=qt(e,t,r,i);return a&&bu(a)&&a.catch(s=>{Xa(s,t,r)}),a}for(var n=[],o=0;o<e.length;o++)n.push(vt(e[o],t,r,i));return n}function Xa(e,t,r){if(t&&t.vnode,t){for(var i=t.parent,a=t.proxy,n=r;i;){var o=i.ec;if(o){for(var s=0;s<o.length;s++)if(o[s](e,a,n)===!1)return}i=i.parent}var l=t.appContext.config.errorHandler;if(l){qt(l,null,10,[e,a,n]);return}}b0(e)}function b0(e,t,r){e instanceof Error?console.error(e.message+`
`+e.stack):console.error(e)}var Za=!1,ts=!1,tt=[],Pt=0,Ti=[],Ci=null,$r=0,Oi=[],Xt=null,zr=0,gf=Promise.resolve(),rs=null,is=null;function Ur(e){var t=rs||gf;return e?t.then(this?e.bind(this):e):t}function w0(e){for(var t=Pt+1,r=tt.length;t<r;){var i=t+r>>>1,a=Ai(tt[i]);a<e?t=i+1:r=i}return t}function pf(e){(!tt.length||!tt.includes(e,Za&&e.allowRecurse?Pt+1:Pt))&&e!==is&&(e.id==null?tt.push(e):tt.splice(w0(e.id),0,e),mf())}function mf(){!Za&&!ts&&(ts=!0,rs=gf.then(wf))}function y0(e){var t=tt.indexOf(e);t>Pt&&tt.splice(t,1)}function _f(e,t,r,i){ne(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&r.push(e),mf()}function x0(e){_f(e,Ci,Ti,$r)}function S0(e){_f(e,Xt,Oi,zr)}function as(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Ti.length){for(is=t,Ci=[...new Set(Ti)],Ti.length=0,$r=0;$r<Ci.length;$r++)Ci[$r]();Ci=null,$r=0,is=null,as(e,t)}}function bf(e){if(Oi.length){var t=[...new Set(Oi)];if(Oi.length=0,Xt){Xt.push(...t);return}for(Xt=t,Xt.sort((r,i)=>Ai(r)-Ai(i)),zr=0;zr<Xt.length;zr++)Xt[zr]();Xt=null,zr=0}}var Ai=e=>e.id==null?1/0:e.id;function wf(e){ts=!1,Za=!0,as(e),tt.sort((i,a)=>Ai(i)-Ai(a));var t=mt;try{for(Pt=0;Pt<tt.length;Pt++){var r=tt[Pt];r&&r.active!==!1&&qt(r,null,14)}}finally{Pt=0,tt.length=0,bf(),Za=!1,rs=null,(tt.length||Ti.length||Oi.length)&&wf(e)}}function E0(e,t){if(!e.isUnmounted){for(var r=e.vnode.props||Se,i=arguments.length,a=new Array(i>2?i-2:0),n=2;n<i;n++)a[n-2]=arguments[n];var o=a,s=t.startsWith("update:"),l=s&&t.slice(7);if(l&&l in r){var u="".concat(l==="modelValue"?"model":l,"Modifiers"),{number:f,trim:d}=r[u]||Se;d?o=a.map(m=>m.trim()):f&&(o=a.map(Ep))}var p,g=r[p=Ao(t)]||r[p=Ao(Ht(t))];!g&&s&&(g=r[p=Ao(Je(t))]),g&&vt(g,e,6,o);var y=r[p+"Once"];if(y){if(!e.emitted)e.emitted={};else if(e.emitted[p])return;e.emitted[p]=!0,vt(y,e,6,o)}}}function yf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=t.emitsCache,a=i.get(e);if(a!==void 0)return a;var n=e.emits,o={},s=!1;if(!oe(e)){var l=u=>{var f=yf(u,t,!0);f&&(s=!0,ce(o,f))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!n&&!s?(i.set(e,null),null):(ne(n)?n.forEach(u=>o[u]=null):ce(o,n),i.set(e,o),o)}function Ka(e,t){return!e||!Ma(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,Je(t))||ie(e,t))}var dt=null,xf=null;function Ga(e){var t=dt;return dt=e,xf=e&&e.type.__scopeId||null,t}function T0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:dt;if(!t||e._n)return e;var r=function(){r._d&&Yf(-1);var i=Ga(t),a=e(...arguments);return Ga(i),r._d&&Yf(1),a};return r._n=!0,r._c=!0,r._d=!0,r}function ZT(){}function ns(e){var{type:t,vnode:r,proxy:i,withProxy:a,props:n,propsOptions:[o],slots:s,attrs:l,emit:u,render:f,renderCache:d,data:p,setupState:g,ctx:y,inheritAttrs:m}=e,w,h,b=Ga(e);try{if(r.shapeFlag&4){var c=a||i;w=St(f.call(c,c,d,n,g,p,y)),h=l}else{var v=t;w=St(v.length>1?v(n,{attrs:l,slots:s,emit:u}):v(n,null)),h=t.props?l:C0(l)}}catch(C){Xa(C,e,1),w=I(Hr)}var _=w;if(h&&m!==!1){var x=Object.keys(h),{shapeFlag:E}=_;x.length&&E&7&&(o&&x.some(xo)&&(h=O0(h,o)),_=Mi(_,h))}return r.dirs&&(_.dirs=_.dirs?_.dirs.concat(r.dirs):r.dirs),r.transition&&(_.transition=r.transition),w=_,Ga(b),w}var C0=e=>{var t;for(var r in e)(r==="class"||r==="style"||Ma(r))&&((t||(t={}))[r]=e[r]);return t},O0=(e,t)=>{var r={};for(var i in e)(!xo(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function A0(e,t,r){var{props:i,children:a,component:n}=e,{props:o,children:s,patchFlag:l}=t,u=n.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return i?Sf(i,o,u):!!o;if(l&8)for(var f=t.dynamicProps,d=0;d<f.length;d++){var p=f[d];if(o[p]!==i[p]&&!Ka(u,p))return!0}}else return(a||s)&&(!s||!s.$stable)?!0:i===o?!1:i?o?Sf(i,o,u):!0:!!o;return!1}function Sf(e,t,r){var i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(var a=0;a<i.length;a++){var n=i[a];if(t[n]!==e[n]&&!Ka(r,n))return!0}return!1}function I0(e,t){for(var{vnode:r,parent:i}=e;i&&i.subTree===r;)(r=i.vnode).el=t,i=i.parent}var k0=e=>e.__isSuspense;function M0(e,t){t&&t.pendingBranch?ne(e)?t.effects.push(...e):t.effects.push(e):S0(e)}function ze(e,t){if(Ue){var r=Ue.provides,i=Ue.parent&&Ue.parent.provides;i===r&&(r=Ue.provides=Object.create(i)),r[e]=t}}function _e(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=Ue||dt;if(i){var a=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(a&&e in a)return a[e];if(arguments.length>1)return r&&oe(t)?t.call(i.proxy):t}}function R0(e,t){return os(e,null,t)}var Ef={};function W(e,t,r){return os(e,t,r)}function os(e,t){var{immediate:r,deep:i,flush:a,onTrack:n,onTrigger:o}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Se,s=Ue,l,u=!1,f=!1;if($e(e)?(l=()=>e.value,u=uf(e)):Fr(e)?(l=()=>e,i=!0):ne(e)?(f=!0,u=e.some(Fr),l=()=>e.map(b=>{if($e(b))return b.value;if(Fr(b))return cr(b);if(oe(b))return qt(b,s,2)})):oe(e)?t?l=()=>qt(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return p&&p(),vt(e,s,3,[g])}:l=mt,t&&i){var d=l;l=()=>cr(d())}var p,g=b=>{p=h.onStop=()=>{qt(b,s,4)}};if(Ri)return g=mt,t?r&&vt(t,s,3,[l(),f?[]:void 0,g]):l(),mt;var y=f?[]:Ef,m=()=>{if(!!h.active)if(t){var b=h.run();(i||u||(f?b.some((c,v)=>hi(c,y[v])):hi(b,y)))&&(p&&p(),vt(t,s,3,[b,y===Ef?void 0:y,g]),y=b)}else h.run()};m.allowRecurse=!!t;var w;a==="sync"?w=m:a==="post"?w=()=>Xe(m,s&&s.suspense):w=()=>{!s||s.isMounted?x0(m):m()};var h=new qo(l,w);return t?r?m():y=h.run():a==="post"?Xe(h.run.bind(h),s&&s.suspense):h.run(),()=>{h.stop(),s&&s.scope&&So(s.scope.effects,h)}}function L0(e,t,r){var i=this.proxy,a=Ee(e)?e.includes(".")?Tf(i,e):()=>i[e]:e.bind(i,i),n;oe(t)?n=t:(n=t.handler,r=t);var o=Ue;Wr(this);var s=os(a,n.bind(i),r);return o?Wr(o):gr(),s}function Tf(e,t){var r=t.split(".");return()=>{for(var i=e,a=0;a<r.length&&i;a++)i=i[r[a]];return i}}function cr(e,t){if(!We(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),$e(e))cr(e.value,t);else if(ne(e))for(var r=0;r<e.length;r++)cr(e[r],t);else if(wp(e)||vi(e))e.forEach(a=>{cr(a,t)});else if(_t(e))for(var i in e)cr(e[i],t);return e}function P0(e){return oe(e)?{setup:e,name:e.name}:e}var ss=e=>!!e.type.__asyncLoader,Cf=e=>e.type.__isKeepAlive;function ls(e,t){Of(e,"a",t)}function N0(e,t){Of(e,"da",t)}function Of(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ue,i=e.__wdc||(e.__wdc=()=>{for(var n=r;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(Ja(t,i,r),r)for(var a=r.parent;a&&a.parent;)Cf(a.parent.vnode)&&D0(i,t,r,a),a=a.parent}function D0(e,t,r,i){var a=Ja(t,e,i,!0);Zt(()=>{So(i[t],a)},r)}function Ja(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ue,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(r){var a=r[e]||(r[e]=[]),n=t.__weh||(t.__weh=function(){if(!r.isUnmounted){Dr(),Wr(r);for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];var u=vt(t,r,e,s);return gr(),Br(),u}});return i?a.unshift(n):a.push(n),n}}var Nt=e=>function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue;return(!Ri||e==="sp")&&Ja(e,t,r)},Af=Nt("bm"),Re=Nt("m"),B0=Nt("bu"),F0=Nt("u"),Ce=Nt("bum"),Zt=Nt("um"),$0=Nt("sp"),z0=Nt("rtg"),U0=Nt("rtc");function H0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue;Ja("ec",e,t)}var us=!0;function W0(e){var t=Mf(e),r=e.proxy,i=e.ctx;us=!1,t.beforeCreate&&If(t.beforeCreate,e,"bc");var{data:a,computed:n,methods:o,watch:s,provide:l,inject:u,created:f,beforeMount:d,mounted:p,beforeUpdate:g,updated:y,activated:m,deactivated:w,beforeDestroy:h,beforeUnmount:b,destroyed:c,unmounted:v,render:_,renderTracked:x,renderTriggered:E,errorCaptured:C,serverPrefetch:O,expose:M,inheritAttrs:R,components:U,directives:te,filters:L}=t,H=null;if(u&&V0(u,i,H,e.appContext.config.unwrapInjectedRef),o)for(var q in o){var re=o[q];oe(re)&&(i[q]=re.bind(r))}if(a&&function(){var le=a.call(r,r);We(le)&&(e.data=ke(le))}(),us=!0,n){var V=function(le){var J=n[le],xe=oe(J)?J.bind(r,r):oe(J.get)?J.get.bind(r,r):mt,we=!oe(J)&&oe(J.set)?J.set.bind(r):mt,Ve=ee({get:xe,set:we});Object.defineProperty(i,le,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:sr=>Ve.value=sr})};for(var K in n)V(K)}if(s)for(var ae in s)kf(s[ae],i,r,ae);if(l){var Te=oe(l)?l.call(r):l;Reflect.ownKeys(Te).forEach(le=>{ze(le,Te[le])})}f&&If(f,e,"c");function se(le,J){ne(J)?J.forEach(xe=>le(xe.bind(r))):J&&le(J.bind(r))}if(se(Af,d),se(Re,p),se(B0,g),se(F0,y),se(ls,m),se(N0,w),se(H0,C),se(U0,x),se(z0,E),se(Ce,b),se(Zt,v),se($0,O),ne(M))if(M.length){var he=e.exposed||(e.exposed={});M.forEach(le=>{Object.defineProperty(he,le,{get:()=>r[le],set:J=>r[le]=J})})}else e.exposed||(e.exposed={});_&&e.render===mt&&(e.render=_),R!=null&&(e.inheritAttrs=R),U&&(e.components=U),te&&(e.directives=te)}function V0(e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;ne(e)&&(e=fs(e));var i=function(n){var o=e[n],s=void 0;We(o)?"default"in o?s=_e(o.from||n,o.default,!0):s=_e(o.from||n):s=_e(o),$e(s)&&r?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:l=>s.value=l}):t[n]=s};for(var a in e)i(a)}function If(e,t,r){vt(ne(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function kf(e,t,r,i){var a=i.includes(".")?Tf(r,i):()=>r[i];if(Ee(e)){var n=t[e];oe(n)&&W(a,n)}else if(oe(e))W(a,e.bind(r));else if(We(e))if(ne(e))e.forEach(s=>kf(s,t,r,i));else{var o=oe(e.handler)?e.handler.bind(r):t[e.handler];oe(o)&&W(a,o,e)}}function Mf(e){var t=e.type,{mixins:r,extends:i}=t,{mixins:a,optionsCache:n,config:{optionMergeStrategies:o}}=e.appContext,s=n.get(t),l;return s?l=s:!a.length&&!r&&!i?l=t:(l={},a.length&&a.forEach(u=>Qa(l,u,o,!0)),Qa(l,t,o)),n.set(t,l),l}function Qa(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,{mixins:a,extends:n}=t;n&&Qa(e,n,r,!0),a&&a.forEach(l=>Qa(e,l,r,!0));for(var o in t)if(!(i&&o==="expose")){var s=j0[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var j0={data:Rf,props:vr,emits:vr,methods:vr,computed:vr,beforeCreate:Ye,created:Ye,beforeMount:Ye,mounted:Ye,beforeUpdate:Ye,updated:Ye,beforeDestroy:Ye,beforeUnmount:Ye,destroyed:Ye,unmounted:Ye,activated:Ye,deactivated:Ye,errorCaptured:Ye,serverPrefetch:Ye,components:vr,directives:vr,watch:q0,provide:Rf,inject:Y0};function Rf(e,t){return t?e?function(){return ce(oe(e)?e.call(this,this):e,oe(t)?t.call(this,this):t)}:t:e}function Y0(e,t){return vr(fs(e),fs(t))}function fs(e){if(ne(e)){for(var t={},r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function Ye(e,t){return e?[...new Set([].concat(e,t))]:t}function vr(e,t){return e?ce(ce(Object.create(null),e),t):t}function q0(e,t){if(!e)return t;if(!t)return e;var r=ce(Object.create(null),e);for(var i in t)r[i]=Ye(e[i],t[i]);return r}function X0(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,a={},n={};Pa(n,tn,1),e.propsDefaults=Object.create(null),Lf(e,t,a,n);for(var o in e.propsOptions[0])o in a||(a[o]=void 0);r?e.props=i?a:d0(a):e.type.props?e.props=a:e.props=n,e.attrs=n}function Z0(e,t,r,i){var{props:a,attrs:n,vnode:{patchFlag:o}}=e,s=me(a),[l]=e.propsOptions,u=!1;if((i||o>0)&&!(o&16)){if(o&8)for(var f=e.vnode.dynamicProps,d=0;d<f.length;d++){var p=f[d];if(!Ka(e.emitsOptions,p)){var g=t[p];if(l)if(ie(n,p))g!==n[p]&&(n[p]=g,u=!0);else{var y=Ht(p);a[y]=cs(l,s,y,g,e,!1)}else g!==n[p]&&(n[p]=g,u=!0)}}}else{Lf(e,t,a,n)&&(u=!0);var m;for(var w in s)(!t||!ie(t,w)&&((m=Je(w))===w||!ie(t,m)))&&(l?r&&(r[w]!==void 0||r[m]!==void 0)&&(a[w]=cs(l,s,w,void 0,e,!0)):delete a[w]);if(n!==s)for(var h in n)(!t||!ie(t,h)&&!0)&&(delete n[h],u=!0)}u&&Lt(e,"set","$attrs")}function Lf(e,t,r,i){var[a,n]=e.propsOptions,o=!1,s;if(t){for(var l in t)if(!Ra(l)){var u=t[l],f=void 0;a&&ie(a,f=Ht(l))?!n||!n.includes(f)?r[f]=u:(s||(s={}))[f]=u:Ka(e.emitsOptions,l)||(!(l in i)||u!==i[l])&&(i[l]=u,o=!0)}}if(n)for(var d=me(r),p=s||Se,g=0;g<n.length;g++){var y=n[g];r[y]=cs(a,d,y,p[y],e,!ie(p,y))}return o}function cs(e,t,r,i,a,n){var o=e[r];if(o!=null){var s=ie(o,"default");if(s&&i===void 0){var l=o.default;if(o.type!==Function&&oe(l)){var{propsDefaults:u}=a;r in u?i=u[r]:(Wr(a),i=u[r]=l.call(null,t),gr())}else i=l}o[0]&&(n&&!s?i=!1:o[1]&&(i===""||i===Je(r))&&(i=!0))}return i}function Pf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=t.propsCache,a=i.get(e);if(a)return a;var n=e.props,o={},s=[],l=!1;if(!oe(e)){var u=c=>{l=!0;var[v,_]=Pf(c,t,!0);ce(o,v),_&&s.push(..._)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!n&&!l)return i.set(e,ci),ci;if(ne(n))for(var f=0;f<n.length;f++){var d=Ht(n[f]);Nf(d)&&(o[d]=Se)}else if(n)for(var p in n){var g=Ht(p);if(Nf(g)){var y=n[p],m=o[g]=ne(y)||oe(y)?{type:y}:y;if(m){var w=Ff(Boolean,m.type),h=Ff(String,m.type);m[0]=w>-1,m[1]=h<0||w<h,(w>-1||ie(m,"default"))&&s.push(g)}}}var b=[o,s];return i.set(e,b),b}function Nf(e){return e[0]!=="$"}function Df(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Bf(e,t){return Df(e)===Df(t)}function Ff(e,t){return ne(t)?t.findIndex(r=>Bf(r,e)):oe(t)&&Bf(t,e)?0:-1}var $f=e=>e[0]==="_"||e==="$stable",vs=e=>ne(e)?e.map(St):[St(e)],K0=(e,t,r)=>{var i=T0(function(){return vs(t(...arguments))},r);return i._c=!1,i},zf=(e,t,r)=>{var i=e._ctx;for(var a in e)if(!$f(a)){var n=e[a];oe(n)?t[a]=K0(a,n,i):n!=null&&function(){var o=vs(n);t[a]=()=>o}()}},Uf=(e,t)=>{var r=vs(t);e.slots.default=()=>r},G0=(e,t)=>{if(e.vnode.shapeFlag&32){var r=t._;r?(e.slots=me(t),Pa(t,"_",r)):zf(t,e.slots={})}else e.slots={},t&&Uf(e,t);Pa(e.slots,tn,1)},J0=(e,t,r)=>{var{vnode:i,slots:a}=e,n=!0,o=Se;if(i.shapeFlag&32){var s=t._;s?r&&s===1?n=!1:(ce(a,t),!r&&s===1&&delete a._):(n=!t.$stable,zf(t,a)),o=t}else t&&(Uf(e,t),o={default:1});if(n)for(var l in a)!$f(l)&&!(l in o)&&delete a[l]};function Ii(e,t){var r=dt;if(r===null)return e;for(var i=nn(r)||r.proxy,a=e.dirs||(e.dirs=[]),n=0;n<t.length;n++){var[o,s,l,u=Se]=t[n];oe(o)&&(o={mounted:o,updated:o}),o.deep&&cr(s),a.push({dir:o,instance:i,value:s,oldValue:void 0,arg:l,modifiers:u})}return e}function dr(e,t,r,i){for(var a=e.dirs,n=t&&t.dirs,o=0;o<a.length;o++){var s=a[o];n&&(s.oldValue=n[o].value);var l=s.dir[i];l&&(Dr(),vt(l,r,8,[e.el,s,e,t]),Br())}}function Hf(){return{app:null,config:{isNativeTag:mp,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var Q0=0;function e_(e,t){return function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;oe(i)||(i=Object.assign({},i)),a!=null&&!We(a)&&(a=null);var n=Hf(),o=new Set,s=!1,l=n.app={_uid:Q0++,_component:i,_props:a,_container:null,_context:n,_instance:null,version:w_,get config(){return n.config},set config(u){},use(u){for(var f=arguments.length,d=new Array(f>1?f-1:0),p=1;p<f;p++)d[p-1]=arguments[p];return o.has(u)||(u&&oe(u.install)?(o.add(u),u.install(l,...d)):oe(u)&&(o.add(u),u(l,...d))),l},mixin(u){return n.mixins.includes(u)||n.mixins.push(u),l},component(u,f){return f?(n.components[u]=f,l):n.components[u]},directive(u,f){return f?(n.directives[u]=f,l):n.directives[u]},mount(u,f,d){if(!s){var p=I(i,a);return p.appContext=n,f&&t?t(p,u):e(p,u,d),s=!0,l._container=u,u.__vue_app__=l,nn(p.component)||p.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,f){return n.provides[u]=f,l}};return l}}function ds(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(ne(e)){e.forEach((m,w)=>ds(m,t&&(ne(t)?t[w]:t),r,i,a));return}if(!(ss(i)&&!a)){var n=i.shapeFlag&4?nn(i.component)||i.component.proxy:i.el,o=a?null:n,{i:s,r:l}=e,u=t&&t.r,f=s.refs===Se?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(Ee(u)?(f[u]=null,ie(d,u)&&(d[u]=null)):$e(u)&&(u.value=null)),oe(l))qt(l,s,12,[o,f]);else{var p=Ee(l),g=$e(l);if(p||g){var y=()=>{if(e.f){var m=p?f[l]:l.value;a?ne(m)&&So(m,n):ne(m)?m.includes(n)||m.push(n):p?(f[l]=[n],ie(d,l)&&(d[l]=f[l])):(l.value=[n],e.k&&(f[e.k]=l.value))}else p?(f[l]=o,ie(d,l)&&(d[l]=o)):$e(l)&&(l.value=o,e.k&&(f[e.k]=o))};o?(y.id=-1,Xe(y,r)):y()}}}}var Xe=M0;function t_(e){return r_(e)}function r_(e,t){var r=Tp();r.__VUE__=!0;var{insert:i,remove:a,patchProp:n,createElement:o,createText:s,createComment:l,setText:u,setElementText:f,parentNode:d,nextSibling:p,setScopeId:g=mt,cloneNode:y,insertStaticContent:m}=e,w=function(S,T,k){var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,$=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,j=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,B=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!!T.dynamicChildren;if(S!==T){S&&!ki(S,T)&&(P=Ve(S),he(S,N,$,!0),S=null),T.patchFlag===-2&&(z=!1,T.dynamicChildren=null);var{type:D,ref:Q,shapeFlag:G}=T;switch(D){case hs:h(S,T,k,P);break;case Hr:b(S,T,k,P);break;case gs:S==null&&c(T,k,P,j);break;case xt:te(S,T,k,P,N,$,j,B,z);break;default:G&1?x(S,T,k,P,N,$,j,B,z):G&6?L(S,T,k,P,N,$,j,B,z):(G&64||G&128)&&D.process(S,T,k,P,N,$,j,B,z,Ne)}Q!=null&&N&&ds(Q,S&&S.ref,$,T||S,!T)}},h=(S,T,k,P)=>{if(S==null)i(T.el=s(T.children),k,P);else{var N=T.el=S.el;T.children!==S.children&&u(N,T.children)}},b=(S,T,k,P)=>{S==null?i(T.el=l(T.children||""),k,P):T.el=S.el},c=(S,T,k,P)=>{[S.el,S.anchor]=m(S.children,T,k,P,S.el,S.anchor)},v=(S,T,k)=>{for(var{el:P,anchor:N}=S,$;P&&P!==N;)$=p(P),i(P,T,k),P=$;i(N,T,k)},_=S=>{for(var{el:T,anchor:k}=S,P;T&&T!==k;)P=p(T),a(T),T=P;a(k)},x=(S,T,k,P,N,$,j,B,z)=>{j=j||T.type==="svg",S==null?E(T,k,P,N,$,j,B,z):M(S,T,N,$,j,B,z)},E=(S,T,k,P,N,$,j,B)=>{var z,D,{type:Q,props:G,shapeFlag:Z,transition:fe,patchFlag:Be,dirs:Ae}=S;if(S.el&&y!==void 0&&Be===-1)z=S.el=y(S.el);else{if(z=S.el=o(S.type,$,G&&G.is,G),Z&8?f(z,S.children):Z&16&&O(S.children,z,null,P,N,$&&Q!=="foreignObject",j,B),Ae&&dr(S,null,P,"created"),G){for(var A in G)A!=="value"&&!Ra(A)&&n(z,A,null,G[A],$,S.children,P,N,we);"value"in G&&n(z,"value",null,G.value),(D=G.onVnodeBeforeMount)&&Et(D,P,S)}C(z,S,S.scopeId,j,P)}Object.defineProperty(z,"__vueParentComponent",{value:P,enumerable:!1}),Ae&&dr(S,null,P,"beforeMount");var Y=(!N||N&&!N.pendingBranch)&&fe&&!fe.persisted;Y&&fe.beforeEnter(z),i(z,T,k),((D=G&&G.onVnodeMounted)||Y||Ae)&&Xe(()=>{D&&Et(D,P,S),Y&&fe.enter(z),Ae&&dr(S,null,P,"mounted")},N)},C=(S,T,k,P,N)=>{if(k&&g(S,k),P)for(var $=0;$<P.length;$++)g(S,P[$]);if(N){var j=N.subTree;if(T===j){var B=N.vnode;C(S,B,B.scopeId,B.slotScopeIds,N.parent)}}},O=function(S,T,k,P,N,$,j,B){for(var z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:0,D=z;D<S.length;D++){var Q=S[D]=B?Kt(S[D]):St(S[D]);w(null,Q,T,k,P,N,$,j,B)}},M=(S,T,k,P,N,$,j)=>{var B=T.el=S.el,{patchFlag:z,dynamicChildren:D,dirs:Q}=T;z|=S.patchFlag&16;var G=S.props||Se,Z=T.props||Se,fe;k&&hr(k,!1),(fe=Z.onVnodeBeforeUpdate)&&Et(fe,k,T,S),Q&&dr(T,S,k,"beforeUpdate"),k&&hr(k,!0);var Be=N&&T.type!=="foreignObject";if(D?R(S.dynamicChildren,D,B,k,P,Be,$):j||K(S,T,B,null,k,P,Be,$,!1),z>0){if(z&16)U(B,T,G,Z,k,P,N);else if(z&2&&G.class!==Z.class&&n(B,"class",null,Z.class,N),z&4&&n(B,"style",G.style,Z.style,N),z&8)for(var Ae=T.dynamicProps,A=0;A<Ae.length;A++){var Y=Ae[A],X=G[Y],ge=Z[Y];(ge!==X||Y==="value")&&n(B,Y,X,ge,N,S.children,k,P,we)}z&1&&S.children!==T.children&&f(B,T.children)}else!j&&D==null&&U(B,T,G,Z,k,P,N);((fe=Z.onVnodeUpdated)||Q)&&Xe(()=>{fe&&Et(fe,k,T,S),Q&&dr(T,S,k,"updated")},P)},R=(S,T,k,P,N,$,j)=>{for(var B=0;B<T.length;B++){var z=S[B],D=T[B],Q=z.el&&(z.type===xt||!ki(z,D)||z.shapeFlag&70)?d(z.el):k;w(z,D,Q,null,P,N,$,j,!0)}},U=(S,T,k,P,N,$,j)=>{if(k!==P){for(var B in P)if(!Ra(B)){var z=P[B],D=k[B];z!==D&&B!=="value"&&n(S,B,D,z,j,T.children,N,$,we)}if(k!==Se)for(var Q in k)!Ra(Q)&&!(Q in P)&&n(S,Q,k[Q],null,j,T.children,N,$,we);"value"in P&&n(S,"value",k.value,P.value)}},te=(S,T,k,P,N,$,j,B,z)=>{var D=T.el=S?S.el:s(""),Q=T.anchor=S?S.anchor:s(""),{patchFlag:G,dynamicChildren:Z,slotScopeIds:fe}=T;fe&&(B=B?B.concat(fe):fe),S==null?(i(D,k,P),i(Q,k,P),O(T.children,k,Q,N,$,j,B,z)):G>0&&G&64&&Z&&S.dynamicChildren?(R(S.dynamicChildren,Z,k,N,$,j,B),(T.key!=null||N&&T===N.subTree)&&Wf(S,T,!0)):K(S,T,k,Q,N,$,j,B,z)},L=(S,T,k,P,N,$,j,B,z)=>{T.slotScopeIds=B,S==null?T.shapeFlag&512?N.ctx.activate(T,k,P,j,z):H(T,k,P,N,$,j,z):q(S,T,z)},H=(S,T,k,P,N,$,j)=>{var B=S.component=d_(S,P,N);if(Cf(S)&&(B.ctx.renderer=Ne),h_(B),B.asyncDep){if(N&&N.registerDep(B,re),!S.el){var z=B.subTree=I(Hr);b(null,z,T,k)}return}re(B,S,T,k,N,$,j)},q=(S,T,k)=>{var P=T.component=S.component;if(A0(S,T,k))if(P.asyncDep&&!P.asyncResolved){V(P,T,k);return}else P.next=T,y0(P.update),P.update();else T.component=S.component,T.el=S.el,P.vnode=T},re=(S,T,k,P,N,$,j)=>{var B=()=>{if(S.isMounted){var{next:ue,bu:Fe,u:Ge,parent:De,vnode:pt}=S,lr=ue,Rt;hr(S,!1),ue?(ue.el=pt.el,V(S,ue,j)):ue=pt,Fe&&Io(Fe),(Rt=ue.props&&ue.props.onVnodeBeforeUpdate)&&Et(Rt,De,ue,pt),hr(S,!0);var Mr=ns(S),Ut=S.subTree;S.subTree=Mr,w(Ut,Mr,d(Ut.el),Ve(Ut),S,N,$),ue.el=Mr.el,lr===null&&I0(S,Mr.el),Ge&&Xe(Ge,N),(Rt=ue.props&&ue.props.onVnodeUpdated)&&Xe(()=>Et(Rt,De,ue,pt),N)}else{var Q,{el:G,props:Z}=T,{bm:fe,m:Be,parent:Ae}=S,A=ss(T);if(hr(S,!1),fe&&Io(fe),!A&&(Q=Z&&Z.onVnodeBeforeMount)&&Et(Q,Ae,T),hr(S,!0),G&&da){var Y=()=>{S.subTree=ns(S),da(G,S.subTree,S,N,null)};A?T.type.__asyncLoader().then(()=>!S.isUnmounted&&Y()):Y()}else{var X=S.subTree=ns(S);w(null,X,k,P,S,N,$),T.el=X.el}if(Be&&Xe(Be,N),!A&&(Q=Z&&Z.onVnodeMounted)){var ge=T;Xe(()=>Et(Q,Ae,ge),N)}T.shapeFlag&256&&S.a&&Xe(S.a,N),S.isMounted=!0,T=k=P=null}},z=S.effect=new qo(B,()=>pf(S.update),S.scope),D=S.update=z.run.bind(z);D.id=S.uid,hr(S,!0),D()},V=(S,T,k)=>{T.component=S;var P=S.vnode.props;S.vnode=T,S.next=null,Z0(S,T.props,P,k),J0(S,T.children,k),Dr(),as(void 0,S.update),Br()},K=function(S,T,k,P,N,$,j,B){var z=arguments.length>8&&arguments[8]!==void 0?arguments[8]:!1,D=S&&S.children,Q=S?S.shapeFlag:0,G=T.children,{patchFlag:Z,shapeFlag:fe}=T;if(Z>0){if(Z&128){Te(D,G,k,P,N,$,j,B,z);return}else if(Z&256){ae(D,G,k,P,N,$,j,B,z);return}}fe&8?(Q&16&&we(D,N,$),G!==D&&f(k,G)):Q&16?fe&16?Te(D,G,k,P,N,$,j,B,z):we(D,N,$,!0):(Q&8&&f(k,""),fe&16&&O(G,k,P,N,$,j,B,z))},ae=(S,T,k,P,N,$,j,B,z)=>{S=S||ci,T=T||ci;var D=S.length,Q=T.length,G=Math.min(D,Q),Z;for(Z=0;Z<G;Z++){var fe=T[Z]=z?Kt(T[Z]):St(T[Z]);w(S[Z],fe,k,null,N,$,j,B,z)}D>Q?we(S,N,$,!0,!1,G):O(T,k,P,N,$,j,B,z,G)},Te=(S,T,k,P,N,$,j,B,z)=>{for(var D=0,Q=T.length,G=S.length-1,Z=Q-1;D<=G&&D<=Z;){var fe=S[D],Be=T[D]=z?Kt(T[D]):St(T[D]);if(ki(fe,Be))w(fe,Be,k,null,N,$,j,B,z);else break;D++}for(;D<=G&&D<=Z;){var Ae=S[G],A=T[Z]=z?Kt(T[Z]):St(T[Z]);if(ki(Ae,A))w(Ae,A,k,null,N,$,j,B,z);else break;G--,Z--}if(D>G){if(D<=Z)for(var Y=Z+1,X=Y<Q?T[Y].el:P;D<=Z;)w(null,T[D]=z?Kt(T[D]):St(T[D]),k,X,N,$,j,B,z),D++}else if(D>Z)for(;D<=G;)he(S[D],N,$,!0),D++;else{var ge=D,ue=D,Fe=new Map;for(D=ue;D<=Z;D++){var Ge=T[D]=z?Kt(T[D]):St(T[D]);Ge.key!=null&&Fe.set(Ge.key,D)}var De,pt=0,lr=Z-ue+1,Rt=!1,Mr=0,Ut=new Array(lr);for(D=0;D<lr;D++)Ut[D]=0;for(D=ge;D<=G;D++){var li=S[D];if(pt>=lr){he(li,N,$,!0);continue}var Rr=void 0;if(li.key!=null)Rr=Fe.get(li.key);else for(De=ue;De<=Z;De++)if(Ut[De-ue]===0&&ki(li,T[De])){Rr=De;break}Rr===void 0?he(li,N,$,!0):(Ut[Rr-ue]=D+1,Rr>=Mr?Mr=Rr:Rt=!0,w(li,T[Rr],k,null,N,$,j,B,z),pt++)}var Nh=Rt?i_(Ut):ci;for(De=Nh.length-1,D=lr-1;D>=0;D--){var Rl=ue+D,Dh=T[Rl],Bh=Rl+1<Q?T[Rl+1].el:P;Ut[D]===0?w(null,Dh,k,Bh,N,$,j,B,z):Rt&&(De<0||D!==Nh[De]?se(Dh,k,Bh,2):De--)}}},se=function(S,T,k,P){var N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,{el:$,type:j,transition:B,children:z,shapeFlag:D}=S;if(D&6){se(S.component.subTree,T,k,P);return}if(D&128){S.suspense.move(T,k,P);return}if(D&64){j.move(S,T,k,Ne);return}if(j===xt){i($,T,k);for(var Q=0;Q<z.length;Q++)se(z[Q],T,k,P);i(S.anchor,T,k);return}if(j===gs){v(S,T,k);return}var G=P!==2&&D&1&&B;if(G)if(P===0)B.beforeEnter($),i($,T,k),Xe(()=>B.enter($),N);else{var{leave:Z,delayLeave:fe,afterLeave:Be}=B,Ae=()=>i($,T,k),A=()=>{Z($,()=>{Ae(),Be&&Be()})};fe?fe($,Ae,A):A()}else i($,T,k)},he=function(S,T,k){var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,{type:$,props:j,ref:B,children:z,dynamicChildren:D,shapeFlag:Q,patchFlag:G,dirs:Z}=S;if(B!=null&&ds(B,null,k,S,!0),Q&256){T.ctx.deactivate(S);return}var fe=Q&1&&Z,Be=!ss(S),Ae;if(Be&&(Ae=j&&j.onVnodeBeforeUnmount)&&Et(Ae,T,S),Q&6)xe(S.component,k,P);else{if(Q&128){S.suspense.unmount(k,P);return}fe&&dr(S,null,T,"beforeUnmount"),Q&64?S.type.remove(S,T,k,N,Ne,P):D&&($!==xt||G>0&&G&64)?we(D,T,k,!1,!0):($===xt&&G&384||!N&&Q&16)&&we(z,T,k),P&&le(S)}(Be&&(Ae=j&&j.onVnodeUnmounted)||fe)&&Xe(()=>{Ae&&Et(Ae,T,S),fe&&dr(S,null,T,"unmounted")},k)},le=S=>{var{type:T,el:k,anchor:P,transition:N}=S;if(T===xt){J(k,P);return}if(T===gs){_(S);return}var $=()=>{a(k),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(S.shapeFlag&1&&N&&!N.persisted){var{leave:j,delayLeave:B}=N,z=()=>j(k,$);B?B(S.el,$,z):z()}else $()},J=(S,T)=>{for(var k;S!==T;)k=p(S),a(S),S=k;a(T)},xe=(S,T,k)=>{var{bum:P,scope:N,update:$,subTree:j,um:B}=S;P&&Io(P),N.stop(),$&&($.active=!1,he(j,S,T,k)),B&&Xe(B,T),Xe(()=>{S.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},we=function(S,T,k){for(var P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,$=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,j=$;j<S.length;j++)he(S[j],T,k,P,N)},Ve=S=>S.shapeFlag&6?Ve(S.component.subTree):S.shapeFlag&128?S.suspense.next():p(S.anchor||S.el),sr=(S,T,k)=>{if(S==null)T._vnode&&he(T._vnode,null,null,!0);else{var P=T.__vueParent;w(T._vnode||null,S,T,null,P,null,k)}T._vnode=S},Ne={p:w,um:he,m:se,r:le,mt:H,mc:O,pc:K,pbc:R,n:Ve,o:e},va,da;return t&&([va,da]=t(Ne)),{render:sr,hydrate:va,createApp:e_(sr,va)}}function hr(e,t){var{effect:r,update:i}=e;r.allowRecurse=i.allowRecurse=t}function Wf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=e.children,a=t.children;if(ne(i)&&ne(a))for(var n=0;n<i.length;n++){var o=i[n],s=a[n];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=a[n]=Kt(a[n]),s.el=o.el),r||Wf(o,s))}}function i_(e){var t=e.slice(),r=[0],i,a,n,o,s,l=e.length;for(i=0;i<l;i++){var u=e[i];if(u!==0){if(a=r[r.length-1],e[a]<u){t[i]=a,r.push(i);continue}for(n=0,o=r.length-1;n<o;)s=n+o>>1,e[r[s]]<u?n=s+1:o=s;u<e[r[n]]&&(n>0&&(t[i]=r[n-1]),r[n]=i)}}for(n=r.length,o=r[n-1];n-- >0;)r[n]=o,o=t[o];return r}var a_=e=>e.__isTeleport,n_=Symbol(),xt=Symbol(void 0),hs=Symbol(void 0),Hr=Symbol(void 0),gs=Symbol(void 0),Vf=null,jf=1;function Yf(e){jf+=e}function en(e){return e?e.__v_isVNode===!0:!1}function ki(e,t){return e.type===t.type&&e.key===t.key}var tn="__vInternal",qf=e=>{var{key:t}=e;return t!=null?t:null},rn=e=>{var{ref:t,ref_key:r,ref_for:i}=e;return t!=null?Ee(t)||$e(t)||oe(t)?{i:dt,r:t,k:r,f:!!i}:t:null};function o_(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,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:e===xt?0:1,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,s=arguments.length>7&&arguments[7]!==void 0?arguments[7]:!1,l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qf(t),ref:t&&rn(t),scopeId:xf,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:n,patchFlag:i,dynamicProps:a,dynamicChildren:null,appContext:null};return s?(ps(l,r),n&128&&e.normalize(l)):r&&(l.shapeFlag|=Ee(r)?8:16),jf>0&&!o&&Vf&&(l.patchFlag>0||n&6)&&l.patchFlag!==32&&Vf.push(l),l}var I=s_;function s_(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,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1;if((!e||e===n_)&&(e=Hr),en(e)){var o=Mi(e,t,!0);return r&&ps(o,r),o}if(__(e)&&(e=e.__vccOpts),t){t=l_(t);var{class:s,style:l}=t;s&&!Ee(s)&&(t.class=yo(s)),We(l)&&(ff(l)&&!ne(l)&&(l=ce({},l)),t.style=wo(l))}var u=Ee(e)?1:k0(e)?128:a_(e)?64:We(e)?4:oe(e)?2:0;return o_(e,t,r,i,a,u,n,!0)}function l_(e){return e?ff(e)||tn in e?ce({},e):e:null}function Mi(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{props:i,ref:a,patchFlag:n,children:o}=e,s=t?rt(i||{},t):i,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&qf(s),ref:t&&t.ref?r&&a?ne(a)?a.concat(rn(t)):[a,rn(t)]:rn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xt?n===-1?16:n|16:n,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Mi(e.ssContent),ssFallback:e.ssFallback&&Mi(e.ssFallback),el:e.el,anchor:e.anchor};return l}function u_(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return I(hs,null,e,t)}function St(e){return e==null||typeof e=="boolean"?I(Hr):ne(e)?I(xt,null,e.slice()):typeof e=="object"?Kt(e):I(hs,null,String(e))}function Kt(e){return e.el===null||e.memo?e:Mi(e)}function ps(e,t){var r=0,{shapeFlag:i}=e;if(t==null)t=null;else if(ne(t))r=16;else if(typeof t=="object")if(i&65){var a=t.default;a&&(a._c&&(a._d=!1),ps(e,a()),a._c&&(a._d=!0));return}else{r=32;var n=t._;!n&&!(tn in t)?t._ctx=dt:n===3&&dt&&(dt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else oe(t)?(t={default:t,_ctx:dt},r=32):(t=String(t),i&64?(r=16,t=[u_(t)]):r=8);e.children=t,e.shapeFlag|=r}function rt(){for(var e={},t=0;t<arguments.length;t++){var r=t<0||arguments.length<=t?void 0:arguments[t];for(var i in r)if(i==="class")e.class!==r.class&&(e.class=yo([e.class,r.class]));else if(i==="style")e.style=wo([e.style,r.style]);else if(Ma(i)){var a=e[i],n=r[i];n&&a!==n&&!(ne(a)&&a.includes(n))&&(e[i]=a?[].concat(a,n):n)}else i!==""&&(e[i]=r[i])}return e}function Et(e,t,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;vt(e,t,7,[r,i])}var ms=e=>e?Xf(e)?nn(e)||e.proxy:ms(e.parent):null,an=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=>ms(e.parent),$root:e=>ms(e.root),$emit:e=>e.emit,$options:e=>Mf(e),$forceUpdate:e=>()=>pf(e.update),$nextTick:e=>Ur.bind(e.proxy),$watch:e=>L0.bind(e)}),f_={get(e,t){var{_:r}=e,{ctx:i,setupState:a,data:n,props:o,accessCache:s,type:l,appContext:u}=r,f;if(t[0]!=="$"){var d=s[t];if(d!==void 0)switch(d){case 1:return a[t];case 2:return n[t];case 4:return i[t];case 3:return o[t]}else{if(a!==Se&&ie(a,t))return s[t]=1,a[t];if(n!==Se&&ie(n,t))return s[t]=2,n[t];if((f=r.propsOptions[0])&&ie(f,t))return s[t]=3,o[t];if(i!==Se&&ie(i,t))return s[t]=4,i[t];us&&(s[t]=0)}}var p=an[t],g,y;if(p)return t==="$attrs"&&et(r,"get",t),p(r);if((g=l.__cssModules)&&(g=g[t]))return g;if(i!==Se&&ie(i,t))return s[t]=4,i[t];if(y=u.config.globalProperties,ie(y,t))return y[t]},set(e,t,r){var{_:i}=e,{data:a,setupState:n,ctx:o}=i;return n!==Se&&ie(n,t)?(n[t]=r,!0):a!==Se&&ie(a,t)?(a[t]=r,!0):ie(i.props,t)||t[0]==="$"&&t.slice(1)in i?!1:(o[t]=r,!0)},has(e,t){var{_:{data:r,setupState:i,accessCache:a,ctx:n,appContext:o,propsOptions:s}}=e,l;return!!a[t]||r!==Se&&ie(r,t)||i!==Se&&ie(i,t)||(l=s[0])&&ie(l,t)||ie(n,t)||ie(an,t)||ie(o.config.globalProperties,t)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:ie(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}},c_=Hf(),v_=0;function d_(e,t,r){var i=e.type,a=(t?t.appContext:e.appContext)||c_,n={uid:v_++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new zm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Pf(i,a),emitsOptions:yf(i,a),emit:null,emitted:null,propsDefaults:Se,inheritAttrs:i.inheritAttrs,ctx:Se,data:Se,props:Se,attrs:Se,slots:Se,refs:Se,setupState:Se,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 n.ctx={_:n},n.root=t?t.root:n,n.emit=E0.bind(null,n),e.ce&&e.ce(n),n}var Ue=null,Dt=()=>Ue||dt,Wr=e=>{Ue=e,e.scope.on()},gr=()=>{Ue&&Ue.scope.off(),Ue=null};function Xf(e){return e.vnode.shapeFlag&4}var Ri=!1;function h_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ri=t;var{props:r,children:i}=e.vnode,a=Xf(e);X0(e,r,a,t),G0(e,i);var n=a?g_(e,t):void 0;return Ri=!1,n}function g_(e,t){var r=e.type;e.accessCache=Object.create(null),e.proxy=qa(new Proxy(e.ctx,f_));var{setup:i}=r;if(i){var a=e.setupContext=i.length>1?m_(e):null;Wr(e),Dr();var n=qt(i,e,0,[e.props,a]);if(Br(),gr(),bu(n)){if(n.then(gr,gr),t)return n.then(o=>{Zf(e,o,t)}).catch(o=>{Xa(o,e,0)});e.asyncDep=n}else Zf(e,n,t)}else Gf(e,t)}function Zf(e,t,r){oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:We(t)&&(e.setupState=hf(t)),Gf(e,r)}var Kf;function Gf(e,t,r){var i=e.type;if(!e.render){if(!t&&Kf&&!i.render){var a=i.template;if(a){var{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:l}=i,u=ce(ce({isCustomElement:n,delimiters:s},o),l);i.render=Kf(a,u)}}e.render=i.render||mt}Wr(e),Dr(),W0(e),Br(),gr()}function p_(e){return new Proxy(e.attrs,{get(t,r){return et(e,"get","$attrs"),t[r]}})}function m_(e){var t=i=>{e.exposed=i||{}},r;return{get attrs(){return r||(r=p_(e))},slots:e.slots,emit:e.emit,expose:t}}function nn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(hf(qa(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in an)return an[r](e)}}))}function __(e){return oe(e)&&"__vccOpts"in e}var ee=(e,t)=>_0(e,t,Ri);function b_(e,t,r){var i=arguments.length;return i===2?We(t)&&!ne(t)?en(t)?I(e,null,[t]):I(e,t):I(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&en(r)&&(r=[r]),I(e,t,r))}var w_="3.2.33",y_="http://www.w3.org/2000/svg",pr=typeof document!="undefined"?document:null,Jf=pr&&pr.createElement("template"),x_={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 a=t?pr.createElementNS(y_,e):pr.createElement(e,r?{is:r}:void 0);return e==="select"&&i&&i.multiple!=null&&a.setAttribute("multiple",i.multiple),a},createText:e=>pr.createTextNode(e),createComment:e=>pr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pr.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,a,n){var o=r?r.previousSibling:t.lastChild;if(a&&(a===n||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),r),!(a===n||!(a=a.nextSibling)););else{Jf.innerHTML=i?"<svg>".concat(e,"</svg>"):e;var s=Jf.content;if(i){for(var l=s.firstChild;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function S_(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 E_(e,t,r){var i=e.style,a=Ee(r);if(r&&!a){for(var n in r)_s(i,n,r[n]);if(t&&!Ee(t))for(var o in t)r[o]==null&&_s(i,o,"")}else{var s=i.display;a?t!==r&&(i.cssText=normalizeStyleValue(r)):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=s)}}var Qf=/\s*!important$/;function _s(e,t,r){if(ne(r))r.forEach(a=>_s(e,t,a));else if(r==null&&(r=""),r=normalizeStyleValue(r),t.startsWith("--"))e.setProperty(t,r);else{var i=normalizeStyleName(e,t);Qf.test(r)?e.setProperty(Je(i),r.replace(Qf,""),"important"):e[i]=r}}var ec="http://www.w3.org/1999/xlink";function T_(e,t,r,i,a){if(i&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(ec,t.slice(6,t.length)):e.setAttributeNS(ec,t,r);else{var n=vp(t);r==null||n&&!mu(r)?e.removeAttribute(t):e.setAttribute(t,n?"":r)}}function C_(e,t,r,i,a,n,o){if(t==="innerHTML"||t==="textContent"){i&&o(i,a,n),e[t]=r==null?"":r;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=r;var s=r==null?"":r;(e.value!==s||e.tagName==="OPTION")&&(e.value=s),r==null&&e.removeAttribute(t);return}var l=!1;if(r===""||r==null){var u=typeof e[t];u==="boolean"?r=mu(r):r==null&&u==="string"?(r="",l=!0):u==="number"&&(r=0,l=!0)}try{e[t]=r}catch(f){}l&&e.removeAttribute(t)}var[tc,O_]=(()=>{var e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=()=>performance.now());var r=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(r&&Number(r[1])<=53)}return[e,t]})(),bs=0,A_=Promise.resolve(),I_=()=>{bs=0},k_=()=>bs||(A_.then(I_),bs=tc());function M_(e,t,r,i){e.addEventListener(t,r,i)}function R_(e,t,r,i){e.removeEventListener(t,r,i)}function L_(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,n=e._vei||(e._vei={}),o=n[t];if(i&&o)o.value=i;else{var[s,l]=P_(t);if(i){var u=n[t]=N_(i,a);M_(e,s,u,l)}else o&&(R_(e,s,o,l),n[t]=void 0)}}var rc=/(?:Once|Passive|Capture)$/;function P_(e){var t;if(rc.test(e)){t={};for(var r;r=e.match(rc);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Je(e.slice(2)),t]}function N_(e,t){var r=i=>{var a=i.timeStamp||tc();(O_||a>=r.attached-1)&&vt(D_(i,r.value),t,5,[i])};return r.value=e,r.attached=k_(),r}function D_(e,t){if(ne(t)){var r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(i=>a=>!a._stopped&&i&&i(a))}else return t}var ic=/^on[a-z]/,B_=function(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,n=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0;t==="class"?S_(e,i,a):t==="style"?E_(e,r,i):Ma(t)?xo(t)||L_(e,t,r,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):F_(e,t,i,a))?C_(e,t,i,n,o,s,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),T_(e,t,i,a))};function F_(e,t,r,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&ic.test(t)&&oe(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ic.test(t)&&Ee(r)?!1:t in e}var $_=["ctrl","shift","alt","meta"],z_={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)=>$_.some(r=>e["".concat(r,"Key")]&&!t.includes(r))},ws=(e,t)=>function(r){for(var i=0;i<t.length;i++){var a=z_[t[i]];if(a&&a(r,t))return}for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];return e(r,...o)},Li={beforeMount(e,t,r){var{value:i}=t,{transition:a}=r;e._vod=e.style.display==="none"?"":e.style.display,a&&i?a.beforeEnter(e):Pi(e,i)},mounted(e,t,r){var{value:i}=t,{transition:a}=r;a&&i&&a.enter(e)},updated(e,t,r){var{value:i,oldValue:a}=t,{transition:n}=r;!i!=!a&&(n?i?(n.beforeEnter(e),Pi(e,!0),n.enter(e)):n.leave(e,()=>{Pi(e,!1)}):Pi(e,i))},beforeUnmount(e,t){var{value:r}=t;Pi(e,r)}};function Pi(e,t){e.style.display=t?e._vod:"none"}var U_=ce({patchProp:B_},x_),ac;function H_(){return ac||(ac=t_(U_))}var nc=function(){var e=H_().createApp(...arguments),{mount:t}=e;return e.mount=r=>{var i=W_(r);if(!!i){var a=e._component;!oe(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";var n=t(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),n}},e};function W_(e){if(Ee(e)){var t=document.querySelector(e);return t}return e}var oc=["top","left","right","bottom"],ys,on={},ot;function xs(){return!("CSS"in window)||typeof CSS.supports!="function"?ot="":CSS.supports("top: env(safe-area-inset-top)")?ot="env":CSS.supports("top: constant(safe-area-inset-top)")?ot="constant":ot="",ot}function sc(){if(ot=typeof ot=="string"?ot:xs(),!ot){oc.forEach(function(s){on[s]=0});return}function e(s,l){var u=s.style;Object.keys(l).forEach(function(f){var d=l[f];u[f]=d})}var t=[];function r(s){s?t.push(s):t.forEach(function(l){l()})}var i=!1;try{var a=Object.defineProperty({},"passive",{get:function(){i={passive:!0}}});window.addEventListener("test",null,a)}catch(s){}function n(s,l){var u=document.createElement("div"),f=document.createElement("div"),d=document.createElement("div"),p=document.createElement("div"),g=100,y=1e4,m={position:"absolute",width:g+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:ot+"(safe-area-inset-"+l+")"};e(u,m),e(f,m),e(d,{transition:"0s",animation:"none",width:"400px",height:"400px"}),e(p,{transition:"0s",animation:"none",width:"250%",height:"250%"}),u.appendChild(d),f.appendChild(p),s.appendChild(u),s.appendChild(f),r(function(){u.scrollTop=f.scrollTop=y;var h=u.scrollTop,b=f.scrollTop;function c(){this.scrollTop!==(this===u?h:b)&&(u.scrollTop=f.scrollTop=y,h=u.scrollTop,b=f.scrollTop,V_(l))}u.addEventListener("scroll",c,i),f.addEventListener("scroll",c,i)});var w=getComputedStyle(u);Object.defineProperty(on,l,{configurable:!0,get:function(){return parseFloat(w.paddingBottom)}})}var o=document.createElement("div");e(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),oc.forEach(function(s){n(o,s)}),document.body.appendChild(o),r(),ys=!0}function sn(e){return ys||sc(),on[e]}var ln=[];function V_(e){ln.length||setTimeout(function(){var t={};ln.forEach(function(r){t[r]=on[r]}),ln.length=0,un.forEach(function(r){r(t)})},0),ln.push(e)}var un=[];function j_(e){!xs()||(ys||sc(),typeof e=="function"&&un.push(e))}function Y_(e){var t=un.indexOf(e);t>=0&&un.splice(t,1)}var q_={get support(){return(typeof ot=="string"?ot:xs()).length!=0},get top(){return sn("top")},get left(){return sn("left")},get right(){return sn("right")},get bottom(){return sn("bottom")},onChange:j_,offChange:Y_},fn=q_,lc=ws(()=>{},["prevent"]);function cn(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Ss(){var e=document.documentElement.style,t=cn(e,"--window-top");return t?t+fn.top:0}function X_(){var e=document.documentElement.style,t=Ss(),r=cn(e,"--window-bottom"),i=cn(e,"--window-left"),a=cn(e,"--window-right");return{top:t,bottom:r?r+fn.bottom:0,left:i?i+fn.left:0,right:a?a+fn.right:0}}function Z_(e){var t=document.documentElement.style;Object.keys(e).forEach(r=>{t.setProperty(r,e[r])})}function vn(e){return Symbol(e)}function uc(e){return e=e+"",e.indexOf("rpx")!==-1||e.indexOf("upx")!==-1}function Vr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t)return K_(e);if(typeof e=="string"){var r=parseInt(e)||0;return uc(e)?uni.upx2px(r):r}return e}function K_(e){return uc(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,(t,r)=>uni.upx2px(parseFloat(r))+"px"):e}var G_="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",J_="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",Q_="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",eb="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",tb="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",dn="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",rb="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",ib="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",ab="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 hn(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 gn(){return Gt()}function nb(){return window.__PAGE_INFO__}function Gt(){return window.__id__||(window.__id__=plus.webview.currentWebview().id),parseInt(window.__id__)}function ob(e){e.preventDefault()}var fc,cc=0;function sb(e){var{onPageScroll:t,onReachBottom:r,onReachBottomDistance:i}=e,a=!1,n=!1,o=!0,s=()=>{var{scrollHeight:u}=document.documentElement,f=window.innerHeight,d=window.scrollY,p=d>0&&u>f&&d+f+i>=u,g=Math.abs(u-cc)>i;return p&&(!n||g)?(cc=u,n=!0,!0):(!p&&n&&(n=!1),!1)},l=()=>{t&&t(window.pageYOffset);function u(){if(s())return r&&r(),o=!1,setTimeout(function(){o=!0},350),!0}r&&o&&(u()||(fc=setTimeout(u,300))),a=!1};return function(){clearTimeout(fc),a||requestAnimationFrame(l),a=!0}}function Es(e,t){if(t.indexOf("/")===0)return t;if(t.indexOf("./")===0)return Es(e,t.slice(2));for(var r=t.split("/"),i=r.length,a=0;a<i&&r[a]==="..";a++);r.splice(0,a),t=r.join("/");var n=e.length>0?e.split("/"):[];return n.splice(n.length-a-1,a+1),Ro(n.concat(r).join("/"))}var jr,vc,Yr;function dc(){return typeof window=="object"&&typeof navigator=="object"&&typeof document=="object"?"webview":"v8"}function hc(){return jr.webview.currentWebview().id}var pn,Ts,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 lb(e,t){dc()==="v8"?Yr?(pn&&pn.close(),pn=new Yr(hc()),pn.onmessage=Os):Ts||(Ts=vc.requireModule("globalEvent"),Ts.addEventListener("plusMessage",Os)):window.__plusMessage=Os,Cs[e]=t}class ub{constructor(t){this.webview=t}sendMessage(t){var r=JSON.parse(JSON.stringify({__message:{data:t}})),i=this.webview.id;if(Yr){var a=new Yr(i);a.postMessage(r)}else jr.webview.postMessageToUniNView&&jr.webview.postMessageToUniNView(r,i)}close(){this.webview.close()}}function fb(e){var{context:t={},url:r,data:i={},style:a={},onMessage:n,onClose:o}=e;jr=t.plus||plus,vc=t.weex||(typeof weex=="object"?weex:null),Yr=t.BroadcastChannel||(typeof BroadcastChannel=="object"?BroadcastChannel:null);var s={autoBackButton:!0,titleSize:"17px"},l="page".concat(Date.now());a=ce({},a),a.titleNView!==!1&&a.titleNView!=="none"&&(a.titleNView=ce(s,a.titleNView));var u={top:0,bottom:0,usingComponents:{},popGesture:"close",scrollIndicator:"none",animationType:"pop-in",animationDuration:200,uniNView:{path:"/".concat(r,".js"),defaultFontSize:16,viewport:jr.screen.resolutionWidth}};a=ce(u,a);var f=jr.webview.create("",l,a,{extras:{from:hc(),runtime:dc(),data:i,useGlobalEvent:!Yr}});return f.addEventListener("close",o),lb(l,d=>{typeof n=="function"&&n(d.data),d.keep||f.close("auto")}),f.show(a.animationType,a.animationDuration),new ub(f)}class cb{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=gc(this.$el.querySelector(t));if(!!r)return As(r)}}selectAllComponents(t){if(!this.$el||!t)return[];for(var r=[],i=this.$el.querySelectorAll(t),a=0;a<i.length;a++){var n=gc(i[a]);n&&r.push(As(n))}return r}forceUpdate(t){t==="class"?this.$bindClass?(this.$el.__wxsClassChanged=!0,this.$vm.$forceUpdate()):this.updateWxsClass():t==="style"&&(this.$bindStyle?(this.$el.__wxsStyleChanged=!0,this.$vm.$forceUpdate()):this.updateWxsStyle())}updateWxsClass(){var{__wxsAddClass:t}=this.$el;t.length&&(this.$el.className=t.join(" "))}updateWxsStyle(){var{__wxsStyle:t}=this.$el;t&&this.$el.setAttribute("style",pp(t))}setStyle(t){return!this.$el||!t?this:(typeof t=="string"&&(t=_u(t)),_t(t)&&(this.$el.__wxsStyle=t,this.forceUpdate("style")),this)}addClass(t){if(!this.$el||!t)return this;var r=this.$el.__wxsAddClass||(this.$el.__wxsAddClass=[]);return r.indexOf(t)===-1&&(r.push(t),this.forceUpdate("class")),this}removeClass(t){if(!this.$el||!t)return this;var{__wxsAddClass:r}=this.$el;if(r){var i=r.indexOf(t);i>-1&&r.splice(i,1)}var a=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return a.indexOf(t)===-1&&(a.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];oe(i)?i(JSON.parse(JSON.stringify(r))):this.$vm.ownerId&&UniViewJSBridge.publishHandler(Rp,{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,a)=>(i[a]=r[a],i),{}):r}return{}}setTimeout(t,r){return window.setTimeout(t,r)}clearTimeout(t){return window.clearTimeout(t)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function As(e){if(e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new cb(e)),e.$el.__wxsComponentDescriptor}function Ni(e,t){return As(e)}function gc(e){if(!!e)return qr(e)}function qr(e){return e.__wxsVm||(e.__wxsVm={ownerId:e.__ownerId,$el:e,$emit(){},$forceUpdate(){var{__wxsStyle:t,__wxsAddClass:r,__wxsRemoveClass:i,__wxsStyleChanged:a,__wxsClassChanged:n}=e,o,s;a&&(e.__wxsStyleChanged=!1,t&&(s=()=>{Object.keys(t).forEach(l=>{e.style[l]=t[l]})})),n&&(e.__wxsClassChanged=!1,o=()=>{i&&i.forEach(l=>{e.classList.remove(l)}),r&&r.forEach(l=>{e.classList.add(l)})}),requestAnimationFrame(()=>{o&&o(),s&&s()})}})}var vb=e=>e.type==="click";function pc(e,t,r){var{currentTarget:i}=e;if(!(e instanceof Event)||!(i instanceof HTMLElement))return[e];var a=i.tagName.indexOf("UNI-")!==0,n=mc(e,a);if(vb(e))hb(n,e);else if(e instanceof TouchEvent){var o=Ss();n.touches=_c(e.touches,o),n.changedTouches=_c(e.changedTouches,o)}return[n]}function db(e){for(;e&&e.tagName.indexOf("UNI-")!==0;)e=e.parentElement;return e}function mc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,{type:r,timeStamp:i,target:a,currentTarget:n}=e,o={type:r,timeStamp:i,target:Po(t?a:db(a)),detail:{},currentTarget:Po(n)};return e._stopped&&(o._stopped=!0),e.type.startsWith("touch")&&(o.touches=e.touches,o.changedTouches=e.changedTouches),o}function hb(e,t){var{x:r,y:i}=t,a=Ss();e.detail={x:r,y:i-a},e.touches=e.changedTouches=[gb(t,a)]}function gb(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function _c(e,t){for(var r=[],i=0;i<e.length;i++){var{identifier:a,pageX:n,pageY:o,clientX:s,clientY:l,force:u}=e[i];r.push({identifier:a,pageX:n,pageY:o-t,clientX:s,clientY:l-t,force:u||0})}return r}var bc="vdSync",pb="__uniapp__service",Is="onWebviewReady",mb=0,_b="webviewInserted",bb="webviewRemoved",wb="webviewId",yb="setLocale",wc=ce(Im,{publishHandler:xb});function xb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Gt()+"";plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:e,data:t,pageId:r}},pb)}function Sb(e,t){var r=e[0];if(!(!t||!_t(t.formatArgs)&&_t(r)))for(var i=t.formatArgs,a=Object.keys(i),n=0;n<a.length;n++){var o=a[n],s=i[o];if(oe(s)){var l=s(e[0][o],r);if(Ee(l))return l}else ie(r,o)||(r[o]=s)}}function Eb(e,t,r,i){if(i&&i.beforeInvoke){var a=i.beforeInvoke(t);if(Ee(a))return a}var n=Sb(t,i);if(n)return n}function Tb(e,t,r,i){return function(){for(var a=arguments.length,n=new Array(a),o=0;o<a;o++)n[o]=arguments[o];var s=Eb(e,n,r,i);if(s)throw new Error(s);return t.apply(null,n)}}function Cb(e,t,r,i){return Tb(e,t,void 0,i)}function yc(){if(typeof __SYSTEM_INFO__!="undefined")return window.__SYSTEM_INFO__;var{resolutionWidth:e}=plus.screen.getCurrentSize()||{resolutionWidth:0};return{platform:(plus.os.name||"").toLowerCase(),pixelRatio:plus.screen.scale,windowWidth:Math.round(e)}}function st(e){if(e.indexOf("//")===0)return"https:"+e;if(Cp.test(e)||Op.test(e))return e;if(Ob(e))return"file://"+xc(e);var t="file://"+xc("_www");if(e.indexOf("/")===0)return e.startsWith("/storage/")||e.startsWith("/sdcard/")||e.includes("/Containers/Data/Application/")?"file://"+e:t+e;if(e.indexOf("../")===0||e.indexOf("./")===0){if(typeof __id__=="string")return t+Es(Ro(__id__),e);var r=nb();if(r)return t+Es(Ro(r.route),e)}return e}var xc=Pp(e=>plus.io.convertLocalFileSystemURL(e).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,""));function Ob(e){return e.indexOf("_www")===0||e.indexOf("_doc")===0||e.indexOf("_documents")===0||e.indexOf("_downloads")===0}var Ab=0;function Ib(e,t,r){var i="".concat(Date.now()).concat(Ab++),a=e.split(","),n=a[0],o=a[1],s=(n.match(/data:image\/(\S+?);/)||["","png"])[1].replace("jpeg","jpg"),l="".concat(i,".").concat(s),u="".concat(t,"/").concat(l),f=t.indexOf("/"),d=t.substring(0,f),p=t.substring(f+1);plus.io.resolveLocalFileSystemURL(d,function(g){g.getDirectory(p,{create:!0,exclusive:!1},function(y){y.getFile(l,{create:!0,exclusive:!1},function(m){m.createWriter(function(w){w.onwrite=function(){r(null,u)},w.onerror=r,w.seek(0),w.writeAsBinary(o)},r)},r)},r)},r)}function kb(e){return new Promise(function(t,r){function i(){var a=new plus.nativeObj.Bitmap("bitmap_".concat(Date.now(),"_").concat(Math.random(),"}"));a.load(e,function(){t(a.toBase64Data()),a.clear()},function(n){a.clear(),r(n)})}plus.io.resolveLocalFileSystemURL(e,function(a){a.file(function(n){var o=new plus.io.FileReader;o.onload=function(s){t(s.target.result)},o.onerror=i,o.readAsDataURL(n)},i)},i)})}function Mb(e){return new Promise(function(t,r){if(e.indexOf("http://")!==0&&e.indexOf("https://")!==0){t(e);return}plus.downloader.createDownload(e,{filename:"_doc/uniapp_temp/download/"},function(i,a){a===200?t(i.filename):r(new Error("network fail"))}).start()})}function Rb(e){return Mb(e).then(function(t){var r=window;return r.webkit&&r.webkit.messageHandlers?kb(t):plus.io.convertLocalFileSystemURL(t)})}var Bt={};(function(e){var t=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";function r(n,o){return Object.prototype.hasOwnProperty.call(n,o)}e.assign=function(n){for(var o=Array.prototype.slice.call(arguments,1);o.length;){var s=o.shift();if(!!s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var l in s)r(s,l)&&(n[l]=s[l])}}return n},e.shrinkBuf=function(n,o){return n.length===o?n:n.subarray?n.subarray(0,o):(n.length=o,n)};var i={arraySet:function(n,o,s,l,u){if(o.subarray&&n.subarray){n.set(o.subarray(s,s+l),u);return}for(var f=0;f<l;f++)n[u+f]=o[s+f]},flattenChunks:function(n){var o,s,l,u,f,d;for(l=0,o=0,s=n.length;o<s;o++)l+=n[o].length;for(d=new Uint8Array(l),u=0,o=0,s=n.length;o<s;o++)f=n[o],d.set(f,u),u+=f.length;return d}},a={arraySet:function(n,o,s,l,u){for(var f=0;f<l;f++)n[u+f]=o[s+f]},flattenChunks:function(n){return[].concat.apply([],n)}};e.setTyped=function(n){n?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,i)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,a))},e.setTyped(t)})(Bt);var Di={},Tt={},Xr={},Lb=Bt,Pb=4,Sc=0,Ec=1,Nb=2;function Zr(e){for(var t=e.length;--t>=0;)e[t]=0}var Db=0,Tc=1,Bb=2,Fb=3,$b=258,ks=29,Bi=256,Fi=Bi+1+ks,Kr=30,Ms=19,Cc=2*Fi+1,mr=15,Rs=16,zb=7,Ls=256,Oc=16,Ac=17,Ic=18,Ps=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],mn=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Ub=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],kc=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Hb=512,Ft=new Array((Fi+2)*2);Zr(Ft);var $i=new Array(Kr*2);Zr($i);var zi=new Array(Hb);Zr(zi);var Ui=new Array($b-Fb+1);Zr(Ui);var Ns=new Array(ks);Zr(Ns);var _n=new Array(Kr);Zr(_n);function Ds(e,t,r,i,a){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=i,this.max_length=a,this.has_stree=e&&e.length}var Mc,Rc,Lc;function Bs(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Pc(e){return e<256?zi[e]:zi[256+(e>>>7)]}function Hi(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function Ze(e,t,r){e.bi_valid>Rs-r?(e.bi_buf|=t<<e.bi_valid&65535,Hi(e,e.bi_buf),e.bi_buf=t>>Rs-e.bi_valid,e.bi_valid+=r-Rs):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function Ct(e,t,r){Ze(e,r[t*2],r[t*2+1])}function Nc(e,t){var r=0;do r|=e&1,e>>>=1,r<<=1;while(--t>0);return r>>>1}function Wb(e){e.bi_valid===16?(Hi(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function Vb(e,t){var r=t.dyn_tree,i=t.max_code,a=t.stat_desc.static_tree,n=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,l=t.stat_desc.max_length,u,f,d,p,g,y,m=0;for(p=0;p<=mr;p++)e.bl_count[p]=0;for(r[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;u<Cc;u++)f=e.heap[u],p=r[r[f*2+1]*2+1]+1,p>l&&(p=l,m++),r[f*2+1]=p,!(f>i)&&(e.bl_count[p]++,g=0,f>=s&&(g=o[f-s]),y=r[f*2],e.opt_len+=y*(p+g),n&&(e.static_len+=y*(a[f*2+1]+g)));if(m!==0){do{for(p=l-1;e.bl_count[p]===0;)p--;e.bl_count[p]--,e.bl_count[p+1]+=2,e.bl_count[l]--,m-=2}while(m>0);for(p=l;p!==0;p--)for(f=e.bl_count[p];f!==0;)d=e.heap[--u],!(d>i)&&(r[d*2+1]!==p&&(e.opt_len+=(p-r[d*2+1])*r[d*2],r[d*2+1]=p),f--)}}function Dc(e,t,r){var i=new Array(mr+1),a=0,n,o;for(n=1;n<=mr;n++)i[n]=a=a+r[n-1]<<1;for(o=0;o<=t;o++){var s=e[o*2+1];s!==0&&(e[o*2]=Nc(i[s]++,s))}}function jb(){var e,t,r,i,a,n=new Array(mr+1);for(r=0,i=0;i<ks-1;i++)for(Ns[i]=r,e=0;e<1<<Ps[i];e++)Ui[r++]=i;for(Ui[r-1]=i,a=0,i=0;i<16;i++)for(_n[i]=a,e=0;e<1<<mn[i];e++)zi[a++]=i;for(a>>=7;i<Kr;i++)for(_n[i]=a<<7,e=0;e<1<<mn[i]-7;e++)zi[256+a++]=i;for(t=0;t<=mr;t++)n[t]=0;for(e=0;e<=143;)Ft[e*2+1]=8,e++,n[8]++;for(;e<=255;)Ft[e*2+1]=9,e++,n[9]++;for(;e<=279;)Ft[e*2+1]=7,e++,n[7]++;for(;e<=287;)Ft[e*2+1]=8,e++,n[8]++;for(Dc(Ft,Fi+1,n),e=0;e<Kr;e++)$i[e*2+1]=5,$i[e*2]=Nc(e,5);Mc=new Ds(Ft,Ps,Bi+1,Fi,mr),Rc=new Ds($i,mn,0,Kr,mr),Lc=new Ds(new Array(0),Ub,0,Ms,zb)}function Bc(e){var t;for(t=0;t<Fi;t++)e.dyn_ltree[t*2]=0;for(t=0;t<Kr;t++)e.dyn_dtree[t*2]=0;for(t=0;t<Ms;t++)e.bl_tree[t*2]=0;e.dyn_ltree[Ls*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Fc(e){e.bi_valid>8?Hi(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function Yb(e,t,r,i){Fc(e),i&&(Hi(e,r),Hi(e,~r)),Lb.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function $c(e,t,r,i){var a=t*2,n=r*2;return e[a]<e[n]||e[a]===e[n]&&i[t]<=i[r]}function Fs(e,t,r){for(var i=e.heap[r],a=r<<1;a<=e.heap_len&&(a<e.heap_len&&$c(t,e.heap[a+1],e.heap[a],e.depth)&&a++,!$c(t,i,e.heap[a],e.depth));)e.heap[r]=e.heap[a],r=a,a<<=1;e.heap[r]=i}function zc(e,t,r){var i,a,n=0,o,s;if(e.last_lit!==0)do i=e.pending_buf[e.d_buf+n*2]<<8|e.pending_buf[e.d_buf+n*2+1],a=e.pending_buf[e.l_buf+n],n++,i===0?Ct(e,a,t):(o=Ui[a],Ct(e,o+Bi+1,t),s=Ps[o],s!==0&&(a-=Ns[o],Ze(e,a,s)),i--,o=Pc(i),Ct(e,o,r),s=mn[o],s!==0&&(i-=_n[o],Ze(e,i,s)));while(n<e.last_lit);Ct(e,Ls,t)}function $s(e,t){var r=t.dyn_tree,i=t.stat_desc.static_tree,a=t.stat_desc.has_stree,n=t.stat_desc.elems,o,s,l=-1,u;for(e.heap_len=0,e.heap_max=Cc,o=0;o<n;o++)r[o*2]!==0?(e.heap[++e.heap_len]=l=o,e.depth[o]=0):r[o*2+1]=0;for(;e.heap_len<2;)u=e.heap[++e.heap_len]=l<2?++l:0,r[u*2]=1,e.depth[u]=0,e.opt_len--,a&&(e.static_len-=i[u*2+1]);for(t.max_code=l,o=e.heap_len>>1;o>=1;o--)Fs(e,r,o);u=n;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Fs(e,r,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,r[u*2]=r[o*2]+r[s*2],e.depth[u]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,r[o*2+1]=r[s*2+1]=u,e.heap[1]=u++,Fs(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Vb(e,t),Dc(r,l,e.bl_count)}function Uc(e,t,r){var i,a=-1,n,o=t[0*2+1],s=0,l=7,u=4;for(o===0&&(l=138,u=3),t[(r+1)*2+1]=65535,i=0;i<=r;i++)n=o,o=t[(i+1)*2+1],!(++s<l&&n===o)&&(s<u?e.bl_tree[n*2]+=s:n!==0?(n!==a&&e.bl_tree[n*2]++,e.bl_tree[Oc*2]++):s<=10?e.bl_tree[Ac*2]++:e.bl_tree[Ic*2]++,s=0,a=n,o===0?(l=138,u=3):n===o?(l=6,u=3):(l=7,u=4))}function Hc(e,t,r){var i,a=-1,n,o=t[0*2+1],s=0,l=7,u=4;for(o===0&&(l=138,u=3),i=0;i<=r;i++)if(n=o,o=t[(i+1)*2+1],!(++s<l&&n===o)){if(s<u)do Ct(e,n,e.bl_tree);while(--s!==0);else n!==0?(n!==a&&(Ct(e,n,e.bl_tree),s--),Ct(e,Oc,e.bl_tree),Ze(e,s-3,2)):s<=10?(Ct(e,Ac,e.bl_tree),Ze(e,s-3,3)):(Ct(e,Ic,e.bl_tree),Ze(e,s-11,7));s=0,a=n,o===0?(l=138,u=3):n===o?(l=6,u=3):(l=7,u=4)}}function qb(e){var t;for(Uc(e,e.dyn_ltree,e.l_desc.max_code),Uc(e,e.dyn_dtree,e.d_desc.max_code),$s(e,e.bl_desc),t=Ms-1;t>=3&&e.bl_tree[kc[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function Xb(e,t,r,i){var a;for(Ze(e,t-257,5),Ze(e,r-1,5),Ze(e,i-4,4),a=0;a<i;a++)Ze(e,e.bl_tree[kc[a]*2+1],3);Hc(e,e.dyn_ltree,t-1),Hc(e,e.dyn_dtree,r-1)}function Zb(e){var t=4093624447,r;for(r=0;r<=31;r++,t>>>=1)if(t&1&&e.dyn_ltree[r*2]!==0)return Sc;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Ec;for(r=32;r<Bi;r++)if(e.dyn_ltree[r*2]!==0)return Ec;return Sc}var Wc=!1;function Kb(e){Wc||(jb(),Wc=!0),e.l_desc=new Bs(e.dyn_ltree,Mc),e.d_desc=new Bs(e.dyn_dtree,Rc),e.bl_desc=new Bs(e.bl_tree,Lc),e.bi_buf=0,e.bi_valid=0,Bc(e)}function Vc(e,t,r,i){Ze(e,(Db<<1)+(i?1:0),3),Yb(e,t,r,!0)}function Gb(e){Ze(e,Tc<<1,3),Ct(e,Ls,Ft),Wb(e)}function Jb(e,t,r,i){var a,n,o=0;e.level>0?(e.strm.data_type===Nb&&(e.strm.data_type=Zb(e)),$s(e,e.l_desc),$s(e,e.d_desc),o=qb(e),a=e.opt_len+3+7>>>3,n=e.static_len+3+7>>>3,n<=a&&(a=n)):a=n=r+5,r+4<=a&&t!==-1?Vc(e,t,r,i):e.strategy===Pb||n===a?(Ze(e,(Tc<<1)+(i?1:0),3),zc(e,Ft,$i)):(Ze(e,(Bb<<1)+(i?1:0),3),Xb(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),zc(e,e.dyn_ltree,e.dyn_dtree)),Bc(e),i&&Fc(e)}function Qb(e,t,r){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=r&255,e.last_lit++,t===0?e.dyn_ltree[r*2]++:(e.matches++,t--,e.dyn_ltree[(Ui[r]+Bi+1)*2]++,e.dyn_dtree[Pc(t)*2]++),e.last_lit===e.lit_bufsize-1}Xr._tr_init=Kb,Xr._tr_stored_block=Vc,Xr._tr_flush_block=Jb,Xr._tr_tally=Qb,Xr._tr_align=Gb;function ew(e,t,r,i){for(var a=e&65535|0,n=e>>>16&65535|0,o=0;r!==0;){o=r>2e3?2e3:r,r-=o;do a=a+t[i++]|0,n=n+a|0;while(--o);a%=65521,n%=65521}return a|n<<16|0}var jc=ew;function tw(){for(var e,t=[],r=0;r<256;r++){e=r;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e}return t}var rw=tw();function iw(e,t,r,i){var a=rw,n=i+r;e^=-1;for(var o=i;o<n;o++)e=e>>>8^a[(e^t[o])&255];return e^-1}var Yc=iw,zs={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},qe=Bt,lt=Xr,qc=jc,Jt=Yc,aw=zs,_r=0,nw=1,ow=3,Qt=4,Xc=5,Ot=0,Zc=1,ut=-2,sw=-3,Us=-5,lw=-1,uw=1,bn=2,fw=3,cw=4,vw=0,dw=2,wn=8,hw=9,gw=15,pw=8,mw=29,_w=256,Hs=_w+1+mw,bw=30,ww=19,yw=2*Hs+1,xw=15,ve=3,er=258,ht=er+ve+1,Sw=32,yn=42,Ws=69,xn=73,Sn=91,En=103,br=113,Wi=666,Pe=1,Vi=2,wr=3,Gr=4,Ew=3;function tr(e,t){return e.msg=aw[t],t}function Kc(e){return(e<<1)-(e>4?9:0)}function rr(e){for(var t=e.length;--t>=0;)e[t]=0}function ir(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(qe.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0))}function He(e,t){lt._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ir(e.strm)}function pe(e,t){e.pending_buf[e.pending++]=t}function ji(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function Tw(e,t,r,i){var a=e.avail_in;return a>i&&(a=i),a===0?0:(e.avail_in-=a,qe.arraySet(t,e.input,e.next_in,a,r),e.state.wrap===1?e.adler=qc(e.adler,t,a,r):e.state.wrap===2&&(e.adler=Jt(e.adler,t,a,r)),e.next_in+=a,e.total_in+=a,a)}function Gc(e,t){var r=e.max_chain_length,i=e.strstart,a,n,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-ht?e.strstart-(e.w_size-ht):0,u=e.window,f=e.w_mask,d=e.prev,p=e.strstart+er,g=u[i+o-1],y=u[i+o];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(u[a+o]!==y||u[a+o-1]!==g||u[a]!==u[i]||u[++a]!==u[i+1])){i+=2,a++;do;while(u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&u[++i]===u[++a]&&i<p);if(n=er-(p-i),i=p-er,n>o){if(e.match_start=t,o=n,n>=s)break;g=u[i+o-1],y=u[i+o]}}while((t=d[t&f])>l&&--r!==0);return o<=e.lookahead?o:e.lookahead}function yr(e){var t=e.w_size,r,i,a,n,o;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-ht)){qe.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,r=i;do a=e.head[--r],e.head[r]=a>=t?a-t:0;while(--i);i=t,r=i;do a=e.prev[--r],e.prev[r]=a>=t?a-t:0;while(--i);n+=t}if(e.strm.avail_in===0)break;if(i=Tw(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=i,e.lookahead+e.insert>=ve)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+ve-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<ve)););}while(e.lookahead<ht&&e.strm.avail_in!==0)}function Cw(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(yr(e),e.lookahead===0&&t===_r)return Pe;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+r;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,He(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-ht&&(He(e,!1),e.strm.avail_out===0))return Pe}return e.insert=0,t===Qt?(He(e,!0),e.strm.avail_out===0?wr:Gr):(e.strstart>e.block_start&&(He(e,!1),e.strm.avail_out===0),Pe)}function Vs(e,t){for(var r,i;;){if(e.lookahead<ht){if(yr(e),e.lookahead<ht&&t===_r)return Pe;if(e.lookahead===0)break}if(r=0,e.lookahead>=ve&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ve-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),r!==0&&e.strstart-r<=e.w_size-ht&&(e.match_length=Gc(e,r)),e.match_length>=ve)if(i=lt._tr_tally(e,e.strstart-e.match_start,e.match_length-ve),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ve){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ve-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=lt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(He(e,!1),e.strm.avail_out===0))return Pe}return e.insert=e.strstart<ve-1?e.strstart:ve-1,t===Qt?(He(e,!0),e.strm.avail_out===0?wr:Gr):e.last_lit&&(He(e,!1),e.strm.avail_out===0)?Pe:Vi}function Jr(e,t){for(var r,i,a;;){if(e.lookahead<ht){if(yr(e),e.lookahead<ht&&t===_r)return Pe;if(e.lookahead===0)break}if(r=0,e.lookahead>=ve&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ve-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=ve-1,r!==0&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-ht&&(e.match_length=Gc(e,r),e.match_length<=5&&(e.strategy===uw||e.match_length===ve&&e.strstart-e.match_start>4096)&&(e.match_length=ve-1)),e.prev_length>=ve&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-ve,i=lt._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ve),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ve-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=ve-1,e.strstart++,i&&(He(e,!1),e.strm.avail_out===0))return Pe}else if(e.match_available){if(i=lt._tr_tally(e,0,e.window[e.strstart-1]),i&&He(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Pe}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=lt._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<ve-1?e.strstart:ve-1,t===Qt?(He(e,!0),e.strm.avail_out===0?wr:Gr):e.last_lit&&(He(e,!1),e.strm.avail_out===0)?Pe:Vi}function Ow(e,t){for(var r,i,a,n,o=e.window;;){if(e.lookahead<=er){if(yr(e),e.lookahead<=er&&t===_r)return Pe;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=ve&&e.strstart>0&&(a=e.strstart-1,i=o[a],i===o[++a]&&i===o[++a]&&i===o[++a])){n=e.strstart+er;do;while(i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&i===o[++a]&&a<n);e.match_length=er-(n-a),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ve?(r=lt._tr_tally(e,1,e.match_length-ve),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=lt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(He(e,!1),e.strm.avail_out===0))return Pe}return e.insert=0,t===Qt?(He(e,!0),e.strm.avail_out===0?wr:Gr):e.last_lit&&(He(e,!1),e.strm.avail_out===0)?Pe:Vi}function Aw(e,t){for(var r;;){if(e.lookahead===0&&(yr(e),e.lookahead===0)){if(t===_r)return Pe;break}if(e.match_length=0,r=lt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(He(e,!1),e.strm.avail_out===0))return Pe}return e.insert=0,t===Qt?(He(e,!0),e.strm.avail_out===0?wr:Gr):e.last_lit&&(He(e,!1),e.strm.avail_out===0)?Pe:Vi}function At(e,t,r,i,a){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=i,this.func=a}var Qr;Qr=[new At(0,0,0,0,Cw),new At(4,4,8,4,Vs),new At(4,5,16,8,Vs),new At(4,6,32,32,Vs),new At(4,4,16,16,Jr),new At(8,16,32,32,Jr),new At(8,16,128,128,Jr),new At(8,32,128,256,Jr),new At(32,128,258,1024,Jr),new At(32,258,258,4096,Jr)];function Iw(e){e.window_size=2*e.w_size,rr(e.head),e.max_lazy_match=Qr[e.level].max_lazy,e.good_match=Qr[e.level].good_length,e.nice_match=Qr[e.level].nice_length,e.max_chain_length=Qr[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ve-1,e.match_available=0,e.ins_h=0}function kw(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=wn,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new qe.Buf16(yw*2),this.dyn_dtree=new qe.Buf16((2*bw+1)*2),this.bl_tree=new qe.Buf16((2*ww+1)*2),rr(this.dyn_ltree),rr(this.dyn_dtree),rr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new qe.Buf16(xw+1),this.heap=new qe.Buf16(2*Hs+1),rr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new qe.Buf16(2*Hs+1),rr(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Jc(e){var t;return!e||!e.state?tr(e,ut):(e.total_in=e.total_out=0,e.data_type=dw,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?yn:br,e.adler=t.wrap===2?0:1,t.last_flush=_r,lt._tr_init(t),Ot)}function Qc(e){var t=Jc(e);return t===Ot&&Iw(e.state),t}function Mw(e,t){return!e||!e.state||e.state.wrap!==2?ut:(e.state.gzhead=t,Ot)}function ev(e,t,r,i,a,n){if(!e)return ut;var o=1;if(t===lw&&(t=6),i<0?(o=0,i=-i):i>15&&(o=2,i-=16),a<1||a>hw||r!==wn||i<8||i>15||t<0||t>9||n<0||n>cw)return tr(e,ut);i===8&&(i=9);var s=new kw;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=i,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=a+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+ve-1)/ve),s.window=new qe.Buf8(s.w_size*2),s.head=new qe.Buf16(s.hash_size),s.prev=new qe.Buf16(s.w_size),s.lit_bufsize=1<<a+6,s.pending_buf_size=s.lit_bufsize*4,s.pending_buf=new qe.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=(1+2)*s.lit_bufsize,s.level=t,s.strategy=n,s.method=r,Qc(e)}function Rw(e,t){return ev(e,t,wn,gw,pw,vw)}function Lw(e,t){var r,i,a,n;if(!e||!e.state||t>Xc||t<0)return e?tr(e,ut):ut;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===Wi&&t!==Qt)return tr(e,e.avail_out===0?Us:ut);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===yn)if(i.wrap===2)e.adler=0,pe(i,31),pe(i,139),pe(i,8),i.gzhead?(pe(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),pe(i,i.gzhead.time&255),pe(i,i.gzhead.time>>8&255),pe(i,i.gzhead.time>>16&255),pe(i,i.gzhead.time>>24&255),pe(i,i.level===9?2:i.strategy>=bn||i.level<2?4:0),pe(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(pe(i,i.gzhead.extra.length&255),pe(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Jt(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Ws):(pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,0),pe(i,i.level===9?2:i.strategy>=bn||i.level<2?4:0),pe(i,Ew),i.status=br);else{var o=wn+(i.w_bits-8<<4)<<8,s=-1;i.strategy>=bn||i.level<2?s=0:i.level<6?s=1:i.level===6?s=2:s=3,o|=s<<6,i.strstart!==0&&(o|=Sw),o+=31-o%31,i.status=br,ji(i,o),i.strstart!==0&&(ji(i,e.adler>>>16),ji(i,e.adler&65535)),e.adler=1}if(i.status===Ws)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size));)pe(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=xn)}else i.status=xn;if(i.status===xn)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindex<i.gzhead.name.length?n=i.gzhead.name.charCodeAt(i.gzindex++)&255:n=0,pe(i,n)}while(n!==0);i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.gzindex=0,i.status=Sn)}else i.status=Sn;if(i.status===Sn)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),ir(e),a=i.pending,i.pending===i.pending_buf_size)){n=1;break}i.gzindex<i.gzhead.comment.length?n=i.gzhead.comment.charCodeAt(i.gzindex++)&255:n=0,pe(i,n)}while(n!==0);i.gzhead.hcrc&&i.pending>a&&(e.adler=Jt(e.adler,i.pending_buf,i.pending-a,a)),n===0&&(i.status=En)}else i.status=En;if(i.status===En&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&ir(e),i.pending+2<=i.pending_buf_size&&(pe(i,e.adler&255),pe(i,e.adler>>8&255),e.adler=0,i.status=br)):i.status=br),i.pending!==0){if(ir(e),e.avail_out===0)return i.last_flush=-1,Ot}else if(e.avail_in===0&&Kc(t)<=Kc(r)&&t!==Qt)return tr(e,Us);if(i.status===Wi&&e.avail_in!==0)return tr(e,Us);if(e.avail_in!==0||i.lookahead!==0||t!==_r&&i.status!==Wi){var l=i.strategy===bn?Aw(i,t):i.strategy===fw?Ow(i,t):Qr[i.level].func(i,t);if((l===wr||l===Gr)&&(i.status=Wi),l===Pe||l===wr)return e.avail_out===0&&(i.last_flush=-1),Ot;if(l===Vi&&(t===nw?lt._tr_align(i):t!==Xc&&(lt._tr_stored_block(i,0,0,!1),t===ow&&(rr(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),ir(e),e.avail_out===0))return i.last_flush=-1,Ot}return t!==Qt?Ot:i.wrap<=0?Zc:(i.wrap===2?(pe(i,e.adler&255),pe(i,e.adler>>8&255),pe(i,e.adler>>16&255),pe(i,e.adler>>24&255),pe(i,e.total_in&255),pe(i,e.total_in>>8&255),pe(i,e.total_in>>16&255),pe(i,e.total_in>>24&255)):(ji(i,e.adler>>>16),ji(i,e.adler&65535)),ir(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ot:Zc)}function Pw(e){var t;return!e||!e.state?ut:(t=e.state.status,t!==yn&&t!==Ws&&t!==xn&&t!==Sn&&t!==En&&t!==br&&t!==Wi?tr(e,ut):(e.state=null,t===br?tr(e,sw):Ot))}function Nw(e,t){var r=t.length,i,a,n,o,s,l,u,f;if(!e||!e.state||(i=e.state,o=i.wrap,o===2||o===1&&i.status!==yn||i.lookahead))return ut;for(o===1&&(e.adler=qc(e.adler,t,r,0)),i.wrap=0,r>=i.w_size&&(o===0&&(rr(i.head),i.strstart=0,i.block_start=0,i.insert=0),f=new qe.Buf8(i.w_size),qe.arraySet(f,t,r-i.w_size,i.w_size,0),t=f,r=i.w_size),s=e.avail_in,l=e.next_in,u=e.input,e.avail_in=r,e.next_in=0,e.input=t,yr(i);i.lookahead>=ve;){a=i.strstart,n=i.lookahead-(ve-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[a+ve-1])&i.hash_mask,i.prev[a&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=a,a++;while(--n);i.strstart=a,i.lookahead=ve-1,yr(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=ve-1,i.match_available=0,e.next_in=l,e.input=u,e.avail_in=s,i.wrap=o,Ot}Tt.deflateInit=Rw,Tt.deflateInit2=ev,Tt.deflateReset=Qc,Tt.deflateResetKeep=Jc,Tt.deflateSetHeader=Mw,Tt.deflate=Lw,Tt.deflateEnd=Pw,Tt.deflateSetDictionary=Nw,Tt.deflateInfo="pako deflate (from Nodeca project)";var xr={},Tn=Bt,tv=!0,rv=!0;try{String.fromCharCode.apply(null,[0])}catch(e){tv=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){rv=!1}for(var Yi=new Tn.Buf8(256),ar=0;ar<256;ar++)Yi[ar]=ar>=252?6:ar>=248?5:ar>=240?4:ar>=224?3:ar>=192?2:1;Yi[254]=Yi[254]=1,xr.string2buf=function(e){var t,r,i,a,n,o=e.length,s=0;for(a=0;a<o;a++)r=e.charCodeAt(a),(r&64512)===55296&&a+1<o&&(i=e.charCodeAt(a+1),(i&64512)===56320&&(r=65536+(r-55296<<10)+(i-56320),a++)),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new Tn.Buf8(s),n=0,a=0;n<s;a++)r=e.charCodeAt(a),(r&64512)===55296&&a+1<o&&(i=e.charCodeAt(a+1),(i&64512)===56320&&(r=65536+(r-55296<<10)+(i-56320),a++)),r<128?t[n++]=r:r<2048?(t[n++]=192|r>>>6,t[n++]=128|r&63):r<65536?(t[n++]=224|r>>>12,t[n++]=128|r>>>6&63,t[n++]=128|r&63):(t[n++]=240|r>>>18,t[n++]=128|r>>>12&63,t[n++]=128|r>>>6&63,t[n++]=128|r&63);return t};function iv(e,t){if(t<65534&&(e.subarray&&rv||!e.subarray&&tv))return String.fromCharCode.apply(null,Tn.shrinkBuf(e,t));for(var r="",i=0;i<t;i++)r+=String.fromCharCode(e[i]);return r}xr.buf2binstring=function(e){return iv(e,e.length)},xr.binstring2buf=function(e){for(var t=new Tn.Buf8(e.length),r=0,i=t.length;r<i;r++)t[r]=e.charCodeAt(r);return t},xr.buf2string=function(e,t){var r,i,a,n,o=t||e.length,s=new Array(o*2);for(i=0,r=0;r<o;){if(a=e[r++],a<128){s[i++]=a;continue}if(n=Yi[a],n>4){s[i++]=65533,r+=n-1;continue}for(a&=n===2?31:n===3?15:7;n>1&&r<o;)a=a<<6|e[r++]&63,n--;if(n>1){s[i++]=65533;continue}a<65536?s[i++]=a:(a-=65536,s[i++]=55296|a>>10&1023,s[i++]=56320|a&1023)}return iv(s,i)},xr.utf8border=function(e,t){var r;for(t=t||e.length,t>e.length&&(t=e.length),r=t-1;r>=0&&(e[r]&192)===128;)r--;return r<0||r===0?t:r+Yi[e[r]]>t?r:t};function Dw(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var av=Dw,qi=Tt,Xi=Bt,js=xr,Ys=zs,Bw=av,nv=Object.prototype.toString,Fw=0,qs=4,ei=0,ov=1,sv=2,$w=-1,zw=0,Uw=8;function Sr(e){if(!(this instanceof Sr))return new Sr(e);this.options=Xi.assign({level:$w,method:Uw,chunkSize:16384,windowBits:15,memLevel:8,strategy:zw,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Bw,this.strm.avail_out=0;var r=qi.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==ei)throw new Error(Ys[r]);if(t.header&&qi.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=js.string2buf(t.dictionary):nv.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,r=qi.deflateSetDictionary(this.strm,i),r!==ei)throw new Error(Ys[r]);this._dict_set=!0}}Sr.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a,n;if(this.ended)return!1;n=t===~~t?t:t===!0?qs:Fw,typeof e=="string"?r.input=js.string2buf(e):nv.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Xi.Buf8(i),r.next_out=0,r.avail_out=i),a=qi.deflate(r,n),a!==ov&&a!==ei)return this.onEnd(a),this.ended=!0,!1;(r.avail_out===0||r.avail_in===0&&(n===qs||n===sv))&&(this.options.to==="string"?this.onData(js.buf2binstring(Xi.shrinkBuf(r.output,r.next_out))):this.onData(Xi.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||r.avail_out===0)&&a!==ov);return n===qs?(a=qi.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===ei):(n===sv&&(this.onEnd(ei),r.avail_out=0),!0)},Sr.prototype.onData=function(e){this.chunks.push(e)},Sr.prototype.onEnd=function(e){e===ei&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Xi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Xs(e,t){var r=new Sr(t);if(r.push(e,!0),r.err)throw r.msg||Ys[r.err];return r.result}function Hw(e,t){return t=t||{},t.raw=!0,Xs(e,t)}function Ww(e,t){return t=t||{},t.gzip=!0,Xs(e,t)}Di.Deflate=Sr,Di.deflate=Xs,Di.deflateRaw=Hw,Di.gzip=Ww;var Zi={},gt={},Cn=30,Vw=12,jw=function(t,r){var i,a,n,o,s,l,u,f,d,p,g,y,m,w,h,b,c,v,_,x,E,C,O,M,R;i=t.state,a=t.next_in,M=t.input,n=a+(t.avail_in-5),o=t.next_out,R=t.output,s=o-(r-t.avail_out),l=o+(t.avail_out-257),u=i.dmax,f=i.wsize,d=i.whave,p=i.wnext,g=i.window,y=i.hold,m=i.bits,w=i.lencode,h=i.distcode,b=(1<<i.lenbits)-1,c=(1<<i.distbits)-1;e:do{m<15&&(y+=M[a++]<<m,m+=8,y+=M[a++]<<m,m+=8),v=w[y&b];t:for(;;){if(_=v>>>24,y>>>=_,m-=_,_=v>>>16&255,_===0)R[o++]=v&65535;else if(_&16){x=v&65535,_&=15,_&&(m<_&&(y+=M[a++]<<m,m+=8),x+=y&(1<<_)-1,y>>>=_,m-=_),m<15&&(y+=M[a++]<<m,m+=8,y+=M[a++]<<m,m+=8),v=h[y&c];r:for(;;){if(_=v>>>24,y>>>=_,m-=_,_=v>>>16&255,_&16){if(E=v&65535,_&=15,m<_&&(y+=M[a++]<<m,m+=8,m<_&&(y+=M[a++]<<m,m+=8)),E+=y&(1<<_)-1,E>u){t.msg="invalid distance too far back",i.mode=Cn;break e}if(y>>>=_,m-=_,_=o-s,E>_){if(_=E-_,_>d&&i.sane){t.msg="invalid distance too far back",i.mode=Cn;break e}if(C=0,O=g,p===0){if(C+=f-_,_<x){x-=_;do R[o++]=g[C++];while(--_);C=o-E,O=R}}else if(p<_){if(C+=f+p-_,_-=p,_<x){x-=_;do R[o++]=g[C++];while(--_);if(C=0,p<x){_=p,x-=_;do R[o++]=g[C++];while(--_);C=o-E,O=R}}}else if(C+=p-_,_<x){x-=_;do R[o++]=g[C++];while(--_);C=o-E,O=R}for(;x>2;)R[o++]=O[C++],R[o++]=O[C++],R[o++]=O[C++],x-=3;x&&(R[o++]=O[C++],x>1&&(R[o++]=O[C++]))}else{C=o-E;do R[o++]=R[C++],R[o++]=R[C++],R[o++]=R[C++],x-=3;while(x>2);x&&(R[o++]=R[C++],x>1&&(R[o++]=R[C++]))}}else if((_&64)===0){v=h[(v&65535)+(y&(1<<_)-1)];continue r}else{t.msg="invalid distance code",i.mode=Cn;break e}break}}else if((_&64)===0){v=w[(v&65535)+(y&(1<<_)-1)];continue t}else if(_&32){i.mode=Vw;break e}else{t.msg="invalid literal/length code",i.mode=Cn;break e}break}}while(a<n&&o<l);x=m>>3,a-=x,m-=x<<3,y&=(1<<m)-1,t.next_in=a,t.next_out=o,t.avail_in=a<n?5+(n-a):5-(a-n),t.avail_out=o<l?257+(l-o):257-(o-l),i.hold=y,i.bits=m},lv=Bt,ti=15,uv=852,fv=592,cv=0,Zs=1,vv=2,Yw=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],qw=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Xw=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Zw=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],Kw=function(t,r,i,a,n,o,s,l){var u=l.bits,f=0,d=0,p=0,g=0,y=0,m=0,w=0,h=0,b=0,c=0,v,_,x,E,C,O=null,M=0,R,U=new lv.Buf16(ti+1),te=new lv.Buf16(ti+1),L=null,H=0,q,re,V;for(f=0;f<=ti;f++)U[f]=0;for(d=0;d<a;d++)U[r[i+d]]++;for(y=u,g=ti;g>=1&&U[g]===0;g--);if(y>g&&(y=g),g===0)return n[o++]=1<<24|64<<16|0,n[o++]=1<<24|64<<16|0,l.bits=1,0;for(p=1;p<g&&U[p]===0;p++);for(y<p&&(y=p),h=1,f=1;f<=ti;f++)if(h<<=1,h-=U[f],h<0)return-1;if(h>0&&(t===cv||g!==1))return-1;for(te[1]=0,f=1;f<ti;f++)te[f+1]=te[f]+U[f];for(d=0;d<a;d++)r[i+d]!==0&&(s[te[r[i+d]]++]=d);if(t===cv?(O=L=s,R=19):t===Zs?(O=Yw,M-=257,L=qw,H-=257,R=256):(O=Xw,L=Zw,R=-1),c=0,d=0,f=p,C=o,m=y,w=0,x=-1,b=1<<y,E=b-1,t===Zs&&b>uv||t===vv&&b>fv)return 1;for(;;){q=f-w,s[d]<R?(re=0,V=s[d]):s[d]>R?(re=L[H+s[d]],V=O[M+s[d]]):(re=32+64,V=0),v=1<<f-w,_=1<<m,p=_;do _-=v,n[C+(c>>w)+_]=q<<24|re<<16|V|0;while(_!==0);for(v=1<<f-1;c&v;)v>>=1;if(v!==0?(c&=v-1,c+=v):c=0,d++,--U[f]===0){if(f===g)break;f=r[i+s[d]]}if(f>y&&(c&E)!==x){for(w===0&&(w=y),C+=p,m=f-w,h=1<<m;m+w<g&&(h-=U[m+w],!(h<=0));)m++,h<<=1;if(b+=1<<m,t===Zs&&b>uv||t===vv&&b>fv)return 1;x=c&E,n[x]=y<<24|m<<16|C-o|0}}return c!==0&&(n[C+c]=f-w<<24|64<<16|0),l.bits=y,0},it=Bt,Ks=jc,It=Yc,Gw=jw,Ki=Kw,Jw=0,dv=1,hv=2,gv=4,Qw=5,On=6,Er=0,e1=1,t1=2,ft=-2,pv=-3,mv=-4,r1=-5,_v=8,bv=1,wv=2,yv=3,xv=4,Sv=5,Ev=6,Tv=7,Cv=8,Ov=9,Av=10,An=11,$t=12,Gs=13,Iv=14,Js=15,kv=16,Mv=17,Rv=18,Lv=19,In=20,kn=21,Pv=22,Nv=23,Dv=24,Bv=25,Fv=26,Qs=27,$v=28,zv=29,Oe=30,Uv=31,i1=32,a1=852,n1=592,o1=15,s1=o1;function Hv(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function l1(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new it.Buf16(320),this.work=new it.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Wv(e){var t;return!e||!e.state?ft:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=bv,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new it.Buf32(a1),t.distcode=t.distdyn=new it.Buf32(n1),t.sane=1,t.back=-1,Er)}function Vv(e){var t;return!e||!e.state?ft:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,Wv(e))}function jv(e,t){var r,i;return!e||!e.state||(i=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?ft:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=r,i.wbits=t,Vv(e))}function Yv(e,t){var r,i;return e?(i=new l1,e.state=i,i.window=null,r=jv(e,t),r!==Er&&(e.state=null),r):ft}function u1(e){return Yv(e,s1)}var qv=!0,el,tl;function f1(e){if(qv){var t;for(el=new it.Buf32(512),tl=new it.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Ki(dv,e.lens,0,288,el,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Ki(hv,e.lens,0,32,tl,0,e.work,{bits:5}),qv=!1}e.lencode=el,e.lenbits=9,e.distcode=tl,e.distbits=5}function Xv(e,t,r,i){var a,n=e.state;return n.window===null&&(n.wsize=1<<n.wbits,n.wnext=0,n.whave=0,n.window=new it.Buf8(n.wsize)),i>=n.wsize?(it.arraySet(n.window,t,r-n.wsize,n.wsize,0),n.wnext=0,n.whave=n.wsize):(a=n.wsize-n.wnext,a>i&&(a=i),it.arraySet(n.window,t,r-i,a,n.wnext),i-=a,i?(it.arraySet(n.window,t,r-i,i,0),n.wnext=i,n.whave=n.wsize):(n.wnext+=a,n.wnext===n.wsize&&(n.wnext=0),n.whave<n.wsize&&(n.whave+=a))),0}function c1(e,t){var r,i,a,n,o,s,l,u,f,d,p,g,y,m,w=0,h,b,c,v,_,x,E,C,O=new it.Buf8(4),M,R,U=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return ft;r=e.state,r.mode===$t&&(r.mode=Gs),o=e.next_out,a=e.output,l=e.avail_out,n=e.next_in,i=e.input,s=e.avail_in,u=r.hold,f=r.bits,d=s,p=l,C=Er;e:for(;;)switch(r.mode){case bv:if(r.wrap===0){r.mode=Gs;break}for(;f<16;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if(r.wrap&2&&u===35615){r.check=0,O[0]=u&255,O[1]=u>>>8&255,r.check=It(r.check,O,2,0),u=0,f=0,r.mode=wv;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",r.mode=Oe;break}if((u&15)!==_v){e.msg="unknown compression method",r.mode=Oe;break}if(u>>>=4,f-=4,E=(u&15)+8,r.wbits===0)r.wbits=E;else if(E>r.wbits){e.msg="invalid window size",r.mode=Oe;break}r.dmax=1<<E,e.adler=r.check=1,r.mode=u&512?Av:$t,u=0,f=0;break;case wv:for(;f<16;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if(r.flags=u,(r.flags&255)!==_v){e.msg="unknown compression method",r.mode=Oe;break}if(r.flags&57344){e.msg="unknown header flags set",r.mode=Oe;break}r.head&&(r.head.text=u>>8&1),r.flags&512&&(O[0]=u&255,O[1]=u>>>8&255,r.check=It(r.check,O,2,0)),u=0,f=0,r.mode=yv;case yv:for(;f<32;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}r.head&&(r.head.time=u),r.flags&512&&(O[0]=u&255,O[1]=u>>>8&255,O[2]=u>>>16&255,O[3]=u>>>24&255,r.check=It(r.check,O,4,0)),u=0,f=0,r.mode=xv;case xv:for(;f<16;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}r.head&&(r.head.xflags=u&255,r.head.os=u>>8),r.flags&512&&(O[0]=u&255,O[1]=u>>>8&255,r.check=It(r.check,O,2,0)),u=0,f=0,r.mode=Sv;case Sv:if(r.flags&1024){for(;f<16;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}r.length=u,r.head&&(r.head.extra_len=u),r.flags&512&&(O[0]=u&255,O[1]=u>>>8&255,r.check=It(r.check,O,2,0)),u=0,f=0}else r.head&&(r.head.extra=null);r.mode=Ev;case Ev:if(r.flags&1024&&(g=r.length,g>s&&(g=s),g&&(r.head&&(E=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),it.arraySet(r.head.extra,i,n,g,E)),r.flags&512&&(r.check=It(r.check,i,g,n)),s-=g,n+=g,r.length-=g),r.length))break e;r.length=0,r.mode=Tv;case Tv:if(r.flags&2048){if(s===0)break e;g=0;do E=i[n+g++],r.head&&E&&r.length<65536&&(r.head.name+=String.fromCharCode(E));while(E&&g<s);if(r.flags&512&&(r.check=It(r.check,i,g,n)),s-=g,n+=g,E)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=Cv;case Cv:if(r.flags&4096){if(s===0)break e;g=0;do E=i[n+g++],r.head&&E&&r.length<65536&&(r.head.comment+=String.fromCharCode(E));while(E&&g<s);if(r.flags&512&&(r.check=It(r.check,i,g,n)),s-=g,n+=g,E)break e}else r.head&&(r.head.comment=null);r.mode=Ov;case Ov:if(r.flags&512){for(;f<16;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if(u!==(r.check&65535)){e.msg="header crc mismatch",r.mode=Oe;break}u=0,f=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=$t;break;case Av:for(;f<32;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}e.adler=r.check=Hv(u),u=0,f=0,r.mode=An;case An:if(r.havedict===0)return e.next_out=o,e.avail_out=l,e.next_in=n,e.avail_in=s,r.hold=u,r.bits=f,t1;e.adler=r.check=1,r.mode=$t;case $t:if(t===Qw||t===On)break e;case Gs:if(r.last){u>>>=f&7,f-=f&7,r.mode=Qs;break}for(;f<3;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}switch(r.last=u&1,u>>>=1,f-=1,u&3){case 0:r.mode=Iv;break;case 1:if(f1(r),r.mode=In,t===On){u>>>=2,f-=2;break e}break;case 2:r.mode=Mv;break;case 3:e.msg="invalid block type",r.mode=Oe}u>>>=2,f-=2;break;case Iv:for(u>>>=f&7,f-=f&7;f<32;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if((u&65535)!==(u>>>16^65535)){e.msg="invalid stored block lengths",r.mode=Oe;break}if(r.length=u&65535,u=0,f=0,r.mode=Js,t===On)break e;case Js:r.mode=kv;case kv:if(g=r.length,g){if(g>s&&(g=s),g>l&&(g=l),g===0)break e;it.arraySet(a,i,n,g,o),s-=g,n+=g,l-=g,o+=g,r.length-=g;break}r.mode=$t;break;case Mv:for(;f<14;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if(r.nlen=(u&31)+257,u>>>=5,f-=5,r.ndist=(u&31)+1,u>>>=5,f-=5,r.ncode=(u&15)+4,u>>>=4,f-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=Oe;break}r.have=0,r.mode=Rv;case Rv:for(;r.have<r.ncode;){for(;f<3;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}r.lens[U[r.have++]]=u&7,u>>>=3,f-=3}for(;r.have<19;)r.lens[U[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,M={bits:r.lenbits},C=Ki(Jw,r.lens,0,19,r.lencode,0,r.work,M),r.lenbits=M.bits,C){e.msg="invalid code lengths set",r.mode=Oe;break}r.have=0,r.mode=Lv;case Lv:for(;r.have<r.nlen+r.ndist;){for(;w=r.lencode[u&(1<<r.lenbits)-1],h=w>>>24,b=w>>>16&255,c=w&65535,!(h<=f);){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if(c<16)u>>>=h,f-=h,r.lens[r.have++]=c;else{if(c===16){for(R=h+2;f<R;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if(u>>>=h,f-=h,r.have===0){e.msg="invalid bit length repeat",r.mode=Oe;break}E=r.lens[r.have-1],g=3+(u&3),u>>>=2,f-=2}else if(c===17){for(R=h+3;f<R;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}u>>>=h,f-=h,E=0,g=3+(u&7),u>>>=3,f-=3}else{for(R=h+7;f<R;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}u>>>=h,f-=h,E=0,g=11+(u&127),u>>>=7,f-=7}if(r.have+g>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=Oe;break}for(;g--;)r.lens[r.have++]=E}}if(r.mode===Oe)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=Oe;break}if(r.lenbits=9,M={bits:r.lenbits},C=Ki(dv,r.lens,0,r.nlen,r.lencode,0,r.work,M),r.lenbits=M.bits,C){e.msg="invalid literal/lengths set",r.mode=Oe;break}if(r.distbits=6,r.distcode=r.distdyn,M={bits:r.distbits},C=Ki(hv,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,M),r.distbits=M.bits,C){e.msg="invalid distances set",r.mode=Oe;break}if(r.mode=In,t===On)break e;case In:r.mode=kn;case kn:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=n,e.avail_in=s,r.hold=u,r.bits=f,Gw(e,p),o=e.next_out,a=e.output,l=e.avail_out,n=e.next_in,i=e.input,s=e.avail_in,u=r.hold,f=r.bits,r.mode===$t&&(r.back=-1);break}for(r.back=0;w=r.lencode[u&(1<<r.lenbits)-1],h=w>>>24,b=w>>>16&255,c=w&65535,!(h<=f);){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if(b&&(b&240)===0){for(v=h,_=b,x=c;w=r.lencode[x+((u&(1<<v+_)-1)>>v)],h=w>>>24,b=w>>>16&255,c=w&65535,!(v+h<=f);){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}u>>>=v,f-=v,r.back+=v}if(u>>>=h,f-=h,r.back+=h,r.length=c,b===0){r.mode=Fv;break}if(b&32){r.back=-1,r.mode=$t;break}if(b&64){e.msg="invalid literal/length code",r.mode=Oe;break}r.extra=b&15,r.mode=Pv;case Pv:if(r.extra){for(R=r.extra;f<R;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}r.length+=u&(1<<r.extra)-1,u>>>=r.extra,f-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=Nv;case Nv:for(;w=r.distcode[u&(1<<r.distbits)-1],h=w>>>24,b=w>>>16&255,c=w&65535,!(h<=f);){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if((b&240)===0){for(v=h,_=b,x=c;w=r.distcode[x+((u&(1<<v+_)-1)>>v)],h=w>>>24,b=w>>>16&255,c=w&65535,!(v+h<=f);){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}u>>>=v,f-=v,r.back+=v}if(u>>>=h,f-=h,r.back+=h,b&64){e.msg="invalid distance code",r.mode=Oe;break}r.offset=c,r.extra=b&15,r.mode=Dv;case Dv:if(r.extra){for(R=r.extra;f<R;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}r.offset+=u&(1<<r.extra)-1,u>>>=r.extra,f-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=Oe;break}r.mode=Bv;case Bv:if(l===0)break e;if(g=p-l,r.offset>g){if(g=r.offset-g,g>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=Oe;break}g>r.wnext?(g-=r.wnext,y=r.wsize-g):y=r.wnext-g,g>r.length&&(g=r.length),m=r.window}else m=a,y=o-r.offset,g=r.length;g>l&&(g=l),l-=g,r.length-=g;do a[o++]=m[y++];while(--g);r.length===0&&(r.mode=kn);break;case Fv:if(l===0)break e;a[o++]=r.length,l--,r.mode=kn;break;case Qs:if(r.wrap){for(;f<32;){if(s===0)break e;s--,u|=i[n++]<<f,f+=8}if(p-=l,e.total_out+=p,r.total+=p,p&&(e.adler=r.check=r.flags?It(r.check,a,p,o-p):Ks(r.check,a,p,o-p)),p=l,(r.flags?u:Hv(u))!==r.check){e.msg="incorrect data check",r.mode=Oe;break}u=0,f=0}r.mode=$v;case $v:if(r.wrap&&r.flags){for(;f<32;){if(s===0)break e;s--,u+=i[n++]<<f,f+=8}if(u!==(r.total&4294967295)){e.msg="incorrect length check",r.mode=Oe;break}u=0,f=0}r.mode=zv;case zv:C=e1;break e;case Oe:C=pv;break e;case Uv:return mv;case i1:default:return ft}return e.next_out=o,e.avail_out=l,e.next_in=n,e.avail_in=s,r.hold=u,r.bits=f,(r.wsize||p!==e.avail_out&&r.mode<Oe&&(r.mode<Qs||t!==gv))&&Xv(e,e.output,e.next_out,p-e.avail_out),d-=e.avail_in,p-=e.avail_out,e.total_in+=d,e.total_out+=p,r.total+=p,r.wrap&&p&&(e.adler=r.check=r.flags?It(r.check,a,p,e.next_out-p):Ks(r.check,a,p,e.next_out-p)),e.data_type=r.bits+(r.last?64:0)+(r.mode===$t?128:0)+(r.mode===In||r.mode===Js?256:0),(d===0&&p===0||t===gv)&&C===Er&&(C=r1),C}function v1(e){if(!e||!e.state)return ft;var t=e.state;return t.window&&(t.window=null),e.state=null,Er}function d1(e,t){var r;return!e||!e.state||(r=e.state,(r.wrap&2)===0)?ft:(r.head=t,t.done=!1,Er)}function h1(e,t){var r=t.length,i,a,n;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==An)?ft:i.mode===An&&(a=1,a=Ks(a,t,r,0),a!==i.check)?pv:(n=Xv(e,t,r,r),n?(i.mode=Uv,mv):(i.havedict=1,Er))}gt.inflateReset=Vv,gt.inflateReset2=jv,gt.inflateResetKeep=Wv,gt.inflateInit=u1,gt.inflateInit2=Yv,gt.inflate=c1,gt.inflateEnd=v1,gt.inflateGetHeader=d1,gt.inflateSetDictionary=h1,gt.inflateInfo="pako inflate (from Nodeca project)";var Zv={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};function g1(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var p1=g1,ri=gt,Gi=Bt,Mn=xr,Me=Zv,rl=zs,m1=av,_1=p1,Kv=Object.prototype.toString;function Tr(e){if(!(this instanceof Tr))return new Tr(e);this.options=Gi.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)===0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new m1,this.strm.avail_out=0;var r=ri.inflateInit2(this.strm,t.windowBits);if(r!==Me.Z_OK)throw new Error(rl[r]);if(this.header=new _1,ri.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Mn.string2buf(t.dictionary):Kv.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=ri.inflateSetDictionary(this.strm,t.dictionary),r!==Me.Z_OK)))throw new Error(rl[r])}Tr.prototype.push=function(e,t){var r=this.strm,i=this.options.chunkSize,a=this.options.dictionary,n,o,s,l,u,f=!1;if(this.ended)return!1;o=t===~~t?t:t===!0?Me.Z_FINISH:Me.Z_NO_FLUSH,typeof e=="string"?r.input=Mn.binstring2buf(e):Kv.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Gi.Buf8(i),r.next_out=0,r.avail_out=i),n=ri.inflate(r,Me.Z_NO_FLUSH),n===Me.Z_NEED_DICT&&a&&(n=ri.inflateSetDictionary(this.strm,a)),n===Me.Z_BUF_ERROR&&f===!0&&(n=Me.Z_OK,f=!1),n!==Me.Z_STREAM_END&&n!==Me.Z_OK)return this.onEnd(n),this.ended=!0,!1;r.next_out&&(r.avail_out===0||n===Me.Z_STREAM_END||r.avail_in===0&&(o===Me.Z_FINISH||o===Me.Z_SYNC_FLUSH))&&(this.options.to==="string"?(s=Mn.utf8border(r.output,r.next_out),l=r.next_out-s,u=Mn.buf2string(r.output,s),r.next_out=l,r.avail_out=i-l,l&&Gi.arraySet(r.output,r.output,s,l,0),this.onData(u)):this.onData(Gi.shrinkBuf(r.output,r.next_out))),r.avail_in===0&&r.avail_out===0&&(f=!0)}while((r.avail_in>0||r.avail_out===0)&&n!==Me.Z_STREAM_END);return n===Me.Z_STREAM_END&&(o=Me.Z_FINISH),o===Me.Z_FINISH?(n=ri.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Me.Z_OK):(o===Me.Z_SYNC_FLUSH&&(this.onEnd(Me.Z_OK),r.avail_out=0),!0)},Tr.prototype.onData=function(e){this.chunks.push(e)},Tr.prototype.onEnd=function(e){e===Me.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Gi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function il(e,t){var r=new Tr(t);if(r.push(e,!0),r.err)throw r.msg||rl[r.err];return r.result}function b1(e,t){return t=t||{},t.raw=!0,il(e,t)}Zi.Inflate=Tr,Zi.inflate=il,Zi.inflateRaw=b1,Zi.ungzip=il;var w1=Bt.assign,y1=Di,x1=Zi,S1=Zv,Gv={};w1(Gv,y1,x1,S1);var Jv=Gv,E1="upx2px",T1=1e-4,C1=750,Qv=!1,al=0,ed=0,td=960,rd=375;function O1(){var{platform:e,pixelRatio:t,windowWidth:r}=yc();al=r,ed=t,Qv=e==="ios"}function id(e,t){var r=Number(e);return isNaN(r)?t:r}function A1(){var e=__uniConfig.globalStyle||{};td=id(e.rpxCalcMaxDeviceWidth,960),rd=id(e.rpxCalcBaseDeviceWidth,375)}var ad=Cb(E1,(e,t)=>{if(al===0&&(O1(),A1()),e=Number(e),e===0)return 0;var r=t||al;r=r<=td?r:rd;var i=e/C1*r;return i<0&&(i=-i),i=Math.floor(i+T1),i===0&&(ed===1||!Qv?i=1:i=.5),e<0?-i:i});new Ru;var I1=[{name:"id",type:String,required:!0}];I1.concat({name:"componentInstance",type:Object});var nd={};nd.f={}.propertyIsEnumerable;var k1=ui,M1=vo,R1=wa,L1=nd.f,P1=function(e){return function(t){for(var r=R1(t),i=M1(r),a=i.length,n=0,o=[],s;a>n;)s=i[n++],(!k1||L1.call(r,s))&&o.push(e?[s,r[s]]:r[s]);return o}},od=fo,N1=P1(!1);od(od.S,"Object",{values:function(t){return N1(t)}});var D1="setPageMeta",B1="loadFontFace",F1="pageScrollTo",$1=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(c){try{return c.defaultView&&c.defaultView.frameElement||null}catch(v){return null}}var t=function(c){for(var v=c,_=e(v);_;)v=_.ownerDocument,_=e(v);return v}(window.document),r=[],i=null,a=null;function n(c){this.time=c.time,this.target=c.target,this.rootBounds=y(c.rootBounds),this.boundingClientRect=y(c.boundingClientRect),this.intersectionRect=y(c.intersectionRect||g()),this.isIntersecting=!!c.intersectionRect;var v=this.boundingClientRect,_=v.width*v.height,x=this.intersectionRect,E=x.width*x.height;_?this.intersectionRatio=Number((E/_).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(c,v){var _=v||{};if(typeof c!="function")throw new Error("callback must be a function");if(_.root&&_.root.nodeType!=1&&_.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=c,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(_.rootMargin),this.thresholds=this._initThresholds(_.threshold),this.root=_.root||null,this.rootMargin=this._rootMarginValues.map(function(x){return x.value+x.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return i||(i=function(c,v){!c||!v?a=g():a=m(c,v),r.forEach(function(_){_._checkForIntersections()})}),i},o._resetCrossOriginUpdater=function(){i=null,a=null},o.prototype.observe=function(c){var v=this._observationTargets.some(function(_){return _.element==c});if(!v){if(!(c&&c.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:c,entry:null}),this._monitorIntersections(c.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(c){this._observationTargets=this._observationTargets.filter(function(v){return v.element!=c}),this._unmonitorIntersections(c.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var c=this._queuedEntries.slice();return this._queuedEntries=[],c},o.prototype._initThresholds=function(c){var v=c||[0];return Array.isArray(v)||(v=[v]),v.sort().filter(function(_,x,E){if(typeof _!="number"||isNaN(_)||_<0||_>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return _!==E[x-1]})},o.prototype._parseRootMargin=function(c){var v=c||"0px",_=v.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 _[1]=_[1]||_[0],_[2]=_[2]||_[0],_[3]=_[3]||_[1],_},o.prototype._monitorIntersections=function(c){var v=c.defaultView;if(!!v&&this._monitoringDocuments.indexOf(c)==-1){var _=this._checkForIntersections,x=null,E=null;this.POLL_INTERVAL?x=v.setInterval(_,this.POLL_INTERVAL):(u(v,"resize",_,!0),u(c,"scroll",_,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in v&&(E=new v.MutationObserver(_),E.observe(c,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(c),this._monitoringUnsubscribes.push(function(){var M=c.defaultView;M&&(x&&M.clearInterval(x),f(M,"resize",_,!0)),f(c,"scroll",_,!0),E&&E.disconnect()});var C=this.root&&(this.root.ownerDocument||this.root)||t;if(c!=C){var O=e(c);O&&this._monitorIntersections(O.ownerDocument)}}},o.prototype._unmonitorIntersections=function(c){var v=this._monitoringDocuments.indexOf(c);if(v!=-1){var _=this.root&&(this.root.ownerDocument||this.root)||t,x=this._observationTargets.some(function(O){var M=O.element.ownerDocument;if(M==c)return!0;for(;M&&M!=_;){var R=e(M);if(M=R&&R.ownerDocument,M==c)return!0}return!1});if(!x){var E=this._monitoringUnsubscribes[v];if(this._monitoringDocuments.splice(v,1),this._monitoringUnsubscribes.splice(v,1),E(),c!=_){var C=e(c);C&&this._unmonitorIntersections(C.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var c=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var v=0;v<c.length;v++)c[v]()},o.prototype._checkForIntersections=function(){if(!(!this.root&&i&&!a)){var c=this._rootIsInDom(),v=c?this._getRootRect():g();this._observationTargets.forEach(function(_){var x=_.element,E=p(x),C=this._rootContainsTarget(x),O=_.entry,M=c&&C&&this._computeTargetAndRootIntersection(x,E,v),R=null;this._rootContainsTarget(x)?(!i||this.root)&&(R=v):R=g();var U=_.entry=new n({time:s(),target:x,boundingClientRect:E,rootBounds:R,intersectionRect:M});O?c&&C?this._hasCrossedThreshold(O,U)&&this._queuedEntries.push(U):O&&O.isIntersecting&&this._queuedEntries.push(U):this._queuedEntries.push(U)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},o.prototype._computeTargetAndRootIntersection=function(c,v,_){if(window.getComputedStyle(c).display!="none"){for(var x=v,E=h(c),C=!1;!C&&E;){var O=null,M=E.nodeType==1?window.getComputedStyle(E):{};if(M.display=="none")return null;if(E==this.root||E.nodeType==9)if(C=!0,E==this.root||E==t)i&&!this.root?!a||a.width==0&&a.height==0?(E=null,O=null,x=null):O=a:O=_;else{var R=h(E),U=R&&p(R),te=R&&this._computeTargetAndRootIntersection(R,U,_);U&&te?(E=R,O=m(U,te)):(E=null,x=null)}else{var L=E.ownerDocument;E!=L.body&&E!=L.documentElement&&M.overflow!="visible"&&(O=p(E))}if(O&&(x=d(O,x)),!x)break;E=E&&h(E)}return x}},o.prototype._getRootRect=function(){var c;if(this.root&&!b(this.root))c=p(this.root);else{var v=b(this.root)?this.root:t,_=v.documentElement,x=v.body;c={top:0,left:0,right:_.clientWidth||x.clientWidth,width:_.clientWidth||x.clientWidth,bottom:_.clientHeight||x.clientHeight,height:_.clientHeight||x.clientHeight}}return this._expandRectByRootMargin(c)},o.prototype._expandRectByRootMargin=function(c){var v=this._rootMarginValues.map(function(x,E){return x.unit=="px"?x.value:x.value*(E%2?c.width:c.height)/100}),_={top:c.top-v[0],right:c.right+v[1],bottom:c.bottom+v[2],left:c.left-v[3]};return _.width=_.right-_.left,_.height=_.bottom-_.top,_},o.prototype._hasCrossedThreshold=function(c,v){var _=c&&c.isIntersecting?c.intersectionRatio||0:-1,x=v.isIntersecting?v.intersectionRatio||0:-1;if(_!==x)for(var E=0;E<this.thresholds.length;E++){var C=this.thresholds[E];if(C==_||C==x||C<_!=C<x)return!0}},o.prototype._rootIsInDom=function(){return!this.root||w(t,this.root)},o.prototype._rootContainsTarget=function(c){var v=this.root&&(this.root.ownerDocument||this.root)||t;return w(v,c)&&(!this.root||v==c.ownerDocument)},o.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},o.prototype._unregisterInstance=function(){var c=r.indexOf(this);c!=-1&&r.splice(c,1)};function s(){return window.performance&&performance.now&&performance.now()}function l(c,v){var _=null;return function(){_||(_=setTimeout(function(){c(),_=null},v))}}function u(c,v,_,x){typeof c.addEventListener=="function"?c.addEventListener(v,_,x||!1):typeof c.attachEvent=="function"&&c.attachEvent("on"+v,_)}function f(c,v,_,x){typeof c.removeEventListener=="function"?c.removeEventListener(v,_,x||!1):typeof c.detatchEvent=="function"&&c.detatchEvent("on"+v,_)}function d(c,v){var _=Math.max(c.top,v.top),x=Math.min(c.bottom,v.bottom),E=Math.max(c.left,v.left),C=Math.min(c.right,v.right),O=C-E,M=x-_;return O>=0&&M>=0&&{top:_,bottom:x,left:E,right:C,width:O,height:M}||null}function p(c){var v;try{v=c.getBoundingClientRect()}catch(_){}return v?(v.width&&v.height||(v={top:v.top,right:v.right,bottom:v.bottom,left:v.left,width:v.right-v.left,height:v.bottom-v.top}),v):g()}function g(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function y(c){return!c||"x"in c?c:{top:c.top,y:c.top,bottom:c.bottom,left:c.left,x:c.left,right:c.right,width:c.width,height:c.height}}function m(c,v){var _=v.top-c.top,x=v.left-c.left;return{top:_,left:x,height:v.height,width:v.width,bottom:_+v.height,right:x+v.width}}function w(c,v){for(var _=v;_;){if(_==c)return!0;_=h(_)}return!1}function h(c){var v=c.parentNode;return c.nodeType==9&&c!=t?e(c):(v&&v.assignedSlot&&(v=v.assignedSlot.parentNode),v&&v.nodeType==11&&v.host?v.host:v)}function b(c){return c&&c.nodeType===9}window.IntersectionObserver=o,window.IntersectionObserverEntry=n};function nl(e){var{bottom:t,height:r,left:i,right:a,top:n,width:o}=e||{};return{bottom:t,height:r,left:i,right:a,top:n,width:o}}function z1(e){var{intersectionRatio:t,boundingClientRect:{height:r,width:i},intersectionRect:{height:a,width:n}}=e;return t!==0?t:a===r?n/i:a/r}function U1(e,t,r){$1();var i=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,a=new IntersectionObserver(l=>{l.forEach(u=>{r({intersectionRatio:z1(u),intersectionRect:nl(u.intersectionRect),boundingClientRect:nl(u.boundingClientRect),relativeRect:nl(u.rootBounds),time:Date.now(),dataset:Lo(u.target),id:u.target.id})})},{root:i,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){a.USE_MUTATION_OBSERVER=!0;for(var n=e.querySelectorAll(t.selector),o=0;o<n.length;o++)a.observe(n[o])}else{a.USE_MUTATION_OBSERVER=!1;var s=e.querySelector(t.selector);s?a.observe(s):console.warn("Node ".concat(t.selector," is not found. Intersection observer will not trigger."))}return a}function H1(e){UniViewJSBridge.invokeServiceMethod("navigateTo",e)}function W1(e){UniViewJSBridge.invokeServiceMethod("navigateBack",e)}function V1(e){UniViewJSBridge.invokeServiceMethod("reLaunch",e)}function j1(e){UniViewJSBridge.invokeServiceMethod("redirectTo",e)}function Y1(e){UniViewJSBridge.invokeServiceMethod("switchTab",e)}var q1=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",upx2px:ad,navigateTo:H1,navigateBack:W1,reLaunch:V1,redirectTo:j1,switchTab:Y1});function X1(){if(String(navigator.vendor).indexOf("Apple")===0){var e=null,t;document.documentElement.addEventListener("click",r=>{var i=450,a=44;clearTimeout(t),e&&Math.abs(r.pageX-e.pageX)<=a&&Math.abs(r.pageY-e.pageY)<=a&&r.timeStamp-e.timeStamp<=i&&r.preventDefault(),e=r,t=setTimeout(()=>{e=null},i)})}}function Z1(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 a={};return r.forEach(n=>{var[o,s]=n;i?a[t(o)]=t(s):a[t(o)]=s}),a};return t}function sd(e,t){if(!!t)return t.a&&(t.a=e(t.a)),t.e&&(t.e=e(t.e,!1)),t.w&&(t.w=K1(t.w,e)),t.s&&(t.s=e(t.s)),t.t&&(t.t=e(t.t)),t}function K1(e,t){var r={};return e.forEach(i=>{var[a,[n,o]]=i;r[t(a)]=[t(n),o]}),r}function G1(e,t){return e.priority=t,e}var ol=new Set,J1=1,Rn=2,ld=3,ud=4;function zt(e,t){ol.add(G1(e,t))}function Q1(){try{[...ol].sort((e,t)=>e.priority-t.priority).forEach(e=>e())}finally{ol.clear()}}function fd(e,t){var r=window["__"+Ap],i=r&&r[e];if(i)return i;if(t&&t.__renderjsInstances)return t.__renderjsInstances[e]}var ey=xu.length;function ty(e,t,r){var[i,a,n,o]=ll(t),s=sl(e,i);if(ne(r)||ne(o)){var[l,u]=n.split(".");return ul(s,a,l,u,r||o)}return ay(s,a,n)}function ry(e,t,r){var[i,a,n]=ll(t),[o,s]=n.split("."),l=sl(e,i);return ul(l,a,o,s,[oy(r,e),Ni(qr(l))])}function sl(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 ll(e){return JSON.parse(e.slice(ey))}function iy(e,t,r,i){var[a,n,o]=ll(e),s=sl(t,a),[l,u]=o.split(".");return ul(s,n,l,u,[r,i,Ni(qr(s)),Ni(qr(t))])}function ul(e,t,r,i,a){var n=fd(t,e);if(!n)return console.error(Mo("wxs","module "+r+" not found"));var o=n[i];return oe(o)?o.apply(n,a):console.error(r+"."+i+" is not a function")}function ay(e,t,r){var i=fd(t,e);return i?Eu(i,r.slice(r.indexOf(".")+1)):console.error(Mo("wxs","module "+r+" not found"))}function ny(e,t,r){var i=r;return a=>{try{iy(t,e.$,a,i)}catch(n){console.error(n)}i=a}}function oy(e,t){var r=qr(t);return Object.defineProperty(e,"instance",{get(){return Ni(r)}}),e}function cd(e,t){Object.keys(t).forEach(r=>{ly(e,t[r])})}function sy(e){var{__renderjsInstances:t}=e.$;!t||Object.keys(t).forEach(r=>{t[r].$.appContext.app.unmount()})}function ly(e,t){var r=uy(t);if(!!r){var i=e.$;(i.__renderjsInstances||(i.__renderjsInstances={}))[t]=fy(i,r)}}function uy(e){var t=window["__"+Ip],r=t&&t[e];return r||console.error(Mo("renderjs",e+" not found"))}function fy(e,t){return t=t.default||t,t.render=()=>{},nc(t).mixin({mounted(){this.$ownerInstance=Ni(qr(e))}}).mount(document.createElement("div"))}class ii{constructor(t,r,i,a){this.isMounted=!1,this.isUnmounted=!1,this.$hasWxsProps=!1,this.$children=[],this.id=t,this.tag=r,this.pid=i,a&&(this.$=a),this.$wxsProps=new Map;var n=this.$parent=yT(i);n&&n.appendUniChild(this)}init(t){ie(t,"t")&&(this.$.textContent=t.t)}setText(t){this.$.textContent=t,this.updateView()}insert(t,r,i){i&&this.init(i,!1);var a=this.$,n=Ke(t);r===-1?n.appendChild(a):n.insertBefore(a,Ke(r).$),this.isMounted=!0}remove(){this.removeUniParent();var{$:t}=this;t.parentNode.removeChild(t),this.isUnmounted=!0,Th(this.id),sy(this),this.removeUniChildren(),this.updateView()}appendChild(t){var r=this.$.appendChild(t);return this.updateView(!0),r}insertBefore(t,r){var i=this.$.insertBefore(t,r);return this.updateView(!0),i}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(Fo)===0){var i=r.replace(Fo,""),a=t[i],n=ny(this,t[r],a);zt(()=>n(a),ud),this.$wxsProps.set(r,n),delete t[r],delete t[i],this.$hasWxsProps=!0}})}addWxsEvents(t){Object.keys(t).forEach(r=>{var[i,a]=t[r];this.addWxsEvent(r,i,a)})}addWxsEvent(t,r,i){}wxsPropsInvoke(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=this.$hasWxsProps&&this.$wxsProps.get(Fo+t);if(a)return zt(()=>i?Ur(()=>a(r)):a(r),ud),!0}updateView(t){(this.isMounted||t)&&window.dispatchEvent(new CustomEvent("updateview"))}}function vd(e,t){var{__wxsAddClass:r,__wxsRemoveClass:i}=e;i&&i.length&&(t=t.split(/\s+/).filter(a=>i.indexOf(a)===-1).join(" "),i.length=0),r&&r.length&&(t=t+" "+r.join(" ")),e.className=t}function fl(e){return vy(Vr(e,!0))}var cy=/url\(\s*'?"?([a-zA-Z0-9\.\-\_\/]+\.(jpg|gif|png))"?'?\s*\)/,vy=e=>{if(Ee(e)&&e.indexOf("url(")!==-1){var t=e.match(cy);t&&t.length===3&&(e=e.replace(t[1],st(t[1])))}return e},dd=["Webkit"],cl={};function hd(e,t){var r=cl[t];if(r)return r;var i=Ht(t);if(i!=="filter"&&i in e)return cl[t]=i;i=Oo(i);for(var a=0;a<dd.length;a++){var n=dd[a]+i;if(n in e)return cl[t]=n}return t}function gd(e,t){var r=e.style;if(Ee(t))t===""?e.removeAttribute("style"):r.cssText=fl(t);else for(var i in t)vl(r,i,t[i]);var{__wxsStyle:a}=e;if(a)for(var n in a)vl(r,n,a[n])}var pd=/\s*!important$/;function vl(e,t,r){if(ne(r))r.forEach(a=>vl(e,t,a));else if(r=fl(r),t.startsWith("--"))e.setProperty(t,r);else{var i=hd(e,t);pd.test(r)?e.setProperty(Je(i),r.replace(pd,""),"important"):e[i]=r}}var dy=Su.length;function dl(e,t){return Ee(t)&&(t.indexOf(Su)===0?t=JSON.parse(t.slice(dy)):t.indexOf(xu)===0&&(t=ty(e,t))),t}function Ln(e){return e.indexOf("--")===0}function hy(e){return!!e.addWxsEvent}function md(e,t){var r=e.__listeners[t];r&&e.removeEventListener(t,r)}function _d(e,t){if(e.__listeners[t])return!0}function bd(e,t,r){var[i,a]=No(t);r===-1?md(e,i):_d(e,i)||e.addEventListener(i,e.__listeners[i]=wd(e.__id,r,a),a)}function wd(e,t,r){var i=a=>{var[n]=pc(a);n.type=Wp(a.type,r),UniViewJSBridge.publishHandler(bc,[[im,e,n]])};return t?ws(i,yd(t)):i}function yd(e){var t=[];return e&Do.prevent&&t.push("prevent"),e&Do.self&&t.push("self"),e&Do.stop&&t.push("stop"),t}function gy(e,t,r,i){var[a,n]=No(t);i===-1?md(e,a):_d(e,a)||e.addEventListener(a,e.__listeners[a]=xd(e,r,i),n)}function xd(e,t,r){var i=a=>{ry(hy(e)?e.$:e,t,pc(a)[0])};return r?ws(i,yd(r)):i}function hl(e,t){e._vod=e.style.display==="none"?"":e.style.display,e.style.display=t?e._vod:"none"}class Sd extends ii{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r.tagName,i,r);this.$props=ke({}),this.$.__id=t,this.$.__listeners=Object.create(null),this.$propNames=o,this._update=this.update.bind(this),this.init(n),this.insert(i,a)}init(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;ie(t,"a")&&this.setAttrs(t.a),ie(t,"s")&&this.setAttr("style",t.s),ie(t,"e")&&this.addEvents(t.e),ie(t,"w")&&this.addWxsEvents(t.w),super.init(t),r&&(W(this.$props,()=>{zt(this._update,J1)},{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){gy(this.$,t,r,i)}addEvent(t,r){bd(this.$,t,r)}removeEvent(t){bd(this.$,t,-1)}setAttr(t,r){t===Ou?vd(this.$,r):t===Bo?gd(this.$,r):t===Da?hl(this.$,r):t===Au?this.$.__ownerId=r:t===Iu?zt(()=>cd(this,r),ld):t===Vp?this.$.innerHTML=r:t===jp?this.setText(r):this.setAttribute(t,r),this.updateView()}removeAttr(t){t===Ou?vd(this.$,""):t===Bo?gd(this.$,""):this.removeAttribute(t),this.updateView()}setAttribute(t,r){r=dl(this.$,r),this.$propNames.indexOf(t)!==-1?this.$props[t]=r:Ln(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]:Ln(t)?this.$.style.removeProperty(t):this.$.removeAttribute(t)}update(){}}class py extends ii{constructor(t,r,i){super(t,"#comment",r,document.createComment(""));this.insert(r,i)}}var KT="";function Ed(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 my(e){return e.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase())).replace("webkit","-webkit")}function _y(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"],a=["width","height","left","right","top","bottom"],n=e.animates,o=e.option,s=o.transition,l={},u=[];return n.forEach(f=>{var d=f.type,p=[...f.args];if(t.concat(r).includes(d))d.startsWith("rotate")||d.startsWith("skew")?p=p.map(y=>parseFloat(y)+"deg"):d.startsWith("translate")&&(p=p.map(Ed)),r.indexOf(d)>=0&&(p.length=1),u.push("".concat(d,"(").concat(p.join(","),")"));else if(i.concat(a).includes(p[0])){d=p[0];var g=p[1];l[d]=a.includes(d)?Ed(g):g}}),l.transform=l.webkitTransform=u.join(" "),l.transition=l.webkitTransition=Object.keys(l).map(f=>"".concat(my(f)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")).join(","),l.transformOrigin=l.webkitTransformOrigin=o.transformOrigin,l}function Td(e){var t=e.animation;if(!t||!t.actions||!t.actions.length)return;var r=0,i=t.actions,a=t.actions.length;function n(){var o=i[r],s=o.option.transition,l=_y(o);Object.keys(l).forEach(u=>{e.$el.style[u]=l[u]}),r+=1,r<a&&setTimeout(n,s.duration+s.delay)}setTimeout(()=>{n()},0)}var Pn={props:["animation"],watch:{animation:{deep:!0,handler(){Td(this)}}},mounted(){Td(this)}},de=e=>{e.__reserved=!0;var{props:t,mixins:r}=e;return(!t||!t.animation)&&(r||(e.mixins=[])).push(Pn),by(e)},by=e=>(e.__reserved=!0,e.compatConfig={MODE:3},P0(e)),wy={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function gl(e){var t=F(!1),r=!1,i,a;function n(){requestAnimationFrame(()=>{clearTimeout(a),a=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function o(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||n()},parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&n()}function l(){r=!1,t.value=!1,clearTimeout(i)}return{hovering:t,binding:{onTouchstartPassive:o,onTouchend:s,onTouchcancel:l}}}function ai(e,t){return Ee(t)&&(t=[t]),t.reduce((r,i)=>(e[i]&&(r[i]=!0),r),Object.create(null))}function Cr(e){return e.__wwe=!0,e}function Le(e,t){return(r,i,a)=>{e.value&&t(r,xy(r,i,e.value,a||{}))}}function yy(e){return(t,r)=>{e(t,mc(r))}}function xy(e,t,r,i){var a=Po(r);return{type:i.type||e,timeStamp:t.timeStamp||0,target:a,currentTarget:a,detail:i}}var kt=vn("uf"),Sy=de({name:"Form",emits:["submit","reset"],setup(e,t){var{slots:r,emit:i}=t,a=F(null);return Ey(Le(a,i)),()=>I("uni-form",{ref:a},[I("span",null,[r.default&&r.default()])],512)}});function Ey(e){var t=[];return ze(kt,{addField(r){t.push(r)},removeField(r){t.splice(t.indexOf(r),1)},submit(r){e("submit",r,{value:t.reduce((i,a)=>{if(a.submit){var[n,o]=a.submit();n&&(i[n]=o)}return i},Object.create(null))})},reset(r){t.forEach(i=>i.reset&&i.reset()),e("reset",r)}}),t}var Ty={for:{type:String,default:""}},Ji=vn("ul");function Cy(){var e=[];return ze(Ji,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}var Oy=de({name:"Label",props:Ty,setup(e,t){var{slots:r}=t,i=gn(),a=Cy(),n=ee(()=>e.for||r.default&&r.default.length),o=Cr(s=>{var l=s.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,s,!0):a.length&&a[0](s,!0))});return()=>I("uni-label",{class:{"uni-label-pointer":n},onClick:o},[r.default&&r.default()],10,["onClick"])}});function Nn(e,t){Cd(e.id,t),W(()=>e.id,(r,i)=>{Od(i,t,!0),Cd(r,t,!0)}),Zt(()=>{Od(e.id,t)})}function Cd(e,t,r){var i=gn();r&&!e||!_t(t)||Object.keys(t).forEach(a=>{r?a.indexOf("@")!==0&&a.indexOf("uni-")!==0&&UniViewJSBridge.on("uni-".concat(a,"-").concat(i,"-").concat(e),t[a]):a.indexOf("uni-")===0?UniViewJSBridge.on(a,t[a]):e&&UniViewJSBridge.on("uni-".concat(a,"-").concat(i,"-").concat(e),t[a])})}function Od(e,t,r){var i=gn();r&&!e||!_t(t)||Object.keys(t).forEach(a=>{r?a.indexOf("@")!==0&&a.indexOf("uni-")!==0&&UniViewJSBridge.off("uni-".concat(a,"-").concat(i,"-").concat(e),t[a]):a.indexOf("uni-")===0?UniViewJSBridge.off(a,t[a]):e&&UniViewJSBridge.off("uni-".concat(a,"-").concat(i,"-").concat(e),t[a])})}var Ay={id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},Iy=de({name:"Button",props:Ay,setup(e,t){var{slots:r}=t,i=F(null);Sm();var a=_e(kt,!1),{hovering:n,binding:o}=gl(e),{t:s}=Qe(),l=Cr((f,d)=>{if(e.disabled)return f.stopImmediatePropagation();d&&i.value.click();var p=e.formType;if(p){if(!a)return;p==="submit"?a.submit(f):p==="reset"&&a.reset(f);return}e.openType==="feedback"&&ky(s("uni.button.feedback.title"),s("uni.button.feedback.send"))}),u=_e(Ji,!1);return u&&(u.addHandler(l),Ce(()=>{u.removeHandler(l)})),Nn(e,{"label-click":l}),()=>{var f=e.hoverClass,d=ai(e,"disabled"),p=ai(e,"loading"),g=ai(e,"plain"),y=f&&f!=="none";return I("uni-button",rt({ref:i,onClick:l,class:y&&n.value?f:""},y&&o,d,p,g),[r.default&&r.default()],16,["onClick"])}}});function ky(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 Or=de({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,t){var{emit:r}=t,i=F(null),a=Ry(i),n=My(i,r,a);return Ly(i,e,n,a),()=>I("uni-resize-sensor",{ref:i,onAnimationstartOnce:n},[I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"]),I("div",{onScroll:n},[I("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function My(e,t,r){var i=ke({width:-1,height:-1});return W(()=>ce({},i),a=>t("resize",a)),()=>{var a=e.value;i.width=a.offsetWidth,i.height=a.offsetHeight,r()}}function Ry(e){return()=>{var{firstElementChild:t,lastElementChild:r}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,r.scrollLeft=1e5,r.scrollTop=1e5}}function Ly(e,t,r,i){ls(i),Re(()=>{t.initial&&Ur(r);var a=e.value;a.offsetParent!==a.parentElement&&(a.parentElement.style.position="relative"),"AnimationEvent"in window||i()})}var ye=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 Ad(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;e.width=e.offsetWidth*(t?ye:1),e.height=e.offsetHeight*(t?ye:1),e.getContext("2d").__hidpi__=t}var Id=!1;function Py(){if(!Id){Id=!0;var e=function(i,a){for(var n in i)ie(i,n)&&a(i[n],n)},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(a,n,o,s,l,u,f,d,p,g){if(!this.__hidpi__)return i.apply(this,arguments);n*=ye,o*=ye,s*=ye,l*=ye,u*=ye,f*=ye,d=g?d*ye:d,p=g?p*ye:p,i.call(this,a,n,o,s,l,u,f,d,p)}}(r.drawImage),ye!==1&&(e(t,function(i,a){r[a]=function(n){return function(){if(!this.__hidpi__)return n.apply(this,arguments);var o=Array.prototype.slice.call(arguments);if(i==="all")o=o.map(function(l){return l*ye});else if(Array.isArray(i))for(var s=0;s<i.length;s++)o[i[s]]*=ye;return n.apply(this,o)}}(r[a])}),r.stroke=function(i){return function(){if(!this.__hidpi__)return i.apply(this,arguments);this.lineWidth*=ye,i.apply(this,arguments),this.lineWidth/=ye}}(r.stroke),r.fillText=function(i){return function(){if(!this.__hidpi__)return i.apply(this,arguments);var a=Array.prototype.slice.call(arguments);a[1]*=ye,a[2]*=ye,a[3]&&typeof a[3]=="number"&&(a[3]*=ye);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,function(o,s,l){return s*ye+l}),i.apply(this,a),this.font=n}}(r.fillText),r.strokeText=function(i){return function(){if(!this.__hidpi__)return i.apply(this,arguments);var a=Array.prototype.slice.call(arguments);a[1]*=ye,a[2]*=ye,a[3]&&typeof a[3]=="number"&&(a[3]*=ye);var n=this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,function(o,s,l){return s*ye+l}),i.apply(this,a),this.font=n}}(r.strokeText),r.drawImage=function(i){return function(){if(!this.__hidpi__)return i.apply(this,arguments);this.scale(ye,ye),i.apply(this,arguments),this.scale(1/ye,1/ye)}}(r.drawImage))}}var Ny=pi(()=>Py());function kd(e){return e&&st(e)}function Dn(e){return e=e.slice(0),e[3]=e[3]/255,"rgba("+e.join(",")+")"}function Md(e,t){var r=e;return Array.from(t).map(i=>{var a=r.getBoundingClientRect();return{identifier:i.identifier,x:i.clientX-a.left,y:i.clientY-a.top}})}var Qi;function Rd(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Qi||(Qi=document.createElement("canvas")),Qi.width=e,Qi.height=t,Qi}var Dy={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},By=de({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:Dy,computed:{id(){return this.canvasId}},setup(e,t){var{emit:r,slots:i}=t;Ny();var a=F(null),n=F(null),o=F(!1),s=yy(r),{$attrs:l,$excludeAttrs:u,$listeners:f}=Gd({excludeListeners:!0}),{_listeners:d}=Fy(e,f,s),{_handleSubscribe:p,_resize:g}=$y(e,a,o);return sa(p,la(e.canvasId),!0),Re(()=>{g()}),()=>{var{canvasId:y,disableScroll:m}=e;return I("uni-canvas",rt({"canvas-id":y,"disable-scroll":m},l.value,u.value,d.value),[I("canvas",{ref:a,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(Or,{ref:n,onResize:g},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function Fy(e,t,r){var i=ee(()=>{var a=["onTouchstart","onTouchmove","onTouchend"],n=t.value,o=ce({},(()=>{var s={};for(var l in n)if(Object.prototype.hasOwnProperty.call(n,l)){var u=n[l];s[l]=u}return s})());return a.forEach(s=>{var l=o[s],u=[];l&&u.push(Cr(f=>{r(s.replace("on","").toLocaleLowerCase(),ce({},(()=>{var d={};for(var p in f)d[p]=f[p];return d})(),{touches:Md(f.currentTarget,f.touches),changedTouches:Md(f.currentTarget,f.changedTouches)}))})),e.disableScroll&&s==="onTouchmove"&&u.push(lc),o[s]=u}),o});return{_listeners:i}}function $y(e,t,r){var i=[],a={},n=ee(()=>e.hidpi?ye:1);function o(m){var w=t.value,h=!m||w.width!==Math.floor(m.width*n.value)||w.height!==Math.floor(m.height*n.value);if(!!h)if(w.width>0&&w.height>0){var b=w.getContext("2d"),c=b.getImageData(0,0,w.width,w.height);Ad(w,e.hidpi),b.putImageData(c,0,0)}else Ad(w,e.hidpi)}function s(m,w){var{actions:h,reserve:b}=m;if(!!h){if(r.value){i.push([h,b]);return}var c=t.value,v=c.getContext("2d");b||(v.fillStyle="#000000",v.strokeStyle="#000000",v.shadowColor="#000000",v.shadowBlur=0,v.shadowOffsetX=0,v.shadowOffsetY=0,v.setTransform(1,0,0,1,0,0),v.clearRect(0,0,c.width,c.height)),l(h);for(var _=function(C){var O=h[C],M=O.method,R=O.data,U=R[0];if(/^set/.test(M)&&M!=="setTransform"){var te=M[3].toLowerCase()+M.slice(4),L;if(te==="fillStyle"||te==="strokeStyle"){if(U==="normal")L=Dn(R[1]);else if(U==="linear"){var H=v.createLinearGradient(...R[1]);R[2].forEach(function(J){var xe=J[0],we=Dn(J[1]);H.addColorStop(xe,we)}),L=H}else if(U==="radial"){var q=R[1],re=q[0],V=q[1],K=q[2],ae=v.createRadialGradient(re,V,0,re,V,K);R[2].forEach(function(J){var xe=J[0],we=Dn(J[1]);ae.addColorStop(xe,we)}),L=ae}else if(U==="pattern"){var Te=u(R[1],h.slice(C+1),w,function(J){J&&(v[te]=v.createPattern(J,R[2]))});return Te?"continue":"break"}v[te]=L}else if(te==="globalAlpha")v[te]=Number(U)/255;else if(te==="shadow"){var se=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];R.forEach(function(J,xe){v[se[xe]]=se[xe]==="shadowColor"?Dn(J):J})}else if(te==="fontSize"){var he=v.__font__||v.font;v.__font__=v.font=he.replace(/\d+\.?\d*px/,U+"px")}else te==="lineDash"?(v.setLineDash(U),v.lineDashOffset=R[1]||0):te==="textBaseline"?(U==="normal"&&(R[0]="alphabetic"),v[te]=U):te==="font"?v.__font__=v.font=U:v[te]=U}else if(M==="fillPath"||M==="strokePath")M=M.replace(/Path/,""),v.beginPath(),R.forEach(function(J){v[J.method].apply(v,J.data)}),v[M]();else if(M==="fillText")v.fillText.apply(v,R);else if(M==="drawImage"){var le=function(){var J=[...R],xe=J[0],we=J.slice(1);if(a=a||{},!u(xe,h.slice(C+1),w,function(Ve){Ve&&v.drawImage.apply(v,[Ve].concat([...we.slice(4,8)],[...we.slice(0,4)]))}))return"break"}();if(le==="break")return"break"}else M==="clip"?(R.forEach(function(J){v[J.method].apply(v,J.data)}),v.clip()):v[M].apply(v,R)},x=0;x<h.length;x++){var E=_(x);if(E==="break")break}r.value||w({errMsg:"drawCanvas:ok"})}}function l(m){m.forEach(function(w){var h=w.method,b=w.data,c="";h==="drawImage"?(c=b[0],c=kd(c),b[0]=c):h==="setFillStyle"&&b[0]==="pattern"&&(c=b[1],c=kd(c),b[1]=c),c&&!a[c]&&v();function v(){var _=a[c]=new Image;if(_.onload=function(){_.ready=!0},navigator.vendor==="Google Inc."){c.indexOf("file://")===0&&(_.crossOrigin="anonymous"),_.src=c;return}Rb(c).then(x=>{_.src=x}).catch(()=>{_.src=c})}})}function u(m,w,h,b){var c=a[m];return c.ready?(b(c),!0):(i.unshift([w,!0]),r.value=!0,c.onload=function(){c.ready=!0,b(c),r.value=!1;var v=i.slice(0);i=[];for(var _=v.shift();_;)s({actions:_[0],reserve:_[1]},h),_=v.shift()},!1)}function f(m,w){var{x:h=0,y:b=0,width:c,height:v,destWidth:_,destHeight:x,hidpi:E=!0,dataType:C,quality:O=1,type:M="png"}=m,R=t.value,U,te=R.offsetWidth-h;c=c?Math.min(c,te):te;var L=R.offsetHeight-b;v=v?Math.min(v,L):L,E?(_=c,x=v):!_&&!x?(_=Math.round(c*n.value),x=Math.round(v*n.value)):_?x||(x=Math.round(v/c*_)):_=Math.round(c/v*x);var H=Rd(_,x),q=H.getContext("2d");(M==="jpeg"||M==="jpg")&&(M="jpeg",q.fillStyle="#fff",q.fillRect(0,0,_,x)),q.__hidpi__=!0,q.drawImageByCanvas(R,h,b,c,v,0,0,_,x,!1);var re;try{var V;if(C==="base64")U=H.toDataURL("image/".concat(M),O);else{var K=q.getImageData(0,0,_,x);U=Jv.deflateRaw(K.data,{to:"string"}),V=!0}re={data:U,compressed:V,width:_,height:x}}catch(ae){re={errMsg:"canvasGetImageData:fail ".concat(ae)}}if(H.height=H.width=0,q.__hidpi__=!1,w)w(re);else return re}function d(m,w){var{data:h,x:b,y:c,width:v,height:_,compressed:x}=m;try{x&&(h=Jv.inflateRaw(h)),_||(_=Math.round(h.length/4/v));var E=Rd(v,_),C=E.getContext("2d");C.putImageData(new ImageData(new Uint8ClampedArray(h),v,_),0,0),t.value.getContext("2d").drawImage(E,b,c,v,_),E.height=E.width=0}catch(O){w({errMsg:"canvasPutImageData:fail"});return}w({errMsg:"canvasPutImageData:ok"})}function p(m,w){var{x:h=0,y:b=0,width:c,height:v,destWidth:_,destHeight:x,fileType:E,quality:C,dirname:O}=m,M=f({x:h,y:b,width:c,height:v,destWidth:_,destHeight:x,hidpi:!1,dataType:"base64",type:E,quality:C});if(!M.data||!M.data.length){w({errMsg:M.errMsg.replace("canvasPutImageData","toTempFilePath")});return}Ib(M.data,O,(R,U)=>{var te="toTempFilePath:".concat(R?"fail":"ok");R&&(te+=" ".concat(R.message)),w({errMsg:te,tempFilePath:U})})}var g={actionsChanged:s,getImageData:f,putImageData:d,toTempFilePath:p};function y(m,w,h){var b=g[m];m.indexOf("_")!==0&&typeof b=="function"&&b(w,h)}return ce(g,{_resize:o,_handleSubscribe:y})}var Ld=vn("ucg"),zy={name:{type:String,default:""}},Uy=de({name:"CheckboxGroup",props:zy,emits:["change"],setup(e,t){var{emit:r,slots:i}=t,a=F(null),n=Le(a,r);return Hy(e,n),()=>I("uni-checkbox-group",{ref:a},[i.default&&i.default()],512)}});function Hy(e,t){var r=[],i=()=>r.reduce((n,o)=>(o.value.checkboxChecked&&n.push(o.value.value),n),new Array);ze(Ld,{addField(n){r.push(n)},removeField(n){r.splice(r.indexOf(n),1)},checkboxChange(n){t("change",n,{value:i()})}});var a=_e(kt,!1);return a&&a.addField({submit:()=>{var n=["",null];return e.name!==""&&(n[0]=e.name,n[1]=i()),n}}),i}var Wy={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:""}},Vy=de({name:"Checkbox",props:Wy,setup(e,t){var{slots:r}=t,i=F(e.checked),a=F(e.value);W([()=>e.checked,()=>e.value],u=>{var[f,d]=u;i.value=f,a.value=d});var n=()=>{i.value=!1},{uniCheckGroup:o,uniLabel:s}=jy(i,a,n),l=u=>{e.disabled||(i.value=!i.value,o&&o.checkboxChange(u))};return s&&(s.addHandler(l),Ce(()=>{s.removeHandler(l)})),Nn(e,{"label-click":l}),()=>{var u=ai(e,"disabled");return I("uni-checkbox",rt(u,{onClick:l}),[I("div",{class:"uni-checkbox-wrapper"},[I("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}]},[i.value?hn(dn,e.color,22):""],2),r.default&&r.default()])],16,["onClick"])}}});function jy(e,t,r){var i=ee(()=>({checkboxChecked:Boolean(e.value),value:t.value})),a={reset:r},n=_e(Ld,!1);n&&n.addField(i);var o=_e(kt,!1);o&&o.addField(a);var s=_e(Ji,!1);return Ce(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s}}var Pd,ea,Bn,nr,Fn,pl;Nr(()=>{ea=plus.os.name==="Android",Bn=plus.os.version||""}),document.addEventListener("keyboardchange",function(e){nr=e.height,Fn&&Fn()},!1);function Nd(){}function ta(e,t,r){Nr(()=>{var i="adjustResize",a="adjustPan",n="nothing",o=plus.webview.currentWebview(),s=pl||o.getStyle()||{},l={mode:r||s.softinputMode===i?i:e.adjustPosition?a:n,position:{top:0,height:0}};if(l.mode===a){var u=t.getBoundingClientRect();l.position.top=u.top,l.position.height=u.height+(Number(e.cursorSpacing)||0)}o.setSoftinputTemporary(l)})}function Yy(e,t){if(e.showConfirmBar==="auto"){delete t.softinputNavBar;return}Nr(()=>{var r=plus.webview.currentWebview(),{softinputNavBar:i}=r.getStyle()||{},a=i!=="none";a!==e.showConfirmBar?(t.softinputNavBar=i||"auto",r.setStyle({softinputNavBar:e.showConfirmBar?"auto":"none"})):delete t.softinputNavBar})}function qy(e){var t=e.softinputNavBar;t&&Nr(()=>{var r=plus.webview.currentWebview();r.setStyle({softinputNavBar:t})})}var Dd={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},Bd=["keyboardheightchange"];function Fd(e,t,r){var i={};function a(n){var o,s=ee(()=>String(navigator.vendor).indexOf("Apple")===0),l=()=>{r("keyboardheightchange",{},{height:nr,duration:.25}),o&&nr===0&&ta(e,n),e.autoBlur&&o&&nr===0&&(ea||parseInt(Bn)>=13)&&document.activeElement.blur()};n.addEventListener("focus",()=>{o=!0,clearTimeout(Pd),document.addEventListener("click",Nd,!1),Fn=l,nr&&r("keyboardheightchange",{},{height:nr,duration:0}),Yy(e,i),ta(e,n)}),ea&&n.addEventListener("click",()=>{!e.disabled&&!e.readOnly&&o&&nr===0&&ta(e,n)}),ea||(parseInt(Bn)<12&&n.addEventListener("touchstart",()=>{!e.disabled&&!e.readOnly&&!o&&ta(e,n)}),parseFloat(Bn)>=14.6&&!pl&&Nr(()=>{var f=plus.webview.currentWebview();pl=f.getStyle()||{}}));var u=()=>{document.removeEventListener("click",Nd,!1),Fn=null,nr&&r("keyboardheightchange",{},{height:0,duration:0}),qy(i),ea&&(Pd=setTimeout(()=>{ta(e,n,!0)},300)),s.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};n.addEventListener("blur",()=>{s.value&&n.blur(),o=!1,u()})}W(()=>t.value,n=>a(n))}var $d=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,zd=/^<\/([-A-Za-z0-9_]+)[^>]*>/,Xy=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Zy=ni("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Ky=ni("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"),Gy=ni("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"),Jy=ni("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Qy=ni("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),ex=ni("script,style");function Ud(e,t){var r,i,a,n=[],o=e;for(n.last=function(){return this[this.length-1]};e;){if(i=!0,!n.last()||!ex[n.last()]){if(e.indexOf("<!--")==0?(r=e.indexOf("-->"),r>=0&&(t.comment&&t.comment(e.substring(4,r)),e=e.substring(r+3),i=!1)):e.indexOf("</")==0?(a=e.match(zd),a&&(e=e.substring(a[0].length),a[0].replace(zd,u),i=!1)):e.indexOf("<")==0&&(a=e.match($d),a&&(e=e.substring(a[0].length),a[0].replace($d,l),i=!1)),i){r=e.indexOf("<");var s=r<0?e:e.substring(0,r);e=r<0?"":e.substring(r),t.chars&&t.chars(s)}}else e=e.replace(new RegExp("([\\s\\S]*?)</"+n.last()+"[^>]*>"),function(f,d){return d=d.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),t.chars&&t.chars(d),""}),u("",n.last());if(e==o)throw"Parse Error: "+e;o=e}u();function l(f,d,p,g){if(d=d.toLowerCase(),Ky[d])for(;n.last()&&Gy[n.last()];)u("",n.last());if(Jy[d]&&n.last()==d&&u("",d),g=Zy[d]||!!g,g||n.push(d),t.start){var y=[];p.replace(Xy,function(m,w){var h=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:Qy[w]?w:"";y.push({name:w,value:h,escaped:h.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(d,y,g)}}function u(f,d){if(d)for(var p=n.length-1;p>=0&&n[p]!=d;p--);else var p=0;if(p>=0){for(var g=n.length-1;g>=p;g--)t.end&&t.end(n[g]);n.length=p}}}function ni(e){for(var t={},r=e.split(","),i=0;i<r.length;i++)t[r[i]]=!0;return t}var ml={};function Hd(e,t,r){var i=typeof e=="string"?window[e]:e;if(i){r();return}var a=ml[t];if(!a){a=ml[t]=[];var n=document.createElement("script");n.src=t,document.body.appendChild(n),n.onload=function(){a.forEach(o=>o()),delete ml[t]}}a.push(r)}function tx(e){var t=e.import("blots/block/embed");class r extends t{}return r.blotName="divider",r.tagName="HR",{"formats/divider":r}}function rx(e){var t=e.import("blots/inline");class r extends t{}return r.blotName="ins",r.tagName="INS",{"formats/ins":r}}function ix(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["left","right","center","justify"]},a=new r.Style("align","text-align",i);return{"formats/align":a}}function ax(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK,whitelist:["rtl"]},a=new r.Style("direction","direction",i);return{"formats/direction":a}}function nx(e){var t=e.import("parchment"),r=e.import("blots/container"),i=e.import("formats/list/item");class a extends r{static create(o){var s=o==="ordered"?"OL":"UL",l=super.create(s);return(o==="checked"||o==="unchecked")&&l.setAttribute("data-checked",o==="checked"),l}static formats(o){if(o.tagName==="OL")return"ordered";if(o.tagName==="UL")return o.hasAttribute("data-checked")?o.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}constructor(o){super(o);var s=l=>{if(l.target.parentNode===o){var u=this.statics.formats(o),f=t.find(l.target);u==="checked"?f.format("list","unchecked"):u==="unchecked"&&f.format("list","checked")}};o.addEventListener("click",s)}format(o,s){this.children.length>0&&this.children.tail.format(o,s)}formats(){return{[this.statics.blotName]:this.statics.formats(this.domNode)}}insertBefore(o,s){if(o instanceof i)super.insertBefore(o,s);else{var l=s==null?this.length():s.offset(this),u=this.split(l);u.parent.insertBefore(o,u)}}optimize(o){super.optimize(o);var s=this.next;s!=null&&s.prev===this&&s.statics.blotName===this.statics.blotName&&s.domNode.tagName===this.domNode.tagName&&s.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(s.moveChildren(this),s.remove())}replace(o){if(o.statics.blotName!==this.statics.blotName){var s=t.create(this.statics.defaultChild);o.moveChildren(s),this.appendChild(s)}super.replace(o)}}return a.blotName="list",a.scope=t.Scope.BLOCK_BLOT,a.tagName=["OL","UL"],a.defaultChild="list-item",a.allowedChildren=[i],{"formats/list":a}}function ox(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 sx(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.BLOCK},a=["margin","marginTop","marginBottom","marginLeft","marginRight"],n=["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"],o={};return a.concat(n).forEach(s=>{o["formats/".concat(s)]=new r.Style(s,Je(s),i)}),o}function lx(e){var{Scope:t,Attributor:r}=e.import("parchment"),i={scope:t.INLINE},a=["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"],n={};return a.forEach(o=>{n["formats/".concat(o)]=new r.Style(o,Je(o),i)}),n}function ux(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}],a={};return i.forEach(n=>{var{name:o,scope:s}=n;a["formats/".concat(o)]=new r.Style(o,Je(o),{scope:s})}),a}function fx(e){var t=e.import("formats/image"),r=["alt","height","width","data-custom","class","data-local"];t.sanitize=a=>a&&st(a),t.formats=function(n){return r.reduce(function(o,s){return n.hasAttribute(s)&&(o[s]=n.getAttribute(s)),o},{})};var i=t.prototype.format;t.prototype.format=function(a,n){r.indexOf(a)>-1?n?this.domNode.setAttribute(a,n):this.domNode.removeAttribute(a):i.call(this,a,n)}}function cx(e){var t=e.import("formats/link");t.sanitize=r=>{var i=document.createElement("a");i.href=r;var a=i.href.slice(0,i.href.indexOf(":"));return t.PROTOCOL_WHITELIST.concat("file").indexOf(a)>-1?r:t.SANITIZED_URL}}function vx(e){var t={divider:tx,ins:rx,align:ix,direction:ax,list:nx,background:ox,box:sx,font:lx,text:ux,image:fx,link:cx},r={};Object.values(t).forEach(i=>ce(r,i(e))),e.register(r,!0)}function dx(e,t,r){var i,a,n,o=!1;W(()=>e.readOnly,y=>{i&&(n.enable(!y),y||n.blur())}),W(()=>e.placeholder,y=>{i&&u(y)});function s(y){var m=["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="",h;Ud(y,{start:function(c,v,_){if(!m.includes(c)){h=!_;return}h=!1;var x=v.map(C=>{var{name:O,value:M}=C;return"".concat(O,'="').concat(M,'"')}).join(" "),E="<".concat(c," ").concat(x," ").concat(_?"/":"",">");w+=E},end:function(c){h||(w+="</".concat(c,">"))},chars:function(c){h||(w+=c)}}),a=!0;var b=n.clipboard.convert(w);return a=!1,b}function l(){var y=n.root.innerHTML,m=n.getText(),w=n.getContents();return{html:y,text:m,delta:w}}function u(y){var m="data-placeholder",w=n.root;w.getAttribute(m)!==y&&w.setAttribute(m,y)}var f={};function d(y){var m=y?n.getFormat(y):{},w=Object.keys(m);(w.length!==Object.keys(f).length||w.find(h=>m[h]!==f[h]))&&(f=m,r("statuschange",{},m))}function p(y){var m=window.Quill;vx(m);var w={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};y.length&&(m.register("modules/ImageResize",window.ImageResize.default),w.modules={ImageResize:{modules:y}});var h=t.value;n=new m(h,w);var b=n.root,c=["focus","blur","input"];c.forEach(v=>{b.addEventListener(v,_=>{var x=l();if(v==="input"){if(yc().platform==="ios"){var E=(x.html.match(/<span [\s\S]*>([\s\S]*)<\/span>/)||[])[1],C=E&&E.replace(/\s/g,"")?"":e.placeholder;u(C)}_.stopPropagation()}else r(v,_,x)})}),n.on("text-change",()=>{o||r("input",{},l())}),n.on("selection-change",d),n.on("scroll-optimize",()=>{var v=n.selection.getRange()[0];d(v)}),n.clipboard.addMatcher(Node.ELEMENT_NODE,(v,_)=>(a||_.ops&&(_.ops=_.ops.filter(x=>{var{insert:E}=x;return typeof E=="string"}).map(x=>{var{insert:E}=x;return{insert:E}})),_)),i=!0,r("ready",{},{})}Re(()=>{var y=[];e.showImgSize&&y.push("DisplaySize"),e.showImgToolbar&&y.push("Toolbar"),e.showImgResize&&y.push("Resize");var m="./__uniappquill.js";Hd(window.Quill,m,()=>{if(y.length){var w="./__uniappquillimageresize.js";Hd(window.ImageResize,w,()=>{p(y)})}else p(y)})});var g=la();sa((y,m,w)=>{var{options:h,callbackId:b}=m,c,v,_;if(i){var x=window.Quill;switch(y){case"format":{var{name:E="",value:C=!1}=h;v=n.getSelection(!0);var O=n.getFormat(v)[E]||!1;if(["bold","italic","underline","strike","ins"].includes(E))C=!O;else if(E==="direction"){C=C==="rtl"&&O?!1:C;var M=n.getFormat(v).align;C==="rtl"&&!M?n.format("align","right","user"):!C&&M==="right"&&n.format("align",!1,"user")}else if(E==="indent"){var R=n.getFormat(v).direction==="rtl";C=C==="+1",R&&(C=!C),C=C?"+1":"-1"}else E==="list"&&(C=C==="check"?"unchecked":C,O=O==="checked"?"unchecked":O),C=O&&O!==(C||!1)||!O&&C?C:!O;n.format(E,C,"user")}break;case"insertDivider":v=n.getSelection(!0),n.insertText(v.index,gi,"user"),n.insertEmbed(v.index+1,"divider",!0,"user"),n.setSelection(v.index+2,0,"silent");break;case"insertImage":{v=n.getSelection(!0);var{src:U="",alt:te="",width:L="",height:H="",extClass:q="",data:re={}}=h,V=st(U);n.insertEmbed(v.index,"image",V,"user");var K=/^(file|blob):/.test(V)?V:!1;o=!0,n.formatText(v.index,1,"data-local",K),n.formatText(v.index,1,"alt",te),n.formatText(v.index,1,"width",L),n.formatText(v.index,1,"height",H),n.formatText(v.index,1,"class",q),o=!1,n.formatText(v.index,1,"data-custom",Object.keys(re).map(le=>"".concat(le,"=").concat(re[le])).join("&")),n.setSelection(v.index+1,0,"silent")}break;case"insertText":{v=n.getSelection(!0);var{text:ae=""}=h;n.insertText(v.index,ae,"user"),n.setSelection(v.index+ae.length,0,"silent")}break;case"setContents":{var{delta:Te,html:se}=h;typeof Te=="object"?n.setContents(Te,"silent"):typeof se=="string"?n.setContents(s(se),"silent"):_="contents is missing"}break;case"getContents":c=l();break;case"clear":n.setText("");break;case"removeFormat":{v=n.getSelection(!0);var he=x.import("parchment");v.length?n.removeFormat(v.index,v.length,"user"):Object.keys(n.getFormat(v)).forEach(le=>{he.query(le,he.Scope.INLINE)&&n.format(le,!1)})}break;case"undo":n.history.undo();break;case"redo":n.history.redo();break;case"blur":n.blur();break;case"getSelectionText":v=n.selection.savedRange,c={text:""},v&&v.length!==0&&(c.text=n.getText(v.index,v.length));break;case"scrollIntoView":n.scrollIntoView();break}d(v)}else _="not ready";b&&w({callbackId:b,data:ce({},c,{errMsg:"".concat(y,":").concat(_?"fail "+_:"ok")})})},g,!0)}var hx=ce({},Dd,{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}}),gx=de({name:"Editor",props:hx,emit:["ready","focus","blur","input","statuschange",...Bd],setup(e,t){var{emit:r}=t,i=F(null),a=Le(i,r);return dx(e,i,a),Fd(e,i,a),()=>I("uni-editor",{ref:i,id:e.id,class:"ql-container"},null,8,["id"])}}),Wd="#10aeff",px="#f76260",Vd="#b2b2b2",mx="#f43530",_x={success:{d:rb,c:Na},success_no_circle:{d:dn,c:Na},info:{d:eb,c:Wd},warn:{d:ab,c:px},waiting:{d:ib,c:Wd},cancel:{d:G_,c:mx},download:{d:Q_,c:Na},search:{d:tb,c:Vd},clear:{d:J_,c:Vd}},bx=de({name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},setup(e){var t=ee(()=>_x[e.type]);return()=>{var{value:r}=t;return I("uni-icon",null,[r&&r.d&&hn(r.d,e.color||r.c,Vr(e.size))])}}}),wx={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},$n={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},yx={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"]},xx=de({name:"Image",props:wx,setup(e,t){var{emit:r}=t,i=F(null),a=Sx(i,e),n=Le(i,r),{fixSize:o}=Ox(i,e,a);return Ex(a,o,n),()=>{var{mode:s}=e,{imgSrc:l,modeStyle:u,src:f}=a,d;return d=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),d,$n[s]?I(Or,{onResize:o},null,8,["onResize"]):I("span",null,null)],512)}}});function Sx(e,t){var r=F(""),i=ee(()=>{var n="auto",o="",s=yx[t.mode];return s?(s[0]&&(o=s[0]),s[1]&&(n=s[1])):(o="0% 0%",n="100% 100%"),"background-image:".concat(r.value?'url("'+r.value+'")':"none",";background-position:").concat(o,";background-size:").concat(n,";")}),a=ke({rootEl:e,src:ee(()=>t.src?st(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:i,imgSrc:r});return Re(()=>{var n=e.value,o=n.style;a.origWidth=Number(o.width)||0,a.origHeight=Number(o.height)||0}),a}function Ex(e,t,r){var i,a=function(){var s=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=s,e.origHeight=l,e.imgSrc=u},n=s=>{if(!s){o(),a();return}i=i||new Image,i.onload=l=>{var{width:u,height:f}=i;a(u,f,s),t(),o(),r("load",l,{width:u,height:f})},i.onerror=l=>{a(),o(),r("error",l,{errMsg:"GET ".concat(e.src," 404 (Not Found)")})},i.src=s},o=()=>{i&&(i.onload=null,i.onerror=null,i=null)};W(()=>e.src,s=>n(s)),Re(()=>n(e.src)),Ce(()=>o())}var Tx=navigator.vendor==="Google Inc.";function Cx(e){return Tx&&e>10&&(e=Math.round(e/2)*2),e}function Ox(e,t,r){var i=()=>{var{mode:n}=t,o=$n[n];if(!!o){var{origWidth:s,origHeight:l}=r,u=s&&l?s/l:0;if(!!u){var f=e.value,d=f[o[0]];d&&(f.style[o[1]]=Cx(o[2](d,u))+"px"),window.dispatchEvent(new CustomEvent("updateview"))}}},a=()=>{var{style:n}=e.value,{origStyle:{width:o,height:s}}=r;n.width=o,n.height=s};return W(()=>t.mode,(n,o)=>{$n[o]&&a(),$n[n]&&i()}),{fixSize:i,resetSize:a}}function Ax(e,t){var r=0,i,a,n=function(){for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];var u=Date.now();if(clearTimeout(i),a=()=>{a=null,r=u,e.apply(this,s)},u-r<t){i=setTimeout(a,t-(u-r));return}a()};return n.cancel=function(){clearTimeout(i),a=null},n.flush=function(){clearTimeout(i),a&&a()},n}var Ix=mi(!0),zn=[],_l=0,jd,Yd=e=>zn.forEach(t=>t.userAction=e);function kx(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{userAction:!1};if(!jd){var t=["touchstart","touchmove","touchend","mousedown","mouseup"];t.forEach(r=>{document.addEventListener(r,function(){!_l&&Yd(!0),_l++,setTimeout(()=>{!--_l&&Yd(!1)},0)},Ix)}),jd=!0}zn.push(e)}function Mx(e){var t=zn.indexOf(e);t>=0&&zn.splice(t,1)}function Rx(){var e=ke({userAction:!1});return Re(()=>{kx(e)}),Ce(()=>{Mx(e)}),{state:e}}function qd(){var e=ke({attrs:{}});return Re(()=>{for(var t=Dt();t;){var r=t.type.__scopeId;r&&(e.attrs[r]=""),t=t.proxy&&t.proxy.$mpType==="page"?null:t.parent}}),{state:e}}function Lx(e,t){var r=_e(kt,!1);if(!!r){var i=Dt(),a={submit(){var n=i.proxy;return[n[e],typeof t=="string"?n[t]:t.value]},reset(){typeof t=="string"?i.proxy[t]="":t.value=""}};r.addField(a),Ce(()=>{r.removeField(a)})}}function Px(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 Nx=function(){wt(Gt(),"getSelectedTextRange",Px)},Dx=200,bl;function wl(e,t){return t==="number"&&isNaN(Number(e))&&(e=""),e===null?"":String(e)}var Xd=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"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0}},Dd),Zd=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend",...Bd];function Bx(e,t,r){var i=F(null),a=Le(t,r),n=ee(()=>{var d=Number(e.selectionStart);return isNaN(d)?-1:d}),o=ee(()=>{var d=Number(e.selectionEnd);return isNaN(d)?-1:d}),s=ee(()=>{var d=Number(e.cursor);return isNaN(d)?-1:d}),l=ee(()=>{var d=Number(e.maxlength);return isNaN(d)?140:d}),u=wl(e.modelValue,e.type)||wl(e.value,e.type),f=ke({value:u,valueOrigin:u,maxlength:l,focus:e.focus,composing:!1,selectionStart:n,selectionEnd:o,cursor:s});return W(()=>f.focus,d=>r("update:focus",d)),W(()=>f.maxlength,d=>f.value=f.value.slice(0,d)),{fieldRef:i,state:f,trigger:a}}function Fx(e,t,r,i){var a=am(s=>{t.value=wl(s,e.type)},100,{setTimeout,clearTimeout});W(()=>e.modelValue,a),W(()=>e.value,a);var n=Ax((s,l)=>{a.cancel(),r("update:modelValue",l.value),r("update:value",l.value),i("input",s,l)},100),o=(s,l,u)=>{a.cancel(),n(s,l),u&&n.flush()};return Af(()=>{a.cancel(),n.cancel()}),{trigger:i,triggerInput:o}}function $x(e,t){var{state:r}=Rx(),i=ee(()=>e.autoFocus||e.focus);function a(){if(!!i.value){var o=t.value;if(!o||!("plus"in window)){setTimeout(a,100);return}{var s=Dx-(Date.now()-bl);if(s>0){setTimeout(a,s);return}o.focus(),r.userAction||plus.key.showSoftKeybord()}}}function n(){var o=t.value;o&&o.blur()}W(()=>e.focus,o=>{o?a():n()}),Re(()=>{bl=bl||Date.now(),i.value&&Ur(a)})}function zx(e,t,r,i,a,n){function o(){var f=e.value;f&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&f.type!=="number"&&(f.selectionStart=t.selectionStart,f.selectionEnd=t.selectionEnd)}function s(){var f=e.value;f&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&f.type!=="number"&&(f.selectionEnd=f.selectionStart=t.cursor)}function l(f){return f.type==="number"?null:f.selectionEnd}function u(){var f=e.value,d=function(m){t.focus=!0,i("focus",m,{value:t.value}),o(),s()},p=function(m,w){m.stopPropagation(),!(typeof n=="function"&&n(m,t)===!1)&&(t.value=f.value,(!t.composing||!r.ignoreCompositionEvent)&&a(m,{value:f.value,cursor:l(f)},w))},g=function(m){t.composing&&(t.composing=!1,p(m,!0)),t.focus=!1,i("blur",m,{value:t.value,cursor:l(m.target)})};f.addEventListener("change",m=>m.stopPropagation()),f.addEventListener("focus",d),f.addEventListener("blur",g),f.addEventListener("input",p),f.addEventListener("compositionstart",m=>{m.stopPropagation(),t.composing=!0,y(m)}),f.addEventListener("compositionend",m=>{m.stopPropagation(),t.composing&&(t.composing=!1,p(m)),y(m)}),f.addEventListener("compositionupdate",y);function y(m){r.ignoreCompositionEvent||i(m.type,m,{value:m.data})}}W([()=>t.selectionStart,()=>t.selectionEnd],o),W(()=>t.cursor,s),W(()=>e.value,u)}function Kd(e,t,r,i){Nx();var{fieldRef:a,state:n,trigger:o}=Bx(e,t,r),{triggerInput:s}=Fx(e,n,r,o);$x(e,a),Fd(e,a,o);var{state:l}=qd();Lx("name",n),zx(a,n,e,o,s,i);var u=String(navigator.vendor).indexOf("Apple")===0&&CSS.supports("image-orientation:from-image");return{fieldRef:a,state:n,scopedAttrsState:l,fixDisabledColor:u,trigger:o}}var Ux=ce({},Xd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),Hx=de({name:"Input",props:Ux,emits:["confirm",...Zd],setup(e,t){var{emit:r}=t,i=["text","number","idcard","digit","password","tel"],a=["off","one-time-code"],n=ee(()=>{var b="";switch(e.type){case"text":e.confirmType==="search"&&(b="search");break;case"idcard":b="text";break;case"digit":b="number";break;default:b=~i.includes(e.type)?e.type:"text";break}return e.password?"password":b}),o=ee(()=>{var b=a.indexOf(e.textContentType),c=a.indexOf(Je(e.textContentType)),v=b!==-1?b:c!==-1?c:0;return a[v]}),s=F(""),l,u=F(null),{fieldRef:f,state:d,scopedAttrsState:p,fixDisabledColor:g,trigger:y}=Kd(e,u,r,(b,c)=>{var v=b.target;if(n.value==="number"){if(l&&(v.removeEventListener("blur",l),l=null),v.validity&&!v.validity.valid)return!s.value&&b.data==="-"||s.value[0]==="-"&&b.inputType==="deleteContentBackward"?(s.value="-",c.value="",l=()=>{s.value=v.value=""},v.addEventListener("blur",l),!1):(s.value=c.value=v.value=s.value==="-"?"":s.value,!1);s.value=v.value;var _=c.maxlength;if(_>0&&v.value.length>_)return v.value=v.value.slice(0,_),c.value=v.value,!1}});W(()=>d.value,b=>{e.type==="number"&&!(s.value==="-"&&b==="")&&(s.value=b)});var m=["number","digit"],w=ee(()=>m.includes(e.type)?"0.000000000000000001":"");function h(b){if(b.key==="Enter"){var c=b.target;b.stopPropagation(),y("confirm",b,{value:c.value}),!e.confirmHold&&c.blur()}}return()=>{var b=e.disabled&&g?I("input",{ref:f,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:n.value,maxlength:d.maxlength,step:w.value,class:"uni-input-input",onFocus:c=>c.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):I("input",{ref:f,value:d.value,disabled:!!e.disabled,type:n.value,maxlength:d.maxlength,step:w.value,enterkeyhint:e.confirmType,pattern:e.type==="number"?"[0-9]*":void 0,class:"uni-input-input",autocomplete:o.value,onKeyup:h},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return I("uni-input",{ref:u},[I("div",{class:"uni-input-wrapper"},[Ii(I("div",rt(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Li,!(d.value.length||s.value==="-")]]),e.confirmType==="search"?I("form",{action:"",onSubmit:c=>c.preventDefault(),class:"uni-input-form"},[b],40,["onSubmit"]):b])],512)}}});function Wx(e){return Object.keys(e).map(t=>[t,e[t]])}var Vx=["class","style"],jx=/^on[A-Z]+/,Gd=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{excludeListeners:t=!1,excludeKeys:r=[]}=e,i=Dt(),a=es({}),n=es({}),o=es({}),s=r.concat(Vx);return i.attrs=ke(i.attrs),R0(()=>{var l=Wx(i.attrs).reduce((u,f)=>{var[d,p]=f;return s.includes(d)?u.exclude[d]=p:jx.test(d)?(t||(u.attrs[d]=p),u.listeners[d]=p):u.attrs[d]=p,u},{exclude:{},attrs:{},listeners:{}});a.value=l.attrs,n.value=l.listeners,o.value=l.exclude}),{$attrs:a,$listeners:n,$excludeAttrs:o}},Un,ra;function Hn(){Nr(()=>{Un||(Un=plus.webview.currentWebview()),ra||(ra=(Un.getStyle()||{}).pullToRefresh||{})})}function or(e){var{disable:t}=e;ra&&ra.support&&Un.setPullToRefresh(Object.assign({},ra,{support:!t}))}function yl(e){var t=[];return Array.isArray(e)&&e.forEach(r=>{en(r)?r.type===xt?t.push(...yl(r.children)):t.push(r):Array.isArray(r)&&t.push(...yl(r))}),t}function ia(e){var t=Dt();t.rebuild=e}var Yx={scaleArea:{type:Boolean,default:!1}},qx=de({inheritAttrs:!1,name:"MovableArea",props:Yx,setup(e,t){var{slots:r}=t,i=F(null),a=F(!1),{setContexts:n,events:o}=Xx(e,i),{$listeners:s,$attrs:l,$excludeAttrs:u}=Gd(),f=s.value,d=["onTouchstart","onTouchmove","onTouchend"];d.forEach(h=>{var b=f[h],c=o["_".concat(h)];f[h]=b?[].concat(b,c):c}),Re(()=>{o._resize(),Hn(),a.value=!0});var p=[],g=[];function y(){for(var h=[],b=function(v){var _=p[v];_ instanceof Element||(_=_.el);var x=g.find(E=>_===E.rootRef.value);x&&h.push(qa(x))},c=0;c<p.length;c++)b(c);n(h)}ia(()=>{p=i.value.children,y()});var m=h=>{g.push(h),y()},w=h=>{var b=g.indexOf(h);b>=0&&(g.splice(b,1),y())};return ze("_isMounted",a),ze("movableAreaRootRef",i),ze("addMovableViewContext",m),ze("removeMovableViewContext",w),()=>(r.default&&r.default(),I("uni-movable-area",rt({ref:i},l.value,u.value,f),[I(Or,{onReize:o._resize},null,8,["onReize"]),p],16))}});function Jd(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function Xx(e,t){var r=F(0),i=F(0),a=ke({x:null,y:null}),n=F(null),o=null,s=[];function l(m){m&&m!==1&&(e.scaleArea?s.forEach(function(w){w._setScale(m)}):o&&o._setScale(m))}function u(m){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s,h=t.value;function b(c){for(var v=0;v<w.length;v++){var _=w[v];if(c===_.rootRef.value)return _}return c===h||c===document.body||c===document?null:b(c.parentNode)}return b(m)}var f=Cr(m=>{or({disable:!0});var w=m.touches;if(w&&w.length>1){var h={x:w[1].pageX-w[0].pageX,y:w[1].pageY-w[0].pageY};if(n.value=Jd(h),a.x=h.x,a.y=h.y,!e.scaleArea){var b=u(w[0].target),c=u(w[1].target);o=b&&b===c?b:null}}}),d=Cr(m=>{var w=m.touches;if(w&&w.length>1){m.preventDefault();var h={x:w[1].pageX-w[0].pageX,y:w[1].pageY-w[0].pageY};if(a.x!==null&&n.value&&n.value>0){var b=Jd(h)/n.value;l(b)}a.x=h.x,a.y=h.y}}),p=Cr(m=>{or({disable:!1});var w=m.touches;w&&w.length||m.changedTouches&&(a.x=0,a.y=0,n.value=null,e.scaleArea?s.forEach(function(h){h._endScale()}):o&&o._endScale())});function g(){y(),s.forEach(function(m,w){m.setParent()})}function y(){var m=window.getComputedStyle(t.value),w=t.value.getBoundingClientRect();r.value=w.width-["Left","Right"].reduce(function(h,b){var c="border"+b+"Width",v="padding"+b;return h+parseFloat(m[c])+parseFloat(m[v])},0),i.value=w.height-["Top","Bottom"].reduce(function(h,b){var c="border"+b+"Width",v="padding"+b;return h+parseFloat(m[c])+parseFloat(m[v])},0)}return ze("movableAreaWidth",r),ze("movableAreaHeight",i),{setContexts(m){s=m},events:{_onTouchstart:f,_onTouchmove:d,_onTouchend:p,_resize:g}}}var aa=function(e,t,r,i){e.addEventListener(t,a=>{typeof r=="function"&&r(a)===!1&&((typeof a.cancelable=="undefined"||a.cancelable)&&a.preventDefault(),a.stopPropagation())},{passive:!1})},Qd,eh;function Wn(e,t,r){Ce(()=>{document.removeEventListener("mousemove",Qd),document.removeEventListener("mouseup",eh)});var i=0,a=0,n=0,o=0,s=function(g,y,m,w){if(t({cancelable:g.cancelable,target:g.target,currentTarget:g.currentTarget,preventDefault:g.preventDefault.bind(g),stopPropagation:g.stopPropagation.bind(g),touches:g.touches,changedTouches:g.changedTouches,detail:{state:y,x:m,y:w,dx:m-i,dy:w-a,ddx:m-n,ddy:w-o,timeStamp:g.timeStamp}})===!1)return!1},l=null,u,f;aa(e,"touchstart",function(g){if(u=!0,g.touches.length===1&&!l)return l=g,i=n=g.touches[0].pageX,a=o=g.touches[0].pageY,s(g,"start",i,a)}),aa(e,"mousedown",function(g){if(f=!0,!u&&!l)return l=g,i=n=g.pageX,a=o=g.pageY,s(g,"start",i,a)}),aa(e,"touchmove",function(g){if(g.touches.length===1&&l){var y=s(g,"move",g.touches[0].pageX,g.touches[0].pageY);return n=g.touches[0].pageX,o=g.touches[0].pageY,y}});var d=Qd=function(g){if(!u&&f&&l){var y=s(g,"move",g.pageX,g.pageY);return n=g.pageX,o=g.pageY,y}};document.addEventListener("mousemove",d),aa(e,"touchend",function(g){if(g.touches.length===0&&l)return u=!1,l=null,s(g,"end",g.changedTouches[0].pageX,g.changedTouches[0].pageY)});var p=eh=function(g){if(f=!1,!u&&l)return l=null,s(g,"end",g.pageX,g.pageY)};document.addEventListener("mouseup",p),aa(e,"touchcancel",function(g){if(l){u=!1;var y=l;return l=null,s(g,r?"cancel":"end",y.touches[0].pageX,y.touches[0].pageY)}})}function Vn(e,t,r){return e>t-r&&e<t+r}function Ar(e,t){return Vn(e,0,t)}function xl(){}xl.prototype.x=function(e){return Math.sqrt(e)};function Mt(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}Mt.prototype.setV=function(e,t){var r=Math.pow(Math.pow(e,2)+Math.pow(t,2),.5);this._x_v=e,this._y_v=t,this._x_a=-this._f*this._x_v/r,this._y_a=-this._f*this._y_v/r,this._t=Math.abs(e/this._x_a)||Math.abs(t/this._y_a),this._lastDt=null,this._startTime=new Date().getTime()},Mt.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},Mt.prototype.s=function(e){e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),e>this._t&&(e=this._t,this._lastDt=e);var t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,r=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&t<this._endPositionX||this._x_a<0&&t>this._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&r<this._endPositionY||this._y_a<0&&r>this._endPositionY)&&(r=this._endPositionY),{x:t,y:r}},Mt.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}},Mt.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}},Mt.prototype.dt=function(){return-this._x_v/this._x_a},Mt.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},Mt.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Mt.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t};function at(e,t,r){this._m=e,this._k=t,this._c=r,this._solution=null,this._endPosition=0,this._startTime=0}at.prototype._solve=function(e,t){var r=this._c,i=this._m,a=this._k,n=r*r-4*i*a;if(n===0){var o=-r/(2*i),s=e,l=t/(o*e);return{x:function(h){return(s+l*h)*Math.pow(Math.E,o*h)},dx:function(h){var b=Math.pow(Math.E,o*h);return o*(s+l*h)*b+l*b}}}if(n>0){var u=(-r-Math.sqrt(n))/(2*i),f=(-r+Math.sqrt(n))/(2*i),d=(t-u*e)/(f-u),p=e-d;return{x:function(h){var b,c;return h===this._t&&(b=this._powER1T,c=this._powER2T),this._t=h,b||(b=this._powER1T=Math.pow(Math.E,u*h)),c||(c=this._powER2T=Math.pow(Math.E,f*h)),p*b+d*c},dx:function(h){var b,c;return h===this._t&&(b=this._powER1T,c=this._powER2T),this._t=h,b||(b=this._powER1T=Math.pow(Math.E,u*h)),c||(c=this._powER2T=Math.pow(Math.E,f*h)),p*u*b+d*f*c}}}var g=Math.sqrt(4*i*a-r*r)/(2*i),y=-r/2*i,m=e,w=(t-y*e)/g;return{x:function(h){return Math.pow(Math.E,y*h)*(m*Math.cos(g*h)+w*Math.sin(g*h))},dx:function(h){var b=Math.pow(Math.E,y*h),c=Math.cos(g*h),v=Math.sin(g*h);return b*(w*g*c-m*g*v)+y*b*(w*v+m*c)}}},at.prototype.x=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},at.prototype.dx=function(e){return e===void 0&&(e=(new Date().getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},at.prototype.setEnd=function(e,t,r){if(r||(r=new Date().getTime()),e!==this._endPosition||!Ar(t,.1)){t=t||0;var i=this._endPosition;this._solution&&(Ar(t,.1)&&(t=this._solution.dx((r-this._startTime)/1e3)),i=this._solution.x((r-this._startTime)/1e3),Ar(t,.1)&&(t=0),Ar(i,.1)&&(i=0),i+=this._endPosition),this._solution&&Ar(i-e,.1)&&Ar(t,.1)||(this._endPosition=e,this._solution=this._solve(i-this._endPosition,t),this._startTime=r)}},at.prototype.snap=function(e){this._startTime=new Date().getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},at.prototype.done=function(e){return e||(e=new Date().getTime()),Vn(this.x(),this._endPosition,.1)&&Ar(this.dx(),.1)},at.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())},at.prototype.springConstant=function(){return this._k},at.prototype.damping=function(){return this._c},at.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 na(e,t,r){this._springX=new at(e,t,r),this._springY=new at(e,t,r),this._springScale=new at(e,t,r),this._startTime=0}na.prototype.setEnd=function(e,t,r,i){var a=new Date().getTime();this._springX.setEnd(e,i,a),this._springY.setEnd(t,i,a),this._springScale.setEnd(r,i,a),this._startTime=a},na.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)}},na.prototype.done=function(){var e=new Date().getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},na.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 Zx={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}};function th(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}var Kx=de({name:"MovableView",props:Zx,emits:["change","scale"],setup(e,t){var{slots:r,emit:i}=t,a=F(null),n=Le(a,i),{setParent:o}=Gx(e,n,a);return()=>I("uni-movable-view",{ref:a},[I(Or,{onResize:o},null,8,["onResize"]),r.default&&r.default()],512)}}),Sl=!1;function rh(e){Sl||(Sl=!0,requestAnimationFrame(function(){e(),Sl=!1}))}function ih(e,t){if(e===t)return 0;var r=e.offsetLeft;return e.offsetParent?r+=ih(e.offsetParent,t):0}function ah(e,t){if(e===t)return 0;var r=e.offsetTop;return e.offsetParent?r+=ah(e.offsetParent,t):0}function nh(e,t,r){var i={id:0,cancelled:!1},a=function(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)};function n(o,s,l,u){if(!o||!o.cancelled){l(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(n.bind(null,o,s,l,u))),f&&u&&u(s)}}return n(i,e,t,r),{cancel:a.bind(null,i),model:e}}function jn(e){return/\d+[ur]px$/i.test(e)?uni.upx2px(parseFloat(e)):Number(e)||0}function Gx(e,t,r){var i=_e("movableAreaWidth",F(0)),a=_e("movableAreaHeight",F(0)),n=_e("_isMounted",F(!1)),o=_e("movableAreaRootRef"),s=_e("addMovableViewContext",()=>{}),l=_e("removeMovableViewContext",()=>{}),u=F(jn(e.x)),f=F(jn(e.y)),d=F(Number(e.scaleValue)||1),p=F(0),g=F(0),y=F(0),m=F(0),w=F(0),h=F(0),b=null,c=null,v={x:0,y:0},_={x:0,y:0},x=1,E=1,C=0,O=0,M=!1,R=!1,U,te,L=null,H=null,q=new xl,re=new xl,V={historyX:[0,0],historyY:[0,0],historyT:[0,0]},K=ee(()=>{var A=Number(e.damping);return isNaN(A)?20:A}),ae=ee(()=>{var A=Number(e.friction);return isNaN(A)||A<=0?2:A}),Te=ee(()=>{var A=Number(e.scaleMin);return isNaN(A)?.5:A}),se=ee(()=>{var A=Number(e.scaleMax);return isNaN(A)?10:A}),he=ee(()=>e.direction==="all"||e.direction==="horizontal"),le=ee(()=>e.direction==="all"||e.direction==="vertical"),J=new na(1,9*Math.pow(K.value,2)/40,K.value),xe=new Mt(1,ae.value);W(()=>e.x,A=>{u.value=jn(A)}),W(()=>e.y,A=>{f.value=jn(A)}),W(u,A=>{Ve(A)}),W(f,A=>{sr(A)}),W(()=>e.scaleValue,A=>{d.value=Number(A)||0}),W(d,A=>{va(A)}),W(Te,()=>{Ne()}),W(se,()=>{Ne()});function we(){c&&c.cancel(),b&&b.cancel()}function Ve(A){if(he.value){if(A+_.x===C)return C;b&&b.cancel(),Q(A+_.x,f.value+_.y,x)}return A}function sr(A){if(le.value){if(A+_.y===O)return O;b&&b.cancel(),Q(u.value+_.x,A+_.y,x)}return A}function Ne(){if(!e.scale)return!1;B(x,!0),z(x)}function va(A){return e.scale?(A=D(A),B(A,!0),z(A),A):!1}function da(){M||e.disabled||(or({disable:!0}),we(),V.historyX=[0,0],V.historyY=[0,0],V.historyT=[0,0],he.value&&(U=C),le.value&&(te=O),r.value.style.willChange="transform",L=null,H=null,R=!0)}function S(A){if(!M&&!e.disabled&&R){var Y=C,X=O;if(H===null&&(H=Math.abs(A.detail.dx/A.detail.dy)>1?"htouchmove":"vtouchmove"),he.value&&(Y=A.detail.dx+U,V.historyX.shift(),V.historyX.push(Y),!le.value&&L===null&&(L=Math.abs(A.detail.dx/A.detail.dy)<1)),le.value&&(X=A.detail.dy+te,V.historyY.shift(),V.historyY.push(X),!he.value&&L===null&&(L=Math.abs(A.detail.dy/A.detail.dx)<1)),V.historyT.shift(),V.historyT.push(A.detail.timeStamp),!L){A.preventDefault();var ge="touch";Y<y.value?e.outOfBounds?(ge="touch-out-of-bounds",Y=y.value-q.x(y.value-Y)):Y=y.value:Y>w.value&&(e.outOfBounds?(ge="touch-out-of-bounds",Y=w.value+q.x(Y-w.value)):Y=w.value),X<m.value?e.outOfBounds?(ge="touch-out-of-bounds",X=m.value-re.x(m.value-X)):X=m.value:X>h.value&&(e.outOfBounds?(ge="touch-out-of-bounds",X=h.value+re.x(X-h.value)):X=h.value),rh(function(){Z(Y,X,x,ge)})}}}function T(){if(!M&&!e.disabled&&R&&(or({disable:!1}),r.value.style.willChange="auto",R=!1,!L&&!G("out-of-bounds")&&e.inertia)){var A=1e3*(V.historyX[1]-V.historyX[0])/(V.historyT[1]-V.historyT[0]),Y=1e3*(V.historyY[1]-V.historyY[0])/(V.historyT[1]-V.historyT[0]);xe.setV(A,Y),xe.setS(C,O);var X=xe.delta().x,ge=xe.delta().y,ue=X+C,Fe=ge+O;ue<y.value?(ue=y.value,Fe=O+(y.value-C)*ge/X):ue>w.value&&(ue=w.value,Fe=O+(w.value-C)*ge/X),Fe<m.value?(Fe=m.value,ue=C+(m.value-O)*X/ge):Fe>h.value&&(Fe=h.value,ue=C+(h.value-O)*X/ge),xe.setEnd(ue,Fe),c=nh(xe,function(){var Ge=xe.s(),De=Ge.x,pt=Ge.y;Z(De,pt,x,"friction")},function(){c.cancel()})}!e.outOfBounds&&!e.inertia&&we()}function k(A,Y){var X=!1;return A>w.value?(A=w.value,X=!0):A<y.value&&(A=y.value,X=!0),Y>h.value?(Y=h.value,X=!0):Y<m.value&&(Y=m.value,X=!0),{x:A,y:Y,outOfBounds:X}}function P(){v.x=ih(r.value,o.value),v.y=ah(r.value,o.value)}function N(A){A=A||x,A=D(A);var Y=r.value.getBoundingClientRect();g.value=Y.height/x,p.value=Y.width/x;var X=g.value*A,ge=p.value*A;_.x=(ge-p.value)/2,_.y=(X-g.value)/2}function $(){var A=0-v.x+_.x,Y=i.value-p.value-v.x-_.x;y.value=Math.min(A,Y),w.value=Math.max(A,Y);var X=0-v.y+_.y,ge=a.value-g.value-v.y-_.y;m.value=Math.min(X,ge),h.value=Math.max(X,ge)}function j(){M=!0}function B(A,Y){if(e.scale){A=D(A),N(A),$();var X=k(C,O),ge=X.x,ue=X.y;Y?Q(ge,ue,A,"",!0,!0):rh(function(){Z(ge,ue,A,"",!0,!0)})}}function z(A){E=A}function D(A){return A=Math.max(.5,Te.value,A),A=Math.min(10,se.value,A),A}function Q(A,Y,X,ge,ue,Fe){we(),he.value||(A=C),le.value||(Y=O),e.scale||(X=x);var Ge=k(A,Y);if(A=Ge.x,Y=Ge.y,!e.animation){Z(A,Y,X,ge,ue,Fe);return}J._springX._solution=null,J._springY._solution=null,J._springScale._solution=null,J._springX._endPosition=C,J._springY._endPosition=O,J._springScale._endPosition=x,J.setEnd(A,Y,X,1),b=nh(J,function(){var De=J.x(),pt=De.x,lr=De.y,Rt=De.scale;Z(pt,lr,Rt,ge,ue,Fe)},function(){b.cancel()})}function G(A){var Y=k(C,O),X=Y.x,ge=Y.y,ue=Y.outOfBounds;return ue&&Q(X,ge,x,A),ue}function Z(A,Y,X){var ge=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"",ue=arguments.length>4?arguments[4]:void 0,Fe=arguments.length>5?arguments[5]:void 0;A!==null&&A.toString()!=="NaN"&&typeof A=="number"||(A=C||0),Y!==null&&Y.toString()!=="NaN"&&typeof Y=="number"||(Y=O||0),A=Number(A.toFixed(1)),Y=Number(Y.toFixed(1)),X=Number(X.toFixed(1)),C===A&&O===Y||ue||t("change",{},{x:th(A,_.x),y:th(Y,_.y),source:ge}),e.scale||(X=x),X=D(X),X=+X.toFixed(3),Fe&&X!==x&&t("scale",{},{x:A,y:Y,scale:X});var Ge="translateX("+A+"px) translateY("+Y+"px) translateZ(0px) scale("+X+")";r.value.style.transform=Ge,r.value.style.webkitTransform=Ge,C=A,O=Y,x=X}function fe(){if(!!n.value){we();var A=e.scale?d.value:1;P(),N(A),$(),C=u.value+_.x,O=f.value+_.y;var Y=k(C,O),X=Y.x,ge=Y.y;Z(X,ge,A,"",!0),z(A)}}function Be(){M=!1,z(x)}function Ae(A){A&&(A=E*A,j(),B(A))}return Re(()=>{Wn(r.value,Y=>{switch(Y.detail.state){case"start":da();break;case"move":S(Y);break;case"end":T()}}),fe(),xe.reconfigure(1,ae.value),J.reconfigure(1,9*Math.pow(K.value,2)/40,K.value),r.value.style.transformOrigin="center",Hn();var A={rootRef:r,setParent:fe,_endScale:Be,_setScale:Ae};s(A),Zt(()=>{l(A)})}),Zt(()=>{we()}),{setParent:fe}}var Jx=["navigate","redirect","switchTab","reLaunch","navigateBack"],Qx={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator(e){return Boolean(~Jx.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}};function eS(e){return()=>{if(e.openType!=="navigateBack"&&!e.url){console.error("<navigator/> 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}}}var tS=de({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:Qx,setup(e,t){var{slots:r}=t,i=Dt(),a=i&&i.vnode.scopeId||"",{hovering:n,binding:o}=gl(e),s=eS(e);return()=>{var{hoverClass:l,url:u}=e,f=e.hoverClass&&e.hoverClass!=="none";return I("a",{class:"navigator-wrap",href:u,onClick:lc},[I("uni-navigator",rt({class:f&&n.value?l:""},f&&o,i?i.attrs:{},{[a]:""},{onClick:s}),[r.default&&r.default()],16,["onClick"])],8,["href","onClick"])}}}),rS={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 iS(e){var t=ke([...e.value]),r=ke({value:t,height:34});return W(()=>e.value,(i,a)=>{(i===a||i.length!==a.length||i.findIndex((n,o)=>n!==a[o])>=0)&&(r.value.length=i.length,i.forEach((n,o)=>{n!==r.value[o]&&r.value.splice(o,1,n)}))}),r}var aS=de({name:"PickerView",props:rS,emits:["change","pickstart","pickend","update:value"],setup(e,t){var{slots:r,emit:i}=t,a=F(null),n=F(null),o=Le(a,i),s=iS(e),l=F(null),u=()=>{var y=l.value;s.height=y.$el.offsetHeight},f=F([]),d=F([]);function p(y){var m=d.value;if(m instanceof HTMLCollection)return Array.prototype.indexOf.call(m,y.el);m=m.filter(h=>h.type!==Hr);var w=m.indexOf(y);return w!==-1?w:f.value.indexOf(y)}var g=function(y){var m=ee({get(){var w=p(y.vnode);return s.value[w]||0},set(w){var h=p(y.vnode);if(!(h<0)){var b=s.value[h];if(b!==w){s.value[h]=w;var c=s.value.map(v=>v);i("update:value",c),o("change",{},{value:c})}}}});return m};return ze("getPickerViewColumn",g),ze("pickerViewProps",e),ze("pickerViewState",s),ia(()=>{u(),d.value=n.value.children}),()=>{var y=r.default&&r.default();return I("uni-picker-view",{ref:a},[I(Or,{ref:l,onResize:m=>{var{height:w}=m;return s.height=w}},null,8,["onResize"]),I("div",{ref:n,class:"uni-picker-view-wrapper"},[y],512)],512)}}});class oh{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 sh(e,t,r){return e>t-r&&e<t+r}function Ir(e,t){return sh(e,0,t)}class lh{constructor(t,r,i){this._m=t,this._k=r,this._c=i,this._solution=null,this._endPosition=0,this._startTime=0}_solve(t,r){var i=this._c,a=this._m,n=this._k,o=i*i-4*a*n;if(o===0){var s=-i/(2*a),l=t,u=r/(s*t);return{x:function(b){return(l+u*b)*Math.pow(Math.E,s*b)},dx:function(b){var c=Math.pow(Math.E,s*b);return s*(l+u*b)*c+u*c}}}if(o>0){var f=(-i-Math.sqrt(o))/(2*a),d=(-i+Math.sqrt(o))/(2*a),p=(r-f*t)/(d-f),g=t-p;return{x:function(b){var c,v;return b===this._t&&(c=this._powER1T,v=this._powER2T),this._t=b,c||(c=this._powER1T=Math.pow(Math.E,f*b)),v||(v=this._powER2T=Math.pow(Math.E,d*b)),g*c+p*v},dx:function(b){var c,v;return b===this._t&&(c=this._powER1T,v=this._powER2T),this._t=b,c||(c=this._powER1T=Math.pow(Math.E,f*b)),v||(v=this._powER2T=Math.pow(Math.E,d*b)),g*f*c+p*d*v}}}var y=Math.sqrt(4*a*n-i*i)/(2*a),m=-i/2*a,w=t,h=(r-m*t)/y;return{x:function(b){return Math.pow(Math.E,m*b)*(w*Math.cos(y*b)+h*Math.sin(y*b))},dx:function(b){var c=Math.pow(Math.E,m*b),v=Math.cos(y*b),_=Math.sin(y*b);return c*(h*y*v-w*y*_)+m*c*(h*_+w*v)}}}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||!Ir(r,.4)){r=r||0;var a=this._endPosition;this._solution&&(Ir(r,.4)&&(r=this._solution.dx((i-this._startTime)/1e3)),a=this._solution.x((i-this._startTime)/1e3),Ir(r,.4)&&(r=0),Ir(a,.4)&&(a=0),a+=this._endPosition),this._solution&&Ir(a-t,.4)&&Ir(r,.4)||(this._endPosition=t,this._solution=this._solve(a-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()),sh(this.x(),this._endPosition,.4)&&Ir(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,a){i.reconfigure(1,a,i.damping())}function r(i,a){i.reconfigure(1,i.springConstant(),a)}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 nS{constructor(t,r,i){this._extent=t,this._friction=r||new oh(.01),this._spring=i||new lh(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 oS(e,t,r){var i={id:0,cancelled:!1};function a(o,s,l,u){if(!o||!o.cancelled){l(s);var f=s.done();f||o.cancelled||(o.id=requestAnimationFrame(a.bind(null,o,s,l,u))),f&&u&&u(s)}}function n(o){o&&o.id&&cancelAnimationFrame(o.id),o&&(o.cancelled=!0)}return a(i,e,t,r),{cancel:n.bind(null,i),model:e}}class sS{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 nS(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&&Math.abs(i.y)<300||Math.abs(i.y)<150)){this.snap();return}if(this._enableX&&(Math.abs(t)<this._itemSize&&Math.abs(i.x)<300||Math.abs(i.x)<150)){this.snap();return}}this._enableX?this._scroll.set(this._position,i.x):this._enableY&&this._scroll.set(this._position,i.y);var a;if(this._enableSnap){var n=this._scroll._friction.x(100),o=n%this._itemSize;a=Math.abs(o)>this._itemSize/2?n-(this._itemSize-Math.abs(o)):n-o,a<=0&&a>=-this._extent&&this._scroll.setVelocityByEnd(a)}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=oS(this._scroll,()=>{var s=Date.now(),l=(s-this._scroll._startTime)/1e3,u=this._scroll.x(l);this._position=u,this.updatePosition();var f=this._scroll.dx(l);this._shouldDispatchScrollEvent&&s-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/f),this._lastTime=s)},()=>{this._enableSnap&&(a<=0&&a>=-this._extent&&(this._position=a,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 a=0,n=this._position;this._enableX?(a=this._element.childNodes.length?(r||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=r):(a=this._element.childNodes.length?(r||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=r),typeof t=="number"&&(this._position=-t),this._position<-a?this._position=-a:this._position>0&&(this._position=0),this._itemSize=i||this._itemSize,this.updatePosition(),n!==this._position&&(this.dispatchScroll(),typeof this._options.onSnap=="function"&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=a,this._scroll._extent=a}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 lS(e,t){var r={trackingID:-1,maxDy:0,maxDx:0},i=new sS(e,t);function a(l){var u=l,f=l;return u.detail.state==="move"||u.detail.state==="end"?{x:u.detail.dx,y:u.detail.dy}:{x:f.screenX-r.x,y:f.screenY-r.y}}function n(l){var u=l,f=l;u.detail.state==="start"?(r.trackingID="touch",r.x=u.detail.x,r.y=u.detail.y):(r.trackingID="mouse",r.x=f.screenX,r.y=f.screenY),r.maxDx=0,r.maxDy=0,r.historyX=[0],r.historyY=[0],r.historyTime=[u.detail.timeStamp||f.timeStamp],r.listener=i,i.onTouchStart&&i.onTouchStart(),(typeof l.cancelable!="boolean"||l.cancelable)&&l.preventDefault()}function o(l){var u=l,f=l;if(r.trackingID!==-1){(typeof l.cancelable!="boolean"||l.cancelable)&&l.preventDefault();var d=a(l);if(d){for(r.maxDy=Math.max(r.maxDy,Math.abs(d.y)),r.maxDx=Math.max(r.maxDx,Math.abs(d.x)),r.historyX.push(d.x),r.historyY.push(d.y),r.historyTime.push(u.detail.timeStamp||f.timeStamp);r.historyTime.length>10;)r.historyTime.shift(),r.historyX.shift(),r.historyY.shift();r.listener&&r.listener.onTouchMove&&r.listener.onTouchMove(d.x,d.y)}}}function s(l){if(r.trackingID!==-1){l.preventDefault();var u=a(l);if(u){var f=r.listener;r.trackingID=-1,r.listener=null;var d=r.historyTime.length,p={x:0,y:0};if(d>2)for(var g=r.historyTime.length-1,y=r.historyTime[g],m=r.historyX[g],w=r.historyY[g];g>0;){g--;var h=r.historyTime[g],b=y-h;if(b>30&&b<50){p.x=(m-r.historyX[g])/(b/1e3),p.y=(w-r.historyY[g])/(b/1e3);break}}r.historyTime=[],r.historyX=[],r.historyY=[],f&&f.onTouchEnd&&f.onTouchEnd(u.x,u.y,p)}}}return{scroller:i,handleTouchStart:n,handleTouchMove:o,handleTouchEnd:s}}var uS=0;function fS(e){var t="uni-picker-view-content-".concat(uS++);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 W(()=>e.value,r),t}function cS(e){var t=20,r=0,i=0;e.addEventListener("touchstart",a=>{var n=a.changedTouches[0];r=n.clientX,i=n.clientY}),e.addEventListener("touchend",a=>{var n=a.changedTouches[0];if(Math.abs(n.clientX-r)<t&&Math.abs(n.clientY-i)<t){var o={bubbles:!0,cancelable:!0,target:a.target,currentTarget:a.currentTarget},s=new CustomEvent("click",o),l=["screenX","screenY","clientX","clientY","pageX","pageY"];l.forEach(u=>{s[u]=n[u]}),a.target.dispatchEvent(s)}})}var vS=de({name:"PickerViewColumn",setup(e,t){var{slots:r,emit:i}=t,a=F(null),n=F(null),o=_e("getPickerViewColumn"),s=Dt(),l=o?o(s):F(0),u=_e("pickerViewProps"),f=_e("pickerViewState"),d=F(34),p=F(null),g=()=>{var M=p.value;d.value=M.$el.offsetHeight},y=ee(()=>(f.height-d.value)/2),{state:m}=qd(),w=fS(d),h,b=ke({current:l.value,length:0}),c;function v(){h&&!c&&(c=!0,Ur(()=>{c=!1;var M=Math.min(b.current,b.length-1);M=Math.max(M,0),h.update(M*d.value,void 0,d.value)}))}W(()=>l.value,M=>{M!==b.current&&(b.current=M,v())}),W(()=>b.current,M=>l.value=M),W([()=>d.value,()=>b.length,()=>f.height],v);var _=0;function x(M){var R=_+M.deltaY;if(Math.abs(R)>10){_=0;var U=Math.min(b.current+(R<0?-1:1),b.length-1);b.current=U=Math.max(U,0),h.scrollTo(U*d.value)}else _=R;M.preventDefault()}function E(M){var{clientY:R}=M,U=a.value;if(!h.isScrolling()){var te=U.getBoundingClientRect(),L=R-te.top-f.height/2,H=d.value/2;if(!(Math.abs(L)<=H)){var q=Math.ceil((Math.abs(L)-H)/d.value),re=L<0?-q:q,V=Math.min(b.current+re,b.length-1);b.current=V=Math.max(V,0),h.scrollTo(V*d.value)}}}var C=()=>{var M=a.value,R=n.value,{scroller:U,handleTouchStart:te,handleTouchMove:L,handleTouchEnd:H}=lS(R,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:d.value,friction:new oh(1e-4),spring:new lh(2,90,20),onSnap:q=>{!isNaN(q)&&q!==b.current&&(b.current=q)}});h=U,Wn(M,q=>{switch(q.detail.state){case"start":te(q),or({disable:!0});break;case"move":L(q),q.stopPropagation();break;case"end":case"cancel":H(q),or({disable:!1})}},!0),cS(M),Hn(),v()};{var O=!1;ia(()=>{b.length=n.value.children.length,O||(O=!0,g(),C())})}return()=>{var M=r.default&&r.default(),R="".concat(y.value,"px 0");return I("uni-picker-view-column",{ref:a},[I("div",{onWheel:x,onClick:E,class:"uni-picker-view-group"},[I("div",rt(m.attrs,{class:["uni-picker-view-mask",u.maskClass],style:"background-size: 100% ".concat(y.value,"px;").concat(u.maskStyle)}),null,16),I("div",rt(m.attrs,{class:["uni-picker-view-indicator",u.indicatorClass],style:u.indicatorStyle}),[I(Or,{ref:p,onResize:U=>{var{height:te}=U;return d.value=te}},null,8,["onResize"])],16),I("div",{ref:n,class:["uni-picker-view-content",w],style:{padding:R}},[M],6)],40,["onWheel","onClick"])],512)}}}),dS=16,kr={activeColor:Na,backgroundColor:"#EBEBEB",activeMode:"backwards"},hS={percent:{type:[Number,String],default:0,validator(e){return!isNaN(parseFloat(e))}},fontSize:{type:[String,Number],default:dS},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator(e){return!isNaN(parseFloat(e))}},color:{type:String,default:kr.activeColor},activeColor:{type:String,default:kr.activeColor},backgroundColor:{type:String,default:kr.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:kr.activeMode},duration:{type:[Number,String],default:30,validator(e){return!isNaN(parseFloat(e))}},borderRadius:{type:[Number,String],default:0}},gS=de({name:"Progress",props:hS,setup(e){var t=pS(e);return uh(t,e),W(()=>t.realPercent,(r,i)=>{t.strokeTimer&&clearInterval(t.strokeTimer),t.lastPercent=i||0,uh(t,e)}),()=>{var{showInfo:r}=e,{outerBarStyle:i,innerBarStyle:a,currentPercent:n}=t;return I("uni-progress",{class:"uni-progress"},[I("div",{style:i,class:"uni-progress-bar"},[I("div",{style:a,class:"uni-progress-inner-bar"},null,4)],4),r?I("p",{class:"uni-progress-info"},[n+"%"]):""])}}});function pS(e){var t=F(0),r=ee(()=>"background-color: ".concat(e.backgroundColor,"; height: ").concat(e.strokeWidth,"px;")),i=ee(()=>{var o=e.color!==kr.activeColor&&e.activeColor===kr.activeColor?e.color:e.activeColor;return"width: ".concat(t.value,"%;background-color: ").concat(o)}),a=ee(()=>{var o=parseFloat(e.percent);return o<0&&(o=0),o>100&&(o=100),o}),n=ke({outerBarStyle:r,innerBarStyle:i,realPercent:a,currentPercent:t,strokeTimer:0,lastPercent:0});return n}function uh(e,t){t.active?(e.currentPercent=t.activeMode===kr.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 fh=vn("ucg"),mS={name:{type:String,default:""}},_S=de({name:"RadioGroup",props:mS,setup(e,t){var{emit:r,slots:i}=t,a=F(null),n=Le(a,r);return bS(e,n),()=>I("uni-radio-group",{ref:a},[i.default&&i.default()],512)}});function bS(e,t){var r=[];Re(()=>{s(r.length-1)});var i=()=>{var l;return(l=r.find(u=>u.value.radioChecked))===null||l===void 0?void 0:l.value.value};ze(fh,{addField(l){r.push(l)},removeField(l){r.splice(r.indexOf(l),1)},radioChange(l,u){var f=r.indexOf(u);s(f,!0),t("change",l,{value:i()})}});var a=_e(kt,!1),n={submit:()=>{var l=["",null];return e.name!==""&&(l[0]=e.name,l[1]=i()),l}};a&&(a.addField(n),Ce(()=>{a.removeField(n)}));function o(l,u){l.value={radioChecked:u,value:l.value.value}}function s(l,u){r.forEach((f,d)=>{d!==l&&(u?o(r[d],!1):r.forEach((p,g)=>{d>=g||r[g].value.radioChecked&&o(r[d],!1)}))})}return r}var wS={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:""}},yS=de({name:"Radio",props:wS,setup(e,t){var{slots:r}=t,i=F(e.checked),a=F(e.value),n=ee(()=>"background-color: ".concat(e.color,";border-color: ").concat(e.color,";"));W([()=>e.checked,()=>e.value],d=>{var[p,g]=d;i.value=p,a.value=g});var o=()=>{i.value=!1},{uniCheckGroup:s,uniLabel:l,field:u}=xS(i,a,o),f=d=>{e.disabled||(i.value=!0,s&&s.radioChange(d,u))};return l&&(l.addHandler(f),Ce(()=>{l.removeHandler(f)})),Nn(e,{"label-click":f}),()=>{var d=ai(e,"disabled");return I("uni-radio",rt(d,{onClick:f}),[I("div",{class:"uni-radio-wrapper"},[I("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:i.value?n.value:""},[i.value?hn(dn,"#fff",18):""],6),r.default&&r.default()])],16,["onClick"])}}});function xS(e,t,r){var i=ee({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:l=>{var{radioChecked:u}=l;e.value=u}}),a={reset:r},n=_e(fh,!1);n&&n.addField(i);var o=_e(kt,!1);o&&o.addField(a);var s=_e(Ji,!1);return Ce(()=>{n&&n.removeField(i),o&&o.removeField(a)}),{uniCheckGroup:n,uniForm:o,uniLabel:s,field:i}}var ch={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:""},El={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function SS(e){return e.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,r){if(ie(El,r)&&El[r])return El[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 ES(e,t,r){return e==="img"&&t==="src"?st(r):r}function vh(e,t,r,i){return e.forEach(function(a){if(!!_t(a))if(!ie(a,"type")||a.type==="node"){if(!(typeof a.name=="string"&&a.name))return;var n=a.name.toLowerCase();if(!ie(ch,n))return;var o=document.createElement(n);if(!o)return;var s=a.attrs;if(_t(s)){var l=ch[n]||[];Object.keys(s).forEach(function(f){var d=s[f];switch(f){case"class":Array.isArray(d)&&(d=d.join(" "));case"style":o.setAttribute(f,d),r&&o.setAttribute(r,"");break;default:l.indexOf(f)!==-1&&o.setAttribute(f,ES(n,f,d))}})}TS(a,o,i);var u=a.children;Array.isArray(u)&&u.length&&vh(a.children,o,r,i),t.appendChild(o)}else a.type==="text"&&typeof a.text=="string"&&a.text!==""&&t.appendChild(document.createTextNode(SS(a.text)))}),t}function TS(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))}function CS(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"")}function OS(e){return e.reduce(function(t,r){var i=r.value,a=r.name;return i.match(/ /)&&["style","src"].indexOf(a)===-1&&(i=i.split(" ")),t[a]?Array.isArray(t[a])?t[a].push(i):t[a]=[t[a],i]:t[a]=i,t},{})}function AS(e){e=CS(e);var t=[],r={node:"root",children:[]};return Ud(e,{start:function(i,a,n){var o={name:i};if(a.length!==0&&(o.attrs=OS(a)),n){var s=t[0]||r;s.children||(s.children=[]),s.children.push(o)}else t.unshift(o)},end:function(i){var a=t.shift();if(a.name!==i&&console.error("invalid state: mismatch end tag"),t.length===0)r.children.push(a);else{var n=t[0];n.children||(n.children=[]),n.children.push(a)}},chars:function(i){var a={type:"text",text:i};if(t.length===0)r.children.push(a);else{var n=t[0];n.children||(n.children=[]),n.children.push(a)}},comment:function(i){var a={node:"comment",text:i},n=t[0];n.children||(n.children=[]),n.children.push(a)}}),r.children}var IS={nodes:{type:[Array,String],default:function(){return[]}}},kS=de({name:"RichText",compatConfig:{MODE:3},props:IS,emits:["click","touchstart","touchmove","touchcancel","touchend","longpress"],setup(e,t){var{emit:r,attrs:i}=t,a=Dt(),n=F(null),o=Le(n,r),s=!!i.onItemclick;function l(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o("itemclick",f,d)}function u(f){typeof f=="string"&&(f=AS(f));var d=vh(f,document.createDocumentFragment(),a&&a.vnode.scopeId||"",s&&l);n.value.firstElementChild.innerHTML="",n.value.firstElementChild.appendChild(d)}return W(()=>e.nodes,f=>{u(f)}),Re(()=>{u(e.nodes)}),()=>I("uni-rich-text",{ref:n},[I("div",null,null)],512)}}),dh=mi(!0),MS={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}},RS=de({name:"ScrollView",compatConfig:{MODE:3},props:MS,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,t){var{emit:r,slots:i}=t,a=F(null),n=F(null),o=F(null),s=F(null),l=F(null),u=Le(a,r),{state:f,scrollTopNumber:d,scrollLeftNumber:p}=LS(e);PS(e,f,d,p,u,a,n,s,r);var g=ee(()=>{var y="";return e.scrollX?y+="overflow-x:auto;":y+="overflow-x:hidden;",e.scrollY?y+="overflow-y:auto;":y+="overflow-y:hidden;",y});return()=>{var{refresherEnabled:y,refresherBackground:m,refresherDefaultStyle:w}=e,{refresherHeight:h,refreshState:b,refreshRotate:c}=f;return I("uni-scroll-view",{ref:a},[I("div",{ref:o,class:"uni-scroll-view"},[I("div",{ref:n,style:g.value,class:"uni-scroll-view"},[I("div",{ref:s,class:"uni-scroll-view-content"},[y?I("div",{ref:l,style:{backgroundColor:m,height:h+"px"},class:"uni-scroll-view-refresher"},[w!=="none"?I("div",{class:"uni-scroll-view-refresh"},[I("div",{class:"uni-scroll-view-refresh-inner"},[b=="pulling"?I("svg",{key:"refresh__icon",style:{transform:"rotate("+c+"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,b=="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 LS(e){var t=ee(()=>Number(e.scrollTop)||0),r=ee(()=>Number(e.scrollLeft)||0),i=ke({lastScrollTop:t.value,lastScrollLeft:r.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""});return{state:i,scrollTopNumber:t,scrollLeftNumber:r}}function PS(e,t,r,i,a,n,o,s,l){var u=!1,f=0,d=!1,p=()=>{},g=ee(()=>{var x=Number(e.upperThreshold);return isNaN(x)?50:x}),y=ee(()=>{var x=Number(e.lowerThreshold);return isNaN(x)?50:x});function m(x,E){var C=o.value,O=0,M="";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"?O=C.scrollLeft-x:E==="y"&&(O=C.scrollTop-x),O!==0){var R=s.value;R.style.transition="transform .3s ease-out",R.style.webkitTransition="-webkit-transform .3s ease-out",E==="x"?M="translateX("+O+"px) translateZ(0)":E==="y"&&(M="translateY("+O+"px) translateZ(0)"),R.removeEventListener("transitionend",p),R.removeEventListener("webkitTransitionEnd",p),p=()=>v(x,E),R.addEventListener("transitionend",p),R.addEventListener("webkitTransitionEnd",p),E==="x"?C.style.overflowX="hidden":E==="y"&&(C.style.overflowY="hidden"),R.style.transform=M,R.style.webkitTransform=M}}function w(x){var E=x.target;a("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&&(a("scrolltoupper",x,{direction:"top"}),t.lastScrollToUpperTime=x.timeStamp),E.scrollTop+E.offsetHeight+y.value>=E.scrollHeight&&t.lastScrollTop-E.scrollTop<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",x,{direction:"bottom"}),t.lastScrollToLowerTime=x.timeStamp)),e.scrollX&&(E.scrollLeft<=g.value&&t.lastScrollLeft-E.scrollLeft>0&&x.timeStamp-t.lastScrollToUpperTime>200&&(a("scrolltoupper",x,{direction:"left"}),t.lastScrollToUpperTime=x.timeStamp),E.scrollLeft+E.offsetWidth+y.value>=E.scrollWidth&&t.lastScrollLeft-E.scrollLeft<0&&x.timeStamp-t.lastScrollToLowerTime>200&&(a("scrolltolower",x,{direction:"right"}),t.lastScrollToLowerTime=x.timeStamp)),t.lastScrollTop=E.scrollTop,t.lastScrollLeft=E.scrollLeft}function h(x){e.scrollY&&(e.scrollWithAnimation?m(x,"y"):o.value.scrollTop=x)}function b(x){e.scrollX&&(e.scrollWithAnimation?m(x,"x"):o.value.scrollLeft=x)}function c(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=n.value.querySelector("#"+x);if(E){var C=o.value.getBoundingClientRect(),O=E.getBoundingClientRect();if(e.scrollX){var M=O.left-C.left,R=o.value.scrollLeft,U=R+M;e.scrollWithAnimation?m(U,"x"):o.value.scrollLeft=U}if(e.scrollY){var te=O.top-C.top,L=o.value.scrollTop,H=L+te;e.scrollWithAnimation?m(H,"y"):o.value.scrollTop=H}}}}function v(x,E){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";var C=o.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),s.value.removeEventListener("transitionend",p),s.value.removeEventListener("webkitTransitionEnd",p)}function _(x){switch(x){case"refreshing":t.refresherHeight=e.refresherThreshold,u||(u=!0,a("refresherrefresh",{},{}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":u=!1,t.refresherHeight=f=0,x==="restore"&&(d=!1,a("refresherrestore",{},{})),x==="refresherabort"&&d&&(d=!1,a("refresherabort",{},{}));break}t.refreshState=x}Re(()=>{Ur(()=>{h(r.value),b(i.value)}),c(e.scrollIntoView);var x=function(U){U.preventDefault(),U.stopPropagation(),w(U)},E={x:0,y:0},C=null,O=function(U){if(E!==null){var te=U.touches[0].pageX,L=U.touches[0].pageY,H=o.value;if(Math.abs(te-E.x)>Math.abs(L-E.y))if(e.scrollX){if(H.scrollLeft===0&&te>E.x){C=!1;return}else if(H.scrollWidth===H.offsetWidth+H.scrollLeft&&te<E.x){C=!1;return}C=!0}else C=!1;else if(e.scrollY)if(H.scrollTop===0&&L>E.y)C=!1,e.refresherEnabled&&U.cancelable!==!1&&U.preventDefault();else if(H.scrollHeight===H.offsetHeight+H.scrollTop&&L<E.y){C=!1;return}else C=!0;else C=!1;if(C&&U.stopPropagation(),H.scrollTop===0&&U.touches.length===1&&(t.refreshState="pulling"),e.refresherEnabled&&t.refreshState==="pulling"){var q=L-E.y;f===0&&(f=L),u?(t.refresherHeight=q+e.refresherThreshold,d=!1):(t.refresherHeight=L-f,t.refresherHeight>0&&(d=!0,a("refresherpulling",U,{deltaY:q})));var re=t.refresherHeight/e.refresherThreshold;t.refreshRotate=(re>1?1:re)*360}}},M=function(U){U.touches.length===1&&(or({disable:!0}),E={x:U.touches[0].pageX,y:U.touches[0].pageY})},R=function(U){E=null,or({disable:!1}),t.refresherHeight>=e.refresherThreshold?_("refreshing"):_("refresherabort")};o.value.addEventListener("touchstart",M,dh),o.value.addEventListener("touchmove",O,mi(!1)),o.value.addEventListener("scroll",x,mi(!1)),o.value.addEventListener("touchend",R,dh),Hn(),Ce(()=>{o.value.removeEventListener("touchstart",M),o.value.removeEventListener("touchmove",O),o.value.removeEventListener("scroll",x),o.value.removeEventListener("touchend",R)})}),ls(()=>{e.scrollY&&(o.value.scrollTop=t.lastScrollTop),e.scrollX&&(o.value.scrollLeft=t.lastScrollLeft)}),W(r,x=>{h(x)}),W(i,x=>{b(x)}),W(()=>e.scrollIntoView,x=>{c(x)}),W(()=>e.refresherTriggered,x=>{x===!0?_("refreshing"):x===!1&&_("restore")})}var NS={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}},DS=de({name:"Slider",props:NS,emits:["changing","change"],setup(e,t){var{emit:r}=t,i=F(null),a=F(null),n=F(null),o=F(Number(e.value));W(()=>e.value,d=>{o.value=Number(d)});var s=Le(i,r),l=BS(e,o),{_onClick:u,_onTrack:f}=FS(e,o,i,a,s);return Re(()=>{Wn(n.value,f)}),()=>{var{setBgColor:d,setBlockBg:p,setActiveColor:g,setBlockStyle:y}=l;return I("uni-slider",{ref:i,onClick:Cr(u)},[I("div",{class:"uni-slider-wrapper"},[I("div",{class:"uni-slider-tap-area"},[I("div",{style:d.value,class:"uni-slider-handle-wrapper"},[I("div",{ref:n,style:p.value,class:"uni-slider-handle"},null,4),I("div",{style:y.value,class:"uni-slider-thumb"},null,4),I("div",{style:g.value,class:"uni-slider-track"},null,4)],4)]),Ii(I("span",{ref:a,class:"uni-slider-value"},[o.value],512),[[Li,e.showValue]])]),I("slot",null,null)],8,["onClick"])}}});function BS(e,t){var r=()=>{var o=Number(e.max),s=Number(e.min);return 100*(t.value-s)/(o-s)+"%"},i=()=>e.backgroundColor!=="#e9e9e9"?e.backgroundColor:e.color!=="#007aff"?e.color:"#007aff",a=()=>e.activeColor!=="#007aff"?e.activeColor:e.selectedColor!=="#e9e9e9"?e.selectedColor:"#e9e9e9",n={setBgColor:ee(()=>({backgroundColor:i()})),setBlockBg:ee(()=>({left:r()})),setActiveColor:ee(()=>({backgroundColor:a(),width:r()})),setBlockStyle:ee(()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:r(),backgroundColor:e.blockColor}))};return n}function FS(e,t,r,i,a){var n=d=>{e.disabled||(s(d),a("change",d,{value:t.value}))},o=d=>{var p=Number(e.max),g=Number(e.min),y=Number(e.step);return d<g?g:d>p?p:$S.mul.call(Math.round((d-g)/y),y)+g},s=d=>{var p=Number(e.max),g=Number(e.min),y=i.value,m=getComputedStyle(y,null).marginLeft,w=y.offsetWidth;w=w+parseInt(m);var h=r.value,b=h.offsetWidth-(e.showValue?w:0),c=h.getBoundingClientRect().left,v=(d.x-c)*(p-g)/b+g;t.value=o(v)},l=d=>{if(!e.disabled)return d.detail.state==="move"?(s({x:d.detail.x}),a("changing",d,{value:t.value}),!1):d.detail.state==="end"&&a("change",d,{value:t.value})},u=_e(kt,!1);if(u){var f={reset:()=>t.value=Number(e.min),submit:()=>{var d=["",null];return e.name!==""&&(d[0]=e.name,d[1]=t.value),d}};u.addField(f),Ce(()=>{u.removeField(f)})}return{_onClick:n,_onTrack:l}}var $S={mul:function(e){var t=0,r=this.toString(),i=e.toString();try{t+=r.split(".")[1].length}catch(a){}try{t+=i.split(".")[1].length}catch(a){}return Number(r.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,t)}},zS={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 US(e){var t=ee(()=>{var n=Number(e.interval);return isNaN(n)?5e3:n}),r=ee(()=>{var n=Number(e.duration);return isNaN(n)?500:n}),i=ee(()=>{var n=Math.round(e.displayMultipleItems);return isNaN(n)?1:n}),a=ke({interval:t,duration:r,displayMultipleItems:i,current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1});return a}function HS(e,t,r,i,a,n){function o(){s&&(clearTimeout(s),s=null)}var s=null,l=!0,u=0,f=1,d=null,p=!1,g=0,y,m="",w,h=ee(()=>e.circular&&r.value.length>t.displayMultipleItems);function b(L){if(!l)for(var H=r.value,q=H.length,re=L+t.displayMultipleItems,V=0;V<q;V++){var K=H[V],ae=Math.floor(L/q)*q+V,Te=ae+q,se=ae-q,he=Math.max(L-(ae+1),ae-re,0),le=Math.max(L-(Te+1),Te-re,0),J=Math.max(L-(se+1),se-re,0),xe=Math.min(he,le,J),we=[ae,Te,se][[he,le,J].indexOf(xe)];K.updatePosition(we,e.vertical)}}function c(L){Math.floor(2*u)===Math.floor(2*L)&&Math.ceil(2*u)===Math.ceil(2*L)||h.value&&b(L);var H=e.vertical?"0":100*-L*f+"%",q=e.vertical?100*-L*f+"%":"0",re="translate("+H+", "+q+") translateZ(0)",V=i.value;if(V&&(V.style.webkitTransform=re,V.style.transform=re),u=L,!y){if(L%1===0)return;y=L}L-=Math.floor(y);var K=r.value;L<=-(K.length-1)?L+=K.length:L>=K.length&&(L-=K.length),L=y%1>.5||y<0?L-1:L,n("transition",{},{dx:e.vertical?0:L*V.offsetWidth,dy:e.vertical?L*V.offsetHeight:0})}function v(){d&&(c(d.toPos),d=null)}function _(L){var H=r.value.length;if(!H)return-1;var q=(Math.round(L)%H+H)%H;if(h.value){if(H<=t.displayMultipleItems)return 0}else if(q>H-t.displayMultipleItems)return H-t.displayMultipleItems;return q}function x(){d=null}function E(){if(!d){p=!1;return}var L=d,H=L.toPos,q=L.acc,re=L.endTime,V=L.source,K=re-Date.now();if(K<=0){c(H),d=null,p=!1,y=null;var ae=r.value[t.current];if(ae){var Te=ae.getItemId();n("animationfinish",{},{current:t.current,currentItemId:Te,source:V})}return}var se=q*K*K/2,he=H+se;c(he),w=requestAnimationFrame(E)}function C(L,H,q){x();var re=t.duration,V=r.value.length,K=u;if(h.value)if(q<0){for(;K<L;)K+=V;for(;K-V>L;)K-=V}else if(q>0){for(;K>L;)K-=V;for(;K+V<L;)K+=V;K+V-L<L-K&&(K+=V)}else{for(;K+V<L;)K+=V;for(;K-V>L;)K-=V;K+V-L<L-K&&(K+=V)}d={toPos:L,acc:2*(K-L)/(re*re),endTime:Date.now()+re,source:H},p||(p=!0,w=requestAnimationFrame(E))}function O(){o();var L=r.value,H=function(){s=null,m="autoplay",h.value?t.current=_(t.current+1):t.current=t.current+t.displayMultipleItems<L.length?t.current+1:0,C(t.current,"autoplay",h.value?1:0),s=setTimeout(H,t.interval)};l||L.length<=t.displayMultipleItems||(s=setTimeout(H,t.interval))}function M(){o(),v();for(var L=r.value,H=0;H<L.length;H++)L[H].updatePosition(H,e.vertical);f=1;var q=i.value;if(t.displayMultipleItems===1&&L.length){var re=L[0].getBoundingClientRect(),V=q.getBoundingClientRect();f=re.width/V.width,f>0&&f<1||(f=1)}var K=u;u=-2;var ae=t.current;ae>=0?(l=!1,t.userTracking?(c(K+ae-g),g=ae):(c(ae),e.autoplay&&O())):(l=!0,c(-t.displayMultipleItems-1))}W([()=>e.current,()=>e.currentItemId,()=>[...r.value]],()=>{var L=-1;if(e.currentItemId)for(var H=0,q=r.value;H<q.length;H++){var re=q[H].getItemId();if(re===e.currentItemId){L=H;break}}L<0&&(L=Math.round(e.current)||0),L=L<0?0:L,t.current!==L&&(m="",t.current=L)}),W([()=>e.vertical,()=>h.value,()=>t.displayMultipleItems,()=>[...r.value]],M),W(()=>t.interval,()=>{s&&(o(),O())});function R(L,H){var q=m;m="";var re=r.value;if(!q){var V=re.length;C(L,"",h.value&&H+(V-L)%V>V/2?1:0)}var K=re[L];if(K){var ae=t.currentItemId=K.getItemId();n("change",{},{current:t.current,currentItemId:ae,source:q})}}W(()=>t.current,(L,H)=>{R(L,H),a("update:current",L)}),W(()=>t.currentItemId,L=>{a("update:currentItemId",L)});function U(L){L?O():o()}W(()=>e.autoplay&&!t.userTracking,U),U(e.autoplay&&!t.userTracking),Re(()=>{var L=!1,H=0,q=0;function re(){o(),g=u,H=0,q=Date.now(),x()}function V(ae){var Te=q;q=Date.now();var se=r.value.length,he=se-t.displayMultipleItems;function le(Ve){return .5-.25/(Ve+.5)}function J(Ve,sr){var Ne=g+Ve;H=.6*H+.4*sr,h.value||(Ne<0||Ne>he)&&(Ne<0?Ne=-le(-Ne):Ne>he&&(Ne=he+le(Ne-he)),H=0),c(Ne)}var xe=q-Te||1,we=i.value;e.vertical?J(-ae.dy/we.offsetHeight,-ae.ddy/xe):J(-ae.dx/we.offsetWidth,-ae.ddx/xe)}function K(ae){t.userTracking=!1;var Te=H/Math.abs(H),se=0;!ae&&Math.abs(H)>.2&&(se=.5*Te);var he=_(u+se);ae?c(g):(m="touch",t.current=he,C(he,"touch",se!==0?se:he===0&&h.value&&u>=1?1:0))}Wn(i.value,ae=>{if(!e.disableTouch&&!l){if(ae.detail.state==="start")return t.userTracking=!0,L=!1,re();if(ae.detail.state==="end")return K(!1);if(ae.detail.state==="cancel")return K(!0);if(t.userTracking){if(!L){L=!0;var Te=Math.abs(ae.detail.dx),se=Math.abs(ae.detail.dy);if((Te>=se&&e.vertical||Te<=se&&!e.vertical)&&(t.userTracking=!1),!t.userTracking){e.autoplay&&O();return}}return V(ae.detail),!1}}})}),Zt(()=>{o(),cancelAnimationFrame(w)});function te(L){C(t.current=L,m="click",h.value?1:0)}return{onSwiperDotClick:te}}var WS=de({name:"Swiper",props:zS,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,t){var{slots:r,emit:i}=t,a=F(null),n=Le(a,i),o=F(null),s=F(null),l=US(e),u=ee(()=>{var b={};return(e.nextMargin||e.previousMargin)&&(b=e.vertical?{left:0,right:0,top:Vr(e.previousMargin,!0),bottom:Vr(e.nextMargin,!0)}:{top:0,bottom:0,left:Vr(e.previousMargin,!0),right:Vr(e.nextMargin,!0)}),b}),f=ee(()=>{var b=Math.abs(100/l.displayMultipleItems)+"%";return{width:e.vertical?"100%":b,height:e.vertical?b:"100%"}}),d=[],p=[],g=F([]);function y(){for(var b=[],c=function(_){var x=d[_];x instanceof Element||(x=x.el);var E=p.find(C=>x===C.rootRef.value);E&&b.push(qa(E))},v=0;v<d.length;v++)c(v);g.value=b}ia(()=>{d=s.value.children,y()});var m=function(b){p.push(b),y()};ze("addSwiperContext",m);var w=function(b){var c=p.indexOf(b);c>=0&&(p.splice(c,1),y())};ze("removeSwiperContext",w);var{onSwiperDotClick:h}=HS(e,l,g,s,i,n);return()=>{var b=r.default&&r.default();return d=yl(b),I("uni-swiper",{ref:a},[I("div",{ref:o,class:"uni-swiper-wrapper"},[I("div",{class:"uni-swiper-slides",style:u.value},[I("div",{ref:s,class:"uni-swiper-slide-frame",style:f.value},[b],4)],4),e.indicatorDots&&I("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[g.value.map((c,v,_)=>I("div",{onClick:()=>h(v),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":v<l.current+l.displayMultipleItems&&v>=l.current||v<l.current+l.displayMultipleItems-_.length},style:{background:v===l.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"]))],2)],512)],512)}}}),VS={itemId:{type:String,default:""}},jS=de({name:"SwiperItem",props:VS,setup(e,t){var{slots:r}=t,i=F(null),a={rootRef:i,getItemId(){return e.itemId},getBoundingClientRect(){var n=i.value;return n.getBoundingClientRect()},updatePosition(n,o){var s=o?"0":100*n+"%",l=o?100*n+"%":"0",u=i.value,f="translate(".concat(s,",").concat(l,") translateZ(0)");u&&(u.style.webkitTransform=f,u.style.transform=f)}};return Re(()=>{var n=_e("addSwiperContext");n&&n(a)}),Zt(()=>{var n=_e("removeSwiperContext");n&&n(a)}),()=>I("uni-swiper-item",{ref:i,style:{position:"absolute",width:"100%",height:"100%"}},[r.default&&r.default()],512)}}),YS={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"}},qS=de({name:"Switch",props:YS,emits:["change"],setup(e,t){var{emit:r}=t,i=F(null),a=F(e.checked),n=XS(e,a),o=Le(i,r);W(()=>e.checked,l=>{a.value=l});var s=l=>{e.disabled||(a.value=!a.value,o("change",l,{value:a.value}))};return n&&(n.addHandler(s),Ce(()=>{n.removeHandler(s)})),Nn(e,{"label-click":s}),()=>{var{color:l,type:u}=e,f=ai(e,"disabled");return I("uni-switch",rt({ref:i},f,{onClick:s}),[I("div",{class:"uni-switch-wrapper"},[Ii(I("div",{class:["uni-switch-input",[a.value?"uni-switch-input-checked":""]],style:{backgroundColor:a.value?l:"#DFDFDF",borderColor:a.value?l:"#DFDFDF"}},null,6),[[Li,u==="switch"]]),Ii(I("div",{class:"uni-checkbox-input"},[a.value?hn(dn,e.color,22):""],512),[[Li,u==="checkbox"]])])],16,["onClick"])}}});function XS(e,t){var r=_e(kt,!1),i=_e(Ji,!1),a={submit:()=>{var n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};return r&&(r.addField(a),Zt(()=>{r.removeField(a)})),i}var oa={ensp:"\u2002",emsp:"\u2003",nbsp:"\xA0"};function ZS(e,t){return e.replace(/\\n/g,gi).split(gi).map(r=>KS(r,t))}function KS(e,t){var{space:r,decode:i}=t;return!e||(r&&oa[r]&&(e=e.replace(/ /g,oa[r])),!i)?e:e.replace(/&nbsp;/g,oa.nbsp).replace(/&ensp;/g,oa.ensp).replace(/&emsp;/g,oa.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'")}var GS=ce({},Xd,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:""}}),Tl=!1;function JS(){var e="(prefers-color-scheme: dark)";Tl=String(navigator.platform).indexOf("iP")===0&&String(navigator.vendor).indexOf("Apple")===0&&window.matchMedia(e).media!==e}var QS=de({name:"Textarea",props:GS,emits:["confirm","linechange",...Zd],setup(e,t){var{emit:r}=t,i=F(null),{fieldRef:a,state:n,scopedAttrsState:o,fixDisabledColor:s,trigger:l}=Kd(e,i,r),u=ee(()=>n.value.split(gi)),f=ee(()=>["done","go","next","search","send"].includes(e.confirmType)),d=F(0),p=F(null);W(()=>d.value,h=>{var b=i.value,c=p.value,v=parseFloat(getComputedStyle(b).lineHeight);isNaN(v)&&(v=c.offsetHeight);var _=Math.round(h/v);l("linechange",{},{height:h,heightRpx:750/window.innerWidth*h,lineCount:_}),e.autoHeight&&(b.style.height=h+"px")});function g(h){var{height:b}=h;d.value=b}function y(h){l("confirm",h,{value:n.value})}function m(h){h.key==="Enter"&&f.value&&h.preventDefault()}function w(h){if(h.key==="Enter"&&f.value){y(h);var b=h.target;!e.confirmHold&&b.blur()}}return JS(),()=>{var h=e.disabled&&s?I("textarea",{ref:a,value:n.value,tabindex:"-1",readonly:!!e.disabled,maxlength:n.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Tl},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:b=>b.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):I("textarea",{ref:a,value:n.value,disabled:!!e.disabled,maxlength:n.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Tl},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:m,onKeyup:w},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return I("uni-textarea",{ref:i},[I("div",{class:"uni-textarea-wrapper"},[Ii(I("div",rt(o.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Li,!n.value.length]]),I("div",{ref:p,class:"uni-textarea-line"},[" "],512),I("div",{class:"uni-textarea-compute"},[u.value.map(b=>I("div",null,[b.trim()?b:"."])),I(Or,{initial:!0,onResize:g},null,8,["initial","onResize"])]),e.confirmType==="search"?I("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[h],40,["onSubmit"]):h])],512)}}});ce({},wy);function Yn(e,t){if(t||(t=e.id),!!t)return e.$options.name.toLowerCase()+"."+t}function hh(e,t,r){!e||wt(r||Gt(),e,(i,a)=>{var{type:n,data:o}=i;t(n,o,a)})}function gh(e,t){!e||Am(t||Gt(),e)}function sa(e,t,r,i){var a=Dt(),n=a.proxy;Re(()=>{hh(t||Yn(n),e,i),(r||!t)&&W(()=>n.id,(o,s)=>{hh(Yn(n,o),e,i),gh(s&&Yn(n,s))})}),Ce(()=>{gh(t||Yn(n),i)})}var eE=0;function la(e){var t=gn(),r=Dt(),i=r.proxy,a=i.$options.name.toLowerCase(),n=e||i.id||"context".concat(eE++);return Re(()=>{var o=i.$el;o.__uniContextInfo={id:n,type:a,page:t}}),"".concat(a,".").concat(n)}function tE(e){return e.__uniContextInfo}class ph extends Sd{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...Pn.props,...o])}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(Pn.mounted);this.$animate&&(this.$animate=!1,this.call(Pn.watch.animation.handler))}}}var rE=["space","decode"];class iE extends ph{constructor(t,r,i,a){super(t,document.createElement("uni-text"),r,i,a,rE);this._text=""}init(t){this._text=t.t||"",super.init(t)}setText(t){this._text=t,this.update(),this.updateView()}update(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,{$props:{space:r,decode:i}}=this;this.$.textContent=ZS(this._text,{space:r,decode:i}).join(gi),super.update(t)}}class aE extends ii{constructor(t,r,i,a){super(t,"#text",r,document.createTextNode(""));this.init(a),this.insert(r,i)}}var GT="",nE=["hover-class","hover-stop-propagation","hover-start-time","hover-stay-time"];class oE extends ph{constructor(t,r,i,a,n){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];super(t,r,i,a,n,[...nE,...o])}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 sE(this.$,this.$props)),this._hover.addEvent()):this._hover&&this._hover.removeEvent(),super.update(t)}}class sE{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 lE extends oE{constructor(t,r,i,a){super(t,document.createElement("uni-view"),r,i,a)}}function mh(){return plus.navigator.isImmersedStatusbar()?Math.round(plus.os.name==="iOS"?plus.navigator.getSafeAreaInsets().top:plus.navigator.getStatusbarHeight()):0}function _h(){var e=plus.webview.currentWebview(),t=e.getStyle(),r=t&&t.titleNView;return r&&r.type==="default"?yu+mh():0}var bh=Symbol("onDraw");function uE(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 qn(e,t){return ee(()=>{var r={};return Object.keys(e).forEach(i=>{if(!(t&&t.includes(i))){var a=e[i];a=i==="src"?st(a):a,r[i.replace(/[A-Z]/g,n=>"-"+n.toLowerCase())]=a}}),r})}function oi(e){var t=ke({top:"0px",left:"0px",width:"0px",height:"0px",position:"static"}),r=F(!1);function i(){var d=e.value,p=d.getBoundingClientRect(),g=["width","height"];r.value=p.width===0||p.height===0,r.value||(t.position=uE(d)?"absolute":"static",g.push("top","left")),g.forEach(y=>{var m=p[y];m=y==="top"?m+(t.position==="static"?document.documentElement.scrollTop||document.body.scrollTop||0:_h()):m,t[y]=m+"px"})}var a=null;function n(){a&&cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=null,i()})}window.addEventListener("updateview",n);var o=[],s=[];function l(d){s?s.push(d):d()}function u(d){var p=_e(bh),g=y=>{d(y),o.forEach(m=>m(t)),o=null};l(()=>{p?p(g):g({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})})}var f=function(d){o?o.push(d):d(t)};return ze(bh,f),Re(()=>{i(),s.forEach(d=>d()),s=null}),Ce(()=>{window.removeEventListener("updateview",n)}),{position:t,hidden:r,onParentReady:u}}var fE=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=F(null),a=F(null),n=Le(i,r),o=qn(e,["id"]),{position:s,onParentReady:l}=oi(a),u;return l(()=>{u=plus.ad.createAdView(Object.assign({},o.value,s)),plus.webview.currentWebview().append(u),u.setDislikeListener(d=>{a.value.style.height="0",window.dispatchEvent(new CustomEvent("updateview")),n("close",{},d)}),u.setRenderingListener(d=>{d.result===0?(a.value.style.height=d.height+"px",window.dispatchEvent(new CustomEvent("updateview"))):n("error",{},{errCode:d.result})}),u.setAdClickedListener(()=>{n("adclicked",{},{})}),W(()=>s,d=>u.setStyle(d),{deep:!0}),W(()=>e.adpid,d=>{d&&f()}),W(()=>e.data,d=>{d&&u.renderingBind(d)});function f(){var d={adpid:e.adpid,width:s.width,count:e.dataCount};e.channel!==void 0&&(d.ext={channel:e.channel}),UniViewJSBridge.invokeServiceMethod("getAdData",d,p=>{var{code:g,data:y,message:m}=p;g===0?u.renderingBind(y):n("error",{},{errMsg:m})})}e.adpid&&f()}),Ce(()=>{u&&u.close()}),()=>I("uni-ad",{ref:i},[I("div",{ref:a,class:"uni-ad-container"},null,512)],512)}});class be extends ii{constructor(t,r,i,a,n,o,s){super(t,r,a);var l=document.createElement("div");l.__vueParent=cE(this),this.$props=ke({}),this.init(o),this.$app=nc(wT(i,this.$props)),this.$app.mount(l),this.$=l.firstElementChild,s&&(this.$holder=this.$.querySelector(s)),ie(o,"t")&&this.setText(o.t||""),o.a&&ie(o.a,Da)&&hl(this.$,o.a[Da]),this.insert(a,n),bf()}init(t){var{a:r,e:i,w:a}=t;r&&(this.setWxsProps(r),Object.keys(r).forEach(n=>{this.setAttr(n,r[n])})),ie(t,"s")&&this.setAttr("style",t.s),i&&Object.keys(i).forEach(n=>{this.addEvent(n,i[n])}),a&&this.addWxsEvents(t.w)}setText(t){(this.$holder||this.$).textContent=t,this.updateView()}addWxsEvent(t,r,i){this.$props[t]=xd(this,r,i)}addEvent(t,r){this.$props[t]=wd(this.id,r,No(t)[1])}removeEvent(t){this.$props[t]=null}setAttr(t,r){if(t===Da)this.$&&hl(this.$,r);else if(t===Au)this.$.__ownerId=r;else if(t===Iu)zt(()=>cd(this,r),ld);else if(t===Bo){var i=dl(this.$||Ke(this.pid).$,r),a=this.$props.style;_t(i)&&_t(a)?Object.keys(i).forEach(n=>{a[n]=i[n]}):this.$props.style=i}else Ln(t)?this.$.style.setProperty(t,r):(r=dl(this.$||Ke(this.pid).$,r),this.wxsPropsInvoke(t,r,!0)||(this.$props[t]=r));this.updateView()}removeAttr(t){Ln(t)?this.$.style.removeProperty(t):this.$props[t]=null,this.updateView()}remove(){this.removeUniParent(),this.isUnmounted=!0,this.$app.unmount(),Th(this.id),this.removeUniChildren(),this.updateView()}appendChild(t){var r=(this.$holder||this.$).appendChild(t);return this.updateView(!0),r}insertBefore(t,r){var i=(this.$holder||this.$).insertBefore(t,r);return this.updateView(!0),i}}class ua extends be{constructor(t,r,i,a,n,o,s){super(t,r,i,a,n,o,s)}getRebuildFn(){return this._rebuild||(this._rebuild=this.rebuild.bind(this)),this._rebuild}setText(t){return zt(this.getRebuildFn(),Rn),super.setText(t)}appendChild(t){return zt(this.getRebuildFn(),Rn),super.appendChild(t)}insertBefore(t,r){return zt(this.getRebuildFn(),Rn),super.insertBefore(t,r)}removeUniChild(t){return zt(this.getRebuildFn(),Rn),super.removeUniChild(t)}rebuild(){var t=this.$.__vueParentComponent;t.rebuild&&t.rebuild()}}function cE(e){for(;e&&e.pid>0;)if(e=Ke(e.pid),e){var{__vueParentComponent:t}=e.$;if(t)return t}return null}function Cl(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))}var vE=["value","modelValue"];function wh(e){vE.forEach(t=>{if(ie(e,t)){var r="onUpdate:"+t;ie(e,r)||(e[r]=i=>e[t]=i)}})}class dE extends be{constructor(t,r,i,a){super(t,"uni-ad",fE,r,i,a)}}var JT="";class hE extends be{constructor(t,r,i,a){super(t,"uni-button",Iy,r,i,a)}}class fa extends ii{constructor(t,r,i,a){super(t,r,i);this.insert(i,a)}}class gE extends fa{constructor(t,r,i){super(t,"uni-camera",r,i)}}var QT="";class pE extends be{constructor(t,r,i,a){super(t,"uni-canvas",By,r,i,a,"uni-canvas > div")}}var e2="";class mE extends be{constructor(t,r,i,a){super(t,"uni-checkbox",Vy,r,i,a,".uni-checkbox-wrapper")}setText(t){Cl(this.$holder,"uni-checkbox-input",t)}}var t2="";class _E extends be{constructor(t,r,i,a){super(t,"uni-checkbox-group",Uy,r,i,a)}}var r2="",bE=0;function yh(e,t,r){var{position:i,hidden:a,onParentReady:n}=oi(e),o,s;n(l=>{var u=ee(()=>{var c={};for(var v in i){var _=i[v],x=parseFloat(_),E=parseFloat(l[v]);if(v==="top"||v==="left")_=Math.max(x,E)+"px";else if(v==="width"||v==="height"){var C=v==="width"?"left":"top",O=parseFloat(l[C]),M=parseFloat(i[C]),R=Math.max(O-M,0),U=Math.max(M+x-(O+E),0);_=Math.max(x-R-U,0)+"px"}c[v]=_}return c}),f=["borderRadius","borderColor","borderWidth","backgroundColor"],d=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],p=[],g={start:"left",end:"right"};function y(c){var v=getComputedStyle(e.value);return f.concat(d,p).forEach(_=>{c[_]=v[_]}),c}var m=ke(y({})),w=null;s=function(){w&&cancelAnimationFrame(w),w=requestAnimationFrame(()=>{w=null,y(m)})},window.addEventListener("updateview",s);function h(){var c={};for(var v in c){var _=c[v];(v==="top"||v==="left")&&(_=Math.min(parseFloat(_)-parseFloat(l[v]),0)+"px"),c[v]=_}return c}var b=ee(()=>{var c=h(),v=[{tag:"rect",position:c,rectStyles:{color:m.backgroundColor,radius:m.borderRadius,borderColor:m.borderColor,borderWidth:m.borderWidth}}];if("src"in r)r.src&&v.push({tag:"img",position:c,src:r.src});else{var _=parseFloat(m.lineHeight)-parseFloat(m.fontSize),x=parseFloat(c.width)-parseFloat(m.paddingLeft)-parseFloat(m.paddingRight);x=x<0?0:x;var E=parseFloat(c.height)-parseFloat(m.paddingTop)-_/2-parseFloat(m.paddingBottom);E=E<0?0:E,v.push({tag:"font",position:{top:"".concat(parseFloat(c.top)+parseFloat(m.paddingTop)+_/2,"px"),left:"".concat(parseFloat(c.left)+parseFloat(m.paddingLeft),"px"),width:"".concat(x,"px"),height:"".concat(E,"px")},textStyles:{align:g[m.textAlign]||m.textAlign,color:m.color,decoration:"none",lineSpacing:"".concat(_,"px"),margin:"0px",overflow:m.textOverflow,size:m.fontSize,verticalAlign:"top",weight:m.fontWeight,whiteSpace:m.whiteSpace},text:r.text})}return v});o=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(bE++),u.value,b.value),plus.webview.currentWebview().append(o),a.value&&o.hide(),o.addEventListener("click",()=>{t("click",{},{})}),W(()=>a.value,c=>{o[c?"hide":"show"]()}),W(()=>u.value,c=>{o.setStyle(c)},{deep:!0}),W(()=>b.value,()=>{o.reset(),o.draw(b.value)},{deep:!0})}),Ce(()=>{o&&o.close(),s&&window.removeEventListener("updateview",s)})}var wE="_doc/uniapp_temp/",yE={src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}};function xE(e,t,r){var i=F(""),a;function n(){t.src="",i.value=e.autoSize?"width:0;height:0;":"";var s=e.src?st(e.src):"";s.indexOf("http://")===0||s.indexOf("https://")===0?(a=plus.downloader.createDownload(s,{filename:wE+"/download/"},(l,u)=>{u===200?o(l.filename):r("error",{},{errMsg:"error"})}),a.start()):s&&o(s)}function o(s){t.src=s,plus.io.getImageInfo({src:s,success:l=>{var{width:u,height:f}=l;e.autoSize&&(i.value="width:".concat(u,"px;height:").concat(f,"px;"),window.dispatchEvent(new CustomEvent("updateview"))),r("load",{},{width:u,height:f})},fail:()=>{r("error",{},{errMsg:"error"})}})}return e.src&&n(),W(()=>e.src,n),Ce(()=>{a&&a.abort()}),i}var xh=de({name:"CoverImage",props:yE,emits:["click","load","error"],setup(e,t){var{emit:r}=t,i=F(null),a=Le(i,r),n=ke({src:""}),o=xE(e,n,a);return yh(i,a,n),()=>I("uni-cover-image",{ref:i,style:o.value},[I("div",{class:"uni-cover-image"},null)],4)}});class SE extends be{constructor(t,r,i,a){super(t,"uni-cover-image",xh,r,i,a)}}var i2="",EE=de({name:"CoverView",emits:["click"],setup(e,t){var{emit:r}=t,i=F(null),a=F(null),n=Le(i,r),o=ke({text:""});return yh(i,n,o),ia(()=>{var s=a.value.childNodes[0];o.text=s&&s instanceof Text?s.textContent:"",window.dispatchEvent(new CustomEvent("updateview"))}),()=>I("uni-cover-view",{ref:i},[I("div",{ref:a,class:"uni-cover-view"},null,512)],512)}});class TE extends ua{constructor(t,r,i,a){super(t,"uni-cover-view",EE,r,i,a,".uni-cover-view")}}var a2="";class CE extends be{constructor(t,r,i,a){super(t,"uni-editor",gx,r,i,a)}}var n2="";class OE extends be{constructor(t,r,i,a){super(t,"uni-form",Sy,r,i,a,"span")}}class AE extends fa{constructor(t,r,i){super(t,"uni-functional-page-navigator",r,i)}}var o2="";class IE extends be{constructor(t,r,i,a){super(t,"uni-icon",bx,r,i,a)}}var s2="";class kE extends be{constructor(t,r,i,a){super(t,"uni-image",xx,r,i,a)}}var l2="";class ME extends be{constructor(t,r,i,a){super(t,"uni-input",Hx,r,i,a)}init(t){super.init(t),wh(this.$props)}}var u2="";class RE extends be{constructor(t,r,i,a){super(t,"uni-label",Oy,r,i,a)}}class LE extends fa{constructor(t,r,i){super(t,"uni-live-player",r,i)}}var f2="",PE={id:{type:String,default:""},url:{type:String,default:""},mode:{type:String,default:"SD"},muted:{type:[Boolean,String],default:!1},enableCamera:{type:[Boolean,String],default:!0},autoFocus:{type:[Boolean,String],default:!0},beauty:{type:[Number,String],default:0},whiteness:{type:[Number,String],default:0},aspect:{type:[String],default:"3:2"},minBitrate:{type:[Number],default:200}},Sh=["statechange","netstatus","error"],NE=de({name:"LivePusher",props:PE,emits:Sh,setup(e,t){var{emit:r}=t,i=F(null),a=Le(i,r),n=F(null),o=qn(e,["id"]),{position:s,hidden:l,onParentReady:u}=oi(n),f;u(()=>{f=new plus.video.LivePusher("livePusher"+Date.now(),Object.assign({},o.value,s)),plus.webview.currentWebview().append(f),Sh.forEach(p=>{f.addEventListener(p,g=>{a(p,{},g.detail)})}),W(()=>o.value,p=>f.setStyles(p),{deep:!0}),W(()=>s,p=>f.setStyles(p),{deep:!0}),W(()=>l.value,p=>{p||f.setStyles(s)})});var d=la();return sa((p,g)=>{f&&f[p](g)},d,!0),Ce(()=>{f&&f.close()}),()=>I("uni-live-pusher",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-live-pusher-container"},null,512)],8,["id"])}});class DE extends be{constructor(t,r,i,a){super(t,"uni-live-pusher",NE,r,i,a,".uni-live-pusher-slot")}}var c2="",BE=(e,t,r)=>{r({coord:{latitude:t,longitude:e}})};function ca(e){if(e.indexOf("#")!==0)return{color:e,opacity:1};var t=e.slice(7,9);return{color:e.slice(0,7),opacity:t?Number("0x"+t)/255:1}}var FE={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[]}},polygons:{type:Array,default(){return[]}},controls:{type:Array,default(){return[]}}},$E=de({name:"Map",props:FE,emits:["click","regionchange","controltap","markertap","callouttap"],setup(e,t){var{emit:r}=t,i=F(null),a=Le(i,r),n=F(null),o=qn(e,["id"]),{position:s,hidden:l,onParentReady:u}=oi(n),f,{_addMarkers:d,_addMapLines:p,_addMapCircles:g,_addMapPolygons:y,_setMap:m}=zE(e,a);u(()=>{f=ce(plus.maps.create(Gt()+"-map-"+(e.id||Date.now()),Object.assign({},o.value,s,(()=>{if(e.latitude&&e.longitude)return{center:new plus.maps.Point(Number(e.longitude),Number(e.latitude))}})())),{__markers__:[],__lines__:[],__circles__:[],__polygons__:[]}),f.setZoom(parseInt(String(e.scale))),plus.webview.currentWebview().append(f),l.value&&f.hide(),f.onclick=h=>{a("click",{},h)},f.onstatuschanged=h=>{a("regionchange",{},{})},m(f),d(e.markers),p(e.polyline),g(e.circles),y(e.polygons),W(()=>o.value,h=>f&&f.setStyles(h),{deep:!0}),W(()=>s,h=>f&&f.setStyles(h),{deep:!0}),W(l,h=>{f&&f[h?"hide":"show"]()}),W(()=>e.scale,h=>{f&&f.setZoom(parseInt(String(h)))}),W([()=>e.latitude,()=>e.longitude],h=>{var[b,c]=h;f&&f.setStyles({center:new plus.maps.Point(Number(b),Number(c))})}),W(()=>e.markers,h=>{d(h,!0)},{deep:!0}),W(()=>e.polyline,h=>{p(h)},{deep:!0}),W(()=>e.circles,h=>{g(h)},{deep:!0}),W(()=>e.polygons,h=>{y(h)},{deep:!0})});var w=ee(()=>e.controls.map(h=>{var b={position:"absolute"};return["top","left","width","height"].forEach(c=>{h.position[c]&&(b[c]=h.position[c]+"px")}),{id:h.id,iconPath:st(h.iconPath),position:b,clickable:h.clickable}}));return Ce(()=>{f&&(f.close(),m(null))}),()=>I("uni-map",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-map-container"},null,512),w.value.map((h,b)=>I(xh,{key:b,src:h.iconPath,style:h.position,"auto-size":!0,onClick:()=>h.clickable&&a("controltap",{},{controlId:h.id})},null,8,["src","style","auto-size","onClick"])),I("div",{class:"uni-map-slot"},null)],8,["id"])}});function zE(e,t){var r;function i(y){var{longitude:m,latitude:w}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!r||(r.setCenter(new plus.maps.Point(Number(m||e.longitude),Number(w||e.latitude))),y({errMsg:"moveToLocation:ok"}))}function a(y){!r||r.getCurrentCenter((m,w)=>{y({longitude:w.getLng(),latitude:w.getLat(),errMsg:"getCenterLocation:ok"})})}function n(y){if(!!r){var m=r.getBounds();y({southwest:m.getSouthWest(),northeast:m.getNorthEast(),errMsg:"getRegion:ok"})}}function o(y){!r||y({scale:r.getZoom(),errMsg:"getScale:ok"})}function s(y){if(!!r){var{id:m,latitude:w,longitude:h,iconPath:b,callout:c,label:v}=y;BE(h,w,_=>{var x,{latitude:E,longitude:C}=_.coord,O=new plus.maps.Marker(new plus.maps.Point(C,E));b&&O.setIcon(st(b)),v&&v.content&&O.setLabel(v.content);var M=void 0;c&&c.content&&(M=new plus.maps.Bubble(c.content)),M&&O.setBubble(M),(m||m===0)&&(O.onclick=R=>{t("markertap",{},{markerId:m})},M&&(M.onclick=()=>{t("callouttap",{},{markerId:m})})),(x=r)===null||x===void 0||x.addOverlay(O),r.__markers__.push(O)})}}function l(){if(!!r){var y=r.__markers__;y.forEach(m=>{var w;(w=r)===null||w===void 0||w.removeOverlay(m)}),r.__markers__=[]}}function u(y,m){m&&l(),y.forEach(w=>{s(w)})}function f(y){!r||(r.__lines__.length>0&&(r.__lines__.forEach(m=>{var w;(w=r)===null||w===void 0||w.removeOverlay(m)}),r.__lines__=[]),y.forEach(m=>{var w,{color:h,width:b}=m,c=m.points.map(x=>new plus.maps.Point(x.longitude,x.latitude)),v=new plus.maps.Polyline(c);if(h){var _=ca(h);v.setStrokeColor(_.color),v.setStrokeOpacity(_.opacity)}b&&v.setLineWidth(b),(w=r)===null||w===void 0||w.addOverlay(v),r.__lines__.push(v)}))}function d(y){!r||(r.__circles__.length>0&&(r.__circles__.forEach(m=>{var w;(w=r)===null||w===void 0||w.removeOverlay(m)}),r.__circles__=[]),y.forEach(m=>{var w,{latitude:h,longitude:b,color:c,fillColor:v,radius:_,strokeWidth:x}=m,E=new plus.maps.Circle(new plus.maps.Point(b,h),_);if(c){var C=ca(c);E.setStrokeColor(C.color),E.setStrokeOpacity(C.opacity)}if(v){var O=ca(v);E.setFillColor(O.color),E.setFillOpacity(O.opacity)}x&&E.setLineWidth(x),(w=r)===null||w===void 0||w.addOverlay(E),r.__circles__.push(E)}))}function p(y){if(!!r){var m=r.__polygons__;m.forEach(w=>{var h;(h=r)===null||h===void 0||h.removeOverlay(w)}),m.length=0,y.forEach(w=>{var h,{points:b,strokeWidth:c,strokeColor:v,fillColor:_}=w,x=[];b&&b.forEach(M=>{x.push(new plus.maps.Point(M.longitude,M.latitude))});var E=new plus.maps.Polygon(x);if(v){var C=ca(v);E.setStrokeColor(C.color),E.setStrokeOpacity(C.opacity)}if(_){var O=ca(_);E.setFillColor(O.color),E.setFillOpacity(O.opacity)}c&&E.setLineWidth(c),(h=r)===null||h===void 0||h.addOverlay(E),m.push(E)})}}var g={moveToLocation:i,getCenterLocation:a,getRegion:n,getScale:o};return sa((y,m,w)=>{g[y]&&g[y](w,m)},la(),!0),{_addMarkers:u,_addMapLines:f,_addMapCircles:d,_addMapPolygons:p,_setMap(y){r=y}}}class UE extends be{constructor(t,r,i,a){super(t,"uni-map",$E,r,i,a,".uni-map-slot")}}var v2="";class HE extends ua{constructor(t,r,i,a){super(t,"uni-movable-area",qx,r,i,a)}}var d2="";class WE extends be{constructor(t,r,i,a){super(t,"uni-movable-view",Kx,r,i,a)}}var h2="";class VE extends be{constructor(t,r,i,a){super(t,"uni-navigator",tS,r,i,a,"uni-navigator")}}class jE extends fa{constructor(t,r,i){super(t,"uni-official-account",r,i)}}class YE extends fa{constructor(t,r,i){super(t,"uni-open-data",r,i)}}var Ie={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},si={YEAR:"year",MONTH:"month",DAY:"day"};function Xn(e){return e>9?e:"0".concat(e)}function Zn(e,t){e=String(e||"");var r=new Date;if(t===Ie.TIME){var i=e.split(":");i.length===2&&r.setHours(parseInt(i[0]),parseInt(i[1]))}else{var a=e.split("-");a.length===3&&r.setFullYear(parseInt(a[0]),parseInt(String(parseFloat(a[1])-1)),parseInt(a[2]))}return r}function qE(e){if(e.mode===Ie.TIME)return"00:00";if(e.mode===Ie.DATE){var t=new Date().getFullYear()-100;switch(e.fields){case si.YEAR:return t;case si.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function XE(e){if(e.mode===Ie.TIME)return"23:59";if(e.mode===Ie.DATE){var t=new Date().getFullYear()+100;switch(e.fields){case si.YEAR:return t;case si.MONTH:return t+"-12";default:return t+"-12-31"}}return""}var ZE={name:{type:String,default:""},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:Ie.SELECTOR,validator(e){return Object.values(Ie).indexOf(e)>=0}},fields:{type:String,default:""},start:{type:String,default:qE},end:{type:String,default:XE},disabled:{type:[Boolean,String],default:!1}},KE=de({name:"Picker",props:ZE,emits:["change","cancel","columnchange"],setup(e,t){var{emit:r}=t;xm();var{t:i,getLocale:a}=Qe(),n=F(null),o=Le(n,r),s=F(null),l=F(null),u=()=>{var h=e.value;switch(e.mode){case Ie.MULTISELECTOR:{Array.isArray(h)||(h=[]),Array.isArray(s.value)||(s.value=[]);for(var b=s.value.length=Math.max(h.length,e.range.length),c=0;c<b;c++){var v=Number(h[c]),_=Number(s.value[c]),x=isNaN(v)?isNaN(_)?0:_:v;s.value.splice(c,1,x<0?0:x)}}break;case Ie.TIME:case Ie.DATE:s.value=String(h);break;default:{var E=Number(h);s.value=E<0?0:E;break}}},f=h=>{l.value&&l.value.sendMessage(h)},d=h=>{var b={event:"cancel"};l.value=fb({url:"__uniapppicker",data:h,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:c=>{var v=c.event;if(v==="created"){f(h);return}if(v==="columnchange"){delete c.event,o(v,{},c);return}b=c},onClose:()=>{l.value=null;var c=b.event;delete b.event,c&&o(c,{},b)}})},p=(h,b)=>{plus.nativeUI[e.mode===Ie.TIME?"pickTime":"pickDate"](c=>{var v=c.date;o("change",{},{value:e.mode===Ie.TIME?"".concat(Xn(v.getHours()),":").concat(Xn(v.getMinutes())):"".concat(v.getFullYear(),"-").concat(Xn(v.getMonth()+1),"-").concat(Xn(v.getDate()))})},()=>{o("cancel",{},{})},e.mode===Ie.TIME?{time:Zn(e.value,Ie.TIME),popover:b}:{date:Zn(e.value,Ie.DATE),minDate:Zn(e.start,Ie.DATE),maxDate:Zn(e.end,Ie.DATE),popover:b})},g=(h,b)=>{(h.mode===Ie.TIME||h.mode===Ie.DATE)&&!h.fields?p(h,b):(h.fields=Object.values(si).includes(h.fields)?h.fields:si.DAY,d(h))},y=h=>{if(!e.disabled){var b=h.currentTarget,c=b.getBoundingClientRect();g(Object.assign({},e,{value:s.value,locale:a(),messages:{done:i("uni.picker.done"),cancel:i("uni.picker.cancel")}}),{top:c.top+_h(),left:c.left,width:c.width,height:c.height})}},m=_e(kt,!1),w={submit:()=>[e.name,s.value],reset:()=>{switch(e.mode){case Ie.SELECTOR:s.value=0;break;case Ie.MULTISELECTOR:Array.isArray(e.value)&&(s.value=e.value.map(h=>0));break;case Ie.DATE:case Ie.TIME:s.value="";break}}};return m&&(m.addField(w),Ce(()=>m.removeField(w))),Object.keys(e).forEach(h=>{h!=="name"&&W(()=>e[h],b=>{var c={};c[h]=b,f(c)},{deep:!0})}),W(()=>e.value,u,{deep:!0}),u(),()=>I("uni-picker",{ref:n,onClick:y},[I("slot",null,null)],8,["onClick"])}});class GE extends be{constructor(t,r,i,a){super(t,"uni-picker",KE,r,i,a)}}var g2="";class JE extends ua{constructor(t,r,i,a){super(t,"uni-picker-view",aS,r,i,a,".uni-picker-view-wrapper")}}var p2="";class QE extends ua{constructor(t,r,i,a){super(t,"uni-picker-view-column",vS,r,i,a,".uni-picker-view-content")}}var m2="";class eT extends be{constructor(t,r,i,a){super(t,"uni-progress",gS,r,i,a)}}var _2="";class tT extends be{constructor(t,r,i,a){super(t,"uni-radio",yS,r,i,a,".uni-radio-wrapper")}setText(t){Cl(this.$holder,"uni-radio-input",t)}}var b2="";class rT extends be{constructor(t,r,i,a){super(t,"uni-radio-group",_S,r,i,a)}}var w2="";class iT extends be{constructor(t,r,i,a){super(t,"uni-rich-text",kS,r,i,a)}}var y2="";class aT extends be{constructor(t,r,i,a){super(t,"uni-scroll-view",RS,r,i,a,".uni-scroll-view-content")}setText(t){Cl(this.$holder,"uni-scroll-view-refresher",t)}}var x2="";class nT extends be{constructor(t,r,i,a){super(t,"uni-slider",DS,r,i,a)}}var S2="";class oT extends ua{constructor(t,r,i,a){super(t,"uni-swiper",WS,r,i,a,".uni-swiper-slide-frame")}}var E2="";class sT extends be{constructor(t,r,i,a){super(t,"uni-swiper-item",jS,r,i,a)}}var T2="";class lT extends be{constructor(t,r,i,a){super(t,"uni-switch",qS,r,i,a)}}var C2="";class uT extends be{constructor(t,r,i,a){super(t,"uni-textarea",QS,r,i,a)}init(t){super.init(t),wh(this.$props)}}var O2="",fT={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},vslideGesture:{type:[Boolean,String],default:!1},vslideGestureInFullscreen:{type:[Boolean,String],default:!1},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[]}}},Eh=["play","pause","ended","timeupdate","fullscreenchange","fullscreenclick","waiting","error"],cT=["play","pause","stop","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"],vT=de({name:"Video",props:fT,emits:Eh,setup(e,t){var{emit:r}=t,i=F(null),a=Le(i,r),n=F(null),o=qn(e,["id"]),{position:s,hidden:l,onParentReady:u}=oi(n),f;u(()=>{f=plus.video.createVideoPlayer("video"+Date.now(),Object.assign({},o.value,s)),plus.webview.currentWebview().append(f),l.value&&f.hide(),Eh.forEach(p=>{f.addEventListener(p,g=>{a(p,{},g.detail)})}),W(()=>o.value,p=>f.setStyles(p),{deep:!0}),W(()=>s,p=>f.setStyles(p),{deep:!0}),W(()=>l.value,p=>{f[p?"hide":"show"](),p||f.setStyles(s)})});var d=la();return sa((p,g)=>{if(cT.includes(p)){var y;switch(p){case"seek":y=g.position;break;case"sendDanmu":y=g;break;case"playbackRate":y=g.rate;break;case"requestFullScreen":y=g.direction;break}f&&f[p](y)}},d,!0),Ce(()=>{f&&f.close()}),()=>I("uni-video",{ref:i,id:e.id},[I("div",{ref:n,class:"uni-video-container"},null,512),I("div",{class:"uni-video-slot"},null)],8,["id"])}});class dT extends be{constructor(t,r,i,a){super(t,"uni-video",vT,r,i,a,".uni-video-slot")}}var A2="",hT={src:{type:String,default:""},updateTitle:{type:Boolean,default:!0},webviewStyles:{type:Object,default(){return{}}}},nt,gT=e=>{var{htmlId:t,src:r,webviewStyles:i,props:a}=e,n=plus.webview.currentWebview(),o=ce(i,{"uni-app":"none",isUniH5:!0}),s=n.getTitleNView();if(s){var l=yu+parseFloat(o.top||"0");plus.navigator.isImmersedStatusbar()&&(l+=mh()),o.top=String(l),o.bottom=o.bottom||"0"}nt=plus.webview.create(r,t,o),s&&nt.addEventListener("titleUpdate",function(){var u;if(!!a.updateTitle){var f=(u=nt)===null||u===void 0?void 0:u.getTitle();n.setStyle({titleNView:{titleText:!f||f==="null"?" ":f}})}}),plus.webview.currentWebview().append(nt)},pT=()=>{var e;plus.webview.currentWebview().remove(nt),(e=nt)===null||e===void 0||e.close("none"),nt=null},mT=de({name:"WebView",props:hT,setup(e){var t=Gt(),r=F(null),{hidden:i,onParentReady:a}=oi(r),n=ee(()=>e.webviewStyles);return a(()=>{var o,s=F(wb+t);gT({htmlId:s.value,src:st(e.src),webviewStyles:n.value,props:e}),UniViewJSBridge.publishHandler(_b,{},t),i.value&&((o=nt)===null||o===void 0||o.hide())}),Ce(()=>{pT(),UniViewJSBridge.publishHandler(bb,{},t)}),W(()=>e.src,o=>{var s,l=st(o)||"";if(!!l){if(/^(http|https):\/\//.test(l)&&e.webviewStyles.progress){var u;(u=nt)===null||u===void 0||u.setStyle({progress:{color:e.webviewStyles.progress.color}})}(s=nt)===null||s===void 0||s.loadURL(l)}}),W(n,o=>{var s;(s=nt)===null||s===void 0||s.setStyle(o)}),W(i,o=>{nt&&nt[o?"hide":"show"]()}),()=>I("uni-web-view",{ref:r},null,512)}});class _T extends be{constructor(t,r,i,a){super(t,"uni-web-view",mT,r,i,a)}}var bT={"#text":aE,"#comment":py,VIEW:lE,IMAGE:kE,TEXT:iE,NAVIGATOR:VE,FORM:OE,BUTTON:hE,INPUT:ME,LABEL:RE,RADIO:tT,CHECKBOX:mE,"CHECKBOX-GROUP":_E,AD:dE,CAMERA:gE,CANVAS:pE,"COVER-IMAGE":SE,"COVER-VIEW":TE,EDITOR:CE,"FUNCTIONAL-PAGE-NAVIGATOR":AE,ICON:IE,"RADIO-GROUP":rT,"LIVE-PLAYER":LE,"LIVE-PUSHER":DE,MAP:UE,"MOVABLE-AREA":HE,"MOVABLE-VIEW":WE,"OFFICIAL-ACCOUNT":jE,"OPEN-DATA":YE,PICKER:GE,"PICKER-VIEW":JE,"PICKER-VIEW-COLUMN":QE,PROGRESS:eT,"RICH-TEXT":iT,"SCROLL-VIEW":aT,SLIDER:nT,SWIPER:oT,"SWIPER-ITEM":sT,SWITCH:lT,TEXTAREA:uT,VIDEO:dT,"WEB-VIEW":_T};function wT(e,t){return()=>b_(e,t)}var Kn=new Map;function Ke(e){return Kn.get(e)}function yT(e){return Kn.get(e)}function Th(e){return Kn.delete(e)}function Ch(e,t,r,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},n;if(e===0)n=new ii(e,t,r,document.createElement(t));else{var o=bT[t];o?n=new o(e,r,i,a):n=new Sd(e,document.createElement(t),r,i,a)}return Kn.set(e,n),n}var Ol=[],Oh=!1;function Ah(e){if(Oh)return e();Ol.push(e)}function Al(){Oh=!0,Ol.forEach(e=>{try{e()}catch(t){console.error(t)}}),Ol.length=0}function I2(){}function Ih(e){var{css:t,route:r,platform:i,pixelRatio:a,windowWidth:n,disableScroll:o,statusbarHeight:s,windowTop:l,windowBottom:u}=e;xT(r),ST(i,a,n),ET();var f=plus.webview.currentWebview().id;window.__id__=f,document.title="".concat(r,"[").concat(f,"]"),CT(s,l,u),o&&document.addEventListener("touchmove",ob),t?TT(r):Al()}function xT(e){window.__PAGE_INFO__={route:e}}function ST(e,t,r){window.__SYSTEM_INFO__={platform:e,pixelRatio:t,windowWidth:r}}function ET(){Ch(0,"div",-1,-1).$=document.getElementById("app")}function TT(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e+".css",t.onload=Al,t.onerror=Al,document.head.appendChild(t)}function CT(e,t,r){var i={"--window-left":"0px","--window-right":"0px","--window-top":t+"px","--window-bottom":r+"px","--status-bar-height":e+"px"};Z_(i)}var kh=!1;function OT(e){if(!kh){kh=!0;var t={onReachBottomDistance:e,onPageScroll(r){UniViewJSBridge.publishHandler(kp,{scrollTop:r})},onReachBottom(){UniViewJSBridge.publishHandler(Mp)}};requestAnimationFrame(()=>document.addEventListener("scroll",sb(t)))}}function AT(e,t){var{scrollTop:r,selector:i,duration:a}=e;Fp(i||r||0,a),t()}function IT(e){var t=e[0];t[0]===ku?kT(t):Ah(()=>MT(e))}function kT(e){return Ih(e[1])}function MT(e){var t=e[0],r=Z1(t[0]===mb?t[1]:[]);e.forEach(i=>{switch(i[0]){case ku:return Ih(i[1]);case Yp:return void 0;case qp:var a=i[3];return Ch(i[1],r(i[2]),a===-1?0:a,i[4],sd(r,i[5]));case Xp:return Ke(i[1]).insert(i[2],i[3],sd(r,i[4]));case Zp:return Ke(i[1]).remove();case Kp:return Ke(i[1]).setAttr(r(i[2]),r(i[3]));case Gp:return Ke(i[1]).removeAttr(r(i[2]));case Jp:return Ke(i[1]).addEvent(r(i[2]),i[3]);case tm:return Ke(i[1]).addWxsEvent(r(i[2]),r(i[3]),i[4]);case Qp:return Ke(i[1]).removeEvent(r(i[2]));case em:return Ke(i[1]).setText(r(i[2]));case rm:return OT(i[1])}}),Q1()}function RT(){var{subscribe:e}=UniViewJSBridge;e(bc,IT),e(yb,t=>Qe().setLocale(t)),e(Is,LT)}function LT(){UniViewJSBridge.publishHandler(Is)}function Mh(e){return window.__$__(e).$}function PT(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 Il(e,t){var r={},{top:i}=X_();if(t.id&&(r.id=e.id),t.dataset&&(r.dataset=Lo(e)),t.rect||t.size){var a=e.getBoundingClientRect();t.rect&&(r.left=a.left,r.right=a.right,r.top=a.top-i,r.bottom=a.bottom-i),t.size&&(r.width=a.width,r.height=a.height)}if(Array.isArray(t.properties)&&t.properties.forEach(s=>{s=s.replace(/-([a-z])/g,function(l,u){return u.toUpperCase()})}),t.scrollOffset)if(e.tagName==="UNI-SCROLL-VIEW"){var n=e.children[0].children[0];r.scrollLeft=n.scrollLeft,r.scrollTop=n.scrollTop,r.scrollHeight=n.scrollHeight,r.scrollWidth=n.scrollWidth}else r.scrollLeft=0,r.scrollTop=0,r.scrollHeight=0,r.scrollWidth=0;if(Array.isArray(t.computedStyle)){var o=getComputedStyle(e);t.computedStyle.forEach(s=>{r[s]=o[s]})}return t.context&&(r.contextInfo=tE(e)),r}function NT(e,t){return e?window.__$__(e).$:t.$el}function Rh(e,t){var r=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(i){for(var a=this.parentElement.querySelectorAll(i),n=a.length;--n>=0&&a.item(n)!==this;);return n>-1};return r.call(e,t)}function DT(e,t,r,i,a){var n=NT(t,e),o=n.parentElement;if(!o)return i?null:[];var{nodeType:s}=n,l=s===3||s===8;if(i){var u=l?o.querySelector(r):Rh(n,r)?n:n.querySelector(r);return u?Il(u,a):null}else{var f=[],d=(l?o:n).querySelectorAll(r);return d&&d.length&&[].forEach.call(d,p=>{f.push(Il(p,a))}),!l&&Rh(n,r)&&f.unshift(Il(n,a)),f}}function BT(e,t,r){var i=[];t.forEach(a=>{var{component:n,selector:o,single:s,fields:l}=a;n===null?i.push(PT(l)):i.push(DT(e,n,o,s,l))}),r(i)}function FT(e,t){var{pageStyle:r,rootFontSize:i}=t;if(r){var a=document.querySelector("uni-page-body")||document.body;a.setAttribute("style",r)}i&&document.documentElement.style.fontSize!==i&&(document.documentElement.style.fontSize=i)}function $T(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=Mh(i);(o.__io||(o.__io={}))[r]=U1(o,a,n)}function zT(e,t){var{reqId:r,component:i}=e,a=Mh(i),n=a.__io&&a.__io[r];n&&(n.disconnect(),delete a.__io[r])}var kl={},Ml={};function UT(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(Lh(i),": ").concat(Number(e[i]),"px)")),i==="orientation"&&e[i]&&t.push("(".concat(Lh(i),": ").concat(e[i],")"));var a=t.join(" and ");return a}function Lh(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function HT(e,t){var{reqId:r,component:i,options:a,callback:n}=e,o=kl[r]=window.matchMedia(UT(a)),s=Ml[r]=l=>n(l.matches);s(o),o.addListener(s)}function WT(e,t){var{reqId:r,component:i}=e,a=Ml[r],n=kl[r];n&&(n.removeListener(a),delete Ml[r],delete kl[r])}function VT(e,t){var{family:r,source:i,desc:a}=e;Bp(r,i,a).then(()=>{t()}).catch(n=>{t(n.toString())})}var jT={$el:document.body};function YT(){var e=Gt();Om(e,t=>function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];Ah(()=>{t.apply(null,i)})}),wt(e,"requestComponentInfo",(t,r)=>{BT(jT,t.reqs,r)}),wt(e,"addIntersectionObserver",t=>{$T(ce({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),wt(e,"removeIntersectionObserver",t=>{zT(t)}),wt(e,"addMediaQueryObserver",t=>{HT(ce({},t,{callback(r){UniViewJSBridge.publishHandler(t.eventName,r)}}))}),wt(e,"removeMediaQueryObserver",t=>{WT(t)}),wt(e,F1,AT),wt(e,B1,VT),wt(e,D1,t=>{FT(null,t)})}window.uni=q1,window.UniViewJSBridge=wc,window.rpx2px=ad,window.normalizeStyleName=hd,window.normalizeStyleValue=fl,window.__$__=Ke,window.__f__=Hp;function Ph(){Dm(),YT(),RT(),X1(),wc.publishHandler(Is)}typeof plus!="undefined"?Ph():document.addEventListener("plusready",Ph)});