@maincode-ai/matilda-code 0.21.11 → 0.21.13
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.
- package/bundled/mainy/docs/configuration/model-providers.md +0 -82
- package/bundled/mainy/docs/configuration/settings.md +46 -7
- package/bundled/mainy/docs/configuration/trusted-folders.md +12 -6
- package/bundled/mainy/docs/features/auto-mode.md +1 -1
- package/bundled/mainy/docs/features/channels/_meta.ts +0 -3
- package/bundled/mainy/docs/features/channels/overview.md +8 -16
- package/bundled/mainy/docs/features/commands.md +4 -4
- package/bundled/mainy/docs/features/hooks.md +9 -7
- package/bundled/mainy/docs/features/language.md +2 -29
- package/bundled/mainy/docs/features/worktree.md +0 -2
- package/bundled/mainy/docs/integration-github-action.md +3 -3
- package/bundled/mainy/docs/quickstart.md +2 -2
- package/bundled/mainy/docs/support/troubleshooting.md +1 -1
- package/chunks/agent-SRAIVZEE.js +3 -0
- package/chunks/agent-headless-XRDOZESG.js +3 -0
- package/chunks/{anthropicContentGenerator-IYZILRDW.js → anthropicContentGenerator-LLDIKDMQ.js} +3 -3
- package/chunks/{askUserQuestion-XWHJY3DM.js → askUserQuestion-BNSWGD26.js} +1 -1
- package/chunks/{ca-EUJBUYX5.js → ca-NPYL24ME.js} +2 -2
- package/chunks/{chunk-4YVN5HXG.js → chunk-27HUYW23.js} +2 -2
- package/chunks/{chunk-MH2P4YXC.js → chunk-27Q5KW3A.js} +2 -2
- package/chunks/{chunk-NYEWHSBL.js → chunk-2HTPVSGT.js} +1 -1
- package/chunks/{chunk-EQGA7LH7.js → chunk-3B2HABK7.js} +1 -1
- package/chunks/chunk-3MTZTNAU.js +101 -0
- package/chunks/{chunk-WHG6N5X2.js → chunk-5OHGYMKP.js} +1 -1
- package/chunks/{chunk-QH7736R5.js → chunk-6EQMZNIY.js} +1 -1
- package/chunks/chunk-6I6VGTKD.js +8 -0
- package/chunks/{chunk-5427BPR2.js → chunk-6M5G5FBH.js} +1 -1
- package/chunks/{chunk-4FVBPNTZ.js → chunk-6T2GIM76.js} +1 -1
- package/chunks/chunk-7ZODGQO6.js +4 -0
- package/chunks/chunk-AOOZREGV.js +9 -0
- package/chunks/{chunk-JXUDKX6D.js → chunk-DE3HKC2W.js} +1 -1
- package/chunks/chunk-DHDD5YJC.js +207 -0
- package/chunks/{chunk-SPW5DXX4.js → chunk-EZDV7A76.js} +1 -1
- package/chunks/{chunk-ODZOYHIC.js → chunk-GOJCMVJJ.js} +1 -1
- package/chunks/{chunk-FFFZ2QMG.js → chunk-GTVCJCHR.js} +1 -1
- package/chunks/{chunk-Q55AVE2N.js → chunk-IJEGHQ7Z.js} +11 -11
- package/chunks/{chunk-SUH3UUWZ.js → chunk-JCE3JAVC.js} +1 -1
- package/chunks/chunk-KHHJYBR5.js +9 -0
- package/chunks/{chunk-GO2GA2GY.js → chunk-LUNDTQ3G.js} +1 -1
- package/chunks/{chunk-NIQK6NX3.js → chunk-LWARA7JY.js} +1 -1
- package/chunks/{chunk-YMIF2DMT.js → chunk-MEV5XQI2.js} +1 -1
- package/chunks/{chunk-4CSSDBOS.js → chunk-P5TG5CON.js} +10 -10
- package/chunks/chunk-PEKAUGYV.js +2621 -0
- package/chunks/chunk-PGUG43HG.js +24 -0
- package/chunks/{chunk-ELH4YHJR.js → chunk-PGXQZVLX.js} +1 -1
- package/chunks/{chunk-SNLH42QJ.js → chunk-QZI2ZGZY.js} +1 -1
- package/chunks/chunk-RI54U73U.js +56 -0
- package/chunks/chunk-RPFSFS7Z.js +39 -0
- package/chunks/chunk-SOEIVSM5.js +113 -0
- package/chunks/{chunk-4J6DC24J.js → chunk-SVSY6AWS.js} +1 -1
- package/chunks/{chunk-T4P4KEDW.js → chunk-TWJLOEAI.js} +2 -2
- package/chunks/{chunk-HYVP4472.js → chunk-V6UPUMP3.js} +1 -1
- package/chunks/chunk-W4QSMIWO.js +9 -0
- package/chunks/chunk-WC2VTVCE.js +27 -0
- package/chunks/{chunk-GUFIMKF5.js → chunk-YV3PUOBU.js} +1 -1
- package/chunks/chunk-ZX34M2GF.js +14 -0
- package/chunks/{computer-use-SXP25RZQ.js → computer-use-J4GAM4M6.js} +1 -1
- package/chunks/contextCommand-5F5M7NA4.js +3 -0
- package/chunks/{cron-create-2UI4AT4Q.js → cron-create-IDWSZENI.js} +1 -1
- package/chunks/{cron-delete-ZB6BOTFF.js → cron-delete-NQCDZDUI.js} +1 -1
- package/chunks/{cron-list-YYAXNHB6.js → cron-list-Z4XMC3TO.js} +1 -1
- package/chunks/{de-DNEPG7S7.js → de-34YZHGC6.js} +3 -3
- package/chunks/{devtools-5JRKK3E7.js → devtools-XRQ4YJ5S.js} +1 -1
- package/chunks/{dist-P6SLWL5V.js → dist-PH6JW7XD.js} +1 -1
- package/chunks/edit-X2S2ZXRN.js +43 -0
- package/chunks/{en-NOD6KQNM.js → en-QLGMD6OS.js} +3 -3
- package/chunks/{enter-worktree-X47BSJLE.js → enter-worktree-TUCGNCLO.js} +1 -1
- package/chunks/{enterPlanMode-F22ZNTYJ.js → enterPlanMode-SQEZAAIR.js} +1 -1
- package/chunks/{exit-worktree-XY5UMDHX.js → exit-worktree-7FLITFZI.js} +1 -1
- package/chunks/exitPlanMode-O5UUJ3GM.js +120 -0
- package/chunks/{fr-2OE5WLJ4.js → fr-EDNBQACJ.js} +3 -3
- package/chunks/geminiContentGenerator-FIZFLPU3.js +8 -0
- package/chunks/glob-GSFTYAS2.js +22 -0
- package/chunks/{goal-tools-6QTC3UI7.js → goal-tools-YQOA6OKU.js} +1 -1
- package/chunks/{grep-6TTPZ524.js → grep-VAB2VSXM.js} +1 -1
- package/chunks/{ja-3B6V5KS7.js → ja-LV4RLM3M.js} +3 -3
- package/chunks/{keychain-token-storage-54BNK6VH.js → keychain-token-storage-KQK6MNOJ.js} +1 -1
- package/chunks/{ls-YWZU3FYL.js → ls-IZJ3CKZY.js} +1 -1
- package/chunks/{lsp-4CJDKEEC.js → lsp-NGLDRHZU.js} +1 -1
- package/chunks/matildaAgentContentGenerator-QQHPCFJ5.js +8 -0
- package/chunks/matildaContentGenerator-W7Z33ONU.js +8 -0
- package/chunks/{matildaOAuth2-WOY7ZS43.js → matildaOAuth2-7COTQQR2.js} +1 -1
- package/chunks/mcp-client-DXUNIEIB.js +3 -0
- package/chunks/monitor-4PFIGAGG.js +32 -0
- package/chunks/notebook-edit-MWJYAATJ.js +17 -0
- package/chunks/{openaiContentGenerator-MGASUFQL.js → openaiContentGenerator-NDVJL6QL.js} +1 -1
- package/chunks/{pt-KP2JCPUY.js → pt-5SQ4DGL7.js} +3 -3
- package/chunks/read-file-WPZKPXWA.js +3 -0
- package/chunks/ripGrep-7LZDZFTX.js +3 -0
- package/chunks/{ru-K7IQQKHC.js → ru-7K24S53N.js} +3 -3
- package/chunks/scheduler-DK2MVKXX.js +8 -0
- package/chunks/{send-message-OO2HAKCC.js → send-message-TCPX5UDU.js} +1 -1
- package/chunks/{serve-ZQX2WBLF.js → serve-GSZPJI2O.js} +59 -48
- package/chunks/shell-PRS47PDP.js +3 -0
- package/chunks/{skill-KDM3UUML.js → skill-ETQM5NI3.js} +1 -1
- package/chunks/src-UB7DZRYK.js +3 -0
- package/chunks/{symbol-search-ALYOX5JN.js → symbol-search-HARHZ5AH.js} +1 -1
- package/chunks/{syntheticOutput-UASKABJH.js → syntheticOutput-WZDPECYS.js} +1 -1
- package/chunks/task-create-XRNIDT4T.js +3 -0
- package/chunks/{task-detach-I67ZE5MX.js → task-detach-TBAVUOTC.js} +1 -1
- package/chunks/task-list-Z6BDZZID.js +9 -0
- package/chunks/{task-stop-ERI5X4AO.js → task-stop-HDSARSJ6.js} +1 -1
- package/chunks/{task-update-CD3W556L.js → task-update-MW2VT2XV.js} +1 -1
- package/chunks/{team-create-F4KQRGMB.js → team-create-VMYNLZCC.js} +1 -1
- package/chunks/team-delete-F7QDC2TE.js +8 -0
- package/chunks/todoWrite-SCF5M24M.js +3 -0
- package/chunks/{tool-search-JFCD5W5M.js → tool-search-WX6FOE35.js} +1 -1
- package/chunks/tree-sitter-bash-2SWKO5B7.js +3 -0
- package/chunks/{web-fetch-REWGIRWQ.js → web-fetch-CKYBHGLF.js} +13 -13
- package/chunks/{web-search-OX2DPEVN.js → web-search-67DFNS5V.js} +1 -1
- package/chunks/{workflow-SEFYGBED.js → workflow-WBSRQG3N.js} +2 -2
- package/chunks/write-file-S5FAX4JJ.js +15 -0
- package/cli.js +462 -455
- package/locales/ca.js +1 -3
- package/locales/de.js +1 -3
- package/locales/en.js +1 -3
- package/locales/fr.js +1 -3
- package/locales/ja.js +1 -3
- package/locales/pt.js +1 -3
- package/locales/ru.js +1 -3
- package/package.json +2 -2
- package/sandbox-macos-permissive-closed.sb +0 -1
- package/sandbox-macos-permissive-open.sb +0 -1
- package/sandbox-macos-permissive-proxied.sb +0 -1
- package/sandbox-macos-restrictive-closed.sb +3 -1
- package/sandbox-macos-restrictive-open.sb +3 -1
- package/sandbox-macos-restrictive-proxied.sb +3 -1
- package/bundled/mainy/docs/features/channels/dingtalk.md +0 -134
- package/bundled/mainy/docs/features/channels/feishu.md +0 -186
- package/bundled/mainy/docs/features/channels/weixin.md +0 -106
- package/chunks/agent-ZFZ4HJQC.js +0 -3
- package/chunks/agent-headless-KH2BKLP7.js +0 -3
- package/chunks/chunk-25NCTG5H.js +0 -184
- package/chunks/chunk-2HQMJ2IU.js +0 -8
- package/chunks/chunk-6GBNB5Z2.js +0 -3
- package/chunks/chunk-GHBKFIHC.js +0 -35
- package/chunks/chunk-HWOQNYAO.js +0 -27
- package/chunks/chunk-LJR4RZZ2.js +0 -3
- package/chunks/chunk-NVM7W7TG.js +0 -101
- package/chunks/chunk-PA6532AY.js +0 -6
- package/chunks/chunk-QFNFLE2I.js +0 -2625
- package/chunks/chunk-QN6WSWMM.js +0 -9
- package/chunks/chunk-RK2AKQAX.js +0 -39
- package/chunks/chunk-U347OO7S.js +0 -9
- package/chunks/chunk-UIRBHC5X.js +0 -3
- package/chunks/chunk-W5CGKUM4.js +0 -15
- package/chunks/chunk-WRQLIPXW.js +0 -113
- package/chunks/chunk-WVY2P6WH.js +0 -26
- package/chunks/chunk-WZ75OGYY.js +0 -14
- package/chunks/chunk-XCFLI3OC.js +0 -9
- package/chunks/chunk-XMZIY7XX.js +0 -13
- package/chunks/contextCommand-3GN5CAOK.js +0 -3
- package/chunks/dist-ME6647DQ.js +0 -195
- package/chunks/dist-VG3ZDJ2A.js +0 -28
- package/chunks/dist-YTCHM57U.js +0 -23
- package/chunks/edit-KX6V4PH3.js +0 -39
- package/chunks/exitPlanMode-G3QLIWJ4.js +0 -90
- package/chunks/geminiContentGenerator-EQEGOXOV.js +0 -8
- package/chunks/glob-KSBEWI3E.js +0 -22
- package/chunks/matildaAgentContentGenerator-OV4U6DJD.js +0 -8
- package/chunks/matildaContentGenerator-ETIAWE22.js +0 -8
- package/chunks/monitor-F4K5HOZX.js +0 -32
- package/chunks/notebook-edit-TL7CI5EA.js +0 -17
- package/chunks/read-file-6EAPS2KG.js +0 -3
- package/chunks/ripGrep-K6SFFUIE.js +0 -3
- package/chunks/scheduler-TKWPD4LP.js +0 -8
- package/chunks/shell-AZRK5GIO.js +0 -3
- package/chunks/src-SGI6VLOS.js +0 -3
- package/chunks/task-create-EBJD55TB.js +0 -3
- package/chunks/task-list-5BGX4G5N.js +0 -9
- package/chunks/team-delete-5U3GBFKJ.js +0 -8
- package/chunks/todoWrite-YGG6AZ3A.js +0 -3
- package/chunks/tree-sitter-bash-XNCMPQBK.js +0 -3
- package/chunks/write-file-UAGVBZMC.js +0 -15
package/chunks/chunk-PA6532AY.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// Force strict mode and setup for ESM
|
|
2
|
-
"use strict";
|
|
3
|
-
import{b as le,d as Cr,e as ge}from"./chunk-XMZIY7XX.js";import{b as h}from"./chunk-GZPNIYVZ.js";import{a as qr,d as O}from"./chunk-OWGSC52X.js";var ze=O((hn,Ke)=>{h();Ke.exports=qr("util").inspect});var j=O((gn,ur)=>{h();var Ae=typeof Map=="function"&&Map.prototype,we=Object.getOwnPropertyDescriptor&&Ae?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,oe=Ae&&we&&typeof we.get=="function"?we.get:null,Qe=Ae&&Map.prototype.forEach,_e=typeof Set=="function"&&Set.prototype,Se=Object.getOwnPropertyDescriptor&&_e?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ue=_e&&Se&&typeof Se.get=="function"?Se.get:null,Ge=_e&&Set.prototype.forEach,Nr=typeof WeakMap=="function"&&WeakMap.prototype,X=Nr?WeakMap.prototype.has:null,Rr=typeof WeakSet=="function"&&WeakSet.prototype,Y=Rr?WeakSet.prototype.has:null,Fr=typeof WeakRef=="function"&&WeakRef.prototype,Ve=Fr?WeakRef.prototype.deref:null,Pr=Boolean.prototype.valueOf,Wr=Object.prototype.toString,Br=Function.prototype.toString,Hr=String.prototype.match,Ie=String.prototype.slice,C=String.prototype.replace,Kr=String.prototype.toUpperCase,Ue=String.prototype.toLowerCase,tr=RegExp.prototype.test,ke=Array.prototype.concat,b=Array.prototype.join,zr=Array.prototype.slice,Je=Math.floor,be=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Oe=Object.getOwnPropertySymbols,xe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Q=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Z=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Q||!0)?Symbol.toStringTag:null,nr=Object.prototype.propertyIsEnumerable,Xe=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function Ye(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||tr.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-Je(-r):Je(r);if(n!==r){var a=String(n),i=Ie.call(e,a.length+1);return C.call(a,t,"$&_")+"."+C.call(C.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return C.call(e,t,"$&_")}var De=ze(),Ze=De.custom,je=lr(Ze)?Ze:null,ar={__proto__:null,double:'"',single:"'"},Qr={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ur.exports=function r(e,t,n,a){var i=t||{};if(A(i,"quoteStyle")&&!A(ar,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(A(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=A(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(A(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(A(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var d=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 or(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var o=String(e);return d?Ye(e,o):o}if(typeof e=="bigint"){var c=String(e)+"n";return d?Ye(e,c):c}var u=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=u&&u>0&&typeof e=="object")return Me(e)?"[Array]":"[Object]";var s=ot(i,n);if(typeof a>"u")a=[];else if(fr(a,e)>=0)return"[Circular]";function l(E,q,L){if(q&&(a=zr.call(a),a.push(q)),L){var k={depth:i.depth};return A(i,"quoteStyle")&&(k.quoteStyle=i.quoteStyle),r(E,k,n+1,a)}return r(E,i,n+1,a)}if(typeof e=="function"&&!er(e)){var p=jr(e),y=fe(e,l);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(y.length>0?" { "+b.call(y,", ")+" }":"")}if(lr(e)){var g=Q?C.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):xe.call(e);return typeof e=="object"&&!Q?J(g):g}if(it(e)){for(var S="<"+Ue.call(String(e.nodeName)),_=e.attributes||[],I=0;I<_.length;I++)S+=" "+_[I].name+"="+ir(Gr(_[I].value),"double",i);return S+=">",e.childNodes&&e.childNodes.length&&(S+="..."),S+="</"+Ue.call(String(e.nodeName))+">",S}if(Me(e)){if(e.length===0)return"[]";var v=fe(e,l);return s&&!ft(v)?"["+Le(v,s)+"]":"[ "+b.call(v,", ")+" ]"}if(Ur(e)){var T=fe(e,l);return!("cause"in Error.prototype)&&"cause"in e&&!nr.call(e,"cause")?"{ ["+String(e)+"] "+b.call(ke.call("[cause]: "+l(e.cause),T),", ")+" }":T.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+b.call(T,", ")+" }"}if(typeof e=="object"&&f){if(je&&typeof e[je]=="function"&&De)return De(e,{depth:u-n});if(f!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(et(e)){var R=[];return Qe&&Qe.call(e,function(E,q){R.push(l(q,e,!0)+" => "+l(E,e))}),rr("Map",oe.call(e),R,s)}if(nt(e)){var U=[];return Ge&&Ge.call(e,function(E){U.push(l(E,e))}),rr("Set",ue.call(e),U,s)}if(rt(e))return Ee("WeakMap");if(at(e))return Ee("WeakSet");if(tt(e))return Ee("WeakRef");if(Jr(e))return J(l(Number(e)));if(Yr(e))return J(l(be.call(e)));if(Xr(e))return J(Pr.call(e));if(kr(e))return J(l(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof globalThis<"u"&&e===globalThis)return"{ [object globalThis] }";if(!Vr(e)&&!er(e)){var K=fe(e,l),ae=Xe?Xe(e)===Object.prototype:e instanceof Object||e.constructor===Object,F=e instanceof Object?"":"null prototype",$=!ae&&Z&&Object(e)===e&&Z in e?Ie.call(N(e),8,-1):F?"Object":"",ie=ae||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",z=ie+($||F?"["+b.call(ke.call([],$||[],F||[]),": ")+"] ":"");return K.length===0?z+"{}":s?z+"{"+Le(K,s)+"}":z+"{ "+b.call(K,", ")+" }"}return String(e)};function ir(r,e,t){var n=t.quoteStyle||e,a=ar[n];return a+r+a}function Gr(r){return C.call(String(r),/"/g,""")}function W(r){return!Z||!(typeof r=="object"&&(Z in r||typeof r[Z]<"u"))}function Me(r){return N(r)==="[object Array]"&&W(r)}function Vr(r){return N(r)==="[object Date]"&&W(r)}function er(r){return N(r)==="[object RegExp]"&&W(r)}function Ur(r){return N(r)==="[object Error]"&&W(r)}function kr(r){return N(r)==="[object String]"&&W(r)}function Jr(r){return N(r)==="[object Number]"&&W(r)}function Xr(r){return N(r)==="[object Boolean]"&&W(r)}function lr(r){if(Q)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!xe)return!1;try{return xe.call(r),!0}catch{}return!1}function Yr(r){if(!r||typeof r!="object"||!be)return!1;try{return be.call(r),!0}catch{}return!1}var Zr=Object.prototype.hasOwnProperty||function(r){return r in this};function A(r,e){return Zr.call(r,e)}function N(r){return Wr.call(r)}function jr(r){if(r.name)return r.name;var e=Hr.call(Br.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function fr(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 et(r){if(!oe||!r||typeof r!="object")return!1;try{oe.call(r);try{ue.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function rt(r){if(!X||!r||typeof r!="object")return!1;try{X.call(r,X);try{Y.call(r,Y)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function tt(r){if(!Ve||!r||typeof r!="object")return!1;try{return Ve.call(r),!0}catch{}return!1}function nt(r){if(!ue||!r||typeof r!="object")return!1;try{ue.call(r);try{oe.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function at(r){if(!Y||!r||typeof r!="object")return!1;try{Y.call(r,Y);try{X.call(r,X)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function it(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function or(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return or(Ie.call(r,0,e.maxStringLength),e)+n}var a=Qr[e.quoteStyle||"single"];a.lastIndex=0;var i=C.call(C.call(r,a,"\\$1"),/[\x00-\x1f]/g,lt);return ir(i,"single",e)}function lt(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":"")+Kr.call(e.toString(16))}function J(r){return"Object("+r+")"}function Ee(r){return r+" { ? }"}function rr(r,e,t,n){var a=n?Le(t,n):b.call(t,", ");return r+" ("+e+") {"+a+"}"}function ft(r){for(var e=0;e<r.length;e++)if(fr(r[e],`
|
|
4
|
-
`)>=0)return!1;return!0}function ot(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=b.call(Array(r.indent+1)," ");else return null;return{base:t,prev:b.call(Array(e+1),t)}}function Le(r,e){if(r.length===0)return"";var t=`
|
|
5
|
-
`+e.prev+e.base;return t+b.call(r,","+t)+`
|
|
6
|
-
`+e.prev}function fe(r,e){var t=Me(r),n=[];if(t){n.length=r.length;for(var a=0;a<r.length;a++)n[a]=A(r,a)?e(r[a],r):""}var i=typeof Oe=="function"?Oe(r):[],f;if(Q){f={};for(var d=0;d<i.length;d++)f["$"+i[d]]=i[d]}for(var o in r)A(r,o)&&(t&&String(Number(o))===o&&o<r.length||Q&&f["$"+o]instanceof Symbol||(tr.call(/[^\w$]/,o)?n.push(e(o,r)+": "+e(r[o],r)):n.push(o+": "+e(r[o],r))));if(typeof Oe=="function")for(var c=0;c<i.length;c++)nr.call(r,i[c])&&n.push("["+e(i[c])+"]: "+e(r[i[c]],r));return n}});var pr=O((Sn,cr)=>{"use strict";h();var ut=j(),ct=le(),ce=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},pt=function(r,e){if(r){var t=ce(r,e);return t&&t.value}},st=function(r,e,t){var n=ce(r,e);n?n.value=t:r.next={key:e,next:r.next,value:t}},yt=function(r,e){return r?!!ce(r,e):!1},dt=function(r,e){if(r)return ce(r,e,!0)};cr.exports=function(){var e,t={assert:function(n){if(!t.has(n))throw new ct("Side channel does not contain "+ut(n))},delete:function(n){var a=e&&e.next,i=dt(e,n);return i&&a&&a===i&&(e=void 0),!!i},get:function(n){return pt(e,n)},has:function(n){return yt(e,n)},set:function(n,a){e||(e={next:void 0}),st(e,n,a)}};return t}});var Te=O((En,dr)=>{"use strict";h();var sr=ge(),yr=Cr(),vt=yr([sr("%String.prototype.indexOf%")]);dr.exports=function(e,t){var n=sr(e,!!t);return typeof n=="function"&&vt(e,".prototype.")>-1?yr([n]):n}});var $e=O((xn,hr)=>{"use strict";h();var ht=ge(),ee=Te(),mt=j(),gt=le(),vr=ht("%Map%",!0),wt=ee("Map.prototype.get",!0),St=ee("Map.prototype.set",!0),Ot=ee("Map.prototype.has",!0),Et=ee("Map.prototype.delete",!0),bt=ee("Map.prototype.size",!0);hr.exports=!!vr&&function(){var e,t={assert:function(n){if(!t.has(n))throw new gt("Side channel does not contain "+mt(n))},delete:function(n){if(e){var a=Et(e,n);return bt(e)===0&&(e=void 0),a}return!1},get:function(n){if(e)return wt(e,n)},has:function(n){return e?Ot(e,n):!1},set:function(n,a){e||(e=new vr),St(e,n,a)}};return t}});var gr=O((Mn,mr)=>{"use strict";h();var xt=ge(),se=Te(),Dt=j(),pe=$e(),Mt=le(),G=xt("%WeakMap%",!0),Lt=se("WeakMap.prototype.get",!0),At=se("WeakMap.prototype.set",!0),_t=se("WeakMap.prototype.has",!0),It=se("WeakMap.prototype.delete",!0);mr.exports=G?function(){var e,t,n={assert:function(a){if(!n.has(a))throw new Mt("Side channel does not contain "+Dt(a))},delete:function(a){if(G&&a&&(typeof a=="object"||typeof a=="function")){if(e)return It(e,a)}else if(pe&&t)return t.delete(a);return!1},get:function(a){return G&&a&&(typeof a=="object"||typeof a=="function")&&e?Lt(e,a):t&&t.get(a)},has:function(a){return G&&a&&(typeof a=="object"||typeof a=="function")&&e?_t(e,a):!!t&&t.has(a)},set:function(a,i){G&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new G),At(e,a,i)):pe&&(t||(t=pe()),t.set(a,i))}};return n}:pe});var qe=O((An,wr)=>{"use strict";h();var Tt=le(),$t=j(),qt=pr(),Ct=$e(),Nt=gr(),Rt=Nt||Ct||qt;wr.exports=function(){var e,t={assert:function(n){if(!t.has(n))throw new Tt("Side channel does not contain "+$t(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=Rt()),e.set(n,a)}};return t}});var ye=O((In,Sr)=>{"use strict";h();var Ft=String.prototype.replace,Pt=/%20/g,Ce={RFC1738:"RFC1738",RFC3986:"RFC3986"};Sr.exports={default:Ce.RFC3986,formatters:{RFC1738:function(r){return Ft.call(r,Pt,"+")},RFC3986:function(r){return String(r)}},RFC1738:Ce.RFC1738,RFC3986:Ce.RFC3986}});var Pe=O(($n,Or)=>{"use strict";h();var Wt=ye(),Bt=qe(),Ne=Object.prototype.hasOwnProperty,B=Array.isArray,de=Bt(),V=function(e,t){return de.set(e,t),e},H=function(e){return de.has(e)},re=function(e){return de.get(e)},Fe=function(e,t){de.set(e,t)},x=function(){for(var r=[],e=0;e<256;++e)r[r.length]="%"+((e<16?"0":"")+e.toString(16)).toUpperCase();return r}(),Ht=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(B(n)){for(var a=[],i=0;i<n.length;++i)typeof n[i]<"u"&&(a[a.length]=n[i]);t.obj[t.prop]=a}}},te=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},Kt=function r(e,t,n){if(!t)return e;if(typeof t!="object"&&typeof t!="function"){if(B(e)){var a=e.length;if(n&&typeof n.arrayLimit=="number"&&a>n.arrayLimit)return V(te(e.concat(t),n),a);e[a]=t}else if(e&&typeof e=="object")if(H(e)){var i=re(e)+1;e[i]=t,Fe(e,i)}else{if(n&&n.strictMerge)return[e,t];(n&&(n.plainObjects||n.allowPrototypes)||!Ne.call(Object.prototype,t))&&(e[t]=!0)}else return[e,t];return e}if(!e||typeof e!="object"){if(H(t)){for(var f=Object.keys(t),d=n&&n.plainObjects?{__proto__:null,0:e}:{0:e},o=0;o<f.length;o++){var c=parseInt(f[o],10);d[c+1]=t[f[o]]}return V(d,re(t)+1)}var u=[e].concat(t);return n&&typeof n.arrayLimit=="number"&&u.length>n.arrayLimit?V(te(u,n),u.length-1):u}var s=e;return B(e)&&!B(t)&&(s=te(e,n)),B(e)&&B(t)?(t.forEach(function(l,p){if(Ne.call(e,p)){var y=e[p];y&&typeof y=="object"&&l&&typeof l=="object"?e[p]=r(y,l,n):e[e.length]=l}else e[p]=l}),e):Object.keys(t).reduce(function(l,p){var y=t[p];if(Ne.call(l,p)?l[p]=r(l[p],y,n):l[p]=y,H(t)&&!H(l)&&V(l,re(t)),H(l)){var g=parseInt(p,10);String(g)===p&&g>=0&&g>re(l)&&Fe(l,g)}return l},s)},zt=function(e,t){return Object.keys(t).reduce(function(n,a){return n[a]=t[a],n},e)},Qt=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}},Re=1024,Gt=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(p){return"%26%23"+parseInt(p.slice(2),16)+"%3B"});for(var d="",o=0;o<f.length;o+=Re){for(var c=f.length>=Re?f.slice(o,o+Re):f,u=[],s=0;s<c.length;++s){var l=c.charCodeAt(s);if(l===45||l===46||l===95||l===126||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===Wt.RFC1738&&(l===40||l===41)){u[u.length]=c.charAt(s);continue}if(l<128){u[u.length]=x[l];continue}if(l<2048){u[u.length]=x[192|l>>6]+x[128|l&63];continue}if(l<55296||l>=57344){u[u.length]=x[224|l>>12]+x[128|l>>6&63]+x[128|l&63];continue}s+=1,l=65536+((l&1023)<<10|c.charCodeAt(s)&1023),u[u.length]=x[240|l>>18]+x[128|l>>12&63]+x[128|l>>6&63]+x[128|l&63]}d+=u.join("")}return d},Vt=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],d=Object.keys(f),o=0;o<d.length;++o){var c=d[o],u=f[c];typeof u=="object"&&u!==null&&n.indexOf(u)===-1&&(t[t.length]={obj:f,prop:c},n[n.length]=u)}return Ht(t),e},Ut=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},kt=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},Jt=function(e,t,n,a){if(H(e)){var i=re(e)+1;return e[i]=t,Fe(e,i),e}var f=[].concat(e,t);return f.length>n?V(te(f,{plainObjects:a}),f.length-1):f},Xt=function(e,t){if(B(e)){for(var n=[],a=0;a<e.length;a+=1)n[n.length]=t(e[a]);return n}return t(e)};Or.exports={arrayToObject:te,assign:zt,combine:Jt,compact:Vt,decode:Qt,encode:Gt,isBuffer:kt,isOverflow:H,isRegExp:Ut,markOverflow:V,maybeMap:Xt,merge:Kt}});var Lr=O((Cn,Mr)=>{"use strict";h();var br=qe(),ve=Pe(),ne=ye(),Yt=Object.prototype.hasOwnProperty,xr={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},D=Array.isArray,Zt=Array.prototype.push,Dr=function(r,e){Zt.apply(r,D(e)?e:[e])},jt=Date.prototype.toISOString,Er=ne.default,w={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:ve.encode,encodeValuesOnly:!1,filter:void 0,format:Er,formatter:ne.formatters[Er],indices:!1,serializeDate:function(e){return jt.call(e)},skipNulls:!1,strictNullHandling:!1},en=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},We={},rn=function r(e,t,n,a,i,f,d,o,c,u,s,l,p,y,g,S,_,I){for(var v=e,T=I,R=0,U=!1;(T=T.get(We))!==void 0&&!U;){var K=T.get(e);if(R+=1,typeof K<"u"){if(K===R)throw new RangeError("Cyclic object value");U=!0}typeof T.get(We)>"u"&&(R=0)}if(typeof u=="function"?v=u(t,v):v instanceof Date?v=p(v):n==="comma"&&D(v)&&(v=ve.maybeMap(v,function(P){return P instanceof Date?p(P):P})),v===null){if(f)return g(c&&!S?c(t,w.encoder,_,"key",y):t);v=""}if(en(v)||ve.isBuffer(v)){if(c){var ae=S?t:c(t,w.encoder,_,"key",y);return[g(ae)+"="+g(c(v,w.encoder,_,"value",y))]}return[g(t)+"="+g(String(v))]}var F=[];if(typeof v>"u")return F;var $;if(n==="comma"&&D(v))S&&c&&(v=ve.maybeMap(v,function(P){return P==null?P:c(P)})),$=[{value:v.length>0?v.join(",")||null:void 0}];else if(D(u))$=u;else{var ie=Object.keys(v);$=s?ie.sort(s):ie}var z=o?String(t).replace(/\./g,"%2E"):String(t),E=a&&D(v)&&v.length===1?z+"[]":z;if(i&&D(v)&&v.length===0)return E+"[]";for(var q=0;q<$.length;++q){var L=$[q],k=typeof L=="object"&&L&&typeof L.value<"u"?L.value:v[L];if(!(d&&k===null)){var me=l&&o?String(L).replace(/\./g,"%2E"):String(L),$r=D(v)?typeof n=="function"?n(E,me):E:E+(l?"."+me:"["+me+"]");I.set(e,R);var He=br();He.set(We,I),Dr(F,r(k,$r,n,a,i,f,d,o,n==="comma"&&S&&D(v)?null:c,u,s,l,p,y,g,S,_,He))}}return F},tn=function(e){if(!e)return w;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||w.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=ne.default;if(typeof e.format<"u"){if(!Yt.call(ne.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var a=ne.formatters[n],i=w.filter;(typeof e.filter=="function"||D(e.filter))&&(i=e.filter);var f;if(e.arrayFormat in xr?f=e.arrayFormat:"indices"in e?f=e.indices?"indices":"repeat":f=w.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var d=typeof e.allowDots>"u"?e.encodeDotInKeys===!0?!0:w.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:w.addQueryPrefix,allowDots:d,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:w.allowEmptyArrays,arrayFormat:f,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:w.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?w.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:w.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:w.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:w.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:w.encodeValuesOnly,filter:i,format:n,formatter:a,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:w.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:w.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:w.strictNullHandling}};Mr.exports=function(r,e){var t=r,n=tn(e),a,i;typeof n.filter=="function"?(i=n.filter,t=i("",t)):D(n.filter)&&(i=n.filter,a=i);var f=[];if(typeof t!="object"||t===null)return"";var d=xr[n.arrayFormat],o=d==="comma"&&n.commaRoundTrip;a||(a=Object.keys(t)),n.sort&&a.sort(n.sort);for(var c=br(),u=0;u<a.length;++u){var s=a[u];if(!(typeof s>"u"||s===null)){var l=t[s];n.skipNulls&&l===null||Dr(f,rn(l,s,d,o,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,c))}}var p=f.join(n.delimiter),y=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?y+="utf8=%26%2310003%3B"+n.delimiter:y+="utf8=%E2%9C%93"+n.delimiter),p.length>0?y+p:""}});var Ir=O((Rn,_r)=>{"use strict";h();var M=Pe(),he=Object.prototype.hasOwnProperty,Be=Array.isArray,m={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:M.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},nn=function(r){return r.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},Ar=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},an="utf8=%26%2310003%3B",ln="utf8=%E2%9C%93",fn=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&&typeof i<"u"?i+1:i);if(t.throwOnLimitExceeded&&typeof i<"u"&&f.length>i)throw new RangeError("Parameter limit exceeded. Only "+i+" parameter"+(i===1?"":"s")+" allowed.");var d=-1,o,c=t.charset;if(t.charsetSentinel)for(o=0;o<f.length;++o)f[o].indexOf("utf8=")===0&&(f[o]===ln?c="utf-8":f[o]===an&&(c="iso-8859-1"),d=o,o=f.length);for(o=0;o<f.length;++o)if(o!==d){var u=f[o],s=u.indexOf("]="),l=s===-1?u.indexOf("="):s+1,p,y;if(l===-1?(p=t.decoder(u,m.decoder,c,"key"),y=t.strictNullHandling?null:""):(p=t.decoder(u.slice(0,l),m.decoder,c,"key"),p!==null&&(y=M.maybeMap(Ar(u.slice(l+1),t,Be(n[p])?n[p].length:0),function(S){return t.decoder(S,m.decoder,c,"value")}))),y&&t.interpretNumericEntities&&c==="iso-8859-1"&&(y=nn(String(y))),u.indexOf("[]=")>-1&&(y=Be(y)?[y]:y),t.comma&&Be(y)&&y.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.");y=M.combine([],y,t.arrayLimit,t.plainObjects)}if(p!==null){var g=he.call(n,p);g&&(t.duplicates==="combine"||u.indexOf("[]=")>-1)?n[p]=M.combine(n[p],y,t.arrayLimit,t.plainObjects):(!g||t.duplicates==="last")&&(n[p]=y)}}return n},on=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:Ar(e,t,a),d=r.length-1;d>=0;--d){var o,c=r[d];if(c==="[]"&&t.parseArrays)M.isOverflow(f)?o=f:o=t.allowEmptyArrays&&(f===""||t.strictNullHandling&&f===null)?[]:M.combine([],f,t.arrayLimit,t.plainObjects);else{o=t.plainObjects?{__proto__:null}:{};var u=c.charAt(0)==="["&&c.charAt(c.length-1)==="]"?c.slice(1,-1):c,s=t.decodeDotInKeys?u.replace(/%2E/g,"."):u,l=parseInt(s,10),p=!isNaN(l)&&c!==s&&String(l)===s&&l>=0&&t.parseArrays;if(!t.parseArrays&&s==="")o={0:f};else if(p&&l<t.arrayLimit)o=[],o[l]=f;else{if(p&&t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.");p?(o[l]=f,M.markOverflow(o,l)):s!=="__proto__"&&(o[s]=f)}}f=o}return f},un=function(e,t){var n=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0)return!t.plainObjects&&he.call(Object.prototype,n)&&!t.allowPrototypes?void 0:[n];var a=[],i=n.indexOf("["),f=i>=0?n.slice(0,i):n;if(f){if(!t.plainObjects&&he.call(Object.prototype,f)&&!t.allowPrototypes)return;a[a.length]=f}for(var d=n.length,o=i,c=0;o>=0&&c<t.depth;){for(var u=1,s=o+1,l=-1;s<d&&l<0;){var p=n.charCodeAt(s);p===91?u+=1:p===93&&(u-=1,u===0&&(l=s)),s+=1}if(l<0)return a[a.length]="["+n.slice(o)+"]",a;var y=n.slice(o,l+1),g=y.slice(1,-1);if(!t.plainObjects&&he.call(Object.prototype,g)&&!t.allowPrototypes)return;a[a.length]=y,c+=1,o=n.indexOf("[",l+1)}if(o>=0){if(t.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");a[a.length]="["+n.slice(o)+"]"}return a},cn=function(e,t,n,a){if(e){var i=un(e,n);if(i)return on(i,t,n,a)}},pn=function(e){if(!e)return m;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"?m.charset:e.charset,n=typeof e.duplicates>"u"?m.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:m.allowDots:!!e.allowDots;return{allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:m.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:m.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:m.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:m.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:m.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:m.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:m.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:m.decoder,delimiter:typeof e.delimiter=="string"||M.isRegExp(e.delimiter)?e.delimiter:m.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:m.depth,duplicates:n,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:m.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:m.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:m.plainObjects,strictDepth:typeof e.strictDepth=="boolean"?!!e.strictDepth:m.strictDepth,strictMerge:typeof e.strictMerge=="boolean"?!!e.strictMerge:m.strictMerge,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:m.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded=="boolean"?e.throwOnLimitExceeded:!1}};_r.exports=function(r,e){var t=pn(e);if(r===""||r===null||typeof r>"u")return t.plainObjects?{__proto__:null}:{};for(var n=typeof r=="string"?fn(r,t):r,a=t.plainObjects?{__proto__:null}:{},i=Object.keys(n),f=0;f<i.length;++f){var d=i[f],o=cn(d,n[d],t,typeof r=="string");a=M.merge(a,o,t)}return t.allowSparse===!0?a:M.compact(a)}});var vn=O((Pn,Tr)=>{"use strict";h();var sn=Lr(),yn=Ir(),dn=ye();Tr.exports={formats:dn,parse:yn,stringify:sn}});export{vn as a};
|