superagent 7.1.0 → 7.1.3

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.
@@ -1892,7 +1892,7 @@ var parseObject = function parseObject(chain, val, options, valuesParsed) {
1892
1892
  } else if (!isNaN(index) && root !== cleanRoot && String(index) === cleanRoot && index >= 0 && options.parseArrays && index <= options.arrayLimit) {
1893
1893
  obj = [];
1894
1894
  obj[index] = leaf;
1895
- } else {
1895
+ } else if (cleanRoot !== '__proto__') {
1896
1896
  obj[cleanRoot] = leaf;
1897
1897
  }
1898
1898
  }
@@ -2069,7 +2069,7 @@ var stringify = function stringify(object, prefix, generateArrayPrefix, strictNu
2069
2069
  var step = 0;
2070
2070
  var findFlag = false;
2071
2071
 
2072
- while ((tmpSc = tmpSc.get(sentinel)) !== undefined && !findFlag) {
2072
+ while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {
2073
2073
  var pos = tmpSc.get(object);
2074
2074
  step += 1;
2075
2075
 
@@ -2139,7 +2139,7 @@ var stringify = function stringify(object, prefix, generateArrayPrefix, strictNu
2139
2139
 
2140
2140
  if (generateArrayPrefix === 'comma' && isArray(obj)) {
2141
2141
  objKeys = [{
2142
- value: obj.length > 0 ? obj.join(',') || null : undefined
2142
+ value: obj.length > 0 ? obj.join(',') || null : void undefined
2143
2143
  }];
2144
2144
  } else if (isArray(filter)) {
2145
2145
  objKeys = filter;
@@ -2150,7 +2150,7 @@ var stringify = function stringify(object, prefix, generateArrayPrefix, strictNu
2150
2150
 
2151
2151
  for (var j = 0; j < objKeys.length; ++j) {
2152
2152
  var key = objKeys[j];
2153
- var value = _typeof(key) === 'object' && key.value !== undefined ? key.value : obj[key];
2153
+ var value = _typeof(key) === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];
2154
2154
 
2155
2155
  if (skipNulls && value === null) {
2156
2156
  continue;
@@ -2171,7 +2171,7 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
2171
2171
  return defaults;
2172
2172
  }
2173
2173
 
2174
- if (opts.encoder !== null && opts.encoder !== undefined && typeof opts.encoder !== 'function') {
2174
+ if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
2175
2175
  throw new TypeError('Encoder has to be a function.');
2176
2176
  }
2177
2177
 
@@ -2992,10 +2992,10 @@ function Request(method, url) {
2992
2992
 
2993
2993
  try {
2994
2994
  res = new Response(self);
2995
- } catch (error_) {
2995
+ } catch (err) {
2996
2996
  error = new Error('Parser is unable to parse the response');
2997
2997
  error.parse = true;
2998
- error.original = error_;
2998
+ error.original = err;
2999
2999
 
3000
3000
  if (self.xhr) {
3001
3001
  error.rawResponse = typeof self.xhr.responseType === 'undefined' ? self.xhr.responseText : self.xhr.response;
@@ -3058,14 +3058,13 @@ Request.prototype.auth = function (user, pass, options) {
3058
3058
  };
3059
3059
  }
3060
3060
 
3061
- var encoder = function encoder(string) {
3061
+ var encoder = options.encoder ? options.encoder : function (string) {
3062
3062
  if (typeof btoa === 'function') {
3063
3063
  return btoa(string);
3064
3064
  }
3065
3065
 
3066
3066
  throw new Error('Cannot use basic auth, btoa is not a function');
3067
3067
  };
3068
-
3069
3068
  return this._auth(user, pass, options, encoder);
3070
3069
  };
3071
3070
 
@@ -3477,8 +3476,8 @@ RequestBase.prototype._shouldRetry = function (error, res) {
3477
3476
 
3478
3477
  if (override === true) return true;
3479
3478
  if (override === false) return false;
3480
- } catch (error_) {
3481
- console.error(error_);
3479
+ } catch (err) {
3480
+ console.error(err);
3482
3481
  }
3483
3482
  }
3484
3483
 
@@ -3544,8 +3543,8 @@ RequestBase.prototype.then = function (resolve, reject) {
3544
3543
  return this._fullfilledPromise.then(resolve, reject);
3545
3544
  };
3546
3545
 
3547
- RequestBase.prototype.catch = function (cb) {
3548
- return this.then(undefined, cb);
3546
+ RequestBase.prototype.catch = function (callback) {
3547
+ return this.then(undefined, callback);
3549
3548
  };
3550
3549
 
3551
3550
  RequestBase.prototype.use = function (fn) {
@@ -3553,9 +3552,9 @@ RequestBase.prototype.use = function (fn) {
3553
3552
  return this;
3554
3553
  };
3555
3554
 
3556
- RequestBase.prototype.ok = function (cb) {
3557
- if (typeof cb !== 'function') throw new Error('Callback required');
3558
- this._okCallback = cb;
3555
+ RequestBase.prototype.ok = function (callback) {
3556
+ if (typeof callback !== 'function') throw new Error('Callback required');
3557
+ this._okCallback = callback;
3559
3558
  return this;
3560
3559
  };
3561
3560
 
@@ -1 +1 @@
1
- !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).superagent=t()}}((function(){var t={exports:{}};function e(t){if(t)return function(t){for(var r in e.prototype)t[r]=e.prototype[r];return t}(t)}t.exports=e,e.prototype.on=e.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},e.prototype.once=function(t,e){function r(){this.off(t,r),e.apply(this,arguments)}return r.fn=e,this.on(t,r),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,o=this._callbacks["$"+t];if(!o)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var n=0;n<o.length;n++)if((r=o[n])===e||r.fn===e){o.splice(n,1);break}return 0===o.length&&delete this._callbacks["$"+t],this},e.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),r=this._callbacks["$"+t],o=1;o<arguments.length;o++)e[o-1]=arguments[o];if(r){o=0;for(var n=(r=r.slice(0)).length;o<n;++o)r[o].apply(this,e)}return this},e.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},e.prototype.hasListeners=function(t){return!!this.listeners(t).length},t=t.exports;var r;function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}r=u,u.default=u,u.stable=l,u.stableStringify=l;var n=[],i=[];function a(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function u(t,e,r,u){var c;void 0===u&&(u=a()),function t(e,r,n,i,a,u,c){var l;if(u+=1,"object"==o(e)&&null!==e){for(l=0;l<i.length;l++)if(i[l]===e)return void s("[Circular]",e,r,a);if(void 0!==c.depthLimit&&u>c.depthLimit)return void s("[...]",e,r,a);if(void 0!==c.edgesLimit&&n+1>c.edgesLimit)return void s("[...]",e,r,a);if(i.push(e),Array.isArray(e))for(l=0;l<e.length;l++)t(e[l],l,l,i,e,u,c);else{var p=Object.keys(e);for(l=0;l<p.length;l++){var f=p[l];t(e[f],f,l,i,e,u,c)}}i.pop()}}(t,"",0,[],void 0,0,u);try{c=0===i.length?JSON.stringify(t,e,r):JSON.stringify(t,p(e),r)}catch(f){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var l=n.pop();4===l.length?Object.defineProperty(l[0],l[1],l[3]):l[0][l[1]]=l[2]}}return c}function s(t,e,r,o){var a=Object.getOwnPropertyDescriptor(o,r);void 0!==a.get?a.configurable?(Object.defineProperty(o,r,{value:t}),n.push([o,r,e,a])):i.push([e,r,t]):(o[r]=t,n.push([o,r,e]))}function c(t,e){return t<e?-1:t>e?1:0}function l(t,e,r,u){void 0===u&&(u=a());var l,f=function t(e,r,i,a,u,l,p){var f;if(l+=1,"object"==o(e)&&null!==e){for(f=0;f<a.length;f++)if(a[f]===e)return void s("[Circular]",e,r,u);try{if("function"==typeof e.toJSON)return}catch(m){return}if(void 0!==p.depthLimit&&l>p.depthLimit)return void s("[...]",e,r,u);if(void 0!==p.edgesLimit&&i+1>p.edgesLimit)return void s("[...]",e,r,u);if(a.push(e),Array.isArray(e))for(f=0;f<e.length;f++)t(e[f],f,f,a,e,l,p);else{var y={},h=Object.keys(e).sort(c);for(f=0;f<h.length;f++){var d=h[f];t(e[d],d,f,a,e,l,p),y[d]=e[d]}if(void 0===u)return y;n.push([u,r,e]),u[r]=y}a.pop()}}(t,"",0,[],void 0,0,u)||t;try{l=0===i.length?JSON.stringify(f,e,r):JSON.stringify(f,p(e),r)}catch(h){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var y=n.pop();4===y.length?Object.defineProperty(y[0],y[1],y[3]):y[0][y[1]]=y[2]}}return l}function p(t){return t=void 0!==t?t:function(t,e){return e},function(e,r){if(i.length>0)for(var o=0;o<i.length;o++){var n=i[o];if(n[1]===e&&n[0]===r){r=n[2],i.splice(o,1);break}}return t.call(this,e,r)}}function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var h="undefined"!=typeof Symbol&&Symbol,d=Array.prototype.slice,m=Object.prototype.toString,b=Function.prototype.bind||function(t){var e=this;if("function"!=typeof e||"[object Function]"!==m.call(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var r,o=d.call(arguments,1),n=Math.max(0,e.length-o.length),i=[],a=0;a<n;a++)i.push("$"+a);if(r=Function("binder","return function ("+i.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var n=e.apply(this,o.concat(d.call(arguments)));return Object(n)===n?n:this}return e.apply(t,o.concat(d.call(arguments)))})),e.prototype){var u=function(){};u.prototype=e.prototype,r.prototype=new u,u.prototype=null}return r},v=b.call(Function.call,Object.prototype.hasOwnProperty);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var S=SyntaxError,w=Function,_=TypeError,A=function(t){try{return w('"use strict"; return ('+t+").constructor;")()}catch(e){}},O=Object.getOwnPropertyDescriptor;if(O)try{O({},"")}catch(Ar){O=null}var j,E=function(){throw new _},T=O?function(){try{return E}catch(t){try{return O(arguments,"callee").get}catch(e){return E}}}():E,P="function"==typeof h&&"function"==typeof Symbol&&"symbol"==y(h("foo"))&&"symbol"==y(Symbol("bar"))&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==f(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 o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var n=Object.getOwnPropertyDescriptor(t,e);if(42!==n.value||!0!==n.enumerable)return!1}return!0}(),x=Object.getPrototypeOf||function(t){return t.__proto__},k={},R="undefined"==typeof Uint8Array?void 0:x(Uint8Array),I={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":P?x([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":k,"%AsyncGenerator%":k,"%AsyncGeneratorFunction%":k,"%AsyncIteratorPrototype%":k,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":w,"%GeneratorFunction%":k,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P?x(x([][Symbol.iterator]())):void 0,"%JSON%":"object"==("undefined"==typeof JSON?"undefined":g(JSON))?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&P?x((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&P?x((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P?x(""[Symbol.iterator]()):void 0,"%Symbol%":P?Symbol:void 0,"%SyntaxError%":S,"%ThrowTypeError%":T,"%TypedArray%":R,"%TypeError%":_,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},C={"%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"]},N=b.call(Function.call,Array.prototype.concat),F=b.call(Function.apply,Array.prototype.splice),D=b.call(Function.call,String.prototype.replace),U=b.call(Function.call,String.prototype.slice),M=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,q=function(t,e){var r,o=t;if(v(C,o)&&(o="%"+(r=C[o])[0]+"%"),v(I,o)){var n=I[o];if(n===k&&(n=function t(e){var r;if("%AsyncFunction%"===e)r=A("async function () {}");else if("%GeneratorFunction%"===e)r=A("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=A("async function* () {}");else if("%AsyncGenerator%"===e){var o=t("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===e){var n=t("%AsyncGenerator%");n&&(r=x(n.prototype))}return I[e]=r,r}(o)),void 0===n&&!e)throw new _("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:o,value:n}}throw new S("intrinsic "+t+" does not exist!")},H=function(t,e){if("string"!=typeof t||0===t.length)throw new _("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new _('"allowMissing" argument must be a boolean');var r=function(t){var e=U(t,0,1),r=U(t,-1);if("%"===e&&"%"!==r)throw new S("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new S("invalid intrinsic syntax, expected opening `%`");var o=[];return D(t,M,(function(t,e,r,n){o[o.length]=r?D(n,L,"$1"):e||t})),o}(t),o=r.length>0?r[0]:"",n=q("%"+o+"%",e),i=n.name,a=n.value,u=!1,s=n.alias;s&&(o=s[0],F(r,N([0,1],s)));for(var c=1,l=!0;c<r.length;c+=1){var p=r[c],f=U(p,0,1),y=U(p,-1);if(('"'===f||"'"===f||"`"===f||'"'===y||"'"===y||"`"===y)&&f!==y)throw new S("property names with quotes must have matching quotes");if("constructor"!==p&&l||(u=!0),v(I,i="%"+(o+="."+p)+"%"))a=I[i];else if(null!=a){if(!(p in a)){if(!e)throw new _("base intrinsic for "+t+" exists, but the property is not available.");return}if(O&&c+1>=r.length){var h=O(a,p);a=(l=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:a[p]}else l=v(a,p),a=a[p];l&&!u&&(I[i]=a)}}return a},B=H("%Function.prototype.apply%"),W=H("%Function.prototype.call%"),z=H("%Reflect.apply%",!0)||b.call(W,B),$=H("%Object.getOwnPropertyDescriptor%",!0),G=H("%Object.defineProperty%",!0),J=H("%Math.max%");if(G)try{G({},"a",{value:1})}catch(Ar){G=null}j=function(t){var e=z(b,W,arguments);return $&&G&&$(e,"length").configurable&&G(e,"length",{value:1+J(0,t.length-(arguments.length-1))}),e};var X=function(){return z(b,B,arguments)};G?G(j,"apply",{value:X}):j.apply=X;var V=j(H("String.prototype.indexOf")),Q=function(t,e){var r=H(t,!!e);return"function"==typeof r&&V(t,".prototype.")>-1?j(r):r},K={};function Y(t){return(Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Z="function"==typeof Map&&Map.prototype,tt=Object.getOwnPropertyDescriptor&&Z?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,et=Z&&tt&&"function"==typeof tt.get?tt.get:null,rt=Z&&Map.prototype.forEach,ot="function"==typeof Set&&Set.prototype,nt=Object.getOwnPropertyDescriptor&&ot?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,it=ot&&nt&&"function"==typeof nt.get?nt.get:null,at=ot&&Set.prototype.forEach,ut="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,st="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,ct="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,lt=Boolean.prototype.valueOf,pt=Object.prototype.toString,ft=Function.prototype.toString,yt=String.prototype.match,ht=String.prototype.slice,dt=String.prototype.replace,mt=String.prototype.toUpperCase,bt=String.prototype.toLowerCase,vt=RegExp.prototype.test,gt=Array.prototype.concat,St=Array.prototype.join,wt=Array.prototype.slice,_t=Math.floor,At="function"==typeof BigInt?BigInt.prototype.valueOf:null,Ot=Object.getOwnPropertySymbols,jt="function"==typeof Symbol&&"symbol"==Y(Symbol.iterator)?Symbol.prototype.toString:null,Et="function"==typeof Symbol&&"object"==Y(Symbol.iterator),Tt="function"==typeof Symbol&&Symbol.toStringTag&&(Y(Symbol.toStringTag),1)?Symbol.toStringTag:null,Pt=Object.prototype.propertyIsEnumerable,xt=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function kt(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||vt.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var o=t<0?-_t(-t):_t(t);if(o!==t){var n=String(o),i=ht.call(e,n.length+1);return dt.call(n,r,"$&_")+"."+dt.call(dt.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return dt.call(e,r,"$&_")}var Rt=K.custom,It=Rt&&Dt(Rt)?Rt:null;function Ct(t,e,r){var o="double"===(r.quoteStyle||e)?'"':"'";return o+t+o}function Nt(t){return dt.call(String(t),/"/g,"&quot;")}function Ft(t){return!("[object Array]"!==Lt(t)||Tt&&"object"==Y(t)&&Tt in t)}function Dt(t){if(Et)return t&&"object"==Y(t)&&t instanceof Symbol;if("symbol"==Y(t))return!0;if(!t||"object"!=Y(t)||!jt)return!1;try{return jt.call(t),!0}catch(Ar){}return!1}var Ut=Object.prototype.hasOwnProperty||function(t){return t in this};function Mt(t,e){return Ut.call(t,e)}function Lt(t){return pt.call(t)}function qt(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,o=t.length;r<o;r++)if(t[r]===e)return r;return-1}function Ht(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":"")+mt.call(e.toString(16))}function Bt(t){return"Object("+t+")"}function Wt(t){return t+" { ? }"}function zt(t,e,r,o){return t+" ("+e+") {"+(o?$t(r,o):St.call(r,", "))+"}"}function $t(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+St.call(t,","+r)+"\n"+e.prev}function Gt(t,e){var r=Ft(t),o=[];if(r){o.length=t.length;for(var n=0;n<t.length;n++)o[n]=Mt(t,n)?e(t[n],t):""}var i,a="function"==typeof Ot?Ot(t):[];if(Et){i={};for(var u=0;u<a.length;u++)i["$"+a[u]]=a[u]}for(var s in t)Mt(t,s)&&(r&&String(Number(s))===s&&s<t.length||Et&&i["$"+s]instanceof Symbol||(vt.call(/[^\w$]/,s)?o.push(e(s,t)+": "+e(t[s],t)):o.push(s+": "+e(t[s],t))));if("function"==typeof Ot)for(var c=0;c<a.length;c++)Pt.call(t,a[c])&&o.push("["+e(a[c])+"]: "+e(t[a[c]],t));return o}function Jt(t){return(Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Xt=H("%TypeError%"),Vt=H("%WeakMap%",!0),Qt=H("%Map%",!0),Kt=Q("WeakMap.prototype.get",!0),Yt=Q("WeakMap.prototype.set",!0),Zt=Q("WeakMap.prototype.has",!0),te=Q("Map.prototype.get",!0),ee=Q("Map.prototype.set",!0),re=Q("Map.prototype.has",!0),oe=function(t,e){for(var r,o=t;null!==(r=o.next);o=r)if(r.key===e)return o.next=r.next,r.next=t.next,t.next=r,r},ne=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new Xt("Side channel does not contain "+function t(e,r,o,n){var i=r||{};if(Mt(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Mt(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!Mt(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Mt(i,"indent")&&null!==i.indent&&"\t"!==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(Mt(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=i.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 function t(e,r){if(e.length>r.maxStringLength){var o=e.length-r.maxStringLength,n="... "+o+" more character"+(o>1?"s":"");return t(ht.call(e,0,r.maxStringLength),r)+n}return Ct(dt.call(dt.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Ht),"single",r)}(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var s=String(e);return u?kt(e,s):s}if("bigint"==typeof e){var c=String(e)+"n";return u?kt(e,c):c}var l=void 0===i.depth?5:i.depth;if(void 0===o&&(o=0),o>=l&&l>0&&"object"==Y(e))return Ft(e)?"[Array]":"[Object]";var p,f=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=St.call(Array(t.indent+1)," ")}return{base:r,prev:St.call(Array(e+1),r)}}(i,o);if(void 0===n)n=[];else if(qt(n,e)>=0)return"[Circular]";function y(e,r,a){if(r&&(n=wt.call(n)).push(r),a){var u={depth:i.depth};return Mt(i,"quoteStyle")&&(u.quoteStyle=i.quoteStyle),t(e,u,o+1,n)}return t(e,i,o+1,n)}if("function"==typeof e){var h=function(t){if(t.name)return t.name;var e=yt.call(ft.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),d=Gt(e,y);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+St.call(d,", ")+" }":"")}if(Dt(e)){var m=Et?dt.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):jt.call(e);return"object"!=Y(e)||Et?m:Bt(m)}if((p=e)&&"object"==Y(p)&&("undefined"!=typeof HTMLElement&&p instanceof HTMLElement||"string"==typeof p.nodeName&&"function"==typeof p.getAttribute)){for(var b="<"+bt.call(String(e.nodeName)),v=e.attributes||[],g=0;g<v.length;g++)b+=" "+v[g].name+"="+Ct(Nt(v[g].value),"double",i);return b+=">",e.childNodes&&e.childNodes.length&&(b+="..."),b+"</"+bt.call(String(e.nodeName))+">"}if(Ft(e)){if(0===e.length)return"[]";var S=Gt(e,y);return f&&!function(t){for(var e=0;e<t.length;e++)if(qt(t[e],"\n")>=0)return!1;return!0}(S)?"["+$t(S,f)+"]":"[ "+St.call(S,", ")+" ]"}if(function(t){return!("[object Error]"!==Lt(t)||Tt&&"object"==Y(t)&&Tt in t)}(e)){var w=Gt(e,y);return"cause"in e&&!Pt.call(e,"cause")?"{ ["+String(e)+"] "+St.call(gt.call("[cause]: "+y(e.cause),w),", ")+" }":0===w.length?"["+String(e)+"]":"{ ["+String(e)+"] "+St.call(w,", ")+" }"}if("object"==Y(e)&&a){if(It&&"function"==typeof e[It])return e[It]();if("symbol"!==a&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!et||!t||"object"!=Y(t))return!1;try{et.call(t);try{it.call(t)}catch(b){return!0}return t instanceof Map}catch(Ar){}return!1}(e)){var _=[];return rt.call(e,(function(t,r){_.push(y(r,e,!0)+" => "+y(t,e))})),zt("Map",et.call(e),_,f)}if(function(t){if(!it||!t||"object"!=Y(t))return!1;try{it.call(t);try{et.call(t)}catch(e){return!0}return t instanceof Set}catch(Ar){}return!1}(e)){var A=[];return at.call(e,(function(t){A.push(y(t,e))})),zt("Set",it.call(e),A,f)}if(function(t){if(!ut||!t||"object"!=Y(t))return!1;try{ut.call(t,ut);try{st.call(t,st)}catch(b){return!0}return t instanceof WeakMap}catch(Ar){}return!1}(e))return Wt("WeakMap");if(function(t){if(!st||!t||"object"!=Y(t))return!1;try{st.call(t,st);try{ut.call(t,ut)}catch(b){return!0}return t instanceof WeakSet}catch(Ar){}return!1}(e))return Wt("WeakSet");if(function(t){if(!ct||!t||"object"!=Y(t))return!1;try{return ct.call(t),!0}catch(Ar){}return!1}(e))return Wt("WeakRef");if(function(t){return!("[object Number]"!==Lt(t)||Tt&&"object"==Y(t)&&Tt in t)}(e))return Bt(y(Number(e)));if(function(t){if(!t||"object"!=Y(t)||!At)return!1;try{return At.call(t),!0}catch(Ar){}return!1}(e))return Bt(y(At.call(e)));if(function(t){return!("[object Boolean]"!==Lt(t)||Tt&&"object"==Y(t)&&Tt in t)}(e))return Bt(lt.call(e));if(function(t){return!("[object String]"!==Lt(t)||Tt&&"object"==Y(t)&&Tt in t)}(e))return Bt(y(String(e)));if(!function(t){return!("[object Date]"!==Lt(t)||Tt&&"object"==Y(t)&&Tt in t)}(e)&&!function(t){return!("[object RegExp]"!==Lt(t)||Tt&&"object"==Y(t)&&Tt in t)}(e)){var O=Gt(e,y),j=xt?xt(e)===Object.prototype:e instanceof Object||e.constructor===Object,E=e instanceof Object?"":"null prototype",T=!j&&Tt&&Object(e)===e&&Tt in e?ht.call(Lt(e),8,-1):E?"Object":"",P=(j||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(T||E?"["+St.call(gt.call([],T||[],E||[]),": ")+"] ":"");return 0===O.length?P+"{}":f?P+"{"+$t(O,f)+"}":P+"{ "+St.call(O,", ")+" }"}return String(e)}(t))},get:function(o){if(Vt&&o&&("object"==Jt(o)||"function"==typeof o)){if(t)return Kt(t,o)}else if(Qt){if(e)return te(e,o)}else if(r)return function(t,e){var r=oe(t,e);return r&&r.value}(r,o)},has:function(o){if(Vt&&o&&("object"==Jt(o)||"function"==typeof o)){if(t)return Zt(t,o)}else if(Qt){if(e)return re(e,o)}else if(r)return function(t,e){return!!oe(t,e)}(r,o);return!1},set:function(o,n){Vt&&o&&("object"==Jt(o)||"function"==typeof o)?(t||(t=new Vt),Yt(t,o,n)):Qt?(e||(e=new Qt),ee(e,o,n)):(r||(r={key:{},next:null}),function(t,e,r){var o=oe(t,e);o?o.value=r:t.next={key:e,next:t.next,value:r}}(r,o,n))}};return o},ie=String.prototype.replace,ae=/%20/g,ue={default:"RFC3986",formatters:{RFC1738:function(t){return ie.call(t,ae,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:"RFC3986"};function se(t){return(se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var ce=Object.prototype.hasOwnProperty,le=Array.isArray,pe=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),fe={combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],o=0;o<e.length;++o)for(var n=e[o],i=n.obj[n.prop],a=Object.keys(i),u=0;u<a.length;++u){var s=a[u],c=i[s];"object"==se(c)&&null!==c&&-1===r.indexOf(c)&&(e.push({obj:i,prop:s}),r.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(le(r)){for(var o=[],n=0;n<r.length;++n)void 0!==r[n]&&o.push(r[n]);e.obj[e.prop]=o}}}(e),t},decode:function(t,e,r){var o=t.replace(/\+/g," ");if("iso-8859-1"===r)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(Ar){return o}},encode:function(t,e,r,o,n){if(0===t.length)return t;var i=t;if("symbol"==se(t)?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var a="",u=0;u<i.length;++u){var s=i.charCodeAt(u);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||n===ue.RFC1738&&(40===s||41===s)?a+=i.charAt(u):s<128?a+=pe[s]:s<2048?a+=pe[192|s>>6]+pe[128|63&s]:s<55296||s>=57344?a+=pe[224|s>>12]+pe[128|s>>6&63]+pe[128|63&s]:(u+=1,s=65536+((1023&s)<<10|1023&i.charCodeAt(u)),a+=pe[240|s>>18]+pe[128|s>>12&63]+pe[128|s>>6&63]+pe[128|63&s])}return a},isBuffer:function(t){return!(!t||"object"!=se(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(le(t)){for(var r=[],o=0;o<t.length;o+=1)r.push(e(t[o]));return r}return e(t)},merge:function t(e,r,o){if(!r)return e;if("object"!=se(r)){if(le(e))e.push(r);else{if(!e||"object"!=se(e))return[e,r];(o&&(o.plainObjects||o.allowPrototypes)||!ce.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=se(e))return[e].concat(r);var n=e;return le(e)&&!le(r)&&(n=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},o=0;o<t.length;++o)void 0!==t[o]&&(r[o]=t[o]);return r}(e,o)),le(e)&&le(r)?(r.forEach((function(r,n){if(ce.call(e,n)){var i=e[n];i&&"object"==se(i)&&r&&"object"==se(r)?e[n]=t(i,r,o):e.push(r)}else e[n]=r})),e):Object.keys(r).reduce((function(e,n){var i=r[n];return ce.call(e,n)?e[n]=t(e[n],i,o):e[n]=i,e}),n)}};function ye(t){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var he=Object.prototype.hasOwnProperty,de={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},me=Array.isArray,be=String.prototype.split,ve=Array.prototype.push,ge=function(t,e){ve.apply(t,me(e)?e:[e])},Se=Date.prototype.toISOString,we=ue.default,_e={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:fe.encode,encodeValuesOnly:!1,format:we,formatter:ue.formatters[we],indices:!1,serializeDate:function(t){return Se.call(t)},skipNulls:!1,strictNullHandling:!1},Ae={},Oe=function t(e,r,o,n,i,a,u,s,c,l,p,f,y,h,d){for(var m,b=e,v=d,g=0,S=!1;void 0!==(v=v.get(Ae))&&!S;){var w=v.get(e);if(g+=1,void 0!==w){if(w===g)throw new RangeError("Cyclic object value");S=!0}void 0===v.get(Ae)&&(g=0)}if("function"==typeof u?b=u(r,b):b instanceof Date?b=l(b):"comma"===o&&me(b)&&(b=fe.maybeMap(b,(function(t){return t instanceof Date?l(t):t}))),null===b){if(n)return a&&!y?a(r,_e.encoder,h,"key",p):r;b=""}if("string"==typeof(m=b)||"number"==typeof m||"boolean"==typeof m||"symbol"==ye(m)||"bigint"==typeof m||fe.isBuffer(b)){if(a){var _=y?r:a(r,_e.encoder,h,"key",p);if("comma"===o&&y){for(var A=be.call(String(b),","),O="",j=0;j<A.length;++j)O+=(0===j?"":",")+f(a(A[j],_e.encoder,h,"value",p));return[f(_)+"="+O]}return[f(_)+"="+f(a(b,_e.encoder,h,"value",p))]}return[f(r)+"="+f(String(b))]}var E,T=[];if(void 0===b)return T;if("comma"===o&&me(b))E=[{value:b.length>0?b.join(",")||null:void 0}];else if(me(u))E=u;else{var P=Object.keys(b);E=s?P.sort(s):P}for(var x=0;x<E.length;++x){var k=E[x],R="object"==ye(k)&&void 0!==k.value?k.value:b[k];if(!i||null!==R){var I=me(b)?"function"==typeof o?o(r,k):r:r+(c?"."+k:"["+k+"]");d.set(e,g);var C=ne();C.set(Ae,d),ge(T,t(R,I,o,n,i,a,u,s,c,l,p,f,y,h,C))}}return T},je=(Object.prototype.hasOwnProperty,Array.isArray,{stringify:function(t,e){var r,o=t,n=function(t){if(!t)return _e;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||_e.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=ue.default;if(void 0!==t.format){if(!he.call(ue.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var o=ue.formatters[r],n=_e.filter;return("function"==typeof t.filter||me(t.filter))&&(n=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:_e.addQueryPrefix,allowDots:void 0===t.allowDots?_e.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:_e.charsetSentinel,delimiter:void 0===t.delimiter?_e.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:_e.encode,encoder:"function"==typeof t.encoder?t.encoder:_e.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:_e.encodeValuesOnly,filter:n,format:r,formatter:o,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:_e.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:_e.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:_e.strictNullHandling}}(e);"function"==typeof n.filter?o=(0,n.filter)("",o):me(n.filter)&&(r=n.filter);var i,a=[];if("object"!=ye(o)||null===o)return"";i=e&&e.arrayFormat in de?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var u=de[i];r||(r=Object.keys(o)),n.sort&&r.sort(n.sort);for(var s=ne(),c=0;c<r.length;++c){var l=r[c];n.skipNulls&&null===o[l]||ge(a,Oe(o[l],l,u,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,s))}var p=a.join(n.delimiter),f=!0===n.addQueryPrefix?"?":"";return n.charsetSentinel&&("iso-8859-1"===n.charset?f+="utf8=%26%2310003%3B&":f+="utf8=%E2%9C%93&"),p.length>0?f+p:""}}),Ee={};function Te(t){return(Te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Pe(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return xe(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return xe(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var o=0,n=function(){};return{s:n,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function xe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}Ee.type=function(t){return t.split(/ *; */).shift()},Ee.params=function(t){var e,r={},o=Pe(t.split(/ *; */));try{for(o.s();!(e=o.n()).done;){var n=e.value.split(/ *= */),i=n.shift(),a=n.shift();i&&a&&(r[i]=a)}}catch(u){o.e(u)}finally{o.f()}return r},Ee.parseLinks=function(t){var e,r={},o=Pe(t.split(/ *, */));try{for(o.s();!(e=o.n()).done;){var n=e.value.split(/ *; */),i=n[0].slice(1,-1);r[n[1].split(/ *= */)[1].slice(1,-1)]=i}}catch(a){o.e(a)}finally{o.f()}return r},Ee.isObject=function(t){return null!==t&&"object"==Te(t)},Ee.hasOwn=Object.hasOwn||function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(new Object(t),e)},Ee.mixin=function(t,e){for(var r in e)Ee.hasOwn(e,r)&&(t[r]=e[r])};var ke,Re,Ie,Ce=ke={};function Ne(){throw new Error("setTimeout has not been defined")}function Fe(){throw new Error("clearTimeout has not been defined")}function De(t){if(Re===setTimeout)return setTimeout(t,0);if((Re===Ne||!Re)&&setTimeout)return Re=setTimeout,setTimeout(t,0);try{return Re(t,0)}catch(Ar){try{return Re.call(null,t,0)}catch(Ar){return Re.call(this,t,0)}}}!function(){try{Re="function"==typeof setTimeout?setTimeout:Ne}catch(Ar){Re=Ne}try{Ie="function"==typeof clearTimeout?clearTimeout:Fe}catch(Ar){Ie=Fe}}();var Ue,Me=[],Le=!1,qe=-1;function He(){Le&&Ue&&(Le=!1,Ue.length?Me=Ue.concat(Me):qe=-1,Me.length&&Be())}function Be(){if(!Le){var t=De(He);Le=!0;for(var e=Me.length;e;){for(Ue=Me,Me=[];++qe<e;)Ue&&Ue[qe].run();qe=-1,e=Me.length}Ue=null,Le=!1,function(t){if(Ie===clearTimeout)return clearTimeout(t);if((Ie===Fe||!Ie)&&clearTimeout)return Ie=clearTimeout,clearTimeout(t);try{Ie(t)}catch(Ar){try{return Ie.call(null,t)}catch(Ar){return Ie.call(this,t)}}}(t)}}function We(t,e){this.fun=t,this.array=e}function ze(){}Ce.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Me.push(new We(t,e)),1!==Me.length||Le||De(Be)},We.prototype.run=function(){this.fun.apply(null,this.array)},Ce.title="browser",Ce.browser=!0,Ce.env={},Ce.argv=[],Ce.version="",Ce.versions={},Ce.on=ze,Ce.addListener=ze,Ce.once=ze,Ce.off=ze,Ce.removeListener=ze,Ce.removeAllListeners=ze,Ce.emit=ze,Ce.prependListener=ze,Ce.prependOnceListener=ze,Ce.listeners=function(t){return[]},Ce.binding=function(t){throw new Error("process.binding is not supported")},Ce.cwd=function(){return"/"},Ce.chdir=function(t){throw new Error("process.chdir is not supported")},Ce.umask=function(){return 0};var $e={};(function(t){(function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=Ee.isObject,o=Ee.hasOwn;function n(){}$e=n,n.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},n.prototype.parse=function(t){return this._parser=t,this},n.prototype.responseType=function(t){return this._responseType=t,this},n.prototype.serialize=function(t){return this._serializer=t,this},n.prototype.timeout=function(t){if(!t||"object"!=e(t))return this._timeout=t,this._responseTimeout=0,this._uploadTimeout=0,this;for(var r in t)if(o(t,r))switch(r){case"deadline":this._timeout=t.deadline;break;case"response":this._responseTimeout=t.response;break;case"upload":this._uploadTimeout=t.upload;break;default:console.warn("Unknown timeout option",r)}return this},n.prototype.retry=function(t,e){return 0!==arguments.length&&!0!==t||(t=1),t<=0&&(t=0),this._maxRetries=t,this._retries=0,this._retryCallback=e,this};var i=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),a=new Set([408,413,429,500,502,503,504,521,522,524]);n.prototype._shouldRetry=function(t,e){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var r=this._retryCallback(t,e);if(!0===r)return!0;if(!1===r)return!1}catch(o){console.error(o)}if(e&&e.status&&a.has(e.status))return!0;if(t){if(t.code&&i.has(t.code))return!0;if(t.timeout&&"ECONNABORTED"===t.code)return!0;if(t.crossDomain)return!0}return!1},n.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},n.prototype.then=function(t,e){var r=this;if(!this._fullfilledPromise){var o=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(t,e){o.on("abort",(function(){if(!(r._maxRetries&&r._maxRetries>r._retries))if(r.timedout&&r.timedoutError)e(r.timedoutError);else{var t=new Error("Aborted");t.code="ABORTED",t.status=r.status,t.method=r.method,t.url=r.url,e(t)}})),o.end((function(r,o){r?e(r):t(o)}))}))}return this._fullfilledPromise.then(t,e)},n.prototype.catch=function(t){return this.then(void 0,t)},n.prototype.use=function(t){return t(this),this},n.prototype.ok=function(t){if("function"!=typeof t)throw new Error("Callback required");return this._okCallback=t,this},n.prototype._isResponseOK=function(t){return!!t&&(this._okCallback?this._okCallback(t):t.status>=200&&t.status<300)},n.prototype.get=function(t){return this._header[t.toLowerCase()]},n.prototype.getHeader=n.prototype.get,n.prototype.set=function(t,e){if(r(t)){for(var n in t)o(t,n)&&this.set(n,t[n]);return this}return this._header[t.toLowerCase()]=e,this.header[t]=e,this},n.prototype.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this},n.prototype.field=function(t,e,n){if(null==t)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(r(t)){for(var i in t)o(t,i)&&this.field(i,t[i]);return this}if(Array.isArray(e)){for(var a in e)o(e,a)&&this.field(t,e[a]);return this}if(null==e)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof e&&(e=String(e)),this._getFormData().append(t,e,n),this},n.prototype.abort=function(){if(this._aborted)return this;if(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req){if(K.gte(t.version,"v13.0.0")&&K.lt(t.version,"v14.0.0"))throw new Error("Superagent does not work in v13 properly with abort() due to Node.js core changes");K.gte(t.version,"v14.0.0")&&(this.req.destroyed=!0),this.req.abort()}return this.clearTimeout(),this.emit("abort"),this},n.prototype._auth=function(t,e,r,o){switch(r.type){case"basic":this.set("Authorization","Basic ".concat(o("".concat(t,":").concat(e))));break;case"auto":this.username=t,this.password=e;break;case"bearer":this.set("Authorization","Bearer ".concat(t))}return this},n.prototype.withCredentials=function(t){return void 0===t&&(t=!0),this._withCredentials=t,this},n.prototype.redirects=function(t){return this._maxRedirects=t,this},n.prototype.maxResponseSize=function(t){if("number"!=typeof t)throw new TypeError("Invalid argument");return this._maxResponseSize=t,this},n.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},n.prototype.send=function(t){var e=r(t),n=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(e&&!this._data)Array.isArray(t)?this._data=[]:this._isHost(t)||(this._data={});else if(t&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(e&&r(this._data))for(var i in t)o(t,i)&&(this._data[i]=t[i]);else"string"==typeof t?(n||this.type("form"),(n=this._header["content-type"])&&(n=n.toLowerCase().trim()),this._data="application/x-www-form-urlencoded"===n?this._data?"".concat(this._data,"&").concat(t):t:(this._data||"")+t):this._data=t;return!e||this._isHost(t)||n||this.type("json"),this},n.prototype.sortQuery=function(t){return this._sort=void 0===t||t,this},n.prototype._finalizeQueryString=function(){var t=this._query.join("&");if(t&&(this.url+=(this.url.includes("?")?"&":"?")+t),this._query.length=0,this._sort){var e=this.url.indexOf("?");if(e>=0){var r=this.url.slice(e+1).split("&");"function"==typeof this._sort?r.sort(this._sort):r.sort(),this.url=this.url.slice(0,e)+"?"+r.join("&")}}},n.prototype._appendQueryString=function(){console.warn("Unsupported")},n.prototype._timeoutError=function(t,e,r){if(!this._aborted){var o=new Error("".concat(t+e,"ms exceeded"));o.timeout=e,o.code="ECONNABORTED",o.errno=r,this.timedout=!0,this.timedoutError=o,this.abort(),this.callback(o)}},n.prototype._setTimeouts=function(){var t=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){t._timeoutError("Timeout of ",t._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){t._timeoutError("Response timeout of ",t._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}}).call(this)}).call(this,ke);var Ge;function Je(){}Ge=Je,Je.prototype.get=function(t){return this.header[t.toLowerCase()]},Je.prototype._setHeaderProperties=function(t){var e=t["content-type"]||"";this.type=Ee.type(e);var r=Ee.params(e);for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(this[o]=r[o]);this.links={};try{t.link&&(this.links=Ee.parseLinks(t.link))}catch(n){}},Je.prototype._setStatusProperties=function(t){var e=Math.trunc(t/100);this.statusCode=t,this.status=this.statusCode,this.statusType=e,this.info=1===e,this.ok=2===e,this.redirect=3===e,this.clientError=4===e,this.serverError=5===e,this.error=(4===e||5===e)&&this.toError(),this.created=201===t,this.accepted=202===t,this.noContent=204===t,this.badRequest=400===t,this.unauthorized=401===t,this.notAcceptable=406===t,this.forbidden=403===t,this.notFound=404===t,this.unprocessableEntity=422===t};var Xe={};function Ve(t){return function(t){if(Array.isArray(t))return Ke(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Qe(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qe(t,e){if(t){if("string"==typeof t)return Ke(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ke(t,e):void 0}}function Ke(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}function Ye(){this._defaults=[]}for(var Ze=function(){var t=er[tr];Ye.prototype[t]=function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return this._defaults.push({fn:t,args:r}),this}},tr=0,er=["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"];tr<er.length;tr++)Ze();Ye.prototype._setDefaults=function(t){var e,r=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Qe(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var o=0,n=function(){};return{s:n,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(this._defaults);try{for(r.s();!(e=r.n()).done;){var o=e.value;t[o.fn].apply(t,Ve(o.args))}}catch(n){r.e(n)}finally{r.f()}},Xe=Ye;var rr,or={};function nr(t){return(nr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ir(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return ar(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ar(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var o=0,n=function(){};return{s:n,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function ar(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}"undefined"!=typeof window?rr=window:"undefined"==typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),rr=void 0):rr=self;var ur=Ee.isObject,sr=Ee.mixin,cr=Ee.hasOwn;function lr(){}var pr=or=or=function(t,e){return"function"==typeof e?new or.Request("GET",t).end(e):1===arguments.length?new or.Request("GET",t):new or.Request(t,e)};or.Request=vr,pr.getXHR=function(){if(rr.XMLHttpRequest&&(!rr.location||"file:"!==rr.location.protocol||!rr.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(r){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(o){}throw new Error("Browser-only version of superagent could not find XHR")};var fr="".trim?function(t){return t.trim()}:function(t){return t.replace(/(^\s*|\s*$)/g,"")};function yr(t){if(!ur(t))return t;var e=[];for(var r in t)cr(t,r)&&hr(e,r,t[r]);return e.join("&")}function hr(t,e,r){if(void 0!==r)if(null!==r)if(Array.isArray(r)){var o,n=ir(r);try{for(n.s();!(o=n.n()).done;){hr(t,e,o.value)}}catch(a){n.e(a)}finally{n.f()}}else if(ur(r))for(var i in r)cr(r,i)&&hr(t,"".concat(e,"[").concat(i,"]"),r[i]);else t.push(encodeURI(e)+"="+encodeURIComponent(r));else t.push(encodeURI(e))}function dr(t){for(var e,r,o={},n=t.split("&"),i=0,a=n.length;i<a;++i)-1===(r=(e=n[i]).indexOf("="))?o[decodeURIComponent(e)]="":o[decodeURIComponent(e.slice(0,r))]=decodeURIComponent(e.slice(r+1));return o}function mr(t){return/[/+]json($|[^-\w])/i.test(t)}function br(t){this.req=t,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var e=this.xhr.status;1223===e&&(e=204),this._setStatusProperties(e),this.headers=function(t){for(var e,r,o,n,i=t.split(/\r?\n/),a={},u=0,s=i.length;u<s;++u)-1!==(e=(r=i[u]).indexOf(":"))&&(o=r.slice(0,e).toLowerCase(),n=fr(r.slice(e+1)),a[o]=n);return a}(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&t._responseType?this.body=this.xhr.response:this.body="HEAD"===this.req.method?null:this._parseBody(this.text?this.text:this.xhr.response)}function vr(t,e){var r=this;this._query=this._query||[],this.method=t,this.url=e,this.header={},this._header={},this.on("end",(function(){var t,e=null,o=null;try{o=new br(r)}catch(n){return(e=new Error("Parser is unable to parse the response")).parse=!0,e.original=n,r.xhr?(e.rawResponse=void 0===r.xhr.responseType?r.xhr.responseText:r.xhr.response,e.status=r.xhr.status?r.xhr.status:null,e.statusCode=e.status):(e.rawResponse=null,e.status=null),r.callback(e)}r.emit("response",o);try{r._isResponseOK(o)||(t=new Error(o.statusText||o.text||"Unsuccessful HTTP response"))}catch(i){t=i}t?(t.original=e,t.response=o,t.status=o.status,r.callback(t,o)):r.callback(null,o)}))}pr.serializeObject=yr,pr.parseString=dr,pr.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},pr.serialize={"application/x-www-form-urlencoded":je.stringify,"application/json":r},pr.parse={"application/x-www-form-urlencoded":dr,"application/json":JSON.parse},sr(br.prototype,Ge.prototype),br.prototype._parseBody=function(t){var e=pr.parse[this.type];return this.req._parser?this.req._parser(this,t):(!e&&mr(this.type)&&(e=pr.parse["application/json"]),e&&t&&(t.length>0||t instanceof Object)?e(t):null)},br.prototype.toError=function(){var t=this.req,e=t.method,r=t.url,o="cannot ".concat(e," ").concat(r," (").concat(this.status,")"),n=new Error(o);return n.status=this.status,n.method=e,n.url=r,n},pr.Response=br,t(vr.prototype),sr(vr.prototype,$e.prototype),vr.prototype.type=function(t){return this.set("Content-Type",pr.types[t]||t),this},vr.prototype.accept=function(t){return this.set("Accept",pr.types[t]||t),this},vr.prototype.auth=function(t,e,r){return 1===arguments.length&&(e=""),"object"==nr(e)&&null!==e&&(r=e,e=""),r||(r={type:"function"==typeof btoa?"basic":"auto"}),this._auth(t,e,r,(function(t){if("function"==typeof btoa)return btoa(t);throw new Error("Cannot use basic auth, btoa is not a function")}))},vr.prototype.query=function(t){return"string"!=typeof t&&(t=yr(t)),t&&this._query.push(t),this},vr.prototype.attach=function(t,e,r){if(e){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(t,e,r||e.name)}return this},vr.prototype._getFormData=function(){return this._formData||(this._formData=new rr.FormData),this._formData},vr.prototype.callback=function(t,e){if(this._shouldRetry(t,e))return this._retry();var r=this._callback;this.clearTimeout(),t&&(this._maxRetries&&(t.retries=this._retries-1),this.emit("error",t)),r(t,e)},vr.prototype.crossDomainError=function(){var t=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");t.crossDomain=!0,t.status=this.status,t.method=this.method,t.url=this.url,this.callback(t)},vr.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},vr.prototype.ca=vr.prototype.agent,vr.prototype.buffer=vr.prototype.ca,vr.prototype.write=function(){throw new Error("Streaming is not supported in browser version of superagent")},vr.prototype.pipe=vr.prototype.write,vr.prototype._isHost=function(t){return t&&"object"==nr(t)&&!Array.isArray(t)&&"[object Object]"!==Object.prototype.toString.call(t)},vr.prototype.end=function(t){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=t||lr,this._finalizeQueryString(),this._end()},vr.prototype._setUploadTimeout=function(){var t=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((function(){t._timeoutError("Upload timeout of ",t._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},vr.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));var t=this;this.xhr=pr.getXHR();var e=this.xhr,r=this._formData||this._data;this._setTimeouts(),e.addEventListener("readystatechange",(function(){var r=e.readyState;if(r>=2&&t._responseTimeoutTimer&&clearTimeout(t._responseTimeoutTimer),4===r){var o;try{o=e.status}catch(n){o=0}if(!o){if(t.timedout||t._aborted)return;return t.crossDomainError()}t.emit("end")}}));var o=function(e,r){r.total>0&&(r.percent=r.loaded/r.total*100,100===r.percent&&clearTimeout(t._uploadTimeoutTimer)),r.direction=e,t.emit("progress",r)};if(this.hasListeners("progress"))try{e.addEventListener("progress",o.bind(null,"download")),e.upload&&e.upload.addEventListener("progress",o.bind(null,"upload"))}catch(u){}e.upload&&this._setUploadTimeout();try{this.username&&this.password?e.open(this.method,this.url,!0,this.username,this.password):e.open(this.method,this.url,!0)}catch(s){return this.callback(s)}if(this._withCredentials&&(e.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof r&&!this._isHost(r)){var n=this._header["content-type"],i=this._serializer||pr.serialize[n?n.split(";")[0]:""];!i&&mr(n)&&(i=pr.serialize["application/json"]),i&&(r=i(r))}for(var a in this.header)null!==this.header[a]&&cr(this.header,a)&&e.setRequestHeader(a,this.header[a]);this._responseType&&(e.responseType=this._responseType),this.emit("request",this),e.send(void 0===r?null:r)},pr.agent=function(){return new Xe};for(var gr=function(){var t=wr[Sr];Xe.prototype[t.toLowerCase()]=function(e,r){var o=new pr.Request(t,e);return this._setDefaults(o),r&&o.end(r),o}},Sr=0,wr=["GET","POST","OPTIONS","PATCH","PUT","DELETE"];Sr<wr.length;Sr++)gr();function _r(t,e,r){var o=pr("DELETE",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o}return Xe.prototype.del=Xe.prototype.delete,pr.get=function(t,e,r){var o=pr("GET",t);return"function"==typeof e&&(r=e,e=null),e&&o.query(e),r&&o.end(r),o},pr.head=function(t,e,r){var o=pr("HEAD",t);return"function"==typeof e&&(r=e,e=null),e&&o.query(e),r&&o.end(r),o},pr.options=function(t,e,r){var o=pr("OPTIONS",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},pr.del=_r,pr.delete=_r,pr.patch=function(t,e,r){var o=pr("PATCH",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},pr.post=function(t,e,r){var o=pr("POST",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},pr.put=function(t,e,r){var o=pr("PUT",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},or}));
1
+ !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).superagent=t()}}((function(){var t={exports:{}};function e(t){if(t)return function(t){for(var r in e.prototype)t[r]=e.prototype[r];return t}(t)}t.exports=e,e.prototype.on=e.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},e.prototype.once=function(t,e){function r(){this.off(t,r),e.apply(this,arguments)}return r.fn=e,this.on(t,r),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,o=this._callbacks["$"+t];if(!o)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var n=0;n<o.length;n++)if((r=o[n])===e||r.fn===e){o.splice(n,1);break}return 0===o.length&&delete this._callbacks["$"+t],this},e.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),r=this._callbacks["$"+t],o=1;o<arguments.length;o++)e[o-1]=arguments[o];if(r){o=0;for(var n=(r=r.slice(0)).length;o<n;++o)r[o].apply(this,e)}return this},e.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},e.prototype.hasListeners=function(t){return!!this.listeners(t).length},t=t.exports;var r;function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}r=u,u.default=u,u.stable=l,u.stableStringify=l;var n=[],i=[];function a(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function u(t,e,r,u){var c;void 0===u&&(u=a()),function t(e,r,n,i,a,u,c){var l;if(u+=1,"object"==o(e)&&null!==e){for(l=0;l<i.length;l++)if(i[l]===e)return void s("[Circular]",e,r,a);if(void 0!==c.depthLimit&&u>c.depthLimit)return void s("[...]",e,r,a);if(void 0!==c.edgesLimit&&n+1>c.edgesLimit)return void s("[...]",e,r,a);if(i.push(e),Array.isArray(e))for(l=0;l<e.length;l++)t(e[l],l,l,i,e,u,c);else{var p=Object.keys(e);for(l=0;l<p.length;l++){var f=p[l];t(e[f],f,l,i,e,u,c)}}i.pop()}}(t,"",0,[],void 0,0,u);try{c=0===i.length?JSON.stringify(t,e,r):JSON.stringify(t,p(e),r)}catch(f){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var l=n.pop();4===l.length?Object.defineProperty(l[0],l[1],l[3]):l[0][l[1]]=l[2]}}return c}function s(t,e,r,o){var a=Object.getOwnPropertyDescriptor(o,r);void 0!==a.get?a.configurable?(Object.defineProperty(o,r,{value:t}),n.push([o,r,e,a])):i.push([e,r,t]):(o[r]=t,n.push([o,r,e]))}function c(t,e){return t<e?-1:t>e?1:0}function l(t,e,r,u){void 0===u&&(u=a());var l,f=function t(e,r,i,a,u,l,p){var f;if(l+=1,"object"==o(e)&&null!==e){for(f=0;f<a.length;f++)if(a[f]===e)return void s("[Circular]",e,r,u);try{if("function"==typeof e.toJSON)return}catch(m){return}if(void 0!==p.depthLimit&&l>p.depthLimit)return void s("[...]",e,r,u);if(void 0!==p.edgesLimit&&i+1>p.edgesLimit)return void s("[...]",e,r,u);if(a.push(e),Array.isArray(e))for(f=0;f<e.length;f++)t(e[f],f,f,a,e,l,p);else{var y={},h=Object.keys(e).sort(c);for(f=0;f<h.length;f++){var d=h[f];t(e[d],d,f,a,e,l,p),y[d]=e[d]}if(void 0===u)return y;n.push([u,r,e]),u[r]=y}a.pop()}}(t,"",0,[],void 0,0,u)||t;try{l=0===i.length?JSON.stringify(f,e,r):JSON.stringify(f,p(e),r)}catch(h){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var y=n.pop();4===y.length?Object.defineProperty(y[0],y[1],y[3]):y[0][y[1]]=y[2]}}return l}function p(t){return t=void 0!==t?t:function(t,e){return e},function(e,r){if(i.length>0)for(var o=0;o<i.length;o++){var n=i[o];if(n[1]===e&&n[0]===r){r=n[2],i.splice(o,1);break}}return t.call(this,e,r)}}function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var h="undefined"!=typeof Symbol&&Symbol,d=Array.prototype.slice,m=Object.prototype.toString,b=Function.prototype.bind||function(t){var e=this;if("function"!=typeof e||"[object Function]"!==m.call(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var r,o=d.call(arguments,1),n=Math.max(0,e.length-o.length),i=[],a=0;a<n;a++)i.push("$"+a);if(r=Function("binder","return function ("+i.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var n=e.apply(this,o.concat(d.call(arguments)));return Object(n)===n?n:this}return e.apply(t,o.concat(d.call(arguments)))})),e.prototype){var u=function(){};u.prototype=e.prototype,r.prototype=new u,u.prototype=null}return r},v=b.call(Function.call,Object.prototype.hasOwnProperty);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var S=SyntaxError,w=Function,_=TypeError,A=function(t){try{return w('"use strict"; return ('+t+").constructor;")()}catch(e){}},O=Object.getOwnPropertyDescriptor;if(O)try{O({},"")}catch(Ar){O=null}var j,E=function(){throw new _},T=O?function(){try{return E}catch(t){try{return O(arguments,"callee").get}catch(e){return E}}}():E,P="function"==typeof h&&"function"==typeof Symbol&&"symbol"==y(h("foo"))&&"symbol"==y(Symbol("bar"))&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==f(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 o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var n=Object.getOwnPropertyDescriptor(t,e);if(42!==n.value||!0!==n.enumerable)return!1}return!0}(),x=Object.getPrototypeOf||function(t){return t.__proto__},k={},R="undefined"==typeof Uint8Array?void 0:x(Uint8Array),I={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":P?x([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":k,"%AsyncGenerator%":k,"%AsyncGeneratorFunction%":k,"%AsyncIteratorPrototype%":k,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":w,"%GeneratorFunction%":k,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P?x(x([][Symbol.iterator]())):void 0,"%JSON%":"object"==("undefined"==typeof JSON?"undefined":g(JSON))?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&P?x((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&P?x((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P?x(""[Symbol.iterator]()):void 0,"%Symbol%":P?Symbol:void 0,"%SyntaxError%":S,"%ThrowTypeError%":T,"%TypedArray%":R,"%TypeError%":_,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},C={"%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"]},N=b.call(Function.call,Array.prototype.concat),F=b.call(Function.apply,Array.prototype.splice),D=b.call(Function.call,String.prototype.replace),U=b.call(Function.call,String.prototype.slice),M=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,q=function(t,e){var r,o=t;if(v(C,o)&&(o="%"+(r=C[o])[0]+"%"),v(I,o)){var n=I[o];if(n===k&&(n=function t(e){var r;if("%AsyncFunction%"===e)r=A("async function () {}");else if("%GeneratorFunction%"===e)r=A("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=A("async function* () {}");else if("%AsyncGenerator%"===e){var o=t("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===e){var n=t("%AsyncGenerator%");n&&(r=x(n.prototype))}return I[e]=r,r}(o)),void 0===n&&!e)throw new _("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:o,value:n}}throw new S("intrinsic "+t+" does not exist!")},H=function(t,e){if("string"!=typeof t||0===t.length)throw new _("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new _('"allowMissing" argument must be a boolean');var r=function(t){var e=U(t,0,1),r=U(t,-1);if("%"===e&&"%"!==r)throw new S("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new S("invalid intrinsic syntax, expected opening `%`");var o=[];return D(t,M,(function(t,e,r,n){o[o.length]=r?D(n,L,"$1"):e||t})),o}(t),o=r.length>0?r[0]:"",n=q("%"+o+"%",e),i=n.name,a=n.value,u=!1,s=n.alias;s&&(o=s[0],F(r,N([0,1],s)));for(var c=1,l=!0;c<r.length;c+=1){var p=r[c],f=U(p,0,1),y=U(p,-1);if(('"'===f||"'"===f||"`"===f||'"'===y||"'"===y||"`"===y)&&f!==y)throw new S("property names with quotes must have matching quotes");if("constructor"!==p&&l||(u=!0),v(I,i="%"+(o+="."+p)+"%"))a=I[i];else if(null!=a){if(!(p in a)){if(!e)throw new _("base intrinsic for "+t+" exists, but the property is not available.");return}if(O&&c+1>=r.length){var h=O(a,p);a=(l=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:a[p]}else l=v(a,p),a=a[p];l&&!u&&(I[i]=a)}}return a},B=H("%Function.prototype.apply%"),W=H("%Function.prototype.call%"),z=H("%Reflect.apply%",!0)||b.call(W,B),$=H("%Object.getOwnPropertyDescriptor%",!0),G=H("%Object.defineProperty%",!0),J=H("%Math.max%");if(G)try{G({},"a",{value:1})}catch(Ar){G=null}j=function(t){var e=z(b,W,arguments);return $&&G&&$(e,"length").configurable&&G(e,"length",{value:1+J(0,t.length-(arguments.length-1))}),e};var X=function(){return z(b,B,arguments)};G?G(j,"apply",{value:X}):j.apply=X;var V=j(H("String.prototype.indexOf")),Q=function(t,e){var r=H(t,!!e);return"function"==typeof r&&V(t,".prototype.")>-1?j(r):r},K={};function Y(t){return(Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Z="function"==typeof Map&&Map.prototype,tt=Object.getOwnPropertyDescriptor&&Z?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,et=Z&&tt&&"function"==typeof tt.get?tt.get:null,rt=Z&&Map.prototype.forEach,ot="function"==typeof Set&&Set.prototype,nt=Object.getOwnPropertyDescriptor&&ot?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,it=ot&&nt&&"function"==typeof nt.get?nt.get:null,at=ot&&Set.prototype.forEach,ut="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,st="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,ct="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,lt=Boolean.prototype.valueOf,pt=Object.prototype.toString,ft=Function.prototype.toString,yt=String.prototype.match,ht=String.prototype.slice,dt=String.prototype.replace,mt=String.prototype.toUpperCase,bt=String.prototype.toLowerCase,vt=RegExp.prototype.test,gt=Array.prototype.concat,St=Array.prototype.join,wt=Array.prototype.slice,_t=Math.floor,At="function"==typeof BigInt?BigInt.prototype.valueOf:null,Ot=Object.getOwnPropertySymbols,jt="function"==typeof Symbol&&"symbol"==Y(Symbol.iterator)?Symbol.prototype.toString:null,Et="function"==typeof Symbol&&"object"==Y(Symbol.iterator),Tt="function"==typeof Symbol&&Symbol.toStringTag&&(Y(Symbol.toStringTag),1)?Symbol.toStringTag:null,Pt=Object.prototype.propertyIsEnumerable,xt=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function kt(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||vt.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var o=t<0?-_t(-t):_t(t);if(o!==t){var n=String(o),i=ht.call(e,n.length+1);return dt.call(n,r,"$&_")+"."+dt.call(dt.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return dt.call(e,r,"$&_")}var Rt=K.custom,It=Rt&&Dt(Rt)?Rt:null;function Ct(t,e,r){var o="double"===(r.quoteStyle||e)?'"':"'";return o+t+o}function Nt(t){return dt.call(String(t),/"/g,"&quot;")}function Ft(t){return!("[object Array]"!==Lt(t)||Tt&&"object"==Y(t)&&Tt in t)}function Dt(t){if(Et)return t&&"object"==Y(t)&&t instanceof Symbol;if("symbol"==Y(t))return!0;if(!t||"object"!=Y(t)||!jt)return!1;try{return jt.call(t),!0}catch(Ar){}return!1}var Ut=Object.prototype.hasOwnProperty||function(t){return t in this};function Mt(t,e){return Ut.call(t,e)}function Lt(t){return pt.call(t)}function qt(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,o=t.length;r<o;r++)if(t[r]===e)return r;return-1}function Ht(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":"")+mt.call(e.toString(16))}function Bt(t){return"Object("+t+")"}function Wt(t){return t+" { ? }"}function zt(t,e,r,o){return t+" ("+e+") {"+(o?$t(r,o):St.call(r,", "))+"}"}function $t(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+St.call(t,","+r)+"\n"+e.prev}function Gt(t,e){var r=Ft(t),o=[];if(r){o.length=t.length;for(var n=0;n<t.length;n++)o[n]=Mt(t,n)?e(t[n],t):""}var i,a="function"==typeof Ot?Ot(t):[];if(Et){i={};for(var u=0;u<a.length;u++)i["$"+a[u]]=a[u]}for(var s in t)Mt(t,s)&&(r&&String(Number(s))===s&&s<t.length||Et&&i["$"+s]instanceof Symbol||(vt.call(/[^\w$]/,s)?o.push(e(s,t)+": "+e(t[s],t)):o.push(s+": "+e(t[s],t))));if("function"==typeof Ot)for(var c=0;c<a.length;c++)Pt.call(t,a[c])&&o.push("["+e(a[c])+"]: "+e(t[a[c]],t));return o}function Jt(t){return(Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Xt=H("%TypeError%"),Vt=H("%WeakMap%",!0),Qt=H("%Map%",!0),Kt=Q("WeakMap.prototype.get",!0),Yt=Q("WeakMap.prototype.set",!0),Zt=Q("WeakMap.prototype.has",!0),te=Q("Map.prototype.get",!0),ee=Q("Map.prototype.set",!0),re=Q("Map.prototype.has",!0),oe=function(t,e){for(var r,o=t;null!==(r=o.next);o=r)if(r.key===e)return o.next=r.next,r.next=t.next,t.next=r,r},ne=function(){var t,e,r,o={assert:function(t){if(!o.has(t))throw new Xt("Side channel does not contain "+function t(e,r,o,n){var i=r||{};if(Mt(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Mt(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!Mt(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Mt(i,"indent")&&null!==i.indent&&"\t"!==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(Mt(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=i.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 function t(e,r){if(e.length>r.maxStringLength){var o=e.length-r.maxStringLength,n="... "+o+" more character"+(o>1?"s":"");return t(ht.call(e,0,r.maxStringLength),r)+n}return Ct(dt.call(dt.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Ht),"single",r)}(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var s=String(e);return u?kt(e,s):s}if("bigint"==typeof e){var c=String(e)+"n";return u?kt(e,c):c}var l=void 0===i.depth?5:i.depth;if(void 0===o&&(o=0),o>=l&&l>0&&"object"==Y(e))return Ft(e)?"[Array]":"[Object]";var p,f=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=St.call(Array(t.indent+1)," ")}return{base:r,prev:St.call(Array(e+1),r)}}(i,o);if(void 0===n)n=[];else if(qt(n,e)>=0)return"[Circular]";function y(e,r,a){if(r&&(n=wt.call(n)).push(r),a){var u={depth:i.depth};return Mt(i,"quoteStyle")&&(u.quoteStyle=i.quoteStyle),t(e,u,o+1,n)}return t(e,i,o+1,n)}if("function"==typeof e){var h=function(t){if(t.name)return t.name;var e=yt.call(ft.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),d=Gt(e,y);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+St.call(d,", ")+" }":"")}if(Dt(e)){var m=Et?dt.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):jt.call(e);return"object"!=Y(e)||Et?m:Bt(m)}if((p=e)&&"object"==Y(p)&&("undefined"!=typeof HTMLElement&&p instanceof HTMLElement||"string"==typeof p.nodeName&&"function"==typeof p.getAttribute)){for(var b="<"+bt.call(String(e.nodeName)),v=e.attributes||[],g=0;g<v.length;g++)b+=" "+v[g].name+"="+Ct(Nt(v[g].value),"double",i);return b+=">",e.childNodes&&e.childNodes.length&&(b+="..."),b+"</"+bt.call(String(e.nodeName))+">"}if(Ft(e)){if(0===e.length)return"[]";var S=Gt(e,y);return f&&!function(t){for(var e=0;e<t.length;e++)if(qt(t[e],"\n")>=0)return!1;return!0}(S)?"["+$t(S,f)+"]":"[ "+St.call(S,", ")+" ]"}if(function(t){return!("[object Error]"!==Lt(t)||Tt&&"object"==Y(t)&&Tt in t)}(e)){var w=Gt(e,y);return"cause"in e&&!Pt.call(e,"cause")?"{ ["+String(e)+"] "+St.call(gt.call("[cause]: "+y(e.cause),w),", ")+" }":0===w.length?"["+String(e)+"]":"{ ["+String(e)+"] "+St.call(w,", ")+" }"}if("object"==Y(e)&&a){if(It&&"function"==typeof e[It])return e[It]();if("symbol"!==a&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!et||!t||"object"!=Y(t))return!1;try{et.call(t);try{it.call(t)}catch(b){return!0}return t instanceof Map}catch(Ar){}return!1}(e)){var _=[];return rt.call(e,(function(t,r){_.push(y(r,e,!0)+" => "+y(t,e))})),zt("Map",et.call(e),_,f)}if(function(t){if(!it||!t||"object"!=Y(t))return!1;try{it.call(t);try{et.call(t)}catch(e){return!0}return t instanceof Set}catch(Ar){}return!1}(e)){var A=[];return at.call(e,(function(t){A.push(y(t,e))})),zt("Set",it.call(e),A,f)}if(function(t){if(!ut||!t||"object"!=Y(t))return!1;try{ut.call(t,ut);try{st.call(t,st)}catch(b){return!0}return t instanceof WeakMap}catch(Ar){}return!1}(e))return Wt("WeakMap");if(function(t){if(!st||!t||"object"!=Y(t))return!1;try{st.call(t,st);try{ut.call(t,ut)}catch(b){return!0}return t instanceof WeakSet}catch(Ar){}return!1}(e))return Wt("WeakSet");if(function(t){if(!ct||!t||"object"!=Y(t))return!1;try{return ct.call(t),!0}catch(Ar){}return!1}(e))return Wt("WeakRef");if(function(t){return!("[object Number]"!==Lt(t)||Tt&&"object"==Y(t)&&Tt in t)}(e))return Bt(y(Number(e)));if(function(t){if(!t||"object"!=Y(t)||!At)return!1;try{return At.call(t),!0}catch(Ar){}return!1}(e))return Bt(y(At.call(e)));if(function(t){return!("[object Boolean]"!==Lt(t)||Tt&&"object"==Y(t)&&Tt in t)}(e))return Bt(lt.call(e));if(function(t){return!("[object String]"!==Lt(t)||Tt&&"object"==Y(t)&&Tt in t)}(e))return Bt(y(String(e)));if(!function(t){return!("[object Date]"!==Lt(t)||Tt&&"object"==Y(t)&&Tt in t)}(e)&&!function(t){return!("[object RegExp]"!==Lt(t)||Tt&&"object"==Y(t)&&Tt in t)}(e)){var O=Gt(e,y),j=xt?xt(e)===Object.prototype:e instanceof Object||e.constructor===Object,E=e instanceof Object?"":"null prototype",T=!j&&Tt&&Object(e)===e&&Tt in e?ht.call(Lt(e),8,-1):E?"Object":"",P=(j||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(T||E?"["+St.call(gt.call([],T||[],E||[]),": ")+"] ":"");return 0===O.length?P+"{}":f?P+"{"+$t(O,f)+"}":P+"{ "+St.call(O,", ")+" }"}return String(e)}(t))},get:function(o){if(Vt&&o&&("object"==Jt(o)||"function"==typeof o)){if(t)return Kt(t,o)}else if(Qt){if(e)return te(e,o)}else if(r)return function(t,e){var r=oe(t,e);return r&&r.value}(r,o)},has:function(o){if(Vt&&o&&("object"==Jt(o)||"function"==typeof o)){if(t)return Zt(t,o)}else if(Qt){if(e)return re(e,o)}else if(r)return function(t,e){return!!oe(t,e)}(r,o);return!1},set:function(o,n){Vt&&o&&("object"==Jt(o)||"function"==typeof o)?(t||(t=new Vt),Yt(t,o,n)):Qt?(e||(e=new Qt),ee(e,o,n)):(r||(r={key:{},next:null}),function(t,e,r){var o=oe(t,e);o?o.value=r:t.next={key:e,next:t.next,value:r}}(r,o,n))}};return o},ie=String.prototype.replace,ae=/%20/g,ue={default:"RFC3986",formatters:{RFC1738:function(t){return ie.call(t,ae,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:"RFC3986"};function se(t){return(se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var ce=Object.prototype.hasOwnProperty,le=Array.isArray,pe=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),fe={combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],o=0;o<e.length;++o)for(var n=e[o],i=n.obj[n.prop],a=Object.keys(i),u=0;u<a.length;++u){var s=a[u],c=i[s];"object"==se(c)&&null!==c&&-1===r.indexOf(c)&&(e.push({obj:i,prop:s}),r.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(le(r)){for(var o=[],n=0;n<r.length;++n)void 0!==r[n]&&o.push(r[n]);e.obj[e.prop]=o}}}(e),t},decode:function(t,e,r){var o=t.replace(/\+/g," ");if("iso-8859-1"===r)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(Ar){return o}},encode:function(t,e,r,o,n){if(0===t.length)return t;var i=t;if("symbol"==se(t)?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var a="",u=0;u<i.length;++u){var s=i.charCodeAt(u);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||n===ue.RFC1738&&(40===s||41===s)?a+=i.charAt(u):s<128?a+=pe[s]:s<2048?a+=pe[192|s>>6]+pe[128|63&s]:s<55296||s>=57344?a+=pe[224|s>>12]+pe[128|s>>6&63]+pe[128|63&s]:(u+=1,s=65536+((1023&s)<<10|1023&i.charCodeAt(u)),a+=pe[240|s>>18]+pe[128|s>>12&63]+pe[128|s>>6&63]+pe[128|63&s])}return a},isBuffer:function(t){return!(!t||"object"!=se(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(le(t)){for(var r=[],o=0;o<t.length;o+=1)r.push(e(t[o]));return r}return e(t)},merge:function t(e,r,o){if(!r)return e;if("object"!=se(r)){if(le(e))e.push(r);else{if(!e||"object"!=se(e))return[e,r];(o&&(o.plainObjects||o.allowPrototypes)||!ce.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=se(e))return[e].concat(r);var n=e;return le(e)&&!le(r)&&(n=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},o=0;o<t.length;++o)void 0!==t[o]&&(r[o]=t[o]);return r}(e,o)),le(e)&&le(r)?(r.forEach((function(r,n){if(ce.call(e,n)){var i=e[n];i&&"object"==se(i)&&r&&"object"==se(r)?e[n]=t(i,r,o):e.push(r)}else e[n]=r})),e):Object.keys(r).reduce((function(e,n){var i=r[n];return ce.call(e,n)?e[n]=t(e[n],i,o):e[n]=i,e}),n)}};function ye(t){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var he=Object.prototype.hasOwnProperty,de={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},me=Array.isArray,be=String.prototype.split,ve=Array.prototype.push,ge=function(t,e){ve.apply(t,me(e)?e:[e])},Se=Date.prototype.toISOString,we=ue.default,_e={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:fe.encode,encodeValuesOnly:!1,format:we,formatter:ue.formatters[we],indices:!1,serializeDate:function(t){return Se.call(t)},skipNulls:!1,strictNullHandling:!1},Ae={},Oe=function t(e,r,o,n,i,a,u,s,c,l,p,f,y,h,d){for(var m,b=e,v=d,g=0,S=!1;void 0!==(v=v.get(Ae))&&!S;){var w=v.get(e);if(g+=1,void 0!==w){if(w===g)throw new RangeError("Cyclic object value");S=!0}void 0===v.get(Ae)&&(g=0)}if("function"==typeof u?b=u(r,b):b instanceof Date?b=l(b):"comma"===o&&me(b)&&(b=fe.maybeMap(b,(function(t){return t instanceof Date?l(t):t}))),null===b){if(n)return a&&!y?a(r,_e.encoder,h,"key",p):r;b=""}if("string"==typeof(m=b)||"number"==typeof m||"boolean"==typeof m||"symbol"==ye(m)||"bigint"==typeof m||fe.isBuffer(b)){if(a){var _=y?r:a(r,_e.encoder,h,"key",p);if("comma"===o&&y){for(var A=be.call(String(b),","),O="",j=0;j<A.length;++j)O+=(0===j?"":",")+f(a(A[j],_e.encoder,h,"value",p));return[f(_)+"="+O]}return[f(_)+"="+f(a(b,_e.encoder,h,"value",p))]}return[f(r)+"="+f(String(b))]}var E,T=[];if(void 0===b)return T;if("comma"===o&&me(b))E=[{value:b.length>0?b.join(",")||null:void 0}];else if(me(u))E=u;else{var P=Object.keys(b);E=s?P.sort(s):P}for(var x=0;x<E.length;++x){var k=E[x],R="object"==ye(k)&&void 0!==k.value?k.value:b[k];if(!i||null!==R){var I=me(b)?"function"==typeof o?o(r,k):r:r+(c?"."+k:"["+k+"]");d.set(e,g);var C=ne();C.set(Ae,d),ge(T,t(R,I,o,n,i,a,u,s,c,l,p,f,y,h,C))}}return T},je=(Object.prototype.hasOwnProperty,Array.isArray,{stringify:function(t,e){var r,o=t,n=function(t){if(!t)return _e;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||_e.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=ue.default;if(void 0!==t.format){if(!he.call(ue.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var o=ue.formatters[r],n=_e.filter;return("function"==typeof t.filter||me(t.filter))&&(n=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:_e.addQueryPrefix,allowDots:void 0===t.allowDots?_e.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:_e.charsetSentinel,delimiter:void 0===t.delimiter?_e.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:_e.encode,encoder:"function"==typeof t.encoder?t.encoder:_e.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:_e.encodeValuesOnly,filter:n,format:r,formatter:o,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:_e.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:_e.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:_e.strictNullHandling}}(e);"function"==typeof n.filter?o=(0,n.filter)("",o):me(n.filter)&&(r=n.filter);var i,a=[];if("object"!=ye(o)||null===o)return"";i=e&&e.arrayFormat in de?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var u=de[i];r||(r=Object.keys(o)),n.sort&&r.sort(n.sort);for(var s=ne(),c=0;c<r.length;++c){var l=r[c];n.skipNulls&&null===o[l]||ge(a,Oe(o[l],l,u,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,s))}var p=a.join(n.delimiter),f=!0===n.addQueryPrefix?"?":"";return n.charsetSentinel&&("iso-8859-1"===n.charset?f+="utf8=%26%2310003%3B&":f+="utf8=%E2%9C%93&"),p.length>0?f+p:""}}),Ee={};function Te(t){return(Te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Pe(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return xe(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return xe(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var o=0,n=function(){};return{s:n,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function xe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}Ee.type=function(t){return t.split(/ *; */).shift()},Ee.params=function(t){var e,r={},o=Pe(t.split(/ *; */));try{for(o.s();!(e=o.n()).done;){var n=e.value.split(/ *= */),i=n.shift(),a=n.shift();i&&a&&(r[i]=a)}}catch(u){o.e(u)}finally{o.f()}return r},Ee.parseLinks=function(t){var e,r={},o=Pe(t.split(/ *, */));try{for(o.s();!(e=o.n()).done;){var n=e.value.split(/ *; */),i=n[0].slice(1,-1);r[n[1].split(/ *= */)[1].slice(1,-1)]=i}}catch(a){o.e(a)}finally{o.f()}return r},Ee.isObject=function(t){return null!==t&&"object"==Te(t)},Ee.hasOwn=Object.hasOwn||function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(new Object(t),e)},Ee.mixin=function(t,e){for(var r in e)Ee.hasOwn(e,r)&&(t[r]=e[r])};var ke,Re,Ie,Ce=ke={};function Ne(){throw new Error("setTimeout has not been defined")}function Fe(){throw new Error("clearTimeout has not been defined")}function De(t){if(Re===setTimeout)return setTimeout(t,0);if((Re===Ne||!Re)&&setTimeout)return Re=setTimeout,setTimeout(t,0);try{return Re(t,0)}catch(Ar){try{return Re.call(null,t,0)}catch(Ar){return Re.call(this,t,0)}}}!function(){try{Re="function"==typeof setTimeout?setTimeout:Ne}catch(Ar){Re=Ne}try{Ie="function"==typeof clearTimeout?clearTimeout:Fe}catch(Ar){Ie=Fe}}();var Ue,Me=[],Le=!1,qe=-1;function He(){Le&&Ue&&(Le=!1,Ue.length?Me=Ue.concat(Me):qe=-1,Me.length&&Be())}function Be(){if(!Le){var t=De(He);Le=!0;for(var e=Me.length;e;){for(Ue=Me,Me=[];++qe<e;)Ue&&Ue[qe].run();qe=-1,e=Me.length}Ue=null,Le=!1,function(t){if(Ie===clearTimeout)return clearTimeout(t);if((Ie===Fe||!Ie)&&clearTimeout)return Ie=clearTimeout,clearTimeout(t);try{Ie(t)}catch(Ar){try{return Ie.call(null,t)}catch(Ar){return Ie.call(this,t)}}}(t)}}function We(t,e){this.fun=t,this.array=e}function ze(){}Ce.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Me.push(new We(t,e)),1!==Me.length||Le||De(Be)},We.prototype.run=function(){this.fun.apply(null,this.array)},Ce.title="browser",Ce.browser=!0,Ce.env={},Ce.argv=[],Ce.version="",Ce.versions={},Ce.on=ze,Ce.addListener=ze,Ce.once=ze,Ce.off=ze,Ce.removeListener=ze,Ce.removeAllListeners=ze,Ce.emit=ze,Ce.prependListener=ze,Ce.prependOnceListener=ze,Ce.listeners=function(t){return[]},Ce.binding=function(t){throw new Error("process.binding is not supported")},Ce.cwd=function(){return"/"},Ce.chdir=function(t){throw new Error("process.chdir is not supported")},Ce.umask=function(){return 0};var $e={};(function(t){(function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=Ee.isObject,o=Ee.hasOwn;function n(){}$e=n,n.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},n.prototype.parse=function(t){return this._parser=t,this},n.prototype.responseType=function(t){return this._responseType=t,this},n.prototype.serialize=function(t){return this._serializer=t,this},n.prototype.timeout=function(t){if(!t||"object"!=e(t))return this._timeout=t,this._responseTimeout=0,this._uploadTimeout=0,this;for(var r in t)if(o(t,r))switch(r){case"deadline":this._timeout=t.deadline;break;case"response":this._responseTimeout=t.response;break;case"upload":this._uploadTimeout=t.upload;break;default:console.warn("Unknown timeout option",r)}return this},n.prototype.retry=function(t,e){return 0!==arguments.length&&!0!==t||(t=1),t<=0&&(t=0),this._maxRetries=t,this._retries=0,this._retryCallback=e,this};var i=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),a=new Set([408,413,429,500,502,503,504,521,522,524]);n.prototype._shouldRetry=function(t,e){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var r=this._retryCallback(t,e);if(!0===r)return!0;if(!1===r)return!1}catch(o){console.error(o)}if(e&&e.status&&a.has(e.status))return!0;if(t){if(t.code&&i.has(t.code))return!0;if(t.timeout&&"ECONNABORTED"===t.code)return!0;if(t.crossDomain)return!0}return!1},n.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},n.prototype.then=function(t,e){var r=this;if(!this._fullfilledPromise){var o=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(t,e){o.on("abort",(function(){if(!(r._maxRetries&&r._maxRetries>r._retries))if(r.timedout&&r.timedoutError)e(r.timedoutError);else{var t=new Error("Aborted");t.code="ABORTED",t.status=r.status,t.method=r.method,t.url=r.url,e(t)}})),o.end((function(r,o){r?e(r):t(o)}))}))}return this._fullfilledPromise.then(t,e)},n.prototype.catch=function(t){return this.then(void 0,t)},n.prototype.use=function(t){return t(this),this},n.prototype.ok=function(t){if("function"!=typeof t)throw new Error("Callback required");return this._okCallback=t,this},n.prototype._isResponseOK=function(t){return!!t&&(this._okCallback?this._okCallback(t):t.status>=200&&t.status<300)},n.prototype.get=function(t){return this._header[t.toLowerCase()]},n.prototype.getHeader=n.prototype.get,n.prototype.set=function(t,e){if(r(t)){for(var n in t)o(t,n)&&this.set(n,t[n]);return this}return this._header[t.toLowerCase()]=e,this.header[t]=e,this},n.prototype.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this},n.prototype.field=function(t,e,n){if(null==t)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(r(t)){for(var i in t)o(t,i)&&this.field(i,t[i]);return this}if(Array.isArray(e)){for(var a in e)o(e,a)&&this.field(t,e[a]);return this}if(null==e)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof e&&(e=String(e)),this._getFormData().append(t,e,n),this},n.prototype.abort=function(){if(this._aborted)return this;if(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req){if(K.gte(t.version,"v13.0.0")&&K.lt(t.version,"v14.0.0"))throw new Error("Superagent does not work in v13 properly with abort() due to Node.js core changes");K.gte(t.version,"v14.0.0")&&(this.req.destroyed=!0),this.req.abort()}return this.clearTimeout(),this.emit("abort"),this},n.prototype._auth=function(t,e,r,o){switch(r.type){case"basic":this.set("Authorization","Basic ".concat(o("".concat(t,":").concat(e))));break;case"auto":this.username=t,this.password=e;break;case"bearer":this.set("Authorization","Bearer ".concat(t))}return this},n.prototype.withCredentials=function(t){return void 0===t&&(t=!0),this._withCredentials=t,this},n.prototype.redirects=function(t){return this._maxRedirects=t,this},n.prototype.maxResponseSize=function(t){if("number"!=typeof t)throw new TypeError("Invalid argument");return this._maxResponseSize=t,this},n.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},n.prototype.send=function(t){var e=r(t),n=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(e&&!this._data)Array.isArray(t)?this._data=[]:this._isHost(t)||(this._data={});else if(t&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(e&&r(this._data))for(var i in t)o(t,i)&&(this._data[i]=t[i]);else"string"==typeof t?(n||this.type("form"),(n=this._header["content-type"])&&(n=n.toLowerCase().trim()),this._data="application/x-www-form-urlencoded"===n?this._data?"".concat(this._data,"&").concat(t):t:(this._data||"")+t):this._data=t;return!e||this._isHost(t)||n||this.type("json"),this},n.prototype.sortQuery=function(t){return this._sort=void 0===t||t,this},n.prototype._finalizeQueryString=function(){var t=this._query.join("&");if(t&&(this.url+=(this.url.includes("?")?"&":"?")+t),this._query.length=0,this._sort){var e=this.url.indexOf("?");if(e>=0){var r=this.url.slice(e+1).split("&");"function"==typeof this._sort?r.sort(this._sort):r.sort(),this.url=this.url.slice(0,e)+"?"+r.join("&")}}},n.prototype._appendQueryString=function(){console.warn("Unsupported")},n.prototype._timeoutError=function(t,e,r){if(!this._aborted){var o=new Error("".concat(t+e,"ms exceeded"));o.timeout=e,o.code="ECONNABORTED",o.errno=r,this.timedout=!0,this.timedoutError=o,this.abort(),this.callback(o)}},n.prototype._setTimeouts=function(){var t=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){t._timeoutError("Timeout of ",t._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){t._timeoutError("Response timeout of ",t._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}}).call(this)}).call(this,ke);var Ge;function Je(){}Ge=Je,Je.prototype.get=function(t){return this.header[t.toLowerCase()]},Je.prototype._setHeaderProperties=function(t){var e=t["content-type"]||"";this.type=Ee.type(e);var r=Ee.params(e);for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(this[o]=r[o]);this.links={};try{t.link&&(this.links=Ee.parseLinks(t.link))}catch(n){}},Je.prototype._setStatusProperties=function(t){var e=Math.trunc(t/100);this.statusCode=t,this.status=this.statusCode,this.statusType=e,this.info=1===e,this.ok=2===e,this.redirect=3===e,this.clientError=4===e,this.serverError=5===e,this.error=(4===e||5===e)&&this.toError(),this.created=201===t,this.accepted=202===t,this.noContent=204===t,this.badRequest=400===t,this.unauthorized=401===t,this.notAcceptable=406===t,this.forbidden=403===t,this.notFound=404===t,this.unprocessableEntity=422===t};var Xe={};function Ve(t){return function(t){if(Array.isArray(t))return Ke(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Qe(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qe(t,e){if(t){if("string"==typeof t)return Ke(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ke(t,e):void 0}}function Ke(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}function Ye(){this._defaults=[]}for(var Ze=function(){var t=er[tr];Ye.prototype[t]=function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return this._defaults.push({fn:t,args:r}),this}},tr=0,er=["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"];tr<er.length;tr++)Ze();Ye.prototype._setDefaults=function(t){var e,r=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Qe(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var o=0,n=function(){};return{s:n,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(this._defaults);try{for(r.s();!(e=r.n()).done;){var o=e.value;t[o.fn].apply(t,Ve(o.args))}}catch(n){r.e(n)}finally{r.f()}},Xe=Ye;var rr,or={};function nr(t){return(nr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ir(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return ar(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ar(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var o=0,n=function(){};return{s:n,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function ar(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}"undefined"!=typeof window?rr=window:"undefined"==typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),rr=void 0):rr=self;var ur=Ee.isObject,sr=Ee.mixin,cr=Ee.hasOwn;function lr(){}var pr=or=or=function(t,e){return"function"==typeof e?new or.Request("GET",t).end(e):1===arguments.length?new or.Request("GET",t):new or.Request(t,e)};or.Request=vr,pr.getXHR=function(){if(rr.XMLHttpRequest&&(!rr.location||"file:"!==rr.location.protocol||!rr.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(r){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(o){}throw new Error("Browser-only version of superagent could not find XHR")};var fr="".trim?function(t){return t.trim()}:function(t){return t.replace(/(^\s*|\s*$)/g,"")};function yr(t){if(!ur(t))return t;var e=[];for(var r in t)cr(t,r)&&hr(e,r,t[r]);return e.join("&")}function hr(t,e,r){if(void 0!==r)if(null!==r)if(Array.isArray(r)){var o,n=ir(r);try{for(n.s();!(o=n.n()).done;){hr(t,e,o.value)}}catch(a){n.e(a)}finally{n.f()}}else if(ur(r))for(var i in r)cr(r,i)&&hr(t,"".concat(e,"[").concat(i,"]"),r[i]);else t.push(encodeURI(e)+"="+encodeURIComponent(r));else t.push(encodeURI(e))}function dr(t){for(var e,r,o={},n=t.split("&"),i=0,a=n.length;i<a;++i)-1===(r=(e=n[i]).indexOf("="))?o[decodeURIComponent(e)]="":o[decodeURIComponent(e.slice(0,r))]=decodeURIComponent(e.slice(r+1));return o}function mr(t){return/[/+]json($|[^-\w])/i.test(t)}function br(t){this.req=t,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var e=this.xhr.status;1223===e&&(e=204),this._setStatusProperties(e),this.headers=function(t){for(var e,r,o,n,i=t.split(/\r?\n/),a={},u=0,s=i.length;u<s;++u)-1!==(e=(r=i[u]).indexOf(":"))&&(o=r.slice(0,e).toLowerCase(),n=fr(r.slice(e+1)),a[o]=n);return a}(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&t._responseType?this.body=this.xhr.response:this.body="HEAD"===this.req.method?null:this._parseBody(this.text?this.text:this.xhr.response)}function vr(t,e){var r=this;this._query=this._query||[],this.method=t,this.url=e,this.header={},this._header={},this.on("end",(function(){var t,e=null,o=null;try{o=new br(r)}catch(n){return(e=new Error("Parser is unable to parse the response")).parse=!0,e.original=n,r.xhr?(e.rawResponse=void 0===r.xhr.responseType?r.xhr.responseText:r.xhr.response,e.status=r.xhr.status?r.xhr.status:null,e.statusCode=e.status):(e.rawResponse=null,e.status=null),r.callback(e)}r.emit("response",o);try{r._isResponseOK(o)||(t=new Error(o.statusText||o.text||"Unsuccessful HTTP response"))}catch(n){t=n}t?(t.original=e,t.response=o,t.status=o.status,r.callback(t,o)):r.callback(null,o)}))}pr.serializeObject=yr,pr.parseString=dr,pr.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},pr.serialize={"application/x-www-form-urlencoded":je.stringify,"application/json":r},pr.parse={"application/x-www-form-urlencoded":dr,"application/json":JSON.parse},sr(br.prototype,Ge.prototype),br.prototype._parseBody=function(t){var e=pr.parse[this.type];return this.req._parser?this.req._parser(this,t):(!e&&mr(this.type)&&(e=pr.parse["application/json"]),e&&t&&(t.length>0||t instanceof Object)?e(t):null)},br.prototype.toError=function(){var t=this.req,e=t.method,r=t.url,o="cannot ".concat(e," ").concat(r," (").concat(this.status,")"),n=new Error(o);return n.status=this.status,n.method=e,n.url=r,n},pr.Response=br,t(vr.prototype),sr(vr.prototype,$e.prototype),vr.prototype.type=function(t){return this.set("Content-Type",pr.types[t]||t),this},vr.prototype.accept=function(t){return this.set("Accept",pr.types[t]||t),this},vr.prototype.auth=function(t,e,r){1===arguments.length&&(e=""),"object"==nr(e)&&null!==e&&(r=e,e=""),r||(r={type:"function"==typeof btoa?"basic":"auto"});var o=r.encoder?r.encoder:function(t){if("function"==typeof btoa)return btoa(t);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(t,e,r,o)},vr.prototype.query=function(t){return"string"!=typeof t&&(t=yr(t)),t&&this._query.push(t),this},vr.prototype.attach=function(t,e,r){if(e){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(t,e,r||e.name)}return this},vr.prototype._getFormData=function(){return this._formData||(this._formData=new rr.FormData),this._formData},vr.prototype.callback=function(t,e){if(this._shouldRetry(t,e))return this._retry();var r=this._callback;this.clearTimeout(),t&&(this._maxRetries&&(t.retries=this._retries-1),this.emit("error",t)),r(t,e)},vr.prototype.crossDomainError=function(){var t=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");t.crossDomain=!0,t.status=this.status,t.method=this.method,t.url=this.url,this.callback(t)},vr.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},vr.prototype.ca=vr.prototype.agent,vr.prototype.buffer=vr.prototype.ca,vr.prototype.write=function(){throw new Error("Streaming is not supported in browser version of superagent")},vr.prototype.pipe=vr.prototype.write,vr.prototype._isHost=function(t){return t&&"object"==nr(t)&&!Array.isArray(t)&&"[object Object]"!==Object.prototype.toString.call(t)},vr.prototype.end=function(t){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=t||lr,this._finalizeQueryString(),this._end()},vr.prototype._setUploadTimeout=function(){var t=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((function(){t._timeoutError("Upload timeout of ",t._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},vr.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));var t=this;this.xhr=pr.getXHR();var e=this.xhr,r=this._formData||this._data;this._setTimeouts(),e.addEventListener("readystatechange",(function(){var r=e.readyState;if(r>=2&&t._responseTimeoutTimer&&clearTimeout(t._responseTimeoutTimer),4===r){var o;try{o=e.status}catch(n){o=0}if(!o){if(t.timedout||t._aborted)return;return t.crossDomainError()}t.emit("end")}}));var o=function(e,r){r.total>0&&(r.percent=r.loaded/r.total*100,100===r.percent&&clearTimeout(t._uploadTimeoutTimer)),r.direction=e,t.emit("progress",r)};if(this.hasListeners("progress"))try{e.addEventListener("progress",o.bind(null,"download")),e.upload&&e.upload.addEventListener("progress",o.bind(null,"upload"))}catch(u){}e.upload&&this._setUploadTimeout();try{this.username&&this.password?e.open(this.method,this.url,!0,this.username,this.password):e.open(this.method,this.url,!0)}catch(s){return this.callback(s)}if(this._withCredentials&&(e.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof r&&!this._isHost(r)){var n=this._header["content-type"],i=this._serializer||pr.serialize[n?n.split(";")[0]:""];!i&&mr(n)&&(i=pr.serialize["application/json"]),i&&(r=i(r))}for(var a in this.header)null!==this.header[a]&&cr(this.header,a)&&e.setRequestHeader(a,this.header[a]);this._responseType&&(e.responseType=this._responseType),this.emit("request",this),e.send(void 0===r?null:r)},pr.agent=function(){return new Xe};for(var gr=function(){var t=wr[Sr];Xe.prototype[t.toLowerCase()]=function(e,r){var o=new pr.Request(t,e);return this._setDefaults(o),r&&o.end(r),o}},Sr=0,wr=["GET","POST","OPTIONS","PATCH","PUT","DELETE"];Sr<wr.length;Sr++)gr();function _r(t,e,r){var o=pr("DELETE",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o}return Xe.prototype.del=Xe.prototype.delete,pr.get=function(t,e,r){var o=pr("GET",t);return"function"==typeof e&&(r=e,e=null),e&&o.query(e),r&&o.end(r),o},pr.head=function(t,e,r){var o=pr("HEAD",t);return"function"==typeof e&&(r=e,e=null),e&&o.query(e),r&&o.end(r),o},pr.options=function(t,e,r){var o=pr("OPTIONS",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},pr.del=_r,pr.delete=_r,pr.patch=function(t,e,r){var o=pr("PATCH",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},pr.post=function(t,e,r){var o=pr("POST",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},pr.put=function(t,e,r){var o=pr("PUT",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},or}));