frontend-hamroun 1.1.87 → 1.1.89

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.
package/dist/index.mjs CHANGED
@@ -37519,11 +37519,11 @@ var objectToString$7 = Object.prototype.toString;
37519
37519
  var functionToString = Function.prototype.toString;
37520
37520
  var $match = String.prototype.match;
37521
37521
  var $slice = String.prototype.slice;
37522
- var $replace$1 = String.prototype.replace;
37522
+ var $replace = String.prototype.replace;
37523
37523
  var $toUpperCase = String.prototype.toUpperCase;
37524
37524
  var $toLowerCase = String.prototype.toLowerCase;
37525
37525
  var $test = RegExp.prototype.test;
37526
- var $concat$1 = Array.prototype.concat;
37526
+ var $concat = Array.prototype.concat;
37527
37527
  var $join = Array.prototype.join;
37528
37528
  var $arrSlice = Array.prototype.slice;
37529
37529
  var $floor = Math.floor;
@@ -37546,10 +37546,10 @@ function addNumericSeparator(num, str) {
37546
37546
  if (int !== num) {
37547
37547
  var intStr = String(int);
37548
37548
  var dec = $slice.call(str, intStr.length + 1);
37549
- return $replace$1.call(intStr, sepRegex, "$&_") + "." + $replace$1.call($replace$1.call(dec, /([0-9]{3})/g, "$&_"), /_$/, "");
37549
+ return $replace.call(intStr, sepRegex, "$&_") + "." + $replace.call($replace.call(dec, /([0-9]{3})/g, "$&_"), /_$/, "");
37550
37550
  }
37551
37551
  }
37552
- return $replace$1.call(str, sepRegex, "$&_");
37552
+ return $replace.call(str, sepRegex, "$&_");
37553
37553
  }
37554
37554
  var utilInspect = require$$2$2;
37555
37555
  var inspectCustom = utilInspect.custom;
@@ -37641,7 +37641,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
37641
37641
  return "[Function" + (name2 ? ": " + name2 : " (anonymous)") + "]" + (keys2.length > 0 ? " { " + $join.call(keys2, ", ") + " }" : "");
37642
37642
  }
37643
37643
  if (isSymbol$3(obj)) {
37644
- var symString = hasShammedSymbols ? $replace$1.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, "$1") : symToString.call(obj);
37644
+ var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, "$1") : symToString.call(obj);
37645
37645
  return typeof obj === "object" && !hasShammedSymbols ? markBoxed(symString) : symString;
37646
37646
  }
37647
37647
  if (isElement(obj)) {
@@ -37670,7 +37670,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
37670
37670
  if (isError(obj)) {
37671
37671
  var parts = arrObjKeys(obj, inspect2);
37672
37672
  if (!("cause" in Error.prototype) && "cause" in obj && !isEnumerable.call(obj, "cause")) {
37673
- return "{ [" + String(obj) + "] " + $join.call($concat$1.call("[cause]: " + inspect2(obj.cause), parts), ", ") + " }";
37673
+ return "{ [" + String(obj) + "] " + $join.call($concat.call("[cause]: " + inspect2(obj.cause), parts), ", ") + " }";
37674
37674
  }
37675
37675
  if (parts.length === 0) {
37676
37676
  return "[" + String(obj) + "]";
@@ -37720,7 +37720,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
37720
37720
  if (isBoolean$2(obj)) {
37721
37721
  return markBoxed(booleanValueOf.call(obj));
37722
37722
  }
37723
- if (isString$3(obj)) {
37723
+ if (isString$4(obj)) {
37724
37724
  return markBoxed(inspect2(String(obj)));
37725
37725
  }
37726
37726
  if (typeof window !== "undefined" && obj === window) {
@@ -37735,7 +37735,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
37735
37735
  var protoTag = obj instanceof Object ? "" : "null prototype";
37736
37736
  var stringTag2 = !isPlainObject2 && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
37737
37737
  var constructorTag = isPlainObject2 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
37738
- var tag = constructorTag + (stringTag2 || protoTag ? "[" + $join.call($concat$1.call([], stringTag2 || [], protoTag || []), ": ") + "] " : "");
37738
+ var tag = constructorTag + (stringTag2 || protoTag ? "[" + $join.call($concat.call([], stringTag2 || [], protoTag || []), ": ") + "] " : "");
37739
37739
  if (ys.length === 0) {
37740
37740
  return tag + "{}";
37741
37741
  }
@@ -37752,7 +37752,7 @@ function wrapQuotes(s2, defaultStyle, opts) {
37752
37752
  return quoteChar + s2 + quoteChar;
37753
37753
  }
37754
37754
  function quote(s2) {
37755
- return $replace$1.call(String(s2), /"/g, """);
37755
+ return $replace.call(String(s2), /"/g, """);
37756
37756
  }
37757
37757
  function canTrustToString(obj) {
37758
37758
  return !toStringTag || !(typeof obj === "object" && (toStringTag in obj || typeof obj[toStringTag] !== "undefined"));
@@ -37769,7 +37769,7 @@ function isRegExp$1(obj) {
37769
37769
  function isError(obj) {
37770
37770
  return toStr(obj) === "[object Error]" && canTrustToString(obj);
37771
37771
  }
37772
- function isString$3(obj) {
37772
+ function isString$4(obj) {
37773
37773
  return toStr(obj) === "[object String]" && canTrustToString(obj);
37774
37774
  }
37775
37775
  function isNumber$2(obj) {
@@ -37806,11 +37806,11 @@ function isBigInt(obj) {
37806
37806
  }
37807
37807
  return false;
37808
37808
  }
37809
- var hasOwn$1 = Object.prototype.hasOwnProperty || function(key) {
37809
+ var hasOwn = Object.prototype.hasOwnProperty || function(key) {
37810
37810
  return key in this;
37811
37811
  };
37812
37812
  function has$3(obj, key) {
37813
- return hasOwn$1.call(obj, key);
37813
+ return hasOwn.call(obj, key);
37814
37814
  }
37815
37815
  function toStr(obj) {
37816
37816
  return objectToString$7.call(obj);
@@ -37928,7 +37928,7 @@ function inspectString(str, opts) {
37928
37928
  }
37929
37929
  var quoteRE = quoteREs[opts.quoteStyle || "single"];
37930
37930
  quoteRE.lastIndex = 0;
37931
- var s2 = $replace$1.call($replace$1.call(str, quoteRE, "\\$1"), /[\x00-\x1f]/g, lowbyte);
37931
+ var s2 = $replace.call($replace.call(str, quoteRE, "\\$1"), /[\x00-\x1f]/g, lowbyte);
37932
37932
  return wrapQuotes(s2, "single", opts);
37933
37933
  }
37934
37934
  function lowbyte(c) {
@@ -38026,7 +38026,7 @@ function arrObjKeys(obj, inspect2) {
38026
38026
  return xs;
38027
38027
  }
38028
38028
  var inspect$3 = objectInspect;
38029
- var $TypeError$5 = type;
38029
+ var $TypeError$3 = type;
38030
38030
  var listGetNode = function(list, key, isDelete) {
38031
38031
  var prev = list;
38032
38032
  var curr;
@@ -38079,7 +38079,7 @@ var sideChannelList = function getSideChannelList() {
38079
38079
  var channel = {
38080
38080
  assert: function(key) {
38081
38081
  if (!channel.has(key)) {
38082
- throw new $TypeError$5("Side channel does not contain " + inspect$3(key));
38082
+ throw new $TypeError$3("Side channel does not contain " + inspect$3(key));
38083
38083
  }
38084
38084
  },
38085
38085
  "delete": function(key) {
@@ -38112,55 +38112,199 @@ var sideChannelList = function getSideChannelList() {
38112
38112
  };
38113
38113
  return channel;
38114
38114
  };
38115
- var esObjectAtoms = Object;
38116
- var esErrors = Error;
38117
- var _eval = EvalError;
38118
- var range$2 = RangeError;
38119
- var ref = ReferenceError;
38120
- var syntax = SyntaxError;
38121
- var uri = URIError;
38122
- var abs$1 = Math.abs;
38123
- var floor$1 = Math.floor;
38124
- var max$1 = Math.max;
38125
- var min$1 = Math.min;
38126
- var pow$1 = Math.pow;
38127
- var round$1 = Math.round;
38128
- var _isNaN = Number.isNaN || function isNaN2(a) {
38129
- return a !== a;
38130
- };
38131
- var $isNaN = _isNaN;
38132
- var sign$3 = function sign(number) {
38133
- if ($isNaN(number) || number === 0) {
38134
- return number;
38135
- }
38136
- return number < 0 ? -1 : 1;
38137
- };
38138
- var gOPD = Object.getOwnPropertyDescriptor;
38139
- var $gOPD$1 = gOPD;
38140
- if ($gOPD$1) {
38141
- try {
38142
- $gOPD$1([], "length");
38143
- } catch (e) {
38144
- $gOPD$1 = null;
38115
+ var esObjectAtoms;
38116
+ var hasRequiredEsObjectAtoms;
38117
+ function requireEsObjectAtoms() {
38118
+ if (hasRequiredEsObjectAtoms)
38119
+ return esObjectAtoms;
38120
+ hasRequiredEsObjectAtoms = 1;
38121
+ esObjectAtoms = Object;
38122
+ return esObjectAtoms;
38123
+ }
38124
+ var esErrors;
38125
+ var hasRequiredEsErrors;
38126
+ function requireEsErrors() {
38127
+ if (hasRequiredEsErrors)
38128
+ return esErrors;
38129
+ hasRequiredEsErrors = 1;
38130
+ esErrors = Error;
38131
+ return esErrors;
38132
+ }
38133
+ var _eval;
38134
+ var hasRequired_eval;
38135
+ function require_eval() {
38136
+ if (hasRequired_eval)
38137
+ return _eval;
38138
+ hasRequired_eval = 1;
38139
+ _eval = EvalError;
38140
+ return _eval;
38141
+ }
38142
+ var range$2;
38143
+ var hasRequiredRange$2;
38144
+ function requireRange$2() {
38145
+ if (hasRequiredRange$2)
38146
+ return range$2;
38147
+ hasRequiredRange$2 = 1;
38148
+ range$2 = RangeError;
38149
+ return range$2;
38150
+ }
38151
+ var ref;
38152
+ var hasRequiredRef;
38153
+ function requireRef() {
38154
+ if (hasRequiredRef)
38155
+ return ref;
38156
+ hasRequiredRef = 1;
38157
+ ref = ReferenceError;
38158
+ return ref;
38159
+ }
38160
+ var syntax;
38161
+ var hasRequiredSyntax;
38162
+ function requireSyntax() {
38163
+ if (hasRequiredSyntax)
38164
+ return syntax;
38165
+ hasRequiredSyntax = 1;
38166
+ syntax = SyntaxError;
38167
+ return syntax;
38168
+ }
38169
+ var uri;
38170
+ var hasRequiredUri;
38171
+ function requireUri() {
38172
+ if (hasRequiredUri)
38173
+ return uri;
38174
+ hasRequiredUri = 1;
38175
+ uri = URIError;
38176
+ return uri;
38177
+ }
38178
+ var abs;
38179
+ var hasRequiredAbs;
38180
+ function requireAbs() {
38181
+ if (hasRequiredAbs)
38182
+ return abs;
38183
+ hasRequiredAbs = 1;
38184
+ abs = Math.abs;
38185
+ return abs;
38186
+ }
38187
+ var floor;
38188
+ var hasRequiredFloor;
38189
+ function requireFloor() {
38190
+ if (hasRequiredFloor)
38191
+ return floor;
38192
+ hasRequiredFloor = 1;
38193
+ floor = Math.floor;
38194
+ return floor;
38195
+ }
38196
+ var max;
38197
+ var hasRequiredMax;
38198
+ function requireMax() {
38199
+ if (hasRequiredMax)
38200
+ return max;
38201
+ hasRequiredMax = 1;
38202
+ max = Math.max;
38203
+ return max;
38204
+ }
38205
+ var min;
38206
+ var hasRequiredMin;
38207
+ function requireMin() {
38208
+ if (hasRequiredMin)
38209
+ return min;
38210
+ hasRequiredMin = 1;
38211
+ min = Math.min;
38212
+ return min;
38213
+ }
38214
+ var pow;
38215
+ var hasRequiredPow;
38216
+ function requirePow() {
38217
+ if (hasRequiredPow)
38218
+ return pow;
38219
+ hasRequiredPow = 1;
38220
+ pow = Math.pow;
38221
+ return pow;
38222
+ }
38223
+ var round;
38224
+ var hasRequiredRound;
38225
+ function requireRound() {
38226
+ if (hasRequiredRound)
38227
+ return round;
38228
+ hasRequiredRound = 1;
38229
+ round = Math.round;
38230
+ return round;
38231
+ }
38232
+ var _isNaN;
38233
+ var hasRequired_isNaN;
38234
+ function require_isNaN() {
38235
+ if (hasRequired_isNaN)
38236
+ return _isNaN;
38237
+ hasRequired_isNaN = 1;
38238
+ _isNaN = Number.isNaN || function isNaN2(a) {
38239
+ return a !== a;
38240
+ };
38241
+ return _isNaN;
38242
+ }
38243
+ var sign$2;
38244
+ var hasRequiredSign;
38245
+ function requireSign() {
38246
+ if (hasRequiredSign)
38247
+ return sign$2;
38248
+ hasRequiredSign = 1;
38249
+ var $isNaN = require_isNaN();
38250
+ sign$2 = function sign3(number) {
38251
+ if ($isNaN(number) || number === 0) {
38252
+ return number;
38253
+ }
38254
+ return number < 0 ? -1 : 1;
38255
+ };
38256
+ return sign$2;
38257
+ }
38258
+ var gOPD;
38259
+ var hasRequiredGOPD;
38260
+ function requireGOPD() {
38261
+ if (hasRequiredGOPD)
38262
+ return gOPD;
38263
+ hasRequiredGOPD = 1;
38264
+ gOPD = Object.getOwnPropertyDescriptor;
38265
+ return gOPD;
38266
+ }
38267
+ var gopd;
38268
+ var hasRequiredGopd;
38269
+ function requireGopd() {
38270
+ if (hasRequiredGopd)
38271
+ return gopd;
38272
+ hasRequiredGopd = 1;
38273
+ var $gOPD = requireGOPD();
38274
+ if ($gOPD) {
38275
+ try {
38276
+ $gOPD([], "length");
38277
+ } catch (e) {
38278
+ $gOPD = null;
38279
+ }
38145
38280
  }
38281
+ gopd = $gOPD;
38282
+ return gopd;
38146
38283
  }
38147
- var gopd = $gOPD$1;
38148
- var $defineProperty$1 = Object.defineProperty || false;
38149
- if ($defineProperty$1) {
38150
- try {
38151
- $defineProperty$1({}, "a", { value: 1 });
38152
- } catch (e) {
38153
- $defineProperty$1 = false;
38284
+ var esDefineProperty;
38285
+ var hasRequiredEsDefineProperty;
38286
+ function requireEsDefineProperty() {
38287
+ if (hasRequiredEsDefineProperty)
38288
+ return esDefineProperty;
38289
+ hasRequiredEsDefineProperty = 1;
38290
+ var $defineProperty = Object.defineProperty || false;
38291
+ if ($defineProperty) {
38292
+ try {
38293
+ $defineProperty({}, "a", { value: 1 });
38294
+ } catch (e) {
38295
+ $defineProperty = false;
38296
+ }
38154
38297
  }
38298
+ esDefineProperty = $defineProperty;
38299
+ return esDefineProperty;
38155
38300
  }
38156
- var esDefineProperty = $defineProperty$1;
38157
- var shams;
38158
- var hasRequiredShams;
38159
- function requireShams() {
38160
- if (hasRequiredShams)
38161
- return shams;
38162
- hasRequiredShams = 1;
38163
- shams = function hasSymbols2() {
38301
+ var shams$1;
38302
+ var hasRequiredShams$1;
38303
+ function requireShams$1() {
38304
+ if (hasRequiredShams$1)
38305
+ return shams$1;
38306
+ hasRequiredShams$1 = 1;
38307
+ shams$1 = function hasSymbols2() {
38164
38308
  if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
38165
38309
  return false;
38166
38310
  }
@@ -38208,17 +38352,17 @@ function requireShams() {
38208
38352
  }
38209
38353
  return true;
38210
38354
  };
38211
- return shams;
38355
+ return shams$1;
38212
38356
  }
38213
- var hasSymbols$1;
38357
+ var hasSymbols;
38214
38358
  var hasRequiredHasSymbols;
38215
38359
  function requireHasSymbols() {
38216
38360
  if (hasRequiredHasSymbols)
38217
- return hasSymbols$1;
38361
+ return hasSymbols;
38218
38362
  hasRequiredHasSymbols = 1;
38219
38363
  var origSymbol = typeof Symbol !== "undefined" && Symbol;
38220
- var hasSymbolSham = requireShams();
38221
- hasSymbols$1 = function hasNativeSymbols() {
38364
+ var hasSymbolSham = requireShams$1();
38365
+ hasSymbols = function hasNativeSymbols() {
38222
38366
  if (typeof origSymbol !== "function") {
38223
38367
  return false;
38224
38368
  }
@@ -38233,7 +38377,7 @@ function requireHasSymbols() {
38233
38377
  }
38234
38378
  return hasSymbolSham();
38235
38379
  };
38236
- return hasSymbols$1;
38380
+ return hasSymbols;
38237
38381
  }
38238
38382
  var Reflect_getPrototypeOf;
38239
38383
  var hasRequiredReflect_getPrototypeOf;
@@ -38250,8 +38394,8 @@ function requireObject_getPrototypeOf() {
38250
38394
  if (hasRequiredObject_getPrototypeOf)
38251
38395
  return Object_getPrototypeOf;
38252
38396
  hasRequiredObject_getPrototypeOf = 1;
38253
- var $Object2 = esObjectAtoms;
38254
- Object_getPrototypeOf = $Object2.getPrototypeOf || null;
38397
+ var $Object = requireEsObjectAtoms();
38398
+ Object_getPrototypeOf = $Object.getPrototypeOf || null;
38255
38399
  return Object_getPrototypeOf;
38256
38400
  }
38257
38401
  var implementation;
@@ -38291,7 +38435,7 @@ function requireImplementation() {
38291
38435
  }
38292
38436
  return str;
38293
38437
  };
38294
- implementation = function bind2(that) {
38438
+ implementation = function bind(that) {
38295
38439
  var target = this;
38296
38440
  if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
38297
38441
  throw new TypeError(ERROR_MESSAGE + target);
@@ -38359,30 +38503,54 @@ function requireFunctionApply() {
38359
38503
  functionApply = Function.prototype.apply;
38360
38504
  return functionApply;
38361
38505
  }
38362
- var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
38363
- var bind$2 = requireFunctionBind();
38364
- var $apply$1 = requireFunctionApply();
38365
- var $call$2 = requireFunctionCall();
38366
- var $reflectApply = reflectApply;
38367
- var actualApply = $reflectApply || bind$2.call($call$2, $apply$1);
38368
- var bind$1 = requireFunctionBind();
38369
- var $TypeError$4 = type;
38370
- var $call$1 = requireFunctionCall();
38371
- var $actualApply = actualApply;
38372
- var callBindApplyHelpers = function callBindBasic(args) {
38373
- if (args.length < 1 || typeof args[0] !== "function") {
38374
- throw new $TypeError$4("a function is required");
38375
- }
38376
- return $actualApply(bind$1, $call$1, args);
38377
- };
38506
+ var reflectApply;
38507
+ var hasRequiredReflectApply;
38508
+ function requireReflectApply() {
38509
+ if (hasRequiredReflectApply)
38510
+ return reflectApply;
38511
+ hasRequiredReflectApply = 1;
38512
+ reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
38513
+ return reflectApply;
38514
+ }
38515
+ var actualApply;
38516
+ var hasRequiredActualApply;
38517
+ function requireActualApply() {
38518
+ if (hasRequiredActualApply)
38519
+ return actualApply;
38520
+ hasRequiredActualApply = 1;
38521
+ var bind = requireFunctionBind();
38522
+ var $apply = requireFunctionApply();
38523
+ var $call = requireFunctionCall();
38524
+ var $reflectApply = requireReflectApply();
38525
+ actualApply = $reflectApply || bind.call($call, $apply);
38526
+ return actualApply;
38527
+ }
38528
+ var callBindApplyHelpers;
38529
+ var hasRequiredCallBindApplyHelpers;
38530
+ function requireCallBindApplyHelpers() {
38531
+ if (hasRequiredCallBindApplyHelpers)
38532
+ return callBindApplyHelpers;
38533
+ hasRequiredCallBindApplyHelpers = 1;
38534
+ var bind = requireFunctionBind();
38535
+ var $TypeError2 = type;
38536
+ var $call = requireFunctionCall();
38537
+ var $actualApply = requireActualApply();
38538
+ callBindApplyHelpers = function callBindBasic(args) {
38539
+ if (args.length < 1 || typeof args[0] !== "function") {
38540
+ throw new $TypeError2("a function is required");
38541
+ }
38542
+ return $actualApply(bind, $call, args);
38543
+ };
38544
+ return callBindApplyHelpers;
38545
+ }
38378
38546
  var get;
38379
38547
  var hasRequiredGet;
38380
38548
  function requireGet() {
38381
38549
  if (hasRequiredGet)
38382
38550
  return get;
38383
38551
  hasRequiredGet = 1;
38384
- var callBind = callBindApplyHelpers;
38385
- var gOPD2 = gopd;
38552
+ var callBind2 = requireCallBindApplyHelpers();
38553
+ var gOPD2 = requireGopd();
38386
38554
  var hasProtoAccessor;
38387
38555
  try {
38388
38556
  hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
@@ -38397,26 +38565,26 @@ function requireGet() {
38397
38565
  /** @type {keyof typeof Object.prototype} */
38398
38566
  "__proto__"
38399
38567
  );
38400
- var $Object2 = Object;
38401
- var $getPrototypeOf = $Object2.getPrototypeOf;
38402
- get = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? (
38568
+ var $Object = Object;
38569
+ var $getPrototypeOf = $Object.getPrototypeOf;
38570
+ get = desc && typeof desc.get === "function" ? callBind2([desc.get]) : typeof $getPrototypeOf === "function" ? (
38403
38571
  /** @type {import('./get')} */
38404
38572
  function getDunder(value) {
38405
- return $getPrototypeOf(value == null ? value : $Object2(value));
38573
+ return $getPrototypeOf(value == null ? value : $Object(value));
38406
38574
  }
38407
38575
  ) : false;
38408
38576
  return get;
38409
38577
  }
38410
- var getProto$1;
38578
+ var getProto;
38411
38579
  var hasRequiredGetProto;
38412
38580
  function requireGetProto() {
38413
38581
  if (hasRequiredGetProto)
38414
- return getProto$1;
38582
+ return getProto;
38415
38583
  hasRequiredGetProto = 1;
38416
38584
  var reflectGetProto = requireReflect_getPrototypeOf();
38417
38585
  var originalGetProto = requireObject_getPrototypeOf();
38418
38586
  var getDunderProto = requireGet();
38419
- getProto$1 = reflectGetProto ? function getProto2(O) {
38587
+ getProto = reflectGetProto ? function getProto2(O) {
38420
38588
  return reflectGetProto(O);
38421
38589
  } : originalGetProto ? function getProto2(O) {
38422
38590
  if (!O || typeof O !== "object" && typeof O !== "function") {
@@ -38426,7 +38594,7 @@ function requireGetProto() {
38426
38594
  } : getDunderProto ? function getProto2(O) {
38427
38595
  return getDunderProto(O);
38428
38596
  } : null;
38429
- return getProto$1;
38597
+ return getProto;
38430
38598
  }
38431
38599
  var hasown;
38432
38600
  var hasRequiredHasown;
@@ -38436,351 +38604,367 @@ function requireHasown() {
38436
38604
  hasRequiredHasown = 1;
38437
38605
  var call2 = Function.prototype.call;
38438
38606
  var $hasOwn = Object.prototype.hasOwnProperty;
38439
- var bind2 = requireFunctionBind();
38440
- hasown = bind2.call(call2, $hasOwn);
38607
+ var bind = requireFunctionBind();
38608
+ hasown = bind.call(call2, $hasOwn);
38441
38609
  return hasown;
38442
38610
  }
38443
- var undefined$1;
38444
- var $Object = esObjectAtoms;
38445
- var $Error = esErrors;
38446
- var $EvalError = _eval;
38447
- var $RangeError = range$2;
38448
- var $ReferenceError = ref;
38449
- var $SyntaxError = syntax;
38450
- var $TypeError$3 = type;
38451
- var $URIError = uri;
38452
- var abs = abs$1;
38453
- var floor = floor$1;
38454
- var max = max$1;
38455
- var min = min$1;
38456
- var pow = pow$1;
38457
- var round = round$1;
38458
- var sign$2 = sign$3;
38459
- var $Function = Function;
38460
- var getEvalledConstructor = function(expressionSyntax) {
38461
- try {
38462
- return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
38463
- } catch (e) {
38464
- }
38465
- };
38466
- var $gOPD = gopd;
38467
- var $defineProperty = esDefineProperty;
38468
- var throwTypeError = function() {
38469
- throw new $TypeError$3();
38470
- };
38471
- var ThrowTypeError = $gOPD ? function() {
38472
- try {
38473
- arguments.callee;
38474
- return throwTypeError;
38475
- } catch (calleeThrows) {
38611
+ var getIntrinsic;
38612
+ var hasRequiredGetIntrinsic;
38613
+ function requireGetIntrinsic() {
38614
+ if (hasRequiredGetIntrinsic)
38615
+ return getIntrinsic;
38616
+ hasRequiredGetIntrinsic = 1;
38617
+ var undefined$1;
38618
+ var $Object = requireEsObjectAtoms();
38619
+ var $Error = requireEsErrors();
38620
+ var $EvalError = require_eval();
38621
+ var $RangeError = requireRange$2();
38622
+ var $ReferenceError = requireRef();
38623
+ var $SyntaxError = requireSyntax();
38624
+ var $TypeError2 = type;
38625
+ var $URIError = requireUri();
38626
+ var abs2 = requireAbs();
38627
+ var floor2 = requireFloor();
38628
+ var max2 = requireMax();
38629
+ var min2 = requireMin();
38630
+ var pow2 = requirePow();
38631
+ var round2 = requireRound();
38632
+ var sign3 = requireSign();
38633
+ var $Function = Function;
38634
+ var getEvalledConstructor = function(expressionSyntax) {
38476
38635
  try {
38477
- return $gOPD(arguments, "callee").get;
38478
- } catch (gOPDthrows) {
38636
+ return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
38637
+ } catch (e) {
38638
+ }
38639
+ };
38640
+ var $gOPD = requireGopd();
38641
+ var $defineProperty = requireEsDefineProperty();
38642
+ var throwTypeError = function() {
38643
+ throw new $TypeError2();
38644
+ };
38645
+ var ThrowTypeError = $gOPD ? function() {
38646
+ try {
38647
+ arguments.callee;
38479
38648
  return throwTypeError;
38649
+ } catch (calleeThrows) {
38650
+ try {
38651
+ return $gOPD(arguments, "callee").get;
38652
+ } catch (gOPDthrows) {
38653
+ return throwTypeError;
38654
+ }
38655
+ }
38656
+ }() : throwTypeError;
38657
+ var hasSymbols2 = requireHasSymbols()();
38658
+ var getProto2 = requireGetProto();
38659
+ var $ObjectGPO = requireObject_getPrototypeOf();
38660
+ var $ReflectGPO = requireReflect_getPrototypeOf();
38661
+ var $apply = requireFunctionApply();
38662
+ var $call = requireFunctionCall();
38663
+ var needsEval = {};
38664
+ var TypedArray = typeof Uint8Array === "undefined" || !getProto2 ? undefined$1 : getProto2(Uint8Array);
38665
+ var INTRINSICS = {
38666
+ __proto__: null,
38667
+ "%AggregateError%": typeof AggregateError === "undefined" ? undefined$1 : AggregateError,
38668
+ "%Array%": Array,
38669
+ "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$1 : ArrayBuffer,
38670
+ "%ArrayIteratorPrototype%": hasSymbols2 && getProto2 ? getProto2([][Symbol.iterator]()) : undefined$1,
38671
+ "%AsyncFromSyncIteratorPrototype%": undefined$1,
38672
+ "%AsyncFunction%": needsEval,
38673
+ "%AsyncGenerator%": needsEval,
38674
+ "%AsyncGeneratorFunction%": needsEval,
38675
+ "%AsyncIteratorPrototype%": needsEval,
38676
+ "%Atomics%": typeof Atomics === "undefined" ? undefined$1 : Atomics,
38677
+ "%BigInt%": typeof BigInt === "undefined" ? undefined$1 : BigInt,
38678
+ "%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined$1 : BigInt64Array,
38679
+ "%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined$1 : BigUint64Array,
38680
+ "%Boolean%": Boolean,
38681
+ "%DataView%": typeof DataView === "undefined" ? undefined$1 : DataView,
38682
+ "%Date%": Date,
38683
+ "%decodeURI%": decodeURI,
38684
+ "%decodeURIComponent%": decodeURIComponent,
38685
+ "%encodeURI%": encodeURI,
38686
+ "%encodeURIComponent%": encodeURIComponent,
38687
+ "%Error%": $Error,
38688
+ "%eval%": eval,
38689
+ // eslint-disable-line no-eval
38690
+ "%EvalError%": $EvalError,
38691
+ "%Float16Array%": typeof Float16Array === "undefined" ? undefined$1 : Float16Array,
38692
+ "%Float32Array%": typeof Float32Array === "undefined" ? undefined$1 : Float32Array,
38693
+ "%Float64Array%": typeof Float64Array === "undefined" ? undefined$1 : Float64Array,
38694
+ "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$1 : FinalizationRegistry,
38695
+ "%Function%": $Function,
38696
+ "%GeneratorFunction%": needsEval,
38697
+ "%Int8Array%": typeof Int8Array === "undefined" ? undefined$1 : Int8Array,
38698
+ "%Int16Array%": typeof Int16Array === "undefined" ? undefined$1 : Int16Array,
38699
+ "%Int32Array%": typeof Int32Array === "undefined" ? undefined$1 : Int32Array,
38700
+ "%isFinite%": isFinite,
38701
+ "%isNaN%": isNaN,
38702
+ "%IteratorPrototype%": hasSymbols2 && getProto2 ? getProto2(getProto2([][Symbol.iterator]())) : undefined$1,
38703
+ "%JSON%": typeof JSON === "object" ? JSON : undefined$1,
38704
+ "%Map%": typeof Map === "undefined" ? undefined$1 : Map,
38705
+ "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols2 || !getProto2 ? undefined$1 : getProto2((/* @__PURE__ */ new Map())[Symbol.iterator]()),
38706
+ "%Math%": Math,
38707
+ "%Number%": Number,
38708
+ "%Object%": $Object,
38709
+ "%Object.getOwnPropertyDescriptor%": $gOPD,
38710
+ "%parseFloat%": parseFloat,
38711
+ "%parseInt%": parseInt,
38712
+ "%Promise%": typeof Promise === "undefined" ? undefined$1 : Promise,
38713
+ "%Proxy%": typeof Proxy === "undefined" ? undefined$1 : Proxy,
38714
+ "%RangeError%": $RangeError,
38715
+ "%ReferenceError%": $ReferenceError,
38716
+ "%Reflect%": typeof Reflect === "undefined" ? undefined$1 : Reflect,
38717
+ "%RegExp%": RegExp,
38718
+ "%Set%": typeof Set === "undefined" ? undefined$1 : Set,
38719
+ "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols2 || !getProto2 ? undefined$1 : getProto2((/* @__PURE__ */ new Set())[Symbol.iterator]()),
38720
+ "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$1 : SharedArrayBuffer,
38721
+ "%String%": String,
38722
+ "%StringIteratorPrototype%": hasSymbols2 && getProto2 ? getProto2(""[Symbol.iterator]()) : undefined$1,
38723
+ "%Symbol%": hasSymbols2 ? Symbol : undefined$1,
38724
+ "%SyntaxError%": $SyntaxError,
38725
+ "%ThrowTypeError%": ThrowTypeError,
38726
+ "%TypedArray%": TypedArray,
38727
+ "%TypeError%": $TypeError2,
38728
+ "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$1 : Uint8Array,
38729
+ "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$1 : Uint8ClampedArray,
38730
+ "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$1 : Uint16Array,
38731
+ "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$1 : Uint32Array,
38732
+ "%URIError%": $URIError,
38733
+ "%WeakMap%": typeof WeakMap === "undefined" ? undefined$1 : WeakMap,
38734
+ "%WeakRef%": typeof WeakRef === "undefined" ? undefined$1 : WeakRef,
38735
+ "%WeakSet%": typeof WeakSet === "undefined" ? undefined$1 : WeakSet,
38736
+ "%Function.prototype.call%": $call,
38737
+ "%Function.prototype.apply%": $apply,
38738
+ "%Object.defineProperty%": $defineProperty,
38739
+ "%Object.getPrototypeOf%": $ObjectGPO,
38740
+ "%Math.abs%": abs2,
38741
+ "%Math.floor%": floor2,
38742
+ "%Math.max%": max2,
38743
+ "%Math.min%": min2,
38744
+ "%Math.pow%": pow2,
38745
+ "%Math.round%": round2,
38746
+ "%Math.sign%": sign3,
38747
+ "%Reflect.getPrototypeOf%": $ReflectGPO
38748
+ };
38749
+ if (getProto2) {
38750
+ try {
38751
+ null.error;
38752
+ } catch (e) {
38753
+ var errorProto = getProto2(getProto2(e));
38754
+ INTRINSICS["%Error.prototype%"] = errorProto;
38480
38755
  }
38481
38756
  }
38482
- }() : throwTypeError;
38483
- var hasSymbols = requireHasSymbols()();
38484
- var getProto = requireGetProto();
38485
- var $ObjectGPO = requireObject_getPrototypeOf();
38486
- var $ReflectGPO = requireReflect_getPrototypeOf();
38487
- var $apply = requireFunctionApply();
38488
- var $call = requireFunctionCall();
38489
- var needsEval = {};
38490
- var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
38491
- var INTRINSICS = {
38492
- __proto__: null,
38493
- "%AggregateError%": typeof AggregateError === "undefined" ? undefined$1 : AggregateError,
38494
- "%Array%": Array,
38495
- "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$1 : ArrayBuffer,
38496
- "%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined$1,
38497
- "%AsyncFromSyncIteratorPrototype%": undefined$1,
38498
- "%AsyncFunction%": needsEval,
38499
- "%AsyncGenerator%": needsEval,
38500
- "%AsyncGeneratorFunction%": needsEval,
38501
- "%AsyncIteratorPrototype%": needsEval,
38502
- "%Atomics%": typeof Atomics === "undefined" ? undefined$1 : Atomics,
38503
- "%BigInt%": typeof BigInt === "undefined" ? undefined$1 : BigInt,
38504
- "%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined$1 : BigInt64Array,
38505
- "%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined$1 : BigUint64Array,
38506
- "%Boolean%": Boolean,
38507
- "%DataView%": typeof DataView === "undefined" ? undefined$1 : DataView,
38508
- "%Date%": Date,
38509
- "%decodeURI%": decodeURI,
38510
- "%decodeURIComponent%": decodeURIComponent,
38511
- "%encodeURI%": encodeURI,
38512
- "%encodeURIComponent%": encodeURIComponent,
38513
- "%Error%": $Error,
38514
- "%eval%": eval,
38515
- // eslint-disable-line no-eval
38516
- "%EvalError%": $EvalError,
38517
- "%Float16Array%": typeof Float16Array === "undefined" ? undefined$1 : Float16Array,
38518
- "%Float32Array%": typeof Float32Array === "undefined" ? undefined$1 : Float32Array,
38519
- "%Float64Array%": typeof Float64Array === "undefined" ? undefined$1 : Float64Array,
38520
- "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$1 : FinalizationRegistry,
38521
- "%Function%": $Function,
38522
- "%GeneratorFunction%": needsEval,
38523
- "%Int8Array%": typeof Int8Array === "undefined" ? undefined$1 : Int8Array,
38524
- "%Int16Array%": typeof Int16Array === "undefined" ? undefined$1 : Int16Array,
38525
- "%Int32Array%": typeof Int32Array === "undefined" ? undefined$1 : Int32Array,
38526
- "%isFinite%": isFinite,
38527
- "%isNaN%": isNaN,
38528
- "%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
38529
- "%JSON%": typeof JSON === "object" ? JSON : undefined$1,
38530
- "%Map%": typeof Map === "undefined" ? undefined$1 : Map,
38531
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined$1 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
38532
- "%Math%": Math,
38533
- "%Number%": Number,
38534
- "%Object%": $Object,
38535
- "%Object.getOwnPropertyDescriptor%": $gOPD,
38536
- "%parseFloat%": parseFloat,
38537
- "%parseInt%": parseInt,
38538
- "%Promise%": typeof Promise === "undefined" ? undefined$1 : Promise,
38539
- "%Proxy%": typeof Proxy === "undefined" ? undefined$1 : Proxy,
38540
- "%RangeError%": $RangeError,
38541
- "%ReferenceError%": $ReferenceError,
38542
- "%Reflect%": typeof Reflect === "undefined" ? undefined$1 : Reflect,
38543
- "%RegExp%": RegExp,
38544
- "%Set%": typeof Set === "undefined" ? undefined$1 : Set,
38545
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined$1 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
38546
- "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$1 : SharedArrayBuffer,
38547
- "%String%": String,
38548
- "%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined$1,
38549
- "%Symbol%": hasSymbols ? Symbol : undefined$1,
38550
- "%SyntaxError%": $SyntaxError,
38551
- "%ThrowTypeError%": ThrowTypeError,
38552
- "%TypedArray%": TypedArray,
38553
- "%TypeError%": $TypeError$3,
38554
- "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$1 : Uint8Array,
38555
- "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$1 : Uint8ClampedArray,
38556
- "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$1 : Uint16Array,
38557
- "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$1 : Uint32Array,
38558
- "%URIError%": $URIError,
38559
- "%WeakMap%": typeof WeakMap === "undefined" ? undefined$1 : WeakMap,
38560
- "%WeakRef%": typeof WeakRef === "undefined" ? undefined$1 : WeakRef,
38561
- "%WeakSet%": typeof WeakSet === "undefined" ? undefined$1 : WeakSet,
38562
- "%Function.prototype.call%": $call,
38563
- "%Function.prototype.apply%": $apply,
38564
- "%Object.defineProperty%": $defineProperty,
38565
- "%Object.getPrototypeOf%": $ObjectGPO,
38566
- "%Math.abs%": abs,
38567
- "%Math.floor%": floor,
38568
- "%Math.max%": max,
38569
- "%Math.min%": min,
38570
- "%Math.pow%": pow,
38571
- "%Math.round%": round,
38572
- "%Math.sign%": sign$2,
38573
- "%Reflect.getPrototypeOf%": $ReflectGPO
38574
- };
38575
- if (getProto) {
38576
- try {
38577
- null.error;
38578
- } catch (e) {
38579
- var errorProto = getProto(getProto(e));
38580
- INTRINSICS["%Error.prototype%"] = errorProto;
38581
- }
38582
- }
38583
- var doEval = function doEval2(name2) {
38584
- var value;
38585
- if (name2 === "%AsyncFunction%") {
38586
- value = getEvalledConstructor("async function () {}");
38587
- } else if (name2 === "%GeneratorFunction%") {
38588
- value = getEvalledConstructor("function* () {}");
38589
- } else if (name2 === "%AsyncGeneratorFunction%") {
38590
- value = getEvalledConstructor("async function* () {}");
38591
- } else if (name2 === "%AsyncGenerator%") {
38592
- var fn = doEval2("%AsyncGeneratorFunction%");
38593
- if (fn) {
38594
- value = fn.prototype;
38595
- }
38596
- } else if (name2 === "%AsyncIteratorPrototype%") {
38597
- var gen = doEval2("%AsyncGenerator%");
38598
- if (gen && getProto) {
38599
- value = getProto(gen.prototype);
38600
- }
38601
- }
38602
- INTRINSICS[name2] = value;
38603
- return value;
38604
- };
38605
- var LEGACY_ALIASES = {
38606
- __proto__: null,
38607
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
38608
- "%ArrayPrototype%": ["Array", "prototype"],
38609
- "%ArrayProto_entries%": ["Array", "prototype", "entries"],
38610
- "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
38611
- "%ArrayProto_keys%": ["Array", "prototype", "keys"],
38612
- "%ArrayProto_values%": ["Array", "prototype", "values"],
38613
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
38614
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
38615
- "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
38616
- "%BooleanPrototype%": ["Boolean", "prototype"],
38617
- "%DataViewPrototype%": ["DataView", "prototype"],
38618
- "%DatePrototype%": ["Date", "prototype"],
38619
- "%ErrorPrototype%": ["Error", "prototype"],
38620
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
38621
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
38622
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
38623
- "%FunctionPrototype%": ["Function", "prototype"],
38624
- "%Generator%": ["GeneratorFunction", "prototype"],
38625
- "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
38626
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
38627
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
38628
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
38629
- "%JSONParse%": ["JSON", "parse"],
38630
- "%JSONStringify%": ["JSON", "stringify"],
38631
- "%MapPrototype%": ["Map", "prototype"],
38632
- "%NumberPrototype%": ["Number", "prototype"],
38633
- "%ObjectPrototype%": ["Object", "prototype"],
38634
- "%ObjProto_toString%": ["Object", "prototype", "toString"],
38635
- "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
38636
- "%PromisePrototype%": ["Promise", "prototype"],
38637
- "%PromiseProto_then%": ["Promise", "prototype", "then"],
38638
- "%Promise_all%": ["Promise", "all"],
38639
- "%Promise_reject%": ["Promise", "reject"],
38640
- "%Promise_resolve%": ["Promise", "resolve"],
38641
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
38642
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
38643
- "%RegExpPrototype%": ["RegExp", "prototype"],
38644
- "%SetPrototype%": ["Set", "prototype"],
38645
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
38646
- "%StringPrototype%": ["String", "prototype"],
38647
- "%SymbolPrototype%": ["Symbol", "prototype"],
38648
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
38649
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
38650
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
38651
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
38652
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
38653
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
38654
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
38655
- "%URIErrorPrototype%": ["URIError", "prototype"],
38656
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
38657
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
38658
- };
38659
- var bind = requireFunctionBind();
38660
- var hasOwn = requireHasown();
38661
- var $concat = bind.call($call, Array.prototype.concat);
38662
- var $spliceApply = bind.call($apply, Array.prototype.splice);
38663
- var $replace = bind.call($call, String.prototype.replace);
38664
- var $strSlice = bind.call($call, String.prototype.slice);
38665
- var $exec = bind.call($call, RegExp.prototype.exec);
38666
- var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
38667
- var reEscapeChar = /\\(\\)?/g;
38668
- var stringToPath = function stringToPath2(string) {
38669
- var first2 = $strSlice(string, 0, 1);
38670
- var last = $strSlice(string, -1);
38671
- if (first2 === "%" && last !== "%") {
38672
- throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
38673
- } else if (last === "%" && first2 !== "%") {
38674
- throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
38675
- }
38676
- var result = [];
38677
- $replace(string, rePropName, function(match3, number, quote2, subString) {
38678
- result[result.length] = quote2 ? $replace(subString, reEscapeChar, "$1") : number || match3;
38679
- });
38680
- return result;
38681
- };
38682
- var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
38683
- var intrinsicName = name2;
38684
- var alias;
38685
- if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
38686
- alias = LEGACY_ALIASES[intrinsicName];
38687
- intrinsicName = "%" + alias[0] + "%";
38688
- }
38689
- if (hasOwn(INTRINSICS, intrinsicName)) {
38690
- var value = INTRINSICS[intrinsicName];
38691
- if (value === needsEval) {
38692
- value = doEval(intrinsicName);
38693
- }
38694
- if (typeof value === "undefined" && !allowMissing) {
38695
- throw new $TypeError$3("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
38757
+ var doEval = function doEval2(name2) {
38758
+ var value;
38759
+ if (name2 === "%AsyncFunction%") {
38760
+ value = getEvalledConstructor("async function () {}");
38761
+ } else if (name2 === "%GeneratorFunction%") {
38762
+ value = getEvalledConstructor("function* () {}");
38763
+ } else if (name2 === "%AsyncGeneratorFunction%") {
38764
+ value = getEvalledConstructor("async function* () {}");
38765
+ } else if (name2 === "%AsyncGenerator%") {
38766
+ var fn = doEval2("%AsyncGeneratorFunction%");
38767
+ if (fn) {
38768
+ value = fn.prototype;
38769
+ }
38770
+ } else if (name2 === "%AsyncIteratorPrototype%") {
38771
+ var gen = doEval2("%AsyncGenerator%");
38772
+ if (gen && getProto2) {
38773
+ value = getProto2(gen.prototype);
38774
+ }
38775
+ }
38776
+ INTRINSICS[name2] = value;
38777
+ return value;
38778
+ };
38779
+ var LEGACY_ALIASES = {
38780
+ __proto__: null,
38781
+ "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
38782
+ "%ArrayPrototype%": ["Array", "prototype"],
38783
+ "%ArrayProto_entries%": ["Array", "prototype", "entries"],
38784
+ "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
38785
+ "%ArrayProto_keys%": ["Array", "prototype", "keys"],
38786
+ "%ArrayProto_values%": ["Array", "prototype", "values"],
38787
+ "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
38788
+ "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
38789
+ "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
38790
+ "%BooleanPrototype%": ["Boolean", "prototype"],
38791
+ "%DataViewPrototype%": ["DataView", "prototype"],
38792
+ "%DatePrototype%": ["Date", "prototype"],
38793
+ "%ErrorPrototype%": ["Error", "prototype"],
38794
+ "%EvalErrorPrototype%": ["EvalError", "prototype"],
38795
+ "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
38796
+ "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
38797
+ "%FunctionPrototype%": ["Function", "prototype"],
38798
+ "%Generator%": ["GeneratorFunction", "prototype"],
38799
+ "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
38800
+ "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
38801
+ "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
38802
+ "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
38803
+ "%JSONParse%": ["JSON", "parse"],
38804
+ "%JSONStringify%": ["JSON", "stringify"],
38805
+ "%MapPrototype%": ["Map", "prototype"],
38806
+ "%NumberPrototype%": ["Number", "prototype"],
38807
+ "%ObjectPrototype%": ["Object", "prototype"],
38808
+ "%ObjProto_toString%": ["Object", "prototype", "toString"],
38809
+ "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
38810
+ "%PromisePrototype%": ["Promise", "prototype"],
38811
+ "%PromiseProto_then%": ["Promise", "prototype", "then"],
38812
+ "%Promise_all%": ["Promise", "all"],
38813
+ "%Promise_reject%": ["Promise", "reject"],
38814
+ "%Promise_resolve%": ["Promise", "resolve"],
38815
+ "%RangeErrorPrototype%": ["RangeError", "prototype"],
38816
+ "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
38817
+ "%RegExpPrototype%": ["RegExp", "prototype"],
38818
+ "%SetPrototype%": ["Set", "prototype"],
38819
+ "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
38820
+ "%StringPrototype%": ["String", "prototype"],
38821
+ "%SymbolPrototype%": ["Symbol", "prototype"],
38822
+ "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
38823
+ "%TypedArrayPrototype%": ["TypedArray", "prototype"],
38824
+ "%TypeErrorPrototype%": ["TypeError", "prototype"],
38825
+ "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
38826
+ "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
38827
+ "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
38828
+ "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
38829
+ "%URIErrorPrototype%": ["URIError", "prototype"],
38830
+ "%WeakMapPrototype%": ["WeakMap", "prototype"],
38831
+ "%WeakSetPrototype%": ["WeakSet", "prototype"]
38832
+ };
38833
+ var bind = requireFunctionBind();
38834
+ var hasOwn2 = requireHasown();
38835
+ var $concat2 = bind.call($call, Array.prototype.concat);
38836
+ var $spliceApply = bind.call($apply, Array.prototype.splice);
38837
+ var $replace2 = bind.call($call, String.prototype.replace);
38838
+ var $strSlice = bind.call($call, String.prototype.slice);
38839
+ var $exec = bind.call($call, RegExp.prototype.exec);
38840
+ var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
38841
+ var reEscapeChar = /\\(\\)?/g;
38842
+ var stringToPath = function stringToPath2(string) {
38843
+ var first2 = $strSlice(string, 0, 1);
38844
+ var last = $strSlice(string, -1);
38845
+ if (first2 === "%" && last !== "%") {
38846
+ throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
38847
+ } else if (last === "%" && first2 !== "%") {
38848
+ throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
38849
+ }
38850
+ var result = [];
38851
+ $replace2(string, rePropName, function(match3, number, quote2, subString) {
38852
+ result[result.length] = quote2 ? $replace2(subString, reEscapeChar, "$1") : number || match3;
38853
+ });
38854
+ return result;
38855
+ };
38856
+ var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
38857
+ var intrinsicName = name2;
38858
+ var alias;
38859
+ if (hasOwn2(LEGACY_ALIASES, intrinsicName)) {
38860
+ alias = LEGACY_ALIASES[intrinsicName];
38861
+ intrinsicName = "%" + alias[0] + "%";
38696
38862
  }
38697
- return {
38698
- alias,
38699
- name: intrinsicName,
38700
- value
38701
- };
38702
- }
38703
- throw new $SyntaxError("intrinsic " + name2 + " does not exist!");
38704
- };
38705
- var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
38706
- if (typeof name2 !== "string" || name2.length === 0) {
38707
- throw new $TypeError$3("intrinsic name must be a non-empty string");
38708
- }
38709
- if (arguments.length > 1 && typeof allowMissing !== "boolean") {
38710
- throw new $TypeError$3('"allowMissing" argument must be a boolean');
38711
- }
38712
- if ($exec(/^%?[^%]*%?$/, name2) === null) {
38713
- throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
38714
- }
38715
- var parts = stringToPath(name2);
38716
- var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
38717
- var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
38718
- var intrinsicRealName = intrinsic.name;
38719
- var value = intrinsic.value;
38720
- var skipFurtherCaching = false;
38721
- var alias = intrinsic.alias;
38722
- if (alias) {
38723
- intrinsicBaseName = alias[0];
38724
- $spliceApply(parts, $concat([0, 1], alias));
38725
- }
38726
- for (var i = 1, isOwn = true; i < parts.length; i += 1) {
38727
- var part = parts[i];
38728
- var first2 = $strSlice(part, 0, 1);
38729
- var last = $strSlice(part, -1);
38730
- if ((first2 === '"' || first2 === "'" || first2 === "`" || (last === '"' || last === "'" || last === "`")) && first2 !== last) {
38731
- throw new $SyntaxError("property names with quotes must have matching quotes");
38732
- }
38733
- if (part === "constructor" || !isOwn) {
38734
- skipFurtherCaching = true;
38735
- }
38736
- intrinsicBaseName += "." + part;
38737
- intrinsicRealName = "%" + intrinsicBaseName + "%";
38738
- if (hasOwn(INTRINSICS, intrinsicRealName)) {
38739
- value = INTRINSICS[intrinsicRealName];
38740
- } else if (value != null) {
38741
- if (!(part in value)) {
38742
- if (!allowMissing) {
38743
- throw new $TypeError$3("base intrinsic for " + name2 + " exists, but the property is not available.");
38744
- }
38745
- return void 0;
38863
+ if (hasOwn2(INTRINSICS, intrinsicName)) {
38864
+ var value = INTRINSICS[intrinsicName];
38865
+ if (value === needsEval) {
38866
+ value = doEval(intrinsicName);
38867
+ }
38868
+ if (typeof value === "undefined" && !allowMissing) {
38869
+ throw new $TypeError2("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
38746
38870
  }
38747
- if ($gOPD && i + 1 >= parts.length) {
38748
- var desc = $gOPD(value, part);
38749
- isOwn = !!desc;
38750
- if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
38751
- value = desc.get;
38871
+ return {
38872
+ alias,
38873
+ name: intrinsicName,
38874
+ value
38875
+ };
38876
+ }
38877
+ throw new $SyntaxError("intrinsic " + name2 + " does not exist!");
38878
+ };
38879
+ getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
38880
+ if (typeof name2 !== "string" || name2.length === 0) {
38881
+ throw new $TypeError2("intrinsic name must be a non-empty string");
38882
+ }
38883
+ if (arguments.length > 1 && typeof allowMissing !== "boolean") {
38884
+ throw new $TypeError2('"allowMissing" argument must be a boolean');
38885
+ }
38886
+ if ($exec(/^%?[^%]*%?$/, name2) === null) {
38887
+ throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
38888
+ }
38889
+ var parts = stringToPath(name2);
38890
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
38891
+ var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
38892
+ var intrinsicRealName = intrinsic.name;
38893
+ var value = intrinsic.value;
38894
+ var skipFurtherCaching = false;
38895
+ var alias = intrinsic.alias;
38896
+ if (alias) {
38897
+ intrinsicBaseName = alias[0];
38898
+ $spliceApply(parts, $concat2([0, 1], alias));
38899
+ }
38900
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
38901
+ var part = parts[i];
38902
+ var first2 = $strSlice(part, 0, 1);
38903
+ var last = $strSlice(part, -1);
38904
+ if ((first2 === '"' || first2 === "'" || first2 === "`" || (last === '"' || last === "'" || last === "`")) && first2 !== last) {
38905
+ throw new $SyntaxError("property names with quotes must have matching quotes");
38906
+ }
38907
+ if (part === "constructor" || !isOwn) {
38908
+ skipFurtherCaching = true;
38909
+ }
38910
+ intrinsicBaseName += "." + part;
38911
+ intrinsicRealName = "%" + intrinsicBaseName + "%";
38912
+ if (hasOwn2(INTRINSICS, intrinsicRealName)) {
38913
+ value = INTRINSICS[intrinsicRealName];
38914
+ } else if (value != null) {
38915
+ if (!(part in value)) {
38916
+ if (!allowMissing) {
38917
+ throw new $TypeError2("base intrinsic for " + name2 + " exists, but the property is not available.");
38918
+ }
38919
+ return void 0;
38920
+ }
38921
+ if ($gOPD && i + 1 >= parts.length) {
38922
+ var desc = $gOPD(value, part);
38923
+ isOwn = !!desc;
38924
+ if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
38925
+ value = desc.get;
38926
+ } else {
38927
+ value = value[part];
38928
+ }
38752
38929
  } else {
38930
+ isOwn = hasOwn2(value, part);
38753
38931
  value = value[part];
38754
38932
  }
38755
- } else {
38756
- isOwn = hasOwn(value, part);
38757
- value = value[part];
38758
- }
38759
- if (isOwn && !skipFurtherCaching) {
38760
- INTRINSICS[intrinsicRealName] = value;
38933
+ if (isOwn && !skipFurtherCaching) {
38934
+ INTRINSICS[intrinsicRealName] = value;
38935
+ }
38761
38936
  }
38762
38937
  }
38763
- }
38764
- return value;
38765
- };
38766
- var GetIntrinsic$2 = getIntrinsic;
38767
- var callBindBasic2 = callBindApplyHelpers;
38768
- var $indexOf = callBindBasic2([GetIntrinsic$2("%String.prototype.indexOf%")]);
38769
- var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
38770
- var intrinsic = (
38771
- /** @type {(this: unknown, ...args: unknown[]) => unknown} */
38772
- GetIntrinsic$2(name2, !!allowMissing)
38773
- );
38774
- if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
38775
- return callBindBasic2(
38776
- /** @type {const} */
38777
- [intrinsic]
38938
+ return value;
38939
+ };
38940
+ return getIntrinsic;
38941
+ }
38942
+ var callBound$2;
38943
+ var hasRequiredCallBound;
38944
+ function requireCallBound() {
38945
+ if (hasRequiredCallBound)
38946
+ return callBound$2;
38947
+ hasRequiredCallBound = 1;
38948
+ var GetIntrinsic2 = requireGetIntrinsic();
38949
+ var callBindBasic = requireCallBindApplyHelpers();
38950
+ var $indexOf = callBindBasic([GetIntrinsic2("%String.prototype.indexOf%")]);
38951
+ callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
38952
+ var intrinsic = (
38953
+ /** @type {(this: unknown, ...args: unknown[]) => unknown} */
38954
+ GetIntrinsic2(name2, !!allowMissing)
38778
38955
  );
38779
- }
38780
- return intrinsic;
38781
- };
38782
- var GetIntrinsic$1 = getIntrinsic;
38783
- var callBound$1 = callBound$2;
38956
+ if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
38957
+ return callBindBasic(
38958
+ /** @type {const} */
38959
+ [intrinsic]
38960
+ );
38961
+ }
38962
+ return intrinsic;
38963
+ };
38964
+ return callBound$2;
38965
+ }
38966
+ var GetIntrinsic$1 = requireGetIntrinsic();
38967
+ var callBound$1 = requireCallBound();
38784
38968
  var inspect$2 = objectInspect;
38785
38969
  var $TypeError$2 = type;
38786
38970
  var $Map = GetIntrinsic$1("%Map%", true);
@@ -38828,12 +39012,12 @@ function getSideChannelMap() {
38828
39012
  };
38829
39013
  return channel;
38830
39014
  };
38831
- var GetIntrinsic2 = getIntrinsic;
38832
- var callBound = callBound$2;
39015
+ var GetIntrinsic = requireGetIntrinsic();
39016
+ var callBound = requireCallBound();
38833
39017
  var inspect$1 = objectInspect;
38834
39018
  var getSideChannelMap$1 = sideChannelMap;
38835
39019
  var $TypeError$1 = type;
38836
- var $WeakMap = GetIntrinsic2("%WeakMap%", true);
39020
+ var $WeakMap = GetIntrinsic("%WeakMap%", true);
38837
39021
  var $weakMapGet = callBound("WeakMap.prototype.get", true);
38838
39022
  var $weakMapSet = callBound("WeakMap.prototype.set", true);
38839
39023
  var $weakMapHas = callBound("WeakMap.prototype.has", true);
@@ -39033,7 +39217,7 @@ var assign = function assignSingleSource(target, source) {
39033
39217
  return acc;
39034
39218
  }, target);
39035
39219
  };
39036
- var decode$4 = function(str, defaultDecoder, charset4) {
39220
+ var decode$5 = function(str, defaultDecoder, charset4) {
39037
39221
  var strWithoutPlus = str.replace(/\+/g, " ");
39038
39222
  if (charset4 === "iso-8859-1") {
39039
39223
  return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
@@ -39045,7 +39229,7 @@ var decode$4 = function(str, defaultDecoder, charset4) {
39045
39229
  }
39046
39230
  };
39047
39231
  var limit = 1024;
39048
- var encode = function encode2(str, defaultEncoder, charset4, kind, format2) {
39232
+ var encode$1 = function encode(str, defaultEncoder, charset4, kind, format2) {
39049
39233
  if (str.length === 0) {
39050
39234
  return str;
39051
39235
  }
@@ -39136,8 +39320,8 @@ var utils$3 = {
39136
39320
  assign,
39137
39321
  combine,
39138
39322
  compact,
39139
- decode: decode$4,
39140
- encode,
39323
+ decode: decode$5,
39324
+ encode: encode$1,
39141
39325
  isBuffer,
39142
39326
  isRegExp,
39143
39327
  maybeMap,
@@ -39901,13 +40085,792 @@ function escapeHtml$3(string) {
39901
40085
  return lastIndex !== index ? html + str.substring(lastIndex, index) : html;
39902
40086
  }
39903
40087
  var parseurl$1 = { exports: {} };
40088
+ var url$1 = {};
40089
+ var punycode$1 = { exports: {} };
40090
+ /*! https://mths.be/punycode v1.3.2 by @mathias */
40091
+ punycode$1.exports;
40092
+ (function(module, exports) {
40093
+ (function(root) {
40094
+ var freeExports = exports && !exports.nodeType && exports;
40095
+ var freeModule = module && !module.nodeType && module;
40096
+ var freeGlobal = typeof commonjsGlobal == "object" && commonjsGlobal;
40097
+ if (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal || freeGlobal.self === freeGlobal) {
40098
+ root = freeGlobal;
40099
+ }
40100
+ var punycode2, maxInt = 2147483647, base = 36, tMin = 1, tMax = 26, skew = 38, damp = 700, initialBias = 72, initialN = 128, delimiter = "-", regexPunycode = /^xn--/, regexNonASCII = /[^\x20-\x7E]/, regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g, errors = {
40101
+ "overflow": "Overflow: input needs wider integers to process",
40102
+ "not-basic": "Illegal input >= 0x80 (not a basic code point)",
40103
+ "invalid-input": "Invalid input"
40104
+ }, baseMinusTMin = base - tMin, floor2 = Math.floor, stringFromCharCode = String.fromCharCode, key;
40105
+ function error3(type3) {
40106
+ throw RangeError(errors[type3]);
40107
+ }
40108
+ function map2(array, fn) {
40109
+ var length = array.length;
40110
+ var result = [];
40111
+ while (length--) {
40112
+ result[length] = fn(array[length]);
40113
+ }
40114
+ return result;
40115
+ }
40116
+ function mapDomain(string, fn) {
40117
+ var parts = string.split("@");
40118
+ var result = "";
40119
+ if (parts.length > 1) {
40120
+ result = parts[0] + "@";
40121
+ string = parts[1];
40122
+ }
40123
+ string = string.replace(regexSeparators, ".");
40124
+ var labels = string.split(".");
40125
+ var encoded = map2(labels, fn).join(".");
40126
+ return result + encoded;
40127
+ }
40128
+ function ucs2decode(string) {
40129
+ var output = [], counter = 0, length = string.length, value, extra;
40130
+ while (counter < length) {
40131
+ value = string.charCodeAt(counter++);
40132
+ if (value >= 55296 && value <= 56319 && counter < length) {
40133
+ extra = string.charCodeAt(counter++);
40134
+ if ((extra & 64512) == 56320) {
40135
+ output.push(((value & 1023) << 10) + (extra & 1023) + 65536);
40136
+ } else {
40137
+ output.push(value);
40138
+ counter--;
40139
+ }
40140
+ } else {
40141
+ output.push(value);
40142
+ }
40143
+ }
40144
+ return output;
40145
+ }
40146
+ function ucs2encode(array) {
40147
+ return map2(array, function(value) {
40148
+ var output = "";
40149
+ if (value > 65535) {
40150
+ value -= 65536;
40151
+ output += stringFromCharCode(value >>> 10 & 1023 | 55296);
40152
+ value = 56320 | value & 1023;
40153
+ }
40154
+ output += stringFromCharCode(value);
40155
+ return output;
40156
+ }).join("");
40157
+ }
40158
+ function basicToDigit(codePoint) {
40159
+ if (codePoint - 48 < 10) {
40160
+ return codePoint - 22;
40161
+ }
40162
+ if (codePoint - 65 < 26) {
40163
+ return codePoint - 65;
40164
+ }
40165
+ if (codePoint - 97 < 26) {
40166
+ return codePoint - 97;
40167
+ }
40168
+ return base;
40169
+ }
40170
+ function digitToBasic(digit, flag) {
40171
+ return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);
40172
+ }
40173
+ function adapt(delta, numPoints, firstTime) {
40174
+ var k = 0;
40175
+ delta = firstTime ? floor2(delta / damp) : delta >> 1;
40176
+ delta += floor2(delta / numPoints);
40177
+ for (; delta > baseMinusTMin * tMax >> 1; k += base) {
40178
+ delta = floor2(delta / baseMinusTMin);
40179
+ }
40180
+ return floor2(k + (baseMinusTMin + 1) * delta / (delta + skew));
40181
+ }
40182
+ function decode2(input) {
40183
+ var output = [], inputLength = input.length, out, i = 0, n = initialN, bias = initialBias, basic, j, index, oldi, w2, k, digit, t2, baseMinusT;
40184
+ basic = input.lastIndexOf(delimiter);
40185
+ if (basic < 0) {
40186
+ basic = 0;
40187
+ }
40188
+ for (j = 0; j < basic; ++j) {
40189
+ if (input.charCodeAt(j) >= 128) {
40190
+ error3("not-basic");
40191
+ }
40192
+ output.push(input.charCodeAt(j));
40193
+ }
40194
+ for (index = basic > 0 ? basic + 1 : 0; index < inputLength; ) {
40195
+ for (oldi = i, w2 = 1, k = base; ; k += base) {
40196
+ if (index >= inputLength) {
40197
+ error3("invalid-input");
40198
+ }
40199
+ digit = basicToDigit(input.charCodeAt(index++));
40200
+ if (digit >= base || digit > floor2((maxInt - i) / w2)) {
40201
+ error3("overflow");
40202
+ }
40203
+ i += digit * w2;
40204
+ t2 = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
40205
+ if (digit < t2) {
40206
+ break;
40207
+ }
40208
+ baseMinusT = base - t2;
40209
+ if (w2 > floor2(maxInt / baseMinusT)) {
40210
+ error3("overflow");
40211
+ }
40212
+ w2 *= baseMinusT;
40213
+ }
40214
+ out = output.length + 1;
40215
+ bias = adapt(i - oldi, out, oldi == 0);
40216
+ if (floor2(i / out) > maxInt - n) {
40217
+ error3("overflow");
40218
+ }
40219
+ n += floor2(i / out);
40220
+ i %= out;
40221
+ output.splice(i++, 0, n);
40222
+ }
40223
+ return ucs2encode(output);
40224
+ }
40225
+ function encode3(input) {
40226
+ var n, delta, handledCPCount, basicLength, bias, j, m2, q, k, t2, currentValue, output = [], inputLength, handledCPCountPlusOne, baseMinusT, qMinusT;
40227
+ input = ucs2decode(input);
40228
+ inputLength = input.length;
40229
+ n = initialN;
40230
+ delta = 0;
40231
+ bias = initialBias;
40232
+ for (j = 0; j < inputLength; ++j) {
40233
+ currentValue = input[j];
40234
+ if (currentValue < 128) {
40235
+ output.push(stringFromCharCode(currentValue));
40236
+ }
40237
+ }
40238
+ handledCPCount = basicLength = output.length;
40239
+ if (basicLength) {
40240
+ output.push(delimiter);
40241
+ }
40242
+ while (handledCPCount < inputLength) {
40243
+ for (m2 = maxInt, j = 0; j < inputLength; ++j) {
40244
+ currentValue = input[j];
40245
+ if (currentValue >= n && currentValue < m2) {
40246
+ m2 = currentValue;
40247
+ }
40248
+ }
40249
+ handledCPCountPlusOne = handledCPCount + 1;
40250
+ if (m2 - n > floor2((maxInt - delta) / handledCPCountPlusOne)) {
40251
+ error3("overflow");
40252
+ }
40253
+ delta += (m2 - n) * handledCPCountPlusOne;
40254
+ n = m2;
40255
+ for (j = 0; j < inputLength; ++j) {
40256
+ currentValue = input[j];
40257
+ if (currentValue < n && ++delta > maxInt) {
40258
+ error3("overflow");
40259
+ }
40260
+ if (currentValue == n) {
40261
+ for (q = delta, k = base; ; k += base) {
40262
+ t2 = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
40263
+ if (q < t2) {
40264
+ break;
40265
+ }
40266
+ qMinusT = q - t2;
40267
+ baseMinusT = base - t2;
40268
+ output.push(
40269
+ stringFromCharCode(digitToBasic(t2 + qMinusT % baseMinusT, 0))
40270
+ );
40271
+ q = floor2(qMinusT / baseMinusT);
40272
+ }
40273
+ output.push(stringFromCharCode(digitToBasic(q, 0)));
40274
+ bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);
40275
+ delta = 0;
40276
+ ++handledCPCount;
40277
+ }
40278
+ }
40279
+ ++delta;
40280
+ ++n;
40281
+ }
40282
+ return output.join("");
40283
+ }
40284
+ function toUnicode(input) {
40285
+ return mapDomain(input, function(string) {
40286
+ return regexPunycode.test(string) ? decode2(string.slice(4).toLowerCase()) : string;
40287
+ });
40288
+ }
40289
+ function toASCII(input) {
40290
+ return mapDomain(input, function(string) {
40291
+ return regexNonASCII.test(string) ? "xn--" + encode3(string) : string;
40292
+ });
40293
+ }
40294
+ punycode2 = {
40295
+ /**
40296
+ * A string representing the current Punycode.js version number.
40297
+ * @memberOf punycode
40298
+ * @type String
40299
+ */
40300
+ "version": "1.3.2",
40301
+ /**
40302
+ * An object of methods to convert from JavaScript's internal character
40303
+ * representation (UCS-2) to Unicode code points, and back.
40304
+ * @see <https://mathiasbynens.be/notes/javascript-encoding>
40305
+ * @memberOf punycode
40306
+ * @type Object
40307
+ */
40308
+ "ucs2": {
40309
+ "decode": ucs2decode,
40310
+ "encode": ucs2encode
40311
+ },
40312
+ "decode": decode2,
40313
+ "encode": encode3,
40314
+ "toASCII": toASCII,
40315
+ "toUnicode": toUnicode
40316
+ };
40317
+ if (freeExports && freeModule) {
40318
+ if (module.exports == freeExports) {
40319
+ freeModule.exports = punycode2;
40320
+ } else {
40321
+ for (key in punycode2) {
40322
+ punycode2.hasOwnProperty(key) && (freeExports[key] = punycode2[key]);
40323
+ }
40324
+ }
40325
+ } else {
40326
+ root.punycode = punycode2;
40327
+ }
40328
+ })(commonjsGlobal);
40329
+ })(punycode$1, punycode$1.exports);
40330
+ var punycodeExports = punycode$1.exports;
40331
+ var querystring$1 = {};
40332
+ function hasOwnProperty$3(obj, prop) {
40333
+ return Object.prototype.hasOwnProperty.call(obj, prop);
40334
+ }
40335
+ var decode$4 = function(qs, sep2, eq2, options) {
40336
+ sep2 = sep2 || "&";
40337
+ eq2 = eq2 || "=";
40338
+ var obj = {};
40339
+ if (typeof qs !== "string" || qs.length === 0) {
40340
+ return obj;
40341
+ }
40342
+ var regexp = /\+/g;
40343
+ qs = qs.split(sep2);
40344
+ var maxKeys = 1e3;
40345
+ if (options && typeof options.maxKeys === "number") {
40346
+ maxKeys = options.maxKeys;
40347
+ }
40348
+ var len = qs.length;
40349
+ if (maxKeys > 0 && len > maxKeys) {
40350
+ len = maxKeys;
40351
+ }
40352
+ for (var i = 0; i < len; ++i) {
40353
+ var x = qs[i].replace(regexp, "%20"), idx = x.indexOf(eq2), kstr, vstr, k, v;
40354
+ if (idx >= 0) {
40355
+ kstr = x.substr(0, idx);
40356
+ vstr = x.substr(idx + 1);
40357
+ } else {
40358
+ kstr = x;
40359
+ vstr = "";
40360
+ }
40361
+ k = decodeURIComponent(kstr);
40362
+ v = decodeURIComponent(vstr);
40363
+ if (!hasOwnProperty$3(obj, k)) {
40364
+ obj[k] = v;
40365
+ } else if (Array.isArray(obj[k])) {
40366
+ obj[k].push(v);
40367
+ } else {
40368
+ obj[k] = [obj[k], v];
40369
+ }
40370
+ }
40371
+ return obj;
40372
+ };
40373
+ var stringifyPrimitive = function(v) {
40374
+ switch (typeof v) {
40375
+ case "string":
40376
+ return v;
40377
+ case "boolean":
40378
+ return v ? "true" : "false";
40379
+ case "number":
40380
+ return isFinite(v) ? v : "";
40381
+ default:
40382
+ return "";
40383
+ }
40384
+ };
40385
+ var encode2 = function(obj, sep2, eq2, name2) {
40386
+ sep2 = sep2 || "&";
40387
+ eq2 = eq2 || "=";
40388
+ if (obj === null) {
40389
+ obj = void 0;
40390
+ }
40391
+ if (typeof obj === "object") {
40392
+ return Object.keys(obj).map(function(k) {
40393
+ var ks = encodeURIComponent(stringifyPrimitive(k)) + eq2;
40394
+ if (Array.isArray(obj[k])) {
40395
+ return obj[k].map(function(v) {
40396
+ return ks + encodeURIComponent(stringifyPrimitive(v));
40397
+ }).join(sep2);
40398
+ } else {
40399
+ return ks + encodeURIComponent(stringifyPrimitive(obj[k]));
40400
+ }
40401
+ }).join(sep2);
40402
+ }
40403
+ if (!name2)
40404
+ return "";
40405
+ return encodeURIComponent(stringifyPrimitive(name2)) + eq2 + encodeURIComponent(stringifyPrimitive(obj));
40406
+ };
40407
+ querystring$1.decode = querystring$1.parse = decode$4;
40408
+ querystring$1.encode = querystring$1.stringify = encode2;
40409
+ var punycode = punycodeExports;
40410
+ url$1.parse = urlParse;
40411
+ url$1.resolve = urlResolve;
40412
+ url$1.resolveObject = urlResolveObject;
40413
+ url$1.format = urlFormat;
40414
+ url$1.Url = Url$1;
40415
+ function Url$1() {
40416
+ this.protocol = null;
40417
+ this.slashes = null;
40418
+ this.auth = null;
40419
+ this.host = null;
40420
+ this.port = null;
40421
+ this.hostname = null;
40422
+ this.hash = null;
40423
+ this.search = null;
40424
+ this.query = null;
40425
+ this.pathname = null;
40426
+ this.path = null;
40427
+ this.href = null;
40428
+ }
40429
+ var protocolPattern = /^([a-z0-9.+-]+:)/i, portPattern = /:[0-9]*$/, delims = ["<", ">", '"', "`", " ", "\r", "\n", " "], unwise = ["{", "}", "|", "\\", "^", "`"].concat(delims), autoEscape = ["'"].concat(unwise), nonHostChars = ["%", "/", "?", ";", "#"].concat(autoEscape), hostEndingChars = ["/", "?", "#"], hostnameMaxLen = 255, hostnamePartPattern = /^[a-z0-9A-Z_-]{0,63}$/, hostnamePartStart = /^([a-z0-9A-Z_-]{0,63})(.*)$/, unsafeProtocol = {
40430
+ "javascript": true,
40431
+ "javascript:": true
40432
+ }, hostlessProtocol = {
40433
+ "javascript": true,
40434
+ "javascript:": true
40435
+ }, slashedProtocol = {
40436
+ "http": true,
40437
+ "https": true,
40438
+ "ftp": true,
40439
+ "gopher": true,
40440
+ "file": true,
40441
+ "http:": true,
40442
+ "https:": true,
40443
+ "ftp:": true,
40444
+ "gopher:": true,
40445
+ "file:": true
40446
+ }, querystring = querystring$1;
40447
+ function urlParse(url2, parseQueryString, slashesDenoteHost) {
40448
+ if (url2 && isObject$4(url2) && url2 instanceof Url$1)
40449
+ return url2;
40450
+ var u = new Url$1();
40451
+ u.parse(url2, parseQueryString, slashesDenoteHost);
40452
+ return u;
40453
+ }
40454
+ Url$1.prototype.parse = function(url2, parseQueryString, slashesDenoteHost) {
40455
+ if (!isString$3(url2)) {
40456
+ throw new TypeError("Parameter 'url' must be a string, not " + typeof url2);
40457
+ }
40458
+ var rest = url2;
40459
+ rest = rest.trim();
40460
+ var proto = protocolPattern.exec(rest);
40461
+ if (proto) {
40462
+ proto = proto[0];
40463
+ var lowerProto = proto.toLowerCase();
40464
+ this.protocol = lowerProto;
40465
+ rest = rest.substr(proto.length);
40466
+ }
40467
+ if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) {
40468
+ var slashes = rest.substr(0, 2) === "//";
40469
+ if (slashes && !(proto && hostlessProtocol[proto])) {
40470
+ rest = rest.substr(2);
40471
+ this.slashes = true;
40472
+ }
40473
+ }
40474
+ if (!hostlessProtocol[proto] && (slashes || proto && !slashedProtocol[proto])) {
40475
+ var hostEnd = -1;
40476
+ for (var i = 0; i < hostEndingChars.length; i++) {
40477
+ var hec = rest.indexOf(hostEndingChars[i]);
40478
+ if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
40479
+ hostEnd = hec;
40480
+ }
40481
+ var auth2, atSign;
40482
+ if (hostEnd === -1) {
40483
+ atSign = rest.lastIndexOf("@");
40484
+ } else {
40485
+ atSign = rest.lastIndexOf("@", hostEnd);
40486
+ }
40487
+ if (atSign !== -1) {
40488
+ auth2 = rest.slice(0, atSign);
40489
+ rest = rest.slice(atSign + 1);
40490
+ this.auth = decodeURIComponent(auth2);
40491
+ }
40492
+ hostEnd = -1;
40493
+ for (var i = 0; i < nonHostChars.length; i++) {
40494
+ var hec = rest.indexOf(nonHostChars[i]);
40495
+ if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
40496
+ hostEnd = hec;
40497
+ }
40498
+ if (hostEnd === -1)
40499
+ hostEnd = rest.length;
40500
+ this.host = rest.slice(0, hostEnd);
40501
+ rest = rest.slice(hostEnd);
40502
+ this.parseHost();
40503
+ this.hostname = this.hostname || "";
40504
+ var ipv6Hostname = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
40505
+ if (!ipv6Hostname) {
40506
+ var hostparts = this.hostname.split(/\./);
40507
+ for (var i = 0, l = hostparts.length; i < l; i++) {
40508
+ var part = hostparts[i];
40509
+ if (!part)
40510
+ continue;
40511
+ if (!part.match(hostnamePartPattern)) {
40512
+ var newpart = "";
40513
+ for (var j = 0, k = part.length; j < k; j++) {
40514
+ if (part.charCodeAt(j) > 127) {
40515
+ newpart += "x";
40516
+ } else {
40517
+ newpart += part[j];
40518
+ }
40519
+ }
40520
+ if (!newpart.match(hostnamePartPattern)) {
40521
+ var validParts = hostparts.slice(0, i);
40522
+ var notHost = hostparts.slice(i + 1);
40523
+ var bit = part.match(hostnamePartStart);
40524
+ if (bit) {
40525
+ validParts.push(bit[1]);
40526
+ notHost.unshift(bit[2]);
40527
+ }
40528
+ if (notHost.length) {
40529
+ rest = "/" + notHost.join(".") + rest;
40530
+ }
40531
+ this.hostname = validParts.join(".");
40532
+ break;
40533
+ }
40534
+ }
40535
+ }
40536
+ }
40537
+ if (this.hostname.length > hostnameMaxLen) {
40538
+ this.hostname = "";
40539
+ } else {
40540
+ this.hostname = this.hostname.toLowerCase();
40541
+ }
40542
+ if (!ipv6Hostname) {
40543
+ var domainArray = this.hostname.split(".");
40544
+ var newOut = [];
40545
+ for (var i = 0; i < domainArray.length; ++i) {
40546
+ var s2 = domainArray[i];
40547
+ newOut.push(s2.match(/[^A-Za-z0-9_-]/) ? "xn--" + punycode.encode(s2) : s2);
40548
+ }
40549
+ this.hostname = newOut.join(".");
40550
+ }
40551
+ var p = this.port ? ":" + this.port : "";
40552
+ var h2 = this.hostname || "";
40553
+ this.host = h2 + p;
40554
+ this.href += this.host;
40555
+ if (ipv6Hostname) {
40556
+ this.hostname = this.hostname.substr(1, this.hostname.length - 2);
40557
+ if (rest[0] !== "/") {
40558
+ rest = "/" + rest;
40559
+ }
40560
+ }
40561
+ }
40562
+ if (!unsafeProtocol[lowerProto]) {
40563
+ for (var i = 0, l = autoEscape.length; i < l; i++) {
40564
+ var ae = autoEscape[i];
40565
+ var esc = encodeURIComponent(ae);
40566
+ if (esc === ae) {
40567
+ esc = escape(ae);
40568
+ }
40569
+ rest = rest.split(ae).join(esc);
40570
+ }
40571
+ }
40572
+ var hash = rest.indexOf("#");
40573
+ if (hash !== -1) {
40574
+ this.hash = rest.substr(hash);
40575
+ rest = rest.slice(0, hash);
40576
+ }
40577
+ var qm = rest.indexOf("?");
40578
+ if (qm !== -1) {
40579
+ this.search = rest.substr(qm);
40580
+ this.query = rest.substr(qm + 1);
40581
+ if (parseQueryString) {
40582
+ this.query = querystring.parse(this.query);
40583
+ }
40584
+ rest = rest.slice(0, qm);
40585
+ } else if (parseQueryString) {
40586
+ this.search = "";
40587
+ this.query = {};
40588
+ }
40589
+ if (rest)
40590
+ this.pathname = rest;
40591
+ if (slashedProtocol[lowerProto] && this.hostname && !this.pathname) {
40592
+ this.pathname = "/";
40593
+ }
40594
+ if (this.pathname || this.search) {
40595
+ var p = this.pathname || "";
40596
+ var s2 = this.search || "";
40597
+ this.path = p + s2;
40598
+ }
40599
+ this.href = this.format();
40600
+ return this;
40601
+ };
40602
+ function urlFormat(obj) {
40603
+ if (isString$3(obj))
40604
+ obj = urlParse(obj);
40605
+ if (!(obj instanceof Url$1))
40606
+ return Url$1.prototype.format.call(obj);
40607
+ return obj.format();
40608
+ }
40609
+ Url$1.prototype.format = function() {
40610
+ var auth2 = this.auth || "";
40611
+ if (auth2) {
40612
+ auth2 = encodeURIComponent(auth2);
40613
+ auth2 = auth2.replace(/%3A/i, ":");
40614
+ auth2 += "@";
40615
+ }
40616
+ var protocol2 = this.protocol || "", pathname = this.pathname || "", hash = this.hash || "", host2 = false, query2 = "";
40617
+ if (this.host) {
40618
+ host2 = auth2 + this.host;
40619
+ } else if (this.hostname) {
40620
+ host2 = auth2 + (this.hostname.indexOf(":") === -1 ? this.hostname : "[" + this.hostname + "]");
40621
+ if (this.port) {
40622
+ host2 += ":" + this.port;
40623
+ }
40624
+ }
40625
+ if (this.query && isObject$4(this.query) && Object.keys(this.query).length) {
40626
+ query2 = querystring.stringify(this.query);
40627
+ }
40628
+ var search = this.search || query2 && "?" + query2 || "";
40629
+ if (protocol2 && protocol2.substr(-1) !== ":")
40630
+ protocol2 += ":";
40631
+ if (this.slashes || (!protocol2 || slashedProtocol[protocol2]) && host2 !== false) {
40632
+ host2 = "//" + (host2 || "");
40633
+ if (pathname && pathname.charAt(0) !== "/")
40634
+ pathname = "/" + pathname;
40635
+ } else if (!host2) {
40636
+ host2 = "";
40637
+ }
40638
+ if (hash && hash.charAt(0) !== "#")
40639
+ hash = "#" + hash;
40640
+ if (search && search.charAt(0) !== "?")
40641
+ search = "?" + search;
40642
+ pathname = pathname.replace(/[?#]/g, function(match3) {
40643
+ return encodeURIComponent(match3);
40644
+ });
40645
+ search = search.replace("#", "%23");
40646
+ return protocol2 + host2 + pathname + search + hash;
40647
+ };
40648
+ function urlResolve(source, relative) {
40649
+ return urlParse(source, false, true).resolve(relative);
40650
+ }
40651
+ Url$1.prototype.resolve = function(relative) {
40652
+ return this.resolveObject(urlParse(relative, false, true)).format();
40653
+ };
40654
+ function urlResolveObject(source, relative) {
40655
+ if (!source)
40656
+ return relative;
40657
+ return urlParse(source, false, true).resolveObject(relative);
40658
+ }
40659
+ Url$1.prototype.resolveObject = function(relative) {
40660
+ if (isString$3(relative)) {
40661
+ var rel = new Url$1();
40662
+ rel.parse(relative, false, true);
40663
+ relative = rel;
40664
+ }
40665
+ var result = new Url$1();
40666
+ Object.keys(this).forEach(function(k) {
40667
+ result[k] = this[k];
40668
+ }, this);
40669
+ result.hash = relative.hash;
40670
+ if (relative.href === "") {
40671
+ result.href = result.format();
40672
+ return result;
40673
+ }
40674
+ if (relative.slashes && !relative.protocol) {
40675
+ Object.keys(relative).forEach(function(k) {
40676
+ if (k !== "protocol")
40677
+ result[k] = relative[k];
40678
+ });
40679
+ if (slashedProtocol[result.protocol] && result.hostname && !result.pathname) {
40680
+ result.path = result.pathname = "/";
40681
+ }
40682
+ result.href = result.format();
40683
+ return result;
40684
+ }
40685
+ if (relative.protocol && relative.protocol !== result.protocol) {
40686
+ if (!slashedProtocol[relative.protocol]) {
40687
+ Object.keys(relative).forEach(function(k) {
40688
+ result[k] = relative[k];
40689
+ });
40690
+ result.href = result.format();
40691
+ return result;
40692
+ }
40693
+ result.protocol = relative.protocol;
40694
+ if (!relative.host && !hostlessProtocol[relative.protocol]) {
40695
+ var relPath = (relative.pathname || "").split("/");
40696
+ while (relPath.length && !(relative.host = relPath.shift()))
40697
+ ;
40698
+ if (!relative.host)
40699
+ relative.host = "";
40700
+ if (!relative.hostname)
40701
+ relative.hostname = "";
40702
+ if (relPath[0] !== "")
40703
+ relPath.unshift("");
40704
+ if (relPath.length < 2)
40705
+ relPath.unshift("");
40706
+ result.pathname = relPath.join("/");
40707
+ } else {
40708
+ result.pathname = relative.pathname;
40709
+ }
40710
+ result.search = relative.search;
40711
+ result.query = relative.query;
40712
+ result.host = relative.host || "";
40713
+ result.auth = relative.auth;
40714
+ result.hostname = relative.hostname || relative.host;
40715
+ result.port = relative.port;
40716
+ if (result.pathname || result.search) {
40717
+ var p = result.pathname || "";
40718
+ var s2 = result.search || "";
40719
+ result.path = p + s2;
40720
+ }
40721
+ result.slashes = result.slashes || relative.slashes;
40722
+ result.href = result.format();
40723
+ return result;
40724
+ }
40725
+ var isSourceAbs = result.pathname && result.pathname.charAt(0) === "/", isRelAbs = relative.host || relative.pathname && relative.pathname.charAt(0) === "/", mustEndAbs = isRelAbs || isSourceAbs || result.host && relative.pathname, removeAllDots = mustEndAbs, srcPath = result.pathname && result.pathname.split("/") || [], relPath = relative.pathname && relative.pathname.split("/") || [], psychotic = result.protocol && !slashedProtocol[result.protocol];
40726
+ if (psychotic) {
40727
+ result.hostname = "";
40728
+ result.port = null;
40729
+ if (result.host) {
40730
+ if (srcPath[0] === "")
40731
+ srcPath[0] = result.host;
40732
+ else
40733
+ srcPath.unshift(result.host);
40734
+ }
40735
+ result.host = "";
40736
+ if (relative.protocol) {
40737
+ relative.hostname = null;
40738
+ relative.port = null;
40739
+ if (relative.host) {
40740
+ if (relPath[0] === "")
40741
+ relPath[0] = relative.host;
40742
+ else
40743
+ relPath.unshift(relative.host);
40744
+ }
40745
+ relative.host = null;
40746
+ }
40747
+ mustEndAbs = mustEndAbs && (relPath[0] === "" || srcPath[0] === "");
40748
+ }
40749
+ if (isRelAbs) {
40750
+ result.host = relative.host || relative.host === "" ? relative.host : result.host;
40751
+ result.hostname = relative.hostname || relative.hostname === "" ? relative.hostname : result.hostname;
40752
+ result.search = relative.search;
40753
+ result.query = relative.query;
40754
+ srcPath = relPath;
40755
+ } else if (relPath.length) {
40756
+ if (!srcPath)
40757
+ srcPath = [];
40758
+ srcPath.pop();
40759
+ srcPath = srcPath.concat(relPath);
40760
+ result.search = relative.search;
40761
+ result.query = relative.query;
40762
+ } else if (!isNullOrUndefined(relative.search)) {
40763
+ if (psychotic) {
40764
+ result.hostname = result.host = srcPath.shift();
40765
+ var authInHost = result.host && result.host.indexOf("@") > 0 ? result.host.split("@") : false;
40766
+ if (authInHost) {
40767
+ result.auth = authInHost.shift();
40768
+ result.host = result.hostname = authInHost.shift();
40769
+ }
40770
+ }
40771
+ result.search = relative.search;
40772
+ result.query = relative.query;
40773
+ if (!isNull(result.pathname) || !isNull(result.search)) {
40774
+ result.path = (result.pathname ? result.pathname : "") + (result.search ? result.search : "");
40775
+ }
40776
+ result.href = result.format();
40777
+ return result;
40778
+ }
40779
+ if (!srcPath.length) {
40780
+ result.pathname = null;
40781
+ if (result.search) {
40782
+ result.path = "/" + result.search;
40783
+ } else {
40784
+ result.path = null;
40785
+ }
40786
+ result.href = result.format();
40787
+ return result;
40788
+ }
40789
+ var last = srcPath.slice(-1)[0];
40790
+ var hasTrailingSlash2 = (result.host || relative.host) && (last === "." || last === "..") || last === "";
40791
+ var up2 = 0;
40792
+ for (var i = srcPath.length; i >= 0; i--) {
40793
+ last = srcPath[i];
40794
+ if (last == ".") {
40795
+ srcPath.splice(i, 1);
40796
+ } else if (last === "..") {
40797
+ srcPath.splice(i, 1);
40798
+ up2++;
40799
+ } else if (up2) {
40800
+ srcPath.splice(i, 1);
40801
+ up2--;
40802
+ }
40803
+ }
40804
+ if (!mustEndAbs && !removeAllDots) {
40805
+ for (; up2--; up2) {
40806
+ srcPath.unshift("..");
40807
+ }
40808
+ }
40809
+ if (mustEndAbs && srcPath[0] !== "" && (!srcPath[0] || srcPath[0].charAt(0) !== "/")) {
40810
+ srcPath.unshift("");
40811
+ }
40812
+ if (hasTrailingSlash2 && srcPath.join("/").substr(-1) !== "/") {
40813
+ srcPath.push("");
40814
+ }
40815
+ var isAbsolute = srcPath[0] === "" || srcPath[0] && srcPath[0].charAt(0) === "/";
40816
+ if (psychotic) {
40817
+ result.hostname = result.host = isAbsolute ? "" : srcPath.length ? srcPath.shift() : "";
40818
+ var authInHost = result.host && result.host.indexOf("@") > 0 ? result.host.split("@") : false;
40819
+ if (authInHost) {
40820
+ result.auth = authInHost.shift();
40821
+ result.host = result.hostname = authInHost.shift();
40822
+ }
40823
+ }
40824
+ mustEndAbs = mustEndAbs || result.host && srcPath.length;
40825
+ if (mustEndAbs && !isAbsolute) {
40826
+ srcPath.unshift("");
40827
+ }
40828
+ if (!srcPath.length) {
40829
+ result.pathname = null;
40830
+ result.path = null;
40831
+ } else {
40832
+ result.pathname = srcPath.join("/");
40833
+ }
40834
+ if (!isNull(result.pathname) || !isNull(result.search)) {
40835
+ result.path = (result.pathname ? result.pathname : "") + (result.search ? result.search : "");
40836
+ }
40837
+ result.auth = relative.auth || result.auth;
40838
+ result.slashes = result.slashes || relative.slashes;
40839
+ result.href = result.format();
40840
+ return result;
40841
+ };
40842
+ Url$1.prototype.parseHost = function() {
40843
+ var host2 = this.host;
40844
+ var port = portPattern.exec(host2);
40845
+ if (port) {
40846
+ port = port[0];
40847
+ if (port !== ":") {
40848
+ this.port = port.substr(1);
40849
+ }
40850
+ host2 = host2.substr(0, host2.length - port.length);
40851
+ }
40852
+ if (host2)
40853
+ this.hostname = host2;
40854
+ };
40855
+ function isString$3(arg) {
40856
+ return typeof arg === "string";
40857
+ }
40858
+ function isObject$4(arg) {
40859
+ return typeof arg === "object" && arg !== null;
40860
+ }
40861
+ function isNull(arg) {
40862
+ return arg === null;
40863
+ }
40864
+ function isNullOrUndefined(arg) {
40865
+ return arg == null;
40866
+ }
39904
40867
  /*!
39905
40868
  * parseurl
39906
40869
  * Copyright(c) 2014 Jonathan Ong
39907
40870
  * Copyright(c) 2014-2017 Douglas Christopher Wilson
39908
40871
  * MIT Licensed
39909
40872
  */
39910
- var url = require$$2$2;
40873
+ var url = url$1;
39911
40874
  var parse$g = url.parse;
39912
40875
  var Url = url.Url;
39913
40876
  parseurl$1.exports = parseurl;
@@ -52872,7 +53835,7 @@ var proxyAddrExports = proxyAddr.exports;
52872
53835
  var mime2 = mimeTypes$2;
52873
53836
  var proxyaddr2 = proxyAddrExports;
52874
53837
  var qs = lib$1;
52875
- var querystring = require$$2$2;
53838
+ var querystring2 = querystring$1;
52876
53839
  exports.methods = METHODS2.map((method) => method.toLowerCase());
52877
53840
  exports.etag = createETagGenerator({ weak: false });
52878
53841
  exports.wetag = createETagGenerator({ weak: true });
@@ -52936,7 +53899,7 @@ var proxyAddrExports = proxyAddr.exports;
52936
53899
  switch (val) {
52937
53900
  case true:
52938
53901
  case "simple":
52939
- fn = querystring.parse;
53902
+ fn = querystring2.parse;
52940
53903
  break;
52941
53904
  case false:
52942
53905
  break;
@@ -66941,8 +67904,8 @@ defineGetter(req, "query", function query() {
66941
67904
  if (!queryparse) {
66942
67905
  return /* @__PURE__ */ Object.create(null);
66943
67906
  }
66944
- var querystring = parse$d(this).query;
66945
- return queryparse(querystring);
67907
+ var querystring2 = parse$d(this).query;
67908
+ return queryparse(querystring2);
66946
67909
  });
66947
67910
  req.is = function is(types2) {
66948
67911
  var arr = types2;
@@ -79185,6 +80148,1505 @@ var mimeScore4 = function mimeScore5(mimeType, source = "default") {
79185
80148
  return score0 > score1 ? type0 : type1;
79186
80149
  }
79187
80150
  })(mimeTypes);
80151
+ var util$a = {};
80152
+ var types$1 = {};
80153
+ var shams;
80154
+ var hasRequiredShams;
80155
+ function requireShams() {
80156
+ if (hasRequiredShams)
80157
+ return shams;
80158
+ hasRequiredShams = 1;
80159
+ var hasSymbols2 = requireShams$1();
80160
+ shams = function hasToStringTagShams() {
80161
+ return hasSymbols2() && !!Symbol.toStringTag;
80162
+ };
80163
+ return shams;
80164
+ }
80165
+ var isArguments$2;
80166
+ var hasRequiredIsArguments;
80167
+ function requireIsArguments() {
80168
+ if (hasRequiredIsArguments)
80169
+ return isArguments$2;
80170
+ hasRequiredIsArguments = 1;
80171
+ var hasToStringTag = requireShams()();
80172
+ var callBound2 = requireCallBound();
80173
+ var $toString = callBound2("Object.prototype.toString");
80174
+ var isStandardArguments = function isArguments2(value) {
80175
+ if (hasToStringTag && value && typeof value === "object" && Symbol.toStringTag in value) {
80176
+ return false;
80177
+ }
80178
+ return $toString(value) === "[object Arguments]";
80179
+ };
80180
+ var isLegacyArguments = function isArguments2(value) {
80181
+ if (isStandardArguments(value)) {
80182
+ return true;
80183
+ }
80184
+ return value !== null && typeof value === "object" && "length" in value && typeof value.length === "number" && value.length >= 0 && $toString(value) !== "[object Array]" && "callee" in value && $toString(value.callee) === "[object Function]";
80185
+ };
80186
+ var supportsStandardArguments = function() {
80187
+ return isStandardArguments(arguments);
80188
+ }();
80189
+ isStandardArguments.isLegacyArguments = isLegacyArguments;
80190
+ isArguments$2 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
80191
+ return isArguments$2;
80192
+ }
80193
+ var isRegex;
80194
+ var hasRequiredIsRegex;
80195
+ function requireIsRegex() {
80196
+ if (hasRequiredIsRegex)
80197
+ return isRegex;
80198
+ hasRequiredIsRegex = 1;
80199
+ var callBound2 = requireCallBound();
80200
+ var hasToStringTag = requireShams()();
80201
+ var hasOwn2 = requireHasown();
80202
+ var gOPD2 = requireGopd();
80203
+ var fn;
80204
+ if (hasToStringTag) {
80205
+ var $exec = callBound2("RegExp.prototype.exec");
80206
+ var isRegexMarker = {};
80207
+ var throwRegexMarker = function() {
80208
+ throw isRegexMarker;
80209
+ };
80210
+ var badStringifier = {
80211
+ toString: throwRegexMarker,
80212
+ valueOf: throwRegexMarker
80213
+ };
80214
+ if (typeof Symbol.toPrimitive === "symbol") {
80215
+ badStringifier[Symbol.toPrimitive] = throwRegexMarker;
80216
+ }
80217
+ fn = function isRegex2(value) {
80218
+ if (!value || typeof value !== "object") {
80219
+ return false;
80220
+ }
80221
+ var descriptor = (
80222
+ /** @type {NonNullable<typeof gOPD>} */
80223
+ gOPD2(
80224
+ /** @type {{ lastIndex?: unknown }} */
80225
+ value,
80226
+ "lastIndex"
80227
+ )
80228
+ );
80229
+ var hasLastIndexDataProperty = descriptor && hasOwn2(descriptor, "value");
80230
+ if (!hasLastIndexDataProperty) {
80231
+ return false;
80232
+ }
80233
+ try {
80234
+ $exec(
80235
+ value,
80236
+ /** @type {string} */
80237
+ /** @type {unknown} */
80238
+ badStringifier
80239
+ );
80240
+ } catch (e) {
80241
+ return e === isRegexMarker;
80242
+ }
80243
+ };
80244
+ } else {
80245
+ var $toString = callBound2("Object.prototype.toString");
80246
+ var regexClass = "[object RegExp]";
80247
+ fn = function isRegex2(value) {
80248
+ if (!value || typeof value !== "object" && typeof value !== "function") {
80249
+ return false;
80250
+ }
80251
+ return $toString(value) === regexClass;
80252
+ };
80253
+ }
80254
+ isRegex = fn;
80255
+ return isRegex;
80256
+ }
80257
+ var safeRegexTest;
80258
+ var hasRequiredSafeRegexTest;
80259
+ function requireSafeRegexTest() {
80260
+ if (hasRequiredSafeRegexTest)
80261
+ return safeRegexTest;
80262
+ hasRequiredSafeRegexTest = 1;
80263
+ var callBound2 = requireCallBound();
80264
+ var isRegex2 = requireIsRegex();
80265
+ var $exec = callBound2("RegExp.prototype.exec");
80266
+ var $TypeError2 = type;
80267
+ safeRegexTest = function regexTester(regex) {
80268
+ if (!isRegex2(regex)) {
80269
+ throw new $TypeError2("`regex` must be a RegExp");
80270
+ }
80271
+ return function test2(s2) {
80272
+ return $exec(regex, s2) !== null;
80273
+ };
80274
+ };
80275
+ return safeRegexTest;
80276
+ }
80277
+ var isGeneratorFunction;
80278
+ var hasRequiredIsGeneratorFunction;
80279
+ function requireIsGeneratorFunction() {
80280
+ if (hasRequiredIsGeneratorFunction)
80281
+ return isGeneratorFunction;
80282
+ hasRequiredIsGeneratorFunction = 1;
80283
+ var callBound2 = requireCallBound();
80284
+ var safeRegexTest2 = requireSafeRegexTest();
80285
+ var isFnRegex = safeRegexTest2(/^\s*(?:function)?\*/);
80286
+ var hasToStringTag = requireShams()();
80287
+ var getProto2 = requireGetProto();
80288
+ var toStr2 = callBound2("Object.prototype.toString");
80289
+ var fnToStr = callBound2("Function.prototype.toString");
80290
+ var getGeneratorFunc = function() {
80291
+ if (!hasToStringTag) {
80292
+ return false;
80293
+ }
80294
+ try {
80295
+ return Function("return function*() {}")();
80296
+ } catch (e) {
80297
+ }
80298
+ };
80299
+ var GeneratorFunction;
80300
+ isGeneratorFunction = function isGeneratorFunction2(fn) {
80301
+ if (typeof fn !== "function") {
80302
+ return false;
80303
+ }
80304
+ if (isFnRegex(fnToStr(fn))) {
80305
+ return true;
80306
+ }
80307
+ if (!hasToStringTag) {
80308
+ var str = toStr2(fn);
80309
+ return str === "[object GeneratorFunction]";
80310
+ }
80311
+ if (!getProto2) {
80312
+ return false;
80313
+ }
80314
+ if (typeof GeneratorFunction === "undefined") {
80315
+ var generatorFunc = getGeneratorFunc();
80316
+ GeneratorFunction = generatorFunc ? (
80317
+ /** @type {GeneratorFunctionConstructor} */
80318
+ getProto2(generatorFunc)
80319
+ ) : false;
80320
+ }
80321
+ return getProto2(fn) === GeneratorFunction;
80322
+ };
80323
+ return isGeneratorFunction;
80324
+ }
80325
+ var isCallable;
80326
+ var hasRequiredIsCallable;
80327
+ function requireIsCallable() {
80328
+ if (hasRequiredIsCallable)
80329
+ return isCallable;
80330
+ hasRequiredIsCallable = 1;
80331
+ var fnToStr = Function.prototype.toString;
80332
+ var reflectApply2 = typeof Reflect === "object" && Reflect !== null && Reflect.apply;
80333
+ var badArrayLike;
80334
+ var isCallableMarker;
80335
+ if (typeof reflectApply2 === "function" && typeof Object.defineProperty === "function") {
80336
+ try {
80337
+ badArrayLike = Object.defineProperty({}, "length", {
80338
+ get: function() {
80339
+ throw isCallableMarker;
80340
+ }
80341
+ });
80342
+ isCallableMarker = {};
80343
+ reflectApply2(function() {
80344
+ throw 42;
80345
+ }, null, badArrayLike);
80346
+ } catch (_) {
80347
+ if (_ !== isCallableMarker) {
80348
+ reflectApply2 = null;
80349
+ }
80350
+ }
80351
+ } else {
80352
+ reflectApply2 = null;
80353
+ }
80354
+ var constructorRegex = /^\s*class\b/;
80355
+ var isES6ClassFn = function isES6ClassFunction(value) {
80356
+ try {
80357
+ var fnStr = fnToStr.call(value);
80358
+ return constructorRegex.test(fnStr);
80359
+ } catch (e) {
80360
+ return false;
80361
+ }
80362
+ };
80363
+ var tryFunctionObject = function tryFunctionToStr(value) {
80364
+ try {
80365
+ if (isES6ClassFn(value)) {
80366
+ return false;
80367
+ }
80368
+ fnToStr.call(value);
80369
+ return true;
80370
+ } catch (e) {
80371
+ return false;
80372
+ }
80373
+ };
80374
+ var toStr2 = Object.prototype.toString;
80375
+ var objectClass = "[object Object]";
80376
+ var fnClass = "[object Function]";
80377
+ var genClass = "[object GeneratorFunction]";
80378
+ var ddaClass = "[object HTMLAllCollection]";
80379
+ var ddaClass2 = "[object HTML document.all class]";
80380
+ var ddaClass3 = "[object HTMLCollection]";
80381
+ var hasToStringTag = typeof Symbol === "function" && !!Symbol.toStringTag;
80382
+ var isIE68 = !(0 in [,]);
80383
+ var isDDA = function isDocumentDotAll() {
80384
+ return false;
80385
+ };
80386
+ if (typeof document === "object") {
80387
+ var all2 = document.all;
80388
+ if (toStr2.call(all2) === toStr2.call(document.all)) {
80389
+ isDDA = function isDocumentDotAll(value) {
80390
+ if ((isIE68 || !value) && (typeof value === "undefined" || typeof value === "object")) {
80391
+ try {
80392
+ var str = toStr2.call(value);
80393
+ return (str === ddaClass || str === ddaClass2 || str === ddaClass3 || str === objectClass) && value("") == null;
80394
+ } catch (e) {
80395
+ }
80396
+ }
80397
+ return false;
80398
+ };
80399
+ }
80400
+ }
80401
+ isCallable = reflectApply2 ? function isCallable2(value) {
80402
+ if (isDDA(value)) {
80403
+ return true;
80404
+ }
80405
+ if (!value) {
80406
+ return false;
80407
+ }
80408
+ if (typeof value !== "function" && typeof value !== "object") {
80409
+ return false;
80410
+ }
80411
+ try {
80412
+ reflectApply2(value, null, badArrayLike);
80413
+ } catch (e) {
80414
+ if (e !== isCallableMarker) {
80415
+ return false;
80416
+ }
80417
+ }
80418
+ return !isES6ClassFn(value) && tryFunctionObject(value);
80419
+ } : function isCallable2(value) {
80420
+ if (isDDA(value)) {
80421
+ return true;
80422
+ }
80423
+ if (!value) {
80424
+ return false;
80425
+ }
80426
+ if (typeof value !== "function" && typeof value !== "object") {
80427
+ return false;
80428
+ }
80429
+ if (hasToStringTag) {
80430
+ return tryFunctionObject(value);
80431
+ }
80432
+ if (isES6ClassFn(value)) {
80433
+ return false;
80434
+ }
80435
+ var strClass = toStr2.call(value);
80436
+ if (strClass !== fnClass && strClass !== genClass && !/^\[object HTML/.test(strClass)) {
80437
+ return false;
80438
+ }
80439
+ return tryFunctionObject(value);
80440
+ };
80441
+ return isCallable;
80442
+ }
80443
+ var forEach;
80444
+ var hasRequiredForEach;
80445
+ function requireForEach() {
80446
+ if (hasRequiredForEach)
80447
+ return forEach;
80448
+ hasRequiredForEach = 1;
80449
+ var isCallable2 = requireIsCallable();
80450
+ var toStr2 = Object.prototype.toString;
80451
+ var hasOwnProperty2 = Object.prototype.hasOwnProperty;
80452
+ var forEachArray = function forEachArray2(array, iterator, receiver) {
80453
+ for (var i = 0, len = array.length; i < len; i++) {
80454
+ if (hasOwnProperty2.call(array, i)) {
80455
+ if (receiver == null) {
80456
+ iterator(array[i], i, array);
80457
+ } else {
80458
+ iterator.call(receiver, array[i], i, array);
80459
+ }
80460
+ }
80461
+ }
80462
+ };
80463
+ var forEachString = function forEachString2(string, iterator, receiver) {
80464
+ for (var i = 0, len = string.length; i < len; i++) {
80465
+ if (receiver == null) {
80466
+ iterator(string.charAt(i), i, string);
80467
+ } else {
80468
+ iterator.call(receiver, string.charAt(i), i, string);
80469
+ }
80470
+ }
80471
+ };
80472
+ var forEachObject = function forEachObject2(object, iterator, receiver) {
80473
+ for (var k in object) {
80474
+ if (hasOwnProperty2.call(object, k)) {
80475
+ if (receiver == null) {
80476
+ iterator(object[k], k, object);
80477
+ } else {
80478
+ iterator.call(receiver, object[k], k, object);
80479
+ }
80480
+ }
80481
+ }
80482
+ };
80483
+ function isArray2(x) {
80484
+ return toStr2.call(x) === "[object Array]";
80485
+ }
80486
+ forEach = function forEach2(list, iterator, thisArg) {
80487
+ if (!isCallable2(iterator)) {
80488
+ throw new TypeError("iterator must be a function");
80489
+ }
80490
+ var receiver;
80491
+ if (arguments.length >= 3) {
80492
+ receiver = thisArg;
80493
+ }
80494
+ if (isArray2(list)) {
80495
+ forEachArray(list, iterator, receiver);
80496
+ } else if (typeof list === "string") {
80497
+ forEachString(list, iterator, receiver);
80498
+ } else {
80499
+ forEachObject(list, iterator, receiver);
80500
+ }
80501
+ };
80502
+ return forEach;
80503
+ }
80504
+ var possibleTypedArrayNames;
80505
+ var hasRequiredPossibleTypedArrayNames;
80506
+ function requirePossibleTypedArrayNames() {
80507
+ if (hasRequiredPossibleTypedArrayNames)
80508
+ return possibleTypedArrayNames;
80509
+ hasRequiredPossibleTypedArrayNames = 1;
80510
+ possibleTypedArrayNames = [
80511
+ "Float16Array",
80512
+ "Float32Array",
80513
+ "Float64Array",
80514
+ "Int8Array",
80515
+ "Int16Array",
80516
+ "Int32Array",
80517
+ "Uint8Array",
80518
+ "Uint8ClampedArray",
80519
+ "Uint16Array",
80520
+ "Uint32Array",
80521
+ "BigInt64Array",
80522
+ "BigUint64Array"
80523
+ ];
80524
+ return possibleTypedArrayNames;
80525
+ }
80526
+ var availableTypedArrays;
80527
+ var hasRequiredAvailableTypedArrays;
80528
+ function requireAvailableTypedArrays() {
80529
+ if (hasRequiredAvailableTypedArrays)
80530
+ return availableTypedArrays;
80531
+ hasRequiredAvailableTypedArrays = 1;
80532
+ var possibleNames = requirePossibleTypedArrayNames();
80533
+ var g = typeof globalThis === "undefined" ? commonjsGlobal : globalThis;
80534
+ availableTypedArrays = function availableTypedArrays2() {
80535
+ var out = [];
80536
+ for (var i = 0; i < possibleNames.length; i++) {
80537
+ if (typeof g[possibleNames[i]] === "function") {
80538
+ out[out.length] = possibleNames[i];
80539
+ }
80540
+ }
80541
+ return out;
80542
+ };
80543
+ return availableTypedArrays;
80544
+ }
80545
+ var callBind = { exports: {} };
80546
+ var defineDataProperty;
80547
+ var hasRequiredDefineDataProperty;
80548
+ function requireDefineDataProperty() {
80549
+ if (hasRequiredDefineDataProperty)
80550
+ return defineDataProperty;
80551
+ hasRequiredDefineDataProperty = 1;
80552
+ var $defineProperty = requireEsDefineProperty();
80553
+ var $SyntaxError = requireSyntax();
80554
+ var $TypeError2 = type;
80555
+ var gopd2 = requireGopd();
80556
+ defineDataProperty = function defineDataProperty2(obj, property, value) {
80557
+ if (!obj || typeof obj !== "object" && typeof obj !== "function") {
80558
+ throw new $TypeError2("`obj` must be an object or a function`");
80559
+ }
80560
+ if (typeof property !== "string" && typeof property !== "symbol") {
80561
+ throw new $TypeError2("`property` must be a string or a symbol`");
80562
+ }
80563
+ if (arguments.length > 3 && typeof arguments[3] !== "boolean" && arguments[3] !== null) {
80564
+ throw new $TypeError2("`nonEnumerable`, if provided, must be a boolean or null");
80565
+ }
80566
+ if (arguments.length > 4 && typeof arguments[4] !== "boolean" && arguments[4] !== null) {
80567
+ throw new $TypeError2("`nonWritable`, if provided, must be a boolean or null");
80568
+ }
80569
+ if (arguments.length > 5 && typeof arguments[5] !== "boolean" && arguments[5] !== null) {
80570
+ throw new $TypeError2("`nonConfigurable`, if provided, must be a boolean or null");
80571
+ }
80572
+ if (arguments.length > 6 && typeof arguments[6] !== "boolean") {
80573
+ throw new $TypeError2("`loose`, if provided, must be a boolean");
80574
+ }
80575
+ var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
80576
+ var nonWritable = arguments.length > 4 ? arguments[4] : null;
80577
+ var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
80578
+ var loose = arguments.length > 6 ? arguments[6] : false;
80579
+ var desc = !!gopd2 && gopd2(obj, property);
80580
+ if ($defineProperty) {
80581
+ $defineProperty(obj, property, {
80582
+ configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
80583
+ enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
80584
+ value,
80585
+ writable: nonWritable === null && desc ? desc.writable : !nonWritable
80586
+ });
80587
+ } else if (loose || !nonEnumerable && !nonWritable && !nonConfigurable) {
80588
+ obj[property] = value;
80589
+ } else {
80590
+ throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
80591
+ }
80592
+ };
80593
+ return defineDataProperty;
80594
+ }
80595
+ var hasPropertyDescriptors_1;
80596
+ var hasRequiredHasPropertyDescriptors;
80597
+ function requireHasPropertyDescriptors() {
80598
+ if (hasRequiredHasPropertyDescriptors)
80599
+ return hasPropertyDescriptors_1;
80600
+ hasRequiredHasPropertyDescriptors = 1;
80601
+ var $defineProperty = requireEsDefineProperty();
80602
+ var hasPropertyDescriptors = function hasPropertyDescriptors2() {
80603
+ return !!$defineProperty;
80604
+ };
80605
+ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
80606
+ if (!$defineProperty) {
80607
+ return null;
80608
+ }
80609
+ try {
80610
+ return $defineProperty([], "length", { value: 1 }).length !== 1;
80611
+ } catch (e) {
80612
+ return true;
80613
+ }
80614
+ };
80615
+ hasPropertyDescriptors_1 = hasPropertyDescriptors;
80616
+ return hasPropertyDescriptors_1;
80617
+ }
80618
+ var setFunctionLength;
80619
+ var hasRequiredSetFunctionLength;
80620
+ function requireSetFunctionLength() {
80621
+ if (hasRequiredSetFunctionLength)
80622
+ return setFunctionLength;
80623
+ hasRequiredSetFunctionLength = 1;
80624
+ var GetIntrinsic2 = requireGetIntrinsic();
80625
+ var define = requireDefineDataProperty();
80626
+ var hasDescriptors = requireHasPropertyDescriptors()();
80627
+ var gOPD2 = requireGopd();
80628
+ var $TypeError2 = type;
80629
+ var $floor2 = GetIntrinsic2("%Math.floor%");
80630
+ setFunctionLength = function setFunctionLength2(fn, length) {
80631
+ if (typeof fn !== "function") {
80632
+ throw new $TypeError2("`fn` is not a function");
80633
+ }
80634
+ if (typeof length !== "number" || length < 0 || length > 4294967295 || $floor2(length) !== length) {
80635
+ throw new $TypeError2("`length` must be a positive 32-bit integer");
80636
+ }
80637
+ var loose = arguments.length > 2 && !!arguments[2];
80638
+ var functionLengthIsConfigurable = true;
80639
+ var functionLengthIsWritable = true;
80640
+ if ("length" in fn && gOPD2) {
80641
+ var desc = gOPD2(fn, "length");
80642
+ if (desc && !desc.configurable) {
80643
+ functionLengthIsConfigurable = false;
80644
+ }
80645
+ if (desc && !desc.writable) {
80646
+ functionLengthIsWritable = false;
80647
+ }
80648
+ }
80649
+ if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
80650
+ if (hasDescriptors) {
80651
+ define(
80652
+ /** @type {Parameters<define>[0]} */
80653
+ fn,
80654
+ "length",
80655
+ length,
80656
+ true,
80657
+ true
80658
+ );
80659
+ } else {
80660
+ define(
80661
+ /** @type {Parameters<define>[0]} */
80662
+ fn,
80663
+ "length",
80664
+ length
80665
+ );
80666
+ }
80667
+ }
80668
+ return fn;
80669
+ };
80670
+ return setFunctionLength;
80671
+ }
80672
+ var applyBind;
80673
+ var hasRequiredApplyBind;
80674
+ function requireApplyBind() {
80675
+ if (hasRequiredApplyBind)
80676
+ return applyBind;
80677
+ hasRequiredApplyBind = 1;
80678
+ var bind = requireFunctionBind();
80679
+ var $apply = requireFunctionApply();
80680
+ var actualApply2 = requireActualApply();
80681
+ applyBind = function applyBind2() {
80682
+ return actualApply2(bind, $apply, arguments);
80683
+ };
80684
+ return applyBind;
80685
+ }
80686
+ var hasRequiredCallBind;
80687
+ function requireCallBind() {
80688
+ if (hasRequiredCallBind)
80689
+ return callBind.exports;
80690
+ hasRequiredCallBind = 1;
80691
+ (function(module) {
80692
+ var setFunctionLength2 = requireSetFunctionLength();
80693
+ var $defineProperty = requireEsDefineProperty();
80694
+ var callBindBasic = requireCallBindApplyHelpers();
80695
+ var applyBind2 = requireApplyBind();
80696
+ module.exports = function callBind2(originalFunction) {
80697
+ var func = callBindBasic(arguments);
80698
+ var adjustedLength = originalFunction.length - (arguments.length - 1);
80699
+ return setFunctionLength2(
80700
+ func,
80701
+ 1 + (adjustedLength > 0 ? adjustedLength : 0),
80702
+ true
80703
+ );
80704
+ };
80705
+ if ($defineProperty) {
80706
+ $defineProperty(module.exports, "apply", { value: applyBind2 });
80707
+ } else {
80708
+ module.exports.apply = applyBind2;
80709
+ }
80710
+ })(callBind);
80711
+ return callBind.exports;
80712
+ }
80713
+ var whichTypedArray;
80714
+ var hasRequiredWhichTypedArray;
80715
+ function requireWhichTypedArray() {
80716
+ if (hasRequiredWhichTypedArray)
80717
+ return whichTypedArray;
80718
+ hasRequiredWhichTypedArray = 1;
80719
+ var forEach2 = requireForEach();
80720
+ var availableTypedArrays2 = requireAvailableTypedArrays();
80721
+ var callBind2 = requireCallBind();
80722
+ var callBound2 = requireCallBound();
80723
+ var gOPD2 = requireGopd();
80724
+ var getProto2 = requireGetProto();
80725
+ var $toString = callBound2("Object.prototype.toString");
80726
+ var hasToStringTag = requireShams()();
80727
+ var g = typeof globalThis === "undefined" ? commonjsGlobal : globalThis;
80728
+ var typedArrays = availableTypedArrays2();
80729
+ var $slice2 = callBound2("String.prototype.slice");
80730
+ var $indexOf = callBound2("Array.prototype.indexOf", true) || function indexOf2(array, value) {
80731
+ for (var i = 0; i < array.length; i += 1) {
80732
+ if (array[i] === value) {
80733
+ return i;
80734
+ }
80735
+ }
80736
+ return -1;
80737
+ };
80738
+ var cache = { __proto__: null };
80739
+ if (hasToStringTag && gOPD2 && getProto2) {
80740
+ forEach2(typedArrays, function(typedArray) {
80741
+ var arr = new g[typedArray]();
80742
+ if (Symbol.toStringTag in arr && getProto2) {
80743
+ var proto = getProto2(arr);
80744
+ var descriptor = gOPD2(proto, Symbol.toStringTag);
80745
+ if (!descriptor && proto) {
80746
+ var superProto = getProto2(proto);
80747
+ descriptor = gOPD2(superProto, Symbol.toStringTag);
80748
+ }
80749
+ cache["$" + typedArray] = callBind2(descriptor.get);
80750
+ }
80751
+ });
80752
+ } else {
80753
+ forEach2(typedArrays, function(typedArray) {
80754
+ var arr = new g[typedArray]();
80755
+ var fn = arr.slice || arr.set;
80756
+ if (fn) {
80757
+ cache[
80758
+ /** @type {`$${import('.').TypedArrayName}`} */
80759
+ "$" + typedArray
80760
+ ] = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */
80761
+ // @ts-expect-error TODO FIXME
80762
+ callBind2(fn);
80763
+ }
80764
+ });
80765
+ }
80766
+ var tryTypedArrays = function tryAllTypedArrays(value) {
80767
+ var found = false;
80768
+ forEach2(
80769
+ /** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
80770
+ cache,
80771
+ /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
80772
+ function(getter, typedArray) {
80773
+ if (!found) {
80774
+ try {
80775
+ if ("$" + getter(value) === typedArray) {
80776
+ found = /** @type {import('.').TypedArrayName} */
80777
+ $slice2(typedArray, 1);
80778
+ }
80779
+ } catch (e) {
80780
+ }
80781
+ }
80782
+ }
80783
+ );
80784
+ return found;
80785
+ };
80786
+ var trySlices = function tryAllSlices(value) {
80787
+ var found = false;
80788
+ forEach2(
80789
+ /** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
80790
+ cache,
80791
+ /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
80792
+ function(getter, name2) {
80793
+ if (!found) {
80794
+ try {
80795
+ getter(value);
80796
+ found = /** @type {import('.').TypedArrayName} */
80797
+ $slice2(name2, 1);
80798
+ } catch (e) {
80799
+ }
80800
+ }
80801
+ }
80802
+ );
80803
+ return found;
80804
+ };
80805
+ whichTypedArray = function whichTypedArray2(value) {
80806
+ if (!value || typeof value !== "object") {
80807
+ return false;
80808
+ }
80809
+ if (!hasToStringTag) {
80810
+ var tag = $slice2($toString(value), 8, -1);
80811
+ if ($indexOf(typedArrays, tag) > -1) {
80812
+ return tag;
80813
+ }
80814
+ if (tag !== "Object") {
80815
+ return false;
80816
+ }
80817
+ return trySlices(value);
80818
+ }
80819
+ if (!gOPD2) {
80820
+ return null;
80821
+ }
80822
+ return tryTypedArrays(value);
80823
+ };
80824
+ return whichTypedArray;
80825
+ }
80826
+ var isTypedArray;
80827
+ var hasRequiredIsTypedArray;
80828
+ function requireIsTypedArray() {
80829
+ if (hasRequiredIsTypedArray)
80830
+ return isTypedArray;
80831
+ hasRequiredIsTypedArray = 1;
80832
+ var whichTypedArray2 = requireWhichTypedArray();
80833
+ isTypedArray = function isTypedArray2(value) {
80834
+ return !!whichTypedArray2(value);
80835
+ };
80836
+ return isTypedArray;
80837
+ }
80838
+ var hasRequiredTypes;
80839
+ function requireTypes() {
80840
+ if (hasRequiredTypes)
80841
+ return types$1;
80842
+ hasRequiredTypes = 1;
80843
+ (function(exports) {
80844
+ var isArgumentsObject = requireIsArguments();
80845
+ var isGeneratorFunction2 = requireIsGeneratorFunction();
80846
+ var whichTypedArray2 = requireWhichTypedArray();
80847
+ var isTypedArray2 = requireIsTypedArray();
80848
+ function uncurryThis(f) {
80849
+ return f.call.bind(f);
80850
+ }
80851
+ var BigIntSupported = typeof BigInt !== "undefined";
80852
+ var SymbolSupported = typeof Symbol !== "undefined";
80853
+ var ObjectToString = uncurryThis(Object.prototype.toString);
80854
+ var numberValue = uncurryThis(Number.prototype.valueOf);
80855
+ var stringValue = uncurryThis(String.prototype.valueOf);
80856
+ var booleanValue = uncurryThis(Boolean.prototype.valueOf);
80857
+ if (BigIntSupported) {
80858
+ var bigIntValue = uncurryThis(BigInt.prototype.valueOf);
80859
+ }
80860
+ if (SymbolSupported) {
80861
+ var symbolValue = uncurryThis(Symbol.prototype.valueOf);
80862
+ }
80863
+ function checkBoxedPrimitive(value, prototypeValueOf) {
80864
+ if (typeof value !== "object") {
80865
+ return false;
80866
+ }
80867
+ try {
80868
+ prototypeValueOf(value);
80869
+ return true;
80870
+ } catch (e) {
80871
+ return false;
80872
+ }
80873
+ }
80874
+ exports.isArgumentsObject = isArgumentsObject;
80875
+ exports.isGeneratorFunction = isGeneratorFunction2;
80876
+ exports.isTypedArray = isTypedArray2;
80877
+ function isPromise2(input) {
80878
+ return typeof Promise !== "undefined" && input instanceof Promise || input !== null && typeof input === "object" && typeof input.then === "function" && typeof input.catch === "function";
80879
+ }
80880
+ exports.isPromise = isPromise2;
80881
+ function isArrayBufferView(value) {
80882
+ if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
80883
+ return ArrayBuffer.isView(value);
80884
+ }
80885
+ return isTypedArray2(value) || isDataView(value);
80886
+ }
80887
+ exports.isArrayBufferView = isArrayBufferView;
80888
+ function isUint8Array(value) {
80889
+ return whichTypedArray2(value) === "Uint8Array";
80890
+ }
80891
+ exports.isUint8Array = isUint8Array;
80892
+ function isUint8ClampedArray(value) {
80893
+ return whichTypedArray2(value) === "Uint8ClampedArray";
80894
+ }
80895
+ exports.isUint8ClampedArray = isUint8ClampedArray;
80896
+ function isUint16Array(value) {
80897
+ return whichTypedArray2(value) === "Uint16Array";
80898
+ }
80899
+ exports.isUint16Array = isUint16Array;
80900
+ function isUint32Array(value) {
80901
+ return whichTypedArray2(value) === "Uint32Array";
80902
+ }
80903
+ exports.isUint32Array = isUint32Array;
80904
+ function isInt8Array(value) {
80905
+ return whichTypedArray2(value) === "Int8Array";
80906
+ }
80907
+ exports.isInt8Array = isInt8Array;
80908
+ function isInt16Array(value) {
80909
+ return whichTypedArray2(value) === "Int16Array";
80910
+ }
80911
+ exports.isInt16Array = isInt16Array;
80912
+ function isInt32Array(value) {
80913
+ return whichTypedArray2(value) === "Int32Array";
80914
+ }
80915
+ exports.isInt32Array = isInt32Array;
80916
+ function isFloat32Array(value) {
80917
+ return whichTypedArray2(value) === "Float32Array";
80918
+ }
80919
+ exports.isFloat32Array = isFloat32Array;
80920
+ function isFloat64Array(value) {
80921
+ return whichTypedArray2(value) === "Float64Array";
80922
+ }
80923
+ exports.isFloat64Array = isFloat64Array;
80924
+ function isBigInt64Array(value) {
80925
+ return whichTypedArray2(value) === "BigInt64Array";
80926
+ }
80927
+ exports.isBigInt64Array = isBigInt64Array;
80928
+ function isBigUint64Array(value) {
80929
+ return whichTypedArray2(value) === "BigUint64Array";
80930
+ }
80931
+ exports.isBigUint64Array = isBigUint64Array;
80932
+ function isMapToString(value) {
80933
+ return ObjectToString(value) === "[object Map]";
80934
+ }
80935
+ isMapToString.working = typeof Map !== "undefined" && isMapToString(/* @__PURE__ */ new Map());
80936
+ function isMap2(value) {
80937
+ if (typeof Map === "undefined") {
80938
+ return false;
80939
+ }
80940
+ return isMapToString.working ? isMapToString(value) : value instanceof Map;
80941
+ }
80942
+ exports.isMap = isMap2;
80943
+ function isSetToString(value) {
80944
+ return ObjectToString(value) === "[object Set]";
80945
+ }
80946
+ isSetToString.working = typeof Set !== "undefined" && isSetToString(/* @__PURE__ */ new Set());
80947
+ function isSet2(value) {
80948
+ if (typeof Set === "undefined") {
80949
+ return false;
80950
+ }
80951
+ return isSetToString.working ? isSetToString(value) : value instanceof Set;
80952
+ }
80953
+ exports.isSet = isSet2;
80954
+ function isWeakMapToString(value) {
80955
+ return ObjectToString(value) === "[object WeakMap]";
80956
+ }
80957
+ isWeakMapToString.working = typeof WeakMap !== "undefined" && isWeakMapToString(/* @__PURE__ */ new WeakMap());
80958
+ function isWeakMap2(value) {
80959
+ if (typeof WeakMap === "undefined") {
80960
+ return false;
80961
+ }
80962
+ return isWeakMapToString.working ? isWeakMapToString(value) : value instanceof WeakMap;
80963
+ }
80964
+ exports.isWeakMap = isWeakMap2;
80965
+ function isWeakSetToString(value) {
80966
+ return ObjectToString(value) === "[object WeakSet]";
80967
+ }
80968
+ isWeakSetToString.working = typeof WeakSet !== "undefined" && isWeakSetToString(/* @__PURE__ */ new WeakSet());
80969
+ function isWeakSet2(value) {
80970
+ return isWeakSetToString(value);
80971
+ }
80972
+ exports.isWeakSet = isWeakSet2;
80973
+ function isArrayBufferToString(value) {
80974
+ return ObjectToString(value) === "[object ArrayBuffer]";
80975
+ }
80976
+ isArrayBufferToString.working = typeof ArrayBuffer !== "undefined" && isArrayBufferToString(new ArrayBuffer());
80977
+ function isArrayBuffer(value) {
80978
+ if (typeof ArrayBuffer === "undefined") {
80979
+ return false;
80980
+ }
80981
+ return isArrayBufferToString.working ? isArrayBufferToString(value) : value instanceof ArrayBuffer;
80982
+ }
80983
+ exports.isArrayBuffer = isArrayBuffer;
80984
+ function isDataViewToString(value) {
80985
+ return ObjectToString(value) === "[object DataView]";
80986
+ }
80987
+ isDataViewToString.working = typeof ArrayBuffer !== "undefined" && typeof DataView !== "undefined" && isDataViewToString(new DataView(new ArrayBuffer(1), 0, 1));
80988
+ function isDataView(value) {
80989
+ if (typeof DataView === "undefined") {
80990
+ return false;
80991
+ }
80992
+ return isDataViewToString.working ? isDataViewToString(value) : value instanceof DataView;
80993
+ }
80994
+ exports.isDataView = isDataView;
80995
+ var SharedArrayBufferCopy = typeof SharedArrayBuffer !== "undefined" ? SharedArrayBuffer : void 0;
80996
+ function isSharedArrayBufferToString(value) {
80997
+ return ObjectToString(value) === "[object SharedArrayBuffer]";
80998
+ }
80999
+ function isSharedArrayBuffer(value) {
81000
+ if (typeof SharedArrayBufferCopy === "undefined") {
81001
+ return false;
81002
+ }
81003
+ if (typeof isSharedArrayBufferToString.working === "undefined") {
81004
+ isSharedArrayBufferToString.working = isSharedArrayBufferToString(new SharedArrayBufferCopy());
81005
+ }
81006
+ return isSharedArrayBufferToString.working ? isSharedArrayBufferToString(value) : value instanceof SharedArrayBufferCopy;
81007
+ }
81008
+ exports.isSharedArrayBuffer = isSharedArrayBuffer;
81009
+ function isAsyncFunction(value) {
81010
+ return ObjectToString(value) === "[object AsyncFunction]";
81011
+ }
81012
+ exports.isAsyncFunction = isAsyncFunction;
81013
+ function isMapIterator(value) {
81014
+ return ObjectToString(value) === "[object Map Iterator]";
81015
+ }
81016
+ exports.isMapIterator = isMapIterator;
81017
+ function isSetIterator(value) {
81018
+ return ObjectToString(value) === "[object Set Iterator]";
81019
+ }
81020
+ exports.isSetIterator = isSetIterator;
81021
+ function isGeneratorObject(value) {
81022
+ return ObjectToString(value) === "[object Generator]";
81023
+ }
81024
+ exports.isGeneratorObject = isGeneratorObject;
81025
+ function isWebAssemblyCompiledModule(value) {
81026
+ return ObjectToString(value) === "[object WebAssembly.Module]";
81027
+ }
81028
+ exports.isWebAssemblyCompiledModule = isWebAssemblyCompiledModule;
81029
+ function isNumberObject(value) {
81030
+ return checkBoxedPrimitive(value, numberValue);
81031
+ }
81032
+ exports.isNumberObject = isNumberObject;
81033
+ function isStringObject(value) {
81034
+ return checkBoxedPrimitive(value, stringValue);
81035
+ }
81036
+ exports.isStringObject = isStringObject;
81037
+ function isBooleanObject(value) {
81038
+ return checkBoxedPrimitive(value, booleanValue);
81039
+ }
81040
+ exports.isBooleanObject = isBooleanObject;
81041
+ function isBigIntObject(value) {
81042
+ return BigIntSupported && checkBoxedPrimitive(value, bigIntValue);
81043
+ }
81044
+ exports.isBigIntObject = isBigIntObject;
81045
+ function isSymbolObject(value) {
81046
+ return SymbolSupported && checkBoxedPrimitive(value, symbolValue);
81047
+ }
81048
+ exports.isSymbolObject = isSymbolObject;
81049
+ function isBoxedPrimitive(value) {
81050
+ return isNumberObject(value) || isStringObject(value) || isBooleanObject(value) || isBigIntObject(value) || isSymbolObject(value);
81051
+ }
81052
+ exports.isBoxedPrimitive = isBoxedPrimitive;
81053
+ function isAnyArrayBuffer(value) {
81054
+ return typeof Uint8Array !== "undefined" && (isArrayBuffer(value) || isSharedArrayBuffer(value));
81055
+ }
81056
+ exports.isAnyArrayBuffer = isAnyArrayBuffer;
81057
+ ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(method) {
81058
+ Object.defineProperty(exports, method, {
81059
+ enumerable: false,
81060
+ value: function() {
81061
+ throw new Error(method + " is not supported in userland");
81062
+ }
81063
+ });
81064
+ });
81065
+ })(types$1);
81066
+ return types$1;
81067
+ }
81068
+ var isBufferBrowser;
81069
+ var hasRequiredIsBufferBrowser;
81070
+ function requireIsBufferBrowser() {
81071
+ if (hasRequiredIsBufferBrowser)
81072
+ return isBufferBrowser;
81073
+ hasRequiredIsBufferBrowser = 1;
81074
+ isBufferBrowser = function isBuffer3(arg) {
81075
+ return arg && typeof arg === "object" && typeof arg.copy === "function" && typeof arg.fill === "function" && typeof arg.readUInt8 === "function";
81076
+ };
81077
+ return isBufferBrowser;
81078
+ }
81079
+ var hasRequiredUtil;
81080
+ function requireUtil() {
81081
+ if (hasRequiredUtil)
81082
+ return util$a;
81083
+ hasRequiredUtil = 1;
81084
+ (function(exports) {
81085
+ var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors || function getOwnPropertyDescriptors2(obj) {
81086
+ var keys2 = Object.keys(obj);
81087
+ var descriptors = {};
81088
+ for (var i = 0; i < keys2.length; i++) {
81089
+ descriptors[keys2[i]] = Object.getOwnPropertyDescriptor(obj, keys2[i]);
81090
+ }
81091
+ return descriptors;
81092
+ };
81093
+ var formatRegExp = /%[sdj%]/g;
81094
+ exports.format = function(f) {
81095
+ if (!isString2(f)) {
81096
+ var objects = [];
81097
+ for (var i = 0; i < arguments.length; i++) {
81098
+ objects.push(inspect2(arguments[i]));
81099
+ }
81100
+ return objects.join(" ");
81101
+ }
81102
+ var i = 1;
81103
+ var args = arguments;
81104
+ var len = args.length;
81105
+ var str = String(f).replace(formatRegExp, function(x2) {
81106
+ if (x2 === "%%")
81107
+ return "%";
81108
+ if (i >= len)
81109
+ return x2;
81110
+ switch (x2) {
81111
+ case "%s":
81112
+ return String(args[i++]);
81113
+ case "%d":
81114
+ return Number(args[i++]);
81115
+ case "%j":
81116
+ try {
81117
+ return JSON.stringify(args[i++]);
81118
+ } catch (_) {
81119
+ return "[Circular]";
81120
+ }
81121
+ default:
81122
+ return x2;
81123
+ }
81124
+ });
81125
+ for (var x = args[i]; i < len; x = args[++i]) {
81126
+ if (isNull2(x) || !isObject2(x)) {
81127
+ str += " " + x;
81128
+ } else {
81129
+ str += " " + inspect2(x);
81130
+ }
81131
+ }
81132
+ return str;
81133
+ };
81134
+ exports.deprecate = function(fn, msg) {
81135
+ if (typeof process !== "undefined" && process.noDeprecation === true) {
81136
+ return fn;
81137
+ }
81138
+ if (typeof process === "undefined") {
81139
+ return function() {
81140
+ return exports.deprecate(fn, msg).apply(this, arguments);
81141
+ };
81142
+ }
81143
+ var warned = false;
81144
+ function deprecated() {
81145
+ if (!warned) {
81146
+ if (process.throwDeprecation) {
81147
+ throw new Error(msg);
81148
+ } else if (process.traceDeprecation) {
81149
+ console.trace(msg);
81150
+ } else {
81151
+ console.error(msg);
81152
+ }
81153
+ warned = true;
81154
+ }
81155
+ return fn.apply(this, arguments);
81156
+ }
81157
+ return deprecated;
81158
+ };
81159
+ var debugs = {};
81160
+ var debugEnvRegex = /^$/;
81161
+ if (process.env.NODE_DEBUG) {
81162
+ var debugEnv = process.env.NODE_DEBUG;
81163
+ debugEnv = debugEnv.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase();
81164
+ debugEnvRegex = new RegExp("^" + debugEnv + "$", "i");
81165
+ }
81166
+ exports.debuglog = function(set) {
81167
+ set = set.toUpperCase();
81168
+ if (!debugs[set]) {
81169
+ if (debugEnvRegex.test(set)) {
81170
+ var pid = process.pid;
81171
+ debugs[set] = function() {
81172
+ var msg = exports.format.apply(exports, arguments);
81173
+ console.error("%s %d: %s", set, pid, msg);
81174
+ };
81175
+ } else {
81176
+ debugs[set] = function() {
81177
+ };
81178
+ }
81179
+ }
81180
+ return debugs[set];
81181
+ };
81182
+ function inspect2(obj, opts) {
81183
+ var ctx = {
81184
+ seen: [],
81185
+ stylize: stylizeNoColor
81186
+ };
81187
+ if (arguments.length >= 3)
81188
+ ctx.depth = arguments[2];
81189
+ if (arguments.length >= 4)
81190
+ ctx.colors = arguments[3];
81191
+ if (isBoolean2(opts)) {
81192
+ ctx.showHidden = opts;
81193
+ } else if (opts) {
81194
+ exports._extend(ctx, opts);
81195
+ }
81196
+ if (isUndefined(ctx.showHidden))
81197
+ ctx.showHidden = false;
81198
+ if (isUndefined(ctx.depth))
81199
+ ctx.depth = 2;
81200
+ if (isUndefined(ctx.colors))
81201
+ ctx.colors = false;
81202
+ if (isUndefined(ctx.customInspect))
81203
+ ctx.customInspect = true;
81204
+ if (ctx.colors)
81205
+ ctx.stylize = stylizeWithColor;
81206
+ return formatValue(ctx, obj, ctx.depth);
81207
+ }
81208
+ exports.inspect = inspect2;
81209
+ inspect2.colors = {
81210
+ "bold": [1, 22],
81211
+ "italic": [3, 23],
81212
+ "underline": [4, 24],
81213
+ "inverse": [7, 27],
81214
+ "white": [37, 39],
81215
+ "grey": [90, 39],
81216
+ "black": [30, 39],
81217
+ "blue": [34, 39],
81218
+ "cyan": [36, 39],
81219
+ "green": [32, 39],
81220
+ "magenta": [35, 39],
81221
+ "red": [31, 39],
81222
+ "yellow": [33, 39]
81223
+ };
81224
+ inspect2.styles = {
81225
+ "special": "cyan",
81226
+ "number": "yellow",
81227
+ "boolean": "yellow",
81228
+ "undefined": "grey",
81229
+ "null": "bold",
81230
+ "string": "green",
81231
+ "date": "magenta",
81232
+ // "name": intentionally not styling
81233
+ "regexp": "red"
81234
+ };
81235
+ function stylizeWithColor(str, styleType) {
81236
+ var style = inspect2.styles[styleType];
81237
+ if (style) {
81238
+ return "\x1B[" + inspect2.colors[style][0] + "m" + str + "\x1B[" + inspect2.colors[style][1] + "m";
81239
+ } else {
81240
+ return str;
81241
+ }
81242
+ }
81243
+ function stylizeNoColor(str, styleType) {
81244
+ return str;
81245
+ }
81246
+ function arrayToHash(array) {
81247
+ var hash = {};
81248
+ array.forEach(function(val, idx) {
81249
+ hash[val] = true;
81250
+ });
81251
+ return hash;
81252
+ }
81253
+ function formatValue(ctx, value, recurseTimes) {
81254
+ if (ctx.customInspect && value && isFunction2(value.inspect) && // Filter out the util module, it's inspect function is special
81255
+ value.inspect !== exports.inspect && // Also filter out any prototype objects using the circular check.
81256
+ !(value.constructor && value.constructor.prototype === value)) {
81257
+ var ret = value.inspect(recurseTimes, ctx);
81258
+ if (!isString2(ret)) {
81259
+ ret = formatValue(ctx, ret, recurseTimes);
81260
+ }
81261
+ return ret;
81262
+ }
81263
+ var primitive = formatPrimitive(ctx, value);
81264
+ if (primitive) {
81265
+ return primitive;
81266
+ }
81267
+ var keys2 = Object.keys(value);
81268
+ var visibleKeys = arrayToHash(keys2);
81269
+ if (ctx.showHidden) {
81270
+ keys2 = Object.getOwnPropertyNames(value);
81271
+ }
81272
+ if (isError2(value) && (keys2.indexOf("message") >= 0 || keys2.indexOf("description") >= 0)) {
81273
+ return formatError(value);
81274
+ }
81275
+ if (keys2.length === 0) {
81276
+ if (isFunction2(value)) {
81277
+ var name2 = value.name ? ": " + value.name : "";
81278
+ return ctx.stylize("[Function" + name2 + "]", "special");
81279
+ }
81280
+ if (isRegExp3(value)) {
81281
+ return ctx.stylize(RegExp.prototype.toString.call(value), "regexp");
81282
+ }
81283
+ if (isDate2(value)) {
81284
+ return ctx.stylize(Date.prototype.toString.call(value), "date");
81285
+ }
81286
+ if (isError2(value)) {
81287
+ return formatError(value);
81288
+ }
81289
+ }
81290
+ var base = "", array = false, braces = ["{", "}"];
81291
+ if (isArray2(value)) {
81292
+ array = true;
81293
+ braces = ["[", "]"];
81294
+ }
81295
+ if (isFunction2(value)) {
81296
+ var n = value.name ? ": " + value.name : "";
81297
+ base = " [Function" + n + "]";
81298
+ }
81299
+ if (isRegExp3(value)) {
81300
+ base = " " + RegExp.prototype.toString.call(value);
81301
+ }
81302
+ if (isDate2(value)) {
81303
+ base = " " + Date.prototype.toUTCString.call(value);
81304
+ }
81305
+ if (isError2(value)) {
81306
+ base = " " + formatError(value);
81307
+ }
81308
+ if (keys2.length === 0 && (!array || value.length == 0)) {
81309
+ return braces[0] + base + braces[1];
81310
+ }
81311
+ if (recurseTimes < 0) {
81312
+ if (isRegExp3(value)) {
81313
+ return ctx.stylize(RegExp.prototype.toString.call(value), "regexp");
81314
+ } else {
81315
+ return ctx.stylize("[Object]", "special");
81316
+ }
81317
+ }
81318
+ ctx.seen.push(value);
81319
+ var output;
81320
+ if (array) {
81321
+ output = formatArray(ctx, value, recurseTimes, visibleKeys, keys2);
81322
+ } else {
81323
+ output = keys2.map(function(key) {
81324
+ return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
81325
+ });
81326
+ }
81327
+ ctx.seen.pop();
81328
+ return reduceToSingleString(output, base, braces);
81329
+ }
81330
+ function formatPrimitive(ctx, value) {
81331
+ if (isUndefined(value))
81332
+ return ctx.stylize("undefined", "undefined");
81333
+ if (isString2(value)) {
81334
+ var simple = "'" + JSON.stringify(value).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
81335
+ return ctx.stylize(simple, "string");
81336
+ }
81337
+ if (isNumber2(value))
81338
+ return ctx.stylize("" + value, "number");
81339
+ if (isBoolean2(value))
81340
+ return ctx.stylize("" + value, "boolean");
81341
+ if (isNull2(value))
81342
+ return ctx.stylize("null", "null");
81343
+ }
81344
+ function formatError(value) {
81345
+ return "[" + Error.prototype.toString.call(value) + "]";
81346
+ }
81347
+ function formatArray(ctx, value, recurseTimes, visibleKeys, keys2) {
81348
+ var output = [];
81349
+ for (var i = 0, l = value.length; i < l; ++i) {
81350
+ if (hasOwnProperty2(value, String(i))) {
81351
+ output.push(formatProperty(
81352
+ ctx,
81353
+ value,
81354
+ recurseTimes,
81355
+ visibleKeys,
81356
+ String(i),
81357
+ true
81358
+ ));
81359
+ } else {
81360
+ output.push("");
81361
+ }
81362
+ }
81363
+ keys2.forEach(function(key) {
81364
+ if (!key.match(/^\d+$/)) {
81365
+ output.push(formatProperty(
81366
+ ctx,
81367
+ value,
81368
+ recurseTimes,
81369
+ visibleKeys,
81370
+ key,
81371
+ true
81372
+ ));
81373
+ }
81374
+ });
81375
+ return output;
81376
+ }
81377
+ function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
81378
+ var name2, str, desc;
81379
+ desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };
81380
+ if (desc.get) {
81381
+ if (desc.set) {
81382
+ str = ctx.stylize("[Getter/Setter]", "special");
81383
+ } else {
81384
+ str = ctx.stylize("[Getter]", "special");
81385
+ }
81386
+ } else {
81387
+ if (desc.set) {
81388
+ str = ctx.stylize("[Setter]", "special");
81389
+ }
81390
+ }
81391
+ if (!hasOwnProperty2(visibleKeys, key)) {
81392
+ name2 = "[" + key + "]";
81393
+ }
81394
+ if (!str) {
81395
+ if (ctx.seen.indexOf(desc.value) < 0) {
81396
+ if (isNull2(recurseTimes)) {
81397
+ str = formatValue(ctx, desc.value, null);
81398
+ } else {
81399
+ str = formatValue(ctx, desc.value, recurseTimes - 1);
81400
+ }
81401
+ if (str.indexOf("\n") > -1) {
81402
+ if (array) {
81403
+ str = str.split("\n").map(function(line) {
81404
+ return " " + line;
81405
+ }).join("\n").slice(2);
81406
+ } else {
81407
+ str = "\n" + str.split("\n").map(function(line) {
81408
+ return " " + line;
81409
+ }).join("\n");
81410
+ }
81411
+ }
81412
+ } else {
81413
+ str = ctx.stylize("[Circular]", "special");
81414
+ }
81415
+ }
81416
+ if (isUndefined(name2)) {
81417
+ if (array && key.match(/^\d+$/)) {
81418
+ return str;
81419
+ }
81420
+ name2 = JSON.stringify("" + key);
81421
+ if (name2.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
81422
+ name2 = name2.slice(1, -1);
81423
+ name2 = ctx.stylize(name2, "name");
81424
+ } else {
81425
+ name2 = name2.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'");
81426
+ name2 = ctx.stylize(name2, "string");
81427
+ }
81428
+ }
81429
+ return name2 + ": " + str;
81430
+ }
81431
+ function reduceToSingleString(output, base, braces) {
81432
+ var length = output.reduce(function(prev, cur) {
81433
+ if (cur.indexOf("\n") >= 0)
81434
+ ;
81435
+ return prev + cur.replace(/\u001b\[\d\d?m/g, "").length + 1;
81436
+ }, 0);
81437
+ if (length > 60) {
81438
+ return braces[0] + (base === "" ? "" : base + "\n ") + " " + output.join(",\n ") + " " + braces[1];
81439
+ }
81440
+ return braces[0] + base + " " + output.join(", ") + " " + braces[1];
81441
+ }
81442
+ exports.types = requireTypes();
81443
+ function isArray2(ar) {
81444
+ return Array.isArray(ar);
81445
+ }
81446
+ exports.isArray = isArray2;
81447
+ function isBoolean2(arg) {
81448
+ return typeof arg === "boolean";
81449
+ }
81450
+ exports.isBoolean = isBoolean2;
81451
+ function isNull2(arg) {
81452
+ return arg === null;
81453
+ }
81454
+ exports.isNull = isNull2;
81455
+ function isNullOrUndefined2(arg) {
81456
+ return arg == null;
81457
+ }
81458
+ exports.isNullOrUndefined = isNullOrUndefined2;
81459
+ function isNumber2(arg) {
81460
+ return typeof arg === "number";
81461
+ }
81462
+ exports.isNumber = isNumber2;
81463
+ function isString2(arg) {
81464
+ return typeof arg === "string";
81465
+ }
81466
+ exports.isString = isString2;
81467
+ function isSymbol2(arg) {
81468
+ return typeof arg === "symbol";
81469
+ }
81470
+ exports.isSymbol = isSymbol2;
81471
+ function isUndefined(arg) {
81472
+ return arg === void 0;
81473
+ }
81474
+ exports.isUndefined = isUndefined;
81475
+ function isRegExp3(re2) {
81476
+ return isObject2(re2) && objectToString2(re2) === "[object RegExp]";
81477
+ }
81478
+ exports.isRegExp = isRegExp3;
81479
+ exports.types.isRegExp = isRegExp3;
81480
+ function isObject2(arg) {
81481
+ return typeof arg === "object" && arg !== null;
81482
+ }
81483
+ exports.isObject = isObject2;
81484
+ function isDate2(d2) {
81485
+ return isObject2(d2) && objectToString2(d2) === "[object Date]";
81486
+ }
81487
+ exports.isDate = isDate2;
81488
+ exports.types.isDate = isDate2;
81489
+ function isError2(e) {
81490
+ return isObject2(e) && (objectToString2(e) === "[object Error]" || e instanceof Error);
81491
+ }
81492
+ exports.isError = isError2;
81493
+ exports.types.isNativeError = isError2;
81494
+ function isFunction2(arg) {
81495
+ return typeof arg === "function";
81496
+ }
81497
+ exports.isFunction = isFunction2;
81498
+ function isPrimitive(arg) {
81499
+ return arg === null || typeof arg === "boolean" || typeof arg === "number" || typeof arg === "string" || typeof arg === "symbol" || // ES6 symbol
81500
+ typeof arg === "undefined";
81501
+ }
81502
+ exports.isPrimitive = isPrimitive;
81503
+ exports.isBuffer = requireIsBufferBrowser();
81504
+ function objectToString2(o) {
81505
+ return Object.prototype.toString.call(o);
81506
+ }
81507
+ function pad(n) {
81508
+ return n < 10 ? "0" + n.toString(10) : n.toString(10);
81509
+ }
81510
+ var months = [
81511
+ "Jan",
81512
+ "Feb",
81513
+ "Mar",
81514
+ "Apr",
81515
+ "May",
81516
+ "Jun",
81517
+ "Jul",
81518
+ "Aug",
81519
+ "Sep",
81520
+ "Oct",
81521
+ "Nov",
81522
+ "Dec"
81523
+ ];
81524
+ function timestamp() {
81525
+ var d2 = /* @__PURE__ */ new Date();
81526
+ var time = [
81527
+ pad(d2.getHours()),
81528
+ pad(d2.getMinutes()),
81529
+ pad(d2.getSeconds())
81530
+ ].join(":");
81531
+ return [d2.getDate(), months[d2.getMonth()], time].join(" ");
81532
+ }
81533
+ exports.log = function() {
81534
+ console.log("%s - %s", timestamp(), exports.format.apply(exports, arguments));
81535
+ };
81536
+ exports.inherits = inherits_browserExports;
81537
+ exports._extend = function(origin, add) {
81538
+ if (!add || !isObject2(add))
81539
+ return origin;
81540
+ var keys2 = Object.keys(add);
81541
+ var i = keys2.length;
81542
+ while (i--) {
81543
+ origin[keys2[i]] = add[keys2[i]];
81544
+ }
81545
+ return origin;
81546
+ };
81547
+ function hasOwnProperty2(obj, prop) {
81548
+ return Object.prototype.hasOwnProperty.call(obj, prop);
81549
+ }
81550
+ var kCustomPromisifiedSymbol = typeof Symbol !== "undefined" ? Symbol("util.promisify.custom") : void 0;
81551
+ exports.promisify = function promisify(original) {
81552
+ if (typeof original !== "function")
81553
+ throw new TypeError('The "original" argument must be of type Function');
81554
+ if (kCustomPromisifiedSymbol && original[kCustomPromisifiedSymbol]) {
81555
+ var fn = original[kCustomPromisifiedSymbol];
81556
+ if (typeof fn !== "function") {
81557
+ throw new TypeError('The "util.promisify.custom" argument must be of type Function');
81558
+ }
81559
+ Object.defineProperty(fn, kCustomPromisifiedSymbol, {
81560
+ value: fn,
81561
+ enumerable: false,
81562
+ writable: false,
81563
+ configurable: true
81564
+ });
81565
+ return fn;
81566
+ }
81567
+ function fn() {
81568
+ var promiseResolve, promiseReject;
81569
+ var promise = new Promise(function(resolve3, reject) {
81570
+ promiseResolve = resolve3;
81571
+ promiseReject = reject;
81572
+ });
81573
+ var args = [];
81574
+ for (var i = 0; i < arguments.length; i++) {
81575
+ args.push(arguments[i]);
81576
+ }
81577
+ args.push(function(err, value) {
81578
+ if (err) {
81579
+ promiseReject(err);
81580
+ } else {
81581
+ promiseResolve(value);
81582
+ }
81583
+ });
81584
+ try {
81585
+ original.apply(this, args);
81586
+ } catch (err) {
81587
+ promiseReject(err);
81588
+ }
81589
+ return promise;
81590
+ }
81591
+ Object.setPrototypeOf(fn, Object.getPrototypeOf(original));
81592
+ if (kCustomPromisifiedSymbol)
81593
+ Object.defineProperty(fn, kCustomPromisifiedSymbol, {
81594
+ value: fn,
81595
+ enumerable: false,
81596
+ writable: false,
81597
+ configurable: true
81598
+ });
81599
+ return Object.defineProperties(
81600
+ fn,
81601
+ getOwnPropertyDescriptors(original)
81602
+ );
81603
+ };
81604
+ exports.promisify.custom = kCustomPromisifiedSymbol;
81605
+ function callbackifyOnRejected(reason, cb) {
81606
+ if (!reason) {
81607
+ var newReason = new Error("Promise was rejected with a falsy value");
81608
+ newReason.reason = reason;
81609
+ reason = newReason;
81610
+ }
81611
+ return cb(reason);
81612
+ }
81613
+ function callbackify(original) {
81614
+ if (typeof original !== "function") {
81615
+ throw new TypeError('The "original" argument must be of type Function');
81616
+ }
81617
+ function callbackified() {
81618
+ var args = [];
81619
+ for (var i = 0; i < arguments.length; i++) {
81620
+ args.push(arguments[i]);
81621
+ }
81622
+ var maybeCb = args.pop();
81623
+ if (typeof maybeCb !== "function") {
81624
+ throw new TypeError("The last argument must be of type Function");
81625
+ }
81626
+ var self2 = this;
81627
+ var cb = function() {
81628
+ return maybeCb.apply(self2, arguments);
81629
+ };
81630
+ original.apply(this, args).then(
81631
+ function(ret) {
81632
+ process.nextTick(cb.bind(null, null, ret));
81633
+ },
81634
+ function(rej) {
81635
+ process.nextTick(callbackifyOnRejected.bind(null, rej, cb));
81636
+ }
81637
+ );
81638
+ }
81639
+ Object.setPrototypeOf(callbackified, Object.getPrototypeOf(original));
81640
+ Object.defineProperties(
81641
+ callbackified,
81642
+ getOwnPropertyDescriptors(original)
81643
+ );
81644
+ return callbackified;
81645
+ }
81646
+ exports.callbackify = callbackify;
81647
+ })(util$a);
81648
+ return util$a;
81649
+ }
79188
81650
  /*!
79189
81651
  * send
79190
81652
  * Copyright(c) 2012 TJ Holowaychuk
@@ -79205,7 +81667,7 @@ var parseRange = rangeParser_1;
79205
81667
  var path$1 = require$$2$2;
79206
81668
  var statuses$1 = statuses$3;
79207
81669
  var Stream$3 = require$$2$2;
79208
- var util$9 = require$$2$2;
81670
+ var util$9 = requireUtil();
79209
81671
  var extname$1 = path$1.extname;
79210
81672
  var join = path$1.join;
79211
81673
  var normalize = path$1.normalize;
@@ -80237,7 +82699,7 @@ function requireServeStatic() {
80237
82699
  var parseUrl2 = parseurlExports;
80238
82700
  var resolve3 = require$$2$2.resolve;
80239
82701
  var send4 = send_1;
80240
- var url2 = require$$2$2;
82702
+ var url2 = url$1;
80241
82703
  serveStatic_1 = serveStatic;
80242
82704
  function serveStatic(root, options) {
80243
82705
  if (!root) {
@@ -119678,7 +122140,7 @@ function createServer(options = {}) {
119678
122140
  var jws$3 = {};
119679
122141
  var Buffer$7 = safeBufferExports$1.Buffer;
119680
122142
  var Stream$2 = require$$2$2;
119681
- var util$8 = require$$2$2;
122143
+ var util$8 = requireUtil();
119682
122144
  function DataStream$2(data) {
119683
122145
  this.buffer = null;
119684
122146
  this.writable = true;
@@ -119893,7 +122355,7 @@ var bufferEqual = bufferEqualConstantTime;
119893
122355
  var Buffer$4 = safeBufferExports$1.Buffer;
119894
122356
  var crypto = require$$2$2;
119895
122357
  var formatEcdsa = ecdsaSigFormatter;
119896
- var util$7 = require$$2$2;
122358
+ var util$7 = requireUtil();
119897
122359
  var MSG_INVALID_ALGORITHM = '"%s" is not a valid algorithm.\n Supported algorithms are:\n "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".';
119898
122360
  var MSG_INVALID_SECRET = "secret must be a string or buffer";
119899
122361
  var MSG_INVALID_VERIFIER_KEY = "key must be a string or a buffer";
@@ -119985,7 +122447,7 @@ function normalizeInput(thing) {
119985
122447
  return thing;
119986
122448
  }
119987
122449
  function createHmacSigner(bits) {
119988
- return function sign4(thing, secret) {
122450
+ return function sign3(thing, secret) {
119989
122451
  checkIsSecretKey(secret);
119990
122452
  thing = normalizeInput(thing);
119991
122453
  var hmac = crypto.createHmac("sha" + bits, secret);
@@ -120000,7 +122462,7 @@ function createHmacVerifier(bits) {
120000
122462
  };
120001
122463
  }
120002
122464
  function createKeySigner(bits) {
120003
- return function sign4(thing, privateKey) {
122465
+ return function sign3(thing, privateKey) {
120004
122466
  checkIsPrivateKey(privateKey);
120005
122467
  thing = normalizeInput(thing);
120006
122468
  var signer = crypto.createSign("RSA-SHA" + bits);
@@ -120019,7 +122481,7 @@ function createKeyVerifier(bits) {
120019
122481
  };
120020
122482
  }
120021
122483
  function createPSSKeySigner(bits) {
120022
- return function sign4(thing, privateKey) {
122484
+ return function sign3(thing, privateKey) {
120023
122485
  checkIsPrivateKey(privateKey);
120024
122486
  thing = normalizeInput(thing);
120025
122487
  var signer = crypto.createSign("RSA-SHA" + bits);
@@ -120047,7 +122509,7 @@ function createPSSKeyVerifier(bits) {
120047
122509
  }
120048
122510
  function createECDSASigner(bits) {
120049
122511
  var inner = createKeySigner(bits);
120050
- return function sign4() {
122512
+ return function sign3() {
120051
122513
  var signature = inner.apply(null, arguments);
120052
122514
  signature = formatEcdsa.derToJose(signature, "ES" + bits);
120053
122515
  return signature;
@@ -120062,7 +122524,7 @@ function createECDSAVerifer(bits) {
120062
122524
  };
120063
122525
  }
120064
122526
  function createNoneSigner() {
120065
- return function sign4() {
122527
+ return function sign3() {
120066
122528
  return "";
120067
122529
  };
120068
122530
  }
@@ -120109,7 +122571,7 @@ var DataStream$1 = dataStream;
120109
122571
  var jwa$1 = jwa$2;
120110
122572
  var Stream$1 = require$$2$2;
120111
122573
  var toString$1 = tostring;
120112
- var util$6 = require$$2$2;
122574
+ var util$6 = requireUtil();
120113
122575
  function base64url(string, encoding4) {
120114
122576
  return Buffer$2.from(string, encoding4).toString("base64").replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
120115
122577
  }
@@ -120147,7 +122609,7 @@ function SignStream$1(opts) {
120147
122609
  }).bind(this));
120148
122610
  }
120149
122611
  util$6.inherits(SignStream$1, Stream$1);
120150
- SignStream$1.prototype.sign = function sign2() {
122612
+ SignStream$1.prototype.sign = function sign() {
120151
122613
  try {
120152
122614
  var signature = jwsSign({
120153
122615
  header: this.header,
@@ -120173,7 +122635,7 @@ var DataStream = dataStream;
120173
122635
  var jwa2 = jwa$2;
120174
122636
  var Stream = require$$2$2;
120175
122637
  var toString2 = tostring;
120176
- var util$5 = require$$2$2;
122638
+ var util$5 = requireUtil();
120177
122639
  var JWS_REGEX = /^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;
120178
122640
  function isObject$3(thing) {
120179
122641
  return Object.prototype.toString.call(thing) === "[object Object]";
@@ -122381,8 +124843,8 @@ function toFinite$2(value) {
122381
124843
  }
122382
124844
  value = toNumber$2(value);
122383
124845
  if (value === INFINITY$2 || value === -INFINITY$2) {
122384
- var sign4 = value < 0 ? -1 : 1;
122385
- return sign4 * MAX_INTEGER$2;
124846
+ var sign3 = value < 0 ? -1 : 1;
124847
+ return sign3 * MAX_INTEGER$2;
122386
124848
  }
122387
124849
  return value === value ? value : 0;
122388
124850
  }
@@ -122453,8 +124915,8 @@ function toFinite$1(value) {
122453
124915
  }
122454
124916
  value = toNumber$1(value);
122455
124917
  if (value === INFINITY$1 || value === -INFINITY$1) {
122456
- var sign4 = value < 0 ? -1 : 1;
122457
- return sign4 * MAX_INTEGER$1;
124918
+ var sign3 = value < 0 ? -1 : 1;
124919
+ return sign3 * MAX_INTEGER$1;
122458
124920
  }
122459
124921
  return value === value ? value : 0;
122460
124922
  }
@@ -122584,8 +125046,8 @@ function toFinite(value) {
122584
125046
  }
122585
125047
  value = toNumber(value);
122586
125048
  if (value === INFINITY || value === -INFINITY) {
122587
- var sign4 = value < 0 ? -1 : 1;
122588
- return sign4 * MAX_INTEGER;
125049
+ var sign3 = value < 0 ? -1 : 1;
125050
+ return sign3 * MAX_INTEGER;
122589
125051
  }
122590
125052
  return value === value ? value : 0;
122591
125053
  }
@@ -122693,7 +125155,7 @@ const options_for_objects = [
122693
125155
  "subject",
122694
125156
  "jwtid"
122695
125157
  ];
122696
- var sign3 = function(payload, secretOrPrivateKey, options, callback) {
125158
+ var sign2 = function(payload, secretOrPrivateKey, options, callback) {
122697
125159
  if (typeof options === "function") {
122698
125160
  callback = options;
122699
125161
  options = {};
@@ -122834,7 +125296,7 @@ var sign3 = function(payload, secretOrPrivateKey, options, callback) {
122834
125296
  var jsonwebtoken = {
122835
125297
  decode: decode$1,
122836
125298
  verify: verify2,
122837
- sign: sign3,
125299
+ sign: sign2,
122838
125300
  JsonWebTokenError: JsonWebTokenError_1,
122839
125301
  NotBeforeError: NotBeforeError_1,
122840
125302
  TokenExpiredError: TokenExpiredError_1
@@ -122845,7 +125307,7 @@ var nodePreGyp = { exports: {} };
122845
125307
  var s3_setup = { exports: {} };
122846
125308
  (function(module, exports) {
122847
125309
  module.exports = exports;
122848
- const url2 = require$$2$2;
125310
+ const url2 = url$1;
122849
125311
  const fs2 = require$$2$2;
122850
125312
  const path3 = require$$2$2;
122851
125313
  module.exports.detect = function(opts, config2) {
@@ -123024,7 +125486,7 @@ var abbrevExports = abbrev.exports;
123024
125486
  console.error.apply(console, arguments);
123025
125487
  } : function() {
123026
125488
  };
123027
- var url2 = require$$2$2, path3 = require$$2$2, Stream2 = require$$2$2.Stream, abbrev2 = abbrevExports, os2 = require$$2$2;
125489
+ var url2 = url$1, path3 = require$$2$2, Stream2 = require$$2$2.Stream, abbrev2 = abbrevExports, os2 = require$$2$2;
123028
125490
  module.exports = exports = nopt2;
123029
125491
  exports.clean = clean2;
123030
125492
  exports.typeDefs = {
@@ -123367,8 +125829,226 @@ var log = { exports: {} };
123367
125829
  var lib = {};
123368
125830
  var trackerGroup = { exports: {} };
123369
125831
  var trackerBase = { exports: {} };
123370
- var EventEmitter = require$$2$2.EventEmitter;
123371
- var util$4 = require$$2$2;
125832
+ var events;
125833
+ var hasRequiredEvents;
125834
+ function requireEvents() {
125835
+ if (hasRequiredEvents)
125836
+ return events;
125837
+ hasRequiredEvents = 1;
125838
+ function EventEmitter2() {
125839
+ this._events = this._events || {};
125840
+ this._maxListeners = this._maxListeners || void 0;
125841
+ }
125842
+ events = EventEmitter2;
125843
+ EventEmitter2.EventEmitter = EventEmitter2;
125844
+ EventEmitter2.prototype._events = void 0;
125845
+ EventEmitter2.prototype._maxListeners = void 0;
125846
+ EventEmitter2.defaultMaxListeners = 10;
125847
+ EventEmitter2.prototype.setMaxListeners = function(n) {
125848
+ if (!isNumber2(n) || n < 0 || isNaN(n))
125849
+ throw TypeError("n must be a positive number");
125850
+ this._maxListeners = n;
125851
+ return this;
125852
+ };
125853
+ EventEmitter2.prototype.emit = function(type3) {
125854
+ var er, handler, len, args, i, listeners;
125855
+ if (!this._events)
125856
+ this._events = {};
125857
+ if (type3 === "error") {
125858
+ if (!this._events.error || isObject2(this._events.error) && !this._events.error.length) {
125859
+ er = arguments[1];
125860
+ if (er instanceof Error) {
125861
+ throw er;
125862
+ } else {
125863
+ var err = new Error('Uncaught, unspecified "error" event. (' + er + ")");
125864
+ err.context = er;
125865
+ throw err;
125866
+ }
125867
+ }
125868
+ }
125869
+ handler = this._events[type3];
125870
+ if (isUndefined(handler))
125871
+ return false;
125872
+ if (isFunction2(handler)) {
125873
+ switch (arguments.length) {
125874
+ case 1:
125875
+ handler.call(this);
125876
+ break;
125877
+ case 2:
125878
+ handler.call(this, arguments[1]);
125879
+ break;
125880
+ case 3:
125881
+ handler.call(this, arguments[1], arguments[2]);
125882
+ break;
125883
+ default:
125884
+ args = Array.prototype.slice.call(arguments, 1);
125885
+ handler.apply(this, args);
125886
+ }
125887
+ } else if (isObject2(handler)) {
125888
+ args = Array.prototype.slice.call(arguments, 1);
125889
+ listeners = handler.slice();
125890
+ len = listeners.length;
125891
+ for (i = 0; i < len; i++)
125892
+ listeners[i].apply(this, args);
125893
+ }
125894
+ return true;
125895
+ };
125896
+ EventEmitter2.prototype.addListener = function(type3, listener2) {
125897
+ var m2;
125898
+ if (!isFunction2(listener2))
125899
+ throw TypeError("listener must be a function");
125900
+ if (!this._events)
125901
+ this._events = {};
125902
+ if (this._events.newListener)
125903
+ this.emit(
125904
+ "newListener",
125905
+ type3,
125906
+ isFunction2(listener2.listener) ? listener2.listener : listener2
125907
+ );
125908
+ if (!this._events[type3])
125909
+ this._events[type3] = listener2;
125910
+ else if (isObject2(this._events[type3]))
125911
+ this._events[type3].push(listener2);
125912
+ else
125913
+ this._events[type3] = [this._events[type3], listener2];
125914
+ if (isObject2(this._events[type3]) && !this._events[type3].warned) {
125915
+ if (!isUndefined(this._maxListeners)) {
125916
+ m2 = this._maxListeners;
125917
+ } else {
125918
+ m2 = EventEmitter2.defaultMaxListeners;
125919
+ }
125920
+ if (m2 && m2 > 0 && this._events[type3].length > m2) {
125921
+ this._events[type3].warned = true;
125922
+ console.error(
125923
+ "(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",
125924
+ this._events[type3].length
125925
+ );
125926
+ if (typeof console.trace === "function") {
125927
+ console.trace();
125928
+ }
125929
+ }
125930
+ }
125931
+ return this;
125932
+ };
125933
+ EventEmitter2.prototype.on = EventEmitter2.prototype.addListener;
125934
+ EventEmitter2.prototype.once = function(type3, listener2) {
125935
+ if (!isFunction2(listener2))
125936
+ throw TypeError("listener must be a function");
125937
+ var fired = false;
125938
+ function g() {
125939
+ this.removeListener(type3, g);
125940
+ if (!fired) {
125941
+ fired = true;
125942
+ listener2.apply(this, arguments);
125943
+ }
125944
+ }
125945
+ g.listener = listener2;
125946
+ this.on(type3, g);
125947
+ return this;
125948
+ };
125949
+ EventEmitter2.prototype.removeListener = function(type3, listener2) {
125950
+ var list, position, length, i;
125951
+ if (!isFunction2(listener2))
125952
+ throw TypeError("listener must be a function");
125953
+ if (!this._events || !this._events[type3])
125954
+ return this;
125955
+ list = this._events[type3];
125956
+ length = list.length;
125957
+ position = -1;
125958
+ if (list === listener2 || isFunction2(list.listener) && list.listener === listener2) {
125959
+ delete this._events[type3];
125960
+ if (this._events.removeListener)
125961
+ this.emit("removeListener", type3, listener2);
125962
+ } else if (isObject2(list)) {
125963
+ for (i = length; i-- > 0; ) {
125964
+ if (list[i] === listener2 || list[i].listener && list[i].listener === listener2) {
125965
+ position = i;
125966
+ break;
125967
+ }
125968
+ }
125969
+ if (position < 0)
125970
+ return this;
125971
+ if (list.length === 1) {
125972
+ list.length = 0;
125973
+ delete this._events[type3];
125974
+ } else {
125975
+ list.splice(position, 1);
125976
+ }
125977
+ if (this._events.removeListener)
125978
+ this.emit("removeListener", type3, listener2);
125979
+ }
125980
+ return this;
125981
+ };
125982
+ EventEmitter2.prototype.removeAllListeners = function(type3) {
125983
+ var key, listeners;
125984
+ if (!this._events)
125985
+ return this;
125986
+ if (!this._events.removeListener) {
125987
+ if (arguments.length === 0)
125988
+ this._events = {};
125989
+ else if (this._events[type3])
125990
+ delete this._events[type3];
125991
+ return this;
125992
+ }
125993
+ if (arguments.length === 0) {
125994
+ for (key in this._events) {
125995
+ if (key === "removeListener")
125996
+ continue;
125997
+ this.removeAllListeners(key);
125998
+ }
125999
+ this.removeAllListeners("removeListener");
126000
+ this._events = {};
126001
+ return this;
126002
+ }
126003
+ listeners = this._events[type3];
126004
+ if (isFunction2(listeners)) {
126005
+ this.removeListener(type3, listeners);
126006
+ } else if (listeners) {
126007
+ while (listeners.length)
126008
+ this.removeListener(type3, listeners[listeners.length - 1]);
126009
+ }
126010
+ delete this._events[type3];
126011
+ return this;
126012
+ };
126013
+ EventEmitter2.prototype.listeners = function(type3) {
126014
+ var ret;
126015
+ if (!this._events || !this._events[type3])
126016
+ ret = [];
126017
+ else if (isFunction2(this._events[type3]))
126018
+ ret = [this._events[type3]];
126019
+ else
126020
+ ret = this._events[type3].slice();
126021
+ return ret;
126022
+ };
126023
+ EventEmitter2.prototype.listenerCount = function(type3) {
126024
+ if (this._events) {
126025
+ var evlistener = this._events[type3];
126026
+ if (isFunction2(evlistener))
126027
+ return 1;
126028
+ else if (evlistener)
126029
+ return evlistener.length;
126030
+ }
126031
+ return 0;
126032
+ };
126033
+ EventEmitter2.listenerCount = function(emitter, type3) {
126034
+ return emitter.listenerCount(type3);
126035
+ };
126036
+ function isFunction2(arg) {
126037
+ return typeof arg === "function";
126038
+ }
126039
+ function isNumber2(arg) {
126040
+ return typeof arg === "number";
126041
+ }
126042
+ function isObject2(arg) {
126043
+ return typeof arg === "object" && arg !== null;
126044
+ }
126045
+ function isUndefined(arg) {
126046
+ return arg === void 0;
126047
+ }
126048
+ return events;
126049
+ }
126050
+ var EventEmitter = requireEvents().EventEmitter;
126051
+ var util$4 = requireUtil();
123372
126052
  var trackerId = 0;
123373
126053
  var TrackerBase$2 = trackerBase.exports = function(name2) {
123374
126054
  EventEmitter.call(this);
@@ -123378,7 +126058,7 @@ var TrackerBase$2 = trackerBase.exports = function(name2) {
123378
126058
  util$4.inherits(TrackerBase$2, EventEmitter);
123379
126059
  var trackerBaseExports = trackerBase.exports;
123380
126060
  var tracker = { exports: {} };
123381
- var util$3 = require$$2$2;
126061
+ var util$3 = requireUtil();
123382
126062
  var TrackerBase$1 = trackerBaseExports;
123383
126063
  var Tracker$2 = tracker.exports = function(name2, todo) {
123384
126064
  TrackerBase$1.call(this, name2);
@@ -123407,7 +126087,7 @@ Tracker$2.prototype.finish = function() {
123407
126087
  var trackerExports = tracker.exports;
123408
126088
  var trackerStream = { exports: {} };
123409
126089
  var readableBrowser = { exports: {} };
123410
- var streamBrowser = require$$2$2.EventEmitter;
126090
+ var streamBrowser = requireEvents().EventEmitter;
123411
126091
  var buffer_list;
123412
126092
  var hasRequiredBuffer_list;
123413
126093
  function requireBuffer_list() {
@@ -124798,7 +127478,7 @@ function require_stream_readable() {
124798
127478
  _stream_readable = Readable;
124799
127479
  var Duplex2;
124800
127480
  Readable.ReadableState = ReadableState;
124801
- require$$2$2.EventEmitter;
127481
+ requireEvents().EventEmitter;
124802
127482
  var EElistenerCount = function EElistenerCount2(emitter, type3) {
124803
127483
  return emitter.listeners(type3).length;
124804
127484
  };
@@ -125846,7 +128526,7 @@ Delegator.prototype.fluent = function(name2) {
125846
128526
  };
125847
128527
  return this;
125848
128528
  };
125849
- var util$2 = require$$2$2;
128529
+ var util$2 = requireUtil();
125850
128530
  var stream2 = readableBrowserExports;
125851
128531
  var delegate = delegates;
125852
128532
  var Tracker$1 = trackerExports;
@@ -125874,7 +128554,7 @@ TrackerStream$1.prototype._flush = function(cb) {
125874
128554
  };
125875
128555
  delegate(TrackerStream$1.prototype, "tracker").method("completed").method("addWork").method("finish");
125876
128556
  var trackerStreamExports = trackerStream.exports;
125877
- var util$1 = require$$2$2;
128557
+ var util$1 = requireUtil();
125878
128558
  var TrackerBase = trackerBaseExports;
125879
128559
  var Tracker = trackerExports;
125880
128560
  var TrackerStream = trackerStreamExports;
@@ -126334,7 +129014,7 @@ function wideTruncate$2(str, target) {
126334
129014
  return truncated;
126335
129015
  }
126336
129016
  var error$1 = {};
126337
- var util = require$$2$2;
129017
+ var util = requireUtil();
126338
129018
  var User = error$1.User = function User2(msg) {
126339
129019
  var err = new Error(msg);
126340
129020
  Error.captureStackTrace(err, User2);
@@ -126720,7 +129400,7 @@ if (!processOk(process$3)) {
126720
129400
  var assert = require$$2$2;
126721
129401
  var signals = requireSignals();
126722
129402
  var isWin = /^win/i.test(process$3.platform);
126723
- var EE = require$$2$2;
129403
+ var EE = requireEvents();
126724
129404
  if (typeof EE !== "function") {
126725
129405
  EE = EE.EventEmitter;
126726
129406
  }
@@ -127365,9 +130045,9 @@ var setBlocking = function(blocking) {
127365
130045
  (function(module, exports) {
127366
130046
  var Progress = lib;
127367
130047
  var Gauge2 = gauge;
127368
- var EE = require$$2$2.EventEmitter;
130048
+ var EE = requireEvents().EventEmitter;
127369
130049
  var log2 = module.exports = new EE();
127370
- var util2 = require$$2$2;
130050
+ var util2 = requireUtil();
127371
130051
  var setBlocking$1 = setBlocking;
127372
130052
  var consoleControl2 = consoleControlStrings;
127373
130053
  setBlocking$1(true);
@@ -129016,6 +131696,7 @@ function requireSync() {
129016
131696
  var minimatch = requireMinimatch();
129017
131697
  minimatch.Minimatch;
129018
131698
  requireGlob().Glob;
131699
+ requireUtil();
129019
131700
  var path3 = require$$2$2;
129020
131701
  var assert = require$$2$2;
129021
131702
  var isAbsolute = requirePathIsAbsolute();
@@ -129414,7 +132095,7 @@ function requireGlob() {
129414
132095
  var minimatch = requireMinimatch();
129415
132096
  minimatch.Minimatch;
129416
132097
  var inherits = inherits_browserExports;
129417
- var EE = require$$2$2.EventEmitter;
132098
+ var EE = requireEvents().EventEmitter;
129418
132099
  var path3 = require$$2$2;
129419
132100
  var assert = require$$2$2;
129420
132101
  var isAbsolute = requirePathIsAbsolute();
@@ -129423,6 +132104,7 @@ function requireGlob() {
129423
132104
  var setopts = common2.setopts;
129424
132105
  var ownProp = common2.ownProp;
129425
132106
  var inflight = requireInflight();
132107
+ requireUtil();
129426
132108
  var childrenIgnored = common2.childrenIgnored;
129427
132109
  var isIgnored = common2.isIgnored;
129428
132110
  var once2 = onceExports;
@@ -135239,7 +137921,7 @@ function requireVersioning() {
135239
137921
  module.exports = exports;
135240
137922
  const path3 = require$$2$2;
135241
137923
  const semver2 = requireSemver();
135242
- const url2 = require$$2$2;
137924
+ const url2 = url$1;
135243
137925
  const detect_libc = requireDetectLibc();
135244
137926
  const napi2 = requireNapi();
135245
137927
  let abi_crosswalk;
@@ -135627,8 +138309,8 @@ function requireNodePreGyp() {
135627
138309
  const log2 = logExports;
135628
138310
  log2.disableProgress();
135629
138311
  const napi2 = requireNapi();
135630
- const EE = require$$2$2.EventEmitter;
135631
- const inherits = require$$2$2.inherits;
138312
+ const EE = requireEvents().EventEmitter;
138313
+ const inherits = requireUtil().inherits;
135632
138314
  const cli_commands = [
135633
138315
  "clean",
135634
138316
  "install",