autoql-fe-utils 1.7.16 → 1.7.18

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.
@@ -870,13 +870,13 @@
870
870
  var Map3 = getNative(root2, "Map");
871
871
  var Promise2 = getNative(root2, "Promise");
872
872
  var Set3 = getNative(root2, "Set");
873
- var WeakMap = getNative(root2, "WeakMap");
873
+ var WeakMap2 = getNative(root2, "WeakMap");
874
874
  var nativeCreate = getNative(Object, "create");
875
875
  var dataViewCtorString = toSource(DataView2);
876
876
  var mapCtorString = toSource(Map3);
877
877
  var promiseCtorString = toSource(Promise2);
878
878
  var setCtorString = toSource(Set3);
879
- var weakMapCtorString = toSource(WeakMap);
879
+ var weakMapCtorString = toSource(WeakMap2);
880
880
  var symbolProto = Symbol3 ? Symbol3.prototype : void 0;
881
881
  var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
882
882
  function Hash(entries) {
@@ -1209,7 +1209,7 @@
1209
1209
  }
1210
1210
  var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;
1211
1211
  var getTag = baseGetTag;
1212
- if (DataView2 && getTag(new DataView2(new ArrayBuffer(1))) != dataViewTag || Map3 && getTag(new Map3()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set3 && getTag(new Set3()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {
1212
+ if (DataView2 && getTag(new DataView2(new ArrayBuffer(1))) != dataViewTag || Map3 && getTag(new Map3()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set3 && getTag(new Set3()) != setTag || WeakMap2 && getTag(new WeakMap2()) != weakMapTag) {
1213
1213
  getTag = function(value) {
1214
1214
  var result = objectToString.call(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : void 0;
1215
1215
  if (ctorString) {
@@ -1494,13 +1494,13 @@
1494
1494
  var Map3 = getNative(root2, "Map");
1495
1495
  var Promise2 = getNative(root2, "Promise");
1496
1496
  var Set3 = getNative(root2, "Set");
1497
- var WeakMap = getNative(root2, "WeakMap");
1497
+ var WeakMap2 = getNative(root2, "WeakMap");
1498
1498
  var nativeCreate = getNative(Object, "create");
1499
1499
  var dataViewCtorString = toSource(DataView2);
1500
1500
  var mapCtorString = toSource(Map3);
1501
1501
  var promiseCtorString = toSource(Promise2);
1502
1502
  var setCtorString = toSource(Set3);
1503
- var weakMapCtorString = toSource(WeakMap);
1503
+ var weakMapCtorString = toSource(WeakMap2);
1504
1504
  var symbolProto = Symbol3 ? Symbol3.prototype : void 0;
1505
1505
  var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
1506
1506
  function Hash(entries) {
@@ -1948,7 +1948,7 @@
1948
1948
  });
1949
1949
  };
1950
1950
  var getTag = baseGetTag;
1951
- if (DataView2 && getTag(new DataView2(new ArrayBuffer(1))) != dataViewTag || Map3 && getTag(new Map3()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set3 && getTag(new Set3()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {
1951
+ if (DataView2 && getTag(new DataView2(new ArrayBuffer(1))) != dataViewTag || Map3 && getTag(new Map3()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set3 && getTag(new Set3()) != setTag || WeakMap2 && getTag(new WeakMap2()) != weakMapTag) {
1952
1952
  getTag = function(value) {
1953
1953
  var result = baseGetTag(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
1954
1954
  if (ctorString) {
@@ -2226,13 +2226,13 @@
2226
2226
  var Map3 = getNative(root2, "Map");
2227
2227
  var Promise2 = getNative(root2, "Promise");
2228
2228
  var Set3 = getNative(root2, "Set");
2229
- var WeakMap = getNative(root2, "WeakMap");
2229
+ var WeakMap2 = getNative(root2, "WeakMap");
2230
2230
  var nativeCreate = getNative(Object, "create");
2231
2231
  var dataViewCtorString = toSource(DataView2);
2232
2232
  var mapCtorString = toSource(Map3);
2233
2233
  var promiseCtorString = toSource(Promise2);
2234
2234
  var setCtorString = toSource(Set3);
2235
- var weakMapCtorString = toSource(WeakMap);
2235
+ var weakMapCtorString = toSource(WeakMap2);
2236
2236
  var symbolProto = Symbol3 ? Symbol3.prototype : void 0;
2237
2237
  var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
2238
2238
  var symbolToString = symbolProto ? symbolProto.toString : void 0;
@@ -2833,7 +2833,7 @@
2833
2833
  return baseIsNative(value) ? value : void 0;
2834
2834
  }
2835
2835
  var getTag = baseGetTag;
2836
- if (DataView2 && getTag(new DataView2(new ArrayBuffer(1))) != dataViewTag || Map3 && getTag(new Map3()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set3 && getTag(new Set3()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {
2836
+ if (DataView2 && getTag(new DataView2(new ArrayBuffer(1))) != dataViewTag || Map3 && getTag(new Map3()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set3 && getTag(new Set3()) != setTag || WeakMap2 && getTag(new WeakMap2()) != weakMapTag) {
2837
2837
  getTag = function(value) {
2838
2838
  var result = objectToString.call(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : void 0;
2839
2839
  if (ctorString) {
@@ -12126,9 +12126,856 @@
12126
12126
  }
12127
12127
  });
12128
12128
 
12129
+ // node_modules/es-object-atoms/index.js
12130
+ var require_es_object_atoms = __commonJS({
12131
+ "node_modules/es-object-atoms/index.js"(exports, module) {
12132
+ "use strict";
12133
+ module.exports = Object;
12134
+ }
12135
+ });
12136
+
12137
+ // node_modules/es-errors/index.js
12138
+ var require_es_errors = __commonJS({
12139
+ "node_modules/es-errors/index.js"(exports, module) {
12140
+ "use strict";
12141
+ module.exports = Error;
12142
+ }
12143
+ });
12144
+
12145
+ // node_modules/es-errors/eval.js
12146
+ var require_eval = __commonJS({
12147
+ "node_modules/es-errors/eval.js"(exports, module) {
12148
+ "use strict";
12149
+ module.exports = EvalError;
12150
+ }
12151
+ });
12152
+
12153
+ // node_modules/es-errors/range.js
12154
+ var require_range = __commonJS({
12155
+ "node_modules/es-errors/range.js"(exports, module) {
12156
+ "use strict";
12157
+ module.exports = RangeError;
12158
+ }
12159
+ });
12160
+
12161
+ // node_modules/es-errors/ref.js
12162
+ var require_ref = __commonJS({
12163
+ "node_modules/es-errors/ref.js"(exports, module) {
12164
+ "use strict";
12165
+ module.exports = ReferenceError;
12166
+ }
12167
+ });
12168
+
12169
+ // node_modules/es-errors/syntax.js
12170
+ var require_syntax = __commonJS({
12171
+ "node_modules/es-errors/syntax.js"(exports, module) {
12172
+ "use strict";
12173
+ module.exports = SyntaxError;
12174
+ }
12175
+ });
12176
+
12177
+ // node_modules/es-errors/type.js
12178
+ var require_type = __commonJS({
12179
+ "node_modules/es-errors/type.js"(exports, module) {
12180
+ "use strict";
12181
+ module.exports = TypeError;
12182
+ }
12183
+ });
12184
+
12185
+ // node_modules/es-errors/uri.js
12186
+ var require_uri = __commonJS({
12187
+ "node_modules/es-errors/uri.js"(exports, module) {
12188
+ "use strict";
12189
+ module.exports = URIError;
12190
+ }
12191
+ });
12192
+
12193
+ // node_modules/math-intrinsics/abs.js
12194
+ var require_abs = __commonJS({
12195
+ "node_modules/math-intrinsics/abs.js"(exports, module) {
12196
+ "use strict";
12197
+ module.exports = Math.abs;
12198
+ }
12199
+ });
12200
+
12201
+ // node_modules/math-intrinsics/floor.js
12202
+ var require_floor = __commonJS({
12203
+ "node_modules/math-intrinsics/floor.js"(exports, module) {
12204
+ "use strict";
12205
+ module.exports = Math.floor;
12206
+ }
12207
+ });
12208
+
12209
+ // node_modules/math-intrinsics/max.js
12210
+ var require_max = __commonJS({
12211
+ "node_modules/math-intrinsics/max.js"(exports, module) {
12212
+ "use strict";
12213
+ module.exports = Math.max;
12214
+ }
12215
+ });
12216
+
12217
+ // node_modules/math-intrinsics/min.js
12218
+ var require_min = __commonJS({
12219
+ "node_modules/math-intrinsics/min.js"(exports, module) {
12220
+ "use strict";
12221
+ module.exports = Math.min;
12222
+ }
12223
+ });
12224
+
12225
+ // node_modules/math-intrinsics/pow.js
12226
+ var require_pow = __commonJS({
12227
+ "node_modules/math-intrinsics/pow.js"(exports, module) {
12228
+ "use strict";
12229
+ module.exports = Math.pow;
12230
+ }
12231
+ });
12232
+
12233
+ // node_modules/math-intrinsics/round.js
12234
+ var require_round = __commonJS({
12235
+ "node_modules/math-intrinsics/round.js"(exports, module) {
12236
+ "use strict";
12237
+ module.exports = Math.round;
12238
+ }
12239
+ });
12240
+
12241
+ // node_modules/math-intrinsics/isNaN.js
12242
+ var require_isNaN = __commonJS({
12243
+ "node_modules/math-intrinsics/isNaN.js"(exports, module) {
12244
+ "use strict";
12245
+ module.exports = Number.isNaN || function isNaN2(a) {
12246
+ return a !== a;
12247
+ };
12248
+ }
12249
+ });
12250
+
12251
+ // node_modules/math-intrinsics/sign.js
12252
+ var require_sign = __commonJS({
12253
+ "node_modules/math-intrinsics/sign.js"(exports, module) {
12254
+ "use strict";
12255
+ var $isNaN = require_isNaN();
12256
+ module.exports = function sign(number5) {
12257
+ if ($isNaN(number5) || number5 === 0) {
12258
+ return number5;
12259
+ }
12260
+ return number5 < 0 ? -1 : 1;
12261
+ };
12262
+ }
12263
+ });
12264
+
12265
+ // node_modules/gopd/gOPD.js
12266
+ var require_gOPD = __commonJS({
12267
+ "node_modules/gopd/gOPD.js"(exports, module) {
12268
+ "use strict";
12269
+ module.exports = Object.getOwnPropertyDescriptor;
12270
+ }
12271
+ });
12272
+
12273
+ // node_modules/gopd/index.js
12274
+ var require_gopd = __commonJS({
12275
+ "node_modules/gopd/index.js"(exports, module) {
12276
+ "use strict";
12277
+ var $gOPD = require_gOPD();
12278
+ if ($gOPD) {
12279
+ try {
12280
+ $gOPD([], "length");
12281
+ } catch (e) {
12282
+ $gOPD = null;
12283
+ }
12284
+ }
12285
+ module.exports = $gOPD;
12286
+ }
12287
+ });
12288
+
12289
+ // node_modules/es-define-property/index.js
12290
+ var require_es_define_property = __commonJS({
12291
+ "node_modules/es-define-property/index.js"(exports, module) {
12292
+ "use strict";
12293
+ var $defineProperty = Object.defineProperty || false;
12294
+ if ($defineProperty) {
12295
+ try {
12296
+ $defineProperty({}, "a", { value: 1 });
12297
+ } catch (e) {
12298
+ $defineProperty = false;
12299
+ }
12300
+ }
12301
+ module.exports = $defineProperty;
12302
+ }
12303
+ });
12304
+
12305
+ // node_modules/has-symbols/shams.js
12306
+ var require_shams = __commonJS({
12307
+ "node_modules/has-symbols/shams.js"(exports, module) {
12308
+ "use strict";
12309
+ module.exports = function hasSymbols() {
12310
+ if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
12311
+ return false;
12312
+ }
12313
+ if (typeof Symbol.iterator === "symbol") {
12314
+ return true;
12315
+ }
12316
+ var obj = {};
12317
+ var sym = Symbol("test");
12318
+ var symObj = Object(sym);
12319
+ if (typeof sym === "string") {
12320
+ return false;
12321
+ }
12322
+ if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
12323
+ return false;
12324
+ }
12325
+ if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
12326
+ return false;
12327
+ }
12328
+ var symVal = 42;
12329
+ obj[sym] = symVal;
12330
+ for (var _ in obj) {
12331
+ return false;
12332
+ }
12333
+ if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
12334
+ return false;
12335
+ }
12336
+ if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
12337
+ return false;
12338
+ }
12339
+ var syms = Object.getOwnPropertySymbols(obj);
12340
+ if (syms.length !== 1 || syms[0] !== sym) {
12341
+ return false;
12342
+ }
12343
+ if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
12344
+ return false;
12345
+ }
12346
+ if (typeof Object.getOwnPropertyDescriptor === "function") {
12347
+ var descriptor = (
12348
+ /** @type {PropertyDescriptor} */
12349
+ Object.getOwnPropertyDescriptor(obj, sym)
12350
+ );
12351
+ if (descriptor.value !== symVal || descriptor.enumerable !== true) {
12352
+ return false;
12353
+ }
12354
+ }
12355
+ return true;
12356
+ };
12357
+ }
12358
+ });
12359
+
12360
+ // node_modules/has-symbols/index.js
12361
+ var require_has_symbols = __commonJS({
12362
+ "node_modules/has-symbols/index.js"(exports, module) {
12363
+ "use strict";
12364
+ var origSymbol = typeof Symbol !== "undefined" && Symbol;
12365
+ var hasSymbolSham = require_shams();
12366
+ module.exports = function hasNativeSymbols() {
12367
+ if (typeof origSymbol !== "function") {
12368
+ return false;
12369
+ }
12370
+ if (typeof Symbol !== "function") {
12371
+ return false;
12372
+ }
12373
+ if (typeof origSymbol("foo") !== "symbol") {
12374
+ return false;
12375
+ }
12376
+ if (typeof Symbol("bar") !== "symbol") {
12377
+ return false;
12378
+ }
12379
+ return hasSymbolSham();
12380
+ };
12381
+ }
12382
+ });
12383
+
12384
+ // node_modules/get-proto/Reflect.getPrototypeOf.js
12385
+ var require_Reflect_getPrototypeOf = __commonJS({
12386
+ "node_modules/get-proto/Reflect.getPrototypeOf.js"(exports, module) {
12387
+ "use strict";
12388
+ module.exports = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
12389
+ }
12390
+ });
12391
+
12392
+ // node_modules/get-proto/Object.getPrototypeOf.js
12393
+ var require_Object_getPrototypeOf = __commonJS({
12394
+ "node_modules/get-proto/Object.getPrototypeOf.js"(exports, module) {
12395
+ "use strict";
12396
+ var $Object = require_es_object_atoms();
12397
+ module.exports = $Object.getPrototypeOf || null;
12398
+ }
12399
+ });
12400
+
12401
+ // node_modules/function-bind/implementation.js
12402
+ var require_implementation = __commonJS({
12403
+ "node_modules/function-bind/implementation.js"(exports, module) {
12404
+ "use strict";
12405
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
12406
+ var toStr = Object.prototype.toString;
12407
+ var max2 = Math.max;
12408
+ var funcType = "[object Function]";
12409
+ var concatty = function concatty2(a, b) {
12410
+ var arr = [];
12411
+ for (var i = 0; i < a.length; i += 1) {
12412
+ arr[i] = a[i];
12413
+ }
12414
+ for (var j = 0; j < b.length; j += 1) {
12415
+ arr[j + a.length] = b[j];
12416
+ }
12417
+ return arr;
12418
+ };
12419
+ var slicy = function slicy2(arrLike, offset) {
12420
+ var arr = [];
12421
+ for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
12422
+ arr[j] = arrLike[i];
12423
+ }
12424
+ return arr;
12425
+ };
12426
+ var joiny = function(arr, joiner) {
12427
+ var str = "";
12428
+ for (var i = 0; i < arr.length; i += 1) {
12429
+ str += arr[i];
12430
+ if (i + 1 < arr.length) {
12431
+ str += joiner;
12432
+ }
12433
+ }
12434
+ return str;
12435
+ };
12436
+ module.exports = function bind2(that) {
12437
+ var target = this;
12438
+ if (typeof target !== "function" || toStr.apply(target) !== funcType) {
12439
+ throw new TypeError(ERROR_MESSAGE + target);
12440
+ }
12441
+ var args = slicy(arguments, 1);
12442
+ var bound;
12443
+ var binder = function() {
12444
+ if (this instanceof bound) {
12445
+ var result = target.apply(
12446
+ this,
12447
+ concatty(args, arguments)
12448
+ );
12449
+ if (Object(result) === result) {
12450
+ return result;
12451
+ }
12452
+ return this;
12453
+ }
12454
+ return target.apply(
12455
+ that,
12456
+ concatty(args, arguments)
12457
+ );
12458
+ };
12459
+ var boundLength = max2(0, target.length - args.length);
12460
+ var boundArgs = [];
12461
+ for (var i = 0; i < boundLength; i++) {
12462
+ boundArgs[i] = "$" + i;
12463
+ }
12464
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
12465
+ if (target.prototype) {
12466
+ var Empty = function Empty2() {
12467
+ };
12468
+ Empty.prototype = target.prototype;
12469
+ bound.prototype = new Empty();
12470
+ Empty.prototype = null;
12471
+ }
12472
+ return bound;
12473
+ };
12474
+ }
12475
+ });
12476
+
12477
+ // node_modules/function-bind/index.js
12478
+ var require_function_bind = __commonJS({
12479
+ "node_modules/function-bind/index.js"(exports, module) {
12480
+ "use strict";
12481
+ var implementation = require_implementation();
12482
+ module.exports = Function.prototype.bind || implementation;
12483
+ }
12484
+ });
12485
+
12486
+ // node_modules/call-bind-apply-helpers/functionCall.js
12487
+ var require_functionCall = __commonJS({
12488
+ "node_modules/call-bind-apply-helpers/functionCall.js"(exports, module) {
12489
+ "use strict";
12490
+ module.exports = Function.prototype.call;
12491
+ }
12492
+ });
12493
+
12494
+ // node_modules/call-bind-apply-helpers/functionApply.js
12495
+ var require_functionApply = __commonJS({
12496
+ "node_modules/call-bind-apply-helpers/functionApply.js"(exports, module) {
12497
+ "use strict";
12498
+ module.exports = Function.prototype.apply;
12499
+ }
12500
+ });
12501
+
12502
+ // node_modules/call-bind-apply-helpers/reflectApply.js
12503
+ var require_reflectApply = __commonJS({
12504
+ "node_modules/call-bind-apply-helpers/reflectApply.js"(exports, module) {
12505
+ "use strict";
12506
+ module.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
12507
+ }
12508
+ });
12509
+
12510
+ // node_modules/call-bind-apply-helpers/actualApply.js
12511
+ var require_actualApply = __commonJS({
12512
+ "node_modules/call-bind-apply-helpers/actualApply.js"(exports, module) {
12513
+ "use strict";
12514
+ var bind2 = require_function_bind();
12515
+ var $apply = require_functionApply();
12516
+ var $call = require_functionCall();
12517
+ var $reflectApply = require_reflectApply();
12518
+ module.exports = $reflectApply || bind2.call($call, $apply);
12519
+ }
12520
+ });
12521
+
12522
+ // node_modules/call-bind-apply-helpers/index.js
12523
+ var require_call_bind_apply_helpers = __commonJS({
12524
+ "node_modules/call-bind-apply-helpers/index.js"(exports, module) {
12525
+ "use strict";
12526
+ var bind2 = require_function_bind();
12527
+ var $TypeError = require_type();
12528
+ var $call = require_functionCall();
12529
+ var $actualApply = require_actualApply();
12530
+ module.exports = function callBindBasic(args) {
12531
+ if (args.length < 1 || typeof args[0] !== "function") {
12532
+ throw new $TypeError("a function is required");
12533
+ }
12534
+ return $actualApply(bind2, $call, args);
12535
+ };
12536
+ }
12537
+ });
12538
+
12539
+ // node_modules/dunder-proto/get.js
12540
+ var require_get = __commonJS({
12541
+ "node_modules/dunder-proto/get.js"(exports, module) {
12542
+ "use strict";
12543
+ var callBind = require_call_bind_apply_helpers();
12544
+ var gOPD = require_gopd();
12545
+ var hasProtoAccessor;
12546
+ try {
12547
+ hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
12548
+ [].__proto__ === Array.prototype;
12549
+ } catch (e) {
12550
+ if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") {
12551
+ throw e;
12552
+ }
12553
+ }
12554
+ var desc = !!hasProtoAccessor && gOPD && gOPD(
12555
+ Object.prototype,
12556
+ /** @type {keyof typeof Object.prototype} */
12557
+ "__proto__"
12558
+ );
12559
+ var $Object = Object;
12560
+ var $getPrototypeOf = $Object.getPrototypeOf;
12561
+ module.exports = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? (
12562
+ /** @type {import('./get')} */
12563
+ function getDunder(value) {
12564
+ return $getPrototypeOf(value == null ? value : $Object(value));
12565
+ }
12566
+ ) : false;
12567
+ }
12568
+ });
12569
+
12570
+ // node_modules/get-proto/index.js
12571
+ var require_get_proto = __commonJS({
12572
+ "node_modules/get-proto/index.js"(exports, module) {
12573
+ "use strict";
12574
+ var reflectGetProto = require_Reflect_getPrototypeOf();
12575
+ var originalGetProto = require_Object_getPrototypeOf();
12576
+ var getDunderProto = require_get();
12577
+ module.exports = reflectGetProto ? function getProto(O) {
12578
+ return reflectGetProto(O);
12579
+ } : originalGetProto ? function getProto(O) {
12580
+ if (!O || typeof O !== "object" && typeof O !== "function") {
12581
+ throw new TypeError("getProto: not an object");
12582
+ }
12583
+ return originalGetProto(O);
12584
+ } : getDunderProto ? function getProto(O) {
12585
+ return getDunderProto(O);
12586
+ } : null;
12587
+ }
12588
+ });
12589
+
12590
+ // node_modules/hasown/index.js
12591
+ var require_hasown = __commonJS({
12592
+ "node_modules/hasown/index.js"(exports, module) {
12593
+ "use strict";
12594
+ var call = Function.prototype.call;
12595
+ var $hasOwn = Object.prototype.hasOwnProperty;
12596
+ var bind2 = require_function_bind();
12597
+ module.exports = bind2.call(call, $hasOwn);
12598
+ }
12599
+ });
12600
+
12601
+ // node_modules/get-intrinsic/index.js
12602
+ var require_get_intrinsic = __commonJS({
12603
+ "node_modules/get-intrinsic/index.js"(exports, module) {
12604
+ "use strict";
12605
+ var undefined2;
12606
+ var $Object = require_es_object_atoms();
12607
+ var $Error = require_es_errors();
12608
+ var $EvalError = require_eval();
12609
+ var $RangeError = require_range();
12610
+ var $ReferenceError = require_ref();
12611
+ var $SyntaxError = require_syntax();
12612
+ var $TypeError = require_type();
12613
+ var $URIError = require_uri();
12614
+ var abs = require_abs();
12615
+ var floor = require_floor();
12616
+ var max2 = require_max();
12617
+ var min2 = require_min();
12618
+ var pow = require_pow();
12619
+ var round = require_round();
12620
+ var sign = require_sign();
12621
+ var $Function = Function;
12622
+ var getEvalledConstructor = function(expressionSyntax) {
12623
+ try {
12624
+ return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
12625
+ } catch (e) {
12626
+ }
12627
+ };
12628
+ var $gOPD = require_gopd();
12629
+ var $defineProperty = require_es_define_property();
12630
+ var throwTypeError = function() {
12631
+ throw new $TypeError();
12632
+ };
12633
+ var ThrowTypeError = $gOPD ? function() {
12634
+ try {
12635
+ arguments.callee;
12636
+ return throwTypeError;
12637
+ } catch (calleeThrows) {
12638
+ try {
12639
+ return $gOPD(arguments, "callee").get;
12640
+ } catch (gOPDthrows) {
12641
+ return throwTypeError;
12642
+ }
12643
+ }
12644
+ }() : throwTypeError;
12645
+ var hasSymbols = require_has_symbols()();
12646
+ var getProto = require_get_proto();
12647
+ var $ObjectGPO = require_Object_getPrototypeOf();
12648
+ var $ReflectGPO = require_Reflect_getPrototypeOf();
12649
+ var $apply = require_functionApply();
12650
+ var $call = require_functionCall();
12651
+ var needsEval = {};
12652
+ var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
12653
+ var INTRINSICS = {
12654
+ __proto__: null,
12655
+ "%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
12656
+ "%Array%": Array,
12657
+ "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
12658
+ "%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
12659
+ "%AsyncFromSyncIteratorPrototype%": undefined2,
12660
+ "%AsyncFunction%": needsEval,
12661
+ "%AsyncGenerator%": needsEval,
12662
+ "%AsyncGeneratorFunction%": needsEval,
12663
+ "%AsyncIteratorPrototype%": needsEval,
12664
+ "%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
12665
+ "%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
12666
+ "%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
12667
+ "%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
12668
+ "%Boolean%": Boolean,
12669
+ "%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
12670
+ "%Date%": Date,
12671
+ "%decodeURI%": decodeURI,
12672
+ "%decodeURIComponent%": decodeURIComponent,
12673
+ "%encodeURI%": encodeURI,
12674
+ "%encodeURIComponent%": encodeURIComponent,
12675
+ "%Error%": $Error,
12676
+ "%eval%": eval,
12677
+ // eslint-disable-line no-eval
12678
+ "%EvalError%": $EvalError,
12679
+ "%Float16Array%": typeof Float16Array === "undefined" ? undefined2 : Float16Array,
12680
+ "%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
12681
+ "%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
12682
+ "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
12683
+ "%Function%": $Function,
12684
+ "%GeneratorFunction%": needsEval,
12685
+ "%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
12686
+ "%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
12687
+ "%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
12688
+ "%isFinite%": isFinite,
12689
+ "%isNaN%": isNaN,
12690
+ "%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
12691
+ "%JSON%": typeof JSON === "object" ? JSON : undefined2,
12692
+ "%Map%": typeof Map === "undefined" ? undefined2 : Map,
12693
+ "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
12694
+ "%Math%": Math,
12695
+ "%Number%": Number,
12696
+ "%Object%": $Object,
12697
+ "%Object.getOwnPropertyDescriptor%": $gOPD,
12698
+ "%parseFloat%": parseFloat,
12699
+ "%parseInt%": parseInt,
12700
+ "%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
12701
+ "%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
12702
+ "%RangeError%": $RangeError,
12703
+ "%ReferenceError%": $ReferenceError,
12704
+ "%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
12705
+ "%RegExp%": RegExp,
12706
+ "%Set%": typeof Set === "undefined" ? undefined2 : Set,
12707
+ "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
12708
+ "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
12709
+ "%String%": String,
12710
+ "%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
12711
+ "%Symbol%": hasSymbols ? Symbol : undefined2,
12712
+ "%SyntaxError%": $SyntaxError,
12713
+ "%ThrowTypeError%": ThrowTypeError,
12714
+ "%TypedArray%": TypedArray,
12715
+ "%TypeError%": $TypeError,
12716
+ "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
12717
+ "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
12718
+ "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
12719
+ "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
12720
+ "%URIError%": $URIError,
12721
+ "%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
12722
+ "%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
12723
+ "%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet,
12724
+ "%Function.prototype.call%": $call,
12725
+ "%Function.prototype.apply%": $apply,
12726
+ "%Object.defineProperty%": $defineProperty,
12727
+ "%Object.getPrototypeOf%": $ObjectGPO,
12728
+ "%Math.abs%": abs,
12729
+ "%Math.floor%": floor,
12730
+ "%Math.max%": max2,
12731
+ "%Math.min%": min2,
12732
+ "%Math.pow%": pow,
12733
+ "%Math.round%": round,
12734
+ "%Math.sign%": sign,
12735
+ "%Reflect.getPrototypeOf%": $ReflectGPO
12736
+ };
12737
+ if (getProto) {
12738
+ try {
12739
+ null.error;
12740
+ } catch (e) {
12741
+ errorProto = getProto(getProto(e));
12742
+ INTRINSICS["%Error.prototype%"] = errorProto;
12743
+ }
12744
+ }
12745
+ var errorProto;
12746
+ var doEval = function doEval2(name) {
12747
+ var value;
12748
+ if (name === "%AsyncFunction%") {
12749
+ value = getEvalledConstructor("async function () {}");
12750
+ } else if (name === "%GeneratorFunction%") {
12751
+ value = getEvalledConstructor("function* () {}");
12752
+ } else if (name === "%AsyncGeneratorFunction%") {
12753
+ value = getEvalledConstructor("async function* () {}");
12754
+ } else if (name === "%AsyncGenerator%") {
12755
+ var fn = doEval2("%AsyncGeneratorFunction%");
12756
+ if (fn) {
12757
+ value = fn.prototype;
12758
+ }
12759
+ } else if (name === "%AsyncIteratorPrototype%") {
12760
+ var gen = doEval2("%AsyncGenerator%");
12761
+ if (gen && getProto) {
12762
+ value = getProto(gen.prototype);
12763
+ }
12764
+ }
12765
+ INTRINSICS[name] = value;
12766
+ return value;
12767
+ };
12768
+ var LEGACY_ALIASES = {
12769
+ __proto__: null,
12770
+ "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
12771
+ "%ArrayPrototype%": ["Array", "prototype"],
12772
+ "%ArrayProto_entries%": ["Array", "prototype", "entries"],
12773
+ "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
12774
+ "%ArrayProto_keys%": ["Array", "prototype", "keys"],
12775
+ "%ArrayProto_values%": ["Array", "prototype", "values"],
12776
+ "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
12777
+ "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
12778
+ "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
12779
+ "%BooleanPrototype%": ["Boolean", "prototype"],
12780
+ "%DataViewPrototype%": ["DataView", "prototype"],
12781
+ "%DatePrototype%": ["Date", "prototype"],
12782
+ "%ErrorPrototype%": ["Error", "prototype"],
12783
+ "%EvalErrorPrototype%": ["EvalError", "prototype"],
12784
+ "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
12785
+ "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
12786
+ "%FunctionPrototype%": ["Function", "prototype"],
12787
+ "%Generator%": ["GeneratorFunction", "prototype"],
12788
+ "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
12789
+ "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
12790
+ "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
12791
+ "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
12792
+ "%JSONParse%": ["JSON", "parse"],
12793
+ "%JSONStringify%": ["JSON", "stringify"],
12794
+ "%MapPrototype%": ["Map", "prototype"],
12795
+ "%NumberPrototype%": ["Number", "prototype"],
12796
+ "%ObjectPrototype%": ["Object", "prototype"],
12797
+ "%ObjProto_toString%": ["Object", "prototype", "toString"],
12798
+ "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
12799
+ "%PromisePrototype%": ["Promise", "prototype"],
12800
+ "%PromiseProto_then%": ["Promise", "prototype", "then"],
12801
+ "%Promise_all%": ["Promise", "all"],
12802
+ "%Promise_reject%": ["Promise", "reject"],
12803
+ "%Promise_resolve%": ["Promise", "resolve"],
12804
+ "%RangeErrorPrototype%": ["RangeError", "prototype"],
12805
+ "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
12806
+ "%RegExpPrototype%": ["RegExp", "prototype"],
12807
+ "%SetPrototype%": ["Set", "prototype"],
12808
+ "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
12809
+ "%StringPrototype%": ["String", "prototype"],
12810
+ "%SymbolPrototype%": ["Symbol", "prototype"],
12811
+ "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
12812
+ "%TypedArrayPrototype%": ["TypedArray", "prototype"],
12813
+ "%TypeErrorPrototype%": ["TypeError", "prototype"],
12814
+ "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
12815
+ "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
12816
+ "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
12817
+ "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
12818
+ "%URIErrorPrototype%": ["URIError", "prototype"],
12819
+ "%WeakMapPrototype%": ["WeakMap", "prototype"],
12820
+ "%WeakSetPrototype%": ["WeakSet", "prototype"]
12821
+ };
12822
+ var bind2 = require_function_bind();
12823
+ var hasOwn = require_hasown();
12824
+ var $concat = bind2.call($call, Array.prototype.concat);
12825
+ var $spliceApply = bind2.call($apply, Array.prototype.splice);
12826
+ var $replace = bind2.call($call, String.prototype.replace);
12827
+ var $strSlice = bind2.call($call, String.prototype.slice);
12828
+ var $exec = bind2.call($call, RegExp.prototype.exec);
12829
+ var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
12830
+ var reEscapeChar = /\\(\\)?/g;
12831
+ var stringToPath = function stringToPath2(string) {
12832
+ var first = $strSlice(string, 0, 1);
12833
+ var last = $strSlice(string, -1);
12834
+ if (first === "%" && last !== "%") {
12835
+ throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
12836
+ } else if (last === "%" && first !== "%") {
12837
+ throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
12838
+ }
12839
+ var result = [];
12840
+ $replace(string, rePropName, function(match, number5, quote, subString) {
12841
+ result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number5 || match;
12842
+ });
12843
+ return result;
12844
+ };
12845
+ var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
12846
+ var intrinsicName = name;
12847
+ var alias;
12848
+ if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
12849
+ alias = LEGACY_ALIASES[intrinsicName];
12850
+ intrinsicName = "%" + alias[0] + "%";
12851
+ }
12852
+ if (hasOwn(INTRINSICS, intrinsicName)) {
12853
+ var value = INTRINSICS[intrinsicName];
12854
+ if (value === needsEval) {
12855
+ value = doEval(intrinsicName);
12856
+ }
12857
+ if (typeof value === "undefined" && !allowMissing) {
12858
+ throw new $TypeError("intrinsic " + name + " exists, but is not available. Please file an issue!");
12859
+ }
12860
+ return {
12861
+ alias,
12862
+ name: intrinsicName,
12863
+ value
12864
+ };
12865
+ }
12866
+ throw new $SyntaxError("intrinsic " + name + " does not exist!");
12867
+ };
12868
+ module.exports = function GetIntrinsic(name, allowMissing) {
12869
+ if (typeof name !== "string" || name.length === 0) {
12870
+ throw new $TypeError("intrinsic name must be a non-empty string");
12871
+ }
12872
+ if (arguments.length > 1 && typeof allowMissing !== "boolean") {
12873
+ throw new $TypeError('"allowMissing" argument must be a boolean');
12874
+ }
12875
+ if ($exec(/^%?[^%]*%?$/, name) === null) {
12876
+ throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
12877
+ }
12878
+ var parts = stringToPath(name);
12879
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
12880
+ var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
12881
+ var intrinsicRealName = intrinsic.name;
12882
+ var value = intrinsic.value;
12883
+ var skipFurtherCaching = false;
12884
+ var alias = intrinsic.alias;
12885
+ if (alias) {
12886
+ intrinsicBaseName = alias[0];
12887
+ $spliceApply(parts, $concat([0, 1], alias));
12888
+ }
12889
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
12890
+ var part = parts[i];
12891
+ var first = $strSlice(part, 0, 1);
12892
+ var last = $strSlice(part, -1);
12893
+ if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
12894
+ throw new $SyntaxError("property names with quotes must have matching quotes");
12895
+ }
12896
+ if (part === "constructor" || !isOwn) {
12897
+ skipFurtherCaching = true;
12898
+ }
12899
+ intrinsicBaseName += "." + part;
12900
+ intrinsicRealName = "%" + intrinsicBaseName + "%";
12901
+ if (hasOwn(INTRINSICS, intrinsicRealName)) {
12902
+ value = INTRINSICS[intrinsicRealName];
12903
+ } else if (value != null) {
12904
+ if (!(part in value)) {
12905
+ if (!allowMissing) {
12906
+ throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
12907
+ }
12908
+ return void 0;
12909
+ }
12910
+ if ($gOPD && i + 1 >= parts.length) {
12911
+ var desc = $gOPD(value, part);
12912
+ isOwn = !!desc;
12913
+ if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
12914
+ value = desc.get;
12915
+ } else {
12916
+ value = value[part];
12917
+ }
12918
+ } else {
12919
+ isOwn = hasOwn(value, part);
12920
+ value = value[part];
12921
+ }
12922
+ if (isOwn && !skipFurtherCaching) {
12923
+ INTRINSICS[intrinsicRealName] = value;
12924
+ }
12925
+ }
12926
+ }
12927
+ return value;
12928
+ };
12929
+ }
12930
+ });
12931
+
12932
+ // node_modules/has-tostringtag/shams.js
12933
+ var require_shams2 = __commonJS({
12934
+ "node_modules/has-tostringtag/shams.js"(exports, module) {
12935
+ "use strict";
12936
+ var hasSymbols = require_shams();
12937
+ module.exports = function hasToStringTagShams() {
12938
+ return hasSymbols() && !!Symbol.toStringTag;
12939
+ };
12940
+ }
12941
+ });
12942
+
12943
+ // node_modules/es-set-tostringtag/index.js
12944
+ var require_es_set_tostringtag = __commonJS({
12945
+ "node_modules/es-set-tostringtag/index.js"(exports, module) {
12946
+ "use strict";
12947
+ var GetIntrinsic = require_get_intrinsic();
12948
+ var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
12949
+ var hasToStringTag = require_shams2()();
12950
+ var hasOwn = require_hasown();
12951
+ var $TypeError = require_type();
12952
+ var toStringTag = hasToStringTag ? Symbol.toStringTag : null;
12953
+ module.exports = function setToStringTag(object, value) {
12954
+ var overrideIfSet = arguments.length > 2 && !!arguments[2] && arguments[2].force;
12955
+ var nonConfigurable = arguments.length > 2 && !!arguments[2] && arguments[2].nonConfigurable;
12956
+ if (typeof overrideIfSet !== "undefined" && typeof overrideIfSet !== "boolean" || typeof nonConfigurable !== "undefined" && typeof nonConfigurable !== "boolean") {
12957
+ throw new $TypeError("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");
12958
+ }
12959
+ if (toStringTag && (overrideIfSet || !hasOwn(object, toStringTag))) {
12960
+ if ($defineProperty) {
12961
+ $defineProperty(object, toStringTag, {
12962
+ configurable: !nonConfigurable,
12963
+ enumerable: false,
12964
+ value,
12965
+ writable: false
12966
+ });
12967
+ } else {
12968
+ object[toStringTag] = value;
12969
+ }
12970
+ }
12971
+ };
12972
+ }
12973
+ });
12974
+
12129
12975
  // node_modules/form-data/lib/populate.js
12130
12976
  var require_populate = __commonJS({
12131
12977
  "node_modules/form-data/lib/populate.js"(exports, module) {
12978
+ "use strict";
12132
12979
  module.exports = function(dst, src) {
12133
12980
  Object.keys(src).forEach(function(prop) {
12134
12981
  dst[prop] = dst[prop] || src[prop];
@@ -12141,6 +12988,7 @@
12141
12988
  // node_modules/form-data/lib/form_data.js
12142
12989
  var require_form_data = __commonJS({
12143
12990
  "node_modules/form-data/lib/form_data.js"(exports, module) {
12991
+ "use strict";
12144
12992
  var CombinedStream = require_combined_stream();
12145
12993
  var util2 = __require("util");
12146
12994
  var path2 = __require("path");
@@ -12149,11 +12997,12 @@
12149
12997
  var parseUrl = __require("url").parse;
12150
12998
  var fs = __require("fs");
12151
12999
  var Stream = __require("stream").Stream;
13000
+ var crypto3 = __require("crypto");
12152
13001
  var mime = require_mime_types();
12153
13002
  var asynckit = require_asynckit();
13003
+ var setToStringTag = require_es_set_tostringtag();
13004
+ var hasOwn = require_hasown();
12154
13005
  var populate = require_populate();
12155
- module.exports = FormData3;
12156
- util2.inherits(FormData3, CombinedStream);
12157
13006
  function FormData3(options) {
12158
13007
  if (!(this instanceof FormData3)) {
12159
13008
  return new FormData3(options);
@@ -12167,16 +13016,17 @@
12167
13016
  this[option] = options[option];
12168
13017
  }
12169
13018
  }
13019
+ util2.inherits(FormData3, CombinedStream);
12170
13020
  FormData3.LINE_BREAK = "\r\n";
12171
13021
  FormData3.DEFAULT_CONTENT_TYPE = "application/octet-stream";
12172
13022
  FormData3.prototype.append = function(field, value, options) {
12173
13023
  options = options || {};
12174
- if (typeof options == "string") {
13024
+ if (typeof options === "string") {
12175
13025
  options = { filename: options };
12176
13026
  }
12177
13027
  var append3 = CombinedStream.prototype.append.bind(this);
12178
- if (typeof value == "number") {
12179
- value = "" + value;
13028
+ if (typeof value === "number" || value == null) {
13029
+ value = String(value);
12180
13030
  }
12181
13031
  if (Array.isArray(value)) {
12182
13032
  this._error(new Error("Arrays are not supported."));
@@ -12192,7 +13042,7 @@
12192
13042
  FormData3.prototype._trackLength = function(header, value, options) {
12193
13043
  var valueLength = 0;
12194
13044
  if (options.knownLength != null) {
12195
- valueLength += +options.knownLength;
13045
+ valueLength += Number(options.knownLength);
12196
13046
  } else if (Buffer.isBuffer(value)) {
12197
13047
  valueLength = value.length;
12198
13048
  } else if (typeof value === "string") {
@@ -12200,7 +13050,7 @@
12200
13050
  }
12201
13051
  this._valueLength += valueLength;
12202
13052
  this._overheadLength += Buffer.byteLength(header) + FormData3.LINE_BREAK.length;
12203
- if (!value || !value.path && !(value.readable && value.hasOwnProperty("httpVersion")) && !(value instanceof Stream)) {
13053
+ if (!value || !value.path && !(value.readable && hasOwn(value, "httpVersion")) && !(value instanceof Stream)) {
12204
13054
  return;
12205
13055
  }
12206
13056
  if (!options.knownLength) {
@@ -12208,26 +13058,25 @@
12208
13058
  }
12209
13059
  };
12210
13060
  FormData3.prototype._lengthRetriever = function(value, callback) {
12211
- if (value.hasOwnProperty("fd")) {
13061
+ if (hasOwn(value, "fd")) {
12212
13062
  if (value.end != void 0 && value.end != Infinity && value.start != void 0) {
12213
13063
  callback(null, value.end + 1 - (value.start ? value.start : 0));
12214
13064
  } else {
12215
13065
  fs.stat(value.path, function(err, stat) {
12216
- var fileSize;
12217
13066
  if (err) {
12218
13067
  callback(err);
12219
13068
  return;
12220
13069
  }
12221
- fileSize = stat.size - (value.start ? value.start : 0);
13070
+ var fileSize = stat.size - (value.start ? value.start : 0);
12222
13071
  callback(null, fileSize);
12223
13072
  });
12224
13073
  }
12225
- } else if (value.hasOwnProperty("httpVersion")) {
12226
- callback(null, +value.headers["content-length"]);
12227
- } else if (value.hasOwnProperty("httpModule")) {
13074
+ } else if (hasOwn(value, "httpVersion")) {
13075
+ callback(null, Number(value.headers["content-length"]));
13076
+ } else if (hasOwn(value, "httpModule")) {
12228
13077
  value.on("response", function(response) {
12229
13078
  value.pause();
12230
- callback(null, +response.headers["content-length"]);
13079
+ callback(null, Number(response.headers["content-length"]));
12231
13080
  });
12232
13081
  value.resume();
12233
13082
  } else {
@@ -12235,7 +13084,7 @@
12235
13084
  }
12236
13085
  };
12237
13086
  FormData3.prototype._multiPartHeader = function(field, value, options) {
12238
- if (typeof options.header == "string") {
13087
+ if (typeof options.header === "string") {
12239
13088
  return options.header;
12240
13089
  }
12241
13090
  var contentDisposition = this._getContentDisposition(value, options);
@@ -12247,55 +13096,54 @@
12247
13096
  // if no content type. allow it to be empty array
12248
13097
  "Content-Type": [].concat(contentType || [])
12249
13098
  };
12250
- if (typeof options.header == "object") {
13099
+ if (typeof options.header === "object") {
12251
13100
  populate(headers, options.header);
12252
13101
  }
12253
13102
  var header;
12254
13103
  for (var prop in headers) {
12255
- if (!headers.hasOwnProperty(prop))
12256
- continue;
12257
- header = headers[prop];
12258
- if (header == null) {
12259
- continue;
12260
- }
12261
- if (!Array.isArray(header)) {
12262
- header = [header];
12263
- }
12264
- if (header.length) {
12265
- contents += prop + ": " + header.join("; ") + FormData3.LINE_BREAK;
13104
+ if (hasOwn(headers, prop)) {
13105
+ header = headers[prop];
13106
+ if (header == null) {
13107
+ continue;
13108
+ }
13109
+ if (!Array.isArray(header)) {
13110
+ header = [header];
13111
+ }
13112
+ if (header.length) {
13113
+ contents += prop + ": " + header.join("; ") + FormData3.LINE_BREAK;
13114
+ }
12266
13115
  }
12267
13116
  }
12268
13117
  return "--" + this.getBoundary() + FormData3.LINE_BREAK + contents + FormData3.LINE_BREAK;
12269
13118
  };
12270
13119
  FormData3.prototype._getContentDisposition = function(value, options) {
12271
- var filename, contentDisposition;
13120
+ var filename;
12272
13121
  if (typeof options.filepath === "string") {
12273
13122
  filename = path2.normalize(options.filepath).replace(/\\/g, "/");
12274
- } else if (options.filename || value.name || value.path) {
12275
- filename = path2.basename(options.filename || value.name || value.path);
12276
- } else if (value.readable && value.hasOwnProperty("httpVersion")) {
13123
+ } else if (options.filename || value && (value.name || value.path)) {
13124
+ filename = path2.basename(options.filename || value && (value.name || value.path));
13125
+ } else if (value && value.readable && hasOwn(value, "httpVersion")) {
12277
13126
  filename = path2.basename(value.client._httpMessage.path || "");
12278
13127
  }
12279
13128
  if (filename) {
12280
- contentDisposition = 'filename="' + filename + '"';
13129
+ return 'filename="' + filename + '"';
12281
13130
  }
12282
- return contentDisposition;
12283
13131
  };
12284
13132
  FormData3.prototype._getContentType = function(value, options) {
12285
13133
  var contentType = options.contentType;
12286
- if (!contentType && value.name) {
13134
+ if (!contentType && value && value.name) {
12287
13135
  contentType = mime.lookup(value.name);
12288
13136
  }
12289
- if (!contentType && value.path) {
13137
+ if (!contentType && value && value.path) {
12290
13138
  contentType = mime.lookup(value.path);
12291
13139
  }
12292
- if (!contentType && value.readable && value.hasOwnProperty("httpVersion")) {
13140
+ if (!contentType && value && value.readable && hasOwn(value, "httpVersion")) {
12293
13141
  contentType = value.headers["content-type"];
12294
13142
  }
12295
13143
  if (!contentType && (options.filepath || options.filename)) {
12296
13144
  contentType = mime.lookup(options.filepath || options.filename);
12297
13145
  }
12298
- if (!contentType && typeof value == "object") {
13146
+ if (!contentType && value && typeof value === "object") {
12299
13147
  contentType = FormData3.DEFAULT_CONTENT_TYPE;
12300
13148
  }
12301
13149
  return contentType;
@@ -12319,13 +13167,16 @@
12319
13167
  "content-type": "multipart/form-data; boundary=" + this.getBoundary()
12320
13168
  };
12321
13169
  for (header in userHeaders) {
12322
- if (userHeaders.hasOwnProperty(header)) {
13170
+ if (hasOwn(userHeaders, header)) {
12323
13171
  formHeaders[header.toLowerCase()] = userHeaders[header];
12324
13172
  }
12325
13173
  }
12326
13174
  return formHeaders;
12327
13175
  };
12328
13176
  FormData3.prototype.setBoundary = function(boundary) {
13177
+ if (typeof boundary !== "string") {
13178
+ throw new TypeError("FormData boundary must be a string");
13179
+ }
12329
13180
  this._boundary = boundary;
12330
13181
  };
12331
13182
  FormData3.prototype.getBoundary = function() {
@@ -12352,11 +13203,7 @@
12352
13203
  return Buffer.concat([dataBuffer, Buffer.from(this._lastBoundary())]);
12353
13204
  };
12354
13205
  FormData3.prototype._generateBoundary = function() {
12355
- var boundary = "--------------------------";
12356
- for (var i = 0; i < 24; i++) {
12357
- boundary += Math.floor(Math.random() * 10).toString(16);
12358
- }
12359
- this._boundary = boundary;
13206
+ this._boundary = "--------------------------" + crypto3.randomBytes(12).toString("hex");
12360
13207
  };
12361
13208
  FormData3.prototype.getLengthSync = function() {
12362
13209
  var knownLength = this._overheadLength + this._valueLength;
@@ -12396,8 +13243,10 @@
12396
13243
  });
12397
13244
  };
12398
13245
  FormData3.prototype.submit = function(params, cb) {
12399
- var request, options, defaults2 = { method: "post" };
12400
- if (typeof params == "string") {
13246
+ var request;
13247
+ var options;
13248
+ var defaults2 = { method: "post" };
13249
+ if (typeof params === "string") {
12401
13250
  params = parseUrl(params);
12402
13251
  options = populate({
12403
13252
  port: params.port,
@@ -12408,11 +13257,11 @@
12408
13257
  } else {
12409
13258
  options = populate(params, defaults2);
12410
13259
  if (!options.port) {
12411
- options.port = options.protocol == "https:" ? 443 : 80;
13260
+ options.port = options.protocol === "https:" ? 443 : 80;
12412
13261
  }
12413
13262
  }
12414
13263
  options.headers = this.getHeaders(params.headers);
12415
- if (options.protocol == "https:") {
13264
+ if (options.protocol === "https:") {
12416
13265
  request = https2.request(options);
12417
13266
  } else {
12418
13267
  request = http2.request(options);
@@ -12450,6 +13299,8 @@
12450
13299
  FormData3.prototype.toString = function() {
12451
13300
  return "[object FormData]";
12452
13301
  };
13302
+ setToStringTag(FormData3, "FormData");
13303
+ module.exports = FormData3;
12453
13304
  }
12454
13305
  });
12455
13306
 
@@ -12742,7 +13593,7 @@
12742
13593
  createDebug.namespaces = namespaces;
12743
13594
  createDebug.names = [];
12744
13595
  createDebug.skips = [];
12745
- const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(" ", ",").split(",").filter(Boolean);
13596
+ const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
12746
13597
  for (const ns of split) {
12747
13598
  if (ns[0] === "-") {
12748
13599
  createDebug.skips.push(ns.slice(1));
@@ -12960,7 +13811,7 @@
12960
13811
  function load() {
12961
13812
  let r;
12962
13813
  try {
12963
- r = exports.storage.getItem("debug");
13814
+ r = exports.storage.getItem("debug") || exports.storage.getItem("DEBUG");
12964
13815
  } catch (error) {
12965
13816
  }
12966
13817
  if (!r && typeof process !== "undefined" && "env" in process) {
@@ -13875,13 +14726,10 @@
13875
14726
  }
13876
14727
  function normalizeString(str) {
13877
14728
  try {
13878
- if (typeof str !== "string") {
13879
- throw new TypeError("Input must be a string");
13880
- }
13881
- if (!str.trim()) {
14729
+ if (typeof str !== "string" || !str.trim()) {
13882
14730
  return "";
13883
14731
  }
13884
- return str.replace(/[^a-zA-Z\s]/g, " ").split(" ").map((word) => word.toLowerCase()).join(" ");
14732
+ return str.toLowerCase();
13885
14733
  } catch (error) {
13886
14734
  console.error("Error in normalizeString:", error);
13887
14735
  return str;
@@ -16439,7 +17287,7 @@
16439
17287
  if (newCol.type === "DATE" /* DATE */) {
16440
17288
  newCol.minWidth = "125px";
16441
17289
  }
16442
- newCol.maxWidth = "300px";
17290
+ newCol.maxWidth = false;
16443
17291
  if (newCol.type === "DOLLAR_AMT" /* DOLLAR_AMT */ || newCol.type === "QUANTITY" /* QUANTITY */ || newCol.type === "RATIO" /* RATIO */ || newCol.type === "PERCENT" /* PERCENT */) {
16444
17292
  newCol.hozAlign = "right";
16445
17293
  } else {
@@ -16491,26 +17339,18 @@
16491
17339
  return formattedColumns;
16492
17340
  };
16493
17341
  var getStringColumnIndices = (columns, supportsPivot = false, includeNumerics = false) => {
16494
- var _a, _b, _c;
17342
+ var _a, _b;
16495
17343
  if (!columns) {
16496
17344
  return void 0;
16497
17345
  }
16498
17346
  const stringColumnIndices = [];
16499
17347
  const multiSeriesIndex = getMultiSeriesColumnIndex(columns);
16500
17348
  const dateColumnIndex = getDateColumnIndex(columns);
16501
- if (supportsPivot) {
16502
- columns.forEach((col, index) => {
16503
- if (col.groupable && col.is_visible) {
16504
- stringColumnIndices.push(index);
16505
- }
16506
- });
16507
- } else {
16508
- columns.forEach((col, index) => {
16509
- if (index !== multiSeriesIndex && col.is_visible && (includeNumerics || !isColumnNumberType(col))) {
16510
- stringColumnIndices.push(index);
16511
- }
16512
- });
16513
- }
17349
+ columns.forEach((col, index) => {
17350
+ if (index !== multiSeriesIndex && col.is_visible && (includeNumerics || !isColumnNumberType(col))) {
17351
+ stringColumnIndices.push(index);
17352
+ }
17353
+ });
16514
17354
  const drilldownIndex = columns.findIndex((col) => col.isDrilldownColumn && col.is_visible);
16515
17355
  if (drilldownIndex >= 0) {
16516
17356
  return {
@@ -16527,7 +17367,10 @@
16527
17367
  }
16528
17368
  if (supportsPivot) {
16529
17369
  const isDateColumnGroupable = (_b = columns[dateColumnIndex]) == null ? void 0 : _b.groupable;
16530
- stringColumnIndex = isDateColumnGroupable ? dateColumnIndex : (_c = stringColumnIndices.findIndex((index) => columns[index].groupable)) != null ? _c : stringColumnIndex;
17370
+ stringColumnIndex = isDateColumnGroupable ? dateColumnIndex : stringColumnIndices.findIndex((index) => columns[index].groupable);
17371
+ if (!(stringColumnIndex >= 0)) {
17372
+ stringColumnIndex = stringColumnIndices[0];
17373
+ }
16531
17374
  } else if (dateColumnIndex >= 0) {
16532
17375
  stringColumnIndex = dateColumnIndex;
16533
17376
  }