/** * Minified by jsDelivr using Terser v5.19.2. * Original file: /npm/qs@6.13.0/dist/qs.js * * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files */ !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Qs=t()}}((function(){return function t(e,r,o){function n(a,l){if(!r[a]){if(!e[a]){var p="function"==typeof require&&require;if(!l&&p)return p(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var f=r[a]={exports:{}};e[a][0].call(f.exports,(function(t){return n(e[a][1][t]||t)}),f,f.exports,t,e,r,o)}return r[a].exports}for(var i="function"==typeof require&&require,a=0;a-1?t.split(","):t},c=function(t,e,r,o){if(t){var i=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,l=r.depth>0&&/(\[[^[\]]*])/.exec(i),c=l?i.slice(0,l.index):i,f=[];if(c){if(!r.plainObjects&&n.call(Object.prototype,c)&&!r.allowPrototypes)return;f.push(c)}for(var u=0;r.depth>0&&null!==(l=a.exec(i))&&u=0;--i){var a,l=t[i];if("[]"===l&&r.parseArrays)a=r.allowEmptyArrays&&(""===n||r.strictNullHandling&&null===n)?[]:[].concat(n);else{a=r.plainObjects?Object.create(null):{};var c="["===l.charAt(0)&&"]"===l.charAt(l.length-1)?l.slice(1,-1):l,f=r.decodeDotInKeys?c.replace(/%2E/g,"."):c,u=parseInt(f,10);r.parseArrays||""!==f?!isNaN(u)&&l!==f&&String(u)===f&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(a=[])[u]=n:"__proto__"!==f&&(a[f]=n):a={0:n}}n=a}return n}(f,e,r,o)}};e.exports=function(t,e){var r=function(t){if(!t)return a;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.decodeDotInKeys&&"boolean"!=typeof t.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset,r=void 0===t.duplicates?a.duplicates:t.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===t.allowDots?!0===t.decodeDotInKeys||a.allowDots:!!t.allowDots,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decodeDotInKeys:"boolean"==typeof t.decodeDotInKeys?t.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||o.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,duplicates:r,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictDepth:"boolean"==typeof t.strictDepth?!!t.strictDepth:a.strictDepth,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var r={__proto__:null},c=e.ignoreQueryPrefix?t.replace(/^\?/,""):t;c=c.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var f,u=e.parameterLimit===1/0?void 0:e.parameterLimit,y=c.split(e.delimiter,u),s=-1,d=e.charset;if(e.charsetSentinel)for(f=0;f-1&&(g=i(g)?[g]:g);var w=n.call(r,b);w&&"combine"===e.duplicates?r[b]=o.combine(r[b],g):w&&"last"!==e.duplicates||(r[b]=g)}return r}(t,r):t,u=r.plainObjects?Object.create(null):{},y=Object.keys(f),s=0;s0?E.join(",")||null:void 0}];else if(p(g))F=g;else{var k=Object.keys(E);F=h?k.sort(h):k}var N=y?r.replace(/\./g,"%2E"):r,_=a&&p(E)&&1===E.length?N+"[]":N;if(l&&p(E)&&0===E.length)return _+"[]";for(var M=0;M0?w+v:""}},{1:1,29:29,5:5}],5:[function(t,e,r){"use strict";var o=t(1),n=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),l=1024;e.exports={combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],o=0;o1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var o=[],n=0;n=l?p.slice(f,f+l):p,y=[],s=0;s=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||i===o.RFC1738&&(40===d||41===d)?y[y.length]=u.charAt(s):d<128?y[y.length]=a[d]:d<2048?y[y.length]=a[192|d>>6]+a[128|63&d]:d<55296||d>=57344?y[y.length]=a[224|d>>12]+a[128|d>>6&63]+a[128|63&d]:(s+=1,d=65536+((1023&d)<<10|1023&u.charCodeAt(s)),y[y.length]=a[240|d>>18]+a[128|d>>12&63]+a[128|d>>6&63]+a[128|63&d])}c+=y.join("")}return c},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],o=0;o-1?n(r):r}},{20:20,8:8}],20:[function(t,e,r){"use strict";var o,n=t(12),i=t(11),a=t(13),l=t(14),p=t(15),c=t(16),f=t(17),u=Function,y=function(t){try{return u('"use strict"; return ('+t+").constructor;")()}catch(t){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(t){s=null}var d=function(){throw new c},b=s?function(){try{return d}catch(t){try{return s(arguments,"callee").get}catch(t){return d}}}():d,g=t(24)(),h=t(23)(),m=Object.getPrototypeOf||(h?function(t){return t.__proto__}:null),v={},w="undefined"!=typeof Uint8Array&&m?m(Uint8Array):o,S={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":g&&m?m([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":"undefined"==typeof Atomics?o:Atomics,"%BigInt%":"undefined"==typeof BigInt?o:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?o:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?o:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?o:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":i,"%Float32Array%":"undefined"==typeof Float32Array?o:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?o:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?o:FinalizationRegistry,"%Function%":u,"%GeneratorFunction%":v,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&m?m(m([][Symbol.iterator]())):o,"%JSON%":"object"==typeof JSON?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&g&&m?m((new Map)[Symbol.iterator]()):o,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?o:Promise,"%Proxy%":"undefined"==typeof Proxy?o:Proxy,"%RangeError%":a,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?o:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?o:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&g&&m?m((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&m?m(""[Symbol.iterator]()):o,"%Symbol%":g?Symbol:o,"%SyntaxError%":p,"%ThrowTypeError%":b,"%TypedArray%":w,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?o:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?o:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?o:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?o:Uint32Array,"%URIError%":f,"%WeakMap%":"undefined"==typeof WeakMap?o:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?o:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?o:WeakSet};if(m)try{null.error}catch(t){var A=m(m(t));S["%Error.prototype%"]=A}var j=function t(e){var r;if("%AsyncFunction%"===e)r=y("async function () {}");else if("%GeneratorFunction%"===e)r=y("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=y("async function* () {}");else if("%AsyncGenerator%"===e){var o=t("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===e){var n=t("%AsyncGenerator%");n&&m&&(r=m(n.prototype))}return S[e]=r,r},O={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},E=t(19),P=t(26),x=E.call(Function.call,Array.prototype.concat),I=E.call(Function.apply,Array.prototype.splice),D=E.call(Function.call,String.prototype.replace),F=E.call(Function.call,String.prototype.slice),R=E.call(Function.call,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,_=function(t,e){var r,o=t;if(P(O,o)&&(o="%"+(r=O[o])[0]+"%"),P(S,o)){var n=S[o];if(n===v&&(n=j(o)),void 0===n&&!e)throw new c("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:o,value:n}}throw new p("intrinsic "+t+" does not exist!")};e.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new c('"allowMissing" argument must be a boolean');if(null===R(/^%?[^%]*%?$/,t))throw new p("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=F(t,0,1),r=F(t,-1);if("%"===e&&"%"!==r)throw new p("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new p("invalid intrinsic syntax, expected opening `%`");var o=[];return D(t,k,(function(t,e,r,n){o[o.length]=r?D(n,N,"$1"):e||t})),o}(t),o=r.length>0?r[0]:"",n=_("%"+o+"%",e),i=n.name,a=n.value,l=!1,f=n.alias;f&&(o=f[0],I(r,x([0,1],f)));for(var u=1,y=!0;u=r.length){var h=s(a,d);a=(y=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:a[d]}else y=P(a,d),a=a[d];y&&!l&&(S[i]=a)}}return a}},{11:11,12:12,13:13,14:14,15:15,16:16,17:17,19:19,23:23,24:24,26:26}],8:[function(t,e,r){"use strict";var o=t(19),n=t(20),i=t(28),a=t(16),l=n("%Function.prototype.apply%"),p=n("%Function.prototype.call%"),c=n("%Reflect.apply%",!0)||o.call(p,l),f=t(10),u=n("%Math.max%");e.exports=function(t){if("function"!=typeof t)throw new a("a function is required");var e=c(o,p,arguments);return i(e,1+u(0,t.length-(arguments.length-1)),!0)};var y=function(){return c(o,l,arguments)};f?f(e.exports,"apply",{value:y}):e.exports.apply=y},{10:10,16:16,19:19,20:20,28:28}],16:[function(t,e,r){"use strict";e.exports=TypeError},{}],19:[function(t,e,r){"use strict";var o=t(18);e.exports=Function.prototype.bind||o},{18:18}],10:[function(t,e,r){"use strict";var o=t(20)("%Object.defineProperty%",!0)||!1;if(o)try{o({},"a",{value:1})}catch(t){o=!1}e.exports=o},{20:20}],28:[function(t,e,r){"use strict";var o=t(20),n=t(9),i=t(22)(),a=t(21),l=t(16),p=o("%Math.floor%");e.exports=function(t,e){if("function"!=typeof t)throw new l("`fn` is not a function");if("number"!=typeof e||e<0||e>4294967295||p(e)!==e)throw new l("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],o=!0,c=!0;if("length"in t&&a){var f=a(t,"length");f&&!f.configurable&&(o=!1),f&&!f.writable&&(c=!1)}return(o||c||!r)&&(i?n(t,"length",e,!0,!0):n(t,"length",e)),t}},{16:16,20:20,21:21,22:22,9:9}],9:[function(t,e,r){"use strict";var o=t(10),n=t(15),i=t(16),a=t(21);e.exports=function(t,e,r){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new i("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,p=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,f=arguments.length>6&&arguments[6],u=!!a&&a(t,e);if(o)o(t,e,{configurable:null===c&&u?u.configurable:!c,enumerable:null===l&&u?u.enumerable:!l,value:r,writable:null===p&&u?u.writable:!p});else{if(!f&&(l||p||c))throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=r}}},{10:10,15:15,16:16,21:21}],15:[function(t,e,r){"use strict";e.exports=SyntaxError},{}],21:[function(t,e,r){"use strict";var o=t(20)("%Object.getOwnPropertyDescriptor%",!0);if(o)try{o([],"length")}catch(t){o=null}e.exports=o},{20:20}],11:[function(t,e,r){"use strict";e.exports=EvalError},{}],12:[function(t,e,r){"use strict";e.exports=Error},{}],13:[function(t,e,r){"use strict";e.exports=RangeError},{}],14:[function(t,e,r){"use strict";e.exports=ReferenceError},{}],17:[function(t,e,r){"use strict";e.exports=URIError},{}],18:[function(t,e,r){"use strict";var o=Object.prototype.toString,n=Math.max,i=function(t,e){for(var r=[],o=0;o-1e3&&t<1e3||A.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var o=t<0?-P(-t):P(t);if(o!==t){var n=String(o),i=m.call(e,n.length+1);return v.call(n,r,"$&_")+"."+v.call(v.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(e,r,"$&_")}var M=t(6),T=M.custom,U=K(T)?T:null;function B(t,e,r){var o="double"===(r.quoteStyle||e)?'"':"'";return o+t+o}function W(t){return v.call(String(t),/"/g,""")}function C(t){return!("[object Array]"!==$(t)||R&&"object"==typeof t&&R in t)}function L(t){return!("[object RegExp]"!==$(t)||R&&"object"==typeof t&&R in t)}function K(t){if(F)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!D)return!1;try{return D.call(t),!0}catch(t){}return!1}e.exports=function t(e,o,n,l){var p=o||{};if(G(p,"quoteStyle")&&"single"!==p.quoteStyle&&"double"!==p.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(G(p,"maxStringLength")&&("number"==typeof p.maxStringLength?p.maxStringLength<0&&p.maxStringLength!==1/0:null!==p.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var b=!G(p,"customInspect")||p.customInspect;if("boolean"!=typeof b&&"symbol"!==b)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(G(p,"indent")&&null!==p.indent&&"\t"!==p.indent&&!(parseInt(p.indent,10)===p.indent&&p.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(G(p,"numericSeparator")&&"boolean"!=typeof p.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=p.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 V(e,p);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var A=String(e);return w?_(e,A):A}if("bigint"==typeof e){var P=String(e)+"n";return w?_(e,P):P}var I=void 0===p.depth?5:p.depth;if(void 0===n&&(n=0),n>=I&&I>0&&"object"==typeof e)return C(e)?"[Array]":"[Object]";var T=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=O.call(Array(t.indent+1)," ")}return{base:r,prev:O.call(Array(e+1),r)}}(p,n);if(void 0===l)l=[];else if(H(l,e)>=0)return"[Circular]";function q(e,r,o){if(r&&(l=E.call(l)).push(r),o){var i={depth:p.depth};return G(p,"quoteStyle")&&(i.quoteStyle=p.quoteStyle),t(e,i,n+1,l)}return t(e,p,n+1,l)}if("function"==typeof e&&!L(e)){var z=function(t){if(t.name)return t.name;var e=h.call(g.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),tt=Z(e,q);return"[Function"+(z?": "+z:" (anonymous)")+"]"+(tt.length>0?" { "+O.call(tt,", ")+" }":"")}if(K(e)){var et=F?v.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):D.call(e);return"object"!=typeof e||F?et:Q(et)}if(function(t){return!(!t||"object"!=typeof t)&&("undefined"!=typeof HTMLElement&&t instanceof HTMLElement||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)}(e)){for(var rt="<"+S.call(String(e.nodeName)),ot=e.attributes||[],nt=0;nt"}if(C(e)){if(0===e.length)return"[]";var it=Z(e,q);return T&&!function(t){for(var e=0;e=0)return!1;return!0}(it)?"["+Y(it,T)+"]":"[ "+O.call(it,", ")+" ]"}if(function(t){return!("[object Error]"!==$(t)||R&&"object"==typeof t&&R in t)}(e)){var at=Z(e,q);return"cause"in Error.prototype||!("cause"in e)||k.call(e,"cause")?0===at.length?"["+String(e)+"]":"{ ["+String(e)+"] "+O.call(at,", ")+" }":"{ ["+String(e)+"] "+O.call(j.call("[cause]: "+q(e.cause),at),", ")+" }"}if("object"==typeof e&&b){if(U&&"function"==typeof e[U]&&M)return M(e,{depth:I-n});if("symbol"!==b&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!=typeof t)return!1;try{i.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var lt=[];return a&&a.call(e,(function(t,r){lt.push(q(r,e,!0)+" => "+q(t,e))})),X("Map",i.call(e),lt,T)}if(function(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var pt=[];return f&&f.call(e,(function(t){pt.push(q(t,e))})),X("Set",c.call(e),pt,T)}if(function(t){if(!u||!t||"object"!=typeof t)return!1;try{u.call(t,u);try{y.call(t,y)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return J("WeakMap");if(function(t){if(!y||!t||"object"!=typeof t)return!1;try{y.call(t,y);try{u.call(t,u)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return J("WeakSet");if(function(t){if(!s||!t||"object"!=typeof t)return!1;try{return s.call(t),!0}catch(t){}return!1}(e))return J("WeakRef");if(function(t){return!("[object Number]"!==$(t)||R&&"object"==typeof t&&R in t)}(e))return Q(q(Number(e)));if(function(t){if(!t||"object"!=typeof t||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}(e))return Q(q(x.call(e)));if(function(t){return!("[object Boolean]"!==$(t)||R&&"object"==typeof t&&R in t)}(e))return Q(d.call(e));if(function(t){return!("[object String]"!==$(t)||R&&"object"==typeof t&&R in t)}(e))return Q(q(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&e===globalThis||void 0!==r&&e===r)return"{ [object globalThis] }";if(!function(t){return!("[object Date]"!==$(t)||R&&"object"==typeof t&&R in t)}(e)&&!L(e)){var ct=Z(e,q),ft=N?N(e)===Object.prototype:e instanceof Object||e.constructor===Object,ut=e instanceof Object?"":"null prototype",yt=!ft&&R&&Object(e)===e&&R in e?m.call($(e),8,-1):ut?"Object":"",st=(ft||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(yt||ut?"["+O.call(j.call([],yt||[],ut||[]),": ")+"] ":"");return 0===ct.length?st+"{}":T?st+"{"+Y(ct,T)+"}":st+"{ "+O.call(ct,", ")+" }"}return String(e)};var q=Object.prototype.hasOwnProperty||function(t){return t in this};function G(t,e){return q.call(t,e)}function $(t){return b.call(t)}function H(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,o=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return V(m.call(t,0,e.maxStringLength),e)+o}return B(v.call(v.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,z),"single",e)}function z(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":"")+w.call(e.toString(16))}function Q(t){return"Object("+t+")"}function J(t){return t+" { ? }"}function X(t,e,r,o){return t+" ("+e+") {"+(o?Y(r,o):O.call(r,", "))+"}"}function Y(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+O.call(t,","+r)+"\n"+e.prev}function Z(t,e){var r=C(t),o=[];if(r){o.length=t.length;for(var n=0;n