@vtj/pro 0.12.65 → 0.12.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/.vtj/2.png +0 -0
  2. package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
  3. package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
  4. package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
  5. package/dist/@vtj/materials/assets/icons/index.umd.js +2 -2
  6. package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
  7. package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
  8. package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
  9. package/dist/@vtj/materials/assets/vant/index.umd.js +2 -2
  10. package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
  11. package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
  12. package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +2 -2
  13. package/dist/@vtj/materials/deps/@vtj/ui/style.css +1 -1
  14. package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +2 -2
  15. package/dist/assets/{Editor-BmXW3-2o-D8cEBEe8.js → Editor-Bdom0pBx-BMv6Nlyr.js} +81 -81
  16. package/dist/assets/Editor-Bdom0pBx-ttxEPtJz.css +1 -0
  17. package/dist/assets/auth-DH0i1F-W.js +1 -0
  18. package/dist/assets/{element-plus-iCQ0AeYB.js → element-plus-COProxbp.js} +1 -1
  19. package/dist/assets/{index-Y5OP8j6p.css → index-1XTA0ffa.css} +1 -1
  20. package/dist/assets/index-BmWJ2yPj.js +1 -0
  21. package/dist/assets/{index-fEjuB8u6.js → index-CapG4hKa.js} +2 -2
  22. package/dist/assets/{mockjs-3Ni81vZ8.js → mockjs-DG3OW7C0.js} +1 -1
  23. package/dist/assets/page-CXshMEMJ.js +2 -0
  24. package/dist/assets/{preview-D3vbMuy6.js → preview-CxxPUZbw.js} +1 -1
  25. package/dist/assets/{shared-DgX_DHMy.js → shared-Bnc4f-Fv.js} +1 -1
  26. package/dist/assets/utils-BidBdZeD.js +1 -0
  27. package/dist/assets/{vxe-Dwuldplg.js → vxe-Bet8YtVU.js} +1 -1
  28. package/dist/index.html +6 -6
  29. package/dist/uni/assets/{@dcloudio-uni-h5-vue-BPSV-pNw.js → @dcloudio-uni-h5-vue-BEVv3z-t.js} +1 -1
  30. package/dist/uni/assets/index-BYHIipCr.js +77 -0
  31. package/dist/uni/assets/{vue-router-Uz_q6KEP.js → vue-router-5EIDvL-H.js} +1 -1
  32. package/dist/uni/index.html +3 -3
  33. package/package.json +13 -13
  34. package/dist/assets/Editor-BmXW3-2o-1VcXkDKi.css +0 -1
  35. package/dist/assets/auth-oDTEwyxz.js +0 -1
  36. package/dist/assets/index-QqS6g_uz.js +0 -1
  37. package/dist/assets/page-CiQOFv6Z.js +0 -2
  38. package/dist/assets/utils-tMXybmQW.js +0 -1
  39. package/dist/uni/assets/index-DDqyu5CZ.js +0 -77
@@ -1,77 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./@dcloudio-uni-h5-vue-BPSV-pNw.js","./vue-BK7aLblh.js","./@dcloudio-uni-shared-VStmjWbh.js","./vue-router-Uz_q6KEP.js"])))=>i.map(i=>d[i]);
2
- var aa=Object.defineProperty,ua=Object.defineProperties;var ca=Object.getOwnPropertyDescriptors;var yn=Object.getOwnPropertySymbols;var la=Object.prototype.hasOwnProperty,fa=Object.prototype.propertyIsEnumerable;var Kt=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),ha=e=>{throw TypeError(e)};var ar=(e,t,r)=>t in e?aa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,H=(e,t)=>{for(var r in t||(t={}))la.call(t,r)&&ar(e,r,t[r]);if(yn)for(var r of yn(t))fa.call(t,r)&&ar(e,r,t[r]);return e},et=(e,t)=>ua(e,ca(t));var z=(e,t,r)=>ar(e,typeof t!="symbol"?t+"":t,r);var k=(e,t,r)=>new Promise((n,i)=>{var s=l=>{try{u(r.next(l))}catch(a){i(a)}},o=l=>{try{u(r.throw(l))}catch(a){i(a)}},u=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,o);u((r=r.apply(e,t)).next())}),Ct=function(e,t){this[0]=e,this[1]=t},ur=(e,t,r)=>{var n=(o,u,l,a)=>{try{var c=r[o](u),f=(u=c.value)instanceof Ct,p=c.done;Promise.resolve(f?u[0]:u).then(h=>f?n(o==="return"?o:"next",u[1]?{done:h.done,value:h.value}:h,l,a):l({value:h,done:p})).catch(h=>n("throw",h,l,a))}catch(h){a(h)}},i=o=>s[o]=u=>new Promise((l,a)=>n(o,u,l,a)),s={};return r=r.apply(e,t),s[Kt("asyncIterator")]=()=>s,i("next"),i("throw"),i("return"),s},cr=e=>{var t=e[Kt("asyncIterator")],r=!1,n,i={};return t==null?(t=e[Kt("iterator")](),n=s=>i[s]=o=>t[s](o)):(t=t.call(e),n=s=>i[s]=o=>{if(r){if(r=!1,s==="throw")throw o;return o}return r=!0,{done:!1,value:new Ct(new Promise(u=>{var l=t[s](o);l instanceof Object||ha("Object expected"),u(l)}),1)}}),i[Kt("iterator")]=()=>i,n("next"),"throw"in t?n("throw"):i.throw=s=>{throw s},"return"in t&&n("return"),i},vn=(e,t,r)=>(t=e[Kt("asyncIterator")])?t.call(e):(e=e[Kt("iterator")](),t={},r=(n,i)=>(i=e[n])&&(t[n]=s=>new Promise((o,u,l)=>(s=i.call(e,s),l=s.done,Promise.resolve(s.value).then(a=>o({value:a,done:l}),u)))),r("next"),r("return"),t);import{d as Ji,g as bn,h as Rr,r as pa,J as Ke,i as da}from"./@dcloudio-uni-h5-vue-BPSV-pNw.js";import{useRoute as ga}from"./vue-router-Uz_q6KEP.js";import"./vue-BK7aLblh.js";import"./@dcloudio-uni-shared-VStmjWbh.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(i){if(i.ep)return;i.ep=!0;const s=r(i);fetch(i.href,s)}})();const ma="modulepreload",ya=function(e,t){return new URL(e,t).href},wn={},_n=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){let o=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const u=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));i=o(r.map(c=>{if(c=ya(c,n),c in wn)return;wn[c]=!0;const f=c.endsWith(".css"),p=f?'[rel="stylesheet"]':"";if(!!n)for(let g=u.length-1;g>=0;g--){const b=u[g];if(b.href===c&&(!f||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${p}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":ma,f||(d.as="script"),d.crossOrigin="",d.href=c,a&&d.setAttribute("nonce",a),document.head.appendChild(d),f)return new Promise((g,b)=>{d.addEventListener("load",g),d.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(o){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=o,window.dispatchEvent(u),!u.defaultPrevented)throw o}return i.then(o=>{for(const u of o||[])u.status==="rejected"&&s(u.reason);return t().catch(s)})};var va={ENV_TYPE:"live",NODE_ENV:"production"},ba=typeof global=="object"&&global&&global.Object===Object&&global;const Yi=ba;var wa=typeof self=="object"&&self&&self.Object===Object&&self,_a=Yi||wa||Function("return this")();const dt=_a;var Ea=dt.Symbol;const yt=Ea;var Gi=Object.prototype,Sa=Gi.hasOwnProperty,xa=Gi.toString,ce=yt?yt.toStringTag:void 0;function Ta(e){var t=Sa.call(e,ce),r=e[ce];try{e[ce]=void 0;var n=!0}catch(s){}var i=xa.call(e);return n&&(t?e[ce]=r:delete e[ce]),i}var Aa=Object.prototype,Ra=Aa.toString;function Oa(e){return Ra.call(e)}var $a="[object Null]",ja="[object Undefined]",En=yt?yt.toStringTag:void 0;function St(e){return e==null?e===void 0?ja:$a:En&&En in Object(e)?Ta(e):Oa(e)}function bt(e){return e!=null&&typeof e=="object"}var Da="[object Symbol]";function Zi(e){return typeof e=="symbol"||bt(e)&&St(e)==Da}function Qi(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var Ba=Array.isArray;const Ut=Ba;var Sn=yt?yt.prototype:void 0,xn=Sn?Sn.toString:void 0;function Xi(e){if(typeof e=="string")return e;if(Ut(e))return Qi(e,Xi)+"";if(Zi(e))return xn?xn.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var Ca=/\s/;function Na(e){for(var t=e.length;t--&&Ca.test(e.charAt(t)););return t}var Ia=/^\s+/;function Pa(e){return e&&e.slice(0,Na(e)+1).replace(Ia,"")}function ct(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Tn=NaN,ka=/^[-+]0x[0-9a-f]+$/i,Fa=/^0b[01]+$/i,Ma=/^0o[0-7]+$/i,Ua=parseInt;function An(e){if(typeof e=="number")return e;if(Zi(e))return Tn;if(ct(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ct(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Pa(e);var r=Fa.test(e);return r||Ma.test(e)?Ua(e.slice(2),r?2:8):ka.test(e)?Tn:+e}function ts(e){return e}var La="[object AsyncFunction]",Va="[object Function]",Ha="[object GeneratorFunction]",qa="[object Proxy]";function Lt(e){if(!ct(e))return!1;var t=St(e);return t==Va||t==Ha||t==La||t==qa}var za=dt["__core-js_shared__"];const lr=za;var Rn=function(){var e=/[^.]+$/.exec(lr&&lr.keys&&lr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Ka(e){return!!Rn&&Rn in e}var Wa=Function.prototype,Ja=Wa.toString;function Ht(e){if(e!=null){try{return Ja.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Ya=/[\\^$.*+?()[\]{}|]/g,Ga=/^\[object .+?Constructor\]$/,Za=Function.prototype,Qa=Object.prototype,Xa=Za.toString,tu=Qa.hasOwnProperty,eu=RegExp("^"+Xa.call(tu).replace(Ya,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ru(e){if(!ct(e)||Ka(e))return!1;var t=Lt(e)?eu:Ga;return t.test(Ht(e))}function nu(e,t){return e==null?void 0:e[t]}function qt(e,t){var r=nu(e,t);return ru(r)?r:void 0}var iu=qt(dt,"WeakMap");const Or=iu;var On=Object.create,su=function(){function e(){}return function(t){if(!ct(t))return{};if(On)return On(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();const ou=su;function es(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function au(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var uu=800,cu=16,lu=Date.now;function fu(e){var t=0,r=0;return function(){var n=lu(),i=cu-(n-r);if(r=n,i>0){if(++t>=uu)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function hu(e){return function(){return e}}var pu=function(){try{var e=qt(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();const Le=pu;var du=Le?function(e,t){return Le(e,"toString",{configurable:!0,enumerable:!1,value:hu(t),writable:!0})}:ts;const gu=du;var mu=fu(gu);const yu=mu;function vu(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var bu=9007199254740991,wu=/^(?:0|[1-9]\d*)$/;function rs(e,t){var r=typeof e;return t=t!=null?t:bu,!!t&&(r=="number"||r!="symbol"&&wu.test(e))&&e>-1&&e%1==0&&e<t}function Xr(e,t,r){t=="__proto__"&&Le?Le(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function we(e,t){return e===t||e!==e&&t!==t}var _u=Object.prototype,Eu=_u.hasOwnProperty;function ns(e,t,r){var n=e[t];(!(Eu.call(e,t)&&we(n,r))||r===void 0&&!(t in e))&&Xr(e,t,r)}function is(e,t,r,n){var i=!r;r||(r={});for(var s=-1,o=t.length;++s<o;){var u=t[s],l=n?n(r[u],e[u],u,r,e):void 0;l===void 0&&(l=e[u]),i?Xr(r,u,l):ns(r,u,l)}return r}var $n=Math.max;function Su(e,t,r){return t=$n(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,s=$n(n.length-t,0),o=Array(s);++i<s;)o[i]=n[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=n[i];return u[t]=r(o),es(e,this,u)}}function ss(e,t){return yu(Su(e,t,ts),e+"")}var xu=9007199254740991;function os(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=xu}function We(e){return e!=null&&os(e.length)&&!Lt(e)}function Tu(e,t,r){if(!ct(r))return!1;var n=typeof t;return(n=="number"?We(r)&&rs(t,r.length):n=="string"&&t in r)?we(r[t],e):!1}function as(e){return ss(function(t,r){var n=-1,i=r.length,s=i>1?r[i-1]:void 0,o=i>2?r[2]:void 0;for(s=e.length>3&&typeof s=="function"?(i--,s):void 0,o&&Tu(r[0],r[1],o)&&(s=i<3?void 0:s,i=1),t=Object(t);++n<i;){var u=r[n];u&&e(t,u,n,s)}return t})}var Au=Object.prototype;function tn(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Au;return e===r}function Ru(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Ou="[object Arguments]";function jn(e){return bt(e)&&St(e)==Ou}var us=Object.prototype,$u=us.hasOwnProperty,ju=us.propertyIsEnumerable,Du=jn(function(){return arguments}())?jn:function(e){return bt(e)&&$u.call(e,"callee")&&!ju.call(e,"callee")};const $r=Du;function Bu(){return!1}var cs=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Dn=cs&&typeof module=="object"&&module&&!module.nodeType&&module,Cu=Dn&&Dn.exports===cs,Bn=Cu?dt.Buffer:void 0,Nu=Bn?Bn.isBuffer:void 0,Iu=Nu||Bu;const en=Iu;var Pu="[object Arguments]",ku="[object Array]",Fu="[object Boolean]",Mu="[object Date]",Uu="[object Error]",Lu="[object Function]",Vu="[object Map]",Hu="[object Number]",qu="[object Object]",zu="[object RegExp]",Ku="[object Set]",Wu="[object String]",Ju="[object WeakMap]",Yu="[object ArrayBuffer]",Gu="[object DataView]",Zu="[object Float32Array]",Qu="[object Float64Array]",Xu="[object Int8Array]",tc="[object Int16Array]",ec="[object Int32Array]",rc="[object Uint8Array]",nc="[object Uint8ClampedArray]",ic="[object Uint16Array]",sc="[object Uint32Array]",G={};G[Zu]=G[Qu]=G[Xu]=G[tc]=G[ec]=G[rc]=G[nc]=G[ic]=G[sc]=!0,G[Pu]=G[ku]=G[Yu]=G[Fu]=G[Gu]=G[Mu]=G[Uu]=G[Lu]=G[Vu]=G[Hu]=G[qu]=G[zu]=G[Ku]=G[Wu]=G[Ju]=!1;function oc(e){return bt(e)&&os(e.length)&&!!G[St(e)]}function rn(e){return function(t){return e(t)}}var ls=typeof exports=="object"&&exports&&!exports.nodeType&&exports,de=ls&&typeof module=="object"&&module&&!module.nodeType&&module,ac=de&&de.exports===ls,fr=ac&&Yi.process,uc=function(){try{var e=de&&de.require&&de.require("util").types;return e||fr&&fr.binding&&fr.binding("util")}catch(t){}}();const vt=uc;var Cn=vt&&vt.isTypedArray,cc=Cn?rn(Cn):oc;const fs=cc;var lc=Object.prototype,fc=lc.hasOwnProperty;function hs(e,t){var r=Ut(e),n=!r&&$r(e),i=!r&&!n&&en(e),s=!r&&!n&&!i&&fs(e),o=r||n||i||s,u=o?Ru(e.length,String):[],l=u.length;for(var a in e)(t||fc.call(e,a))&&!(o&&(a=="length"||i&&(a=="offset"||a=="parent")||s&&(a=="buffer"||a=="byteLength"||a=="byteOffset")||rs(a,l)))&&u.push(a);return u}function ps(e,t){return function(r){return e(t(r))}}var hc=ps(Object.keys,Object);const pc=hc;var dc=Object.prototype,gc=dc.hasOwnProperty;function mc(e){if(!tn(e))return pc(e);var t=[];for(var r in Object(e))gc.call(e,r)&&r!="constructor"&&t.push(r);return t}function ds(e){return We(e)?hs(e):mc(e)}function yc(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var vc=Object.prototype,bc=vc.hasOwnProperty;function wc(e){if(!ct(e))return yc(e);var t=tn(e),r=[];for(var n in e)n=="constructor"&&(t||!bc.call(e,n))||r.push(n);return r}function nn(e){return We(e)?hs(e,!0):wc(e)}var _c=as(function(e,t,r,n){is(t,nn(t),e,n)});const Nn=_c;var Ec=qt(Object,"create");const ge=Ec;function Sc(){this.__data__=ge?ge(null):{},this.size=0}function xc(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Tc="__lodash_hash_undefined__",Ac=Object.prototype,Rc=Ac.hasOwnProperty;function Oc(e){var t=this.__data__;if(ge){var r=t[e];return r===Tc?void 0:r}return Rc.call(t,e)?t[e]:void 0}var $c=Object.prototype,jc=$c.hasOwnProperty;function Dc(e){var t=this.__data__;return ge?t[e]!==void 0:jc.call(t,e)}var Bc="__lodash_hash_undefined__";function Cc(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ge&&t===void 0?Bc:t,this}function Pt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Pt.prototype.clear=Sc,Pt.prototype.delete=xc,Pt.prototype.get=Oc,Pt.prototype.has=Dc,Pt.prototype.set=Cc;function Nc(){this.__data__=[],this.size=0}function Je(e,t){for(var r=e.length;r--;)if(we(e[r][0],t))return r;return-1}var Ic=Array.prototype,Pc=Ic.splice;function kc(e){var t=this.__data__,r=Je(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Pc.call(t,r,1),--this.size,!0}function Fc(e){var t=this.__data__,r=Je(t,e);return r<0?void 0:t[r][1]}function Mc(e){return Je(this.__data__,e)>-1}function Uc(e,t){var r=this.__data__,n=Je(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Et(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Et.prototype.clear=Nc,Et.prototype.delete=kc,Et.prototype.get=Fc,Et.prototype.has=Mc,Et.prototype.set=Uc;var Lc=qt(dt,"Map");const me=Lc;function Vc(){this.size=0,this.__data__={hash:new Pt,map:new(me||Et),string:new Pt}}function Hc(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ye(e,t){var r=e.__data__;return Hc(t)?r[typeof t=="string"?"string":"hash"]:r.map}function qc(e){var t=Ye(this,e).delete(e);return this.size-=t?1:0,t}function zc(e){return Ye(this,e).get(e)}function Kc(e){return Ye(this,e).has(e)}function Wc(e,t){var r=Ye(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function Rt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Rt.prototype.clear=Vc,Rt.prototype.delete=qc,Rt.prototype.get=zc,Rt.prototype.has=Kc,Rt.prototype.set=Wc;var Jc="Expected a function";function sn(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Jc);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],s=r.cache;if(s.has(i))return s.get(i);var o=e.apply(this,n);return r.cache=s.set(i,o)||s,o};return r.cache=new(sn.Cache||Rt),r}sn.Cache=Rt;var Yc=500;function Gc(e){var t=sn(e,function(n){return r.size===Yc&&r.clear(),n}),r=t.cache;return t}var Zc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qc=/\\(\\)?/g;Gc(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Zc,function(r,n,i,s){t.push(i?s.replace(Qc,"$1"):n||r)}),t});function ne(e){return e==null?"":Xi(e)}function Xc(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var tl=ps(Object.getPrototypeOf,Object);const gs=tl;var el="[object Object]",rl=Function.prototype,nl=Object.prototype,ms=rl.toString,il=nl.hasOwnProperty,sl=ms.call(Object);function ys(e){if(!bt(e)||St(e)!=el)return!1;var t=gs(e);if(t===null)return!0;var r=il.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&ms.call(r)==sl}var ol="[object DOMException]",al="[object Error]";function vs(e){if(!bt(e))return!1;var t=St(e);return t==al||t==ol||typeof e.message=="string"&&typeof e.name=="string"&&!ys(e)}var ul=ss(function(e,t){try{return es(e,void 0,t)}catch(r){return vs(r)?r:new Error(r)}});const cl=ul;function ll(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(i);++n<i;)s[n]=e[n+t];return s}function fl(e,t,r){var n=e.length;return r=r===void 0?n:r,!t&&r>=n?e:ll(e,t,r)}var hl="\\ud800-\\udfff",pl="\\u0300-\\u036f",dl="\\ufe20-\\ufe2f",gl="\\u20d0-\\u20ff",ml=pl+dl+gl,yl="\\ufe0e\\ufe0f",vl="\\u200d",bl=RegExp("["+vl+hl+ml+yl+"]");function bs(e){return bl.test(e)}function wl(e){return e.split("")}var ws="\\ud800-\\udfff",_l="\\u0300-\\u036f",El="\\ufe20-\\ufe2f",Sl="\\u20d0-\\u20ff",xl=_l+El+Sl,Tl="\\ufe0e\\ufe0f",Al="["+ws+"]",jr="["+xl+"]",Dr="\\ud83c[\\udffb-\\udfff]",Rl="(?:"+jr+"|"+Dr+")",_s="[^"+ws+"]",Es="(?:\\ud83c[\\udde6-\\uddff]){2}",Ss="[\\ud800-\\udbff][\\udc00-\\udfff]",Ol="\\u200d",xs=Rl+"?",Ts="["+Tl+"]?",$l="(?:"+Ol+"(?:"+[_s,Es,Ss].join("|")+")"+Ts+xs+")*",jl=Ts+xs+$l,Dl="(?:"+[_s+jr+"?",jr,Es,Ss,Al].join("|")+")",Bl=RegExp(Dr+"(?="+Dr+")|"+Dl+jl,"g");function Cl(e){return e.match(Bl)||[]}function Nl(e){return bs(e)?Cl(e):wl(e)}function Il(e){return function(t){t=ne(t);var r=bs(t)?Nl(t):void 0,n=r?r[0]:t.charAt(0),i=r?fl(r,1).join(""):t.slice(1);return n[e]()+i}}var Pl=Il("toUpperCase");const As=Pl;function kl(e){return As(ne(e).toLowerCase())}function Fl(e,t,r,n){var i=-1,s=e==null?0:e.length;for(n;++i<s;)r=t(r,e[i],i,e);return r}function Rs(e){return function(t){return e==null?void 0:e[t]}}var Ml={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ul=Rs(Ml);const Ll=Ul;var Vl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Hl="\\u0300-\\u036f",ql="\\ufe20-\\ufe2f",zl="\\u20d0-\\u20ff",Kl=Hl+ql+zl,Wl="["+Kl+"]",Jl=RegExp(Wl,"g");function Yl(e){return e=ne(e),e&&e.replace(Vl,Ll).replace(Jl,"")}var Gl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Zl(e){return e.match(Gl)||[]}var Ql=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Xl(e){return Ql.test(e)}var Os="\\ud800-\\udfff",tf="\\u0300-\\u036f",ef="\\ufe20-\\ufe2f",rf="\\u20d0-\\u20ff",nf=tf+ef+rf,$s="\\u2700-\\u27bf",js="a-z\\xdf-\\xf6\\xf8-\\xff",sf="\\xac\\xb1\\xd7\\xf7",of="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",af="\\u2000-\\u206f",uf=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ds="A-Z\\xc0-\\xd6\\xd8-\\xde",cf="\\ufe0e\\ufe0f",Bs=sf+of+af+uf,Cs="['’]",In="["+Bs+"]",lf="["+nf+"]",Ns="\\d+",ff="["+$s+"]",Is="["+js+"]",Ps="[^"+Os+Bs+Ns+$s+js+Ds+"]",hf="\\ud83c[\\udffb-\\udfff]",pf="(?:"+lf+"|"+hf+")",df="[^"+Os+"]",ks="(?:\\ud83c[\\udde6-\\uddff]){2}",Fs="[\\ud800-\\udbff][\\udc00-\\udfff]",Gt="["+Ds+"]",gf="\\u200d",Pn="(?:"+Is+"|"+Ps+")",mf="(?:"+Gt+"|"+Ps+")",kn="(?:"+Cs+"(?:d|ll|m|re|s|t|ve))?",Fn="(?:"+Cs+"(?:D|LL|M|RE|S|T|VE))?",Ms=pf+"?",Us="["+cf+"]?",yf="(?:"+gf+"(?:"+[df,ks,Fs].join("|")+")"+Us+Ms+")*",vf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",bf="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",wf=Us+Ms+yf,_f="(?:"+[ff,ks,Fs].join("|")+")"+wf,Ef=RegExp([Gt+"?"+Is+"+"+kn+"(?="+[In,Gt,"$"].join("|")+")",mf+"+"+Fn+"(?="+[In,Gt+Pn,"$"].join("|")+")",Gt+"?"+Pn+"+"+kn,Gt+"+"+Fn,bf,vf,Ns,_f].join("|"),"g");function Sf(e){return e.match(Ef)||[]}function xf(e,t,r){return e=ne(e),t=t,t===void 0?Xl(e)?Sf(e):Zl(e):e.match(t)||[]}var Tf="['’]",Af=RegExp(Tf,"g");function Rf(e){return function(t){return Fl(xf(Yl(t).replace(Af,"")),e,"")}}var Of=Rf(function(e,t,r){return t=t.toLowerCase(),e+(r?kl(t):t)});const wt=Of;function $f(){this.__data__=new Et,this.size=0}function jf(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function Df(e){return this.__data__.get(e)}function Bf(e){return this.__data__.has(e)}var Cf=200;function Nf(e,t){var r=this.__data__;if(r instanceof Et){var n=r.__data__;if(!me||n.length<Cf-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Rt(n)}return r.set(e,t),this.size=r.size,this}function kt(e){var t=this.__data__=new Et(e);this.size=t.size}kt.prototype.clear=$f,kt.prototype.delete=jf,kt.prototype.get=Df,kt.prototype.has=Bf,kt.prototype.set=Nf;var Ls=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Mn=Ls&&typeof module=="object"&&module&&!module.nodeType&&module,If=Mn&&Mn.exports===Ls,Un=If?dt.Buffer:void 0,Ln=Un?Un.allocUnsafe:void 0;function Vs(e,t){if(t)return e.slice();var r=e.length,n=Ln?Ln(r):new e.constructor(r);return e.copy(n),n}function Pf(e,t){for(var r=-1,n=e==null?0:e.length,i=0,s=[];++r<n;){var o=e[r];t(o,r,e)&&(s[i++]=o)}return s}function kf(){return[]}var Ff=Object.prototype,Mf=Ff.propertyIsEnumerable,Vn=Object.getOwnPropertySymbols,Uf=Vn?function(e){return e==null?[]:(e=Object(e),Pf(Vn(e),function(t){return Mf.call(e,t)}))}:kf;const Lf=Uf;function Vf(e,t,r){var n=t(e);return Ut(e)?n:Xc(n,r(e))}function Hf(e){return Vf(e,ds,Lf)}var qf=qt(dt,"DataView");const Br=qf;var zf=qt(dt,"Promise");const Cr=zf;var Kf=qt(dt,"Set");const Nr=Kf;var Hn="[object Map]",Wf="[object Object]",qn="[object Promise]",zn="[object Set]",Kn="[object WeakMap]",Wn="[object DataView]",Jf=Ht(Br),Yf=Ht(me),Gf=Ht(Cr),Zf=Ht(Nr),Qf=Ht(Or),It=St;(Br&&It(new Br(new ArrayBuffer(1)))!=Wn||me&&It(new me)!=Hn||Cr&&It(Cr.resolve())!=qn||Nr&&It(new Nr)!=zn||Or&&It(new Or)!=Kn)&&(It=function(e){var t=St(e),r=t==Wf?e.constructor:void 0,n=r?Ht(r):"";if(n)switch(n){case Jf:return Wn;case Yf:return Hn;case Gf:return qn;case Zf:return zn;case Qf:return Kn}return t});const on=It;var Xf=Object.prototype,th=Xf.hasOwnProperty;function eh(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&th.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var rh=dt.Uint8Array;const Jn=rh;function an(e){var t=new e.constructor(e.byteLength);return new Jn(t).set(new Jn(e)),t}function nh(e,t){var r=an(e.buffer);return new e.constructor(r,e.byteOffset,e.byteLength)}var ih=/\w*$/;function sh(e){var t=new e.constructor(e.source,ih.exec(e));return t.lastIndex=e.lastIndex,t}var Yn=yt?yt.prototype:void 0,Gn=Yn?Yn.valueOf:void 0;function oh(e){return Gn?Object(Gn.call(e)):{}}function Hs(e,t){var r=t?an(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var ah="[object Boolean]",uh="[object Date]",ch="[object Map]",lh="[object Number]",fh="[object RegExp]",hh="[object Set]",ph="[object String]",dh="[object Symbol]",gh="[object ArrayBuffer]",mh="[object DataView]",yh="[object Float32Array]",vh="[object Float64Array]",bh="[object Int8Array]",wh="[object Int16Array]",_h="[object Int32Array]",Eh="[object Uint8Array]",Sh="[object Uint8ClampedArray]",xh="[object Uint16Array]",Th="[object Uint32Array]";function Ah(e,t,r){var n=e.constructor;switch(t){case gh:return an(e);case ah:case uh:return new n(+e);case mh:return nh(e);case yh:case vh:case bh:case wh:case _h:case Eh:case Sh:case xh:case Th:return Hs(e,r);case ch:return new n;case lh:case ph:return new n(e);case fh:return sh(e);case hh:return new n;case dh:return oh(e)}}function qs(e){return typeof e.constructor=="function"&&!tn(e)?ou(gs(e)):{}}var Rh="[object Map]";function Oh(e){return bt(e)&&on(e)==Rh}var Zn=vt&&vt.isMap,$h=Zn?rn(Zn):Oh;const jh=$h;var Dh="[object Set]";function Bh(e){return bt(e)&&on(e)==Dh}var Qn=vt&&vt.isSet,Ch=Qn?rn(Qn):Bh;const Nh=Ch;var Ih=1,zs="[object Arguments]",Ph="[object Array]",kh="[object Boolean]",Fh="[object Date]",Mh="[object Error]",Ks="[object Function]",Uh="[object GeneratorFunction]",Lh="[object Map]",Vh="[object Number]",Ws="[object Object]",Hh="[object RegExp]",qh="[object Set]",zh="[object String]",Kh="[object Symbol]",Wh="[object WeakMap]",Jh="[object ArrayBuffer]",Yh="[object DataView]",Gh="[object Float32Array]",Zh="[object Float64Array]",Qh="[object Int8Array]",Xh="[object Int16Array]",tp="[object Int32Array]",ep="[object Uint8Array]",rp="[object Uint8ClampedArray]",np="[object Uint16Array]",ip="[object Uint32Array]",Y={};Y[zs]=Y[Ph]=Y[Jh]=Y[Yh]=Y[kh]=Y[Fh]=Y[Gh]=Y[Zh]=Y[Qh]=Y[Xh]=Y[tp]=Y[Lh]=Y[Vh]=Y[Ws]=Y[Hh]=Y[qh]=Y[zh]=Y[Kh]=Y[ep]=Y[rp]=Y[np]=Y[ip]=!0,Y[Mh]=Y[Ks]=Y[Wh]=!1;function Ce(e,t,r,n,i,s){var o,u=t&Ih;if(o!==void 0)return o;if(!ct(e))return e;var l=Ut(e);if(l)o=eh(e);else{var a=on(e),c=a==Ks||a==Uh;if(en(e))return Vs(e,u);if(a==Ws||a==zs||c&&!i)o=c?{}:qs(e);else{if(!Y[a])return i?e:{};o=Ah(e,a,u)}}s||(s=new kt);var f=s.get(e);if(f)return f;s.set(e,o),Nh(e)?e.forEach(function(d){o.add(Ce(d,t,r,d,e,s))}):jh(e)&&e.forEach(function(d,g){o.set(g,Ce(d,t,r,g,e,s))});var p=Hf,h=l?void 0:p(e);return vu(h||e,function(d,g){h&&(g=d,d=e[g]),ns(o,g,Ce(d,t,r,g,e,s))}),o}var sp=1,op=4;function Xn(e){return Ce(e,sp|op)}var ti=yt?yt.prototype:void 0;ti&&ti.valueOf;function ap(e){return function(t,r,n){for(var i=-1,s=Object(t),o=n(t),u=o.length;u--;){var l=o[++i];if(r(s[l],l,s)===!1)break}return t}}var up=ap();const cp=up;var lp=function(){return dt.Date.now()};const hr=lp;var fp="Expected a function",hp=Math.max,pp=Math.min;function Js(e,t,r){var n,i,s,o,u,l,a=0,c=!1,f=!1,p=!0;if(typeof e!="function")throw new TypeError(fp);t=An(t)||0,ct(r)&&(c=!!r.leading,f="maxWait"in r,s=f?hp(An(r.maxWait)||0,t):s,p="trailing"in r?!!r.trailing:p);function h(m){var x=n,R=i;return n=i=void 0,a=m,o=e.apply(R,x),o}function d(m){return a=m,u=setTimeout(E,t),c?h(m):o}function g(m){var x=m-l,R=m-a,U=t-x;return f?pp(U,s-R):U}function b(m){var x=m-l,R=m-a;return l===void 0||x>=t||x<0||f&&R>=s}function E(){var m=hr();if(b(m))return y(m);u=setTimeout(E,g(m))}function y(m){return u=void 0,p&&n?h(m):(n=i=void 0,o)}function v(){u!==void 0&&clearTimeout(u),a=0,n=l=i=u=void 0}function w(){return u===void 0?o:y(hr())}function S(){var m=hr(),x=b(m);if(n=arguments,i=this,l=m,x){if(u===void 0)return d(l);if(f)return clearTimeout(u),u=setTimeout(E,t),h(l)}return u===void 0&&(u=setTimeout(E,t)),o}return S.cancel=v,S.flush=w,S}function Ir(e,t,r){(r!==void 0&&!we(e[t],r)||r===void 0&&!(t in e))&&Xr(e,t,r)}function dp(e){return bt(e)&&We(e)}function Pr(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function gp(e){return is(e,nn(e))}function mp(e,t,r,n,i,s,o){var u=Pr(e,r),l=Pr(t,r),a=o.get(l);if(a){Ir(e,r,a);return}var c=s?s(u,l,r+"",e,t,o):void 0,f=c===void 0;if(f){var p=Ut(l),h=!p&&en(l),d=!p&&!h&&fs(l);c=l,p||h||d?Ut(u)?c=u:dp(u)?c=au(u):h?(f=!1,c=Vs(l,!0)):d?(f=!1,c=Hs(l,!0)):c=[]:ys(l)||$r(l)?(c=u,$r(u)?c=gp(u):(!ct(u)||Lt(u))&&(c=qs(l))):f=!1}f&&(o.set(l,c),i(c,l,n,s,o),o.delete(l)),Ir(e,r,c)}function Ys(e,t,r,n,i){e!==t&&cp(t,function(s,o){if(i||(i=new kt),ct(s))mp(e,t,o,r,Ys,n,i);else{var u=n?n(Pr(e,o),s,o+"",e,t,i):void 0;u===void 0&&(u=s),Ir(e,o,u)}},nn)}var yp={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},vp=Rs(yp);const bp=vp;var Gs=/[&<>"']/g,wp=RegExp(Gs.source);function _p(e){return e=ne(e),e&&wp.test(e)?e.replace(Gs,bp):e}var Ep="[object String]";function $t(e){return typeof e=="string"||!Ut(e)&&bt(e)&&St(e)==Ep}function Sp(e,t){return Qi(t,function(r){return e[r]})}vt&&vt.isArrayBuffer;vt&&vt.isDate;var xp=as(function(e,t,r){Ys(e,t,r)});const he=xp;var Zs=Object.prototype,Tp=Zs.hasOwnProperty;function ei(e,t,r,n){return e===void 0||we(e,Zs[r])&&!Tp.call(n,r)?t:e}var Ap={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Rp(e){return"\\"+Ap[e]}var Op=/<%=([\s\S]+?)%>/g;const Qs=Op;var $p=/<%-([\s\S]+?)%>/g;const jp=$p;var Dp=/<%([\s\S]+?)%>/g;const Bp=Dp;var Cp={escape:jp,evaluate:Bp,interpolate:Qs,variable:"",imports:{_:{escape:_p}}};const ri=Cp;var Np="Invalid `variable` option passed into `_.template`",Ip=/\b__p \+= '';/g,Pp=/\b(__p \+=) '' \+/g,kp=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Fp=/[()=,{}\[\]\/\s]/,Mp=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,xe=/($^)/,Up=/['\n\r\u2028\u2029\\]/g,Lp=Object.prototype,ni=Lp.hasOwnProperty;function Vp(e,t,r){var n=ri.imports._.templateSettings||ri;e=ne(e),t=Nn({},t,n,ei);var i=Nn({},t.imports,n.imports,ei),s=ds(i),o=Sp(i,s),u,l,a=0,c=t.interpolate||xe,f="__p += '",p=RegExp((t.escape||xe).source+"|"+c.source+"|"+(c===Qs?Mp:xe).source+"|"+(t.evaluate||xe).source+"|$","g"),h=ni.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+`
3
- `:"";e.replace(p,function(b,E,y,v,w,S){return y||(y=v),f+=e.slice(a,S).replace(Up,Rp),E&&(u=!0,f+=`' +
4
- __e(`+E+`) +
5
- '`),w&&(l=!0,f+=`';
6
- `+w+`;
7
- __p += '`),y&&(f+=`' +
8
- ((__t = (`+y+`)) == null ? '' : __t) +
9
- '`),a=S+b.length,b}),f+=`';
10
- `;var d=ni.call(t,"variable")&&t.variable;if(!d)f=`with (obj) {
11
- `+f+`
12
- }
13
- `;else if(Fp.test(d))throw new Error(Np);f=(l?f.replace(Ip,""):f).replace(Pp,"$1").replace(kp,"$1;"),f="function("+(d||"obj")+`) {
14
- `+(d?"":`obj || (obj = {});
15
- `)+"var __t, __p = ''"+(u?", __e = _.escape":"")+(l?`, __j = Array.prototype.join;
16
- function print() { __p += __j.call(arguments, '') }
17
- `:`;
18
- `)+f+`return __p
19
- }`;var g=cl(function(){return Function(s,h+"return "+f).apply(void 0,o)});if(g.source=f,vs(g))throw g;return g}var Hp="Expected a function";function qp(e,t,r){var n=!0,i=!0;if(typeof e!="function")throw new TypeError(Hp);return ct(r)&&(n="leading"in r?!0:n,i="trailing"in r?!1:i),Js(e,t,{leading:n,maxWait:t,trailing:i})}var it=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ie(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xs={exports:{}};function zp(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ii={exports:{}},si;function jt(){return si||(si=1,function(e,t){(function(r,n){e.exports=n()})(it,function(){var r=r||function(n,i){var s;if(typeof window<"u"&&window.crypto&&(s=window.crypto),typeof self<"u"&&self.crypto&&(s=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(s=globalThis.crypto),!s&&typeof window<"u"&&window.msCrypto&&(s=window.msCrypto),!s&&typeof it<"u"&&it.crypto&&(s=it.crypto),!s&&typeof zp=="function")try{s=require("crypto")}catch(y){}var o=function(){if(s){if(typeof s.getRandomValues=="function")try{return s.getRandomValues(new Uint32Array(1))[0]}catch(y){}if(typeof s.randomBytes=="function")try{return s.randomBytes(4).readInt32LE()}catch(y){}}throw new Error("Native crypto module could not be used to get secure random number.")},u=Object.create||function(){function y(){}return function(v){var w;return y.prototype=v,w=new y,y.prototype=null,w}}(),l={},a=l.lib={},c=a.Base=function(){return{extend:function(y){var v=u(this);return y&&v.mixIn(y),(!v.hasOwnProperty("init")||this.init===v.init)&&(v.init=function(){v.$super.init.apply(this,arguments)}),v.init.prototype=v,v.$super=this,v},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var v in y)y.hasOwnProperty(v)&&(this[v]=y[v]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=a.WordArray=c.extend({init:function(y,v){y=this.words=y||[],v!=i?this.sigBytes=v:this.sigBytes=y.length*4},toString:function(y){return(y||h).stringify(this)},concat:function(y){var v=this.words,w=y.words,S=this.sigBytes,m=y.sigBytes;if(this.clamp(),S%4)for(var x=0;x<m;x++){var R=w[x>>>2]>>>24-x%4*8&255;v[S+x>>>2]|=R<<24-(S+x)%4*8}else for(var U=0;U<m;U+=4)v[S+U>>>2]=w[U>>>2];return this.sigBytes+=m,this},clamp:function(){var y=this.words,v=this.sigBytes;y[v>>>2]&=4294967295<<32-v%4*8,y.length=n.ceil(v/4)},clone:function(){var y=c.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var v=[],w=0;w<y;w+=4)v.push(o());return new f.init(v,y)}}),p=l.enc={},h=p.Hex={stringify:function(y){for(var v=y.words,w=y.sigBytes,S=[],m=0;m<w;m++){var x=v[m>>>2]>>>24-m%4*8&255;S.push((x>>>4).toString(16)),S.push((x&15).toString(16))}return S.join("")},parse:function(y){for(var v=y.length,w=[],S=0;S<v;S+=2)w[S>>>3]|=parseInt(y.substr(S,2),16)<<24-S%8*4;return new f.init(w,v/2)}},d=p.Latin1={stringify:function(y){for(var v=y.words,w=y.sigBytes,S=[],m=0;m<w;m++){var x=v[m>>>2]>>>24-m%4*8&255;S.push(String.fromCharCode(x))}return S.join("")},parse:function(y){for(var v=y.length,w=[],S=0;S<v;S++)w[S>>>2]|=(y.charCodeAt(S)&255)<<24-S%4*8;return new f.init(w,v)}},g=p.Utf8={stringify:function(y){try{return decodeURIComponent(escape(d.stringify(y)))}catch(v){throw new Error("Malformed UTF-8 data")}},parse:function(y){return d.parse(unescape(encodeURIComponent(y)))}},b=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=g.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var v,w=this._data,S=w.words,m=w.sigBytes,x=this.blockSize,R=x*4,U=m/R;y?U=n.ceil(U):U=n.max((U|0)-this._minBufferSize,0);var _=U*x,T=n.min(_*4,m);if(_){for(var F=0;F<_;F+=x)this._doProcessBlock(S,F);v=S.splice(0,_),w.sigBytes-=T}return new f.init(v,T)},clone:function(){var y=c.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});a.Hasher=b.extend({cfg:c.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){b.reset.call(this),this._doReset()},update:function(y){return this._append(y),this._process(),this},finalize:function(y){y&&this._append(y);var v=this._doFinalize();return v},blockSize:16,_createHelper:function(y){return function(v,w){return new y.init(w).finalize(v)}},_createHmacHelper:function(y){return function(v,w){return new E.HMAC.init(y,w).finalize(v)}}});var E=l.algo={};return l}(Math);return r})}(ii)),ii.exports}(function(e,t){(function(r,n){e.exports=n(jt())})(it,function(r){return function(n){var i=r,s=i.lib,o=s.WordArray,u=s.Hasher,l=i.algo,a=[];(function(){for(var g=0;g<64;g++)a[g]=n.abs(n.sin(g+1))*4294967296|0})();var c=l.MD5=u.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(g,b){for(var E=0;E<16;E++){var y=b+E,v=g[y];g[y]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}var w=this._hash.words,S=g[b+0],m=g[b+1],x=g[b+2],R=g[b+3],U=g[b+4],_=g[b+5],T=g[b+6],F=g[b+7],B=g[b+8],P=g[b+9],j=g[b+10],N=g[b+11],L=g[b+12],M=g[b+13],V=g[b+14],q=g[b+15],O=w[0],D=w[1],C=w[2],I=w[3];O=f(O,D,C,I,S,7,a[0]),I=f(I,O,D,C,m,12,a[1]),C=f(C,I,O,D,x,17,a[2]),D=f(D,C,I,O,R,22,a[3]),O=f(O,D,C,I,U,7,a[4]),I=f(I,O,D,C,_,12,a[5]),C=f(C,I,O,D,T,17,a[6]),D=f(D,C,I,O,F,22,a[7]),O=f(O,D,C,I,B,7,a[8]),I=f(I,O,D,C,P,12,a[9]),C=f(C,I,O,D,j,17,a[10]),D=f(D,C,I,O,N,22,a[11]),O=f(O,D,C,I,L,7,a[12]),I=f(I,O,D,C,M,12,a[13]),C=f(C,I,O,D,V,17,a[14]),D=f(D,C,I,O,q,22,a[15]),O=p(O,D,C,I,m,5,a[16]),I=p(I,O,D,C,T,9,a[17]),C=p(C,I,O,D,N,14,a[18]),D=p(D,C,I,O,S,20,a[19]),O=p(O,D,C,I,_,5,a[20]),I=p(I,O,D,C,j,9,a[21]),C=p(C,I,O,D,q,14,a[22]),D=p(D,C,I,O,U,20,a[23]),O=p(O,D,C,I,P,5,a[24]),I=p(I,O,D,C,V,9,a[25]),C=p(C,I,O,D,R,14,a[26]),D=p(D,C,I,O,B,20,a[27]),O=p(O,D,C,I,M,5,a[28]),I=p(I,O,D,C,x,9,a[29]),C=p(C,I,O,D,F,14,a[30]),D=p(D,C,I,O,L,20,a[31]),O=h(O,D,C,I,_,4,a[32]),I=h(I,O,D,C,B,11,a[33]),C=h(C,I,O,D,N,16,a[34]),D=h(D,C,I,O,V,23,a[35]),O=h(O,D,C,I,m,4,a[36]),I=h(I,O,D,C,U,11,a[37]),C=h(C,I,O,D,F,16,a[38]),D=h(D,C,I,O,j,23,a[39]),O=h(O,D,C,I,M,4,a[40]),I=h(I,O,D,C,S,11,a[41]),C=h(C,I,O,D,R,16,a[42]),D=h(D,C,I,O,T,23,a[43]),O=h(O,D,C,I,P,4,a[44]),I=h(I,O,D,C,L,11,a[45]),C=h(C,I,O,D,q,16,a[46]),D=h(D,C,I,O,x,23,a[47]),O=d(O,D,C,I,S,6,a[48]),I=d(I,O,D,C,F,10,a[49]),C=d(C,I,O,D,V,15,a[50]),D=d(D,C,I,O,_,21,a[51]),O=d(O,D,C,I,L,6,a[52]),I=d(I,O,D,C,R,10,a[53]),C=d(C,I,O,D,j,15,a[54]),D=d(D,C,I,O,m,21,a[55]),O=d(O,D,C,I,B,6,a[56]),I=d(I,O,D,C,q,10,a[57]),C=d(C,I,O,D,T,15,a[58]),D=d(D,C,I,O,M,21,a[59]),O=d(O,D,C,I,U,6,a[60]),I=d(I,O,D,C,N,10,a[61]),C=d(C,I,O,D,x,15,a[62]),D=d(D,C,I,O,P,21,a[63]),w[0]=w[0]+O|0,w[1]=w[1]+D|0,w[2]=w[2]+C|0,w[3]=w[3]+I|0},_doFinalize:function(){var g=this._data,b=g.words,E=this._nDataBytes*8,y=g.sigBytes*8;b[y>>>5]|=128<<24-y%32;var v=n.floor(E/4294967296),w=E;b[(y+64>>>9<<4)+15]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,b[(y+64>>>9<<4)+14]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,g.sigBytes=(b.length+1)*4,this._process();for(var S=this._hash,m=S.words,x=0;x<4;x++){var R=m[x];m[x]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360}return S},clone:function(){var g=u.clone.call(this);return g._hash=this._hash.clone(),g}});function f(g,b,E,y,v,w,S){var m=g+(b&E|~b&y)+v+S;return(m<<w|m>>>32-w)+b}function p(g,b,E,y,v,w,S){var m=g+(b&y|E&~y)+v+S;return(m<<w|m>>>32-w)+b}function h(g,b,E,y,v,w,S){var m=g+(b^E^y)+v+S;return(m<<w|m>>>32-w)+b}function d(g,b,E,y,v,w,S){var m=g+(E^(b|~y))+v+S;return(m<<w|m>>>32-w)+b}i.MD5=u._createHelper(c),i.HmacMD5=u._createHmacHelper(c)}(Math),r.MD5})})(Xs);var to=Xs.exports;ie(to);var eo={exports:{}};(function(e,t){(function(r,n){e.exports=n(jt())})(it,function(r){return function(){var n=r,i=n.lib,s=i.WordArray,o=n.enc;o.Base64={stringify:function(l){var a=l.words,c=l.sigBytes,f=this._map;l.clamp();for(var p=[],h=0;h<c;h+=3)for(var d=a[h>>>2]>>>24-h%4*8&255,g=a[h+1>>>2]>>>24-(h+1)%4*8&255,b=a[h+2>>>2]>>>24-(h+2)%4*8&255,E=d<<16|g<<8|b,y=0;y<4&&h+y*.75<c;y++)p.push(f.charAt(E>>>6*(3-y)&63));var v=f.charAt(64);if(v)for(;p.length%4;)p.push(v);return p.join("")},parse:function(l){var a=l.length,c=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var p=0;p<c.length;p++)f[c.charCodeAt(p)]=p}var h=c.charAt(64);if(h){var d=l.indexOf(h);d!==-1&&(a=d)}return u(l,a,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function u(l,a,c){for(var f=[],p=0,h=0;h<a;h++)if(h%4){var d=c[l.charCodeAt(h-1)]<<h%4*2,g=c[l.charCodeAt(h)]>>>6-h%4*2,b=d|g;f[p>>>2]|=b<<24-p%4*8,p++}return s.create(f,p)}}(),r.enc.Base64})})(eo);var ro=eo.exports;ie(ro);var no={exports:{}};(function(e,t){(function(r,n){e.exports=n(jt())})(it,function(r){return r.enc.Utf8})})(no);var Kp=no.exports;ie(Kp);var io={exports:{}},oi={exports:{}},ai={exports:{}},ui;function Wp(){return ui||(ui=1,function(e,t){(function(r,n){e.exports=n(jt())})(it,function(r){return function(){var n=r,i=n.lib,s=i.WordArray,o=i.Hasher,u=n.algo,l=[],a=u.SHA1=o.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,f){for(var p=this._hash.words,h=p[0],d=p[1],g=p[2],b=p[3],E=p[4],y=0;y<80;y++){if(y<16)l[y]=c[f+y]|0;else{var v=l[y-3]^l[y-8]^l[y-14]^l[y-16];l[y]=v<<1|v>>>31}var w=(h<<5|h>>>27)+E+l[y];y<20?w+=(d&g|~d&b)+1518500249:y<40?w+=(d^g^b)+1859775393:y<60?w+=(d&g|d&b|g&b)-1894007588:w+=(d^g^b)-899497514,E=b,b=g,g=d<<30|d>>>2,d=h,h=w}p[0]=p[0]+h|0,p[1]=p[1]+d|0,p[2]=p[2]+g|0,p[3]=p[3]+b|0,p[4]=p[4]+E|0},_doFinalize:function(){var c=this._data,f=c.words,p=this._nDataBytes*8,h=c.sigBytes*8;return f[h>>>5]|=128<<24-h%32,f[(h+64>>>9<<4)+14]=Math.floor(p/4294967296),f[(h+64>>>9<<4)+15]=p,c.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var c=o.clone.call(this);return c._hash=this._hash.clone(),c}});n.SHA1=o._createHelper(a),n.HmacSHA1=o._createHmacHelper(a)}(),r.SHA1})}(ai)),ai.exports}var ci={exports:{}},li;function Jp(){return li||(li=1,function(e,t){(function(r,n){e.exports=n(jt())})(it,function(r){(function(){var n=r,i=n.lib,s=i.Base,o=n.enc,u=o.Utf8,l=n.algo;l.HMAC=s.extend({init:function(a,c){a=this._hasher=new a.init,typeof c=="string"&&(c=u.parse(c));var f=a.blockSize,p=f*4;c.sigBytes>p&&(c=a.finalize(c)),c.clamp();for(var h=this._oKey=c.clone(),d=this._iKey=c.clone(),g=h.words,b=d.words,E=0;E<f;E++)g[E]^=1549556828,b[E]^=909522486;h.sigBytes=d.sigBytes=p,this.reset()},reset:function(){var a=this._hasher;a.reset(),a.update(this._iKey)},update:function(a){return this._hasher.update(a),this},finalize:function(a){var c=this._hasher,f=c.finalize(a);c.reset();var p=c.finalize(this._oKey.clone().concat(f));return p}})})()})}(ci)),ci.exports}var fi;function so(){return fi||(fi=1,function(e,t){(function(r,n,i){e.exports=n(jt(),Wp(),Jp())})(it,function(r){return function(){var n=r,i=n.lib,s=i.Base,o=i.WordArray,u=n.algo,l=u.MD5,a=u.EvpKDF=s.extend({cfg:s.extend({keySize:128/32,hasher:l,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,f){for(var p,h=this.cfg,d=h.hasher.create(),g=o.create(),b=g.words,E=h.keySize,y=h.iterations;b.length<E;){p&&d.update(p),p=d.update(c).finalize(f),d.reset();for(var v=1;v<y;v++)p=d.finalize(p),d.reset();g.concat(p)}return g.sigBytes=E*4,g}});n.EvpKDF=function(c,f,p){return a.create(p).compute(c,f)}}(),r.EvpKDF})}(oi)),oi.exports}var hi={exports:{}},pi;function Yp(){return pi||(pi=1,function(e,t){(function(r,n,i){e.exports=n(jt(),so())})(it,function(r){r.lib.Cipher||function(n){var i=r,s=i.lib,o=s.Base,u=s.WordArray,l=s.BufferedBlockAlgorithm,a=i.enc;a.Utf8;var c=a.Base64,f=i.algo,p=f.EvpKDF,h=s.Cipher=l.extend({cfg:o.extend(),createEncryptor:function(_,T){return this.create(this._ENC_XFORM_MODE,_,T)},createDecryptor:function(_,T){return this.create(this._DEC_XFORM_MODE,_,T)},init:function(_,T,F){this.cfg=this.cfg.extend(F),this._xformMode=_,this._key=T,this.reset()},reset:function(){l.reset.call(this),this._doReset()},process:function(_){return this._append(_),this._process()},finalize:function(_){_&&this._append(_);var T=this._doFinalize();return T},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function _(T){return typeof T=="string"?U:m}return function(T){return{encrypt:function(F,B,P){return _(B).encrypt(T,F,B,P)},decrypt:function(F,B,P){return _(B).decrypt(T,F,B,P)}}}}()});s.StreamCipher=h.extend({_doFinalize:function(){var _=this._process(!0);return _},blockSize:1});var d=i.mode={},g=s.BlockCipherMode=o.extend({createEncryptor:function(_,T){return this.Encryptor.create(_,T)},createDecryptor:function(_,T){return this.Decryptor.create(_,T)},init:function(_,T){this._cipher=_,this._iv=T}}),b=d.CBC=function(){var _=g.extend();_.Encryptor=_.extend({processBlock:function(F,B){var P=this._cipher,j=P.blockSize;T.call(this,F,B,j),P.encryptBlock(F,B),this._prevBlock=F.slice(B,B+j)}}),_.Decryptor=_.extend({processBlock:function(F,B){var P=this._cipher,j=P.blockSize,N=F.slice(B,B+j);P.decryptBlock(F,B),T.call(this,F,B,j),this._prevBlock=N}});function T(F,B,P){var j,N=this._iv;N?(j=N,this._iv=n):j=this._prevBlock;for(var L=0;L<P;L++)F[B+L]^=j[L]}return _}(),E=i.pad={},y=E.Pkcs7={pad:function(_,T){for(var F=T*4,B=F-_.sigBytes%F,P=B<<24|B<<16|B<<8|B,j=[],N=0;N<B;N+=4)j.push(P);var L=u.create(j,B);_.concat(L)},unpad:function(_){var T=_.words[_.sigBytes-1>>>2]&255;_.sigBytes-=T}};s.BlockCipher=h.extend({cfg:h.cfg.extend({mode:b,padding:y}),reset:function(){var _;h.reset.call(this);var T=this.cfg,F=T.iv,B=T.mode;this._xformMode==this._ENC_XFORM_MODE?_=B.createEncryptor:(_=B.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==_?this._mode.init(this,F&&F.words):(this._mode=_.call(B,this,F&&F.words),this._mode.__creator=_)},_doProcessBlock:function(_,T){this._mode.processBlock(_,T)},_doFinalize:function(){var _,T=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(T.pad(this._data,this.blockSize),_=this._process(!0)):(_=this._process(!0),T.unpad(_)),_},blockSize:128/32});var v=s.CipherParams=o.extend({init:function(_){this.mixIn(_)},toString:function(_){return(_||this.formatter).stringify(this)}}),w=i.format={},S=w.OpenSSL={stringify:function(_){var T,F=_.ciphertext,B=_.salt;return B?T=u.create([1398893684,1701076831]).concat(B).concat(F):T=F,T.toString(c)},parse:function(_){var T,F=c.parse(_),B=F.words;return B[0]==1398893684&&B[1]==1701076831&&(T=u.create(B.slice(2,4)),B.splice(0,4),F.sigBytes-=16),v.create({ciphertext:F,salt:T})}},m=s.SerializableCipher=o.extend({cfg:o.extend({format:S}),encrypt:function(_,T,F,B){B=this.cfg.extend(B);var P=_.createEncryptor(F,B),j=P.finalize(T),N=P.cfg;return v.create({ciphertext:j,key:F,iv:N.iv,algorithm:_,mode:N.mode,padding:N.padding,blockSize:_.blockSize,formatter:B.format})},decrypt:function(_,T,F,B){B=this.cfg.extend(B),T=this._parse(T,B.format);var P=_.createDecryptor(F,B).finalize(T.ciphertext);return P},_parse:function(_,T){return typeof _=="string"?T.parse(_,this):_}}),x=i.kdf={},R=x.OpenSSL={execute:function(_,T,F,B,P){if(B||(B=u.random(64/8)),P)var j=p.create({keySize:T+F,hasher:P}).compute(_,B);else var j=p.create({keySize:T+F}).compute(_,B);var N=u.create(j.words.slice(T),F*4);return j.sigBytes=T*4,v.create({key:j,iv:N,salt:B})}},U=s.PasswordBasedCipher=m.extend({cfg:m.cfg.extend({kdf:R}),encrypt:function(_,T,F,B){B=this.cfg.extend(B);var P=B.kdf.execute(F,_.keySize,_.ivSize,B.salt,B.hasher);B.iv=P.iv;var j=m.encrypt.call(this,_,T,P.key,B);return j.mixIn(P),j},decrypt:function(_,T,F,B){B=this.cfg.extend(B),T=this._parse(T,B.format);var P=B.kdf.execute(F,_.keySize,_.ivSize,T.salt,B.hasher);B.iv=P.iv;var j=m.decrypt.call(this,_,T,P.key,B);return j}})}()})}(hi)),hi.exports}(function(e,t){(function(r,n,i){e.exports=n(jt(),ro,to,so(),Yp())})(it,function(r){return function(){var n=r,i=n.lib,s=i.BlockCipher,o=n.algo,u=[],l=[],a=[],c=[],f=[],p=[],h=[],d=[],g=[],b=[];(function(){for(var v=[],w=0;w<256;w++)w<128?v[w]=w<<1:v[w]=w<<1^283;for(var S=0,m=0,w=0;w<256;w++){var x=m^m<<1^m<<2^m<<3^m<<4;x=x>>>8^x&255^99,u[S]=x,l[x]=S;var R=v[S],U=v[R],_=v[U],T=v[x]*257^x*16843008;a[S]=T<<24|T>>>8,c[S]=T<<16|T>>>16,f[S]=T<<8|T>>>24,p[S]=T;var T=_*16843009^U*65537^R*257^S*16843008;h[x]=T<<24|T>>>8,d[x]=T<<16|T>>>16,g[x]=T<<8|T>>>24,b[x]=T,S?(S=R^v[v[v[_^R]]],m^=v[v[m]]):S=m=1}})();var E=[0,1,2,4,8,16,32,64,128,27,54],y=o.AES=s.extend({_doReset:function(){var v;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var w=this._keyPriorReset=this._key,S=w.words,m=w.sigBytes/4,x=this._nRounds=m+6,R=(x+1)*4,U=this._keySchedule=[],_=0;_<R;_++)_<m?U[_]=S[_]:(v=U[_-1],_%m?m>6&&_%m==4&&(v=u[v>>>24]<<24|u[v>>>16&255]<<16|u[v>>>8&255]<<8|u[v&255]):(v=v<<8|v>>>24,v=u[v>>>24]<<24|u[v>>>16&255]<<16|u[v>>>8&255]<<8|u[v&255],v^=E[_/m|0]<<24),U[_]=U[_-m]^v);for(var T=this._invKeySchedule=[],F=0;F<R;F++){var _=R-F;if(F%4)var v=U[_];else var v=U[_-4];F<4||_<=4?T[F]=v:T[F]=h[u[v>>>24]]^d[u[v>>>16&255]]^g[u[v>>>8&255]]^b[u[v&255]]}}},encryptBlock:function(v,w){this._doCryptBlock(v,w,this._keySchedule,a,c,f,p,u)},decryptBlock:function(v,w){var S=v[w+1];v[w+1]=v[w+3],v[w+3]=S,this._doCryptBlock(v,w,this._invKeySchedule,h,d,g,b,l);var S=v[w+1];v[w+1]=v[w+3],v[w+3]=S},_doCryptBlock:function(v,w,S,m,x,R,U,_){for(var T=this._nRounds,F=v[w]^S[0],B=v[w+1]^S[1],P=v[w+2]^S[2],j=v[w+3]^S[3],N=4,L=1;L<T;L++){var M=m[F>>>24]^x[B>>>16&255]^R[P>>>8&255]^U[j&255]^S[N++],V=m[B>>>24]^x[P>>>16&255]^R[j>>>8&255]^U[F&255]^S[N++],q=m[P>>>24]^x[j>>>16&255]^R[F>>>8&255]^U[B&255]^S[N++],O=m[j>>>24]^x[F>>>16&255]^R[B>>>8&255]^U[P&255]^S[N++];F=M,B=V,P=q,j=O}var M=(_[F>>>24]<<24|_[B>>>16&255]<<16|_[P>>>8&255]<<8|_[j&255])^S[N++],V=(_[B>>>24]<<24|_[P>>>16&255]<<16|_[j>>>8&255]<<8|_[F&255])^S[N++],q=(_[P>>>24]<<24|_[j>>>16&255]<<16|_[F>>>8&255]<<8|_[B&255])^S[N++],O=(_[j>>>24]<<24|_[F>>>16&255]<<16|_[B>>>8&255]<<8|_[P&255])^S[N++];v[w]=M,v[w+1]=V,v[w+2]=q,v[w+3]=O},keySize:256/32});n.AES=s._createHelper(y)}(),r.AES})})(io);var Gp=io.exports;ie(Gp);var Zp="0123456789abcdefghijklmnopqrstuvwxyz";function _t(e){return Zp.charAt(e)}function Qp(e,t){return e&t}function Te(e,t){return e|t}function di(e,t){return e^t}function gi(e,t){return e&~t}function Xp(e){if(e==0)return-1;var t=0;return e&65535||(e>>=16,t+=16),e&255||(e>>=8,t+=8),e&15||(e>>=4,t+=4),e&3||(e>>=2,t+=2),e&1||++t,t}function td(e){for(var t=0;e!=0;)e&=e-1,++t;return t}var Zt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",oo="=";function Ve(e){var t,r,n="";for(t=0;t+3<=e.length;t+=3)r=parseInt(e.substring(t,t+3),16),n+=Zt.charAt(r>>6)+Zt.charAt(r&63);for(t+1==e.length?(r=parseInt(e.substring(t,t+1),16),n+=Zt.charAt(r<<2)):t+2==e.length&&(r=parseInt(e.substring(t,t+2),16),n+=Zt.charAt(r>>2)+Zt.charAt((r&3)<<4));(n.length&3)>0;)n+=oo;return n}function mi(e){var t="",r,n=0,i=0;for(r=0;r<e.length&&e.charAt(r)!=oo;++r){var s=Zt.indexOf(e.charAt(r));s<0||(n==0?(t+=_t(s>>2),i=s&3,n=1):n==1?(t+=_t(i<<2|s>>4),i=s&15,n=2):n==2?(t+=_t(i),t+=_t(s>>2),i=s&3,n=3):(t+=_t(i<<2|s>>4),t+=_t(s&15),n=0))}return n==1&&(t+=_t(i<<2)),t}var Wt,ed={decode:function(e){var t;if(Wt===void 0){var r="0123456789ABCDEF",n=` \f
20
- \r  \u2028\u2029`;for(Wt={},t=0;t<16;++t)Wt[r.charAt(t)]=t;for(r=r.toLowerCase(),t=10;t<16;++t)Wt[r.charAt(t)]=t;for(t=0;t<n.length;++t)Wt[n.charAt(t)]=-1}var i=[],s=0,o=0;for(t=0;t<e.length;++t){var u=e.charAt(t);if(u=="=")break;if(u=Wt[u],u!=-1){if(u===void 0)throw new Error("Illegal character at offset "+t);s|=u,++o>=2?(i[i.length]=s,s=0,o=0):s<<=4}}if(o)throw new Error("Hex encoding incomplete: 4 bits missing");return i}},Nt,kr={decode:function(e){var t;if(Nt===void 0){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=`= \f
21
- \r  \u2028\u2029`;for(Nt=Object.create(null),t=0;t<64;++t)Nt[r.charAt(t)]=t;for(Nt["-"]=62,Nt._=63,t=0;t<n.length;++t)Nt[n.charAt(t)]=-1}var i=[],s=0,o=0;for(t=0;t<e.length;++t){var u=e.charAt(t);if(u=="=")break;if(u=Nt[u],u!=-1){if(u===void 0)throw new Error("Illegal character at offset "+t);s|=u,++o>=4?(i[i.length]=s>>16,i[i.length]=s>>8&255,i[i.length]=s&255,s=0,o=0):s<<=6}}switch(o){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:i[i.length]=s>>10;break;case 3:i[i.length]=s>>16,i[i.length]=s>>8&255;break}return i},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(e){var t=kr.re.exec(e);if(t)if(t[1])e=t[1];else if(t[2])e=t[2];else throw new Error("RegExp out of sync");return kr.decode(e)}},Jt=1e13,pe=function(){function e(t){this.buf=[+t||0]}return e.prototype.mulAdd=function(t,r){var n=this.buf,i=n.length,s,o;for(s=0;s<i;++s)o=n[s]*t+r,o<Jt?r=0:(r=0|o/Jt,o-=r*Jt),n[s]=o;r>0&&(n[s]=r)},e.prototype.sub=function(t){var r=this.buf,n=r.length,i,s;for(i=0;i<n;++i)s=r[i]-t,s<0?(s+=Jt,t=1):t=0,r[i]=s;for(;r[r.length-1]===0;)r.pop()},e.prototype.toString=function(t){if((t||10)!=10)throw new Error("only base 10 is supported");for(var r=this.buf,n=r[r.length-1].toString(),i=r.length-2;i>=0;--i)n+=(Jt+r[i]).toString().substring(1);return n},e.prototype.valueOf=function(){for(var t=this.buf,r=0,n=t.length-1;n>=0;--n)r=r*Jt+t[n];return r},e.prototype.simplify=function(){var t=this.buf;return t.length==1?t[0]:this},e}(),ao="…",rd=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,nd=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function Xt(e,t){return e.length>t&&(e=e.substring(0,t)+ao),e}var pr=function(){function e(t,r){this.hexDigits="0123456789ABCDEF",t instanceof e?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=r)}return e.prototype.get=function(t){if(t===void 0&&(t=this.pos++),t>=this.enc.length)throw new Error("Requesting byte offset ".concat(t," on a stream of length ").concat(this.enc.length));return typeof this.enc=="string"?this.enc.charCodeAt(t):this.enc[t]},e.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(t&15)},e.prototype.hexDump=function(t,r,n){for(var i="",s=t;s<r;++s)if(i+=this.hexByte(this.get(s)),n!==!0)switch(s&15){case 7:i+=" ";break;case 15:i+=`
22
- `;break;default:i+=" "}return i},e.prototype.isASCII=function(t,r){for(var n=t;n<r;++n){var i=this.get(n);if(i<32||i>176)return!1}return!0},e.prototype.parseStringISO=function(t,r){for(var n="",i=t;i<r;++i)n+=String.fromCharCode(this.get(i));return n},e.prototype.parseStringUTF=function(t,r){for(var n="",i=t;i<r;){var s=this.get(i++);s<128?n+=String.fromCharCode(s):s>191&&s<224?n+=String.fromCharCode((s&31)<<6|this.get(i++)&63):n+=String.fromCharCode((s&15)<<12|(this.get(i++)&63)<<6|this.get(i++)&63)}return n},e.prototype.parseStringBMP=function(t,r){for(var n="",i,s,o=t;o<r;)i=this.get(o++),s=this.get(o++),n+=String.fromCharCode(i<<8|s);return n},e.prototype.parseTime=function(t,r,n){var i=this.parseStringISO(t,r),s=(n?rd:nd).exec(i);return s?(n&&(s[1]=+s[1],s[1]+=+s[1]<70?2e3:1900),i=s[1]+"-"+s[2]+"-"+s[3]+" "+s[4],s[5]&&(i+=":"+s[5],s[6]&&(i+=":"+s[6],s[7]&&(i+="."+s[7]))),s[8]&&(i+=" UTC",s[8]!="Z"&&(i+=s[8],s[9]&&(i+=":"+s[9]))),i):"Unrecognized time: "+i},e.prototype.parseInteger=function(t,r){for(var n=this.get(t),i=n>127,s=i?255:0,o,u="";n==s&&++t<r;)n=this.get(t);if(o=r-t,o===0)return i?-1:0;if(o>4){for(u=n,o<<=3;!((+u^s)&128);)u=+u<<1,--o;u="("+o+` bit)
23
- `}i&&(n=n-256);for(var l=new pe(n),a=t+1;a<r;++a)l.mulAdd(256,this.get(a));return u+l.toString()},e.prototype.parseBitString=function(t,r,n){for(var i=this.get(t),s=(r-t-1<<3)-i,o="("+s+` bit)
24
- `,u="",l=t+1;l<r;++l){for(var a=this.get(l),c=l==r-1?i:0,f=7;f>=c;--f)u+=a>>f&1?"1":"0";if(u.length>n)return o+Xt(u,n)}return o+u},e.prototype.parseOctetString=function(t,r,n){if(this.isASCII(t,r))return Xt(this.parseStringISO(t,r),n);var i=r-t,s="("+i+` byte)
25
- `;n/=2,i>n&&(r=t+n);for(var o=t;o<r;++o)s+=this.hexByte(this.get(o));return i>n&&(s+=ao),s},e.prototype.parseOID=function(t,r,n){for(var i="",s=new pe,o=0,u=t;u<r;++u){var l=this.get(u);if(s.mulAdd(128,l&127),o+=7,!(l&128)){if(i==="")if(s=s.simplify(),s instanceof pe)s.sub(80),i="2."+s.toString();else{var a=s<80?s<40?0:1:2;i=a+"."+(s-a*40)}else i+="."+s.toString();if(i.length>n)return Xt(i,n);s=new pe,o=0}}return o>0&&(i+=".incomplete"),i},e}(),id=function(){function e(t,r,n,i,s){if(!(i instanceof yi))throw new Error("Invalid tag value.");this.stream=t,this.header=r,this.length=n,this.tag=i,this.sub=s}return e.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},e.prototype.content=function(t){if(this.tag===void 0)return null;t===void 0&&(t=1/0);var r=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return this.sub!==null?"("+this.sub.length+" elem)":this.stream.parseOctetString(r,r+n,t);switch(this.tag.tagNumber){case 1:return this.stream.get(r)===0?"false":"true";case 2:return this.stream.parseInteger(r,r+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(r,r+n,t);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(r,r+n,t);case 6:return this.stream.parseOID(r,r+n,t);case 16:case 17:return this.sub!==null?"("+this.sub.length+" elem)":"(no elem)";case 12:return Xt(this.stream.parseStringUTF(r,r+n),t);case 18:case 19:case 20:case 21:case 22:case 26:return Xt(this.stream.parseStringISO(r,r+n),t);case 30:return Xt(this.stream.parseStringBMP(r,r+n),t);case 23:case 24:return this.stream.parseTime(r,r+n,this.tag.tagNumber==23)}return null},e.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(this.sub===null?"null":this.sub.length)+"]"},e.prototype.toPrettyString=function(t){t===void 0&&(t="");var r=t+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(r+="+"),r+=this.length,this.tag.tagConstructed?r+=" (constructed)":this.tag.isUniversal()&&(this.tag.tagNumber==3||this.tag.tagNumber==4)&&this.sub!==null&&(r+=" (encapsulates)"),r+=`
26
- `,this.sub!==null){t+=" ";for(var n=0,i=this.sub.length;n<i;++n)r+=this.sub[n].toPrettyString(t)}return r},e.prototype.posStart=function(){return this.stream.pos},e.prototype.posContent=function(){return this.stream.pos+this.header},e.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},e.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},e.decodeLength=function(t){var r=t.get(),n=r&127;if(n==r)return n;if(n>6)throw new Error("Length over 48 bits not supported at position "+(t.pos-1));if(n===0)return null;r=0;for(var i=0;i<n;++i)r=r*256+t.get();return r},e.prototype.getHexStringValue=function(){var t=this.toHexString(),r=this.header*2,n=this.length*2;return t.substr(r,n)},e.decode=function(t){var r;t instanceof pr?r=t:r=new pr(t,0);var n=new pr(r),i=new yi(r),s=e.decodeLength(r),o=r.pos,u=o-n.pos,l=null,a=function(){var f=[];if(s!==null){for(var p=o+s;r.pos<p;)f[f.length]=e.decode(r);if(r.pos!=p)throw new Error("Content size is not correct for container starting at offset "+o)}else try{for(;;){var h=e.decode(r);if(h.tag.isEOC())break;f[f.length]=h}s=o-r.pos}catch(d){throw new Error("Exception while decoding undefined length content: "+d)}return f};if(i.tagConstructed)l=a();else if(i.isUniversal()&&(i.tagNumber==3||i.tagNumber==4))try{if(i.tagNumber==3&&r.get()!=0)throw new Error("BIT STRINGs with unused bits cannot encapsulate.");l=a();for(var c=0;c<l.length;++c)if(l[c].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(f){l=null}if(l===null){if(s===null)throw new Error("We can't skip over an invalid tag with undefined length at offset "+o);r.pos=o+Math.abs(s)}return new e(n,u,s,i,l)},e}(),yi=function(){function e(t){var r=t.get();if(this.tagClass=r>>6,this.tagConstructed=(r&32)!==0,this.tagNumber=r&31,this.tagNumber==31){var n=new pe;do r=t.get(),n.mulAdd(128,r&127);while(r&128);this.tagNumber=n.simplify()}}return e.prototype.isUniversal=function(){return this.tagClass===0},e.prototype.isEOC=function(){return this.tagClass===0&&this.tagNumber===0},e}(),Tt,sd=0xdeadbeefcafe,vi=(sd&16777215)==15715070,nt=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],od=(1<<26)/nt[nt.length-1],W=function(){function e(t,r,n){t!=null&&(typeof t=="number"?this.fromNumber(t,r,n):r==null&&typeof t!="string"?this.fromString(t,256):this.fromString(t,r))}return e.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var r;if(t==16)r=4;else if(t==8)r=3;else if(t==2)r=1;else if(t==32)r=5;else if(t==4)r=2;else return this.toRadix(t);var n=(1<<r)-1,i,s=!1,o="",u=this.t,l=this.DB-u*this.DB%r;if(u-- >0)for(l<this.DB&&(i=this[u]>>l)>0&&(s=!0,o=_t(i));u>=0;)l<r?(i=(this[u]&(1<<l)-1)<<r-l,i|=this[--u]>>(l+=this.DB-r)):(i=this[u]>>(l-=r)&n,l<=0&&(l+=this.DB,--u)),i>0&&(s=!0),s&&(o+=_t(i));return s?o:"0"},e.prototype.negate=function(){var t=J();return e.ZERO.subTo(this,t),t},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.compareTo=function(t){var r=this.s-t.s;if(r!=0)return r;var n=this.t;if(r=n-t.t,r!=0)return this.s<0?-r:r;for(;--n>=0;)if((r=this[n]-t[n])!=0)return r;return 0},e.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+Ae(this[this.t-1]^this.s&this.DM)},e.prototype.mod=function(t){var r=J();return this.abs().divRemTo(t,null,r),this.s<0&&r.compareTo(e.ZERO)>0&&t.subTo(r,r),r},e.prototype.modPowInt=function(t,r){var n;return t<256||r.isEven()?n=new bi(r):n=new wi(r),this.exp(t,n)},e.prototype.clone=function(){var t=J();return this.copyTo(t),t},e.prototype.intValue=function(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},e.prototype.byteValue=function(){return this.t==0?this.s:this[0]<<24>>24},e.prototype.shortValue=function(){return this.t==0?this.s:this[0]<<16>>16},e.prototype.signum=function(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1},e.prototype.toByteArray=function(){var t=this.t,r=[];r[0]=this.s;var n=this.DB-t*this.DB%8,i,s=0;if(t-- >0)for(n<this.DB&&(i=this[t]>>n)!=(this.s&this.DM)>>n&&(r[s++]=i|this.s<<this.DB-n);t>=0;)n<8?(i=(this[t]&(1<<n)-1)<<8-n,i|=this[--t]>>(n+=this.DB-8)):(i=this[t]>>(n-=8)&255,n<=0&&(n+=this.DB,--t)),i&128&&(i|=-256),s==0&&(this.s&128)!=(i&128)&&++s,(s>0||i!=this.s)&&(r[s++]=i);return r},e.prototype.equals=function(t){return this.compareTo(t)==0},e.prototype.min=function(t){return this.compareTo(t)<0?this:t},e.prototype.max=function(t){return this.compareTo(t)>0?this:t},e.prototype.and=function(t){var r=J();return this.bitwiseTo(t,Qp,r),r},e.prototype.or=function(t){var r=J();return this.bitwiseTo(t,Te,r),r},e.prototype.xor=function(t){var r=J();return this.bitwiseTo(t,di,r),r},e.prototype.andNot=function(t){var r=J();return this.bitwiseTo(t,gi,r),r},e.prototype.not=function(){for(var t=J(),r=0;r<this.t;++r)t[r]=this.DM&~this[r];return t.t=this.t,t.s=~this.s,t},e.prototype.shiftLeft=function(t){var r=J();return t<0?this.rShiftTo(-t,r):this.lShiftTo(t,r),r},e.prototype.shiftRight=function(t){var r=J();return t<0?this.lShiftTo(-t,r):this.rShiftTo(t,r),r},e.prototype.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(this[t]!=0)return t*this.DB+Xp(this[t]);return this.s<0?this.t*this.DB:-1},e.prototype.bitCount=function(){for(var t=0,r=this.s&this.DM,n=0;n<this.t;++n)t+=td(this[n]^r);return t},e.prototype.testBit=function(t){var r=Math.floor(t/this.DB);return r>=this.t?this.s!=0:(this[r]&1<<t%this.DB)!=0},e.prototype.setBit=function(t){return this.changeBit(t,Te)},e.prototype.clearBit=function(t){return this.changeBit(t,gi)},e.prototype.flipBit=function(t){return this.changeBit(t,di)},e.prototype.add=function(t){var r=J();return this.addTo(t,r),r},e.prototype.subtract=function(t){var r=J();return this.subTo(t,r),r},e.prototype.multiply=function(t){var r=J();return this.multiplyTo(t,r),r},e.prototype.divide=function(t){var r=J();return this.divRemTo(t,r,null),r},e.prototype.remainder=function(t){var r=J();return this.divRemTo(t,null,r),r},e.prototype.divideAndRemainder=function(t){var r=J(),n=J();return this.divRemTo(t,r,n),[r,n]},e.prototype.modPow=function(t,r){var n=t.bitLength(),i,s=At(1),o;if(n<=0)return s;n<18?i=1:n<48?i=3:n<144?i=4:n<768?i=5:i=6,n<8?o=new bi(r):r.isEven()?o=new ud(r):o=new wi(r);var u=[],l=3,a=i-1,c=(1<<i)-1;if(u[1]=o.convert(this),i>1){var f=J();for(o.sqrTo(u[1],f);l<=c;)u[l]=J(),o.mulTo(f,u[l-2],u[l]),l+=2}var p=t.t-1,h,d=!0,g=J(),b;for(n=Ae(t[p])-1;p>=0;){for(n>=a?h=t[p]>>n-a&c:(h=(t[p]&(1<<n+1)-1)<<a-n,p>0&&(h|=t[p-1]>>this.DB+n-a)),l=i;!(h&1);)h>>=1,--l;if((n-=l)<0&&(n+=this.DB,--p),d)u[h].copyTo(s),d=!1;else{for(;l>1;)o.sqrTo(s,g),o.sqrTo(g,s),l-=2;l>0?o.sqrTo(s,g):(b=s,s=g,g=b),o.mulTo(g,u[h],s)}for(;p>=0&&!(t[p]&1<<n);)o.sqrTo(s,g),b=s,s=g,g=b,--n<0&&(n=this.DB-1,--p)}return o.revert(s)},e.prototype.modInverse=function(t){var r=t.isEven();if(this.isEven()&&r||t.signum()==0)return e.ZERO;for(var n=t.clone(),i=this.clone(),s=At(1),o=At(0),u=At(0),l=At(1);n.signum()!=0;){for(;n.isEven();)n.rShiftTo(1,n),r?((!s.isEven()||!o.isEven())&&(s.addTo(this,s),o.subTo(t,o)),s.rShiftTo(1,s)):o.isEven()||o.subTo(t,o),o.rShiftTo(1,o);for(;i.isEven();)i.rShiftTo(1,i),r?((!u.isEven()||!l.isEven())&&(u.addTo(this,u),l.subTo(t,l)),u.rShiftTo(1,u)):l.isEven()||l.subTo(t,l),l.rShiftTo(1,l);n.compareTo(i)>=0?(n.subTo(i,n),r&&s.subTo(u,s),o.subTo(l,o)):(i.subTo(n,i),r&&u.subTo(s,u),l.subTo(o,l))}if(i.compareTo(e.ONE)!=0)return e.ZERO;if(l.compareTo(t)>=0)return l.subtract(t);if(l.signum()<0)l.addTo(t,l);else return l;return l.signum()<0?l.add(t):l},e.prototype.pow=function(t){return this.exp(t,new ad)},e.prototype.gcd=function(t){var r=this.s<0?this.negate():this.clone(),n=t.s<0?t.negate():t.clone();if(r.compareTo(n)<0){var i=r;r=n,n=i}var s=r.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return r;for(s<o&&(o=s),o>0&&(r.rShiftTo(o,r),n.rShiftTo(o,n));r.signum()>0;)(s=r.getLowestSetBit())>0&&r.rShiftTo(s,r),(s=n.getLowestSetBit())>0&&n.rShiftTo(s,n),r.compareTo(n)>=0?(r.subTo(n,r),r.rShiftTo(1,r)):(n.subTo(r,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},e.prototype.isProbablePrime=function(t){var r,n=this.abs();if(n.t==1&&n[0]<=nt[nt.length-1]){for(r=0;r<nt.length;++r)if(n[0]==nt[r])return!0;return!1}if(n.isEven())return!1;for(r=1;r<nt.length;){for(var i=nt[r],s=r+1;s<nt.length&&i<od;)i*=nt[s++];for(i=n.modInt(i);r<s;)if(i%nt[r++]==0)return!1}return n.millerRabin(t)},e.prototype.copyTo=function(t){for(var r=this.t-1;r>=0;--r)t[r]=this[r];t.t=this.t,t.s=this.s},e.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},e.prototype.fromString=function(t,r){var n;if(r==16)n=4;else if(r==8)n=3;else if(r==256)n=8;else if(r==2)n=1;else if(r==32)n=5;else if(r==4)n=2;else{this.fromRadix(t,r);return}this.t=0,this.s=0;for(var i=t.length,s=!1,o=0;--i>=0;){var u=n==8?+t[i]&255:Ei(t,i);if(u<0){t.charAt(i)=="-"&&(s=!0);continue}s=!1,o==0?this[this.t++]=u:o+n>this.DB?(this[this.t-1]|=(u&(1<<this.DB-o)-1)<<o,this[this.t++]=u>>this.DB-o):this[this.t-1]|=u<<o,o+=n,o>=this.DB&&(o-=this.DB)}n==8&&+t[0]&128&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),s&&e.ZERO.subTo(this,this)},e.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},e.prototype.dlShiftTo=function(t,r){var n;for(n=this.t-1;n>=0;--n)r[n+t]=this[n];for(n=t-1;n>=0;--n)r[n]=0;r.t=this.t+t,r.s=this.s},e.prototype.drShiftTo=function(t,r){for(var n=t;n<this.t;++n)r[n-t]=this[n];r.t=Math.max(this.t-t,0),r.s=this.s},e.prototype.lShiftTo=function(t,r){for(var n=t%this.DB,i=this.DB-n,s=(1<<i)-1,o=Math.floor(t/this.DB),u=this.s<<n&this.DM,l=this.t-1;l>=0;--l)r[l+o+1]=this[l]>>i|u,u=(this[l]&s)<<n;for(var l=o-1;l>=0;--l)r[l]=0;r[o]=u,r.t=this.t+o+1,r.s=this.s,r.clamp()},e.prototype.rShiftTo=function(t,r){r.s=this.s;var n=Math.floor(t/this.DB);if(n>=this.t){r.t=0;return}var i=t%this.DB,s=this.DB-i,o=(1<<i)-1;r[0]=this[n]>>i;for(var u=n+1;u<this.t;++u)r[u-n-1]|=(this[u]&o)<<s,r[u-n]=this[u]>>i;i>0&&(r[this.t-n-1]|=(this.s&o)<<s),r.t=this.t-n,r.clamp()},e.prototype.subTo=function(t,r){for(var n=0,i=0,s=Math.min(t.t,this.t);n<s;)i+=this[n]-t[n],r[n++]=i&this.DM,i>>=this.DB;if(t.t<this.t){for(i-=t.s;n<this.t;)i+=this[n],r[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<t.t;)i-=t[n],r[n++]=i&this.DM,i>>=this.DB;i-=t.s}r.s=i<0?-1:0,i<-1?r[n++]=this.DV+i:i>0&&(r[n++]=i),r.t=n,r.clamp()},e.prototype.multiplyTo=function(t,r){var n=this.abs(),i=t.abs(),s=n.t;for(r.t=s+i.t;--s>=0;)r[s]=0;for(s=0;s<i.t;++s)r[s+n.t]=n.am(0,i[s],r,s,0,n.t);r.s=0,r.clamp(),this.s!=t.s&&e.ZERO.subTo(r,r)},e.prototype.squareTo=function(t){for(var r=this.abs(),n=t.t=2*r.t;--n>=0;)t[n]=0;for(n=0;n<r.t-1;++n){var i=r.am(n,r[n],t,2*n,0,1);(t[n+r.t]+=r.am(n+1,2*r[n],t,2*n+1,i,r.t-n-1))>=r.DV&&(t[n+r.t]-=r.DV,t[n+r.t+1]=1)}t.t>0&&(t[t.t-1]+=r.am(n,r[n],t,2*n,0,1)),t.s=0,t.clamp()},e.prototype.divRemTo=function(t,r,n){var i=t.abs();if(!(i.t<=0)){var s=this.abs();if(s.t<i.t){r==null||r.fromInt(0),n!=null&&this.copyTo(n);return}n==null&&(n=J());var o=J(),u=this.s,l=t.s,a=this.DB-Ae(i[i.t-1]);a>0?(i.lShiftTo(a,o),s.lShiftTo(a,n)):(i.copyTo(o),s.copyTo(n));var c=o.t,f=o[c-1];if(f!=0){var p=f*(1<<this.F1)+(c>1?o[c-2]>>this.F2:0),h=this.FV/p,d=(1<<this.F1)/p,g=1<<this.F2,b=n.t,E=b-c,y=r!=null?r:J();for(o.dlShiftTo(E,y),n.compareTo(y)>=0&&(n[n.t++]=1,n.subTo(y,n)),e.ONE.dlShiftTo(c,y),y.subTo(o,o);o.t<c;)o[o.t++]=0;for(;--E>=0;){var v=n[--b]==f?this.DM:Math.floor(n[b]*h+(n[b-1]+g)*d);if((n[b]+=o.am(0,v,n,E,0,c))<v)for(o.dlShiftTo(E,y),n.subTo(y,n);n[b]<--v;)n.subTo(y,n)}r!=null&&(n.drShiftTo(c,r),u!=l&&e.ZERO.subTo(r,r)),n.t=c,n.clamp(),a>0&&n.rShiftTo(a,n),u<0&&e.ZERO.subTo(n,n)}}},e.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(!(t&1))return 0;var r=t&3;return r=r*(2-(t&15)*r)&15,r=r*(2-(t&255)*r)&255,r=r*(2-((t&65535)*r&65535))&65535,r=r*(2-t*r%this.DV)%this.DV,r>0?this.DV-r:-r},e.prototype.isEven=function(){return(this.t>0?this[0]&1:this.s)==0},e.prototype.exp=function(t,r){if(t>4294967295||t<1)return e.ONE;var n=J(),i=J(),s=r.convert(this),o=Ae(t)-1;for(s.copyTo(n);--o>=0;)if(r.sqrTo(n,i),(t&1<<o)>0)r.mulTo(i,s,n);else{var u=n;n=i,i=u}return r.revert(n)},e.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},e.prototype.toRadix=function(t){if(t==null&&(t=10),this.signum()==0||t<2||t>36)return"0";var r=this.chunkSize(t),n=Math.pow(t,r),i=At(n),s=J(),o=J(),u="";for(this.divRemTo(i,s,o);s.signum()>0;)u=(n+o.intValue()).toString(t).substr(1)+u,s.divRemTo(i,s,o);return o.intValue().toString(t)+u},e.prototype.fromRadix=function(t,r){this.fromInt(0),r==null&&(r=10);for(var n=this.chunkSize(r),i=Math.pow(r,n),s=!1,o=0,u=0,l=0;l<t.length;++l){var a=Ei(t,l);if(a<0){t.charAt(l)=="-"&&this.signum()==0&&(s=!0);continue}u=r*u+a,++o>=n&&(this.dMultiply(i),this.dAddOffset(u,0),o=0,u=0)}o>0&&(this.dMultiply(Math.pow(r,o)),this.dAddOffset(u,0)),s&&e.ZERO.subTo(this,this)},e.prototype.fromNumber=function(t,r,n){if(typeof r=="number")if(t<2)this.fromInt(1);else for(this.fromNumber(t,n),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),Te,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(r);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this);else{var i=[],s=t&7;i.length=(t>>3)+1,r.nextBytes(i),s>0?i[0]&=(1<<s)-1:i[0]=0,this.fromString(i,256)}},e.prototype.bitwiseTo=function(t,r,n){var i,s,o=Math.min(t.t,this.t);for(i=0;i<o;++i)n[i]=r(this[i],t[i]);if(t.t<this.t){for(s=t.s&this.DM,i=o;i<this.t;++i)n[i]=r(this[i],s);n.t=this.t}else{for(s=this.s&this.DM,i=o;i<t.t;++i)n[i]=r(s,t[i]);n.t=t.t}n.s=r(this.s,t.s),n.clamp()},e.prototype.changeBit=function(t,r){var n=e.ONE.shiftLeft(t);return this.bitwiseTo(n,r,n),n},e.prototype.addTo=function(t,r){for(var n=0,i=0,s=Math.min(t.t,this.t);n<s;)i+=this[n]+t[n],r[n++]=i&this.DM,i>>=this.DB;if(t.t<this.t){for(i+=t.s;n<this.t;)i+=this[n],r[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<t.t;)i+=t[n],r[n++]=i&this.DM,i>>=this.DB;i+=t.s}r.s=i<0?-1:0,i>0?r[n++]=i:i<-1&&(r[n++]=this.DV+i),r.t=n,r.clamp()},e.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},e.prototype.dAddOffset=function(t,r){if(t!=0){for(;this.t<=r;)this[this.t++]=0;for(this[r]+=t;this[r]>=this.DV;)this[r]-=this.DV,++r>=this.t&&(this[this.t++]=0),++this[r]}},e.prototype.multiplyLowerTo=function(t,r,n){var i=Math.min(this.t+t.t,r);for(n.s=0,n.t=i;i>0;)n[--i]=0;for(var s=n.t-this.t;i<s;++i)n[i+this.t]=this.am(0,t[i],n,i,0,this.t);for(var s=Math.min(t.t,r);i<s;++i)this.am(0,t[i],n,i,0,r-i);n.clamp()},e.prototype.multiplyUpperTo=function(t,r,n){--r;var i=n.t=this.t+t.t-r;for(n.s=0;--i>=0;)n[i]=0;for(i=Math.max(r-this.t,0);i<t.t;++i)n[this.t+i-r]=this.am(r-i,t[i],n,0,0,this.t+i-r);n.clamp(),n.drShiftTo(1,n)},e.prototype.modInt=function(t){if(t<=0)return 0;var r=this.DV%t,n=this.s<0?t-1:0;if(this.t>0)if(r==0)n=this[0]%t;else for(var i=this.t-1;i>=0;--i)n=(r*n+this[i])%t;return n},e.prototype.millerRabin=function(t){var r=this.subtract(e.ONE),n=r.getLowestSetBit();if(n<=0)return!1;var i=r.shiftRight(n);t=t+1>>1,t>nt.length&&(t=nt.length);for(var s=J(),o=0;o<t;++o){s.fromInt(nt[Math.floor(Math.random()*nt.length)]);var u=s.modPow(i,this);if(u.compareTo(e.ONE)!=0&&u.compareTo(r)!=0){for(var l=1;l++<n&&u.compareTo(r)!=0;)if(u=u.modPowInt(2,this),u.compareTo(e.ONE)==0)return!1;if(u.compareTo(r)!=0)return!1}}return!0},e.prototype.square=function(){var t=J();return this.squareTo(t),t},e.prototype.gcda=function(t,r){var n=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone();if(n.compareTo(i)<0){var s=n;n=i,i=s}var o=n.getLowestSetBit(),u=i.getLowestSetBit();if(u<0){r(n);return}o<u&&(u=o),u>0&&(n.rShiftTo(u,n),i.rShiftTo(u,i));var l=function(){(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),(o=i.getLowestSetBit())>0&&i.rShiftTo(o,i),n.compareTo(i)>=0?(n.subTo(i,n),n.rShiftTo(1,n)):(i.subTo(n,i),i.rShiftTo(1,i)),n.signum()>0?setTimeout(l,0):(u>0&&i.lShiftTo(u,i),setTimeout(function(){r(i)},0))};setTimeout(l,10)},e.prototype.fromNumberAsync=function(t,r,n,i){if(typeof r=="number")if(t<2)this.fromInt(1);else{this.fromNumber(t,n),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),Te,this),this.isEven()&&this.dAddOffset(1,0);var s=this,o=function(){s.dAddOffset(2,0),s.bitLength()>t&&s.subTo(e.ONE.shiftLeft(t-1),s),s.isProbablePrime(r)?setTimeout(function(){i()},0):setTimeout(o,0)};setTimeout(o,0)}else{var u=[],l=t&7;u.length=(t>>3)+1,r.nextBytes(u),l>0?u[0]&=(1<<l)-1:u[0]=0,this.fromString(u,256)}},e}(),ad=function(){function e(){}return e.prototype.convert=function(t){return t},e.prototype.revert=function(t){return t},e.prototype.mulTo=function(t,r,n){t.multiplyTo(r,n)},e.prototype.sqrTo=function(t,r){t.squareTo(r)},e}(),bi=function(){function e(t){this.m=t}return e.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},e.prototype.revert=function(t){return t},e.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},e.prototype.mulTo=function(t,r,n){t.multiplyTo(r,n),this.reduce(n)},e.prototype.sqrTo=function(t,r){t.squareTo(r),this.reduce(r)},e}(),wi=function(){function e(t){this.m=t,this.mp=t.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return e.prototype.convert=function(t){var r=J();return t.abs().dlShiftTo(this.m.t,r),r.divRemTo(this.m,null,r),t.s<0&&r.compareTo(W.ZERO)>0&&this.m.subTo(r,r),r},e.prototype.revert=function(t){var r=J();return t.copyTo(r),this.reduce(r),r},e.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var r=0;r<this.m.t;++r){var n=t[r]&32767,i=n*this.mpl+((n*this.mph+(t[r]>>15)*this.mpl&this.um)<<15)&t.DM;for(n=r+this.m.t,t[n]+=this.m.am(0,i,t,r,0,this.m.t);t[n]>=t.DV;)t[n]-=t.DV,t[++n]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},e.prototype.mulTo=function(t,r,n){t.multiplyTo(r,n),this.reduce(n)},e.prototype.sqrTo=function(t,r){t.squareTo(r),this.reduce(r)},e}(),ud=function(){function e(t){this.m=t,this.r2=J(),this.q3=J(),W.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}return e.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var r=J();return t.copyTo(r),this.reduce(r),r},e.prototype.revert=function(t){return t},e.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},e.prototype.mulTo=function(t,r,n){t.multiplyTo(r,n),this.reduce(n)},e.prototype.sqrTo=function(t,r){t.squareTo(r),this.reduce(r)},e}();function J(){return new W(null)}function Z(e,t){return new W(e,t)}var _i=typeof navigator<"u";_i&&vi&&navigator.appName=="Microsoft Internet Explorer"?(W.prototype.am=function(e,t,r,n,i,s){for(var o=t&32767,u=t>>15;--s>=0;){var l=this[e]&32767,a=this[e++]>>15,c=u*l+a*o;l=o*l+((c&32767)<<15)+r[n]+(i&1073741823),i=(l>>>30)+(c>>>15)+u*a+(i>>>30),r[n++]=l&1073741823}return i},Tt=30):_i&&vi&&navigator.appName!="Netscape"?(W.prototype.am=function(e,t,r,n,i,s){for(;--s>=0;){var o=t*this[e++]+r[n]+i;i=Math.floor(o/67108864),r[n++]=o&67108863}return i},Tt=26):(W.prototype.am=function(e,t,r,n,i,s){for(var o=t&16383,u=t>>14;--s>=0;){var l=this[e]&16383,a=this[e++]>>14,c=u*l+a*o;l=o*l+((c&16383)<<14)+r[n]+i,i=(l>>28)+(c>>14)+u*a,r[n++]=l&268435455}return i},Tt=28),W.prototype.DB=Tt,W.prototype.DM=(1<<Tt)-1,W.prototype.DV=1<<Tt;var dr=52;W.prototype.FV=Math.pow(2,dr),W.prototype.F1=dr-Tt,W.prototype.F2=2*Tt-dr;var Ge=[],ee,ft;for(ee=48,ft=0;ft<=9;++ft)Ge[ee++]=ft;for(ee=97,ft=10;ft<36;++ft)Ge[ee++]=ft;for(ee=65,ft=10;ft<36;++ft)Ge[ee++]=ft;function Ei(e,t){var r=Ge[e.charCodeAt(t)];return r!=null?r:-1}function At(e){var t=J();return t.fromInt(e),t}function Ae(e){var t=1,r;return(r=e>>>16)!=0&&(e=r,t+=16),(r=e>>8)!=0&&(e=r,t+=8),(r=e>>4)!=0&&(e=r,t+=4),(r=e>>2)!=0&&(e=r,t+=2),(r=e>>1)!=0&&(e=r,t+=1),t}W.ZERO=At(0),W.ONE=At(1);var cd=function(){function e(){this.i=0,this.j=0,this.S=[]}return e.prototype.init=function(t){var r,n,i;for(r=0;r<256;++r)this.S[r]=r;for(n=0,r=0;r<256;++r)n=n+this.S[r]+t[r%t.length]&255,i=this.S[r],this.S[r]=this.S[n],this.S[n]=i;this.i=0,this.j=0},e.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},e}();function ld(){return new cd}var uo=256,Re,Ot=null,ht;if(Ot==null){Ot=[],ht=0;var Oe=void 0;if(typeof window<"u"&&window.crypto&&window.crypto.getRandomValues){var gr=new Uint32Array(256);for(window.crypto.getRandomValues(gr),Oe=0;Oe<gr.length;++Oe)Ot[ht++]=gr[Oe]&255}var $e=0,je=function(e){if($e=$e||0,$e>=256||ht>=uo){window.removeEventListener?window.removeEventListener("mousemove",je,!1):window.detachEvent&&window.detachEvent("onmousemove",je);return}try{var t=e.x+e.y;Ot[ht++]=t&255,$e+=1}catch(r){}};typeof window<"u"&&(window.addEventListener?window.addEventListener("mousemove",je,!1):window.attachEvent&&window.attachEvent("onmousemove",je))}function fd(){if(Re==null){for(Re=ld();ht<uo;){var e=Math.floor(65536*Math.random());Ot[ht++]=e&255}for(Re.init(Ot),ht=0;ht<Ot.length;++ht)Ot[ht]=0;ht=0}return Re.next()}var Fr=function(){function e(){}return e.prototype.nextBytes=function(t){for(var r=0;r<t.length;++r)t[r]=fd()},e}();function hd(e,t){if(t<e.length+22)return console.error("Message too long for RSA"),null;for(var r=t-e.length-6,n="",i=0;i<r;i+=2)n+="ff";var s="0001"+n+"00"+e;return Z(s,16)}function pd(e,t){if(t<e.length+11)return console.error("Message too long for RSA"),null;for(var r=[],n=e.length-1;n>=0&&t>0;){var i=e.charCodeAt(n--);i<128?r[--t]=i:i>127&&i<2048?(r[--t]=i&63|128,r[--t]=i>>6|192):(r[--t]=i&63|128,r[--t]=i>>6&63|128,r[--t]=i>>12|224)}r[--t]=0;for(var s=new Fr,o=[];t>2;){for(o[0]=0;o[0]==0;)s.nextBytes(o);r[--t]=o[0]}return r[--t]=2,r[--t]=0,new W(r)}var dd=function(){function e(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return e.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},e.prototype.doPrivate=function(t){if(this.p==null||this.q==null)return t.modPow(this.d,this.n);for(var r=t.mod(this.p).modPow(this.dmp1,this.p),n=t.mod(this.q).modPow(this.dmq1,this.q);r.compareTo(n)<0;)r=r.add(this.p);return r.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},e.prototype.setPublic=function(t,r){t!=null&&r!=null&&t.length>0&&r.length>0?(this.n=Z(t,16),this.e=parseInt(r,16)):console.error("Invalid RSA public key")},e.prototype.encrypt=function(t){var r=this.n.bitLength()+7>>3,n=pd(t,r);if(n==null)return null;var i=this.doPublic(n);if(i==null)return null;for(var s=i.toString(16),o=s.length,u=0;u<r*2-o;u++)s="0"+s;return s},e.prototype.setPrivate=function(t,r,n){t!=null&&r!=null&&t.length>0&&r.length>0?(this.n=Z(t,16),this.e=parseInt(r,16),this.d=Z(n,16)):console.error("Invalid RSA private key")},e.prototype.setPrivateEx=function(t,r,n,i,s,o,u,l){t!=null&&r!=null&&t.length>0&&r.length>0?(this.n=Z(t,16),this.e=parseInt(r,16),this.d=Z(n,16),this.p=Z(i,16),this.q=Z(s,16),this.dmp1=Z(o,16),this.dmq1=Z(u,16),this.coeff=Z(l,16)):console.error("Invalid RSA private key")},e.prototype.generate=function(t,r){var n=new Fr,i=t>>1;this.e=parseInt(r,16);for(var s=new W(r,16);;){for(;this.p=new W(t-i,1,n),!(this.p.subtract(W.ONE).gcd(s).compareTo(W.ONE)==0&&this.p.isProbablePrime(10)););for(;this.q=new W(i,1,n),!(this.q.subtract(W.ONE).gcd(s).compareTo(W.ONE)==0&&this.q.isProbablePrime(10)););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var u=this.p.subtract(W.ONE),l=this.q.subtract(W.ONE),a=u.multiply(l);if(a.gcd(s).compareTo(W.ONE)==0){this.n=this.p.multiply(this.q),this.d=s.modInverse(a),this.dmp1=this.d.mod(u),this.dmq1=this.d.mod(l),this.coeff=this.q.modInverse(this.p);break}}},e.prototype.decrypt=function(t){var r=Z(t,16),n=this.doPrivate(r);return n==null?null:gd(n,this.n.bitLength()+7>>3)},e.prototype.generateAsync=function(t,r,n){var i=new Fr,s=t>>1;this.e=parseInt(r,16);var o=new W(r,16),u=this,l=function(){var a=function(){if(u.p.compareTo(u.q)<=0){var p=u.p;u.p=u.q,u.q=p}var h=u.p.subtract(W.ONE),d=u.q.subtract(W.ONE),g=h.multiply(d);g.gcd(o).compareTo(W.ONE)==0?(u.n=u.p.multiply(u.q),u.d=o.modInverse(g),u.dmp1=u.d.mod(h),u.dmq1=u.d.mod(d),u.coeff=u.q.modInverse(u.p),setTimeout(function(){n()},0)):setTimeout(l,0)},c=function(){u.q=J(),u.q.fromNumberAsync(s,1,i,function(){u.q.subtract(W.ONE).gcda(o,function(p){p.compareTo(W.ONE)==0&&u.q.isProbablePrime(10)?setTimeout(a,0):setTimeout(c,0)})})},f=function(){u.p=J(),u.p.fromNumberAsync(t-s,1,i,function(){u.p.subtract(W.ONE).gcda(o,function(p){p.compareTo(W.ONE)==0&&u.p.isProbablePrime(10)?setTimeout(c,0):setTimeout(f,0)})})};setTimeout(f,0)};setTimeout(l,0)},e.prototype.sign=function(t,r,n){var i=md(n),s=i+r(t).toString(),o=hd(s,this.n.bitLength()/4);if(o==null)return null;var u=this.doPrivate(o);if(u==null)return null;var l=u.toString(16);return l.length&1?"0"+l:l},e.prototype.verify=function(t,r,n){var i=Z(r,16),s=this.doPublic(i);if(s==null)return null;var o=s.toString(16).replace(/^1f+00/,""),u=yd(o);return u==n(t).toString()},e}();function gd(e,t){for(var r=e.toByteArray(),n=0;n<r.length&&r[n]==0;)++n;if(r.length-n!=t-1||r[n]!=2)return null;for(++n;r[n]!=0;)if(++n>=r.length)return null;for(var i="";++n<r.length;){var s=r[n]&255;s<128?i+=String.fromCharCode(s):s>191&&s<224?(i+=String.fromCharCode((s&31)<<6|r[n+1]&63),++n):(i+=String.fromCharCode((s&15)<<12|(r[n+1]&63)<<6|r[n+2]&63),n+=2)}return i}var Ne={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function md(e){return Ne[e]||""}function yd(e){for(var t in Ne)if(Ne.hasOwnProperty(t)){var r=Ne[t],n=r.length;if(e.substr(0,n)==r)return e.substr(n)}return e}/*!
27
- Copyright (c) 2011, Yahoo! Inc. All rights reserved.
28
- Code licensed under the BSD License:
29
- http://developer.yahoo.com/yui/license.html
30
- version: 2.9.0
31
- */var X={};X.lang={extend:function(e,t,r){if(!t||!e)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var n=function(){};if(n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.superclass=t.prototype,t.prototype.constructor==Object.prototype.constructor&&(t.prototype.constructor=t),r){var i;for(i in r)e.prototype[i]=r[i];var s=function(){},o=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(s=function(u,l){for(i=0;i<o.length;i=i+1){var a=o[i],c=l[a];typeof c=="function"&&c!=Object.prototype[a]&&(u[a]=c)}})}catch(u){}s(e.prototype,r)}}};/**
32
- * @fileOverview
33
- * @name asn1-1.0.js
34
- * @author Kenji Urushima kenji.urushima@gmail.com
35
- * @version asn1 1.0.13 (2017-Jun-02)
36
- * @since jsrsasign 2.1
37
- * @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
38
- */var $={};(typeof $.asn1>"u"||!$.asn1)&&($.asn1={}),$.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if(t.substr(0,1)!="-")t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var r=t.substr(1),n=r.length;n%2==1?n+=1:t.match(/^[0-7]/)||(n+=2);for(var i="",s=0;s<n;s++)i+="f";var o=new W(i,16),u=o.xor(e).add(W.ONE);t=u.toString(16).replace(/^-/,"")}return t},this.getPEMStringFromHex=function(e,t){return hextopem(e,t)},this.newObject=function(e){var t=$,r=t.asn1,n=r.DERBoolean,i=r.DERInteger,s=r.DERBitString,o=r.DEROctetString,u=r.DERNull,l=r.DERObjectIdentifier,a=r.DEREnumerated,c=r.DERUTF8String,f=r.DERNumericString,p=r.DERPrintableString,h=r.DERTeletexString,d=r.DERIA5String,g=r.DERUTCTime,b=r.DERGeneralizedTime,E=r.DERSequence,y=r.DERSet,v=r.DERTaggedObject,w=r.ASN1Util.newObject,S=Object.keys(e);if(S.length!=1)throw"key of param shall be only one.";var m=S[0];if(":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+m+":")==-1)throw"undefined key: "+m;if(m=="bool")return new n(e[m]);if(m=="int")return new i(e[m]);if(m=="bitstr")return new s(e[m]);if(m=="octstr")return new o(e[m]);if(m=="null")return new u(e[m]);if(m=="oid")return new l(e[m]);if(m=="enum")return new a(e[m]);if(m=="utf8str")return new c(e[m]);if(m=="numstr")return new f(e[m]);if(m=="prnstr")return new p(e[m]);if(m=="telstr")return new h(e[m]);if(m=="ia5str")return new d(e[m]);if(m=="utctime")return new g(e[m]);if(m=="gentime")return new b(e[m]);if(m=="seq"){for(var x=e[m],R=[],U=0;U<x.length;U++){var _=w(x[U]);R.push(_)}return new E({array:R})}if(m=="set"){for(var x=e[m],R=[],U=0;U<x.length;U++){var _=w(x[U]);R.push(_)}return new y({array:R})}if(m=="tag"){var T=e[m];if(Object.prototype.toString.call(T)==="[object Array]"&&T.length==3){var F=w(T[2]);return new v({tag:T[0],explicit:T[1],obj:F})}else{var B={};if(T.explicit!==void 0&&(B.explicit=T.explicit),T.tag!==void 0&&(B.tag=T.tag),T.obj===void 0)throw"obj shall be specified for 'tag'.";return B.obj=w(T.obj),new v(B)}}},this.jsonToASN1HEX=function(e){var t=this.newObject(e);return t.getEncodedHex()}},$.asn1.ASN1Util.oidHexToInt=function(e){for(var i="",t=parseInt(e.substr(0,2),16),r=Math.floor(t/40),n=t%40,i=r+"."+n,s="",o=2;o<e.length;o+=2){var u=parseInt(e.substr(o,2),16),l=("00000000"+u.toString(2)).slice(-8);if(s=s+l.substr(1,7),l.substr(0,1)=="0"){var a=new W(s,2);i=i+"."+a.toString(10),s=""}}return i},$.asn1.ASN1Util.oidIntToHex=function(e){var t=function(u){var l=u.toString(16);return l.length==1&&(l="0"+l),l},r=function(u){var l="",a=new W(u,10),c=a.toString(2),f=7-c.length%7;f==7&&(f=0);for(var p="",h=0;h<f;h++)p+="0";c=p+c;for(var h=0;h<c.length-1;h+=7){var d=c.substr(h,7);h!=c.length-7&&(d="1"+d),l+=t(parseInt(d,2))}return l};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var n="",i=e.split("."),s=parseInt(i[0])*40+parseInt(i[1]);n+=t(s),i.splice(0,2);for(var o=0;o<i.length;o++)n+=r(i[o]);return n},$.asn1.ASN1Object=function(){var e="";this.getLengthHexFromValue=function(){if(typeof this.hV>"u"||this.hV==null)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+e.length+",v="+this.hV;var t=this.hV.length/2,r=t.toString(16);if(r.length%2==1&&(r="0"+r),t<128)return r;var n=r.length/2;if(n>15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);var i=128+n;return i.toString(16)+r},this.getEncodedHex=function(){return(this.hTLV==null||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},$.asn1.DERAbstractString=function(e){$.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e=="string"?this.setString(e):typeof e.str<"u"?this.setString(e.str):typeof e.hex<"u"&&this.setStringHex(e.hex))},X.lang.extend($.asn1.DERAbstractString,$.asn1.ASN1Object),$.asn1.DERAbstractTime=function(e){$.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){utc=t.getTime()+t.getTimezoneOffset()*6e4;var r=new Date(utc);return r},this.formatDate=function(t,r,n){var i=this.zeroPadding,s=this.localDateToUTC(t),o=String(s.getFullYear());r=="utc"&&(o=o.substr(2,2));var u=i(String(s.getMonth()+1),2),l=i(String(s.getDate()),2),a=i(String(s.getHours()),2),c=i(String(s.getMinutes()),2),f=i(String(s.getSeconds()),2),p=o+u+l+a+c+f;if(n===!0){var h=s.getMilliseconds();if(h!=0){var d=i(String(h),3);d=d.replace(/[0]+$/,""),p=p+"."+d}}return p+"Z"},this.zeroPadding=function(t,r){return t.length>=r?t:new Array(r-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,r,n,i,s,o){var u=new Date(Date.UTC(t,r-1,n,i,s,o,0));this.setByDate(u)},this.getFreshValueHex=function(){return this.hV}},X.lang.extend($.asn1.DERAbstractTime,$.asn1.ASN1Object),$.asn1.DERAbstractStructured=function(e){$.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,typeof e<"u"&&typeof e.array<"u"&&(this.asn1Array=e.array)},X.lang.extend($.asn1.DERAbstractStructured,$.asn1.ASN1Object),$.asn1.DERBoolean=function(){$.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},X.lang.extend($.asn1.DERBoolean,$.asn1.ASN1Object),$.asn1.DERInteger=function(e){$.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=$.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var r=new W(String(t),10);this.setByBigInteger(r)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e.bigint<"u"?this.setByBigInteger(e.bigint):typeof e.int<"u"?this.setByInteger(e.int):typeof e=="number"?this.setByInteger(e):typeof e.hex<"u"&&this.setValueHex(e.hex))},X.lang.extend($.asn1.DERInteger,$.asn1.ASN1Object),$.asn1.DERBitString=function(e){if(e!==void 0&&typeof e.obj<"u"){var t=$.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.getEncodedHex()}$.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(r){this.hTLV=null,this.isModified=!0,this.hV=r},this.setUnusedBitsAndHexValue=function(r,n){if(r<0||7<r)throw"unused bits shall be from 0 to 7: u = "+r;var i="0"+r;this.hTLV=null,this.isModified=!0,this.hV=i+n},this.setByBinaryString=function(r){r=r.replace(/0+$/,"");var n=8-r.length%8;n==8&&(n=0);for(var i=0;i<=n;i++)r+="0";for(var s="",i=0;i<r.length-1;i+=8){var o=r.substr(i,8),u=parseInt(o,2).toString(16);u.length==1&&(u="0"+u),s+=u}this.hTLV=null,this.isModified=!0,this.hV="0"+n+s},this.setByBooleanArray=function(r){for(var n="",i=0;i<r.length;i++)r[i]==!0?n+="1":n+="0";this.setByBinaryString(n)},this.newFalseArray=function(r){for(var n=new Array(r),i=0;i<r;i++)n[i]=!1;return n},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e=="string"&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):typeof e.hex<"u"?this.setHexValueIncludingUnusedBits(e.hex):typeof e.bin<"u"?this.setByBinaryString(e.bin):typeof e.array<"u"&&this.setByBooleanArray(e.array))},X.lang.extend($.asn1.DERBitString,$.asn1.ASN1Object),$.asn1.DEROctetString=function(e){if(e!==void 0&&typeof e.obj<"u"){var t=$.asn1.ASN1Util.newObject(e.obj);e.hex=t.getEncodedHex()}$.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT="04"},X.lang.extend($.asn1.DEROctetString,$.asn1.DERAbstractString),$.asn1.DERNull=function(){$.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},X.lang.extend($.asn1.DERNull,$.asn1.ASN1Object),$.asn1.DERObjectIdentifier=function(e){var t=function(n){var i=n.toString(16);return i.length==1&&(i="0"+i),i},r=function(n){var i="",s=new W(n,10),o=s.toString(2),u=7-o.length%7;u==7&&(u=0);for(var l="",a=0;a<u;a++)l+="0";o=l+o;for(var a=0;a<o.length-1;a+=7){var c=o.substr(a,7);a!=o.length-7&&(c="1"+c),i+=t(parseInt(c,2))}return i};$.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(n){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=n},this.setValueOidString=function(n){if(!n.match(/^[0-9.]+$/))throw"malformed oid string: "+n;var i="",s=n.split("."),o=parseInt(s[0])*40+parseInt(s[1]);i+=t(o),s.splice(0,2);for(var u=0;u<s.length;u++)i+=r(s[u]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=i},this.setValueName=function(n){var i=$.asn1.x509.OID.name2oid(n);if(i!=="")this.setValueOidString(i);else throw"DERObjectIdentifier oidName undefined: "+n},this.getFreshValueHex=function(){return this.hV},e!==void 0&&(typeof e=="string"?e.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(e):this.setValueName(e):e.oid!==void 0?this.setValueOidString(e.oid):e.hex!==void 0?this.setValueHex(e.hex):e.name!==void 0&&this.setValueName(e.name))},X.lang.extend($.asn1.DERObjectIdentifier,$.asn1.ASN1Object),$.asn1.DEREnumerated=function(e){$.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=$.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var r=new W(String(t),10);this.setByBigInteger(r)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e.int<"u"?this.setByInteger(e.int):typeof e=="number"?this.setByInteger(e):typeof e.hex<"u"&&this.setValueHex(e.hex))},X.lang.extend($.asn1.DEREnumerated,$.asn1.ASN1Object),$.asn1.DERUTF8String=function(e){$.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT="0c"},X.lang.extend($.asn1.DERUTF8String,$.asn1.DERAbstractString),$.asn1.DERNumericString=function(e){$.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT="12"},X.lang.extend($.asn1.DERNumericString,$.asn1.DERAbstractString),$.asn1.DERPrintableString=function(e){$.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT="13"},X.lang.extend($.asn1.DERPrintableString,$.asn1.DERAbstractString),$.asn1.DERTeletexString=function(e){$.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT="14"},X.lang.extend($.asn1.DERTeletexString,$.asn1.DERAbstractString),$.asn1.DERIA5String=function(e){$.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="16"},X.lang.extend($.asn1.DERIA5String,$.asn1.DERAbstractString),$.asn1.DERUTCTime=function(e){$.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT="17",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return typeof this.date>"u"&&typeof this.s>"u"&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},e!==void 0&&(e.str!==void 0?this.setString(e.str):typeof e=="string"&&e.match(/^[0-9]{12}Z$/)?this.setString(e):e.hex!==void 0?this.setStringHex(e.hex):e.date!==void 0&&this.setByDate(e.date))},X.lang.extend($.asn1.DERUTCTime,$.asn1.DERAbstractTime),$.asn1.DERGeneralizedTime=function(e){$.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT="18",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return this.date===void 0&&this.s===void 0&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},e!==void 0&&(e.str!==void 0?this.setString(e.str):typeof e=="string"&&e.match(/^[0-9]{14}Z$/)?this.setString(e):e.hex!==void 0?this.setStringHex(e.hex):e.date!==void 0&&this.setByDate(e.date),e.millis===!0&&(this.withMillis=!0))},X.lang.extend($.asn1.DERGeneralizedTime,$.asn1.DERAbstractTime),$.asn1.DERSequence=function(e){$.asn1.DERSequence.superclass.constructor.call(this,e),this.hT="30",this.getFreshValueHex=function(){for(var t="",r=0;r<this.asn1Array.length;r++){var n=this.asn1Array[r];t+=n.getEncodedHex()}return this.hV=t,this.hV}},X.lang.extend($.asn1.DERSequence,$.asn1.DERAbstractStructured),$.asn1.DERSet=function(e){$.asn1.DERSet.superclass.constructor.call(this,e),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=new Array,r=0;r<this.asn1Array.length;r++){var n=this.asn1Array[r];t.push(n.getEncodedHex())}return this.sortFlag==!0&&t.sort(),this.hV=t.join(""),this.hV},typeof e<"u"&&typeof e.sortflag<"u"&&e.sortflag==!1&&(this.sortFlag=!1)},X.lang.extend($.asn1.DERSet,$.asn1.DERAbstractStructured),$.asn1.DERTaggedObject=function(e){$.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,r,n){this.hT=r,this.isExplicit=t,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,r),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e.tag<"u"&&(this.hT=e.tag),typeof e.explicit<"u"&&(this.isExplicit=e.explicit),typeof e.obj<"u"&&(this.asn1Object=e.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},X.lang.extend($.asn1.DERTaggedObject,$.asn1.ASN1Object);var vd=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Si=function(e){vd(t,e);function t(r){var n=e.call(this)||this;return r&&(typeof r=="string"?n.parseKey(r):(t.hasPrivateKeyProperty(r)||t.hasPublicKeyProperty(r))&&n.parsePropertiesFrom(r)),n}return t.prototype.parseKey=function(r){try{var n=0,i=0,s=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,o=s.test(r)?ed.decode(r):kr.unarmor(r),u=id.decode(o);if(u.sub.length===3&&(u=u.sub[2].sub[0]),u.sub.length===9){n=u.sub[1].getHexStringValue(),this.n=Z(n,16),i=u.sub[2].getHexStringValue(),this.e=parseInt(i,16);var l=u.sub[3].getHexStringValue();this.d=Z(l,16);var a=u.sub[4].getHexStringValue();this.p=Z(a,16);var c=u.sub[5].getHexStringValue();this.q=Z(c,16);var f=u.sub[6].getHexStringValue();this.dmp1=Z(f,16);var p=u.sub[7].getHexStringValue();this.dmq1=Z(p,16);var h=u.sub[8].getHexStringValue();this.coeff=Z(h,16)}else if(u.sub.length===2)if(u.sub[0].sub){var d=u.sub[1],g=d.sub[0];n=g.sub[0].getHexStringValue(),this.n=Z(n,16),i=g.sub[1].getHexStringValue(),this.e=parseInt(i,16)}else n=u.sub[0].getHexStringValue(),this.n=Z(n,16),i=u.sub[1].getHexStringValue(),this.e=parseInt(i,16);else return!1;return!0}catch(b){return!1}},t.prototype.getPrivateBaseKey=function(){var r={array:[new $.asn1.DERInteger({int:0}),new $.asn1.DERInteger({bigint:this.n}),new $.asn1.DERInteger({int:this.e}),new $.asn1.DERInteger({bigint:this.d}),new $.asn1.DERInteger({bigint:this.p}),new $.asn1.DERInteger({bigint:this.q}),new $.asn1.DERInteger({bigint:this.dmp1}),new $.asn1.DERInteger({bigint:this.dmq1}),new $.asn1.DERInteger({bigint:this.coeff})]},n=new $.asn1.DERSequence(r);return n.getEncodedHex()},t.prototype.getPrivateBaseKeyB64=function(){return Ve(this.getPrivateBaseKey())},t.prototype.getPublicBaseKey=function(){var r=new $.asn1.DERSequence({array:[new $.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new $.asn1.DERNull]}),n=new $.asn1.DERSequence({array:[new $.asn1.DERInteger({bigint:this.n}),new $.asn1.DERInteger({int:this.e})]}),i=new $.asn1.DERBitString({hex:"00"+n.getEncodedHex()}),s=new $.asn1.DERSequence({array:[r,i]});return s.getEncodedHex()},t.prototype.getPublicBaseKeyB64=function(){return Ve(this.getPublicBaseKey())},t.wordwrap=function(r,n){if(n=n||64,!r)return r;var i="(.{1,"+n+`})( +|$
39
- ?)|(.{1,`+n+"})";return r.match(RegExp(i,"g")).join(`
40
- `)},t.prototype.getPrivateKey=function(){var r=`-----BEGIN RSA PRIVATE KEY-----
41
- `;return r+=t.wordwrap(this.getPrivateBaseKeyB64())+`
42
- `,r+="-----END RSA PRIVATE KEY-----",r},t.prototype.getPublicKey=function(){var r=`-----BEGIN PUBLIC KEY-----
43
- `;return r+=t.wordwrap(this.getPublicBaseKeyB64())+`
44
- `,r+="-----END PUBLIC KEY-----",r},t.hasPublicKeyProperty=function(r){return r=r||{},r.hasOwnProperty("n")&&r.hasOwnProperty("e")},t.hasPrivateKeyProperty=function(r){return r=r||{},r.hasOwnProperty("n")&&r.hasOwnProperty("e")&&r.hasOwnProperty("d")&&r.hasOwnProperty("p")&&r.hasOwnProperty("q")&&r.hasOwnProperty("dmp1")&&r.hasOwnProperty("dmq1")&&r.hasOwnProperty("coeff")},t.prototype.parsePropertiesFrom=function(r){this.n=r.n,this.e=r.e,r.hasOwnProperty("d")&&(this.d=r.d,this.p=r.p,this.q=r.q,this.dmp1=r.dmp1,this.dmq1=r.dmq1,this.coeff=r.coeff)},t}(dd),mr,bd=typeof process<"u"?(mr=va)===null||mr===void 0?void 0:mr.npm_package_version:void 0,wd=function(){function e(t){t===void 0&&(t={}),t=t||{},this.default_key_size=t.default_key_size?parseInt(t.default_key_size,10):1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null}return e.prototype.setKey=function(t){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new Si(t)},e.prototype.setPrivateKey=function(t){this.setKey(t)},e.prototype.setPublicKey=function(t){this.setKey(t)},e.prototype.decrypt=function(t){try{return this.getKey().decrypt(mi(t))}catch(r){return!1}},e.prototype.encrypt=function(t){try{return Ve(this.getKey().encrypt(t))}catch(r){return!1}},e.prototype.sign=function(t,r,n){try{return Ve(this.getKey().sign(t,r,n))}catch(i){return!1}},e.prototype.verify=function(t,r,n){try{return this.getKey().verify(t,mi(r),n)}catch(i){return!1}},e.prototype.getKey=function(t){if(!this.key){if(this.key=new Si,t&&{}.toString.call(t)==="[object Function]"){this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);return}this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version=bd,e}();const _d="MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEAt3LFMIQHlZwadt5TI3jGfVyzzP7S0Lva+Bt38v32iblNnQ59GpFvpjtEl92KYH0snK+bI/1PU/SNaseSi2ryJQIDAQABAkBGHyXG7MDlbD0lcMhAx9q/cp773fABf70sl3tbM754V+mH8dEiAim398NhhrADz4F4K12H74R39O/0Hjr/VAZlAiEA5+3MoAbnsDOzFP+oT4YZJBjx8MmsukU3AaguPW4tYcMCIQDKfN+Qk/jD3vZlWsUJ23013D2NDSjgcH4gdV71oYb19wIgUMWYhgLhnZPjwmRnEYr6JoApglo6NYT1azZPJEXCuFECIDyQUQYbXCKpw6TZG2oxXigH8dkIgJtwyijHMlnhsE5NAiBxF7HA7U2rDnZ6+VRDXtIg+joD3o1h3bFy2A+QX5yDYA==";function xi(e,t=_d){const r=new wd;return r.setPrivateKey(t),r.decrypt(e)}const co=/^(http|https):\/\/[\w.:\-@]*/;function lo(e){return co.test(e)}var fo={exports:{}};/*! @preserve
45
- * numeral.js
46
- * version : 2.0.6
47
- * author : Adam Draper
48
- * license : MIT
49
- * http://adamwdraper.github.com/Numeral-js/
50
- */(function(e){(function(t,r){e.exports?e.exports=r():t.numeral=r()})(it,function(){var t,r,n="2.0.6",i={},s={},o={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},u={currentLocale:o.currentLocale,zeroFormat:o.zeroFormat,nullFormat:o.nullFormat,defaultFormat:o.defaultFormat,scalePercentBy100:o.scalePercentBy100};function l(a,c){this._input=a,this._value=c}return t=function(a){var c,f,p,h;if(t.isNumeral(a))c=a.value();else if(a===0||typeof a>"u")c=0;else if(a===null||r.isNaN(a))c=null;else if(typeof a=="string")if(u.zeroFormat&&a===u.zeroFormat)c=0;else if(u.nullFormat&&a===u.nullFormat||!a.replace(/[^0-9]+/g,"").length)c=null;else{for(f in i)if(h=typeof i[f].regexps.unformat=="function"?i[f].regexps.unformat():i[f].regexps.unformat,h&&a.match(h)){p=i[f].unformat;break}p=p||t._.stringToNumber,c=p(a)}else c=Number(a)||null;return new l(a,c)},t.version=n,t.isNumeral=function(a){return a instanceof l},t._=r={numberToFormat:function(a,c,f){var p=s[t.options.currentLocale],h=!1,d=!1,g=0,b="",E=1e12,y=1e9,v=1e6,w=1e3,S="",m=!1,x,R,U,_,T,F,B;if(a=a||0,R=Math.abs(a),t._.includes(c,"(")?(h=!0,c=c.replace(/[\(|\)]/g,"")):(t._.includes(c,"+")||t._.includes(c,"-"))&&(T=t._.includes(c,"+")?c.indexOf("+"):a<0?c.indexOf("-"):-1,c=c.replace(/[\+|\-]/g,"")),t._.includes(c,"a")&&(x=c.match(/a(k|m|b|t)?/),x=x?x[1]:!1,t._.includes(c," a")&&(b=" "),c=c.replace(new RegExp(b+"a[kmbt]?"),""),R>=E&&!x||x==="t"?(b+=p.abbreviations.trillion,a=a/E):R<E&&R>=y&&!x||x==="b"?(b+=p.abbreviations.billion,a=a/y):R<y&&R>=v&&!x||x==="m"?(b+=p.abbreviations.million,a=a/v):(R<v&&R>=w&&!x||x==="k")&&(b+=p.abbreviations.thousand,a=a/w)),t._.includes(c,"[.]")&&(d=!0,c=c.replace("[.]",".")),U=a.toString().split(".")[0],_=c.split(".")[1],F=c.indexOf(","),g=(c.split(".")[0].split(",")[0].match(/0/g)||[]).length,_?(t._.includes(_,"[")?(_=_.replace("]",""),_=_.split("["),S=t._.toFixed(a,_[0].length+_[1].length,f,_[1].length)):S=t._.toFixed(a,_.length,f),U=S.split(".")[0],t._.includes(S,".")?S=p.delimiters.decimal+S.split(".")[1]:S="",d&&Number(S.slice(1))===0&&(S="")):U=t._.toFixed(a,0,f),b&&!x&&Number(U)>=1e3&&b!==p.abbreviations.trillion)switch(U=String(Number(U)/1e3),b){case p.abbreviations.thousand:b=p.abbreviations.million;break;case p.abbreviations.million:b=p.abbreviations.billion;break;case p.abbreviations.billion:b=p.abbreviations.trillion;break}if(t._.includes(U,"-")&&(U=U.slice(1),m=!0),U.length<g)for(var P=g-U.length;P>0;P--)U="0"+U;return F>-1&&(U=U.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+p.delimiters.thousands)),c.indexOf(".")===0&&(U=""),B=U+S+(b||""),h?B=(h&&m?"(":"")+B+(h&&m?")":""):T>=0?B=T===0?(m?"-":"+")+B:B+(m?"-":"+"):m&&(B="-"+B),B},stringToNumber:function(a){var c=s[u.currentLocale],f=a,p={thousand:3,million:6,billion:9,trillion:12},h,d,g;if(u.zeroFormat&&a===u.zeroFormat)d=0;else if(u.nullFormat&&a===u.nullFormat||!a.replace(/[^0-9]+/g,"").length)d=null;else{d=1,c.delimiters.decimal!=="."&&(a=a.replace(/\./g,"").replace(c.delimiters.decimal,"."));for(h in p)if(g=new RegExp("[^a-zA-Z]"+c.abbreviations[h]+"(?:\\)|(\\"+c.currency.symbol+")?(?:\\))?)?$"),f.match(g)){d*=Math.pow(10,p[h]);break}d*=(a.split("-").length+Math.min(a.split("(").length-1,a.split(")").length-1))%2?1:-1,a=a.replace(/[^0-9\.]+/g,""),d*=Number(a)}return d},isNaN:function(a){return typeof a=="number"&&isNaN(a)},includes:function(a,c){return a.indexOf(c)!==-1},insert:function(a,c,f){return a.slice(0,f)+c+a.slice(f)},reduce:function(a,c){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof c!="function")throw new TypeError(c+" is not a function");var f=Object(a),p=f.length>>>0,h=0,d;if(arguments.length===3)d=arguments[2];else{for(;h<p&&!(h in f);)h++;if(h>=p)throw new TypeError("Reduce of empty array with no initial value");d=f[h++]}for(;h<p;h++)h in f&&(d=c(d,f[h],h,f));return d},multiplier:function(a){var c=a.toString().split(".");return c.length<2?1:Math.pow(10,c[1].length)},correctionFactor:function(){var a=Array.prototype.slice.call(arguments);return a.reduce(function(c,f){var p=r.multiplier(f);return c>p?c:p},1)},toFixed:function(a,c,f,p){var h=a.toString().split("."),d=c-(p||0),g,b,E,y;return h.length===2?g=Math.min(Math.max(h[1].length,d),c):g=d,E=Math.pow(10,g),y=(f(a+"e+"+g)/E).toFixed(g),p>c-g&&(b=new RegExp("\\.?0{1,"+(p-(c-g))+"}$"),y=y.replace(b,"")),y}},t.options=u,t.formats=i,t.locales=s,t.locale=function(a){return a&&(u.currentLocale=a.toLowerCase()),u.currentLocale},t.localeData=function(a){if(!a)return s[u.currentLocale];if(a=a.toLowerCase(),!s[a])throw new Error("Unknown locale : "+a);return s[a]},t.reset=function(){for(var a in o)u[a]=o[a]},t.zeroFormat=function(a){u.zeroFormat=typeof a=="string"?a:null},t.nullFormat=function(a){u.nullFormat=typeof a=="string"?a:null},t.defaultFormat=function(a){u.defaultFormat=typeof a=="string"?a:"0.0"},t.register=function(a,c,f){if(c=c.toLowerCase(),this[a+"s"][c])throw new TypeError(c+" "+a+" already registered.");return this[a+"s"][c]=f,f},t.validate=function(a,c){var f,p,h,d,g,b,E,y;if(typeof a!="string"&&(a+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",a)),a=a.trim(),a.match(/^\d+$/))return!0;if(a==="")return!1;try{E=t.localeData(c)}catch(v){E=t.localeData(t.locale())}return h=E.currency.symbol,g=E.abbreviations,f=E.delimiters.decimal,E.delimiters.thousands==="."?p="\\.":p=E.delimiters.thousands,y=a.match(/^[^\d]+/),y!==null&&(a=a.substr(1),y[0]!==h)||(y=a.match(/[^\d]+$/),y!==null&&(a=a.slice(0,-1),y[0]!==g.thousand&&y[0]!==g.million&&y[0]!==g.billion&&y[0]!==g.trillion))?!1:(b=new RegExp(p+"{2}"),a.match(/[^\d.,]/g)?!1:(d=a.split(f),d.length>2?!1:d.length<2?!!d[0].match(/^\d+.*\d$/)&&!d[0].match(b):d[0].length===1?!!d[0].match(/^\d+$/)&&!d[0].match(b)&&!!d[1].match(/^\d+$/):!!d[0].match(/^\d+.*\d$/)&&!d[0].match(b)&&!!d[1].match(/^\d+$/)))},t.fn=l.prototype={clone:function(){return t(this)},format:function(a,c){var f=this._value,p=a||u.defaultFormat,h,d,g;if(c=c||Math.round,f===0&&u.zeroFormat!==null)d=u.zeroFormat;else if(f===null&&u.nullFormat!==null)d=u.nullFormat;else{for(h in i)if(p.match(i[h].regexps.format)){g=i[h].format;break}g=g||t._.numberToFormat,d=g(f,p,c)}return d},value:function(){return this._value},input:function(){return this._input},set:function(a){return this._value=Number(a),this},add:function(a){var c=r.correctionFactor.call(null,this._value,a);function f(p,h,d,g){return p+Math.round(c*h)}return this._value=r.reduce([this._value,a],f,0)/c,this},subtract:function(a){var c=r.correctionFactor.call(null,this._value,a);function f(p,h,d,g){return p-Math.round(c*h)}return this._value=r.reduce([a],f,Math.round(this._value*c))/c,this},multiply:function(a){function c(f,p,h,d){var g=r.correctionFactor(f,p);return Math.round(f*g)*Math.round(p*g)/Math.round(g*g)}return this._value=r.reduce([this._value,a],c,1),this},divide:function(a){function c(f,p,h,d){var g=r.correctionFactor(f,p);return Math.round(f*g)/Math.round(p*g)}return this._value=r.reduce([this._value,a],c),this},difference:function(a){return Math.abs(t(this._value).subtract(a).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(a){var c=a%10;return~~(a%100/10)===1?"th":c===1?"st":c===2?"nd":c===3?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(a,c,f){var p=t._.includes(c," BPS")?" ":"",h;return a=a*1e4,c=c.replace(/\s?BPS/,""),h=t._.numberToFormat(a,c,f),t._.includes(h,")")?(h=h.split(""),h.splice(-1,0,p+"BPS"),h=h.join("")):h=h+p+"BPS",h},unformat:function(a){return+(t._.stringToNumber(a)*1e-4).toFixed(15)}})}(),function(){var a={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},c={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},f=a.suffixes.concat(c.suffixes.filter(function(h){return a.suffixes.indexOf(h)<0})),p=f.join("|");p="("+p.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(p)},format:function(h,d,g){var b,E=t._.includes(d,"ib")?c:a,y=t._.includes(d," b")||t._.includes(d," ib")?" ":"",v,w,S;for(d=d.replace(/\s?i?b/,""),v=0;v<=E.suffixes.length;v++)if(w=Math.pow(E.base,v),S=Math.pow(E.base,v+1),h===null||h===0||h>=w&&h<S){y+=E.suffixes[v],w>0&&(h=h/w);break}return b=t._.numberToFormat(h,d,g),b+y},unformat:function(h){var d=t._.stringToNumber(h),g,b;if(d){for(g=a.suffixes.length-1;g>=0;g--){if(t._.includes(h,a.suffixes[g])){b=Math.pow(a.base,g);break}if(t._.includes(h,c.suffixes[g])){b=Math.pow(c.base,g);break}}d*=b||1}return d}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(a,c,f){var p=t.locales[t.options.currentLocale],h={before:c.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:c.match(/([\+|\-|\)|\s|\$]*)$/)[0]},d,g,b;for(c=c.replace(/\s?\$\s?/,""),d=t._.numberToFormat(a,c,f),a>=0?(h.before=h.before.replace(/[\-\(]/,""),h.after=h.after.replace(/[\-\)]/,"")):a<0&&!t._.includes(h.before,"-")&&!t._.includes(h.before,"(")&&(h.before="-"+h.before),b=0;b<h.before.length;b++)switch(g=h.before[b],g){case"$":d=t._.insert(d,p.currency.symbol,b);break;case" ":d=t._.insert(d," ",b+p.currency.symbol.length-1);break}for(b=h.after.length-1;b>=0;b--)switch(g=h.after[b],g){case"$":d=b===h.after.length-1?d+p.currency.symbol:t._.insert(d,p.currency.symbol,-(h.after.length-(1+b)));break;case" ":d=b===h.after.length-1?d+" ":t._.insert(d," ",-(h.after.length-(1+b)+p.currency.symbol.length-1));break}return d}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(a,c,f){var p,h=typeof a=="number"&&!t._.isNaN(a)?a.toExponential():"0e+0",d=h.split("e");return c=c.replace(/e[\+|\-]{1}0/,""),p=t._.numberToFormat(Number(d[0]),c,f),p+"e"+d[1]},unformat:function(a){var c=t._.includes(a,"e+")?a.split("e+"):a.split("e-"),f=Number(c[0]),p=Number(c[1]);p=t._.includes(a,"e-")?p*=-1:p;function h(d,g,b,E){var y=t._.correctionFactor(d,g),v=d*y*(g*y)/(y*y);return v}return t._.reduce([f,Math.pow(10,p)],h,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(a,c,f){var p=t.locales[t.options.currentLocale],h,d=t._.includes(c," o")?" ":"";return c=c.replace(/\s?o/,""),d+=p.ordinal(a),h=t._.numberToFormat(a,c,f),h+d}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(a,c,f){var p=t._.includes(c," %")?" ":"",h;return t.options.scalePercentBy100&&(a=a*100),c=c.replace(/\s?\%/,""),h=t._.numberToFormat(a,c,f),t._.includes(h,")")?(h=h.split(""),h.splice(-1,0,p+"%"),h=h.join("")):h=h+p+"%",h},unformat:function(a){var c=t._.stringToNumber(a);return t.options.scalePercentBy100?c*.01:c}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(a,c,f){var p=Math.floor(a/60/60),h=Math.floor((a-p*60*60)/60),d=Math.round(a-p*60*60-h*60);return p+":"+(h<10?"0"+h:h)+":"+(d<10?"0"+d:d)},unformat:function(a){var c=a.split(":"),f=0;return c.length===3?(f=f+Number(c[0])*60*60,f=f+Number(c[1])*60,f=f+Number(c[2])):c.length===2&&(f=f+Number(c[0])*60,f=f+Number(c[1])),Number(f)}})}(),t})})(fo);var Ed=fo.exports;ie(Ed);var ho={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(it,function(){var r=1e3,n=6e4,i=36e5,s="millisecond",o="second",u="minute",l="hour",a="day",c="week",f="month",p="quarter",h="year",d="date",g="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,E=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(P){var j=["th","st","nd","rd"],N=P%100;return"["+P+(j[(N-20)%10]||j[N]||j[0])+"]"}},v=function(P,j,N){var L=String(P);return!L||L.length>=j?P:""+Array(j+1-L.length).join(N)+P},w={s:v,z:function(P){var j=-P.utcOffset(),N=Math.abs(j),L=Math.floor(N/60),M=N%60;return(j<=0?"+":"-")+v(L,2,"0")+":"+v(M,2,"0")},m:function P(j,N){if(j.date()<N.date())return-P(N,j);var L=12*(N.year()-j.year())+(N.month()-j.month()),M=j.clone().add(L,f),V=N-M<0,q=j.clone().add(L+(V?-1:1),f);return+(-(L+(N-M)/(V?M-q:q-M))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:f,y:h,w:c,d:a,D:d,h:l,m:u,s:o,ms:s,Q:p}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},S="en",m={};m[S]=y;var x="$isDayjsObject",R=function(P){return P instanceof F||!(!P||!P[x])},U=function P(j,N,L){var M;if(!j)return S;if(typeof j=="string"){var V=j.toLowerCase();m[V]&&(M=V),N&&(m[V]=N,M=V);var q=j.split("-");if(!M&&q.length>1)return P(q[0])}else{var O=j.name;m[O]=j,M=O}return!L&&M&&(S=M),M||!L&&S},_=function(P,j){if(R(P))return P.clone();var N=typeof j=="object"?j:{};return N.date=P,N.args=arguments,new F(N)},T=w;T.l=U,T.i=R,T.w=function(P,j){return _(P,{locale:j.$L,utc:j.$u,x:j.$x,$offset:j.$offset})};var F=function(){function P(N){this.$L=U(N.locale,null,!0),this.parse(N),this.$x=this.$x||N.x||{},this[x]=!0}var j=P.prototype;return j.parse=function(N){this.$d=function(L){var M=L.date,V=L.utc;if(M===null)return new Date(NaN);if(T.u(M))return new Date;if(M instanceof Date)return new Date(M);if(typeof M=="string"&&!/Z$/i.test(M)){var q=M.match(b);if(q){var O=q[2]-1||0,D=(q[7]||"0").substring(0,3);return V?new Date(Date.UTC(q[1],O,q[3]||1,q[4]||0,q[5]||0,q[6]||0,D)):new Date(q[1],O,q[3]||1,q[4]||0,q[5]||0,q[6]||0,D)}}return new Date(M)}(N),this.init()},j.init=function(){var N=this.$d;this.$y=N.getFullYear(),this.$M=N.getMonth(),this.$D=N.getDate(),this.$W=N.getDay(),this.$H=N.getHours(),this.$m=N.getMinutes(),this.$s=N.getSeconds(),this.$ms=N.getMilliseconds()},j.$utils=function(){return T},j.isValid=function(){return this.$d.toString()!==g},j.isSame=function(N,L){var M=_(N);return this.startOf(L)<=M&&M<=this.endOf(L)},j.isAfter=function(N,L){return _(N)<this.startOf(L)},j.isBefore=function(N,L){return this.endOf(L)<_(N)},j.$g=function(N,L,M){return T.u(N)?this[L]:this.set(M,N)},j.unix=function(){return Math.floor(this.valueOf()/1e3)},j.valueOf=function(){return this.$d.getTime()},j.startOf=function(N,L){var M=this,V=!!T.u(L)||L,q=T.p(N),O=function(Bt,st){var xt=T.w(M.$u?Date.UTC(M.$y,st,Bt):new Date(M.$y,st,Bt),M);return V?xt:xt.endOf(a)},D=function(Bt,st){return T.w(M.toDate()[Bt].apply(M.toDate("s"),(V?[0,0,0,0]:[23,59,59,999]).slice(st)),M)},C=this.$W,I=this.$M,ut=this.$D,zt="set"+(this.$u?"UTC":"");switch(q){case h:return V?O(1,0):O(31,11);case f:return V?O(1,I):O(0,I+1);case c:var Dt=this.$locale().weekStart||0,ae=(C<Dt?C+7:C)-Dt;return O(V?ut-ae:ut+(6-ae),I);case a:case d:return D(zt+"Hours",0);case l:return D(zt+"Minutes",1);case u:return D(zt+"Seconds",2);case o:return D(zt+"Milliseconds",3);default:return this.clone()}},j.endOf=function(N){return this.startOf(N,!1)},j.$set=function(N,L){var M,V=T.p(N),q="set"+(this.$u?"UTC":""),O=(M={},M[a]=q+"Date",M[d]=q+"Date",M[f]=q+"Month",M[h]=q+"FullYear",M[l]=q+"Hours",M[u]=q+"Minutes",M[o]=q+"Seconds",M[s]=q+"Milliseconds",M)[V],D=V===a?this.$D+(L-this.$W):L;if(V===f||V===h){var C=this.clone().set(d,1);C.$d[O](D),C.init(),this.$d=C.set(d,Math.min(this.$D,C.daysInMonth())).$d}else O&&this.$d[O](D);return this.init(),this},j.set=function(N,L){return this.clone().$set(N,L)},j.get=function(N){return this[T.p(N)]()},j.add=function(N,L){var M,V=this;N=Number(N);var q=T.p(L),O=function(I){var ut=_(V);return T.w(ut.date(ut.date()+Math.round(I*N)),V)};if(q===f)return this.set(f,this.$M+N);if(q===h)return this.set(h,this.$y+N);if(q===a)return O(1);if(q===c)return O(7);var D=(M={},M[u]=n,M[l]=i,M[o]=r,M)[q]||1,C=this.$d.getTime()+N*D;return T.w(C,this)},j.subtract=function(N,L){return this.add(-1*N,L)},j.format=function(N){var L=this,M=this.$locale();if(!this.isValid())return M.invalidDate||g;var V=N||"YYYY-MM-DDTHH:mm:ssZ",q=T.z(this),O=this.$H,D=this.$m,C=this.$M,I=M.weekdays,ut=M.months,zt=M.meridiem,Dt=function(st,xt,ue,Se){return st&&(st[xt]||st(L,V))||ue[xt].slice(0,Se)},ae=function(st){return T.s(O%12||12,st,"0")},Bt=zt||function(st,xt,ue){var Se=st<12?"AM":"PM";return ue?Se.toLowerCase():Se};return V.replace(E,function(st,xt){return xt||function(ue){switch(ue){case"YY":return String(L.$y).slice(-2);case"YYYY":return T.s(L.$y,4,"0");case"M":return C+1;case"MM":return T.s(C+1,2,"0");case"MMM":return Dt(M.monthsShort,C,ut,3);case"MMMM":return Dt(ut,C);case"D":return L.$D;case"DD":return T.s(L.$D,2,"0");case"d":return String(L.$W);case"dd":return Dt(M.weekdaysMin,L.$W,I,2);case"ddd":return Dt(M.weekdaysShort,L.$W,I,3);case"dddd":return I[L.$W];case"H":return String(O);case"HH":return T.s(O,2,"0");case"h":return ae(1);case"hh":return ae(2);case"a":return Bt(O,D,!0);case"A":return Bt(O,D,!1);case"m":return String(D);case"mm":return T.s(D,2,"0");case"s":return String(L.$s);case"ss":return T.s(L.$s,2,"0");case"SSS":return T.s(L.$ms,3,"0");case"Z":return q}return null}(st)||q.replace(":","")})},j.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},j.diff=function(N,L,M){var V,q=this,O=T.p(L),D=_(N),C=(D.utcOffset()-this.utcOffset())*n,I=this-D,ut=function(){return T.m(q,D)};switch(O){case h:V=ut()/12;break;case f:V=ut();break;case p:V=ut()/3;break;case c:V=(I-C)/6048e5;break;case a:V=(I-C)/864e5;break;case l:V=I/i;break;case u:V=I/n;break;case o:V=I/r;break;default:V=I}return M?V:T.a(V)},j.daysInMonth=function(){return this.endOf(f).$D},j.$locale=function(){return m[this.$L]},j.locale=function(N,L){if(!N)return this.$L;var M=this.clone(),V=U(N,L,!0);return V&&(M.$L=V),M},j.clone=function(){return T.w(this.$d,this)},j.toDate=function(){return new Date(this.valueOf())},j.toJSON=function(){return this.isValid()?this.toISOString():null},j.toISOString=function(){return this.$d.toISOString()},j.toString=function(){return this.$d.toUTCString()},P}(),B=F.prototype;return _.prototype=B,[["$ms",s],["$s",o],["$m",u],["$H",l],["$W",a],["$M",f],["$y",h],["$D",d]].forEach(function(P){B[P[1]]=function(j){return this.$g(j,P[0],P[1])}}),_.extend=function(P,j){return P.$i||(P(j,F,_),P.$i=!0),_},_.locale=U,_.isDayjs=R,_.unix=function(P){return _(1e3*P)},_.en=m[S],_.Ls=m,_.p={},_})})(ho);var po=ho.exports;const Sd=ie(po);var xd={exports:{}};(function(e,t){(function(r,n){e.exports=n(po)})(it,function(r){function n(o){return o&&typeof o=="object"&&"default"in o?o:{default:o}}var i=n(r),s={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(o,u){return u==="W"?o+"周":o+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(o,u){var l=100*o+u;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return i.default.locale(s,null,!0),s})})(xd),Sd.locale("zh-cn");function Td(e=!0){const t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(r){const n=Math.random()*16|0;return(r==="x"?n:n&3|8).toString(16)});return e?t.toLowerCase():t.replace(/-/gi,"")}function un(e=0){return k(this,null,function*(){return new Promise(t=>{setTimeout(t,e)})})}function Ad(e){return[...e.entries()].reduce((t,[r,n])=>(t[r]=n,t),{})}function Rd(e,t){return Array.from(new Set(e))}function Ti(e){return e?[].concat(e):[]}function yr(e,t){const r={};if(Array.isArray(t))Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])});else{const n=t;Object.entries(e).forEach(([i,s])=>{n(i,s)||(r[i]=s)})}return r}function Od(e,t){const r={};if(Array.isArray(t))Object.keys(e).forEach(n=>{t.includes(n)&&(r[n]=e[n])});else{const n=t;Object.entries(e).forEach(([i,s])=>{n(i,s)&&(r[i]=s)})}return r}var go={exports:{}};(function(e){var t=function(){var r=String.fromCharCode,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function o(l,a){if(!s[l]){s[l]={};for(var c=0;c<l.length;c++)s[l][l.charAt(c)]=c}return s[l][a]}var u={compressToBase64:function(l){if(l==null)return"";var a=u._compress(l,6,function(c){return n.charAt(c)});switch(a.length%4){default:case 0:return a;case 1:return a+"===";case 2:return a+"==";case 3:return a+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:u._decompress(l.length,32,function(a){return o(n,l.charAt(a))})},compressToUTF16:function(l){return l==null?"":u._compress(l,15,function(a){return r(a+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:u._decompress(l.length,16384,function(a){return l.charCodeAt(a)-32})},compressToUint8Array:function(l){for(var a=u.compress(l),c=new Uint8Array(a.length*2),f=0,p=a.length;f<p;f++){var h=a.charCodeAt(f);c[f*2]=h>>>8,c[f*2+1]=h%256}return c},decompressFromUint8Array:function(l){if(l==null)return u.decompress(l);for(var a=new Array(l.length/2),c=0,f=a.length;c<f;c++)a[c]=l[c*2]*256+l[c*2+1];var p=[];return a.forEach(function(h){p.push(r(h))}),u.decompress(p.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":u._compress(l,6,function(a){return i.charAt(a)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),u._decompress(l.length,32,function(a){return o(i,l.charAt(a))}))},compress:function(l){return u._compress(l,16,function(a){return r(a)})},_compress:function(l,a,c){if(l==null)return"";var f,p,h={},d={},g="",b="",E="",y=2,v=3,w=2,S=[],m=0,x=0,R;for(R=0;R<l.length;R+=1)if(g=l.charAt(R),Object.prototype.hasOwnProperty.call(h,g)||(h[g]=v++,d[g]=!0),b=E+g,Object.prototype.hasOwnProperty.call(h,b))E=b;else{if(Object.prototype.hasOwnProperty.call(d,E)){if(E.charCodeAt(0)<256){for(f=0;f<w;f++)m=m<<1,x==a-1?(x=0,S.push(c(m)),m=0):x++;for(p=E.charCodeAt(0),f=0;f<8;f++)m=m<<1|p&1,x==a-1?(x=0,S.push(c(m)),m=0):x++,p=p>>1}else{for(p=1,f=0;f<w;f++)m=m<<1|p,x==a-1?(x=0,S.push(c(m)),m=0):x++,p=0;for(p=E.charCodeAt(0),f=0;f<16;f++)m=m<<1|p&1,x==a-1?(x=0,S.push(c(m)),m=0):x++,p=p>>1}y--,y==0&&(y=Math.pow(2,w),w++),delete d[E]}else for(p=h[E],f=0;f<w;f++)m=m<<1|p&1,x==a-1?(x=0,S.push(c(m)),m=0):x++,p=p>>1;y--,y==0&&(y=Math.pow(2,w),w++),h[b]=v++,E=String(g)}if(E!==""){if(Object.prototype.hasOwnProperty.call(d,E)){if(E.charCodeAt(0)<256){for(f=0;f<w;f++)m=m<<1,x==a-1?(x=0,S.push(c(m)),m=0):x++;for(p=E.charCodeAt(0),f=0;f<8;f++)m=m<<1|p&1,x==a-1?(x=0,S.push(c(m)),m=0):x++,p=p>>1}else{for(p=1,f=0;f<w;f++)m=m<<1|p,x==a-1?(x=0,S.push(c(m)),m=0):x++,p=0;for(p=E.charCodeAt(0),f=0;f<16;f++)m=m<<1|p&1,x==a-1?(x=0,S.push(c(m)),m=0):x++,p=p>>1}y--,y==0&&(y=Math.pow(2,w),w++),delete d[E]}else for(p=h[E],f=0;f<w;f++)m=m<<1|p&1,x==a-1?(x=0,S.push(c(m)),m=0):x++,p=p>>1;y--,y==0&&(y=Math.pow(2,w),w++)}for(p=2,f=0;f<w;f++)m=m<<1|p&1,x==a-1?(x=0,S.push(c(m)),m=0):x++,p=p>>1;for(;;)if(m=m<<1,x==a-1){S.push(c(m));break}else x++;return S.join("")},decompress:function(l){return l==null?"":l==""?null:u._decompress(l.length,32768,function(a){return l.charCodeAt(a)})},_decompress:function(l,a,c){var f=[],p=4,h=4,d=3,g="",b=[],E,y,v,w,S,m,x,R={val:c(0),position:a,index:1};for(E=0;E<3;E+=1)f[E]=E;for(v=0,S=Math.pow(2,2),m=1;m!=S;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=a,R.val=c(R.index++)),v|=(w>0?1:0)*m,m<<=1;switch(v){case 0:for(v=0,S=Math.pow(2,8),m=1;m!=S;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=a,R.val=c(R.index++)),v|=(w>0?1:0)*m,m<<=1;x=r(v);break;case 1:for(v=0,S=Math.pow(2,16),m=1;m!=S;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=a,R.val=c(R.index++)),v|=(w>0?1:0)*m,m<<=1;x=r(v);break;case 2:return""}for(f[3]=x,y=x,b.push(x);;){if(R.index>l)return"";for(v=0,S=Math.pow(2,d),m=1;m!=S;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=a,R.val=c(R.index++)),v|=(w>0?1:0)*m,m<<=1;switch(x=v){case 0:for(v=0,S=Math.pow(2,8),m=1;m!=S;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=a,R.val=c(R.index++)),v|=(w>0?1:0)*m,m<<=1;f[h++]=r(v),x=h-1,p--;break;case 1:for(v=0,S=Math.pow(2,16),m=1;m!=S;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=a,R.val=c(R.index++)),v|=(w>0?1:0)*m,m<<=1;f[h++]=r(v),x=h-1,p--;break;case 2:return b.join("")}if(p==0&&(p=Math.pow(2,d),d++),f[x])g=f[x];else if(x===h)g=y+y.charAt(0);else return null;b.push(g),f[h++]=y+g.charAt(0),p--,y=g,p==0&&(p=Math.pow(2,d),d++)}}};return u}();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(go);var mo=go.exports;function $d(e){for(var t=[],r=0;r<e.length;){var n=e[r];if(n==="*"||n==="+"||n==="?"){t.push({type:"MODIFIER",index:r,value:e[r++]});continue}if(n==="\\"){t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if(n==="{"){t.push({type:"OPEN",index:r,value:e[r++]});continue}if(n==="}"){t.push({type:"CLOSE",index:r,value:e[r++]});continue}if(n===":"){for(var i="",s=r+1;s<e.length;){var o=e.charCodeAt(s);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||o===95){i+=e[s++];continue}break}if(!i)throw new TypeError("Missing parameter name at ".concat(r));t.push({type:"NAME",index:r,value:i}),r=s;continue}if(n==="("){var u=1,l="",s=r+1;if(e[s]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(s));for(;s<e.length;){if(e[s]==="\\"){l+=e[s++]+e[s++];continue}if(e[s]===")"){if(u--,u===0){s++;break}}else if(e[s]==="("&&(u++,e[s+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(s));l+=e[s++]}if(u)throw new TypeError("Unbalanced pattern at ".concat(r));if(!l)throw new TypeError("Missing pattern at ".concat(r));t.push({type:"PATTERN",index:r,value:l}),r=s;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}function yo(e,t){t===void 0&&(t={});for(var r=$d(e),n=t.prefixes,i=n===void 0?"./":n,s="[^".concat(Qt(t.delimiter||"/#?"),"]+?"),o=[],u=0,l=0,a="",c=function(m){if(l<r.length&&r[l].type===m)return r[l++].value},f=function(m){var x=c(m);if(x!==void 0)return x;var R=r[l],U=R.type,_=R.index;throw new TypeError("Unexpected ".concat(U," at ").concat(_,", expected ").concat(m))},p=function(){for(var m="",x;x=c("CHAR")||c("ESCAPED_CHAR");)m+=x;return m};l<r.length;){var h=c("CHAR"),d=c("NAME"),g=c("PATTERN");if(d||g){var b=h||"";i.indexOf(b)===-1&&(a+=b,b=""),a&&(o.push(a),a=""),o.push({name:d||u++,prefix:b,suffix:"",pattern:g||s,modifier:c("MODIFIER")||""});continue}var E=h||c("ESCAPED_CHAR");if(E){a+=E;continue}a&&(o.push(a),a="");var y=c("OPEN");if(y){var b=p(),v=c("NAME")||"",w=c("PATTERN")||"",S=p();f("CLOSE"),o.push({name:v||(w?u++:""),pattern:v&&!w?s:w,prefix:b,suffix:S,modifier:c("MODIFIER")||""});continue}f("END")}return o}function jd(e,t){return Dd(yo(e,t),t)}function Dd(e,t){t===void 0&&(t={});var r=cn(t),n=t.encode,i=n===void 0?function(l){return l}:n,s=t.validate,o=s===void 0?!0:s,u=e.map(function(l){if(typeof l=="object")return new RegExp("^(?:".concat(l.pattern,")$"),r)});return function(l){for(var a="",c=0;c<e.length;c++){var f=e[c];if(typeof f=="string"){a+=f;continue}var p=l?l[f.name]:void 0,h=f.modifier==="?"||f.modifier==="*",d=f.modifier==="*"||f.modifier==="+";if(Array.isArray(p)){if(!d)throw new TypeError('Expected "'.concat(f.name,'" to not repeat, but got an array'));if(p.length===0){if(h)continue;throw new TypeError('Expected "'.concat(f.name,'" to not be empty'))}for(var g=0;g<p.length;g++){var b=i(p[g],f);if(o&&!u[c].test(b))throw new TypeError('Expected all "'.concat(f.name,'" to match "').concat(f.pattern,'", but got "').concat(b,'"'));a+=f.prefix+b+f.suffix}continue}if(typeof p=="string"||typeof p=="number"){var b=i(String(p),f);if(o&&!u[c].test(b))throw new TypeError('Expected "'.concat(f.name,'" to match "').concat(f.pattern,'", but got "').concat(b,'"'));a+=f.prefix+b+f.suffix;continue}if(!h){var E=d?"an array":"a string";throw new TypeError('Expected "'.concat(f.name,'" to be ').concat(E))}}return a}}function Bd(e,t){var r=[],n=ln(e,r,t);return Cd(n,r,t)}function Cd(e,t,r){r===void 0&&(r={});var n=r.decode,i=n===void 0?function(s){return s}:n;return function(s){var o=e.exec(s);if(!o)return!1;for(var u=o[0],l=o.index,a=Object.create(null),c=function(p){if(o[p]===void 0)return"continue";var h=t[p-1];h.modifier==="*"||h.modifier==="+"?a[h.name]=o[p].split(h.prefix+h.suffix).map(function(d){return i(d,h)}):a[h.name]=i(o[p],h)},f=1;f<o.length;f++)c(f);return{path:u,index:l,params:a}}}function Qt(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function cn(e){return e&&e.sensitive?"":"i"}function Nd(e,t){if(!t)return e;for(var r=/\((?:\?<(.*?)>)?(?!\?)/g,n=0,i=r.exec(e.source);i;)t.push({name:i[1]||n++,prefix:"",suffix:"",modifier:"",pattern:""}),i=r.exec(e.source);return e}function Id(e,t,r){var n=e.map(function(i){return ln(i,t,r).source});return new RegExp("(?:".concat(n.join("|"),")"),cn(r))}function Pd(e,t,r){return kd(yo(e,r),t,r)}function kd(e,t,r){r===void 0&&(r={});for(var n=r.strict,i=n===void 0?!1:n,s=r.start,o=s===void 0?!0:s,u=r.end,l=u===void 0?!0:u,a=r.encode,c=a===void 0?function(_){return _}:a,f=r.delimiter,p=f===void 0?"/#?":f,h=r.endsWith,d=h===void 0?"":h,g="[".concat(Qt(d),"]|$"),b="[".concat(Qt(p),"]"),E=o?"^":"",y=0,v=e;y<v.length;y++){var w=v[y];if(typeof w=="string")E+=Qt(c(w));else{var S=Qt(c(w.prefix)),m=Qt(c(w.suffix));if(w.pattern)if(t&&t.push(w),S||m)if(w.modifier==="+"||w.modifier==="*"){var x=w.modifier==="*"?"?":"";E+="(?:".concat(S,"((?:").concat(w.pattern,")(?:").concat(m).concat(S,"(?:").concat(w.pattern,"))*)").concat(m,")").concat(x)}else E+="(?:".concat(S,"(").concat(w.pattern,")").concat(m,")").concat(w.modifier);else w.modifier==="+"||w.modifier==="*"?E+="((?:".concat(w.pattern,")").concat(w.modifier,")"):E+="(".concat(w.pattern,")").concat(w.modifier);else E+="(?:".concat(S).concat(m,")").concat(w.modifier)}}if(l)i||(E+="".concat(b,"?")),E+=r.endsWith?"(?=".concat(g,")"):"$";else{var R=e[e.length-1],U=typeof R=="string"?b.indexOf(R[R.length-1])>-1:R===void 0;i||(E+="(?:".concat(b,"(?=").concat(g,"))?")),U||(E+="(?=".concat(b,"|").concat(g,")"))}return new RegExp(E,cn(r))}function ln(e,t,r){return e instanceof RegExp?Nd(e,t):Array.isArray(e)?Id(e,t,r):Pd(e,t,r)}var Fd=Object.defineProperty,Md=(e,t,r)=>t in e?Fd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,le=(e,t,r)=>(Md(e,typeof t!="symbol"?t+"":t,r),r);class Ud{constructor(){le(this,"queue",[]),le(this,"isProcessing",!1),le(this,"results",[]),le(this,"cache",new Map),le(this,"pendingTasks",new Map)}add(t,r){const n=this.cache.get(t);if(n)return n.status==="fulfilled"?Promise.resolve(n.value):Promise.reject(n.reason);const i=this.pendingTasks.get(t);if(i)return i;const s=new Promise((o,u)=>{this.queue.push({key:t,task:r,resolve:o,reject:u}),this.isProcessing||this.processQueue()});return this.pendingTasks.set(t,s),s}getAllResults(){return[...this.results]}getResult(t){return this.cache.get(t)}clearCacheForKey(t){this.cache.delete(t)}clearAllCache(){this.cache.clear()}processQueue(){return k(this,null,function*(){if(this.queue.length===0){this.isProcessing=!1;return}this.isProcessing=!0;const{key:t,task:r,resolve:n,reject:i}=this.queue.shift();try{const s=this.cache.get(t);if(s){s.status==="fulfilled"?n(s.value):i(s.reason),this.pendingTasks.delete(t),this.processQueue();return}const o=yield r(),u={key:t,status:"fulfilled",value:o};this.results.push(u),this.cache.set(t,u),n(o),this.pendingTasks.delete(t)}catch(s){const o={key:t,status:"rejected",reason:s};this.results.push(o),this.cache.set(t,o),i(s),this.pendingTasks.delete(t)}finally{this.processQueue()}})}}mo.compress;mo.decompress;/**!
51
- * Copyright (c) 2025, VTJ.PRO All rights reserved.
52
- * @name @vtj/core
53
- * @author CHC chenhuachun1549@dingtalk.com
54
- * @version 0.12.65
55
- * @license <a href="https://vtj.pro/license.html">MIT License</a>
56
- */const Ld="VueMaterial",Vd="VueRouterMaterial",Hd={[Ld]:["Transition","TransitionGroup","KeepAlive","Teleport","Suspense"],[Vd]:["RouterView","RouterLink"]};let qd=class{constructor(){z(this,"listeners",[]);z(this,"isReady",!1)}triggerReady(){this.isReady=!0;for(const t of this.listeners)t();this.listeners=[]}ready(t){this.isReady?t():this.listeners.push(t)}resetReady(){this.isReady=!1}};var zd=Object.defineProperty,Kd=(e,t,r)=>t in e?zd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,lt=(e,t,r)=>Kd(e,typeof t!="symbol"?t+"":t,r);(function(){if(typeof window>"u"||typeof EventTarget>"u")return;const e=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(t,r,n){typeof n!="boolean"&&(n=n||{},n.passive=!1),e.call(this,t,r,n)}})();const Wd=e=>typeof e=="symbol";new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Wd));function vo(e,t){return function(){return e.apply(t,arguments)}}const{toString:Jd}=Object.prototype,{getPrototypeOf:fn}=Object,{iterator:Ze,toStringTag:bo}=Symbol,Qe=(e=>t=>{const r=Jd.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),gt=e=>(e=e.toLowerCase(),t=>Qe(t)===e),Xe=e=>t=>typeof t===e,{isArray:se}=Array,ye=Xe("undefined");function Yd(e){return e!==null&&!ye(e)&&e.constructor!==null&&!ye(e.constructor)&&ot(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const wo=gt("ArrayBuffer");function Gd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&wo(e.buffer),t}const Zd=Xe("string"),ot=Xe("function"),_o=Xe("number"),tr=e=>e!==null&&typeof e=="object",Qd=e=>e===!0||e===!1,Ie=e=>{if(Qe(e)!=="object")return!1;const t=fn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(bo in e)&&!(Ze in e)},Xd=gt("Date"),tg=gt("File"),eg=gt("Blob"),rg=gt("FileList"),ng=e=>tr(e)&&ot(e.pipe),ig=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ot(e.append)&&((t=Qe(e))==="formdata"||t==="object"&&ot(e.toString)&&e.toString()==="[object FormData]"))},sg=gt("URLSearchParams"),[og,ag,ug,cg]=["ReadableStream","Request","Response","Headers"].map(gt),lg=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function _e(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),se(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{const s=r?Object.getOwnPropertyNames(e):Object.keys(e),o=s.length;let u;for(n=0;n<o;n++)u=s[n],t.call(null,e[u],u,e)}}function Eo(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,i;for(;n-- >0;)if(i=r[n],t===i.toLowerCase())return i;return null}const Ft=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,So=e=>!ye(e)&&e!==Ft;function Mr(){const{caseless:e}=So(this)&&this||{},t={},r=(n,i)=>{const s=e&&Eo(t,i)||i;Ie(t[s])&&Ie(n)?t[s]=Mr(t[s],n):Ie(n)?t[s]=Mr({},n):se(n)?t[s]=n.slice():t[s]=n};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&_e(arguments[n],r);return t}const fg=(e,t,r,{allOwnKeys:n}={})=>(_e(t,(i,s)=>{r&&ot(i)?e[s]=vo(i,r):e[s]=i},{allOwnKeys:n}),e),hg=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),pg=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},dg=(e,t,r,n)=>{let i,s,o;const u={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)o=i[s],(!n||n(o,e,t))&&!u[o]&&(t[o]=e[o],u[o]=!0);e=r!==!1&&fn(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},gg=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},mg=e=>{if(!e)return null;if(se(e))return e;let t=e.length;if(!_o(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},yg=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&fn(Uint8Array)),vg=(e,t)=>{const r=(e&&e[Ze]).call(e);let n;for(;(n=r.next())&&!n.done;){const i=n.value;t.call(e,i[0],i[1])}},bg=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},wg=gt("HTMLFormElement"),_g=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,n){return r.toUpperCase()+n}),Ai=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Eg=gt("RegExp"),xo=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};_e(r,(i,s)=>{let o;(o=t(i,s,e))!==!1&&(n[s]=o||i)}),Object.defineProperties(e,n)},Sg=e=>{xo(e,(t,r)=>{if(ot(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(ot(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},xg=(e,t)=>{const r={},n=i=>{i.forEach(s=>{r[s]=!0})};return se(e)?n(e):n(String(e).split(t)),r},Tg=()=>{},Ag=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Rg(e){return!!(e&&ot(e.append)&&e[bo]==="FormData"&&e[Ze])}const Og=e=>{const t=new Array(10),r=(n,i)=>{if(tr(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[i]=n;const s=se(n)?[]:{};return _e(n,(o,u)=>{const l=r(o,i+1);!ye(l)&&(s[u]=l)}),t[i]=void 0,s}}return n};return r(e,0)},$g=gt("AsyncFunction"),jg=e=>e&&(tr(e)||ot(e))&&ot(e.then)&&ot(e.catch),To=((e,t)=>e?setImmediate:t?((r,n)=>(Ft.addEventListener("message",({source:i,data:s})=>{i===Ft&&s===r&&n.length&&n.shift()()},!1),i=>{n.push(i),Ft.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",ot(Ft.postMessage)),Dg=typeof queueMicrotask<"u"?queueMicrotask.bind(Ft):typeof process<"u"&&process.nextTick||To,Bg=e=>e!=null&&ot(e[Ze]),A={isArray:se,isArrayBuffer:wo,isBuffer:Yd,isFormData:ig,isArrayBufferView:Gd,isString:Zd,isNumber:_o,isBoolean:Qd,isObject:tr,isPlainObject:Ie,isReadableStream:og,isRequest:ag,isResponse:ug,isHeaders:cg,isUndefined:ye,isDate:Xd,isFile:tg,isBlob:eg,isRegExp:Eg,isFunction:ot,isStream:ng,isURLSearchParams:sg,isTypedArray:yg,isFileList:rg,forEach:_e,merge:Mr,extend:fg,trim:lg,stripBOM:hg,inherits:pg,toFlatObject:dg,kindOf:Qe,kindOfTest:gt,endsWith:gg,toArray:mg,forEachEntry:vg,matchAll:bg,isHTMLForm:wg,hasOwnProperty:Ai,hasOwnProp:Ai,reduceDescriptors:xo,freezeMethods:Sg,toObjectSet:xg,toCamelCase:_g,noop:Tg,toFiniteNumber:Ag,findKey:Eo,global:Ft,isContextDefined:So,isSpecCompliantForm:Rg,toJSONObject:Og,isAsyncFn:$g,isThenable:jg,setImmediate:To,asap:Dg,isIterable:Bg};function K(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status?i.status:null)}A.inherits(K,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:A.toJSONObject(this.config),code:this.code,status:this.status}}});const Ao=K.prototype,Ro={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ro[e]={value:e}});Object.defineProperties(K,Ro);Object.defineProperty(Ao,"isAxiosError",{value:!0});K.from=(e,t,r,n,i,s)=>{const o=Object.create(Ao);return A.toFlatObject(e,o,function(u){return u!==Error.prototype},u=>u!=="isAxiosError"),K.call(o,e.message,t,r,n,i),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};const Cg=null;function Ur(e){return A.isPlainObject(e)||A.isArray(e)}function Oo(e){return A.endsWith(e,"[]")?e.slice(0,-2):e}function Ri(e,t,r){return e?e.concat(t).map(function(n,i){return n=Oo(n),!r&&i?"["+n+"]":n}).join(r?".":""):t}function Ng(e){return A.isArray(e)&&!e.some(Ur)}const Ig=A.toFlatObject(A,{},null,function(e){return/^is[A-Z]/.test(e)});function er(e,t,r){if(!A.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=A.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,d){return!A.isUndefined(d[h])});const n=r.metaTokens,i=r.visitor||a,s=r.dots,o=r.indexes,u=(r.Blob||typeof Blob<"u"&&Blob)&&A.isSpecCompliantForm(t);if(!A.isFunction(i))throw new TypeError("visitor must be a function");function l(h){if(h===null)return"";if(A.isDate(h))return h.toISOString();if(A.isBoolean(h))return h.toString();if(!u&&A.isBlob(h))throw new K("Blob is not supported. Use a Buffer instead.");return A.isArrayBuffer(h)||A.isTypedArray(h)?u&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function a(h,d,g){let b=h;if(h&&!g&&typeof h=="object"){if(A.endsWith(d,"{}"))d=n?d:d.slice(0,-2),h=JSON.stringify(h);else if(A.isArray(h)&&Ng(h)||(A.isFileList(h)||A.endsWith(d,"[]"))&&(b=A.toArray(h)))return d=Oo(d),b.forEach(function(E,y){!(A.isUndefined(E)||E===null)&&t.append(o===!0?Ri([d],y,s):o===null?d:d+"[]",l(E))}),!1}return Ur(h)?!0:(t.append(Ri(g,d,s),l(h)),!1)}const c=[],f=Object.assign(Ig,{defaultVisitor:a,convertValue:l,isVisitable:Ur});function p(h,d){if(!A.isUndefined(h)){if(c.indexOf(h)!==-1)throw Error("Circular reference detected in "+d.join("."));c.push(h),A.forEach(h,function(g,b){(!(A.isUndefined(g)||g===null)&&i.call(t,g,A.isString(b)?b.trim():b,d,f))===!0&&p(g,d?d.concat(b):[b])}),c.pop()}}if(!A.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Oi(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function hn(e,t){this._pairs=[],e&&er(e,this,t)}const $o=hn.prototype;$o.append=function(e,t){this._pairs.push([e,t])};$o.toString=function(e){const t=e?function(r){return e.call(this,r,Oi)}:Oi;return this._pairs.map(function(r){return t(r[0])+"="+t(r[1])},"").join("&")};function Pg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function jo(e,t,r){if(!t)return e;const n=r&&r.encode||Pg;A.isFunction(r)&&(r={serialize:r});const i=r&&r.serialize;let s;if(i?s=i(t,r):s=A.isURLSearchParams(t)?t.toString():new hn(t,r).toString(n),s){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}let $i=class{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){A.forEach(this.handlers,function(r){r!==null&&t(r)})}};const Do={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},kg=typeof URLSearchParams<"u"?URLSearchParams:hn,Fg=typeof FormData<"u"?FormData:null,Mg=typeof Blob<"u"?Blob:null,Ug={isBrowser:!0,classes:{URLSearchParams:kg,FormData:Fg,Blob:Mg},protocols:["http","https","file","blob","url","data"]},pn=typeof window<"u"&&typeof document<"u",Lr=typeof navigator=="object"&&navigator||void 0,Lg=pn&&(!Lr||["ReactNative","NativeScript","NS"].indexOf(Lr.product)<0),Vg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Hg=pn&&window.location.href||"http://localhost",qg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:pn,hasStandardBrowserEnv:Lg,hasStandardBrowserWebWorkerEnv:Vg,navigator:Lr,origin:Hg},Symbol.toStringTag,{value:"Module"})),rt=H(H({},qg),Ug);function zg(e,t){return er(e,new rt.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,s){return rt.isNode&&A.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function Kg(e){return A.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Wg(e){const t={},r=Object.keys(e);let n;const i=r.length;let s;for(n=0;n<i;n++)s=r[n],t[s]=e[s];return t}function Bo(e){function t(r,n,i,s){let o=r[s++];if(o==="__proto__")return!0;const u=Number.isFinite(+o),l=s>=r.length;return o=!o&&A.isArray(i)?i.length:o,l?(A.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!u):((!i[o]||!A.isObject(i[o]))&&(i[o]=[]),t(r,n,i[o],s)&&A.isArray(i[o])&&(i[o]=Wg(i[o])),!u)}if(A.isFormData(e)&&A.isFunction(e.entries)){const r={};return A.forEachEntry(e,(n,i)=>{t(Kg(n),i,r,0)}),r}return null}function Jg(e,t,r){if(A.isString(e))try{return(t||JSON.parse)(e),A.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Ee={transitional:Do,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,i=A.isObject(e);if(i&&A.isHTMLForm(e)&&(e=new FormData(e)),A.isFormData(e))return n?JSON.stringify(Bo(e)):e;if(A.isArrayBuffer(e)||A.isBuffer(e)||A.isStream(e)||A.isFile(e)||A.isBlob(e)||A.isReadableStream(e))return e;if(A.isArrayBufferView(e))return e.buffer;if(A.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return zg(e,this.formSerializer).toString();if((s=A.isFileList(e))||r.indexOf("multipart/form-data")>-1){const o=this.env&&this.env.FormData;return er(s?{"files[]":e}:e,o&&new o,this.formSerializer)}}return i||n?(t.setContentType("application/json",!1),Jg(e)):e}],transformResponse:[function(e){const t=this.transitional||Ee.transitional,r=t&&t.forcedJSONParsing,n=this.responseType==="json";if(A.isResponse(e)||A.isReadableStream(e))return e;if(e&&A.isString(e)&&(r&&!this.responseType||n)){const i=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(s){if(i)throw s.name==="SyntaxError"?K.from(s,K.ERR_BAD_RESPONSE,this,null,this.response):s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:rt.classes.FormData,Blob:rt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};A.forEach(["delete","get","head","post","put","patch"],e=>{Ee.headers[e]={}});const Yg=A.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Gg=e=>{const t={};let r,n,i;return e&&e.split(`
57
- `).forEach(function(s){i=s.indexOf(":"),r=s.substring(0,i).trim().toLowerCase(),n=s.substring(i+1).trim(),!(!r||t[r]&&Yg[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},ji=Symbol("internals");function fe(e){return e&&String(e).trim().toLowerCase()}function Pe(e){return e===!1||e==null?e:A.isArray(e)?e.map(Pe):String(e)}function Zg(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Qg=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function vr(e,t,r,n,i){if(A.isFunction(n))return n.call(this,t,r);if(i&&(t=r),!!A.isString(t)){if(A.isString(n))return t.indexOf(n)!==-1;if(A.isRegExp(n))return n.test(t)}}function Xg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function tm(e,t){const r=A.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(i,s,o){return this[n].call(this,t,i,s,o)},configurable:!0})})}let at=class{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function s(u,l,a){const c=fe(l);if(!c)throw new Error("header name must be a non-empty string");const f=A.findKey(i,c);(!f||i[f]===void 0||a===!0||a===void 0&&i[f]!==!1)&&(i[f||l]=Pe(u))}const o=(u,l)=>A.forEach(u,(a,c)=>s(a,c,l));if(A.isPlainObject(t)||t instanceof this.constructor)o(t,r);else if(A.isString(t)&&(t=t.trim())&&!Qg(t))o(Gg(t),r);else if(A.isObject(t)&&A.isIterable(t)){let u={},l,a;for(const c of t){if(!A.isArray(c))throw TypeError("Object iterator must return a key-value pair");u[a=c[0]]=(l=u[a])?A.isArray(l)?[...l,c[1]]:[l,c[1]]:c[1]}o(u,r)}else t!=null&&s(r,t,n);return this}get(t,r){if(t=fe(t),t){const n=A.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return Zg(i);if(A.isFunction(r))return r.call(this,i,n);if(A.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=fe(t),t){const n=A.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||vr(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function s(o){if(o=fe(o),o){const u=A.findKey(n,o);u&&(!r||vr(n,n[u],u,r))&&(delete n[u],i=!0)}}return A.isArray(t)?t.forEach(s):s(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const s=r[n];(!t||vr(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const r=this,n={};return A.forEach(this,(i,s)=>{const o=A.findKey(n,s);if(o){r[o]=Pe(i),delete r[s];return}const u=t?Xg(s):String(s).trim();u!==s&&delete r[s],r[u]=Pe(i),n[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return A.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=t&&A.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
58
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(i=>n.set(i)),n}static accessor(t){const r=(this[ji]=this[ji]={accessors:{}}).accessors,n=this.prototype;function i(s){const o=fe(s);r[o]||(tm(n,s),r[o]=!0)}return A.isArray(t)?t.forEach(i):i(t),this}};at.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);A.reduceDescriptors(at.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});A.freezeMethods(at);function br(e,t){const r=this||Ee,n=t||r,i=at.from(n.headers);let s=n.data;return A.forEach(e,function(o){s=o.call(r,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function Co(e){return!!(e&&e.__CANCEL__)}function oe(e,t,r){K.call(this,e!=null?e:"canceled",K.ERR_CANCELED,t,r),this.name="CanceledError"}A.inherits(oe,K,{__CANCEL__:!0});function No(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new K("Request failed with status code "+r.status,[K.ERR_BAD_REQUEST,K.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function em(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function rm(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i=0,s=0,o;return t=t!==void 0?t:1e3,function(u){const l=Date.now(),a=n[s];o||(o=l),r[i]=u,n[i]=l;let c=s,f=0;for(;c!==i;)f+=r[c++],c=c%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),l-o<t)return;const p=a&&l-a;return p?Math.round(f*1e3/p):void 0}}function nm(e,t){let r=0,n=1e3/t,i,s;const o=(u,l=Date.now())=>{r=l,i=null,s&&(clearTimeout(s),s=null),e.apply(null,u)};return[(...u)=>{const l=Date.now(),a=l-r;a>=n?o(u,l):(i=u,s||(s=setTimeout(()=>{s=null,o(i)},n-a)))},()=>i&&o(i)]}const He=(e,t,r=3)=>{let n=0;const i=rm(50,250);return nm(s=>{const o=s.loaded,u=s.lengthComputable?s.total:void 0,l=o-n,a=i(l),c=o<=u;n=o;const f={loaded:o,total:u,progress:u?o/u:void 0,bytes:l,rate:a||void 0,estimated:a&&u&&c?(u-o)/a:void 0,event:s,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(f)},r)},Di=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Bi=e=>(...t)=>A.asap(()=>e(...t)),im=rt.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,rt.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(rt.origin),rt.navigator&&/(msie|trident)/i.test(rt.navigator.userAgent)):()=>!0,sm=rt.hasStandardBrowserEnv?{write(e,t,r,n,i,s){const o=[e+"="+encodeURIComponent(t)];A.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),A.isString(n)&&o.push("path="+n),A.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function om(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function am(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Io(e,t,r){let n=!om(t);return e&&(n||r==!1)?am(e,t):t}const Ci=e=>e instanceof at?H({},e):e;function Vt(e,t){t=t||{};const r={};function n(a,c,f,p){return A.isPlainObject(a)&&A.isPlainObject(c)?A.merge.call({caseless:p},a,c):A.isPlainObject(c)?A.merge({},c):A.isArray(c)?c.slice():c}function i(a,c,f,p){if(A.isUndefined(c)){if(!A.isUndefined(a))return n(void 0,a,f,p)}else return n(a,c,f,p)}function s(a,c){if(!A.isUndefined(c))return n(void 0,c)}function o(a,c){if(A.isUndefined(c)){if(!A.isUndefined(a))return n(void 0,a)}else return n(void 0,c)}function u(a,c,f){if(f in t)return n(a,c);if(f in e)return n(void 0,a)}const l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:u,headers:(a,c,f)=>i(Ci(a),Ci(c),f,!0)};return A.forEach(Object.keys(Object.assign({},e,t)),function(a){const c=l[a]||i,f=c(e[a],t[a],a);A.isUndefined(f)&&c!==u||(r[a]=f)}),r}const Po=e=>{const t=Vt({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:s,headers:o,auth:u}=t;t.headers=o=at.from(o),t.url=jo(Io(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&o.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):"")));let l;if(A.isFormData(r)){if(rt.hasStandardBrowserEnv||rt.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((l=o.getContentType())!==!1){const[a,...c]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];o.setContentType([a||"multipart/form-data",...c].join("; "))}}if(rt.hasStandardBrowserEnv&&(n&&A.isFunction(n)&&(n=n(t)),n||n!==!1&&im(t.url))){const a=i&&s&&sm.read(s);a&&o.set(i,a)}return t},um=typeof XMLHttpRequest<"u",cm=um&&function(e){return new Promise(function(t,r){const n=Po(e);let i=n.data;const s=at.from(n.headers).normalize();let{responseType:o,onUploadProgress:u,onDownloadProgress:l}=n,a,c,f,p,h;function d(){p&&p(),h&&h(),n.cancelToken&&n.cancelToken.unsubscribe(a),n.signal&&n.signal.removeEventListener("abort",a)}let g=new XMLHttpRequest;g.open(n.method.toUpperCase(),n.url,!0),g.timeout=n.timeout;function b(){if(!g)return;const y=at.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),v={data:!o||o==="text"||o==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:y,config:e,request:g};No(function(w){t(w),d()},function(w){r(w),d()},v),g=null}"onloadend"in g?g.onloadend=b:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(b)},g.onabort=function(){g&&(r(new K("Request aborted",K.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new K("Network Error",K.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let y=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const v=n.transitional||Do;n.timeoutErrorMessage&&(y=n.timeoutErrorMessage),r(new K(y,v.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,e,g)),g=null},i===void 0&&s.setContentType(null),"setRequestHeader"in g&&A.forEach(s.toJSON(),function(y,v){g.setRequestHeader(v,y)}),A.isUndefined(n.withCredentials)||(g.withCredentials=!!n.withCredentials),o&&o!=="json"&&(g.responseType=n.responseType),l&&([f,h]=He(l,!0),g.addEventListener("progress",f)),u&&g.upload&&([c,p]=He(u),g.upload.addEventListener("progress",c),g.upload.addEventListener("loadend",p)),(n.cancelToken||n.signal)&&(a=y=>{g&&(r(!y||y.type?new oe(null,e,g):y),g.abort(),g=null)},n.cancelToken&&n.cancelToken.subscribe(a),n.signal&&(n.signal.aborted?a():n.signal.addEventListener("abort",a)));const E=em(n.url);if(E&&rt.protocols.indexOf(E)===-1){r(new K("Unsupported protocol "+E+":",K.ERR_BAD_REQUEST,e));return}g.send(i||null)})},lm=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,i;const s=function(a){if(!i){i=!0,u();const c=a instanceof Error?a:this.reason;n.abort(c instanceof K?c:new oe(c instanceof Error?c.message:c))}};let o=t&&setTimeout(()=>{o=null,s(new K(`timeout ${t} of ms exceeded`,K.ETIMEDOUT))},t);const u=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(s):a.removeEventListener("abort",s)}),e=null)};e.forEach(a=>a.addEventListener("abort",s));const{signal:l}=n;return l.unsubscribe=()=>A.asap(u),l}},fm=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,i;for(;n<r;)i=n+t,yield e.slice(n,i),n=i},hm=function(e,t){return ur(this,null,function*(){try{for(var r=vn(pm(e)),n,i,s;n=!(i=yield new Ct(r.next())).done;n=!1){const o=i.value;yield*cr(fm(o,t))}}catch(i){s=[i]}finally{try{n&&(i=r.return)&&(yield new Ct(i.call(r)))}finally{if(s)throw s[0]}}})},pm=function(e){return ur(this,null,function*(){if(e[Symbol.asyncIterator]){yield*cr(e);return}const t=e.getReader();try{for(;;){const{done:r,value:n}=yield new Ct(t.read());if(r)break;yield n}}finally{yield new Ct(t.cancel())}})},Ni=(e,t,r,n)=>{const i=hm(e,t);let s=0,o,u=a=>{o||(o=!0,n&&n(a))};return new ReadableStream({pull(a){return k(this,null,function*(){try{const{done:c,value:f}=yield i.next();if(c){u(),a.close();return}let p=f.byteLength;if(r){let h=s+=p;r(h)}a.enqueue(new Uint8Array(f))}catch(c){throw u(c),c}})},cancel(a){return u(a),i.return()}},{highWaterMark:2})},rr=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ko=rr&&typeof ReadableStream=="function",dm=rr&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):e=>k(null,null,function*(){return new Uint8Array(yield new Response(e).arrayBuffer())})),Fo=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},gm=ko&&Fo(()=>{let e=!1;const t=new Request(rt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ii=64*1024,Vr=ko&&Fo(()=>A.isReadableStream(new Response("").body)),qe={stream:Vr&&(e=>e.body)};rr&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!qe[t]&&(qe[t]=A.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new K(`Response type '${t}' is not supported`,K.ERR_NOT_SUPPORT,n)})})})(new Response);const mm=e=>k(null,null,function*(){if(e==null)return 0;if(A.isBlob(e))return e.size;if(A.isSpecCompliantForm(e))return(yield new Request(rt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(A.isArrayBufferView(e)||A.isArrayBuffer(e))return e.byteLength;if(A.isURLSearchParams(e)&&(e=e+""),A.isString(e))return(yield dm(e)).byteLength}),ym=(e,t)=>k(null,null,function*(){const r=A.toFiniteNumber(e.getContentLength());return r!=null?r:mm(t)}),vm=rr&&(e=>k(null,null,function*(){let{url:t,method:r,data:n,signal:i,cancelToken:s,timeout:o,onDownloadProgress:u,onUploadProgress:l,responseType:a,headers:c,withCredentials:f="same-origin",fetchOptions:p}=Po(e);a=a?(a+"").toLowerCase():"text";let h=lm([i,s&&s.toAbortSignal()],o),d;const g=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let b;try{if(l&&gm&&r!=="get"&&r!=="head"&&(b=yield ym(c,n))!==0){let S=new Request(t,{method:"POST",body:n,duplex:"half"}),m;if(A.isFormData(n)&&(m=S.headers.get("content-type"))&&c.setContentType(m),S.body){const[x,R]=Di(b,He(Bi(l)));n=Ni(S.body,Ii,x,R)}}A.isString(f)||(f=f?"include":"omit");const E="credentials"in Request.prototype;d=new Request(t,et(H({},p),{signal:h,method:r.toUpperCase(),headers:c.normalize().toJSON(),body:n,duplex:"half",credentials:E?f:void 0}));let y=yield fetch(d,p);const v=Vr&&(a==="stream"||a==="response");if(Vr&&(u||v&&g)){const S={};["status","statusText","headers"].forEach(U=>{S[U]=y[U]});const m=A.toFiniteNumber(y.headers.get("content-length")),[x,R]=u&&Di(m,He(Bi(u),!0))||[];y=new Response(Ni(y.body,Ii,x,()=>{R&&R(),g&&g()}),S)}a=a||"text";let w=yield qe[A.findKey(qe,a)||"text"](y,e);return!v&&g&&g(),yield new Promise((S,m)=>{No(S,m,{data:w,headers:at.from(y.headers),status:y.status,statusText:y.statusText,config:e,request:d})})}catch(E){throw g&&g(),E&&E.name==="TypeError"&&/Load failed|fetch/i.test(E.message)?Object.assign(new K("Network Error",K.ERR_NETWORK,e,d),{cause:E.cause||E}):K.from(E,E&&E.code,e,d)}})),Hr={http:Cg,xhr:cm,fetch:vm};A.forEach(Hr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(r){}Object.defineProperty(e,"adapterName",{value:t})}});const Pi=e=>`- ${e}`,bm=e=>A.isFunction(e)||e===null||e===!1,Mo={getAdapter:e=>{e=A.isArray(e)?e:[e];const{length:t}=e;let r,n;const i={};for(let s=0;s<t;s++){r=e[s];let o;if(n=r,!bm(r)&&(n=Hr[(o=String(r)).toLowerCase()],n===void 0))throw new K(`Unknown adapter '${o}'`);if(n)break;i[o||"#"+s]=n}if(!n){const s=Object.entries(i).map(([u,l])=>`adapter ${u} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=t?s.length>1?`since :
59
- `+s.map(Pi).join(`
60
- `):" "+Pi(s[0]):"as no adapter specified";throw new K("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return n},adapters:Hr};function wr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new oe(null,e)}function ki(e){return wr(e),e.headers=at.from(e.headers),e.data=br.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Mo.getAdapter(e.adapter||Ee.adapter)(e).then(function(t){return wr(e),t.data=br.call(e,e.transformResponse,t),t.headers=at.from(t.headers),t},function(t){return Co(t)||(wr(e),t&&t.response&&(t.response.data=br.call(e,e.transformResponse,t.response),t.response.headers=at.from(t.response.headers))),Promise.reject(t)})}const Uo="1.10.0",nr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{nr[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Fi={};nr.transitional=function(e,t,r){function n(i,s){return"[Axios v"+Uo+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,o)=>{if(e===!1)throw new K(n(s," has been removed"+(t?" in "+t:"")),K.ERR_DEPRECATED);return t&&!Fi[s]&&(Fi[s]=!0,console.warn(n(s," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,s,o):!0}};nr.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function wm(e,t,r){if(typeof e!="object")throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const s=n[i],o=t[s];if(o){const u=e[s],l=u===void 0||o(u,s,e);if(l!==!0)throw new K("option "+s+" must be "+l,K.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new K("Unknown option "+s,K.ERR_BAD_OPTION)}}const ke={assertOptions:wm,validators:nr},mt=ke.validators;let Mt=class{constructor(t){this.defaults=t||{},this.interceptors={request:new $i,response:new $i}}request(t,r){return k(this,null,function*(){try{return yield this._request(t,r)}catch(n){if(n instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{n.stack?s&&!String(n.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(n.stack+=`
61
- `+s):n.stack=s}catch(o){}}throw n}})}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Vt(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:s}=r;n!==void 0&&ke.assertOptions(n,{silentJSONParsing:mt.transitional(mt.boolean),forcedJSONParsing:mt.transitional(mt.boolean),clarifyTimeoutError:mt.transitional(mt.boolean)},!1),i!=null&&(A.isFunction(i)?r.paramsSerializer={serialize:i}:ke.assertOptions(i,{encode:mt.function,serialize:mt.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),ke.assertOptions(r,{baseUrl:mt.spelling("baseURL"),withXsrfToken:mt.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=s&&A.merge(s.common,s[r.method]);s&&A.forEach(["delete","get","head","post","put","patch","common"],d=>{delete s[d]}),r.headers=at.concat(o,s);const u=[];let l=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(r)===!1||(l=l&&d.synchronous,u.unshift(d.fulfilled,d.rejected))});const a=[];this.interceptors.response.forEach(function(d){a.push(d.fulfilled,d.rejected)});let c,f=0,p;if(!l){const d=[ki.bind(this),void 0];for(d.unshift.apply(d,u),d.push.apply(d,a),p=d.length,c=Promise.resolve(r);f<p;)c=c.then(d[f++],d[f++]);return c}p=u.length;let h=r;for(f=0;f<p;){const d=u[f++],g=u[f++];try{h=d(h)}catch(b){g.call(this,b);break}}try{c=ki.call(this,h)}catch(d){return Promise.reject(d)}for(f=0,p=a.length;f<p;)c=c.then(a[f++],a[f++]);return c}getUri(t){t=Vt(this.defaults,t);const r=Io(t.baseURL,t.url,t.allowAbsoluteUrls);return jo(r,t.params,t.paramsSerializer)}};A.forEach(["delete","get","head","options"],function(e){Mt.prototype[e]=function(t,r){return this.request(Vt(r||{},{method:e,url:t,data:(r||{}).data}))}});A.forEach(["post","put","patch"],function(e){function t(r){return function(n,i,s){return this.request(Vt(s||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}Mt.prototype[e]=t(),Mt.prototype[e+"Form"]=t(!0)});let _m=class Lo{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(i=>{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](i);n._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(u=>{n.subscribe(u),s=u}).then(i);return o.cancel=function(){n.unsubscribe(s)},o},t(function(i,s,o){n.reason||(n.reason=new oe(i,s,o),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Lo(function(r){t=r}),cancel:t}}};function Em(e){return function(t){return e.apply(null,t)}}function Sm(e){return A.isObject(e)&&e.isAxiosError===!0}const qr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(qr).forEach(([e,t])=>{qr[t]=e});function Vo(e){const t=new Mt(e),r=vo(Mt.prototype.request,t);return A.extend(r,Mt.prototype,t,{allOwnKeys:!0}),A.extend(r,t,null,{allOwnKeys:!0}),r.create=function(n){return Vo(Vt(e,n))},r}const Q=Vo(Ee);Q.Axios=Mt;Q.CanceledError=oe;Q.CancelToken=_m;Q.isCancel=Co;Q.VERSION=Uo;Q.toFormData=er;Q.AxiosError=K;Q.Cancel=Q.CanceledError;Q.all=function(e){return Promise.all(e)};Q.spread=Em;Q.isAxiosError=Sm;Q.mergeConfig=Vt;Q.AxiosHeaders=at;Q.formToJSON=e=>Bo(A.isHTMLForm(e)?new FormData(e):e);Q.getAdapter=Mo.getAdapter;Q.HttpStatusCode=qr;Q.default=Q;const{Axios:Q0,AxiosError:X0,CanceledError:t1,isCancel:e1,CancelToken:r1,VERSION:n1,all:i1,Cancel:s1,isAxiosError:o1,spread:a1,toFormData:u1,AxiosHeaders:c1,HttpStatusCode:l1,formToJSON:f1,getAdapter:h1,mergeConfig:p1}=Q,xm={form:"application/x-www-form-urlencoded",json:"application/json",data:"multipart/form-data"},Tm=["put","post","patch"],Mi="Local-Request-Id",Am=100,Rm=300;let Om=class{constructor(e={}){lt(this,"axios"),lt(this,"settings"),lt(this,"records",{}),lt(this,"isLoading",!1),lt(this,"stopSkipWarn"),lt(this,"showLoading"),lt(this,"showError"),this.settings=Object.assign({type:"form"},e.settings||{});const t=yr(e,["settings","query"]);this.axios=Q.create(he({headers:{"Content-Type":"application/x-www-form-urlencoded"},timeout:120*1e3},t)),this.setupSkipWarn(this.settings),this.showLoading=Js(this.openLoading.bind(this),Am),this.showError=qp(this._showError.bind(this),Rm,{leading:!0,trailing:!1})}setConfig(e={}){this.settings=he(this.settings,e.settings||{});const t=yr(e,["settings","query"]);this.axios.defaults=he(this.axios.defaults,t),this.setupSkipWarn(this.settings)}cancel(e,t="请求已取消"){if(e){const r=this.records[e];if(!r)return;r.source.cancel(t)}else for(const r of Object.values(this.records))r.source.cancel(t)}createHeaders(e,t,r){const n=t.injectHeaders?typeof t.headers=="function"?t.headers(e,r,t):t.headers||{}:{},i=H(H({"Content-Type":xm[t.type||"form"]},r.headers),n);return t.skipWarn&&(i[Mi]=e),i}isJsonType(e){return Object.entries(e).some(([t,r])=>t.toLowerCase()==="content-type"&&String(r).includes("application/json"))}toFormData(e,t="data"){if(e instanceof FormData||e instanceof URLSearchParams)return e;const r=t==="data"?new FormData:new URLSearchParams;return Object.entries(e).forEach(([n,i])=>{r.append(n,i)}),r}createSendData(e,t,r,n,i={}){const{type:s,skipWarn:o}=e,{name:u="skipWarn"}=o||{};let{data:l,params:a={},method:c="get"}=t;const f=n?{[u]:!0}:{};return Tm.includes(c.toLowerCase())?(l=Object.assign(l||{},f),l=s!=="json"||!this.isJsonType(r)?this.toFormData(l,s):l,a=H({},i)):s==="form"?a=H(H(H({},l||{}),i),f):(l&&(s!=="json"||!this.isJsonType(r))&&(l=this.toFormData(l,s)),a=H(H({},i),f)),{data:l,params:a}}createUrl(e){let{url:t,params:r}=e;if(t){let n=lo(t)?new URL(t).origin:"";const i=n?t.replace(n,""):t;try{const s=jd(i,{encode:encodeURIComponent});return n+s(r||{})}catch(s){console.warn("createUrl","pathToRegexpCompile error",t)}}return t}openLoading(e){const{loading:t,showLoading:r}=e;t&&r&&Object.keys(this.records).length>0&&(this.isLoading=!0,r())}closeLoading(e){const{loading:t,hideLoading:r}=e;if(!t)return;this.isLoading=!1;const n=Object.keys(this.records);r&&n.length===0&&(this.isLoading=!1,r())}_showError(e,t){var i;const{failMessage:r,showError:n}=e;if(r&&n){const s=(i=t==null?void 0:t.response)==null?void 0:i.data,o=(s==null?void 0:s.message)||(s==null?void 0:s.msg)||(t==null?void 0:t.message)||(t==null?void 0:t.msg)||"未知错误";n(o,t)}}validResponse(e,t){const{validSuccess:r,validate:n}=e;return r&&n?!!n(t):!0}isSkipWarnResponse(e){return!!e.promise}send(e={},t=!1){const r=he({},this.settings,e.settings||{}),n=e.query||{},i=yr(e,["settings","query"]),s=Td(!1),o=Q.CancelToken.source();this.records[s]={settings:r,config:i,source:o};const u=this.createUrl(i),l=this.createHeaders(s,r,i),{data:a,params:c}=this.createSendData(r,i,l,t,n);return this.showLoading(r),new Promise((f,p)=>{this.axios(et(H({cancelToken:o.token},i),{url:u,headers:l,data:a,params:c})).then(h=>{var d;return this.isSkipWarnResponse(h)?f(h.promise):this.validResponse(r,h)?f(r.originResponse?h:(d=h.data)==null?void 0:d.data):(this.showError(r,h.data),p(h.data))}).catch(h=>(this.showError(r,h),p(h))).finally(()=>{delete this.records[s],this.closeLoading(r)})})}useResponse(e,t){const{response:r}=this.axios.interceptors,n=r.use(e,t);return()=>r.eject(n)}useRequest(e,t){const{request:r}=this.axios.interceptors,n=r.use(e,t);return()=>r.eject(n)}setupSkipWarn(e){if(this.stopSkipWarn&&(this.stopSkipWarn(),this.stopSkipWarn=void 0),!e.skipWarn)return;const{code:t,executor:r,callback:n,complete:i}=e.skipWarn;this.stopSkipWarn=this.useResponse(s=>{const o=(s.config.headers||{})[Mi],u=this.records[o];if(!u)return s;const{data:l}=s;if(!l||typeof l!="object")return s;if((l==null?void 0:l.code)===t){n&&n(s);const a=new Promise(r).then(()=>this.send(et(H({},u.config),{settings:u.settings}),!0));a.catch(c=>c).finally(()=>{i&&i()}),s.promise=a}return s})}};function dn(e={}){const t=new Om(e),r=t.send.bind(t),n=t.cancel.bind(t),i=t.setConfig.bind(t),s=t.useRequest.bind(t),o=t.useResponse.bind(t);return Object.assign(r,et(H({},t),{instance:t,send:r,cancel:n,setConfig:i,useRequest:s,useResponse:o}))}const zr=dn({settings:{injectHeaders:!0,loading:!0,originResponse:!0}}),Kr=typeof window<"u";function $m(e){const t={};return e?(e.forEach((r,n)=>{t[n]=typeof r=="string"?decodeURIComponent(r):r}),t):{}}let Ho=class{constructor(t={}){lt(this,"options",{type:"cache",expired:0,prefix:"__VTJ_"}),lt(this,"caches",{}),lt(this,"types"),this.types={local:Kr?window.localStorage:this.caches,session:Kr?window.sessionStorage:this.caches,cache:this.caches},this.config(t)}config(t={}){this.options=Object.assign(this.options,t)}save(t,r,n={}){const{type:i,expired:s,prefix:o}=H(H({},this.options),n),u=Date.now(),l=o+t,a=this.types[i]||this.caches,c={value:r,timestamp:u,expired:s};a===this.caches?a[l]=c:a.setItem(l,JSON.stringify(c))}get(t,r={}){const{type:n,prefix:i}=H(H({},this.options),r),s=i+t,o=this.types[n]||this.caches;let u;if(o===this.caches)u=o[s];else{const f=o.getItem(s);f&&(u=JSON.parse(f))}if(!u)return null;const{value:l,timestamp:a,expired:c}=u;return c>0&&a+c<Date.now()?(this.remove(t,r),null):l}remove(t,r={}){const{type:n,prefix:i}=H(H({},this.options),r),s=this.types[n]||this.caches,o=i+t;s===this.caches?delete s[o]:s.removeItem(o)}clear(t={}){const{type:r}=H(H({},this.options),t),n=this.types[r]||this.caches;n===this.caches?this.caches={}:n.clear()}};const _r=new Ho;function qo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fe={exports:{}},jm=Fe.exports,Ui;function Dm(){return Ui||(Ui=1,function(e,t){(function(r,n){n(t,e)})(jm,function(r,n){var i={timeout:5e3,jsonpCallback:"callback"};function s(){return"jsonp_"+Date.now()+"_"+Math.ceil(Math.random()*1e5)}function o(a){try{delete window[a]}catch(c){window[a]=void 0}}function u(a){var c=document.getElementById(a);c&&document.getElementsByTagName("head")[0].removeChild(c)}function l(a){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],f=a,p=c.timeout||i.timeout,h=c.jsonpCallback||i.jsonpCallback,d=void 0;return new Promise(function(g,b){var E=c.jsonpCallbackFunction||s(),y=h+"_"+E;window[E]=function(w){g({ok:!0,json:function(){return Promise.resolve(w)}}),d&&clearTimeout(d),u(y),o(E)},f+=f.indexOf("?")===-1?"?":"&";var v=document.createElement("script");v.setAttribute("src",""+f+h+"="+E),c.charset&&v.setAttribute("charset",c.charset),c.nonce&&v.setAttribute("nonce",c.nonce),c.referrerPolicy&&v.setAttribute("referrerPolicy",c.referrerPolicy),c.crossorigin&&v.setAttribute("crossorigin","true"),v.id=y,document.getElementsByTagName("head")[0].appendChild(v),d=setTimeout(function(){b(new Error("JSONP request to "+a+" timed out")),o(E),u(y),window[E]=function(){o(E)}},p),v.onerror=function(){b(new Error("JSONP request to "+a+" failed")),o(E),u(y),d&&clearTimeout(d)}})}n.exports=l})}(Fe,Fe.exports)),Fe.exports}var Bm=Dm();const Cm=qo(Bm);function Nm(e){if(Kr){const{protocol:t,host:r,pathname:n}=location;return`${t}//${r}${e?n:""}`}else return null}function Im(e=""){const t=e.match(co);return t?t[0]:""}function zo(e){const t=[];for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push([r,encodeURIComponent(e[r])].join("="));return t.join("&")}function Wr(e,t,r){const n={};e=(e||location.search).replace(/^[^]*\?/,""),t=t||"&",r=r||"=";let i;const s=new RegExp("(?:^|\\"+t+")([^\\"+r+"\\"+t+"]+)(?:\\"+r+"([^\\"+t+"]*))?","g");for(;(i=s.exec(e))!==null;)i[1]!==e&&(n[decodeURIComponent(i[1])]=decodeURIComponent(i[2]||""));return n}function Ko(e,t){t=typeof t=="string"?Wr(t):t;const r=e.split("?")[0],n=Wr(e),i=Object.assign({},n,t),s=zo(i);return s?[r,s].join("?"):e}const Me=Object.freeze(Object.defineProperty({__proto__:null,append:Ko,getCurrentHost:Nm,getHost:Im,parse:Wr,stringify:zo},Symbol.toStringTag,{value:"Module"}));function Wo(r){return k(this,arguments,function*(e,t={}){const{query:n={}}=t;e.includes("${")&&(e=Vp(e)(n||{}));const i=Ko(e,n);return yield(yield Cm(i,t)).json()})}var Er,Li;function Pm(){if(Li)return Er;Li=1,Er=function(n,i,s){var o=document.head||document.getElementsByTagName("head")[0],u=document.createElement("script");typeof i=="function"&&(s=i,i={}),i=i||{},s=s||function(){},u.type=i.type||"text/javascript",u.charset=i.charset||"utf8",u.async="async"in i?!!i.async:!0,u.src=n,i.attrs&&e(u,i.attrs),i.text&&(u.text=""+i.text);var l="onload"in u?t:r;l(u,s),u.onload||t(u,s),o.appendChild(u)};function e(n,i){for(var s in i)n.setAttribute(s,i[s])}function t(n,i){n.onload=function(){this.onerror=this.onload=null,i(null,n)},n.onerror=function(){this.onerror=this.onload=null,i(new Error("Failed to load "+this.src),n)}}function r(n,i){n.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,i(null,n))}}return Er}var km=Pm();const Fm=qo(km);function Vi(e,t={}){return new Promise((r,n)=>{const{library:i}=t;Fm(e,t,(s,o)=>{s?n(s):r(i?window[i]:void 0)})})}const Hi={debug:-1,log:0,info:0,warn:1,error:2},Mm=function(e,t,r,n){return function(...i){if(t&&Hi[t]<=Hi[e]&&console[e].apply&&(n==="*"||r.startsWith(n)))return console[e].apply(console,Um(i,r))}};function Um(e,t){return t!=="*"&&(typeof e[0]=="string"?e[0]=`[${t}] ${e[0]}`:e=["["+t+"]"].concat(e)),e}function Lm(e,t){if(!e)return{targetLevel:t.level,targetBizName:t.bizName};if(~e.indexOf(":")){const r=e.split(":");return{targetLevel:r[0],targetBizName:r[1]}}return{targetLevel:e,targetBizName:"*"}}const Vm={level:"warn",bizName:"*"};class Hm{constructor(t){lt(this,"config"),lt(this,"options"),this.options=H(H({},Vm),t);const r=typeof location<"u"?location:{},n=(/__(?:logConf|logLevel)__=([^#/&]*)/.exec(r.href)||[])[1];this.config=Lm(n,t)}_log(t){const{targetLevel:r,targetBizName:n}=this.config,{bizName:i}=this.options;return Mm(t,r,i,n)}debug(...t){return this._log("debug")(...t)}log(...t){return this._log("log")(...t)}info(...t){return this._log("info")(...t)}warn(...t){return this._log("warn")(...t)}error(...t){return this._log("error")(...t)}}function qm(e){return new Hm(e)}const te=qm({level:"log",bizName:"VTJ"});/*! js-cookie v3.0.5 | MIT */function De(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var zm={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Jr(e,t){function r(i,s,o){if(!(typeof document>"u")){o=De({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var u="";for(var l in o)o[l]&&(u+="; "+l,o[l]!==!0&&(u+="="+o[l].split(";")[0]));return document.cookie=i+"="+e.write(s,i)+u}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var s=document.cookie?document.cookie.split("; "):[],o={},u=0;u<s.length;u++){var l=s[u].split("="),a=l.slice(1).join("=");try{var c=decodeURIComponent(l[0]);if(o[c]=e.read(a,c),i===c)break}catch(f){}}return i?o[i]:o}}return Object.create({set:r,get:n,remove:function(i,s){r(i,"",De({},s,{expires:-1}))},withAttributes:function(i){return Jr(this.converter,De({},this.attributes,i))},withConverter:function(i){return Jr(De({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var gn=Jr(zm,{path:"/"});function Km(e,t,r){gn.set(e,t,r)}function Wm(e){return gn.get(e)}function Jm(e,t){gn.remove(e,t)}const Sr=Object.freeze(Object.defineProperty({__proto__:null,get:Wm,remove:Jm,set:Km},Symbol.toStringTag,{value:"Module"}));/**!
62
- * Copyright (c) 2025, VTJ.PRO All rights reserved.
63
- * @name @vtj/renderer
64
- * @author CHC chenhuachun1549@dingtalk.com
65
- * @version 0.12.65
66
- * @license <a href="https://vtj.pro/license.html">MIT License</a>
67
- */const xr="0.12.65";var tt=(e=>(e.Runtime="Runtime",e.Design="Design",e.Raw="Raw",e.VNode="VNode",e))(tt||{});const qi=["$el","$emit","$nextTick","$parent","$root","$attrs","$slots","$watch","$props","$options","$forceUpdate"],Ym=["vIf","vElseIf","vElse","vShow","vModel","vFor","vBind","vHtml"],Gm={String,Number,Boolean,Array,Object,Function,Date},Ue="VtjPage",Tr="VtjHomepage",Zm="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot,svg".split(","),Qm="component,slot".split(",");function Be(e,t){return e.map(r=>lo(r)||r.startsWith("/")?r:`${t}${r}`)}function ir(e){return/\.css$/.test(e)}function sr(e){return/\.js$/.test(e)}function Xm(e){return/\.json$/.test(e)}function ty(e,t=!1){return t&&e.endsWith(".prod.js")?e.replace(".prod.js",".js"):e}function ey(e,t,r=!1){const n=e.filter(p=>!!p.enabled),i=[],s=[],o=[],u=[],l={},a={},c=[],f={};return n.forEach(({urls:p,assetsUrl:h,library:d,assetsLibrary:g,localeLibrary:b})=>{p==null||p.forEach(E=>{sr(E)&&i.push(ty(E,r)),ir(E)&&s.push(E)}),d&&(u.push(d),l[d]=Be(p||[],t),b&&(a[d]=b)),h&&o.push(h),g&&c.push(g),d&&g&&(f[g]=d)}),{scripts:Be(i,t),css:Be(s,t),materials:Be(o,t),libraryExports:u,materialExports:Rd(c),materialMapLibrary:f,libraryMap:l,libraryLocaleMap:a}}function ry(e,t){var s;const{name:r,parent:n,alias:i}=e;return n?(s=t[n])==null?void 0:s[i||r]:t[i||r]}function ny(e=[]){const t=e.filter(n=>ir(n)),r=e.filter(n=>sr(n));return{css:t,js:r}}function iy(e,t){const r=a=>{const c=[];let f=0;for(;f<a.length;){if(/\s/.test(a[f])){f++;continue}if(a.substring(f,f+2)==="/*"){const E=a.indexOf("*/",f+2);if(E!==-1){f=E+2;continue}}if(a[f]==="@"){const E=f;for(;f<a.length&&a[f]!=="{"&&a[f]!==";";)f++;const y=a.substring(E,f).trim(),v=y.includes("@keyframes");if(a[f]===";")c.push({type:"simple-at-rule",content:a.substring(E,f+1)}),f++;else if(a[f]==="{"){const w=f+1;let S=1;for(f++;f<a.length&&S>0;)a[f]==="{"?S++:a[f]==="}"&&S--,f++;const m=a.substring(E,f),x=a.substring(w,f-1);c.push({type:v?"keyframes":"at-rule",rule:y,content:m,inner:x})}continue}const p=f;for(;f<a.length&&a[f]!=="{";)f++;if(f>=a.length)break;const h=a.substring(p,f).trim();if(!h){f++;continue}const d=f+1;let g=1;for(f++;f<a.length&&g>0;)a[f]==="{"?g++:a[f]==="}"&&g--,f++;const b=a.substring(d,f-1);c.push({type:"rule",selector:h,content:b.trim()})}return c},n=a=>{const c=a.trim();return/^(from|to|\d+(\.\d+)?%)$/.test(c)},i=a=>a.replace(/::v-deep\(/g,":deep(").replace(/::v-deep\s+/g,":deep(").replace(/\/deep\//g," ").replace(/>>>/g," ").replace(/(.*?):deep\(([^)]+)\)/g,(c,f,p)=>{const h=f.trim(),d=p.trim();return h?`${h}[${t}] ${d}`:d}),s=a=>{const c=a.trim();if(!c||c.includes(`[${t}]`)||/^(:root|:host|html|body)(\s|$|:|\.|\#|\[)/.test(c)||n(c))return c;const f=c.match(/^(.+?)((?:::?[\w-]+(?:\([^)]*\))?)*)\s*$/);if(f){const[,p,h=""]=f,d=p.trim();return d?`${d}[${t}]${h}`:c}return`${c}[${t}]`},o=a=>i(a).split(",").map(c=>s(c)).filter(c=>c.trim()).join(", "),u=a=>a.map(c=>{switch(c.type){case"simple-at-rule":return c.content;case"keyframes":return c.content;case"at-rule":try{const p=r(c.inner),h=u(p);return`${c.rule} { ${h} }`}catch(p){return c.content}case"rule":if(!c.selector||!c.content)return"";const f=o(c.selector);return f.trim()?`${f} { ${c.content} }`:"";default:return""}}).filter(c=>c.trim()).join(" "),l=a=>a.replace(/\s*{\s*/g," { ").replace(/\s*}\s*/g," } ").replace(/\s*;\s*/g,"; ").replace(/\s*,\s*/g,", ").replace(/\s+/g," ").replace(/^\s+|\s+$/g,"").replace(/\s*}\s*}/g," } }").trim();try{const a=e.replace(/\/\*(?!\s*!)[\s\S]*?\*\//g,"").replace(/^\s+|\s+$/gm,"").replace(/\n\s*\n/g,`
68
- `),c=r(a),f=u(c);return l(f)}catch(a){return console.error("CSS scoping failed:",a),console.error("Input CSS:",e),e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/(@keyframes\s+[^{]+\s*{[^{}]*(?:{[^}]*}[^{}]*)*})/g,c=>c).replace(/([^{}@]+)(?=\s*{)/g,c=>{const f=c.trim();return!f||f.startsWith("@")||f.includes(`[${t}]`)||n(f)?c:`${f}[${t}]`})}}function Jo(e){return $t(e)?e:JSON.stringify(e)}function mn(e,t,r,n=!1){const i=e.CSSStyleSheet,s=n?`data-v-${t}`:t,o=n?iy(r,s):r;if(i.prototype.replaceSync){const u=new i;u.id=t,u.replaceSync(o);const l=e.document,a=l.adoptedStyleSheets,c=Array.from(a).filter(f=>f.id!==t);l.adoptedStyleSheets=[...c,u]}else{const u=e.document;let l=u.getElementById(t);l?l.innerHTML=o:(l=u.createElement("style"),l.id=t,l.innerHTML=o,u.head.appendChild(l))}}function sy(e,t){return k(this,null,function*(){const r=yield window.fetch(t).then(n=>n.text()).catch(()=>"");r&&mn(window,e,r)})}function Yo(e,t=window){const r=t.document,n=t.document.head;for(const i of e)if(!r.getElementById(i)){const s=r.createElement("link");s.rel="stylesheet",s.id=i,s.href=i,n.appendChild(s)}}function Go(n,i){return k(this,arguments,function*(e,t,r=window){const s=r.document,o=r.document.head;let u=r[t];return u?u.default||u:new Promise((l,a)=>{for(const c of e){const f=s.createElement("script");f.src=c,f.onload=()=>{u=r[t],u?l(u.default||u):a(null)},f.onerror=p=>{a(p)},o.appendChild(f)}})})}function oy(e){return Lt(e)||Lt(e==null?void 0:e.install)}function ay(e){return Qm.includes(e)}function uy(e){return Zm.includes(e)}function ve(e=window){const t=window==null?void 0:window.Mock;if(t)return t;const r=e==null?void 0:e.Mock;if(r&&window)return window.Mock=r,r}function be(e,t,r=!1,n=!1){var i;try{const s=['"use strict";',"var __self = arguments[0];"];s.push("return ");let o=(e.value||"").trim();o=o.replace(/this(\W|$)/g,(l,a)=>`__self${a}`),o=s.join(`
69
- `)+o;const u=`with(${r?"{}":"$scope || {}"}) { ${o} }`;return new Function("$scope",u)(t)}catch(s){if(te.error("parseExpression.error",s,e,(i=t==null?void 0:t.__self)!=null?i:t),n)throw s}}function ze(e,t,r=!1,n=!1){var s;const i=be(e,t,r,n);if(typeof i!="function"&&(te.error("parseFunction.error","not a function",e,(s=t==null?void 0:t.__self)!=null?s:t),n))throw new Error(`"${e.value}" not a function`);return i}function pt(e){return e&&e.type==="JSExpression"}function or(e){return typeof e=="object"&&e&&e.type==="JSFunction"}const cy={session:!1,authKey:"Authorization",storageKey:"ACCESS_STORAGE",storagePrefix:"__VTJ_",unauthorized:void 0,auth:"/#/login",redirectParam:"r",unauthorizedCode:401,unauthorizedMessage:"登录已经失效,请重新登录!",noPermissionMessage:"无权限访问该页面",appName:"",statusKey:"code"},ly=Symbol("access");class fy{constructor(t){z(this,"options");z(this,"data",null);z(this,"mode",tt.Raw);z(this,"interceptResponse",!0);this.options=Object.assign({},cy,t),this.loadData()}enableIntercept(){this.interceptResponse=!0}disableIntercept(){this.interceptResponse=!1}connect(t){const{mode:r,router:n,request:i}=t;this.mode=r,n&&this.mode===tt.Raw&&this.setGuard(n),i&&this.setRequest(i)}login(t){const{storageKey:r,storagePrefix:n,session:i,authKey:s}=this.options;this.setData(t),this.data&&(_r.save(r,t,{type:"local",prefix:n}),i&&Sr.set(s,this.data.token))}clear(){const{storageKey:t,storagePrefix:r,session:n,authKey:i}=this.options;this.data=null,_r.remove(t,{type:"local",prefix:r}),n&&Sr.remove(i)}logout(){this.clear(),this.toLogin()}getData(){return this.data?this.data:(this.loadData(),this.data)}getToken(){var t;return this.data||this.loadData(),(t=this.data)==null?void 0:t.token}can(t){const{appName:r}=this.options,{permissions:n={}}=this.data||{};return typeof t=="function"?t(n):Ti(t).every(i=>n[i]||n[r+"."+i])}some(t){const{appName:r}=this.options,{permissions:n={}}=this.data||{};return Ti(t).some(i=>n[i]||n[r+"."+i])}install(t){t.config.globalProperties.$access=this,t.provide(ly,this)}isAuthPath(t){const{auth:r,isAuth:n}=this.options;if(n)return n(t);if(t.path&&typeof r=="string"){const i=r.split("#")[1]||r;return t.path===i}return!1}toLogin(){const{auth:t,redirectParam:r}=this.options;if(!t)return;const n=r?`?${r}=${encodeURIComponent(location.href)}`:"";typeof t=="function"?t(n):location.href=r?`${t}${n}`:t}setData(t){const{privateKey:r}=this.options;if(Array.isArray(t)&&r){const n=t.map(i=>xi(i,r));try{this.data=JSON.parse(n.join(""))}catch(i){console.warn(i)}return}if(typeof t=="string")try{const n=r?xi(t,r):t;n?this.data=JSON.parse(n):console.warn("RSA解密失败或登录信息缺失")}catch(n){console.warn(n)}else this.data=t}loadData(){const{storageKey:t,storagePrefix:r}=this.options,n=_r.get(t,{type:"local",prefix:r});this.setData(n||null)}isLogined(){const{session:t,authKey:r}=this.options;return t&&r?!!Sr.get(r):!!this.getToken()}hasRoutePermission(t){if(t.name===Ue){const r=t.params.id;return r&&this.can(r)}return!0}setGuard(t){t.beforeEach((r,n,i)=>this.guard(r,i))}guard(t,r){return k(this,null,function*(){if(this.isWhiteList(t)||this.isAuthPath(t))return r();if(this.isLogined()){if(this.hasRoutePermission(t))return r();{const{noPermissionMessage:n="无权限访问",unauthorized:i=!1}=this.options;return yield this.showTip(n),Lt(i)?(i(),r(!1)):$t(i)?r(i):r(!1)}}r(!1),this.toLogin()})}isWhiteList(t){const{whiteList:r}=this.options;return r?Array.isArray(r)?r.some(n=>t.fullPath.startsWith(n)):r(t):!1}isUnauthorized(t){var i;const{unauthorizedCode:r=401,statusKey:n="code"}=this.options;return t.status===r||((i=t.data)==null?void 0:i[n])===r}showUnauthorizedAlert(t){return k(this,null,function*(){const{unauthorizedMessage:r="登录已失效"}=this.options;this.isUnauthorized(t)&&(yield this.showTip(r),this.toLogin())})}showTip(t){return k(this,null,function*(){var n;const{alert:r}=this.options;return r?(yield un(150),yield(n=r(t,{title:"提示",type:"warning"}))==null?void 0:n.catch(()=>!1)):!1})}setRequest(t){t.useRequest(r=>{var n,i;return(n=this.data)!=null&&n.token&&(r.headers[this.options.authKey]=(i=this.data)==null?void 0:i.token),r}),t.useResponse(r=>k(this,null,function*(){return this.interceptResponse&&(yield this.showUnauthorizedAlert(r)),r}),r=>k(this,null,function*(){if(!this.interceptResponse)return Promise.reject(r);const n=r.response||r||{};return yield this.showUnauthorizedAlert(n),Promise.reject(r)}))}}function hy(e={}){const{notify:t,loading:r,settings:n={},Startup:i,access:s,useTitle:o,alert:u}=e;let l=null;return{request:dn({settings:H({type:"form",validSuccess:!0,originResponse:!1,loading:!0,validate:a=>{var c,f;return((c=a.data)==null?void 0:c.code)===0||!!((f=a.data)!=null&&f.success)},failMessage:!0,showError:a=>{t&&t(a||"未知错误")},showLoading:()=>{l&&l.close(),r&&(l=r())},hideLoading:()=>{l&&(l.close(),l=null)}},n)}),jsonp:Wo,notify:t,loading:r,useTitle:o,startupComponent:i,access:s?new fy(H({alert:u},s)):void 0}}function py(e,t){const{jsonp:r,request:n}=t;if(e.method==="jsonp")return(i={})=>r(e.url,et(H({},e.jsonpOptions),{query:i}));{const i=e.headers?be(e.headers,{},!0):void 0,s={url:e.url,method:e.method,settings:et(H({},e.settings),{headers:i})};return(o,u)=>(delete s.data,n.send(he(s,u||{},{data:o})))}}function dy(e,t){const{metaQuery:r}=t;if(!r)return;const{code:n,queryCode:i}=e;return(s,o)=>{if(!r){console.warn("adapter.metaQuery is not defined!");return}return r(n,i,s,o)}}function gy(e=[],t=[],r){const n={};for(const i of e)n[i.id]=py(i,r);for(const i of t)n[i.id]=dy(i,r);return n}function my(){return k(this,arguments,function*(e=[],t=window){const r=ve(t);r&&(Zo(t),e.forEach(n=>vy(r,n)))})}function yy(e,t=window){const r=or(e.mockTemplate)&&e.mockTemplate.value?ze(e.mockTemplate,{},!0):void 0,n=ve(t);return(...i)=>k(null,null,function*(){let s={};if(r)try{s=yield r.apply(r,i)}catch(o){te.warn("模拟数据模版异常",o)}return n==null?void 0:n.mock(s)})}function vy(e,t){if(!t.mock)return;const{url:r,mockTemplate:n}=t;if(r&&n){const i=ln(`${r}(.*)`),s=Bd(r,{decode:decodeURIComponent}),o=be(n,{},!0);e.mock(i,u=>{var f;const l=Me.parse(u.url)||{},a=u.body instanceof FormData?$m(u.body):u.body,c=(f=s(u.url))==null?void 0:f.params;return Object.assign(u,{data:a,params:l,query:c}),e.mock(o(u))})}}function Zo(e=window){const t=ve(e);t&&(t._mocked={})}class by{constructor(t){z(this,"__id",null);z(this,"__mode");z(this,"__instance",null);z(this,"__contextRefs",{});z(this,"__refs",{});z(this,"context",{});z(this,"state",{});z(this,"props",{});z(this,"$props",{});z(this,"$refs",{});z(this,"$el",null);z(this,"$emit",null);z(this,"$nextTick",null);z(this,"$parent",null);z(this,"$root",null);z(this,"$attrs",null);z(this,"$slots",null);z(this,"$watch",null);z(this,"$options",null);z(this,"$forceUpdate",null);z(this,"$components",{});z(this,"$libs",{});z(this,"$apis",{});z(this,"__transform",{});const{mode:r,dsl:n,attrs:i}=t;this.__mode=r,n&&(this.__id=n.id||null,this.__transform=n.transform||{}),i&&Object.assign(this,i)}setup(t,r=Ke){const n=r.getCurrentInstance();if(!n)return;this.__refs={},this.$refs={},this.context={},this.__contextRefs={},this.__instance=n.proxy;const i=n.appContext.config.globalProperties;Object.assign(this,i),Object.assign(this,t||{}),this.__proxy(),r.onMounted(()=>{this.__proxy()}),r.onUnmounted(()=>{this.__cleanup()}),r.onBeforeUpdate(()=>{this.__reset()})}__proxy(){this.__instance&&qi.forEach(t=>{var r;this[t]=(r=this.__instance)==null?void 0:r[t]})}__cleanup(){qi.forEach(t=>{this[t]=null}),this.__reset()}__reset(){this.__refs={},this.$refs={},this.__contextRefs={},this.context={}}__parseFunction(t){var r;if(t)if(this.__mode===tt.Runtime){const{id:n,type:i}=t,s=n&&(r=this.__transform[n])!=null?r:t.value;return ze({type:i,value:s},this)}else return ze(t,this)}__parseExpression(t){var r;if(t)if(this.__mode===tt.Runtime){const{id:n,type:i}=t,s=n&&(r=this.__transform[n])!=null?r:t.value;return be({type:i,value:s},this)}else return be(t,this)}__ref(t=null,r){if(this.__mode!==tt.VNode)return t&&t!==this.__id&&(this.__contextRefs[t]=this),n=>k(this,null,function*(){var s,o;yield un(0);let i=(n==null?void 0:n.$vtjEl)||(n==null?void 0:n.$el)||((o=(s=n==null?void 0:n._)==null?void 0:s.vnode)==null?void 0:o.el)||n;if(!i){typeof r=="string"&&(delete this.$refs[r],t&&delete this.__refs[t]);return}return i.nodeType===3&&i.nextSibling&&(i=i.nextSibling),i.__vtj__=t,tt.Design===this.__mode&&(i.__context__=this,i.draggable=!0),t&&(this.__refs[t]=this.__getRefEl(this.__refs,t,n)),typeof r=="function"?r(n):r&&(this.$refs[r]=this.__getRefEl(this.$refs,r,n)),n})}__getRefEl(t,r,n){const i=t[r];if(i&&n!==i){const s=new Set([].concat(i,n));return Array.from(s)}else return n}__clone(t={}){const r=H(H({},this.context),t),n=et(H({},r),{context:r});return n.context.__proto__=this.context,n.__proto__=this,n}}function Yr(e){var f,p;const{Vue:t=Ke,mode:r=tt.Runtime,components:n={},libs:i={},apis:s={},loader:o}=e,u=t.computed(()=>e.dsl),l={$components:n,$libs:i,$apis:s},a=new by({mode:r,dsl:u.value,attrs:l}),c=t.defineComponent(H({name:u.value.name,__scopeId:u.value.id?`data-v-${u.value.id}`:void 0,props:H({},_y((f=u.value.props)!=null?f:[],a)),setup(h){var v,w,S,m;a.$props=h,a.props=h,u.value.id&&mn(e.window||window,u.value.id,u.value.css||"",!0),a.state=Ey(t,(v=u.value.state)!=null?v:{},a);const d=Sy(t,(w=u.value.computed)!=null?w:{},a),g=xy((S=u.value.methods)!=null?S:{},a),b=Ty(t,u.value.inject,a);for(const[x,R]of Object.entries(b||{}))b[x]=t.inject(x,R);const E=Ay(u.value.dataSources||{},a),y=H(H(H(H({},b),d),g),E);return a.setup(y,t),Ry(t,(m=u.value.watch)!=null?m:[],a),{vtj:a}},emits:wy(u.value.emits),expose:["vtj"],render(){if(!u.value.nodes)return null;const h=u.value.nodes||[];return h.length===1?re(h[0],a,t,o,h):h.map(d=>re(d,a,t,o,h))}},Oy((p=u.value.lifeCycles)!=null?p:{},a)));return{renderer:t.markRaw(c),context:a}}function wy(e=[]){return e.map(t=>$t(t)?t:t.name)}function _y(e=[],t){const r=n=>n?(Array.isArray(n)?n:[n]).map(i=>Gm[i]):void 0;return e.map(n=>$t(n)?{name:n}:{name:n.name,type:n.type,required:n.required,default:pt(n.default)?t.__parseExpression(n.default):n.default}).reduce((n,i)=>(n[i.name]={type:r(i.type),required:i.required,default:i.default},n),{})}function Ey(e,t,r){return e.reactive(Object.keys(t||{}).reduce((n,i)=>{let s=t[i];return pt(s)?s=r.__parseExpression(s):or(s)&&(s=r.__parseFunction(s)),n[i]=s,n},{}))}function Sy(e,t,r){return Object.entries(t!=null?t:{}).reduce((n,[i,s])=>(n[i]=e.computed(r.__parseFunction(s)),n),{})}function xy(e,t){return Object.entries(e!=null?e:{}).reduce((r,[n,i])=>(r[n]=t.__parseFunction(i),r),{})}function Ty(e,t=[],r){return t.reduce((n,i)=>{var a;const{name:s,from:o}=i||{};i.default;const u=pt(o)?r.__parseExpression(o)||s:o!=null?o:s,l=pt(i.default)?r.__parseExpression(i.default):(a=i.default)!=null?a:null;return n[s]=e.inject(u,l),n},{})}function Ay(e,t){return Object.keys(e).reduce((r,n)=>{const i=e[n];if(i.type==="mock")r[n]=yy(i);else if(i.ref){const s=t.$apis[i.ref],o=or(i.transform)?i.transform.value?t.__parseFunction(i.transform):void 0:i.transform;r[n]=(...u)=>k(null,null,function*(){const l=yield s.apply(t,u);return o?o(l):l})}return r},{})}function Ry(e,t=[],r){t.forEach(n=>{e.watch(r.__parseExpression(n.source),r.__parseFunction(n.handler),{deep:n.deep,immediate:n.immediate})})}function Oy(e,t){return Object.entries(e!=null?e:{}).reduce((r,[n,i])=>{const s=t.__parseFunction(i);return r[n]=()=>k(null,null,function*(){yield un(0),Lt(s)&&s()}),r},{})}const $y=new Ud;let Ar=[],Yt={};const jy=e=>e;function Qo(r){return k(this,arguments,function*(e,t=window){const{urls:n=[],library:i}=e,s=n.filter(u=>sr(u));if(s.length===0||!i)return null;const o=n.filter(u=>ir(u));return o.length&&Yo(o,t),yield Go(s,i,t).catch(u=>(console.warn("loadScriptUrl error",s,i,u),null))})}function Gr(e){const{getDsl:t,getDslByUrl:r,options:n}=e;return n.window&&(Ar.forEach(i=>{delete n.window[i]}),Ar=[]),(i,s,o=Ke)=>{if(!s||typeof s=="string")return i;if(s.type==="Schema"&&s.id)return o.defineAsyncComponent(()=>k(null,null,function*(){const u=Yt[s.id]||(yield $y.add(s.id,()=>t(s.id)));return u&&(u.name=i,Yt[s.id]=u),u?Yr(et(H({},n),{Vue:o,dsl:Xn(u),mode:tt.Runtime,loader:Gr(e)})).renderer:null}));if(s.type==="UrlSchema"&&s.url)return o.defineAsyncComponent(()=>k(null,null,function*(){const u=Yt[s.url]||(yield r(s.url));return u&&(u.name=i,Yt[s.url]=u),u?Yr(et(H({},n),{Vue:o,dsl:Xn(u),mode:tt.Runtime,loader:Gr(e)})).renderer:null}));if(s.type==="Plugin"){let u=s.library?Yt[s.library]:null;return u||(s.library&&Ar.push(s.library),u=Yt[s.library||Symbol()]=o.defineAsyncComponent(()=>k(null,null,function*(){return(yield Qo(s,n.window))||(console.warn("getPlugin result is null",s),null)})),u)}return i}}function re(e,t,r=Ke,n=jy,i=[],s=!1){var v;if(!e||!e.name||e.invisible)return null;const o=(v=r.getCurrentInstance())==null?void 0:v.appContext,{id:u=null,directives:l=[]}=e,{vIf:a,vElseIf:c,vElse:f,vFor:p,vShow:h,vModels:d,vBind:g,vHtml:b,others:E}=Xo(l);if(!s&&(c||f))return null;if(a&&!By(a,t))return Py(e,t,r,n,i);const y=(w,S=0)=>{var j,N,L,M;const m=w.$components,x=(()=>{var q,O,D,C;if(e.name==="component")return Cy(w,(q=e.props)==null?void 0:q.is);if(e.name==="slot")return e.name;const V=n(e.name,e.from,r);if($t(V))return ay(V)||uy(V)?V:(C=(D=m[V])!=null?D:(O=o==null?void 0:o.app)==null?void 0:O.component(V))!=null?C:V;if(ct(V)&&e.id){const I=`Loader${e.id}_${S}`;return m[I]||(m[I]=V)}return V})(),R=Ny(u,(j=e.props)!=null?j:{},w),U=Iy(r,(N=e.events)!=null?N:{},w);if(e.name==="slot")return ky(r,e,R,w,n);g&&Object.assign(R,w.__parseExpression(g.value)),h&&(R.style=Object.assign((L=R.style)!=null?L:{},My(h,w))),b&&Object.assign(R,Uy(b,w)),d.forEach(V=>{Object.assign(R,Ly(r,V,w))});const _=Vy(r,(M=e.children)!=null?M:[],w,n,e),T=w!=null&&w.__id?`data-v-${w.__id}`:void 0,F=T?{[T]:""}:{};let B=r.createVNode(x,H(H(H({key:`${u}_${S}`},F),R),U),_);const P=o?Dy(o,E,w):[];return P.length&&(B=r.withDirectives(B,P)),B};return p?zy(p,y,t):y(t)}function Dy(e,t,r){const n=e.app;return t.map(i=>{const s=typeof i.name=="string"?n.directive(i.name):r.__parseExpression(i.name);if(!s)return null;const o=[s];return i.value&&o.push(r.__parseExpression(i.value)),i.arg&&o.push(i.arg),i.modifiers&&o.push(i.modifiers),o}).filter(i=>!!i)}function Xo(e=[]){const t=e.find(c=>wt(c.name)==="vIf"),r=e.find(c=>wt(c.name)==="vElseIf"),n=e.find(c=>wt(c.name)==="vElse"),i=e.find(c=>wt(c.name)==="vFor"),s=e.find(c=>wt(c.name)==="vShow"),o=e.find(c=>wt(c.name)==="vBind"),u=e.find(c=>wt(c.name)==="vHtml"),l=e.filter(c=>wt(c.name)==="vModel"),a=e.filter(c=>!Ym.includes(wt(c.name)));return{vIf:t,vElseIf:r,vElse:n,vFor:i,vShow:s,vModels:l,vBind:o,others:a,vHtml:u}}function By(e,t){return!!t.__parseExpression(e.value)}function Cy(e,t){return t?pt(t)?e.__parseExpression(t):t:"div"}function Ny(e,t,r){const n=Zr(t,r);return n.ref=r.__ref(e,n.ref),n}function Zr(e,t){return pt(e)?t.__parseExpression(e):or(e)?t.__parseFunction(e):Array.isArray(e)?e.map(r=>Zr(r,t)):typeof e=="object"?Object.keys(e||{}).reduce((r,n)=>{let i=e[n];return r[n]=Zr(i,t),r},{}):e}function Iy(e,t,r){const n=["passive","capture","once"],i={capture:"Capture",once:"Once",passive:"OnceCapture"};return Object.keys(t||{}).reduce((s,o)=>{const u=t[o],l=ta(u.modifiers),a=l.find(p=>n.includes(p)),c="on"+As(o)+(a&&i[a]||""),f=r.__parseFunction(u.handler);return f&&(s[c]=e.withModifiers(f,l)),s},{})}function Py(e,t,r,n,i=[]){let s=i.findIndex(o=>o.id===e.id);for(let o=++s;o<i.length;o++){const{directives:u=[]}=i[o],{vElseIf:l,vElse:a}=Xo(u);if(l){if(t.__parseExpression(l.value))return re(i[o],t,r,n,i,!0);continue}if(a)return re(i[o],t,r,n,i,!0)}return null}function ta(e={},t=!1){const r=Object.keys(e);return t?r.map(n=>"."+n):r}function ky(e,t,r,n,i){var l;const{children:s}=t,o=Fy(t,n),u=(l=n.$slots)==null?void 0:l[o.name];return u?u(r):s?$t(s)?e.createTextVNode(s):pt(s)?e.createTextVNode(Jo(n.__parseExpression(s))):Array.isArray(s)?s.map(a=>re(a,n,e,i,s)):null:null}function Fy(e,t){const{props:r}=e,n=(r==null?void 0:r.name)||"default";return{name:pt(n)?t.__parseExpression(n):n,params:[]}}function My(e,t){return t.__parseExpression(e.value)?{}:{display:"none"}}function Uy(e,t){return{innerHTML:t.__parseExpression(e.value)||""}}function Ly(e,t,r){var u;const n={type:"JSFunction",value:(u=t.value)!=null&&u.value?`(v) => {
70
- ${t.value.value} = v;
71
- }`:"(v) => {}"},i=r.__parseFunction(n),s=ta(pt(t.modifiers)?r.__parseExpression(t.modifiers):t.modifiers),o=pt(t.arg)?r.__parseExpression(t.arg):t.arg||"modelValue";return{[o]:r.__parseExpression(t.value),[`onUpdate:${o}`]:s.length&&i?e.withModifiers(i,s):i}}function Vy(e,t,r,n,i){if(!t)return null;if($t(t))return{default:()=>t};if(pt(t))return{default:()=>Jo(r.__parseExpression(t))};if(Array.isArray(t)&&t.length>0){const s=Hy(t),o=(u,l)=>!u||!i?{}:i!=null&&i.id&&Object.keys(u).length?l?{[l]:u}:{[`scope_${i.id}`]:u}:l?{[l]:Object.create(null)}:{};return Object.entries(s).reduce((u,[l,{nodes:a,params:c,scope:f}])=>(u[l]=p=>{const h=c.length?Od(p!=null?p:{},c):o(p,f);return a.map(d=>re(d,r.__clone(h),e,n,a))},u),{})}return null}function Hy(e){const t={};for(const r of e){const n=qy(r.slot),i=n.name;t[i]?(t[i].nodes.push(r),t[i].params=t[i].params.concat(n.params),t[i].scope=n.scope||""):t[i]={nodes:[r],params:n.params,scope:n.scope||""}}return t}function qy(e="default"){return $t(e)?{name:e,params:[],scope:""}:H({params:[],scope:""},e)}function zy(e,t,r){const{value:n,iterator:i}=e,{item:s="item",index:o="index"}=i||{};let u=r.__parseExpression(n)||[];return Number.isInteger(u)&&(u=new Array(u).fill(!0).map((l,a)=>a+1)),Array.isArray(u)?u.map((l,a)=>t(r.__clone({[s]:l,[o]:a}),a)):(console.warn("[vForRender]:",`${n==null?void 0:n.value} is not a Arrary`),[])}const zi=Ji({name:"VtjPageContainer",setup(){return k(this,null,function*(){const e=Yy(),t=ga(),r=t.params.id,n=r?e.getPage(r):e.getHomepage(),i=n?yield e.getRenderComponent(n.id):null,s=pa(Symbol());if(n){Object.assign(t.meta,n.meta||{},{cache:n.cache});const{useTitle:o}=e==null?void 0:e.adapter;o&&o(n.title||"VTJ")}return{provider:e,component:i,file:n,query:t.query,meta:t.meta,sid:s,route:t}})},render(){const{component:e,query:t,sid:r}=this;return e?Rr(e,et(H({},t),{key:r})):Rr("div","页面不存在")},activated(){this.meta.cache===!1&&(this.sid=Symbol())}}),Ky=Ji({name:"VtjStartupContainer",render(){return Rr("div","page not found!")}});function ea(e,t,r=[]){return r.map(n=>{const{id:i,title:s,icon:o,children:u,hidden:l}=n;return{id:i,title:s,icon:o,hidden:l,url:`${e}/${t}/${i}`,children:u&&u.length?ea(e,t,u):void 0}})}const ra=Symbol("Provider");class Wy extends qd{constructor(r){super();z(this,"mode");z(this,"globals",{});z(this,"modules",{});z(this,"adapter",{request:zr,jsonp:Wo});z(this,"apis",{});z(this,"dependencies",{});z(this,"materials",{});z(this,"library",{});z(this,"service");z(this,"project",null);z(this,"components",{});z(this,"nodeEnv","development");z(this,"router",null);z(this,"materialPath","./");z(this,"urlDslCaches",{});this.options=r;const{service:n,mode:i=tt.Raw,dependencies:s,materials:o,project:u={},adapter:l={},globals:a={},modules:c={},router:f=null,materialPath:p="./",nodeEnv:h="development"}=r;this.mode=i,this.modules=c,this.service=n,this.router=f,this.materialPath=p,this.nodeEnv=h,s&&(this.dependencies=s),o&&(this.materials=o),Object.assign(this.globals,a),Object.assign(this.adapter,l);const{access:d,request:g}=this.adapter;d&&d.connect({mode:i,router:f,request:g}),u&&i!==tt.Design?this.load(u):this.project=u}createMock(r){return(...n)=>k(null,null,function*(){var s;let i={};if(r)try{i=yield r.apply(r,n)}catch(o){te.warn("模拟数据模版异常",o)}return(s=ve())==null?void 0:s.mock(i)})}load(r){return k(this,null,function*(){const n=this.modules[`.vtj/projects/${r.id}.json`]||this.modules[`/src/.vtj/projects/${r.id}.json`];if(this.project=n?yield n():yield this.service.init(r),!this.project)throw new Error("project is null");const{apis:i=[],meta:s=[]}=this.project,o=window;o&&(o.CKEDITOR_VERSION=void 0),this.mode===tt.Raw?yield this.loadDependencies(o):yield this.loadAssets(o),this.initMock(o),this.apis=gy(i,s,this.adapter),Zo(o),my(i,o),r.platform!=="uniapp"&&this.initRouter(),this.triggerReady()})}initMock(r){const n=ve(r);n&&n.setup({timeout:"50-500"})}loadDependencies(r){return k(this,null,function*(){const n=Object.entries(this.dependencies);for(const[i,s]of n)r[i]||(r[i]=this.library[i]=yield s())})}loadAssets(r){return k(this,null,function*(){const{dependencies:n=[]}=this.project,{dependencies:i,library:s,components:o,materialPath:u,nodeEnv:l}=this,{libraryExports:a,libraryMap:c,materials:f,materialExports:p,materialMapLibrary:h}=ey(n,u,l==="development");for(const d of a){const g=i[d],b=r[d];if(b)s[d]=b;else if(g)r[d]=s[d]=yield g();else{const E=c[d]||[];for(const y of E)ir(y)&&(yield sy(y,Me.append(y,{v:xr}))),sr(y)&&(yield Vi(Me.append(y,{v:xr})));s[d]=r[d]}}if(l==="development"){for(const g of f)yield Vi(Me.append(g,{v:xr}));const d=this.materials||{};for(const g of p){const b=r[h[g]],E=Hd[g];if(E)b&&E.forEach(y=>{o[y]=b[y]});else{const y=d[g]?(yield d[g]()).default:r[g];y&&b&&(y.components||[]).forEach(v=>{o[v.name]=ry(v,b)})}}}})}initRouter(){const{router:r,project:n,options:i,adapter:s}=this;if(!r)return;const o=(n==null?void 0:n.platform)==="uniapp"?"pages":"page",{routeAppendTo:u,pageRouteName:l=o,routeMeta:a}=i,c=u?"":"/",f={path:`${c}${l}/:id`,name:Ue,component:zi},p={path:c,name:Tr,component:n!=null&&n.homepage?zi:s.startupComponent||Ky,meta:a};r.hasRoute(Ue)&&r.removeRoute(Ue),r.hasRoute(Tr)&&r.removeRoute(Tr),u?(r.addRoute(u,f),r.addRoute(u,p)):(r.addRoute(f),r.addRoute(p))}install(r){const n=r.config.globalProperties.installed||{};for(const[i,s]of Object.entries(this.library))!n[i]&&oy(s)&&(r.use(s),n[i]=!0);this.options.install&&r.use(this.options.install),this.adapter.access&&r.use(this.adapter.access),r.provide(ra,this),r.config.globalProperties.$provider=this,r.config.globalProperties.installed=n,this.mode===tt.Design&&(r.config.errorHandler=(i,s,o)=>{const u=s==null?void 0:s.$options.name,l=typeof i=="string"?i:(i==null?void 0:i.message)||(i==null?void 0:i.msg)||"未知错误",a=`[ ${u} ] ${l} ${o}`;console.error("[VTJ Error]:",{err:i,instance:s,info:o},i==null?void 0:i.stack),this.adapter.notify&&this.adapter.notify(a,"组件渲染错误","error")}),this.options.enhance&&r.use(this.options.enhance,this)}getFile(r){const{blocks:n=[]}=this.project||{};return this.getPage(r)||n.find(i=>i.id===r)||null}getPage(r){const{pages:n=[]}=this.project||{},i=(s,o=[])=>{for(const u of o){if(u.id===s)return u;if(u.children&&u.children.length){const l=i(s,u.children);if(l)return l}}};return i(r,n)||null}getMenus(r="page",n=""){var i;return ea(n,r,((i=this.project)==null?void 0:i.pages)||[])}getHomepage(){const{homepage:r}=this.project||{};return r?this.getPage(r):null}getDsl(r){return k(this,null,function*(){const n=this.modules[`.vtj/files/${r}.json`]||this.modules[`/src/.vtj/files/${r}.json`];return n?yield n():this.service.getFile(r,this.project||void 0).catch(()=>null)})}getDslByUrl(r){return k(this,null,function*(){return this.urlDslCaches[r]||(this.adapter.request?this.urlDslCaches[r]=this.adapter.request.send({url:r,method:"get",settings:{validSuccess:!1,originResponse:!0}}).then(i=>i.data).catch(()=>null):null)})}createDslRenderer(r,n={}){const{library:i,components:s,mode:o,apis:u}=this,l=H({mode:o,Vue:i.Vue,components:s,libs:i,apis:u,window},n),a=Gr({getDsl:c=>k(this,null,function*(){return(yield this.getDsl(c))||null}),getDslByUrl:c=>k(this,null,function*(){return(yield this.getDslByUrl(c))||null}),options:l});return Yr(et(H({},l),{dsl:r,loader:a}))}getRenderComponent(r,n){return k(this,null,function*(){var l;const i=this.getFile(r);if(!i)return te.warn(`Can not find file: ${r}`),null;n&&n(i);const s=`.vtj/vue/${r}.vue`,o=this.modules[s]||this.modules[`/src/pages/${r}.vue`];if(o)return(l=yield o())==null?void 0:l.default;const u=yield this.getDsl(i.id);return u?this.createDslRenderer(u).renderer:(te.warn(`Can not find dsl: ${r}`),null)})}defineUrlSchemaComponent(r,n){return bn(()=>k(this,null,function*(){const i=yield this.getDslByUrl(r);return i?(i.name=n||i.name,this.createDslRenderer(i).renderer):null}))}definePluginComponent(r){return bn(()=>k(null,null,function*(){return yield Qo(r,window)}))}}function Jy(e){const t=new Wy(e);return{provider:t,onReady:r=>t.ready(r)}}function Yy(e={}){const t=da(ra,null);if(!t)throw new Error("Can not find provider");if(t.nodeEnv==="development"){const{id:r,version:n}=e;r&&n&&k(null,null,function*(){const i=yield t.getDsl(r);(i==null?void 0:i.__VERSION__)!==n&&t.adapter.notify&&t.adapter.notify(`[ ${i==null?void 0:i.name} ] 组件源码版本与运行时版本不一致,请重新发布组件`,"版本不一致","warning")})}return t}function Gy(e,t=""){return k(this,null,function*(){const{name:r,urls:n=[]}=e||{},i=n.map(u=>t+u),{css:s,js:o}=ny(i);if(s.length&&Yo(s),o.length)return yield Go(o,r).catch(()=>{})})}const na={type:"json",validSuccess:!0,originResponse:!1,failMessage:!0,validate:e=>{var t;return((t=e.data)==null?void 0:t.code)===0}},Zy=(e,t="/__vtj__/api/:type.json")=>(r,n,i)=>e.send({url:t,method:"post",params:{type:r},query:i,data:{type:r,data:n},settings:na}),Qy=(e,t="/__vtj__/api/uploader.json")=>(r,n)=>k(null,null,function*(){return yield e.send({url:t,method:"post",data:{files:r,projectId:n},settings:et(H({},na),{type:"data"})}).then(i=>i&&i[0]?i[0]:null).catch(()=>null)});function Xy(e){return dn({settings:{type:"json",validSuccess:!0,originResponse:!1,failMessage:!0,validate:t=>{var r;return((r=t.data)==null?void 0:r.code)===0},showError:t=>{e&&e(t||"未知错误")}}})}let t0=class{constructor(t=zr){z(this,"api");z(this,"pluginCaches",{});z(this,"uploader");this.req=t,this.api=Zy(t),this.uploader=Qy(t)}getExtension(){return k(this,null,function*(){console.log("BaseService.getExtension")})}init(t){return k(this,null,function*(){return console.log("BaseService.init",t),{}})}saveProject(t,r){return k(this,null,function*(){return!!(yield this.api("saveProject",t,{type:r}).catch(()=>!1))})}saveMaterials(t,r){return k(this,null,function*(){return console.log("BaseService.saveMaterials",t,r),!1})}saveFile(t){return k(this,null,function*(){return console.log("BaseService.saveFile",t),!1})}getFile(t){return k(this,null,function*(){return console.log("BaseService.getFile",t),{}})}removeFile(t){return k(this,null,function*(){return console.log("BaseService.removeFile",t),!1})}saveHistory(t){return k(this,null,function*(){return console.log("BaseService.saveHistory",t),!1})}removeHistory(t){return k(this,null,function*(){return console.log("BaseService.removeHistory",t),!1})}getHistory(t){return k(this,null,function*(){return console.log("BaseService.getHistory",t),{}})}getHistoryItem(t,r){return k(this,null,function*(){return console.log("BaseService.getHistoryItem",t,r),{}})}saveHistoryItem(t,r){return k(this,null,function*(){return console.log("BaseService.saveHistoryItem",t,r),!1})}removeHistoryItem(t,r){return k(this,null,function*(){return console.log("BaseService.removeHistoryItem",t,r),!1})}publish(t){return k(this,null,function*(){return!!(yield this.api("publish",t).catch(()=>!1))})}publishFile(t,r){return k(this,null,function*(){return!!(yield this.api("publishFile",{project:t,file:r}).catch(()=>!1))})}genVueContent(t,r){return k(this,null,function*(){return yield this.api("genVueContent",{project:t,dsl:r}).catch(()=>"")})}parseVue(t,r){return k(this,null,function*(){return yield this.api("parseVue",H({project:t},r))})}createRawPage(t){return k(this,null,function*(){return yield this.api("createRawPage",t).catch(()=>"")})}removeRawPage(t){return k(this,null,function*(){return yield this.api("removeRawPage",t).catch(()=>"")})}uploadStaticFile(t,r){return k(this,null,function*(){return yield this.uploader(t,r).catch(()=>null)})}getStaticFiles(t){return k(this,null,function*(){return yield this.api("getStaticFiles",t).catch(()=>[])})}removeStaticFile(t,r){return k(this,null,function*(){return yield this.api("removeStaticFile",{name:t,projectId:r}).catch(()=>"")})}clearStaticFiles(t){return k(this,null,function*(){return yield this.api("clearStaticFiles",t).catch(()=>"")})}getPluginMaterial(t){return k(this,null,function*(){const{urls:r=[]}=t,n=r.filter(s=>Xm(s))[0];return n?this.pluginCaches[n]||(this.pluginCaches[n]=zr.send({url:n,method:"get",settings:{validSuccess:!1,originResponse:!0}}).then(s=>s.data).catch(()=>null)):null})}genSource(t){return k(this,null,function*(){return console.log("BaseService.genSource",t),""})}};new Ho({type:"local",expired:0,prefix:"__VTJ_"});class e0 extends t0{constructor(){super(...arguments);z(this,"getFileCaches",{})}getExtension(){return k(this,null,function*(){return yield this.api("getExtension",{}).catch(()=>{})})}init(r){return k(this,null,function*(){return(yield this.api("init",r).catch(()=>null))||{}})}saveProject(r,n){return k(this,null,function*(){return!!(yield this.api("saveProject",r,{type:n}).catch(()=>!1))})}saveMaterials(r,n){return k(this,null,function*(){return!!(yield this.api("saveMaterials",{project:r,materials:Ad(n)}).catch(()=>!1))})}saveFile(r){return k(this,null,function*(){return!!(yield this.api("saveFile",r).catch(()=>!1))})}getFile(r){return k(this,null,function*(){return this.getFileCaches[r]||(this.getFileCaches[r]=this.api("getFile",r).catch(()=>null)).finally(()=>{delete this.getFileCaches[r]})})}removeFile(r){return k(this,null,function*(){return!!(yield this.api("removeFile",r).catch(()=>!1))})}saveHistory(r){return k(this,null,function*(){return!!(yield this.api("saveHistory",r).catch(()=>!1))})}removeHistory(r){return k(this,null,function*(){return!!(yield this.api("removeHistory",r).catch(()=>!1))})}getHistory(r){return k(this,null,function*(){return(yield this.api("getHistory",r).catch(()=>null))||{}})}getHistoryItem(r,n){return k(this,null,function*(){return(yield this.api("getHistoryItem",{fId:r,id:n}).catch(()=>null))||{}})}saveHistoryItem(r,n){return k(this,null,function*(){return!!(yield this.api("saveHistoryItem",{fId:r,item:n}).catch(()=>!1))})}removeHistoryItem(r,n){return k(this,null,function*(){return!!(yield this.api("removeHistoryItem",{fId:r,ids:n}).catch(()=>!1))})}}/**!
72
- * Copyright (c) 2025, VTJ.PRO All rights reserved.
73
- * @name @vtj/uni
74
- * @author CHC chenhuachun1549@dingtalk.com
75
- * @version 0.12.65
76
- * @license <a href="https://vtj.pro/license.html">MIT License</a>
77
- */const r0=["onLaunch","onShow","onHide","onError","onPageNotFound","onUnhandledRejection","onThemeChange","onPageNotFound","onUniNViewMessage","onExit"],Ki="/pages",n0="VTJ",i0="__UNI__1FC118B",s0="VTJ移动跨端项目",o0="1.0.0",a0="100",u0=!1,c0={},l0={enable:!1},f0="3",h0={name:n0,appid:i0,description:s0,versionName:o0,versionCode:a0,transformPx:u0,"app-plus":{usingComponents:!0,nvueStyleCompiler:"uni-app",compilerVersion:3,splashscreen:{alwaysShowBeforeRender:!0,waiting:!0,autoclose:!0,delay:0},modules:{},distribute:{android:{permissions:['<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>','<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>','<uses-permission android:name="android.permission.VIBRATE"/>','<uses-permission android:name="android.permission.READ_LOGS"/>','<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>','<uses-feature android:name="android.hardware.camera.autofocus"/>','<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>','<uses-permission android:name="android.permission.CAMERA"/>','<uses-permission android:name="android.permission.GET_ACCOUNTS"/>','<uses-permission android:name="android.permission.READ_PHONE_STATE"/>','<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>','<uses-permission android:name="android.permission.WAKE_LOCK"/>','<uses-permission android:name="android.permission.FLASHLIGHT"/>','<uses-feature android:name="android.hardware.camera"/>','<uses-permission android:name="android.permission.WRITE_SETTINGS"/>']},ios:{},sdkConfigs:{},icons:{android:{hdpi:"src/static/logo.png",xhdpi:"src/static/logo.png",xxhdpi:"src/static/logo.png",xxxhdpi:"src/static/logo.png"}}}},quickapp:c0,"mp-weixin":{appid:"",setting:{urlCheck:!1},usingComponents:!0},"mp-alipay":{usingComponents:!0},"mp-baidu":{usingComponents:!0},"mp-toutiao":{usingComponents:!0},uniStatistics:l0,vueVersion:f0},p0=[],d0={navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},g0={autoscan:!0,custom:{"^uni-(.*)":"@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"}},m0={pages:p0,globalStyle:d0,easycom:g0};function y0(e){let{manifestJson:t={},pagesJson:r={},routes:n=[]}=e;const i=n.map(s=>{const{path:o,style:u,needLogin:l}=s;return{path:o,style:u,needLogin:l}});return et(H({},e),{manifestJson:Object.assign({},h0,t),pagesJson:Object.assign({},m0,r,{pages:i})})}const Qr={navigationBarBackgroundColor:"backgroundColor",navigationBarTextStyle:"titleColor",navigationBarTitleText:"titleText",navigationStyle:"style",titleImage:"titleImage",titlePenetrate:"titlePenetrate",transparentTitle:"transparentTitle"};function ia(e){const t={},r={black:"#000000",white:"#ffffff"};for(const n in e)Qr[n]&&(t[Qr[n]]=n==="navigationBarTextStyle"?r[e[n]]||r.black:e[n]);return t}function v0(e){const t={};for(const r in e)Qr[r]||(t[r]=e[r]);return t}function b0(e){var t,r;return((r=(t=e.h5)==null?void 0:t.router)==null?void 0:r.mode)||"hash"}function w0(e){var t,r,n;return{topWindow:!!((t=e.topWindow)!=null&&t.path),leftWindow:!!((r=e.leftWindow)!=null&&r.path),rightWindow:!!((n=e.rightWindow)!=null&&n.path)}}function _0(e){const{pagesJson:t={}}=e,{globalStyle:r,pages:n=[]}=t;return!!(r!=null&&r.enablePullDownRefresh||n.find(i=>{var s;return!!((s=i.style)!=null&&s.enablePullDownRefresh)}))}function E0(e){const{pagesJson:t={}}=e,{globalStyle:r,pages:n=[]}=t;let i=!1;return(r==null?void 0:r.navigationStyle)==="custom"?(i=!0,n.find(s=>{var o;return((o=s.style)==null?void 0:o.navigationStyle)==="default"})&&(i=!1)):n.every(s=>{var o;return((o=s.style)==null?void 0:o.navigationStyle)==="custom"})&&(i=!0),i}function S0(e){var u;const t=E0(e),r={navigationBar:!1,navigationBarButtons:!1,navigationBarSearchInput:!1,navigationBarTransparent:!1},{pagesJson:n={}}=e,{globalStyle:i,pages:s=[]}=n;if(t)return r;r.navigationBar=!0;const o=(u=i==null?void 0:i.h5)==null?void 0:u.titleNView;return s.find(l=>{var a,c,f;return!!((f=(c=(a=l.style)==null?void 0:a.h5)==null?void 0:c.titleNView)!=null&&f.buttons.length)})&&(r.navigationBarButtons=!0),(o!=null&&o.searchInput||s.find(l=>{var a,c,f;return!!((f=(c=(a=l.style)==null?void 0:a.h5)==null?void 0:c.titleNView)!=null&&f.searchInput)}))&&(r.navigationBarSearchInput=!0),((o==null?void 0:o.type)==="transparent"||s.find(l=>{var a,c,f;return((f=(c=(a=l.style)==null?void 0:a.h5)==null?void 0:c.titleNView)==null?void 0:f.type)==="transparent"}))&&(r.navigationBarTransparent=!0),r}function x0(e,t=window){var p,h,d,g;const{pagesJson:r={},manifestJson:n={}}=e,{topWindow:i,leftWindow:s,rightWindow:o}=w0(r),{navigationBar:u,navigationBarButtons:l,navigationBarSearchInput:a,navigationBarTransparent:c}=S0(e),f={__VUE_OPTIONS_API__:!0,__VUE_PROD_DEVTOOLS__:!1,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__:!1,__UNI_FEATURE_WX__:!1,__UNI_FEATURE_WXS__:!1,__UNI_FEATURE_RPX__:!1,__UNI_FEATURE_PROMISE__:!1,__UNI_FEATURE_LONGPRESS__:!1,__UNI_FEATURE_I18N_EN__:!1,__UNI_FEATURE_I18N_ES__:!1,__UNI_FEATURE_I18N_FR__:!1,__UNI_FEATURE_I18N_ZH_HANS__:!0,__UNI_FEATURE_I18N_ZH_HANT__:!1,__UNI_FEATURE_UNI_CLOUD__:!1,__UNI_FEATURE_I18N_LOCALE__:!1,__UNI_FEATURE_NVUE__:!1,__UNI_FEATURE_ROUTER_MODE__:b0(n),__UNI_FEATURE_PAGES__:!!((p=r.pages)!=null&&p.length),__UNI_FEATURE_TABBAR__:!!((d=(h=r.tabBar)==null?void 0:h.list)!=null&&d.length),__UNI_FEATURE_TABBAR_MIDBUTTON__:!!((g=r.tabBar)!=null&&g.midButton),__UNI_FEATURE_TOPWINDOW__:i,__UNI_FEATURE_LEFTWINDOW__:s,__UNI_FEATURE_RIGHTWINDOW__:o,__UNI_FEATURE_RESPONSIVE__:!1,__UNI_FEATURE_NAVIGATIONBAR__:u,__UNI_FEATURE_PULL_DOWN_REFRESH__:_0(e),__UNI_FEATURE_NAVIGATIONBAR_BUTTONS__:l,__UNI_FEATURE_NAVIGATIONBAR_SEARCHINPUT__:a,__UNI_FEATURE_NAVIGATIONBAR_TRANSPARENT__:c};Object.entries(f).forEach(([b,E])=>{t[b]=E})}const T0="4.57";function A0(e,t=window){var f,p;const{pagesJson:r={},manifestJson:n={}}=e,{easycom:i={}}=r,{appid:s="",name:o="",versionCode:u="",versionName:l=""}=n,a=r.globalStyle,c=((f=n.h5)==null?void 0:f.router)||{};t.__uniConfig={easycom:i,globalStyle:et(H({},v0(a)),{navigationBar:ia(a),isNVue:!1}),compilerVersion:T0,appId:s,appName:o,appVersion:l,appVersionCode:String(u),async:H({loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0},((p=n.h5)==null?void 0:p.async)||{}),debug:!1,networkTimeout:H({request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},n.networkTimeout||{}),sdkConfigs:{},nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:{},router:H({mode:"hash",base:"/",assets:"assets",routerBase:c.base||"/"},c),darkmode:!1,themeConfig:{},tabBar:r.tabBar?H({position:"bottom",color:"#7A7E83",selectedColor:"#3cc51f",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",backgroundColor:"#ffffff",selectedIndex:0,shown:!0},r.tabBar):void 0}}function R0(e,t=window){const{UniServiceJSBridge:r,UniViewJSBridge:n,getApp:i,uni:s,getCurrentPages:o,upx2px:u,setupPage:l}=e;t.UniServiceJSBridge=r,t.UniViewJSBridge=n,t.getApp=i,t.uni=s,t.wx=s,t.getCurrentPages=o,t.upx2px=u,t.__setupPage=a=>l(a)}function O0(e,t,r){const{openBlock:n,createBlock:i,withCtx:s,createVNode:o}=e,{PageComponent:u,setupPage:l,getApp:a}=t;return{mpType:"page",setup(){return k(this,null,function*(){var g,b;const f=((b=(g=a())==null?void 0:g.$route)==null?void 0:b.query)||{},{loader:p,component:h}=r,d=p?yield p(r):h||{};return()=>(n(),i(u,null,{page:s(()=>[o(l(d),Object.assign({},f,{ref:"page"}),null,512)]),_:1}))})}}}function $0(e,t,r){var h;const{path:n,style:i={},meta:s={},home:o,id:u}=t,l=((h=e.tabBar)==null?void 0:h.list)||[],a=l.findIndex(d=>{var g;return d.pagePath===n||((g=d.pagePath)==null?void 0:g.endsWith(u))}),c=l[a],f=!!c,p=r===0;return H({isTabBar:f,tabBarIndex:a,isQuit:o!=null?o:p,isEntry:o!=null?o:p,navigationBar:H({type:"default"},ia(i)),isNVue:!1,route:c?c.pagePath:n},s)}function j0(e,t,r,n,i=window){const s=r.map((o,u)=>{const l=$0(n,o,u),a=O0(e,t,o),{path:c}=o;return{path:c,alias:c,meta:l,component:{render(){return e.h(e.Suspense,[e.h(a)])}}}});i.__uniRoutes=s,i.__uniLayout={}}function D0(e,t,r=window){mn(r,String(e),t)}function B0(e,t){t&&["View","ScrollView","Swiper","MovableArea","MovableView","CoverView","CoverImage","Icon","Text","RichText","Progress","Button","CheckboxGroup","Checkbox","Editor","Form","Input","Label","Picker","PickerView","RadioGroup","Radio","Slider","Switch","Textarea","Navigator","Image","Video","Map","Canvas","WebView","PickerViewColumn","ResizeSensor","SwiperItem"].forEach(r=>{const n=t[r];e.component(r,n)})}function C0(e){const t=y0(e),{Vue:r,App:n,UniH5:i,routes:s=[],pagesJson:o={},manifestJson:u={},window:l,css:a=""}=t;if(!i)return r.createApp(n);const{plugin:c,setupApp:f}=i;x0(t,l),A0(t,l),R0(i,l),j0(r,i,s,o,l),D0(u.appid||Date.now(),a,l);const p=r.createApp(f(n));return p.use(B0,i),p.use(c),p}function N0(e,t){const r={};return Object.entries(e).forEach(([n,i])=>{r0.includes(n)&&i&&(r[n]=t(i))}),r}function Wi(e,t){return()=>k(null,null,function*(){const r=yield e.getDsl(t);if(r){const{renderer:n}=e.createDslRenderer(r);return n}return null})}function I0(n){return k(this,arguments,function*(e,t=!1,r=Ki){var u,l,a;const i=((u=e.project)==null?void 0:u.pages)||[],s=[];for(const c of i){const f=((l=e.project)==null?void 0:l.homepage)===c.id;s.push({id:c.id,path:`${r}/${c.id}`,loader:Wi(e,c.id),style:H({navigationBarTitleText:c.title},c.style),needLogin:c.needLogin,home:f})}const o=s.find(c=>!!c.home)||s[0];if(o){const c=r===Ki?"/":r;s.unshift(et(H({},o),{path:c}))}if(t){const c=((a=e.project)==null?void 0:a.blocks)||[];for(const f of c)s.push({id:f.id,path:`${r}/${f.id}`,loader:Wi(e,f.id),style:{navigationStyle:"custom"}})}return s})}function P0(){var e;return(e=window.uni)!=null&&e.showLoading&&window.uni.showLoading({title:"加载中...",mask:!0}),{close:()=>{var t;(t=window.uni)!=null&&t.hideLoading&&window.uni.hideLoading()}}}function sa(e,t="",r="warning"){return k(this,null,function*(){var n;return(n=window.uni)!=null&&n.showModal?window.uni.showModal({title:t,content:e,showCancel:!1}):Promise.reject(new Error("window.uni.showModal is undefined"))})}function k0(e=tt.Runtime){return e===tt.Runtime?Object.assign({}):Object.assign({})}const F0=hy({loading:P0,notify:sa}),oa=new e0(Xy(sa)),M0=k0(),{provider:U0,onReady:L0}=Jy({nodeEnv:"production",mode:tt.Runtime,modules:M0,materialPath:"../",adapter:F0,service:oa,dependencies:{Vue:()=>_n(()=>import("./@dcloudio-uni-h5-vue-BPSV-pNw.js").then(e=>e.J),__vite__mapDeps([0,1,2]),import.meta.url),VueRouter:()=>_n(()=>import("./vue-router-Uz_q6KEP.js"),__vite__mapDeps([3,0,1,2]),import.meta.url)}}),V0=e=>k(null,null,function*(){const t=(yield oa.getExtension().catch(()=>null))||{},r=top||window,n=yield Gy(t.enhance,r.location.pathname),{Vue:i,UniH5:s}=window,o=e.project;if(!o)return;const u=o.uniConfig||{},l=N0(u,d=>ze(d,window,!1,!0)),{manifestJson:a,pagesJson:c,css:f}=u,p=yield I0(e,!0),h=C0({Vue:i,App:l,UniH5:s,routes:p,css:f,manifestJson:a,pagesJson:c});h.use(e),n&&h.use(n,e),h.mount(document.body)});L0(()=>V0(U0));