@harbour-enterprises/superdoc 0.11.18 → 0.11.19

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 (31) hide show
  1. package/dist/chunks/{index-Y7BlAr93.es.js → index-Gs0-9Zg-.es.js} +2 -2
  2. package/dist/chunks/{index-BXKGjuVW.cjs → index-MTg0RB9I.cjs} +1 -1
  3. package/dist/chunks/{index-CqRwYOdx.cjs → index-f-drtAbP.cjs} +1 -1
  4. package/dist/chunks/{index-CPZ-IxHT.es.js → index-k2jVlnWa.es.js} +1 -1
  5. package/dist/chunks/{super-editor.es-D8ziHk1x.cjs → super-editor.es-BpCrZwJM.cjs} +3 -3
  6. package/dist/chunks/{super-editor.es-DE2LvQ4V.es.js → super-editor.es-C5WxgouW.es.js} +19 -25
  7. package/dist/chunks/{url-6Xu7gR4T.cjs → url-BY6ThfSE.cjs} +1 -1
  8. package/dist/chunks/{url-t15h9onH.es.js → url-C5LEOXW-.es.js} +1 -1
  9. package/dist/chunks/xml-js-C-3oH1mO.cjs +10 -0
  10. package/dist/chunks/{xml-js-kwrvzyhm.es.js → xml-js-DjJijnzm.es.js} +366 -355
  11. package/dist/super-editor/ai-writer.es.js +1 -1
  12. package/dist/super-editor/chunks/{converter-B25jWkqJ.js → converter-DsBQa9mA.js} +2 -2
  13. package/dist/super-editor/chunks/{docx-zipper-DNmQADIe.js → docx-zipper-BhZqF_Iv.js} +1 -1
  14. package/dist/super-editor/chunks/{editor-DKyTaWEI.js → editor-C1MQt5t_.js} +19 -25
  15. package/dist/super-editor/chunks/{toolbar-C6UiTU1Z.js → toolbar-CKwDSMyY.js} +2 -2
  16. package/dist/super-editor/converter.es.js +1 -1
  17. package/dist/super-editor/core/extensions/keymap.d.ts +3 -3
  18. package/dist/super-editor/core/extensions/keymap.d.ts.map +1 -1
  19. package/dist/super-editor/docx-zipper.es.js +2 -2
  20. package/dist/super-editor/editor.es.js +3 -3
  21. package/dist/super-editor/file-zipper.es.js +1 -1
  22. package/dist/super-editor/super-editor.es.js +6 -6
  23. package/dist/super-editor/toolbar.es.js +2 -2
  24. package/dist/super-editor.cjs +1 -1
  25. package/dist/super-editor.es.js +1 -1
  26. package/dist/superdoc.cjs +3 -3
  27. package/dist/superdoc.es.js +6 -6
  28. package/dist/superdoc.umd.js +20 -26
  29. package/dist/superdoc.umd.js.map +1 -1
  30. package/package.json +1 -1
  31. package/dist/chunks/xml-js-zhwNEV5e.cjs +0 -10
@@ -16705,7 +16705,7 @@ const gs = class qv {
16705
16705
  return;
16706
16706
  }
16707
16707
  }
16708
- static updateDocumentVersion(e = this.convertedXml, n = "0.11.18") {
16708
+ static updateDocumentVersion(e = this.convertedXml, n = "0.11.19") {
16709
16709
  const r = "docProps/custom.xml";
16710
16710
  e[r] || (e[r] = Uv());
16711
16711
  const o = e["docProps/custom.xml"];
@@ -16968,7 +16968,7 @@ function Y$(t) {
16968
16968
  function Uv() {
16969
16969
  return v4;
16970
16970
  }
16971
- function Hv(t = 2, e = "0.11.18") {
16971
+ function Hv(t = 2, e = "0.11.19") {
16972
16972
  return {
16973
16973
  type: "element",
16974
16974
  name: "property",
@@ -27895,28 +27895,22 @@ const YD = (t, e = {}) => ({ state: n, dispatch: r }) => {
27895
27895
  addCommands() {
27896
27896
  return { ...s8 };
27897
27897
  }
27898
- }), l8 = (t) => {
27899
- t.commands.first(({ commands: e }) => [
27900
- () => e.newlineInCode(),
27901
- () => e.createParagraphNear(),
27902
- () => e.liftEmptyBlock(),
27903
- () => e.splitBlock()
27904
- ]);
27905
- }, es = (t) => {
27906
- t.commands.first(({ commands: e, tr: n }) => [
27907
- () => e.undoInputRule(),
27908
- () => (n.setMeta("inputType", "deleteContentBackward"), !1),
27909
- () => e.deleteSelection(),
27910
- () => e.joinBackward(),
27911
- () => e.selectNodeBackward()
27912
- ]);
27913
- }, Zo = (t) => {
27914
- t.commands.first(({ commands: e }) => [
27915
- () => e.deleteSelection(),
27916
- () => e.joinForward(),
27917
- () => e.selectNodeForward()
27918
- ]);
27919
- }, c8 = ct.create({
27898
+ }), l8 = (t) => t.commands.first(({ commands: e }) => [
27899
+ () => e.newlineInCode(),
27900
+ () => e.createParagraphNear(),
27901
+ () => e.liftEmptyBlock(),
27902
+ () => e.splitBlock()
27903
+ ]), es = (t) => t.commands.first(({ commands: e, tr: n }) => [
27904
+ () => e.undoInputRule(),
27905
+ () => (n.setMeta("inputType", "deleteContentBackward"), !1),
27906
+ () => e.deleteSelection(),
27907
+ () => e.joinBackward(),
27908
+ () => e.selectNodeBackward()
27909
+ ]), Zo = (t) => t.commands.first(({ commands: e }) => [
27910
+ () => e.deleteSelection(),
27911
+ () => e.joinForward(),
27912
+ () => e.selectNodeForward()
27913
+ ]), c8 = ct.create({
27920
27914
  name: "keymap",
27921
27915
  addShortcuts() {
27922
27916
  const t = {
@@ -29442,7 +29436,7 @@ const I8 = class zx extends _M {
29442
29436
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
29443
29437
  */
29444
29438
  processCollaborationMigrations() {
29445
- if (console.debug("[checkVersionMigrations] Current editor version", "0.11.18"), !this.options.ydoc) return;
29439
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.11.19"), !this.options.ydoc) return;
29446
29440
  let e = this.options.ydoc.getMap("meta").get("version");
29447
29441
  e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
29448
29442
  const n = fw(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));
@@ -1,4 +1,4 @@
1
- "use strict";const ne=require("./jszip-ChlzEvf9.cjs"),ie=require("./xml-js-zhwNEV5e.cjs"),Hr=require("./__vite-browser-external-ChNNClnV.cjs");var Ae={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */Ae.exports;(function(r,e){(function(t){var n=e&&!e.nodeType&&e,a=r&&!r.nodeType&&r,i=typeof ne.commonjsGlobal=="object"&&ne.commonjsGlobal;(i.global===i||i.window===i||i.self===i)&&(t=i);var f,o=2147483647,l=36,s=1,c=26,m=38,u=700,d=72,g=128,I="-",S=/^xn--/,F=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},x=l-s,b=Math.floor,O=String.fromCharCode,N;function T(h){throw new RangeError(p[h])}function $(h,v){for(var w=h.length,E=[];w--;)E[w]=v(h[w]);return E}function D(h,v){var w=h.split("@"),E="";w.length>1&&(E=w[0]+"@",h=w[1]),h=h.replace(y,".");var C=h.split("."),U=$(C,v).join(".");return E+U}function K(h){for(var v=[],w=0,E=h.length,C,U;w<E;)C=h.charCodeAt(w++),C>=55296&&C<=56319&&w<E?(U=h.charCodeAt(w++),(U&64512)==56320?v.push(((C&1023)<<10)+(U&1023)+65536):(v.push(C),w--)):v.push(C);return v}function k(h){return $(h,function(v){var w="";return v>65535&&(v-=65536,w+=O(v>>>10&1023|55296),v=56320|v&1023),w+=O(v),w}).join("")}function _(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:l}function q(h,v){return h+22+75*(h<26)-((v!=0)<<5)}function M(h,v,w){var E=0;for(h=w?b(h/u):h>>1,h+=b(h/v);h>x*c>>1;E+=l)h=b(h/x);return b(E+(x+1)*h/(h+m))}function W(h){var v=[],w=h.length,E,C=0,U=g,L=d,B,G,V,Y,P,z,Q,re,fe;for(B=h.lastIndexOf(I),B<0&&(B=0),G=0;G<B;++G)h.charCodeAt(G)>=128&&T("not-basic"),v.push(h.charCodeAt(G));for(V=B>0?B+1:0;V<w;){for(Y=C,P=1,z=l;V>=w&&T("invalid-input"),Q=_(h.charCodeAt(V++)),(Q>=l||Q>b((o-C)/P))&&T("overflow"),C+=Q*P,re=z<=L?s:z>=L+c?c:z-L,!(Q<re);z+=l)fe=l-re,P>b(o/fe)&&T("overflow"),P*=fe;E=v.length+1,L=M(C-Y,E,Y==0),b(C/E)>o-U&&T("overflow"),U+=b(C/E),C%=E,v.splice(C++,0,U)}return k(v)}function ee(h){var v,w,E,C,U,L,B,G,V,Y,P,z=[],Q,re,fe,De;for(h=K(h),Q=h.length,v=g,w=0,U=d,L=0;L<Q;++L)P=h[L],P<128&&z.push(O(P));for(E=C=z.length,C&&z.push(I);E<Q;){for(B=o,L=0;L<Q;++L)P=h[L],P>=v&&P<B&&(B=P);for(re=E+1,B-v>b((o-w)/re)&&T("overflow"),w+=(B-v)*re,v=B,L=0;L<Q;++L)if(P=h[L],P<v&&++w>o&&T("overflow"),P==v){for(G=w,V=l;Y=V<=U?s:V>=U+c?c:V-U,!(G<Y);V+=l)De=G-Y,fe=l-Y,z.push(O(q(Y+De%fe,0))),G=b(De/fe);z.push(O(q(G,0))),U=M(w,re,E==C),w=0,++E}++w,++v}return z.join("")}function Re(h){return D(h,function(v){return S.test(v)?W(v.slice(4).toLowerCase()):v})}function be(h){return D(h,function(v){return F.test(v)?"xn--"+ee(v):v})}if(f={version:"1.4.1",ucs2:{decode:K,encode:k},decode:W,encode:ee,toASCII:be,toUnicode:Re},n&&a)if(r.exports==n)a.exports=f;else for(N in f)f.hasOwnProperty(N)&&(n[N]=f[N]);else t.punycode=f})(ne.commonjsGlobal)})(Ae,Ae.exports);var Kr=Ae.exports;const kr=ne.getDefaultExportFromCjs(Kr),Gr=ne.getAugmentedNamespace(Hr.__viteBrowserExternal);var Ze=typeof Map=="function"&&Map.prototype,Le=Object.getOwnPropertyDescriptor&&Ze?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Te=Ze&&Le&&typeof Le.get=="function"?Le.get:null,er=Ze&&Map.prototype.forEach,Xe=typeof Set=="function"&&Set.prototype,Fe=Object.getOwnPropertyDescriptor&&Xe?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,$e=Xe&&Fe&&typeof Fe.get=="function"?Fe.get:null,rr=Xe&&Set.prototype.forEach,Qr=typeof WeakMap=="function"&&WeakMap.prototype,de=Qr?WeakMap.prototype.has:null,Vr=typeof WeakSet=="function"&&WeakSet.prototype,me=Vr?WeakSet.prototype.has:null,Jr=typeof WeakRef=="function"&&WeakRef.prototype,tr=Jr?WeakRef.prototype.deref:null,Zr=Boolean.prototype.valueOf,Xr=Object.prototype.toString,Yr=Function.prototype.toString,jr=String.prototype.match,Ye=String.prototype.slice,te=String.prototype.replace,et=String.prototype.toUpperCase,nr=String.prototype.toLowerCase,gr=RegExp.prototype.test,ar=Array.prototype.concat,X=Array.prototype.join,rt=Array.prototype.slice,ir=Math.floor,Be=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Me=Object.getOwnPropertySymbols,ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,pe=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ve=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===pe||!0)?Symbol.toStringTag:null,wr=Object.prototype.propertyIsEnumerable,or=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function fr(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||gr.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-ir(-r):ir(r);if(n!==r){var a=String(n),i=Ye.call(e,a.length+1);return te.call(a,t,"$&_")+"."+te.call(te.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return te.call(e,t,"$&_")}var He=Gr,lr=He.custom,ur=xr(lr)?lr:null,Sr={__proto__:null,double:'"',single:"'"},tt={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Ce=function r(e,t,n,a){var i=t||{};if(j(i,"quoteStyle")&&!j(Sr,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(j(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var f=j(i,"customInspect")?i.customInspect:!0;if(typeof f!="boolean"&&f!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(j(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(j(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var o=i.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Er(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return o?fr(e,l):l}if(typeof e=="bigint"){var s=String(e)+"n";return o?fr(e,s):s}var c=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof e=="object")return Ke(e)?"[Array]":"[Object]";var m=St(i,n);if(typeof a>"u")a=[];else if(Or(a,e)>=0)return"[Circular]";function u(_,q,M){if(q&&(a=rt.call(a),a.push(q)),M){var W={depth:i.depth};return j(i,"quoteStyle")&&(W.quoteStyle=i.quoteStyle),r(_,W,n+1,a)}return r(_,i,n+1,a)}if(typeof e=="function"&&!sr(e)){var d=ct(e),g=xe(e,u);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(g.length>0?" { "+X.call(g,", ")+" }":"")}if(xr(e)){var I=pe?te.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):ze.call(e);return typeof e=="object"&&!pe?ye(I):I}if(vt(e)){for(var S="<"+nr.call(String(e.nodeName)),F=e.attributes||[],y=0;y<F.length;y++)S+=" "+F[y].name+"="+br(nt(F[y].value),"double",i);return S+=">",e.childNodes&&e.childNodes.length&&(S+="..."),S+="</"+nr.call(String(e.nodeName))+">",S}if(Ke(e)){if(e.length===0)return"[]";var p=xe(e,u);return m&&!wt(p)?"["+ke(p,m)+"]":"[ "+X.call(p,", ")+" ]"}if(it(e)){var x=xe(e,u);return!("cause"in Error.prototype)&&"cause"in e&&!wr.call(e,"cause")?"{ ["+String(e)+"] "+X.call(ar.call("[cause]: "+u(e.cause),x),", ")+" }":x.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+X.call(x,", ")+" }"}if(typeof e=="object"&&f){if(ur&&typeof e[ur]=="function"&&He)return He(e,{depth:c-n});if(f!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(ht(e)){var b=[];return er&&er.call(e,function(_,q){b.push(u(q,e,!0)+" => "+u(_,e))}),cr("Map",Te.call(e),b,m)}if(dt(e)){var O=[];return rr&&rr.call(e,function(_){O.push(u(_,e))}),cr("Set",$e.call(e),O,m)}if(pt(e))return Pe("WeakMap");if(mt(e))return Pe("WeakSet");if(yt(e))return Pe("WeakRef");if(ft(e))return ye(u(Number(e)));if(ut(e))return ye(u(Be.call(e)));if(lt(e))return ye(Zr.call(e));if(ot(e))return ye(u(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof ne.commonjsGlobal<"u"&&e===ne.commonjsGlobal)return"{ [object globalThis] }";if(!at(e)&&!sr(e)){var N=xe(e,u),T=or?or(e)===Object.prototype:e instanceof Object||e.constructor===Object,$=e instanceof Object?"":"null prototype",D=!T&&ve&&Object(e)===e&&ve in e?Ye.call(oe(e),8,-1):$?"Object":"",K=T||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",k=K+(D||$?"["+X.call(ar.call([],D||[],$||[]),": ")+"] ":"");return N.length===0?k+"{}":m?k+"{"+ke(N,m)+"}":k+"{ "+X.call(N,", ")+" }"}return String(e)};function br(r,e,t){var n=t.quoteStyle||e,a=Sr[n];return a+r+a}function nt(r){return te.call(String(r),/"/g,"&quot;")}function se(r){return!ve||!(typeof r=="object"&&(ve in r||typeof r[ve]<"u"))}function Ke(r){return oe(r)==="[object Array]"&&se(r)}function at(r){return oe(r)==="[object Date]"&&se(r)}function sr(r){return oe(r)==="[object RegExp]"&&se(r)}function it(r){return oe(r)==="[object Error]"&&se(r)}function ot(r){return oe(r)==="[object String]"&&se(r)}function ft(r){return oe(r)==="[object Number]"&&se(r)}function lt(r){return oe(r)==="[object Boolean]"&&se(r)}function xr(r){if(pe)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!ze)return!1;try{return ze.call(r),!0}catch{}return!1}function ut(r){if(!r||typeof r!="object"||!Be)return!1;try{return Be.call(r),!0}catch{}return!1}var st=Object.prototype.hasOwnProperty||function(r){return r in this};function j(r,e){return st.call(r,e)}function oe(r){return Xr.call(r)}function ct(r){if(r.name)return r.name;var e=jr.call(Yr.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function Or(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;t<n;t++)if(r[t]===e)return t;return-1}function ht(r){if(!Te||!r||typeof r!="object")return!1;try{Te.call(r);try{$e.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function pt(r){if(!de||!r||typeof r!="object")return!1;try{de.call(r,de);try{me.call(r,me)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function yt(r){if(!tr||!r||typeof r!="object")return!1;try{return tr.call(r),!0}catch{}return!1}function dt(r){if(!$e||!r||typeof r!="object")return!1;try{$e.call(r);try{Te.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function mt(r){if(!me||!r||typeof r!="object")return!1;try{me.call(r,me);try{de.call(r,de)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function vt(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function Er(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return Er(Ye.call(r,0,e.maxStringLength),e)+n}var a=tt[e.quoteStyle||"single"];a.lastIndex=0;var i=te.call(te.call(r,a,"\\$1"),/[\x00-\x1f]/g,gt);return br(i,"single",e)}function gt(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+et.call(e.toString(16))}function ye(r){return"Object("+r+")"}function Pe(r){return r+" { ? }"}function cr(r,e,t,n){var a=n?ke(t,n):X.call(t,", ");return r+" ("+e+") {"+a+"}"}function wt(r){for(var e=0;e<r.length;e++)if(Or(r[e],`
1
+ "use strict";const ne=require("./jszip-ChlzEvf9.cjs"),ie=require("./xml-js-C-3oH1mO.cjs"),Hr=require("./__vite-browser-external-ChNNClnV.cjs");var Ae={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */Ae.exports;(function(r,e){(function(t){var n=e&&!e.nodeType&&e,a=r&&!r.nodeType&&r,i=typeof ne.commonjsGlobal=="object"&&ne.commonjsGlobal;(i.global===i||i.window===i||i.self===i)&&(t=i);var f,o=2147483647,l=36,s=1,c=26,m=38,u=700,d=72,g=128,I="-",S=/^xn--/,F=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},x=l-s,b=Math.floor,O=String.fromCharCode,N;function T(h){throw new RangeError(p[h])}function $(h,v){for(var w=h.length,E=[];w--;)E[w]=v(h[w]);return E}function D(h,v){var w=h.split("@"),E="";w.length>1&&(E=w[0]+"@",h=w[1]),h=h.replace(y,".");var C=h.split("."),U=$(C,v).join(".");return E+U}function K(h){for(var v=[],w=0,E=h.length,C,U;w<E;)C=h.charCodeAt(w++),C>=55296&&C<=56319&&w<E?(U=h.charCodeAt(w++),(U&64512)==56320?v.push(((C&1023)<<10)+(U&1023)+65536):(v.push(C),w--)):v.push(C);return v}function k(h){return $(h,function(v){var w="";return v>65535&&(v-=65536,w+=O(v>>>10&1023|55296),v=56320|v&1023),w+=O(v),w}).join("")}function _(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:l}function q(h,v){return h+22+75*(h<26)-((v!=0)<<5)}function M(h,v,w){var E=0;for(h=w?b(h/u):h>>1,h+=b(h/v);h>x*c>>1;E+=l)h=b(h/x);return b(E+(x+1)*h/(h+m))}function W(h){var v=[],w=h.length,E,C=0,U=g,L=d,B,G,V,Y,P,z,Q,re,fe;for(B=h.lastIndexOf(I),B<0&&(B=0),G=0;G<B;++G)h.charCodeAt(G)>=128&&T("not-basic"),v.push(h.charCodeAt(G));for(V=B>0?B+1:0;V<w;){for(Y=C,P=1,z=l;V>=w&&T("invalid-input"),Q=_(h.charCodeAt(V++)),(Q>=l||Q>b((o-C)/P))&&T("overflow"),C+=Q*P,re=z<=L?s:z>=L+c?c:z-L,!(Q<re);z+=l)fe=l-re,P>b(o/fe)&&T("overflow"),P*=fe;E=v.length+1,L=M(C-Y,E,Y==0),b(C/E)>o-U&&T("overflow"),U+=b(C/E),C%=E,v.splice(C++,0,U)}return k(v)}function ee(h){var v,w,E,C,U,L,B,G,V,Y,P,z=[],Q,re,fe,De;for(h=K(h),Q=h.length,v=g,w=0,U=d,L=0;L<Q;++L)P=h[L],P<128&&z.push(O(P));for(E=C=z.length,C&&z.push(I);E<Q;){for(B=o,L=0;L<Q;++L)P=h[L],P>=v&&P<B&&(B=P);for(re=E+1,B-v>b((o-w)/re)&&T("overflow"),w+=(B-v)*re,v=B,L=0;L<Q;++L)if(P=h[L],P<v&&++w>o&&T("overflow"),P==v){for(G=w,V=l;Y=V<=U?s:V>=U+c?c:V-U,!(G<Y);V+=l)De=G-Y,fe=l-Y,z.push(O(q(Y+De%fe,0))),G=b(De/fe);z.push(O(q(G,0))),U=M(w,re,E==C),w=0,++E}++w,++v}return z.join("")}function Re(h){return D(h,function(v){return S.test(v)?W(v.slice(4).toLowerCase()):v})}function be(h){return D(h,function(v){return F.test(v)?"xn--"+ee(v):v})}if(f={version:"1.4.1",ucs2:{decode:K,encode:k},decode:W,encode:ee,toASCII:be,toUnicode:Re},n&&a)if(r.exports==n)a.exports=f;else for(N in f)f.hasOwnProperty(N)&&(n[N]=f[N]);else t.punycode=f})(ne.commonjsGlobal)})(Ae,Ae.exports);var Kr=Ae.exports;const kr=ne.getDefaultExportFromCjs(Kr),Gr=ne.getAugmentedNamespace(Hr.__viteBrowserExternal);var Ze=typeof Map=="function"&&Map.prototype,Le=Object.getOwnPropertyDescriptor&&Ze?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Te=Ze&&Le&&typeof Le.get=="function"?Le.get:null,er=Ze&&Map.prototype.forEach,Xe=typeof Set=="function"&&Set.prototype,Fe=Object.getOwnPropertyDescriptor&&Xe?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,$e=Xe&&Fe&&typeof Fe.get=="function"?Fe.get:null,rr=Xe&&Set.prototype.forEach,Qr=typeof WeakMap=="function"&&WeakMap.prototype,de=Qr?WeakMap.prototype.has:null,Vr=typeof WeakSet=="function"&&WeakSet.prototype,me=Vr?WeakSet.prototype.has:null,Jr=typeof WeakRef=="function"&&WeakRef.prototype,tr=Jr?WeakRef.prototype.deref:null,Zr=Boolean.prototype.valueOf,Xr=Object.prototype.toString,Yr=Function.prototype.toString,jr=String.prototype.match,Ye=String.prototype.slice,te=String.prototype.replace,et=String.prototype.toUpperCase,nr=String.prototype.toLowerCase,gr=RegExp.prototype.test,ar=Array.prototype.concat,X=Array.prototype.join,rt=Array.prototype.slice,ir=Math.floor,Be=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Me=Object.getOwnPropertySymbols,ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,pe=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ve=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===pe||!0)?Symbol.toStringTag:null,wr=Object.prototype.propertyIsEnumerable,or=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function fr(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||gr.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-ir(-r):ir(r);if(n!==r){var a=String(n),i=Ye.call(e,a.length+1);return te.call(a,t,"$&_")+"."+te.call(te.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return te.call(e,t,"$&_")}var He=Gr,lr=He.custom,ur=xr(lr)?lr:null,Sr={__proto__:null,double:'"',single:"'"},tt={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Ce=function r(e,t,n,a){var i=t||{};if(j(i,"quoteStyle")&&!j(Sr,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(j(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var f=j(i,"customInspect")?i.customInspect:!0;if(typeof f!="boolean"&&f!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(j(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(j(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var o=i.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Er(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return o?fr(e,l):l}if(typeof e=="bigint"){var s=String(e)+"n";return o?fr(e,s):s}var c=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof e=="object")return Ke(e)?"[Array]":"[Object]";var m=St(i,n);if(typeof a>"u")a=[];else if(Or(a,e)>=0)return"[Circular]";function u(_,q,M){if(q&&(a=rt.call(a),a.push(q)),M){var W={depth:i.depth};return j(i,"quoteStyle")&&(W.quoteStyle=i.quoteStyle),r(_,W,n+1,a)}return r(_,i,n+1,a)}if(typeof e=="function"&&!sr(e)){var d=ct(e),g=xe(e,u);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(g.length>0?" { "+X.call(g,", ")+" }":"")}if(xr(e)){var I=pe?te.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):ze.call(e);return typeof e=="object"&&!pe?ye(I):I}if(vt(e)){for(var S="<"+nr.call(String(e.nodeName)),F=e.attributes||[],y=0;y<F.length;y++)S+=" "+F[y].name+"="+br(nt(F[y].value),"double",i);return S+=">",e.childNodes&&e.childNodes.length&&(S+="..."),S+="</"+nr.call(String(e.nodeName))+">",S}if(Ke(e)){if(e.length===0)return"[]";var p=xe(e,u);return m&&!wt(p)?"["+ke(p,m)+"]":"[ "+X.call(p,", ")+" ]"}if(it(e)){var x=xe(e,u);return!("cause"in Error.prototype)&&"cause"in e&&!wr.call(e,"cause")?"{ ["+String(e)+"] "+X.call(ar.call("[cause]: "+u(e.cause),x),", ")+" }":x.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+X.call(x,", ")+" }"}if(typeof e=="object"&&f){if(ur&&typeof e[ur]=="function"&&He)return He(e,{depth:c-n});if(f!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(ht(e)){var b=[];return er&&er.call(e,function(_,q){b.push(u(q,e,!0)+" => "+u(_,e))}),cr("Map",Te.call(e),b,m)}if(dt(e)){var O=[];return rr&&rr.call(e,function(_){O.push(u(_,e))}),cr("Set",$e.call(e),O,m)}if(pt(e))return Pe("WeakMap");if(mt(e))return Pe("WeakSet");if(yt(e))return Pe("WeakRef");if(ft(e))return ye(u(Number(e)));if(ut(e))return ye(u(Be.call(e)));if(lt(e))return ye(Zr.call(e));if(ot(e))return ye(u(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof ne.commonjsGlobal<"u"&&e===ne.commonjsGlobal)return"{ [object globalThis] }";if(!at(e)&&!sr(e)){var N=xe(e,u),T=or?or(e)===Object.prototype:e instanceof Object||e.constructor===Object,$=e instanceof Object?"":"null prototype",D=!T&&ve&&Object(e)===e&&ve in e?Ye.call(oe(e),8,-1):$?"Object":"",K=T||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",k=K+(D||$?"["+X.call(ar.call([],D||[],$||[]),": ")+"] ":"");return N.length===0?k+"{}":m?k+"{"+ke(N,m)+"}":k+"{ "+X.call(N,", ")+" }"}return String(e)};function br(r,e,t){var n=t.quoteStyle||e,a=Sr[n];return a+r+a}function nt(r){return te.call(String(r),/"/g,"&quot;")}function se(r){return!ve||!(typeof r=="object"&&(ve in r||typeof r[ve]<"u"))}function Ke(r){return oe(r)==="[object Array]"&&se(r)}function at(r){return oe(r)==="[object Date]"&&se(r)}function sr(r){return oe(r)==="[object RegExp]"&&se(r)}function it(r){return oe(r)==="[object Error]"&&se(r)}function ot(r){return oe(r)==="[object String]"&&se(r)}function ft(r){return oe(r)==="[object Number]"&&se(r)}function lt(r){return oe(r)==="[object Boolean]"&&se(r)}function xr(r){if(pe)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!ze)return!1;try{return ze.call(r),!0}catch{}return!1}function ut(r){if(!r||typeof r!="object"||!Be)return!1;try{return Be.call(r),!0}catch{}return!1}var st=Object.prototype.hasOwnProperty||function(r){return r in this};function j(r,e){return st.call(r,e)}function oe(r){return Xr.call(r)}function ct(r){if(r.name)return r.name;var e=jr.call(Yr.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function Or(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;t<n;t++)if(r[t]===e)return t;return-1}function ht(r){if(!Te||!r||typeof r!="object")return!1;try{Te.call(r);try{$e.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function pt(r){if(!de||!r||typeof r!="object")return!1;try{de.call(r,de);try{me.call(r,me)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function yt(r){if(!tr||!r||typeof r!="object")return!1;try{return tr.call(r),!0}catch{}return!1}function dt(r){if(!$e||!r||typeof r!="object")return!1;try{$e.call(r);try{Te.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function mt(r){if(!me||!r||typeof r!="object")return!1;try{me.call(r,me);try{de.call(r,de)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function vt(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function Er(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return Er(Ye.call(r,0,e.maxStringLength),e)+n}var a=tt[e.quoteStyle||"single"];a.lastIndex=0;var i=te.call(te.call(r,a,"\\$1"),/[\x00-\x1f]/g,gt);return br(i,"single",e)}function gt(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+et.call(e.toString(16))}function ye(r){return"Object("+r+")"}function Pe(r){return r+" { ? }"}function cr(r,e,t,n){var a=n?ke(t,n):X.call(t,", ");return r+" ("+e+") {"+a+"}"}function wt(r){for(var e=0;e<r.length;e++)if(Or(r[e],`
2
2
  `)>=0)return!1;return!0}function St(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=X.call(Array(r.indent+1)," ");else return null;return{base:t,prev:X.call(Array(e+1),t)}}function ke(r,e){if(r.length===0)return"";var t=`
3
3
  `+e.prev+e.base;return t+X.call(r,","+t)+`
4
4
  `+e.prev}function xe(r,e){var t=Ke(r),n=[];if(t){n.length=r.length;for(var a=0;a<r.length;a++)n[a]=j(r,a)?e(r[a],r):""}var i=typeof Me=="function"?Me(r):[],f;if(pe){f={};for(var o=0;o<i.length;o++)f["$"+i[o]]=i[o]}for(var l in r)j(r,l)&&(t&&String(Number(l))===l&&l<r.length||pe&&f["$"+l]instanceof Symbol||(gr.call(/[^\w$]/,l)?n.push(e(l,r)+": "+e(r[l],r)):n.push(l+": "+e(r[l],r))));if(typeof Me=="function")for(var s=0;s<i.length;s++)wr.call(r,i[s])&&n.push("["+e(i[s])+"]: "+e(r[i[s]],r));return n}var bt=Ce,xt=ie.type,Ie=function(r,e,t){for(var n=r,a;(a=n.next)!=null;n=a)if(a.key===e)return n.next=a.next,t||(a.next=r.next,r.next=a),a},Ot=function(r,e){if(r){var t=Ie(r,e);return t&&t.value}},Et=function(r,e,t){var n=Ie(r,e);n?n.value=t:r.next={key:e,next:r.next,value:t}},At=function(r,e){return r?!!Ie(r,e):!1},Tt=function(r,e){if(r)return Ie(r,e,!0)},$t=function(){var e,t={assert:function(n){if(!t.has(n))throw new xt("Side channel does not contain "+bt(n))},delete:function(n){var a=e&&e.next,i=Tt(e,n);return i&&a&&a===i&&(e=void 0),!!i},get:function(n){return Ot(e,n)},has:function(n){return At(e,n)},set:function(n,a){e||(e={next:void 0}),Et(e,n,a)}};return t},Ct=ie.getIntrinsic,we=ie.callBound,It=Ce,_t=ie.type,hr=Ct("%Map%",!0),Rt=we("Map.prototype.get",!0),Dt=we("Map.prototype.set",!0),Lt=we("Map.prototype.has",!0),Ft=we("Map.prototype.delete",!0),Mt=we("Map.prototype.size",!0),Ar=!!hr&&function(){var e,t={assert:function(n){if(!t.has(n))throw new _t("Side channel does not contain "+It(n))},delete:function(n){if(e){var a=Ft(e,n);return Mt(e)===0&&(e=void 0),a}return!1},get:function(n){if(e)return Rt(e,n)},has:function(n){return e?Lt(e,n):!1},set:function(n,a){e||(e=new hr),Dt(e,n,a)}};return t},Pt=ie.getIntrinsic,_e=ie.callBound,Nt=Ce,Oe=Ar,qt=ie.type,ce=Pt("%WeakMap%",!0),Ut=_e("WeakMap.prototype.get",!0),Wt=_e("WeakMap.prototype.set",!0),Bt=_e("WeakMap.prototype.has",!0),zt=_e("WeakMap.prototype.delete",!0),Ht=ce?function(){var e,t,n={assert:function(a){if(!n.has(a))throw new qt("Side channel does not contain "+Nt(a))},delete:function(a){if(ce&&a&&(typeof a=="object"||typeof a=="function")){if(e)return zt(e,a)}else if(Oe&&t)return t.delete(a);return!1},get:function(a){return ce&&a&&(typeof a=="object"||typeof a=="function")&&e?Ut(e,a):t&&t.get(a)},has:function(a){return ce&&a&&(typeof a=="object"||typeof a=="function")&&e?Bt(e,a):!!t&&t.has(a)},set:function(a,i){ce&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new ce),Wt(e,a,i)):Oe&&(t||(t=Oe()),t.set(a,i))}};return n}:Oe,Kt=ie.type,kt=Ce,Gt=$t,Qt=Ar,Vt=Ht,Jt=Vt||Qt||Gt,Zt=function(){var e,t={assert:function(n){if(!t.has(n))throw new Kt("Side channel does not contain "+kt(n))},delete:function(n){return!!e&&e.delete(n)},get:function(n){return e&&e.get(n)},has:function(n){return!!e&&e.has(n)},set:function(n,a){e||(e=Jt()),e.set(n,a)}};return t},Xt=String.prototype.replace,Yt=/%20/g,Ne={RFC1738:"RFC1738",RFC3986:"RFC3986"},je={default:Ne.RFC3986,formatters:{RFC1738:function(r){return Xt.call(r,Yt,"+")},RFC3986:function(r){return String(r)}},RFC1738:Ne.RFC1738,RFC3986:Ne.RFC3986},jt=je,qe=Object.prototype.hasOwnProperty,le=Array.isArray,J=function(){for(var r=[],e=0;e<256;++e)r.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return r}(),en=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(le(n)){for(var a=[],i=0;i<n.length;++i)typeof n[i]<"u"&&a.push(n[i]);t.obj[t.prop]=a}}},Tr=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},a=0;a<e.length;++a)typeof e[a]<"u"&&(n[a]=e[a]);return n},rn=function r(e,t,n){if(!t)return e;if(typeof t!="object"&&typeof t!="function"){if(le(e))e.push(t);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!qe.call(Object.prototype,t))&&(e[t]=!0);else return[e,t];return e}if(!e||typeof e!="object")return[e].concat(t);var a=e;return le(e)&&!le(t)&&(a=Tr(e,n)),le(e)&&le(t)?(t.forEach(function(i,f){if(qe.call(e,f)){var o=e[f];o&&typeof o=="object"&&i&&typeof i=="object"?e[f]=r(o,i,n):e.push(i)}else e[f]=i}),e):Object.keys(t).reduce(function(i,f){var o=t[f];return qe.call(i,f)?i[f]=r(i[f],o,n):i[f]=o,i},a)},tn=function(e,t){return Object.keys(t).reduce(function(n,a){return n[a]=t[a],n},e)},nn=function(r,e,t){var n=r.replace(/\+/g," ");if(t==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},Ue=1024,an=function(e,t,n,a,i){if(e.length===0)return e;var f=e;if(typeof e=="symbol"?f=Symbol.prototype.toString.call(e):typeof e!="string"&&(f=String(e)),n==="iso-8859-1")return escape(f).replace(/%u[0-9a-f]{4}/gi,function(d){return"%26%23"+parseInt(d.slice(2),16)+"%3B"});for(var o="",l=0;l<f.length;l+=Ue){for(var s=f.length>=Ue?f.slice(l,l+Ue):f,c=[],m=0;m<s.length;++m){var u=s.charCodeAt(m);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||i===jt.RFC1738&&(u===40||u===41)){c[c.length]=s.charAt(m);continue}if(u<128){c[c.length]=J[u];continue}if(u<2048){c[c.length]=J[192|u>>6]+J[128|u&63];continue}if(u<55296||u>=57344){c[c.length]=J[224|u>>12]+J[128|u>>6&63]+J[128|u&63];continue}m+=1,u=65536+((u&1023)<<10|s.charCodeAt(m)&1023),c[c.length]=J[240|u>>18]+J[128|u>>12&63]+J[128|u>>6&63]+J[128|u&63]}o+=c.join("")}return o},on=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],a=0;a<t.length;++a)for(var i=t[a],f=i.obj[i.prop],o=Object.keys(f),l=0;l<o.length;++l){var s=o[l],c=f[s];typeof c=="object"&&c!==null&&n.indexOf(c)===-1&&(t.push({obj:f,prop:s}),n.push(c))}return en(t),e},fn=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},ln=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},un=function(e,t){return[].concat(e,t)},sn=function(e,t){if(le(e)){for(var n=[],a=0;a<e.length;a+=1)n.push(t(e[a]));return n}return t(e)},$r={arrayToObject:Tr,assign:tn,combine:un,compact:on,decode:nn,encode:an,isBuffer:ln,isRegExp:fn,maybeMap:sn,merge:rn},Cr=Zt,Ee=$r,ge=je,cn=Object.prototype.hasOwnProperty,Ir={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},Z=Array.isArray,hn=Array.prototype.push,_r=function(r,e){hn.apply(r,Z(e)?e:[e])},pn=Date.prototype.toISOString,pr=ge.default,R={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Ee.encode,encodeValuesOnly:!1,filter:void 0,format:pr,formatter:ge.formatters[pr],indices:!1,serializeDate:function(e){return pn.call(e)},skipNulls:!1,strictNullHandling:!1},yn=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},We={},dn=function r(e,t,n,a,i,f,o,l,s,c,m,u,d,g,I,S,F,y){for(var p=e,x=y,b=0,O=!1;(x=x.get(We))!==void 0&&!O;){var N=x.get(e);if(b+=1,typeof N<"u"){if(N===b)throw new RangeError("Cyclic object value");O=!0}typeof x.get(We)>"u"&&(b=0)}if(typeof c=="function"?p=c(t,p):p instanceof Date?p=d(p):n==="comma"&&Z(p)&&(p=Ee.maybeMap(p,function(h){return h instanceof Date?d(h):h})),p===null){if(f)return s&&!S?s(t,R.encoder,F,"key",g):t;p=""}if(yn(p)||Ee.isBuffer(p)){if(s){var T=S?t:s(t,R.encoder,F,"key",g);return[I(T)+"="+I(s(p,R.encoder,F,"value",g))]}return[I(t)+"="+I(String(p))]}var $=[];if(typeof p>"u")return $;var D;if(n==="comma"&&Z(p))S&&s&&(p=Ee.maybeMap(p,s)),D=[{value:p.length>0?p.join(",")||null:void 0}];else if(Z(c))D=c;else{var K=Object.keys(p);D=m?K.sort(m):K}var k=l?String(t).replace(/\./g,"%2E"):String(t),_=a&&Z(p)&&p.length===1?k+"[]":k;if(i&&Z(p)&&p.length===0)return _+"[]";for(var q=0;q<D.length;++q){var M=D[q],W=typeof M=="object"&&M&&typeof M.value<"u"?M.value:p[M];if(!(o&&W===null)){var ee=u&&l?String(M).replace(/\./g,"%2E"):String(M),Re=Z(p)?typeof n=="function"?n(_,ee):_:_+(u?"."+ee:"["+ee+"]");y.set(e,b);var be=Cr();be.set(We,y),_r($,r(W,Re,n,a,i,f,o,l,n==="comma"&&S&&Z(p)?null:s,c,m,u,d,g,I,S,F,be))}}return $},mn=function(e){if(!e)return R;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var t=e.charset||R.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=ge.default;if(typeof e.format<"u"){if(!cn.call(ge.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var a=ge.formatters[n],i=R.filter;(typeof e.filter=="function"||Z(e.filter))&&(i=e.filter);var f;if(e.arrayFormat in Ir?f=e.arrayFormat:"indices"in e?f=e.indices?"indices":"repeat":f=R.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var o=typeof e.allowDots>"u"?e.encodeDotInKeys===!0?!0:R.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:R.addQueryPrefix,allowDots:o,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:R.allowEmptyArrays,arrayFormat:f,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:R.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?R.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:R.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:R.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:R.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:R.encodeValuesOnly,filter:i,format:n,formatter:a,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:R.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:R.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:R.strictNullHandling}},vn=function(r,e){var t=r,n=mn(e),a,i;typeof n.filter=="function"?(i=n.filter,t=i("",t)):Z(n.filter)&&(i=n.filter,a=i);var f=[];if(typeof t!="object"||t===null)return"";var o=Ir[n.arrayFormat],l=o==="comma"&&n.commaRoundTrip;a||(a=Object.keys(t)),n.sort&&a.sort(n.sort);for(var s=Cr(),c=0;c<a.length;++c){var m=a[c],u=t[m];n.skipNulls&&u===null||_r(f,dn(u,m,o,l,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,s))}var d=f.join(n.delimiter),g=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),d.length>0?g+d:""},ue=$r,Ge=Object.prototype.hasOwnProperty,yr=Array.isArray,A={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:ue.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},gn=function(r){return r.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},Rr=function(r,e,t){if(r&&typeof r=="string"&&e.comma&&r.indexOf(",")>-1)return r.split(",");if(e.throwOnLimitExceeded&&t>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(e.arrayLimit===1?"":"s")+" allowed in an array.");return r},wn="utf8=%26%2310003%3B",Sn="utf8=%E2%9C%93",bn=function(e,t){var n={__proto__:null},a=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;a=a.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var i=t.parameterLimit===1/0?void 0:t.parameterLimit,f=a.split(t.delimiter,t.throwOnLimitExceeded?i+1:i);if(t.throwOnLimitExceeded&&f.length>i)throw new RangeError("Parameter limit exceeded. Only "+i+" parameter"+(i===1?"":"s")+" allowed.");var o=-1,l,s=t.charset;if(t.charsetSentinel)for(l=0;l<f.length;++l)f[l].indexOf("utf8=")===0&&(f[l]===Sn?s="utf-8":f[l]===wn&&(s="iso-8859-1"),o=l,l=f.length);for(l=0;l<f.length;++l)if(l!==o){var c=f[l],m=c.indexOf("]="),u=m===-1?c.indexOf("="):m+1,d,g;u===-1?(d=t.decoder(c,A.decoder,s,"key"),g=t.strictNullHandling?null:""):(d=t.decoder(c.slice(0,u),A.decoder,s,"key"),g=ue.maybeMap(Rr(c.slice(u+1),t,yr(n[d])?n[d].length:0),function(S){return t.decoder(S,A.decoder,s,"value")})),g&&t.interpretNumericEntities&&s==="iso-8859-1"&&(g=gn(String(g))),c.indexOf("[]=")>-1&&(g=yr(g)?[g]:g);var I=Ge.call(n,d);I&&t.duplicates==="combine"?n[d]=ue.combine(n[d],g):(!I||t.duplicates==="last")&&(n[d]=g)}return n},xn=function(r,e,t,n){var a=0;if(r.length>0&&r[r.length-1]==="[]"){var i=r.slice(0,-1).join("");a=Array.isArray(e)&&e[i]?e[i].length:0}for(var f=n?e:Rr(e,t,a),o=r.length-1;o>=0;--o){var l,s=r[o];if(s==="[]"&&t.parseArrays)l=t.allowEmptyArrays&&(f===""||t.strictNullHandling&&f===null)?[]:ue.combine([],f);else{l=t.plainObjects?{__proto__:null}:{};var c=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s,m=t.decodeDotInKeys?c.replace(/%2E/g,"."):c,u=parseInt(m,10);!t.parseArrays&&m===""?l={0:f}:!isNaN(u)&&s!==m&&String(u)===m&&u>=0&&t.parseArrays&&u<=t.arrayLimit?(l=[],l[u]=f):m!=="__proto__"&&(l[m]=f)}f=l}return f},On=function(e,t,n,a){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,f=/(\[[^[\]]*])/,o=/(\[[^[\]]*])/g,l=n.depth>0&&f.exec(i),s=l?i.slice(0,l.index):i,c=[];if(s){if(!n.plainObjects&&Ge.call(Object.prototype,s)&&!n.allowPrototypes)return;c.push(s)}for(var m=0;n.depth>0&&(l=o.exec(i))!==null&&m<n.depth;){if(m+=1,!n.plainObjects&&Ge.call(Object.prototype,l[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(l[1])}if(l){if(n.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");c.push("["+i.slice(l.index)+"]")}return xn(c,t,n,a)}},En=function(e){if(!e)return A;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.decodeDotInKeys<"u"&&typeof e.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&typeof e.decoder<"u"&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof e.throwOnLimitExceeded<"u"&&typeof e.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=typeof e.charset>"u"?A.charset:e.charset,n=typeof e.duplicates>"u"?A.duplicates:e.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var a=typeof e.allowDots>"u"?e.decodeDotInKeys===!0?!0:A.allowDots:!!e.allowDots;return{allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:A.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:A.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:A.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:A.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:A.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:A.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:A.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:A.decoder,delimiter:typeof e.delimiter=="string"||ue.isRegExp(e.delimiter)?e.delimiter:A.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:A.depth,duplicates:n,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:A.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:A.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:A.plainObjects,strictDepth:typeof e.strictDepth=="boolean"?!!e.strictDepth:A.strictDepth,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:A.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded=="boolean"?e.throwOnLimitExceeded:!1}},An=function(r,e){var t=En(e);if(r===""||r===null||typeof r>"u")return t.plainObjects?{__proto__:null}:{};for(var n=typeof r=="string"?bn(r,t):r,a=t.plainObjects?{__proto__:null}:{},i=Object.keys(n),f=0;f<i.length;++f){var o=i[f],l=On(o,n[o],t,typeof r=="string");a=ue.merge(a,l,t)}return t.allowSparse===!0?a:ue.compact(a)},Tn=vn,$n=An,Cn=je,In={formats:Cn,parse:$n,stringify:Tn};const _n=ne.getDefaultExportFromCjs(In);var Rn=kr;function H(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var Dn=/^([a-z0-9.+-]+:)/i,Ln=/:[0-9]*$/,Fn=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,Mn=["<",">",'"',"`"," ","\r",`
@@ -1,5 +1,5 @@
1
1
  import { c as pe, g as gr, a as Qr } from "./jszip-DO3il9iI.es.js";
2
- import { t as $e, g as wr, c as Sr } from "./xml-js-kwrvzyhm.es.js";
2
+ import { t as $e, g as wr, c as Sr } from "./xml-js-DjJijnzm.es.js";
3
3
  import { _ as Gr } from "./__vite-browser-external-YbutIfMq.es.js";
4
4
  var Ee = { exports: {} };
5
5
  /*! https://mths.be/punycode v1.4.1 by @mathias */
@@ -0,0 +1,10 @@
1
+ "use strict";const ne=require("./jszip-ChlzEvf9.cjs"),L=require("./vue-Ckf0DkDN.cjs");var Xe={exports:{}};typeof Object.create=="function"?Xe.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:Xe.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}};var zr=Xe.exports,fr={exports:{}},re=typeof Reflect=="object"?Reflect:null,gr=re&&typeof re.apply=="function"?re.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)},me;re&&typeof re.ownKeys=="function"?me=re.ownKeys:Object.getOwnPropertySymbols?me=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:me=function(e){return Object.getOwnPropertyNames(e)};function Bt(r){console&&console.warn&&console.warn(r)}var Vr=Number.isNaN||function(e){return e!==e};function P(){P.init.call(this)}fr.exports=P;fr.exports.once=It;P.EventEmitter=P;P.prototype._events=void 0;P.prototype._eventsCount=0;P.prototype._maxListeners=void 0;var vr=10;function Be(r){if(typeof r!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r)}Object.defineProperty(P,"defaultMaxListeners",{enumerable:!0,get:function(){return vr},set:function(r){if(typeof r!="number"||r<0||Vr(r))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+r+".");vr=r}});P.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};P.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||Vr(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function Hr(r){return r._maxListeners===void 0?P.defaultMaxListeners:r._maxListeners}P.prototype.getMaxListeners=function(){return Hr(this)};P.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i=e==="error",l=this._events;if(l!==void 0)i=i&&l.error===void 0;else if(!i)return!1;if(i){var u;if(t.length>0&&(u=t[0]),u instanceof Error)throw u;var d=new Error("Unhandled error."+(u?" ("+u.message+")":""));throw d.context=u,d}var y=l[e];if(y===void 0)return!1;if(typeof y=="function")gr(y,this,t);else for(var m=y.length,w=Qr(y,m),n=0;n<m;++n)gr(w[n],this,t);return!0};function Jr(r,e,t,n){var i,l,u;if(Be(t),l=r._events,l===void 0?(l=r._events=Object.create(null),r._eventsCount=0):(l.newListener!==void 0&&(r.emit("newListener",e,t.listener?t.listener:t),l=r._events),u=l[e]),u===void 0)u=l[e]=t,++r._eventsCount;else if(typeof u=="function"?u=l[e]=n?[t,u]:[u,t]:n?u.unshift(t):u.push(t),i=Hr(r),i>0&&u.length>i&&!u.warned){u.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+u.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=r,d.type=e,d.count=u.length,Bt(d)}return r}P.prototype.addListener=function(e,t){return Jr(this,e,t,!1)};P.prototype.on=P.prototype.addListener;P.prototype.prependListener=function(e,t){return Jr(this,e,t,!0)};function Tt(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Kr(r,e,t){var n={fired:!1,wrapFn:void 0,target:r,type:e,listener:t},i=Tt.bind(n);return i.listener=t,n.wrapFn=i,i}P.prototype.once=function(e,t){return Be(t),this.on(e,Kr(this,e,t)),this};P.prototype.prependOnceListener=function(e,t){return Be(t),this.prependListener(e,Kr(this,e,t)),this};P.prototype.removeListener=function(e,t){var n,i,l,u,d;if(Be(t),i=this._events,i===void 0)return this;if(n=i[e],n===void 0)return this;if(n===t||n.listener===t)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||t));else if(typeof n!="function"){for(l=-1,u=n.length-1;u>=0;u--)if(n[u]===t||n[u].listener===t){d=n[u].listener,l=u;break}if(l<0)return this;l===0?n.shift():Ft(n,l),n.length===1&&(i[e]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",e,d||t)}return this};P.prototype.off=P.prototype.removeListener;P.prototype.removeAllListeners=function(e){var t,n,i;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[e]),this;if(arguments.length===0){var l=Object.keys(n),u;for(i=0;i<l.length;++i)u=l[i],u!=="removeListener"&&this.removeAllListeners(u);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(t=n[e],typeof t=="function")this.removeListener(e,t);else if(t!==void 0)for(i=t.length-1;i>=0;i--)this.removeListener(e,t[i]);return this};function Zr(r,e,t){var n=r._events;if(n===void 0)return[];var i=n[e];return i===void 0?[]:typeof i=="function"?t?[i.listener||i]:[i]:t?Rt(i):Qr(i,i.length)}P.prototype.listeners=function(e){return Zr(this,e,!0)};P.prototype.rawListeners=function(e){return Zr(this,e,!1)};P.listenerCount=function(r,e){return typeof r.listenerCount=="function"?r.listenerCount(e):Yr.call(r,e)};P.prototype.listenerCount=Yr;function Yr(r){var e=this._events;if(e!==void 0){var t=e[r];if(typeof t=="function")return 1;if(t!==void 0)return t.length}return 0}P.prototype.eventNames=function(){return this._eventsCount>0?me(this._events):[]};function Qr(r,e){for(var t=new Array(e),n=0;n<e;++n)t[n]=r[n];return t}function Ft(r,e){for(;e+1<r.length;e++)r[e]=r[e+1];r.pop()}function Rt(r){for(var e=new Array(r.length),t=0;t<e.length;++t)e[t]=r[t].listener||r[t];return e}function It(r,e){return new Promise(function(t,n){function i(u){r.removeListener(e,l),n(u)}function l(){typeof r.removeListener=="function"&&r.removeListener("error",i),t([].slice.call(arguments))}Xr(r,e,l,{once:!0}),e!=="error"&&Nt(r,i,{once:!0})})}function Nt(r,e,t){typeof r.on=="function"&&Xr(r,"error",e,t)}function Xr(r,e,t,n){if(typeof r.on=="function")n.once?r.once(e,t):r.on(e,t);else if(typeof r.addEventListener=="function")r.addEventListener(e,function i(l){n.once&&r.removeEventListener(e,i),t(l)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof r)}var _t=fr.exports;const et=ne.getAugmentedNamespace(ne.dist);var rt={},tt={},nt=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[t]=i;for(var l in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var u=Object.getOwnPropertySymbols(e);if(u.length!==1||u[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var d=Object.getOwnPropertyDescriptor(e,t);if(d.value!==i||d.enumerable!==!0)return!1}return!0},Ct=nt,Te=function(){return Ct()&&!!Symbol.toStringTag},ot=Object,Lt=Error,Ut=EvalError,Dt=RangeError,Mt=ReferenceError,it=SyntaxError,ie=TypeError,kt=URIError,Gt=Math.abs,xt=Math.floor,Wt=Math.max,qt=Math.min,zt=Math.pow,Vt=Math.round,Ht=Number.isNaN||function(e){return e!==e},Jt=Ht,Kt=function(e){return Jt(e)||e===0?e:e<0?-1:1},Zt=Object.getOwnPropertyDescriptor,be=Zt;if(be)try{be([],"length")}catch{be=null}var ae=be,Ae=Object.defineProperty||!1;if(Ae)try{Ae({},"a",{value:1})}catch{Ae=!1}var Fe=Ae,Ce,mr;function Yt(){if(mr)return Ce;mr=1;var r=typeof Symbol<"u"&&Symbol,e=nt;return Ce=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Ce}var Le,br;function at(){return br||(br=1,Le=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Le}var Ue,Ar;function ft(){if(Ar)return Ue;Ar=1;var r=ot;return Ue=r.getPrototypeOf||null,Ue}var De,wr;function Qt(){if(wr)return De;wr=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,n="[object Function]",i=function(y,m){for(var w=[],$=0;$<y.length;$+=1)w[$]=y[$];for(var E=0;E<m.length;E+=1)w[E+y.length]=m[E];return w},l=function(y,m){for(var w=[],$=m,E=0;$<y.length;$+=1,E+=1)w[E]=y[$];return w},u=function(d,y){for(var m="",w=0;w<d.length;w+=1)m+=d[w],w+1<d.length&&(m+=y);return m};return De=function(y){var m=this;if(typeof m!="function"||e.apply(m)!==n)throw new TypeError(r+m);for(var w=l(arguments,1),$,E=function(){if(this instanceof $){var a=m.apply(this,i(w,arguments));return Object(a)===a?a:this}return m.apply(y,i(w,arguments))},_=t(0,m.length-w.length),T=[],I=0;I<_;I++)T[I]="$"+I;if($=Function("binder","return function ("+u(T,",")+"){ return binder.apply(this,arguments); }")(E),m.prototype){var C=function(){};C.prototype=m.prototype,$.prototype=new C,C.prototype=null}return $},De}var Me,Sr;function ce(){if(Sr)return Me;Sr=1;var r=Qt();return Me=Function.prototype.bind||r,Me}var ke,Or;function sr(){return Or||(Or=1,ke=Function.prototype.call),ke}var Ge,Pr;function ur(){return Pr||(Pr=1,Ge=Function.prototype.apply),Ge}var Xt=typeof Reflect<"u"&&Reflect&&Reflect.apply,en=ce(),rn=ur(),tn=sr(),nn=Xt,st=nn||en.call(tn,rn),on=ce(),an=ie,fn=sr(),sn=st,cr=function(e){if(e.length<1||typeof e[0]!="function")throw new an("a function is required");return sn(on,fn,e)},un=cr,Er=ae,ut;try{ut=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var xe=!!ut&&Er&&Er(Object.prototype,"__proto__"),ct=Object,jr=ct.getPrototypeOf,cn=xe&&typeof xe.get=="function"?un([xe.get]):typeof jr=="function"?function(e){return jr(e==null?e:ct(e))}:!1,$r=at(),Br=ft(),Tr=cn,lr=$r?function(e){return $r(e)}:Br?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Br(e)}:Tr?function(e){return Tr(e)}:null,We,Fr;function lt(){if(Fr)return We;Fr=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=ce();return We=t.call(r,e),We}var v,ln=ot,yn=Lt,pn=Ut,dn=Dt,hn=Mt,oe=it,te=ie,gn=kt,vn=Gt,mn=xt,bn=Wt,An=qt,wn=zt,Sn=Vt,On=Kt,yt=Function,qe=function(r){try{return yt('"use strict"; return ('+r+").constructor;")()}catch{}},ue=ae,Pn=Fe,ze=function(){throw new te},En=ue?function(){try{return arguments.callee,ze}catch{try{return ue(arguments,"callee").get}catch{return ze}}}():ze,Y=Yt()(),F=lr,jn=ft(),$n=at(),pt=ur(),le=sr(),X={},Bn=typeof Uint8Array>"u"||!F?v:F(Uint8Array),z={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?v:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?v:ArrayBuffer,"%ArrayIteratorPrototype%":Y&&F?F([][Symbol.iterator]()):v,"%AsyncFromSyncIteratorPrototype%":v,"%AsyncFunction%":X,"%AsyncGenerator%":X,"%AsyncGeneratorFunction%":X,"%AsyncIteratorPrototype%":X,"%Atomics%":typeof Atomics>"u"?v:Atomics,"%BigInt%":typeof BigInt>"u"?v:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?v:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?v:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?v:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":yn,"%eval%":eval,"%EvalError%":pn,"%Float16Array%":typeof Float16Array>"u"?v:Float16Array,"%Float32Array%":typeof Float32Array>"u"?v:Float32Array,"%Float64Array%":typeof Float64Array>"u"?v:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?v:FinalizationRegistry,"%Function%":yt,"%GeneratorFunction%":X,"%Int8Array%":typeof Int8Array>"u"?v:Int8Array,"%Int16Array%":typeof Int16Array>"u"?v:Int16Array,"%Int32Array%":typeof Int32Array>"u"?v:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Y&&F?F(F([][Symbol.iterator]())):v,"%JSON%":typeof JSON=="object"?JSON:v,"%Map%":typeof Map>"u"?v:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Y||!F?v:F(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":ln,"%Object.getOwnPropertyDescriptor%":ue,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?v:Promise,"%Proxy%":typeof Proxy>"u"?v:Proxy,"%RangeError%":dn,"%ReferenceError%":hn,"%Reflect%":typeof Reflect>"u"?v:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?v:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Y||!F?v:F(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?v:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Y&&F?F(""[Symbol.iterator]()):v,"%Symbol%":Y?Symbol:v,"%SyntaxError%":oe,"%ThrowTypeError%":En,"%TypedArray%":Bn,"%TypeError%":te,"%Uint8Array%":typeof Uint8Array>"u"?v:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?v:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?v:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?v:Uint32Array,"%URIError%":gn,"%WeakMap%":typeof WeakMap>"u"?v:WeakMap,"%WeakRef%":typeof WeakRef>"u"?v:WeakRef,"%WeakSet%":typeof WeakSet>"u"?v:WeakSet,"%Function.prototype.call%":le,"%Function.prototype.apply%":pt,"%Object.defineProperty%":Pn,"%Object.getPrototypeOf%":jn,"%Math.abs%":vn,"%Math.floor%":mn,"%Math.max%":bn,"%Math.min%":An,"%Math.pow%":wn,"%Math.round%":Sn,"%Math.sign%":On,"%Reflect.getPrototypeOf%":$n};if(F)try{null.error}catch(r){var Tn=F(F(r));z["%Error.prototype%"]=Tn}var Fn=function r(e){var t;if(e==="%AsyncFunction%")t=qe("async function () {}");else if(e==="%GeneratorFunction%")t=qe("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=qe("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=r("%AsyncGenerator%");i&&F&&(t=F(i.prototype))}return z[e]=t,t},Rr={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ye=ce(),Pe=lt(),Rn=ye.call(le,Array.prototype.concat),In=ye.call(pt,Array.prototype.splice),Ir=ye.call(le,String.prototype.replace),Ee=ye.call(le,String.prototype.slice),Nn=ye.call(le,RegExp.prototype.exec),_n=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Cn=/\\(\\)?/g,Ln=function(e){var t=Ee(e,0,1),n=Ee(e,-1);if(t==="%"&&n!=="%")throw new oe("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new oe("invalid intrinsic syntax, expected opening `%`");var i=[];return Ir(e,_n,function(l,u,d,y){i[i.length]=d?Ir(y,Cn,"$1"):u||l}),i},Un=function(e,t){var n=e,i;if(Pe(Rr,n)&&(i=Rr[n],n="%"+i[0]+"%"),Pe(z,n)){var l=z[n];if(l===X&&(l=Fn(n)),typeof l>"u"&&!t)throw new te("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:l}}throw new oe("intrinsic "+e+" does not exist!")},yr=function(e,t){if(typeof e!="string"||e.length===0)throw new te("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new te('"allowMissing" argument must be a boolean');if(Nn(/^%?[^%]*%?$/,e)===null)throw new oe("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Ln(e),i=n.length>0?n[0]:"",l=Un("%"+i+"%",t),u=l.name,d=l.value,y=!1,m=l.alias;m&&(i=m[0],In(n,Rn([0,1],m)));for(var w=1,$=!0;w<n.length;w+=1){var E=n[w],_=Ee(E,0,1),T=Ee(E,-1);if((_==='"'||_==="'"||_==="`"||T==='"'||T==="'"||T==="`")&&_!==T)throw new oe("property names with quotes must have matching quotes");if((E==="constructor"||!$)&&(y=!0),i+="."+E,u="%"+i+"%",Pe(z,u))d=z[u];else if(d!=null){if(!(E in d)){if(!t)throw new te("base intrinsic for "+e+" exists, but the property is not available.");return}if(ue&&w+1>=n.length){var I=ue(d,E);$=!!I,$&&"get"in I&&!("originalValue"in I.get)?d=I.get:d=d[E]}else $=Pe(d,E),d=d[E];$&&!y&&(z[u]=d)}}return d},dt=yr,ht=cr,Dn=ht([dt("%String.prototype.indexOf%")]),fe=function(e,t){var n=dt(e,!!t);return typeof n=="function"&&Dn(e,".prototype.")>-1?ht([n]):n},Mn=Te(),kn=fe,er=kn("Object.prototype.toString"),Re=function(e){return Mn&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:er(e)==="[object Arguments]"},gt=function(e){return Re(e)?!0:e!==null&&typeof e=="object"&&"length"in e&&typeof e.length=="number"&&e.length>=0&&er(e)!=="[object Array]"&&"callee"in e&&er(e.callee)==="[object Function]"},Gn=function(){return Re(arguments)}();Re.isLegacyArguments=gt;var xn=Gn?Re:gt,Nr=fe,Wn=Te(),qn=lt(),zn=ae,rr;if(Wn){var Vn=Nr("RegExp.prototype.exec"),_r={},Ve=function(){throw _r},Cr={toString:Ve,valueOf:Ve};typeof Symbol.toPrimitive=="symbol"&&(Cr[Symbol.toPrimitive]=Ve),rr=function(e){if(!e||typeof e!="object")return!1;var t=zn(e,"lastIndex"),n=t&&qn(t,"value");if(!n)return!1;try{Vn(e,Cr)}catch(i){return i===_r}}}else{var Hn=Nr("Object.prototype.toString"),Jn="[object RegExp]";rr=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:Hn(e)===Jn}}var Kn=rr,Zn=fe,Yn=Kn,Qn=Zn("RegExp.prototype.exec"),Xn=ie,eo=function(e){if(!Yn(e))throw new Xn("`regex` must be a RegExp");return function(n){return Qn(e,n)!==null}},vt=fe,ro=eo,to=ro(/^\s*(?:function)?\*/),mt=Te(),He=lr,no=vt("Object.prototype.toString"),oo=vt("Function.prototype.toString"),io=function(){if(!mt)return!1;try{return Function("return function*() {}")()}catch{}},Je,ao=function(e){if(typeof e!="function")return!1;if(to(oo(e)))return!0;if(!mt){var t=no(e);return t==="[object GeneratorFunction]"}if(!He)return!1;if(typeof Je>"u"){var n=io();Je=n?He(n):!1}return He(e)===Je},bt=Function.prototype.toString,ee=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,tr,we;if(typeof ee=="function"&&typeof Object.defineProperty=="function")try{tr=Object.defineProperty({},"length",{get:function(){throw we}}),we={},ee(function(){throw 42},null,tr)}catch(r){r!==we&&(ee=null)}else ee=null;var fo=/^\s*class\b/,nr=function(e){try{var t=bt.call(e);return fo.test(t)}catch{return!1}},Ke=function(e){try{return nr(e)?!1:(bt.call(e),!0)}catch{return!1}},Se=Object.prototype.toString,so="[object Object]",uo="[object Function]",co="[object GeneratorFunction]",lo="[object HTMLAllCollection]",yo="[object HTML document.all class]",po="[object HTMLCollection]",ho=typeof Symbol=="function"&&!!Symbol.toStringTag,go=!(0 in[,]),or=function(){return!1};if(typeof document=="object"){var vo=document.all;Se.call(vo)===Se.call(document.all)&&(or=function(e){if((go||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=Se.call(e);return(t===lo||t===yo||t===po||t===so)&&e("")==null}catch{}return!1})}var mo=ee?function(e){if(or(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{ee(e,null,tr)}catch(t){if(t!==we)return!1}return!nr(e)&&Ke(e)}:function(e){if(or(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(ho)return Ke(e);if(nr(e))return!1;var t=Se.call(e);return t!==uo&&t!==co&&!/^\[object HTML/.test(t)?!1:Ke(e)},bo=mo,Ao=Object.prototype.toString,At=Object.prototype.hasOwnProperty,wo=function(e,t,n){for(var i=0,l=e.length;i<l;i++)At.call(e,i)&&(n==null?t(e[i],i,e):t.call(n,e[i],i,e))},So=function(e,t,n){for(var i=0,l=e.length;i<l;i++)n==null?t(e.charAt(i),i,e):t.call(n,e.charAt(i),i,e)},Oo=function(e,t,n){for(var i in e)At.call(e,i)&&(n==null?t(e[i],i,e):t.call(n,e[i],i,e))};function Po(r){return Ao.call(r)==="[object Array]"}var Eo=function(e,t,n){if(!bo(t))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),Po(e)?wo(e,t,i):typeof e=="string"?So(e,t,i):Oo(e,t,i)},jo=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],Ze=jo,$o=typeof globalThis>"u"?ne.commonjsGlobal:globalThis,Bo=function(){for(var e=[],t=0;t<Ze.length;t++)typeof $o[Ze[t]]=="function"&&(e[e.length]=Ze[t]);return e},wt={exports:{}},Lr=Fe,To=it,Q=ie,Ur=ae,Fo=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new Q("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new Q("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Q("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Q("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Q("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Q("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,d=arguments.length>6?arguments[6]:!1,y=!!Ur&&Ur(e,t);if(Lr)Lr(e,t,{configurable:u===null&&y?y.configurable:!u,enumerable:i===null&&y?y.enumerable:!i,value:n,writable:l===null&&y?y.writable:!l});else if(d||!i&&!l&&!u)e[t]=n;else throw new To("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},ir=Fe,St=function(){return!!ir};St.hasArrayLengthDefineBug=function(){if(!ir)return null;try{return ir([],"length",{value:1}).length!==1}catch{return!0}};var Ro=St,Io=yr,Dr=Fo,No=Ro(),Mr=ae,kr=ie,_o=Io("%Math.floor%"),Co=function(e,t){if(typeof e!="function")throw new kr("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||_o(t)!==t)throw new kr("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,l=!0;if("length"in e&&Mr){var u=Mr(e,"length");u&&!u.configurable&&(i=!1),u&&!u.writable&&(l=!1)}return(i||l||!n)&&(No?Dr(e,"length",t,!0,!0):Dr(e,"length",t)),e},Lo=ce(),Uo=ur(),Do=st,Mo=function(){return Do(Lo,Uo,arguments)};(function(r){var e=Co,t=Fe,n=cr,i=Mo;r.exports=function(u){var d=n(arguments),y=u.length-(arguments.length-1);return e(d,1+(y>0?y:0),!0)},t?t(r.exports,"apply",{value:i}):r.exports.apply=i})(wt);var ko=wt.exports,je=Eo,Go=Bo,Gr=ko,pr=fe,Oe=ae,ge=lr,xo=pr("Object.prototype.toString"),Ot=Te(),xr=typeof globalThis>"u"?ne.commonjsGlobal:globalThis,ar=Go(),dr=pr("String.prototype.slice"),Wo=pr("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},$e={__proto__:null};Ot&&Oe&&ge?je(ar,function(r){var e=new xr[r];if(Symbol.toStringTag in e&&ge){var t=ge(e),n=Oe(t,Symbol.toStringTag);if(!n&&t){var i=ge(t);n=Oe(i,Symbol.toStringTag)}$e["$"+r]=Gr(n.get)}}):je(ar,function(r){var e=new xr[r],t=e.slice||e.set;t&&($e["$"+r]=Gr(t))});var qo=function(e){var t=!1;return je($e,function(n,i){if(!t)try{"$"+n(e)===i&&(t=dr(i,1))}catch{}}),t},zo=function(e){var t=!1;return je($e,function(n,i){if(!t)try{n(e),t=dr(i,1)}catch{}}),t},Pt=function(e){if(!e||typeof e!="object")return!1;if(!Ot){var t=dr(xo(e),8,-1);return Wo(ar,t)>-1?t:t!=="Object"?!1:zo(e)}return Oe?qo(e):null},Vo=Pt,Ho=function(e){return!!Vo(e)};(function(r){var e=xn,t=ao,n=Pt,i=Ho;function l(s){return s.call.bind(s)}var u=typeof BigInt<"u",d=typeof Symbol<"u",y=l(Object.prototype.toString),m=l(Number.prototype.valueOf),w=l(String.prototype.valueOf),$=l(Boolean.prototype.valueOf);if(u)var E=l(BigInt.prototype.valueOf);if(d)var _=l(Symbol.prototype.valueOf);function T(s,$t){if(typeof s!="object")return!1;try{return $t(s),!0}catch{return!1}}r.isArgumentsObject=e,r.isGeneratorFunction=t,r.isTypedArray=i;function I(s){return typeof Promise<"u"&&s instanceof Promise||s!==null&&typeof s=="object"&&typeof s.then=="function"&&typeof s.catch=="function"}r.isPromise=I;function C(s){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(s):i(s)||f(s)}r.isArrayBufferView=C;function a(s){return n(s)==="Uint8Array"}r.isUint8Array=a;function p(s){return n(s)==="Uint8ClampedArray"}r.isUint8ClampedArray=p;function b(s){return n(s)==="Uint16Array"}r.isUint16Array=b;function R(s){return n(s)==="Uint32Array"}r.isUint32Array=R;function B(s){return n(s)==="Int8Array"}r.isInt8Array=B;function Ie(s){return n(s)==="Int16Array"}r.isInt16Array=Ie;function U(s){return n(s)==="Int32Array"}r.isInt32Array=U;function x(s){return n(s)==="Float32Array"}r.isFloat32Array=x;function k(s){return n(s)==="Float64Array"}r.isFloat64Array=k;function V(s){return n(s)==="BigInt64Array"}r.isBigInt64Array=V;function W(s){return n(s)==="BigUint64Array"}r.isBigUint64Array=W;function D(s){return y(s)==="[object Map]"}D.working=typeof Map<"u"&&D(new Map);function Ne(s){return typeof Map>"u"?!1:D.working?D(s):s instanceof Map}r.isMap=Ne;function G(s){return y(s)==="[object Set]"}G.working=typeof Set<"u"&&G(new Set);function se(s){return typeof Set>"u"?!1:G.working?G(s):s instanceof Set}r.isSet=se;function H(s){return y(s)==="[object WeakMap]"}H.working=typeof WeakMap<"u"&&H(new WeakMap);function _e(s){return typeof WeakMap>"u"?!1:H.working?H(s):s instanceof WeakMap}r.isWeakMap=_e;function J(s){return y(s)==="[object WeakSet]"}J.working=typeof WeakSet<"u"&&J(new WeakSet);function M(s){return J(s)}r.isWeakSet=M;function K(s){return y(s)==="[object ArrayBuffer]"}K.working=typeof ArrayBuffer<"u"&&K(new ArrayBuffer);function pe(s){return typeof ArrayBuffer>"u"?!1:K.working?K(s):s instanceof ArrayBuffer}r.isArrayBuffer=pe;function o(s){return y(s)==="[object DataView]"}o.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&o(new DataView(new ArrayBuffer(1),0,1));function f(s){return typeof DataView>"u"?!1:o.working?o(s):s instanceof DataView}r.isDataView=f;var c=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function h(s){return y(s)==="[object SharedArrayBuffer]"}function S(s){return typeof c>"u"?!1:(typeof h.working>"u"&&(h.working=h(new c)),h.working?h(s):s instanceof c)}r.isSharedArrayBuffer=S;function O(s){return y(s)==="[object AsyncFunction]"}r.isAsyncFunction=O;function g(s){return y(s)==="[object Map Iterator]"}r.isMapIterator=g;function A(s){return y(s)==="[object Set Iterator]"}r.isSetIterator=A;function j(s){return y(s)==="[object Generator]"}r.isGeneratorObject=j;function N(s){return y(s)==="[object WebAssembly.Module]"}r.isWebAssemblyCompiledModule=N;function q(s){return T(s,m)}r.isNumberObject=q;function de(s){return T(s,w)}r.isStringObject=de;function Z(s){return T(s,$)}r.isBooleanObject=Z;function he(s){return u&&T(s,E)}r.isBigIntObject=he;function hr(s){return d&&T(s,_)}r.isSymbolObject=hr;function Et(s){return q(s)||de(s)||Z(s)||he(s)||hr(s)}r.isBoxedPrimitive=Et;function jt(s){return typeof Uint8Array<"u"&&(pe(s)||S(s))}r.isAnyArrayBuffer=jt,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(s){Object.defineProperty(r,s,{enumerable:!1,value:function(){throw new Error(s+" is not supported in userland")}})})})(tt);var Jo=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"};(function(r){var e=Object.getOwnPropertyDescriptors||function(f){for(var c=Object.keys(f),h={},S=0;S<c.length;S++)h[c[S]]=Object.getOwnPropertyDescriptor(f,c[S]);return h},t=/%[sdj%]/g;r.format=function(o){if(!B(o)){for(var f=[],c=0;c<arguments.length;c++)f.push(u(arguments[c]));return f.join(" ")}for(var c=1,h=arguments,S=h.length,O=String(o).replace(t,function(A){if(A==="%%")return"%";if(c>=S)return A;switch(A){case"%s":return String(h[c++]);case"%d":return Number(h[c++]);case"%j":try{return JSON.stringify(h[c++])}catch{return"[Circular]"}default:return A}}),g=h[c];c<S;g=h[++c])p(g)||!k(g)?O+=" "+g:O+=" "+u(g);return O},r.deprecate=function(o,f){if(typeof L.process$1<"u"&&L.process$1.noDeprecation===!0)return o;if(typeof L.process$1>"u")return function(){return r.deprecate(o,f).apply(this,arguments)};var c=!1;function h(){if(!c){if(L.process$1.throwDeprecation)throw new Error(f);L.process$1.traceDeprecation?console.trace(f):console.error(f),c=!0}return o.apply(this,arguments)}return h};var n={},i=/^$/;if(L.process$1.env.NODE_DEBUG){var l=L.process$1.env.NODE_DEBUG;l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),i=new RegExp("^"+l+"$","i")}r.debuglog=function(o){if(o=o.toUpperCase(),!n[o])if(i.test(o)){var f=L.process$1.pid;n[o]=function(){var c=r.format.apply(r,arguments);console.error("%s %d: %s",o,f,c)}}else n[o]=function(){};return n[o]};function u(o,f){var c={seen:[],stylize:y};return arguments.length>=3&&(c.depth=arguments[2]),arguments.length>=4&&(c.colors=arguments[3]),a(f)?c.showHidden=f:f&&r._extend(c,f),U(c.showHidden)&&(c.showHidden=!1),U(c.depth)&&(c.depth=2),U(c.colors)&&(c.colors=!1),U(c.customInspect)&&(c.customInspect=!0),c.colors&&(c.stylize=d),w(c,o,c.depth)}r.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function d(o,f){var c=u.styles[f];return c?"\x1B["+u.colors[c][0]+"m"+o+"\x1B["+u.colors[c][1]+"m":o}function y(o,f){return o}function m(o){var f={};return o.forEach(function(c,h){f[c]=!0}),f}function w(o,f,c){if(o.customInspect&&f&&D(f.inspect)&&f.inspect!==r.inspect&&!(f.constructor&&f.constructor.prototype===f)){var h=f.inspect(c,o);return B(h)||(h=w(o,h,c)),h}var S=$(o,f);if(S)return S;var O=Object.keys(f),g=m(O);if(o.showHidden&&(O=Object.getOwnPropertyNames(f)),W(f)&&(O.indexOf("message")>=0||O.indexOf("description")>=0))return E(f);if(O.length===0){if(D(f)){var A=f.name?": "+f.name:"";return o.stylize("[Function"+A+"]","special")}if(x(f))return o.stylize(RegExp.prototype.toString.call(f),"regexp");if(V(f))return o.stylize(Date.prototype.toString.call(f),"date");if(W(f))return E(f)}var j="",N=!1,q=["{","}"];if(C(f)&&(N=!0,q=["[","]"]),D(f)){var de=f.name?": "+f.name:"";j=" [Function"+de+"]"}if(x(f)&&(j=" "+RegExp.prototype.toString.call(f)),V(f)&&(j=" "+Date.prototype.toUTCString.call(f)),W(f)&&(j=" "+E(f)),O.length===0&&(!N||f.length==0))return q[0]+j+q[1];if(c<0)return x(f)?o.stylize(RegExp.prototype.toString.call(f),"regexp"):o.stylize("[Object]","special");o.seen.push(f);var Z;return N?Z=_(o,f,c,g,O):Z=O.map(function(he){return T(o,f,c,g,he,N)}),o.seen.pop(),I(Z,j,q)}function $(o,f){if(U(f))return o.stylize("undefined","undefined");if(B(f)){var c="'"+JSON.stringify(f).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return o.stylize(c,"string")}if(R(f))return o.stylize(""+f,"number");if(a(f))return o.stylize(""+f,"boolean");if(p(f))return o.stylize("null","null")}function E(o){return"["+Error.prototype.toString.call(o)+"]"}function _(o,f,c,h,S){for(var O=[],g=0,A=f.length;g<A;++g)J(f,String(g))?O.push(T(o,f,c,h,String(g),!0)):O.push("");return S.forEach(function(j){j.match(/^\d+$/)||O.push(T(o,f,c,h,j,!0))}),O}function T(o,f,c,h,S,O){var g,A,j;if(j=Object.getOwnPropertyDescriptor(f,S)||{value:f[S]},j.get?j.set?A=o.stylize("[Getter/Setter]","special"):A=o.stylize("[Getter]","special"):j.set&&(A=o.stylize("[Setter]","special")),J(h,S)||(g="["+S+"]"),A||(o.seen.indexOf(j.value)<0?(p(c)?A=w(o,j.value,null):A=w(o,j.value,c-1),A.indexOf(`
2
+ `)>-1&&(O?A=A.split(`
3
+ `).map(function(N){return" "+N}).join(`
4
+ `).slice(2):A=`
5
+ `+A.split(`
6
+ `).map(function(N){return" "+N}).join(`
7
+ `))):A=o.stylize("[Circular]","special")),U(g)){if(O&&S.match(/^\d+$/))return A;g=JSON.stringify(""+S),g.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(g=g.slice(1,-1),g=o.stylize(g,"name")):(g=g.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),g=o.stylize(g,"string"))}return g+": "+A}function I(o,f,c){var h=o.reduce(function(S,O){return O.indexOf(`
8
+ `)>=0,S+O.replace(/\u001b\[\d\d?m/g,"").length+1},0);return h>60?c[0]+(f===""?"":f+`
9
+ `)+" "+o.join(`,
10
+ `)+" "+c[1]:c[0]+f+" "+o.join(", ")+" "+c[1]}r.types=tt;function C(o){return Array.isArray(o)}r.isArray=C;function a(o){return typeof o=="boolean"}r.isBoolean=a;function p(o){return o===null}r.isNull=p;function b(o){return o==null}r.isNullOrUndefined=b;function R(o){return typeof o=="number"}r.isNumber=R;function B(o){return typeof o=="string"}r.isString=B;function Ie(o){return typeof o=="symbol"}r.isSymbol=Ie;function U(o){return o===void 0}r.isUndefined=U;function x(o){return k(o)&&G(o)==="[object RegExp]"}r.isRegExp=x,r.types.isRegExp=x;function k(o){return typeof o=="object"&&o!==null}r.isObject=k;function V(o){return k(o)&&G(o)==="[object Date]"}r.isDate=V,r.types.isDate=V;function W(o){return k(o)&&(G(o)==="[object Error]"||o instanceof Error)}r.isError=W,r.types.isNativeError=W;function D(o){return typeof o=="function"}r.isFunction=D;function Ne(o){return o===null||typeof o=="boolean"||typeof o=="number"||typeof o=="string"||typeof o=="symbol"||typeof o>"u"}r.isPrimitive=Ne,r.isBuffer=Jo;function G(o){return Object.prototype.toString.call(o)}function se(o){return o<10?"0"+o.toString(10):o.toString(10)}var H=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function _e(){var o=new Date,f=[se(o.getHours()),se(o.getMinutes()),se(o.getSeconds())].join(":");return[o.getDate(),H[o.getMonth()],f].join(" ")}r.log=function(){console.log("%s - %s",_e(),r.format.apply(r,arguments))},r.inherits=zr,r._extend=function(o,f){if(!f||!k(f))return o;for(var c=Object.keys(f),h=c.length;h--;)o[c[h]]=f[c[h]];return o};function J(o,f){return Object.prototype.hasOwnProperty.call(o,f)}var M=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;r.promisify=function(f){if(typeof f!="function")throw new TypeError('The "original" argument must be of type Function');if(M&&f[M]){var c=f[M];if(typeof c!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(c,M,{value:c,enumerable:!1,writable:!1,configurable:!0}),c}function c(){for(var h,S,O=new Promise(function(j,N){h=j,S=N}),g=[],A=0;A<arguments.length;A++)g.push(arguments[A]);g.push(function(j,N){j?S(j):h(N)});try{f.apply(this,g)}catch(j){S(j)}return O}return Object.setPrototypeOf(c,Object.getPrototypeOf(f)),M&&Object.defineProperty(c,M,{value:c,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(c,e(f))},r.promisify.custom=M;function K(o,f){if(!o){var c=new Error("Promise was rejected with a falsy value");c.reason=o,o=c}return f(o)}function pe(o){if(typeof o!="function")throw new TypeError('The "original" argument must be of type Function');function f(){for(var c=[],h=0;h<arguments.length;h++)c.push(arguments[h]);var S=c.pop();if(typeof S!="function")throw new TypeError("The last argument must be of type Function");var O=this,g=function(){return S.apply(O,arguments)};o.apply(this,c).then(function(A){L.process$1.nextTick(g.bind(null,null,A))},function(A){L.process$1.nextTick(K.bind(null,A,g))})}return Object.setPrototypeOf(f,Object.getPrototypeOf(o)),Object.defineProperties(f,e(o)),f}r.callbackify=pe})(rt);var Ko=Zo;function Zo(r,e){if(Ye("noDeprecation"))return r;var t=!1;function n(){if(!t){if(Ye("throwDeprecation"))throw new Error(e);Ye("traceDeprecation")?console.trace(e):console.warn(e),t=!0}return r.apply(this,arguments)}return n}function Ye(r){try{if(!ne.commonjsGlobal.localStorage)return!1}catch{return!1}var e=ne.commonjsGlobal.localStorage[r];return e==null?!1:String(e).toLowerCase()==="true"}var Qe={},ve={exports:{}},Wr;function Yo(){return Wr||(Wr=1,function(r,e){var t=et,n=t.Buffer;function i(u,d){for(var y in u)d[y]=u[y]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?r.exports=t:(i(t,e),e.Buffer=l);function l(u,d,y){return n(u,d,y)}i(n,l),l.from=function(u,d,y){if(typeof u=="number")throw new TypeError("Argument must not be a number");return n(u,d,y)},l.alloc=function(u,d,y){if(typeof u!="number")throw new TypeError("Argument must be a number");var m=n(u);return d!==void 0?typeof y=="string"?m.fill(d,y):m.fill(d):m.fill(0),m},l.allocUnsafe=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return n(u)},l.allocUnsafeSlow=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return t.SlowBuffer(u)}}(ve,ve.exports)),ve.exports}var qr;function Qo(){if(qr)return Qe;qr=1;var r=Yo().Buffer,e=r.isEncoding||function(a){switch(a=""+a,a&&a.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function t(a){if(!a)return"utf8";for(var p;;)switch(a){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return a;default:if(p)return;a=(""+a).toLowerCase(),p=!0}}function n(a){var p=t(a);if(typeof p!="string"&&(r.isEncoding===e||!e(a)))throw new Error("Unknown encoding: "+a);return p||a}Qe.StringDecoder=i;function i(a){this.encoding=n(a);var p;switch(this.encoding){case"utf16le":this.text=$,this.end=E,p=4;break;case"utf8":this.fillLast=y,p=4;break;case"base64":this.text=_,this.end=T,p=3;break;default:this.write=I,this.end=C;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(p)}i.prototype.write=function(a){if(a.length===0)return"";var p,b;if(this.lastNeed){if(p=this.fillLast(a),p===void 0)return"";b=this.lastNeed,this.lastNeed=0}else b=0;return b<a.length?p?p+this.text(a,b):this.text(a,b):p||""},i.prototype.end=w,i.prototype.text=m,i.prototype.fillLast=function(a){if(this.lastNeed<=a.length)return a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,a.length),this.lastNeed-=a.length};function l(a){return a<=127?0:a>>5===6?2:a>>4===14?3:a>>3===30?4:a>>6===2?-1:-2}function u(a,p,b){var R=p.length-1;if(R<b)return 0;var B=l(p[R]);return B>=0?(B>0&&(a.lastNeed=B-1),B):--R<b||B===-2?0:(B=l(p[R]),B>=0?(B>0&&(a.lastNeed=B-2),B):--R<b||B===-2?0:(B=l(p[R]),B>=0?(B>0&&(B===2?B=0:a.lastNeed=B-3),B):0))}function d(a,p,b){if((p[0]&192)!==128)return a.lastNeed=0,"�";if(a.lastNeed>1&&p.length>1){if((p[1]&192)!==128)return a.lastNeed=1,"�";if(a.lastNeed>2&&p.length>2&&(p[2]&192)!==128)return a.lastNeed=2,"�"}}function y(a){var p=this.lastTotal-this.lastNeed,b=d(this,a);if(b!==void 0)return b;if(this.lastNeed<=a.length)return a.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,p,0,a.length),this.lastNeed-=a.length}function m(a,p){var b=u(this,a,p);if(!this.lastNeed)return a.toString("utf8",p);this.lastTotal=b;var R=a.length-(b-this.lastNeed);return a.copy(this.lastChar,0,R),a.toString("utf8",p,R)}function w(a){var p=a&&a.length?this.write(a):"";return this.lastNeed?p+"�":p}function $(a,p){if((a.length-p)%2===0){var b=a.toString("utf16le",p);if(b){var R=b.charCodeAt(b.length-1);if(R>=55296&&R<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1],b.slice(0,-1)}return b}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=a[a.length-1],a.toString("utf16le",p,a.length-1)}function E(a){var p=a&&a.length?this.write(a):"";if(this.lastNeed){var b=this.lastTotal-this.lastNeed;return p+this.lastChar.toString("utf16le",0,b)}return p}function _(a,p){var b=(a.length-p)%3;return b===0?a.toString("base64",p):(this.lastNeed=3-b,this.lastTotal=3,b===1?this.lastChar[0]=a[a.length-1]:(this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1]),a.toString("base64",p,a.length-b))}function T(a){var p=a&&a.length?this.write(a):"";return this.lastNeed?p+this.lastChar.toString("base64",0,3-this.lastNeed):p}function I(a){return a.toString(this.encoding)}function C(a){return a&&a.length?this.write(a):""}return Qe}exports.browser=Ko;exports.callBound=fe;exports.eventsExports=_t;exports.getIntrinsic=yr;exports.inherits_browserExports=zr;exports.require$$2=et;exports.requireString_decoder=Qo;exports.type=ie;exports.util=rt;