/** * 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-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=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-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;s0?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;P0?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;n1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o=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-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;l1&&"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){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"}if(P(e)){if(0===e.length)return"[]";var G=C(e,S);return m&&!function(t){for(var e=0;e=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;re.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