12345678 |
- /**
- * Minified by jsDelivr using Terser v5.3.5.
- * Original file: /npm/qs@6.10.1/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,n){function o(a,p){if(!r[a]){if(!e[a]){var c="function"==typeof require&&require;if(!p&&c)return c(a,!0);if(i)return i(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var f=r[a]={exports:{}};e[a][0].call(f.exports,(function(t){return o(e[a][1][t]||t)}),f,f.exports,t,e,r,n)}return r[a].exports}for(var i="function"==typeof require&&require,a=0;a<n.length;a++)o(n[a]);return o}({1:[function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g,i="RFC1738",a="RFC3986";e.exports={default:a,formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return String(t)}},RFC1738:i,RFC3986:a}},{}],2:[function(t,e,r){"use strict";var n=t("./stringify"),o=t("./parse"),i=t("./formats");e.exports={formats:i,parse:o,stringify:n}},{"./formats":1,"./parse":3,"./stringify":4}],3:[function(t,e,r){"use strict";var n=t("./utils"),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},p=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var i=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,p=r.depth>0&&/(\[[^[\]]*])/.exec(i),u=p?i.slice(0,p.index):i,f=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;f.push(u)}for(var l=0;r.depth>0&&null!==(p=a.exec(i))&&l<r.depth;){if(l+=1,!r.plainObjects&&o.call(Object.prototype,p[1].slice(1,-1))&&!r.allowPrototypes)return;f.push(p[1])}return p&&f.push("["+i.slice(p.index)+"]"),function(t,e,r,n){for(var o=n?e:c(e,r),i=t.length-1;i>=0;--i){var a,p=t[i];if("[]"===p&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===p.charAt(0)&&"]"===p.charAt(p.length-1)?p.slice(1,-1):p,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&p!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(a=[])[f]=o:a[u]=o:a={0:o}}o=a}return o}(f,e,r,n)}};e.exports=function(t,e){var r=function(t){if(!t)return a;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;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,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,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,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,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,u={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,y=f.split(e.delimiter,l),s=-1,d=e.charset;if(e.charsetSentinel)for(r=0;r<y.length;++r)0===y[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===y[r]?d="utf-8":"utf8=%26%2310003%3B"===y[r]&&(d="iso-8859-1"),s=r,r=y.length);for(r=0;r<y.length;++r)if(r!==s){var g,b,h=y[r],m=h.indexOf("]="),v=-1===m?h.indexOf("="):m+1;-1===v?(g=e.decoder(h,a.decoder,d,"key"),b=e.strictNullHandling?null:""):(g=e.decoder(h.slice(0,v),a.decoder,d,"key"),b=n.maybeMap(c(h.slice(v+1),e),(function(t){return e.decoder(t,a.decoder,d,"value")}))),b&&e.interpretNumericEntities&&"iso-8859-1"===d&&(b=p(b)),h.indexOf("[]=")>-1&&(b=i(b)?[b]:b),o.call(u,g)?u[g]=n.combine(u[g],b):u[g]=b}return u}(t,r):t,l=r.plainObjects?Object.create(null):{},y=Object.keys(f),s=0;s<y.length;++s){var d=y[s],g=u(d,f[d],r,"string"==typeof t);l=n.merge(l,g,r)}return!0===r.allowSparse?l:n.compact(l)}},{"./utils":5}],4:[function(t,e,r){"use strict";var n=t("side-channel"),o=t("./utils"),i=t("./formats"),a=Object.prototype.hasOwnProperty,p={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},c=Array.isArray,u=Array.prototype.push,f=function(t,e){u.apply(t,c(e)?e:[e])},l=Date.prototype.toISOString,y=i.default,s={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:y,formatter:i.formatters[y],indices:!1,serializeDate:function(t){return l.call(t)},skipNulls:!1,strictNullHandling:!1},d=function t(e,r,n,i,a,p,u,l,y,d,g,b,h,m,v){var S,j=e;if(v.has(e))throw new RangeError("Cyclic object value");if("function"==typeof u?j=u(r,j):j instanceof Date?j=d(j):"comma"===n&&c(j)&&(j=o.maybeMap(j,(function(t){return t instanceof Date?d(t):t}))),null===j){if(i)return p&&!h?p(r,s.encoder,m,"key",g):r;j=""}if("string"==typeof(S=j)||"number"==typeof S||"boolean"==typeof S||"symbol"==typeof S||"bigint"==typeof S||o.isBuffer(j))return p?[b(h?r:p(r,s.encoder,m,"key",g))+"="+b(p(j,s.encoder,m,"value",g))]:[b(r)+"="+b(String(j))];var A,O=[];if(void 0===j)return O;if("comma"===n&&c(j))A=[{value:j.length>0?j.join(",")||null:void 0}];else if(c(u))A=u;else{var w=Object.keys(j);A=l?w.sort(l):w}for(var P=0;P<A.length;++P){var x=A[P],E="object"==typeof x&&void 0!==x.value?x.value:j[x];if(!a||null!==E){var F=c(j)?"function"==typeof n?n(r,x):r:r+(y?"."+x:"["+x+"]");v.set(e,!0),f(O,t(E,F,n,i,a,p,u,l,y,d,g,b,h,m,v))}}return O};e.exports=function(t,e){var r,o=t,u=function(t){if(!t)return s;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||s.charset;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 r=i.default;if(void 0!==t.format){if(!a.call(i.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=i.formatters[r],o=s.filter;return("function"==typeof t.filter||c(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:s.addQueryPrefix,allowDots:void 0===t.allowDots?s.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,delimiter:void 0===t.delimiter?s.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:s.encode,encoder:"function"==typeof t.encoder?t.encoder:s.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:s.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:s.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:s.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}}(e);"function"==typeof u.filter?o=(0,u.filter)("",o):c(u.filter)&&(r=u.filter);var l,y=[];if("object"!=typeof o||null===o)return"";l=e&&e.arrayFormat in p?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var g=p[l];r||(r=Object.keys(o)),u.sort&&r.sort(u.sort);for(var b=n(),h=0;h<r.length;++h){var m=r[h];u.skipNulls&&null===o[m]||f(y,d(o[m],m,g,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,b))}var v=y.join(u.delimiter),S=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?S+="utf8=%26%2310003%3B&":S+="utf8=%E2%9C%93&"),v.length>0?S+v:""}},{"./formats":1,"./utils":5,"side-channel":16}],5:[function(t,e,r){"use strict";var n=t("./formats"),o=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}(),p=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r};e.exports={arrayToObject:p,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],a=o.obj[o.prop],p=Object.keys(a),c=0;c<p.length;++c){var u=p[c],f=a[u];"object"==typeof f&&null!==f&&-1===r.indexOf(f)&&(e.push({obj:a,prop:u}),r.push(f))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,o,i){if(0===t.length)return t;var p=t;if("symbol"==typeof t?p=Symbol.prototype.toString.call(t):"string"!=typeof t&&(p=String(t)),"iso-8859-1"===r)return escape(p).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var c="",u=0;u<p.length;++u){var f=p.charCodeAt(u);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===n.RFC1738&&(40===f||41===f)?c+=p.charAt(u):f<128?c+=a[f]:f<2048?c+=a[192|f>>6]+a[128|63&f]:f<55296||f>=57344?c+=a[224|f>>12]+a[128|f>>6&63]+a[128|63&f]:(u+=1,f=65536+((1023&f)<<10|1023&p.charCodeAt(u)),c+=a[240|f>>18]+a[128|f>>12&63]+a[128|f>>6&63]+a[128|63&f])}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=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!=typeof r){if(i(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var a=e;return i(e)&&!i(r)&&(a=p(e,n)),i(e)&&i(r)?(r.forEach((function(r,i){if(o.call(e,i)){var a=e[i];a&&"object"==typeof a&&r&&"object"==typeof r?e[i]=t(a,r,n):e.push(r)}else e[i]=r})),e):Object.keys(r).reduce((function(e,i){var a=r[i];return o.call(e,i)?e[i]=t(e[i],a,n):e[i]=a,e}),a)}}},{"./formats":1}],6:[function(t,e,r){},{}],7:[function(t,e,r){"use strict";var n=t("get-intrinsic"),o=t("./"),i=o(n("String.prototype.indexOf"));e.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&i(t,".prototype.")>-1?o(r):r}},{"./":8,"get-intrinsic":11}],8:[function(t,e,r){"use strict";var n=t("function-bind"),o=t("get-intrinsic"),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),p=o("%Reflect.apply%",!0)||n.call(a,i),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),f=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}e.exports=function(t){var e=p(n,a,arguments);if(c&&u){var r=c(e,"length");r.configurable&&u(e,"length",{value:1+f(0,t.length-(arguments.length-1))})}return e};var l=function(){return p(n,i,arguments)};u?u(e.exports,"apply",{value:l}):e.exports.apply=l},{"function-bind":10,"get-intrinsic":11}],9:[function(t,e,r){"use strict";var n="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,i=Object.prototype.toString,a="[object Function]";e.exports=function(t){var e=this;if("function"!=typeof e||i.call(e)!==a)throw new TypeError(n+e);for(var r,p=o.call(arguments,1),c=function(){if(this instanceof r){var n=e.apply(this,p.concat(o.call(arguments)));return Object(n)===n?n:this}return e.apply(t,p.concat(o.call(arguments)))},u=Math.max(0,e.length-p.length),f=[],l=0;l<u;l++)f.push("$"+l);if(r=Function("binder","return function ("+f.join(",")+"){ return binder.apply(this,arguments); }")(c),e.prototype){var y=function(){};y.prototype=e.prototype,r.prototype=new y,y.prototype=null}return r}},{}],10:[function(t,e,r){"use strict";var n=t("./implementation");e.exports=Function.prototype.bind||n},{"./implementation":9}],11:[function(t,e,r){"use strict";var n,o=SyntaxError,i=Function,a=TypeError,p=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(t){c=null}var u=function(){throw new a},f=c?function(){try{return u}catch(t){try{return c(arguments,"callee").get}catch(t){return u}}}():u,l=t("has-symbols")(),y=Object.getPrototypeOf||function(t){return t.__proto__},s={},d="undefined"==typeof Uint8Array?n:y(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":l?y([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":s,"%AsyncGenerator%":s,"%AsyncGeneratorFunction%":s,"%AsyncIteratorPrototype%":s,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":s,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?y(y([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&l?y((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&l?y((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l?y(""[Symbol.iterator]()):n,"%Symbol%":l?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":f,"%TypedArray%":d,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},b=function t(e){var r;if("%AsyncFunction%"===e)r=p("async function () {}");else if("%GeneratorFunction%"===e)r=p("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=p("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=y(o.prototype))}return g[e]=r,r},h={"%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"]},m=t("function-bind"),v=t("has"),S=m.call(Function.call,Array.prototype.concat),j=m.call(Function.apply,Array.prototype.splice),A=m.call(Function.call,String.prototype.replace),O=m.call(Function.call,String.prototype.slice),w=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,x=function(t){var e=O(t,0,1),r=O(t,-1);if("%"===e&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return A(t,w,(function(t,e,r,o){n[n.length]=r?A(o,P,"$1"):e||t})),n},E=function(t,e){var r,n=t;if(v(h,n)&&(n="%"+(r=h[n])[0]+"%"),v(g,n)){var i=g[n];if(i===s&&(i=b(n)),void 0===i&&!e)throw new a("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+t+" does not exist!")};e.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new a('"allowMissing" argument must be a boolean');var r=x(t),n=r.length>0?r[0]:"",i=E("%"+n+"%",e),p=i.name,u=i.value,f=!1,l=i.alias;l&&(n=l[0],j(r,S([0,1],l)));for(var y=1,s=!0;y<r.length;y+=1){var d=r[y],b=O(d,0,1),h=O(d,-1);if(('"'===b||"'"===b||"`"===b||'"'===h||"'"===h||"`"===h)&&b!==h)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&s||(f=!0),v(g,p="%"+(n+="."+d)+"%"))u=g[p];else if(null!=u){if(!(d in u)){if(!e)throw new a("base intrinsic for "+t+" exists, but the property is not available.");return}if(c&&y+1>=r.length){var m=c(u,d);u=(s=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:u[d]}else s=v(u,d),u=u[d];s&&!f&&(g[p]=u)}}return u}},{"function-bind":10,has:14,"has-symbols":12}],12:[function(t,e,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=t("./shams");e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},{"./shams":13}],13:[function(t,e,r){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},{}],14:[function(t,e,r){"use strict";var n=t("function-bind");e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":10}],15:[function(t,e,r){var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"==typeof o.get?o.get:null,a=n&&Map.prototype.forEach,p="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&p?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=p&&c&&"function"==typeof c.get?c.get:null,f=p&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,y="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,s=Boolean.prototype.valueOf,d=Object.prototype.toString,g=Function.prototype.toString,b=String.prototype.match,h="function"==typeof BigInt?BigInt.prototype.valueOf:null,m=Object.getOwnPropertySymbols,v="function"==typeof Symbol?Symbol.prototype.toString:null,S=Object.prototype.propertyIsEnumerable,j=t("./util.inspect").custom,A=j&&x(j)?j:null;function O(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function w(t){return String(t).replace(/"/g,""")}function P(t){return"[object Array]"===I(t)}function x(t){return"[object Symbol]"===I(t)}e.exports=function t(e,r,n,o){var p=r||{};if(F(p,"quoteStyle")&&"single"!==p.quoteStyle&&"double"!==p.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(F(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 c=!F(p,"customInspect")||p.customInspect;if("boolean"!=typeof c)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(F(p,"indent")&&null!==p.indent&&"\t"!==p.indent&&!(parseInt(p.indent,10)===p.indent&&p.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return k(e,p);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var d=void 0===p.depth?5:p.depth;if(void 0===n&&(n=0),n>=d&&d>0&&"object"==typeof e)return P(e)?"[Array]":"[Object]";var m=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Array(t.indent+1).join(" ")}return{base:r,prev:Array(e+1).join(r)}}(p,n);if(void 0===o)o=[];else if(N(o,e)>=0)return"[Circular]";function S(e,r,i){if(r&&(o=o.slice()).push(r),i){var a={depth:p.depth};return F(p,"quoteStyle")&&(a.quoteStyle=p.quoteStyle),t(e,a,n+1,o)}return t(e,p,n+1,o)}if("function"==typeof e){var j=function(t){if(t.name)return t.name;var e=b.call(g.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),E=C(e,S);return"[Function"+(j?": "+j:" (anonymous)")+"]"+(E.length>0?" { "+E.join(", ")+" }":"")}if(x(e)){var R=v.call(e);return"object"==typeof e?M(R):R}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 L="<"+String(e.nodeName).toLowerCase(),W=e.attributes||[],T=0;T<W.length;T++)L+=" "+W[T].name+"="+O(w(W[T].value),"double",p);return L+=">",e.childNodes&&e.childNodes.length&&(L+="..."),L+="</"+String(e.nodeName).toLowerCase()+">"}if(P(e)){if(0===e.length)return"[]";var G=C(e,S);return m&&!function(t){for(var e=0;e<t.length;e++)if(N(t[e],"\n")>=0)return!1;return!0}(G)?"["+B(G,m)+"]":"[ "+G.join(", ")+" ]"}if(function(t){return"[object Error]"===I(t)}(e)){var _=C(e,S);return 0===_.length?"["+String(e)+"]":"{ ["+String(e)+"] "+_.join(", ")+" }"}if("object"==typeof e&&c){if(A&&"function"==typeof e[A])return e[A]();if("function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!=typeof t)return!1;try{i.call(t);try{u.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var q=[];return a.call(e,(function(t,r){q.push(S(r,e,!0)+" => "+S(t,e))})),U("Map",i.call(e),q,m)}if(function(t){if(!u||!t||"object"!=typeof t)return!1;try{u.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var H=[];return f.call(e,(function(t){H.push(S(t,e))})),U("Set",u.call(e),H,m)}if(function(t){if(!l||!t||"object"!=typeof t)return!1;try{l.call(t,l);try{y.call(t,y)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return D("WeakMap");if(function(t){if(!y||!t||"object"!=typeof t)return!1;try{y.call(t,y);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return D("WeakSet");if(function(t){return"[object Number]"===I(t)}(e))return M(S(Number(e)));if(function(t){return"[object BigInt]"===I(t)}(e))return M(S(h.call(e)));if(function(t){return"[object Boolean]"===I(t)}(e))return M(s.call(e));if(function(t){return"[object String]"===I(t)}(e))return M(S(String(e)));if(!function(t){return"[object Date]"===I(t)}(e)&&!function(t){return"[object RegExp]"===I(t)}(e)){var V=C(e,S);return 0===V.length?"{}":m?"{"+B(V,m)+"}":"{ "+V.join(", ")+" }"}return String(e)};var E=Object.prototype.hasOwnProperty||function(t){return t in this};function F(t,e){return E.call(t,e)}function I(t){return d.call(t)}function N(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function k(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return k(t.slice(0,e.maxStringLength),e)+n}return O(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,R),"single",e)}function R(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":"")+e.toString(16).toUpperCase()}function M(t){return"Object("+t+")"}function D(t){return t+" { ? }"}function U(t,e,r,n){return t+" ("+e+") {"+(n?B(r,n):r.join(", "))+"}"}function B(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+t.join(","+r)+"\n"+e.prev}function C(t,e){var r=P(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=F(t,o)?e(t[o],t):""}for(var i in t)F(t,i)&&(r&&String(Number(i))===i&&i<t.length||(/[^\w$]/.test(i)?n.push(e(i,t)+": "+e(t[i],t)):n.push(i+": "+e(t[i],t))));if("function"==typeof m)for(var a=m(t),p=0;p<a.length;p++)S.call(t,a[p])&&n.push("["+e(a[p])+"]: "+e(t[a[p]],t));return n}},{"./util.inspect":6}],16:[function(t,e,r){"use strict";var n=t("get-intrinsic"),o=t("call-bind/callBound"),i=t("object-inspect"),a=n("%TypeError%"),p=n("%WeakMap%",!0),c=n("%Map%",!0),u=o("WeakMap.prototype.get",!0),f=o("WeakMap.prototype.set",!0),l=o("WeakMap.prototype.has",!0),y=o("Map.prototype.get",!0),s=o("Map.prototype.set",!0),d=o("Map.prototype.has",!0),g=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};e.exports=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new a("Side channel does not contain "+i(t))},get:function(n){if(p&&n&&("object"==typeof n||"function"==typeof n)){if(t)return u(t,n)}else if(c){if(e)return y(e,n)}else if(r)return function(t,e){var r=g(t,e);return r&&r.value}(r,n)},has:function(n){if(p&&n&&("object"==typeof n||"function"==typeof n)){if(t)return l(t,n)}else if(c){if(e)return d(e,n)}else if(r)return function(t,e){return!!g(t,e)}(r,n);return!1},set:function(n,o){p&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new p),f(t,n,o)):c?(e||(e=new c),s(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=g(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n}},{"call-bind/callBound":7,"get-intrinsic":11,"object-inspect":15}]},{},[2])(2)}));
- //# sourceMappingURL=/sm/d7c2b19f0d1f52f133d72d119fb52c720b795b6997ca767a194313d4842014ab.map
|