import{a as t}from"./call-bind.218c9af5.js";const e=t(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var r="function"==typeof Map&&Map.prototype,n=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&n&&"function"==typeof n.get?n.get:null,i=r&&Map.prototype.forEach,u="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&u?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=u&&c&&"function"==typeof c.get?c.get:null,a=u&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,y="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,b=Object.prototype.toString,s=Function.prototype.toString,S=String.prototype.match,h=String.prototype.slice,m=String.prototype.replace,v=String.prototype.toUpperCase,d=String.prototype.toLowerCase,j=RegExp.prototype.test,O=Array.prototype.concat,w=Array.prototype.join,x=Array.prototype.slice,_=Math.floor,M="function"==typeof BigInt?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,W="function"==typeof Symbol&&"object"==typeof Symbol.iterator,L="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===W||"symbol")?Symbol.toStringTag:null,T=Object.prototype.propertyIsEnumerable,$=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function A(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||j.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-_(-t):_(t);if(n!==t){var o=String(n),i=h.call(e,o.length+1);return m.call(o,r,"$&_")+"."+m.call(m.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return m.call(e,r,"$&_")}var q=e,P=q.custom,I=z(P)?P:null,N=function t(e,r,n,u){var c=r||{};if(H(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(H(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var b=!H(c,"customInspect")||c.customInspect;if("boolean"!=typeof b&&"symbol"!==b)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(H(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(H(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var v=c.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return J(e,c);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var j=String(e);return v?A(e,j):j}if("bigint"==typeof e){var _=String(e)+"n";return v?A(e,_):_}var k=void 0===c.depth?5:c.depth;if(void 0===n&&(n=0),n>=k&&k>0&&"object"==typeof e)return B(e)?"[Array]":"[Object]";var P=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=w.call(Array(t.indent+1)," ")}return{base:r,prev:w.call(Array(e+1),r)}}(c,n);if(void 0===u)u=[];else if(G(u,e)>=0)return"[Circular]";function N(e,r,o){if(r&&(u=x.call(u)).push(r),o){var i={depth:c.depth};return H(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,n+1,u)}return t(e,c,n+1,u)}if("function"==typeof e&&!C(e)){var F=function(t){if(t.name)return t.name;var e=S.call(s.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),K=Z(e,N);return"[Function"+(F?": "+F:" (anonymous)")+"]"+(K.length>0?" { "+w.call(K,", ")+" }":"")}if(z(e)){var tt=W?m.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(e);return"object"!=typeof e||W?tt:Q(tt)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var et="<"+d.call(String(e.nodeName)),rt=e.attributes||[],nt=0;nt"}if(B(e)){if(0===e.length)return"[]";var ot=Z(e,N);return P&&!function(t){for(var e=0;e=0)return!1;return!0}(ot)?"["+Y(ot,P)+"]":"[ "+w.call(ot,", ")+" ]"}if(function(t){return!("[object Error]"!==U(t)||L&&"object"==typeof t&&L in t)}(e)){var it=Z(e,N);return"cause"in Error.prototype||!("cause"in e)||T.call(e,"cause")?0===it.length?"["+String(e)+"]":"{ ["+String(e)+"] "+w.call(it,", ")+" }":"{ ["+String(e)+"] "+w.call(O.call("[cause]: "+N(e.cause),it),", ")+" }"}if("object"==typeof e&&b){if(I&&"function"==typeof e[I]&&q)return q(e,{depth:k-n});if("symbol"!==b&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{l.call(t)}catch(et){return!0}return t instanceof Map}catch(e){}return!1}(e)){var ut=[];return i&&i.call(e,(function(t,r){ut.push(N(r,e,!0)+" => "+N(t,e))})),X("Map",o.call(e),ut,P)}if(function(t){if(!l||!t||"object"!=typeof t)return!1;try{l.call(t);try{o.call(t)}catch(e){return!0}return t instanceof Set}catch(r){}return!1}(e)){var ct=[];return a&&a.call(e,(function(t){ct.push(N(t,e))})),X("Set",l.call(e),ct,P)}if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{p.call(t,p)}catch(et){return!0}return t instanceof WeakMap}catch(e){}return!1}(e))return V("WeakMap");if(function(t){if(!p||!t||"object"!=typeof t)return!1;try{p.call(t,p);try{f.call(t,f)}catch(et){return!0}return t instanceof WeakSet}catch(e){}return!1}(e))return V("WeakSet");if(function(t){if(!y||!t||"object"!=typeof t)return!1;try{return y.call(t),!0}catch(e){}return!1}(e))return V("WeakRef");if(function(t){return!("[object Number]"!==U(t)||L&&"object"==typeof t&&L in t)}(e))return Q(N(Number(e)));if(function(t){if(!t||"object"!=typeof t||!M)return!1;try{return M.call(t),!0}catch(e){}return!1}(e))return Q(N(M.call(e)));if(function(t){return!("[object Boolean]"!==U(t)||L&&"object"==typeof t&&L in t)}(e))return Q(g.call(e));if(function(t){return!("[object String]"!==U(t)||L&&"object"==typeof t&&L in t)}(e))return Q(N(String(e)));if(!function(t){return!("[object Date]"!==U(t)||L&&"object"==typeof t&&L in t)}(e)&&!C(e)){var lt=Z(e,N),at=$?$(e)===Object.prototype:e instanceof Object||e.constructor===Object,ft=e instanceof Object?"":"null prototype",pt=!at&&L&&Object(e)===e&&L in e?h.call(U(e),8,-1):ft?"Object":"",yt=(at||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(pt||ft?"["+w.call(O.call([],pt||[],ft||[]),": ")+"] ":"");return 0===lt.length?yt+"{}":P?yt+"{"+Y(lt,P)+"}":yt+"{ "+w.call(lt,", ")+" }"}return String(e)};function R(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function D(t){return m.call(String(t),/"/g,""")}function B(t){return!("[object Array]"!==U(t)||L&&"object"==typeof t&&L in t)}function C(t){return!("[object RegExp]"!==U(t)||L&&"object"==typeof t&&L in t)}function z(t){if(W)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!E)return!1;try{return E.call(t),!0}catch(e){}return!1}var F=Object.prototype.hasOwnProperty||function(t){return t in this};function H(t,e){return F.call(t,e)}function U(t){return b.call(t)}function G(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return J(h.call(t,0,e.maxStringLength),e)+n}return R(m.call(m.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,K),"single",e)}function K(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+v.call(e.toString(16))}function Q(t){return"Object("+t+")"}function V(t){return t+" { ? }"}function X(t,e,r,n){return t+" ("+e+") {"+(n?Y(r,n):w.call(r,", "))+"}"}function Y(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+w.call(t,","+r)+"\n"+e.prev}function Z(t,e){var r=B(t),n=[];if(r){n.length=t.length;for(var o=0;o