@harbour-enterprises/superdoc 0.12.0-RC2 → 0.12.0-RC5

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 (75) hide show
  1. package/dist/chunks/{eventemitter3-C9iBZY5R.es.js → eventemitter3-DFFdN5-N.es.js} +1 -1
  2. package/dist/chunks/{eventemitter3-Cj9ZwxFw.cjs → eventemitter3-a1gwRntm.cjs} +1 -1
  3. package/dist/chunks/{index-C6SLw2ph.cjs → index-BaUf6hWx.cjs} +1 -1
  4. package/dist/chunks/{index-CbUTRvRk.cjs → index-CmiflrMh.cjs} +1 -1
  5. package/dist/chunks/{index-BTkgQgI7.es.js → index-D0RRgvB7.es.js} +2 -2
  6. package/dist/chunks/{index-kWwSELc2.es.js → index-D_hSyoUJ.es.js} +4 -4
  7. package/dist/chunks/{jszip-D9YbjC4E.cjs → jszip-B9XFUSP6.cjs} +1 -1
  8. package/dist/chunks/{jszip-OpmRHhd4.es.js → jszip-BISi6DwV.es.js} +1 -1
  9. package/dist/chunks/super-editor.es-8ApwJvNk.cjs +457 -0
  10. package/dist/chunks/{super-editor.es-jrBL9mdr.es.js → super-editor.es-CifAxYgu.es.js} +9612 -9332
  11. package/dist/chunks/{url-DRGmEUtI.cjs → url-CQAfrw85.cjs} +1 -1
  12. package/dist/chunks/{url-C29KYeaj.es.js → url-amCEc5Yz.es.js} +2 -2
  13. package/dist/chunks/{vue-DKS68Dra.es.js → vue-DZ2Bmo1d.es.js} +251 -249
  14. package/dist/chunks/{vue-BQCc2YbW.cjs → vue-MFKe9j2t.cjs} +7 -7
  15. package/dist/chunks/{xml-js-CgHhGhcJ.es.js → xml-js-CA7yNi6O.es.js} +2 -2
  16. package/dist/chunks/{xml-js-CMQ3QRee.cjs → xml-js-D7dYWJv-.cjs} +1 -1
  17. package/dist/core/SuperDoc.d.ts.map +1 -1
  18. package/dist/style.css +29 -29
  19. package/dist/super-editor/ai-writer.es.js +2 -2
  20. package/dist/super-editor/chunks/{converter-D1a6grDV.js → converter-D6sWgeo0.js} +1888 -1824
  21. package/dist/super-editor/chunks/{docx-zipper-L7BeJRax.js → docx-zipper-D8nXUhBi.js} +749 -763
  22. package/dist/super-editor/chunks/{editor-BY7pz5xQ.js → editor-DNn7DnFc.js} +4697 -4526
  23. package/dist/super-editor/chunks/{toolbar-DEvjPuNj.js → toolbar-BsYrgF2l.js} +612 -611
  24. package/dist/super-editor/components/toolbar/constants.d.ts +12 -0
  25. package/dist/super-editor/components/toolbar/constants.d.ts.map +1 -0
  26. package/dist/super-editor/components/toolbar/defaultItems.d.ts +3 -1
  27. package/dist/super-editor/components/toolbar/defaultItems.d.ts.map +1 -1
  28. package/dist/super-editor/components/toolbar/super-toolbar.d.ts +2 -0
  29. package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
  30. package/dist/super-editor/converter.es.js +1 -1
  31. package/dist/super-editor/core/DocxZipper.d.ts.map +1 -1
  32. package/dist/super-editor/core/Editor.d.ts +16 -0
  33. package/dist/super-editor/core/Editor.d.ts.map +1 -1
  34. package/dist/super-editor/core/InputRule.d.ts +1 -0
  35. package/dist/super-editor/core/InputRule.d.ts.map +1 -1
  36. package/dist/super-editor/core/commands/insertTabNode.d.ts +7 -1
  37. package/dist/super-editor/core/commands/insertTabNode.d.ts.map +1 -1
  38. package/dist/super-editor/core/inputRules/docx-paste/docx-paste.d.ts +2 -0
  39. package/dist/super-editor/core/inputRules/docx-paste/docx-paste.d.ts.map +1 -0
  40. package/dist/super-editor/core/super-converter/SuperConverter.d.ts.map +1 -1
  41. package/dist/super-editor/core/super-converter/constants.d.ts +2 -0
  42. package/dist/super-editor/core/super-converter/constants.d.ts.map +1 -0
  43. package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
  44. package/dist/super-editor/core/super-converter/v2/importer/docxImporter.d.ts.map +1 -1
  45. package/dist/super-editor/core/super-converter/v2/importer/paragraphNodeImporter.d.ts.map +1 -1
  46. package/dist/super-editor/core/super-converter/v2/importer/structuredDocumentNodeImporter.d.ts +9 -0
  47. package/dist/super-editor/core/super-converter/v2/importer/structuredDocumentNodeImporter.d.ts.map +1 -0
  48. package/dist/super-editor/docx-zipper.es.js +2 -2
  49. package/dist/super-editor/editor.es.js +3 -3
  50. package/dist/super-editor/extensions/collaboration/collaboration.d.ts +3 -0
  51. package/dist/super-editor/extensions/collaboration/collaboration.d.ts.map +1 -1
  52. package/dist/super-editor/extensions/field-annotation/field-annotation.d.ts.map +1 -1
  53. package/dist/super-editor/extensions/index.d.ts +2 -1
  54. package/dist/super-editor/extensions/index.d.ts.map +1 -1
  55. package/dist/super-editor/extensions/list-item/ListItemNodeView.d.ts.map +1 -1
  56. package/dist/super-editor/extensions/ordered-list/ordered-list.d.ts.map +1 -1
  57. package/dist/super-editor/extensions/structured-content/index.d.ts +2 -0
  58. package/dist/super-editor/extensions/structured-content/index.d.ts.map +1 -0
  59. package/dist/super-editor/extensions/structured-content/structured-content.d.ts +2 -0
  60. package/dist/super-editor/extensions/structured-content/structured-content.d.ts.map +1 -0
  61. package/dist/super-editor/file-zipper.es.js +1 -1
  62. package/dist/super-editor/style.css +1 -1
  63. package/dist/super-editor/super-editor.es.js +1169 -1108
  64. package/dist/super-editor/tests/export/export-helpers/export-helpers.d.ts.map +1 -1
  65. package/dist/super-editor/tests/import/sdt-nodes/structuredDocumentNodeTests.test.d.ts +2 -0
  66. package/dist/super-editor/tests/import/sdt-nodes/structuredDocumentNodeTests.test.d.ts.map +1 -0
  67. package/dist/super-editor/toolbar.es.js +2 -2
  68. package/dist/super-editor.cjs +1 -1
  69. package/dist/super-editor.es.js +9 -9
  70. package/dist/superdoc.cjs +6 -6
  71. package/dist/superdoc.es.js +16 -12
  72. package/dist/superdoc.umd.js +11198 -10912
  73. package/dist/superdoc.umd.js.map +1 -1
  74. package/package.json +2 -1
  75. package/dist/chunks/super-editor.es-VeFFgSyB.cjs +0 -451
@@ -1,4 +1,4 @@
1
- "use strict";const ne=require("./jszip-D9YbjC4E.cjs"),ie=require("./xml-js-CMQ3QRee.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-B9XFUSP6.cjs"),ie=require("./xml-js-D7dYWJv-.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
- import { c as pe, g as gr, a as Qr } from "./jszip-OpmRHhd4.es.js";
2
- import { t as $e, g as wr, c as Sr } from "./xml-js-CgHhGhcJ.es.js";
1
+ import { c as pe, g as gr, a as Qr } from "./jszip-BISi6DwV.es.js";
2
+ import { t as $e, g as wr, c as Sr } from "./xml-js-CA7yNi6O.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 */