@fern-api/typescript-dynamic-snippets 0.0.6 → 0.0.8
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/cjs/DynamicSnippetsGenerator.cjs +17 -5508
- package/cjs/DynamicSnippetsGenerator.d.cts +4 -2
- package/cjs/{DynamicSnippetsGeneratorContext-DFkk3dho.d.cts → DynamicSnippetsGeneratorContext-CmDa2k9n.d.cts} +1 -1
- package/cjs/EndpointSnippetGenerator.cjs +17 -3539
- package/cjs/EndpointSnippetGenerator.d.cts +1 -1
- package/cjs/context/DynamicSnippetsGeneratorContext.cjs +17 -4863
- package/cjs/context/DynamicSnippetsGeneratorContext.d.cts +1 -1
- package/cjs/context/DynamicTypeLiteralMapper.cjs +17 -3493
- package/cjs/context/DynamicTypeLiteralMapper.d.cts +1 -1
- package/cjs/context/FilePropertyMapper.cjs +17 -3073
- package/cjs/context/FilePropertyMapper.d.cts +1 -1
- package/cjs/index.cjs +29 -8811
- package/cjs/index.d.cts +2 -1
- package/esm/DynamicSnippetsGenerator.d.ts +4 -2
- package/esm/DynamicSnippetsGenerator.js +1 -12
- package/esm/{DynamicSnippetsGeneratorContext-DFkk3dho.d.ts → DynamicSnippetsGeneratorContext-CmDa2k9n.d.ts} +1 -1
- package/esm/EndpointSnippetGenerator.d.ts +1 -1
- package/esm/EndpointSnippetGenerator.js +1 -8
- package/esm/chunk-3SA25SVX.js +1 -0
- package/esm/chunk-D7ZDXIQ6.js +1 -0
- package/esm/chunk-DJQMPRPJ.js +1 -0
- package/esm/chunk-JGNWFXNM.js +1 -0
- package/esm/chunk-RL2XA35J.js +27 -0
- package/esm/chunk-T2HPPEKP.js +14 -0
- package/esm/chunk-XC2QAVJY.js +1 -0
- package/esm/context/DynamicSnippetsGeneratorContext.d.ts +1 -1
- package/esm/context/DynamicSnippetsGeneratorContext.js +1 -10
- package/esm/context/DynamicTypeLiteralMapper.d.ts +1 -1
- package/esm/context/DynamicTypeLiteralMapper.js +1 -8
- package/esm/context/FilePropertyMapper.d.ts +1 -1
- package/esm/context/FilePropertyMapper.js +1 -7
- package/esm/index.d.ts +2 -1
- package/esm/index.js +13 -3311
- package/package.json +2 -2
- package/esm/chunk-37WY6L3Q.js +0 -551
- package/esm/chunk-6Y2IOBCK.js +0 -501
- package/esm/chunk-KUITDN45.js +0 -538
- package/esm/chunk-MR7ZAFRL.js +0 -819
- package/esm/chunk-PLZLTFT4.js +0 -90
- package/esm/chunk-TKT54OF7.js +0 -86
- package/esm/chunk-WPDO6IRW.js +0 -3060
package/esm/index.js
CHANGED
|
@@ -1,3311 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Buffer,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
__export,
|
|
14
|
-
__toCommonJS,
|
|
15
|
-
__toESM,
|
|
16
|
-
init_buffer,
|
|
17
|
-
init_process
|
|
18
|
-
} from "./chunk-WPDO6IRW.js";
|
|
19
|
-
|
|
20
|
-
// ../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js
|
|
21
|
-
var require_implementation = __commonJS({
|
|
22
|
-
"../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(exports, module) {
|
|
23
|
-
"use strict";
|
|
24
|
-
init_process();
|
|
25
|
-
init_buffer();
|
|
26
|
-
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
27
|
-
var toStr = Object.prototype.toString;
|
|
28
|
-
var max = Math.max;
|
|
29
|
-
var funcType = "[object Function]";
|
|
30
|
-
var concatty = function concatty2(a, b) {
|
|
31
|
-
var arr = [];
|
|
32
|
-
for (var i = 0; i < a.length; i += 1) {
|
|
33
|
-
arr[i] = a[i];
|
|
34
|
-
}
|
|
35
|
-
for (var j = 0; j < b.length; j += 1) {
|
|
36
|
-
arr[j + a.length] = b[j];
|
|
37
|
-
}
|
|
38
|
-
return arr;
|
|
39
|
-
};
|
|
40
|
-
var slicy = function slicy2(arrLike, offset) {
|
|
41
|
-
var arr = [];
|
|
42
|
-
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
43
|
-
arr[j] = arrLike[i];
|
|
44
|
-
}
|
|
45
|
-
return arr;
|
|
46
|
-
};
|
|
47
|
-
var joiny = function(arr, joiner) {
|
|
48
|
-
var str = "";
|
|
49
|
-
for (var i = 0; i < arr.length; i += 1) {
|
|
50
|
-
str += arr[i];
|
|
51
|
-
if (i + 1 < arr.length) {
|
|
52
|
-
str += joiner;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
return str;
|
|
56
|
-
};
|
|
57
|
-
module.exports = function bind(that) {
|
|
58
|
-
var target = this;
|
|
59
|
-
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
60
|
-
throw new TypeError(ERROR_MESSAGE + target);
|
|
61
|
-
}
|
|
62
|
-
var args = slicy(arguments, 1);
|
|
63
|
-
var bound;
|
|
64
|
-
var binder = function() {
|
|
65
|
-
if (this instanceof bound) {
|
|
66
|
-
var result = target.apply(
|
|
67
|
-
this,
|
|
68
|
-
concatty(args, arguments)
|
|
69
|
-
);
|
|
70
|
-
if (Object(result) === result) {
|
|
71
|
-
return result;
|
|
72
|
-
}
|
|
73
|
-
return this;
|
|
74
|
-
}
|
|
75
|
-
return target.apply(
|
|
76
|
-
that,
|
|
77
|
-
concatty(args, arguments)
|
|
78
|
-
);
|
|
79
|
-
};
|
|
80
|
-
var boundLength = max(0, target.length - args.length);
|
|
81
|
-
var boundArgs = [];
|
|
82
|
-
for (var i = 0; i < boundLength; i++) {
|
|
83
|
-
boundArgs[i] = "$" + i;
|
|
84
|
-
}
|
|
85
|
-
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
86
|
-
if (target.prototype) {
|
|
87
|
-
var Empty = function Empty2() {
|
|
88
|
-
};
|
|
89
|
-
Empty.prototype = target.prototype;
|
|
90
|
-
bound.prototype = new Empty();
|
|
91
|
-
Empty.prototype = null;
|
|
92
|
-
}
|
|
93
|
-
return bound;
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
});
|
|
97
|
-
|
|
98
|
-
// ../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js
|
|
99
|
-
var require_function_bind = __commonJS({
|
|
100
|
-
"../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(exports, module) {
|
|
101
|
-
"use strict";
|
|
102
|
-
init_process();
|
|
103
|
-
init_buffer();
|
|
104
|
-
var implementation = require_implementation();
|
|
105
|
-
module.exports = Function.prototype.bind || implementation;
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
|
|
109
|
-
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js
|
|
110
|
-
var require_es_errors = __commonJS({
|
|
111
|
-
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(exports, module) {
|
|
112
|
-
"use strict";
|
|
113
|
-
init_process();
|
|
114
|
-
init_buffer();
|
|
115
|
-
module.exports = Error;
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
|
|
119
|
-
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js
|
|
120
|
-
var require_eval = __commonJS({
|
|
121
|
-
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(exports, module) {
|
|
122
|
-
"use strict";
|
|
123
|
-
init_process();
|
|
124
|
-
init_buffer();
|
|
125
|
-
module.exports = EvalError;
|
|
126
|
-
}
|
|
127
|
-
});
|
|
128
|
-
|
|
129
|
-
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js
|
|
130
|
-
var require_range = __commonJS({
|
|
131
|
-
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(exports, module) {
|
|
132
|
-
"use strict";
|
|
133
|
-
init_process();
|
|
134
|
-
init_buffer();
|
|
135
|
-
module.exports = RangeError;
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
|
|
139
|
-
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js
|
|
140
|
-
var require_ref = __commonJS({
|
|
141
|
-
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(exports, module) {
|
|
142
|
-
"use strict";
|
|
143
|
-
init_process();
|
|
144
|
-
init_buffer();
|
|
145
|
-
module.exports = ReferenceError;
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
|
|
149
|
-
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js
|
|
150
|
-
var require_syntax = __commonJS({
|
|
151
|
-
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(exports, module) {
|
|
152
|
-
"use strict";
|
|
153
|
-
init_process();
|
|
154
|
-
init_buffer();
|
|
155
|
-
module.exports = SyntaxError;
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
|
|
159
|
-
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js
|
|
160
|
-
var require_type = __commonJS({
|
|
161
|
-
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(exports, module) {
|
|
162
|
-
"use strict";
|
|
163
|
-
init_process();
|
|
164
|
-
init_buffer();
|
|
165
|
-
module.exports = TypeError;
|
|
166
|
-
}
|
|
167
|
-
});
|
|
168
|
-
|
|
169
|
-
// ../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js
|
|
170
|
-
var require_uri = __commonJS({
|
|
171
|
-
"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(exports, module) {
|
|
172
|
-
"use strict";
|
|
173
|
-
init_process();
|
|
174
|
-
init_buffer();
|
|
175
|
-
module.exports = URIError;
|
|
176
|
-
}
|
|
177
|
-
});
|
|
178
|
-
|
|
179
|
-
// ../../../node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/shams.js
|
|
180
|
-
var require_shams = __commonJS({
|
|
181
|
-
"../../../node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/shams.js"(exports, module) {
|
|
182
|
-
"use strict";
|
|
183
|
-
init_process();
|
|
184
|
-
init_buffer();
|
|
185
|
-
module.exports = function hasSymbols() {
|
|
186
|
-
if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
|
|
187
|
-
return false;
|
|
188
|
-
}
|
|
189
|
-
if (typeof Symbol.iterator === "symbol") {
|
|
190
|
-
return true;
|
|
191
|
-
}
|
|
192
|
-
var obj = {};
|
|
193
|
-
var sym = Symbol("test");
|
|
194
|
-
var symObj = Object(sym);
|
|
195
|
-
if (typeof sym === "string") {
|
|
196
|
-
return false;
|
|
197
|
-
}
|
|
198
|
-
if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
|
|
199
|
-
return false;
|
|
200
|
-
}
|
|
201
|
-
if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
|
|
202
|
-
return false;
|
|
203
|
-
}
|
|
204
|
-
var symVal = 42;
|
|
205
|
-
obj[sym] = symVal;
|
|
206
|
-
for (sym in obj) {
|
|
207
|
-
return false;
|
|
208
|
-
}
|
|
209
|
-
if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
|
|
210
|
-
return false;
|
|
211
|
-
}
|
|
212
|
-
if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
|
|
213
|
-
return false;
|
|
214
|
-
}
|
|
215
|
-
var syms = Object.getOwnPropertySymbols(obj);
|
|
216
|
-
if (syms.length !== 1 || syms[0] !== sym) {
|
|
217
|
-
return false;
|
|
218
|
-
}
|
|
219
|
-
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
|
|
220
|
-
return false;
|
|
221
|
-
}
|
|
222
|
-
if (typeof Object.getOwnPropertyDescriptor === "function") {
|
|
223
|
-
var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
|
|
224
|
-
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
225
|
-
return false;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
return true;
|
|
229
|
-
};
|
|
230
|
-
}
|
|
231
|
-
});
|
|
232
|
-
|
|
233
|
-
// ../../../node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/index.js
|
|
234
|
-
var require_has_symbols = __commonJS({
|
|
235
|
-
"../../../node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/index.js"(exports, module) {
|
|
236
|
-
"use strict";
|
|
237
|
-
init_process();
|
|
238
|
-
init_buffer();
|
|
239
|
-
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
240
|
-
var hasSymbolSham = require_shams();
|
|
241
|
-
module.exports = function hasNativeSymbols() {
|
|
242
|
-
if (typeof origSymbol !== "function") {
|
|
243
|
-
return false;
|
|
244
|
-
}
|
|
245
|
-
if (typeof Symbol !== "function") {
|
|
246
|
-
return false;
|
|
247
|
-
}
|
|
248
|
-
if (typeof origSymbol("foo") !== "symbol") {
|
|
249
|
-
return false;
|
|
250
|
-
}
|
|
251
|
-
if (typeof Symbol("bar") !== "symbol") {
|
|
252
|
-
return false;
|
|
253
|
-
}
|
|
254
|
-
return hasSymbolSham();
|
|
255
|
-
};
|
|
256
|
-
}
|
|
257
|
-
});
|
|
258
|
-
|
|
259
|
-
// ../../../node_modules/.pnpm/has-proto@1.0.3/node_modules/has-proto/index.js
|
|
260
|
-
var require_has_proto = __commonJS({
|
|
261
|
-
"../../../node_modules/.pnpm/has-proto@1.0.3/node_modules/has-proto/index.js"(exports, module) {
|
|
262
|
-
"use strict";
|
|
263
|
-
init_process();
|
|
264
|
-
init_buffer();
|
|
265
|
-
var test = {
|
|
266
|
-
__proto__: null,
|
|
267
|
-
foo: {}
|
|
268
|
-
};
|
|
269
|
-
var $Object = Object;
|
|
270
|
-
module.exports = function hasProto() {
|
|
271
|
-
return { __proto__: test }.foo === test.foo && !(test instanceof $Object);
|
|
272
|
-
};
|
|
273
|
-
}
|
|
274
|
-
});
|
|
275
|
-
|
|
276
|
-
// ../../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js
|
|
277
|
-
var require_hasown = __commonJS({
|
|
278
|
-
"../../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(exports, module) {
|
|
279
|
-
"use strict";
|
|
280
|
-
init_process();
|
|
281
|
-
init_buffer();
|
|
282
|
-
var call = Function.prototype.call;
|
|
283
|
-
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
284
|
-
var bind = require_function_bind();
|
|
285
|
-
module.exports = bind.call(call, $hasOwn);
|
|
286
|
-
}
|
|
287
|
-
});
|
|
288
|
-
|
|
289
|
-
// ../../../node_modules/.pnpm/get-intrinsic@1.2.4/node_modules/get-intrinsic/index.js
|
|
290
|
-
var require_get_intrinsic = __commonJS({
|
|
291
|
-
"../../../node_modules/.pnpm/get-intrinsic@1.2.4/node_modules/get-intrinsic/index.js"(exports, module) {
|
|
292
|
-
"use strict";
|
|
293
|
-
init_process();
|
|
294
|
-
init_buffer();
|
|
295
|
-
var undefined2;
|
|
296
|
-
var $Error = require_es_errors();
|
|
297
|
-
var $EvalError = require_eval();
|
|
298
|
-
var $RangeError = require_range();
|
|
299
|
-
var $ReferenceError = require_ref();
|
|
300
|
-
var $SyntaxError = require_syntax();
|
|
301
|
-
var $TypeError = require_type();
|
|
302
|
-
var $URIError = require_uri();
|
|
303
|
-
var $Function = Function;
|
|
304
|
-
var getEvalledConstructor = function(expressionSyntax) {
|
|
305
|
-
try {
|
|
306
|
-
return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
307
|
-
} catch (e) {
|
|
308
|
-
}
|
|
309
|
-
};
|
|
310
|
-
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
311
|
-
if ($gOPD) {
|
|
312
|
-
try {
|
|
313
|
-
$gOPD({}, "");
|
|
314
|
-
} catch (e) {
|
|
315
|
-
$gOPD = null;
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
var throwTypeError = function() {
|
|
319
|
-
throw new $TypeError();
|
|
320
|
-
};
|
|
321
|
-
var ThrowTypeError = $gOPD ? function() {
|
|
322
|
-
try {
|
|
323
|
-
arguments.callee;
|
|
324
|
-
return throwTypeError;
|
|
325
|
-
} catch (calleeThrows) {
|
|
326
|
-
try {
|
|
327
|
-
return $gOPD(arguments, "callee").get;
|
|
328
|
-
} catch (gOPDthrows) {
|
|
329
|
-
return throwTypeError;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
}() : throwTypeError;
|
|
333
|
-
var hasSymbols = require_has_symbols()();
|
|
334
|
-
var hasProto = require_has_proto()();
|
|
335
|
-
var getProto = Object.getPrototypeOf || (hasProto ? function(x) {
|
|
336
|
-
return x.__proto__;
|
|
337
|
-
} : null);
|
|
338
|
-
var needsEval = {};
|
|
339
|
-
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
340
|
-
var INTRINSICS = {
|
|
341
|
-
__proto__: null,
|
|
342
|
-
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
343
|
-
"%Array%": Array,
|
|
344
|
-
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
345
|
-
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
|
|
346
|
-
"%AsyncFromSyncIteratorPrototype%": undefined2,
|
|
347
|
-
"%AsyncFunction%": needsEval,
|
|
348
|
-
"%AsyncGenerator%": needsEval,
|
|
349
|
-
"%AsyncGeneratorFunction%": needsEval,
|
|
350
|
-
"%AsyncIteratorPrototype%": needsEval,
|
|
351
|
-
"%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
|
|
352
|
-
"%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
|
|
353
|
-
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
|
|
354
|
-
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
|
|
355
|
-
"%Boolean%": Boolean,
|
|
356
|
-
"%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
|
|
357
|
-
"%Date%": Date,
|
|
358
|
-
"%decodeURI%": decodeURI,
|
|
359
|
-
"%decodeURIComponent%": decodeURIComponent,
|
|
360
|
-
"%encodeURI%": encodeURI,
|
|
361
|
-
"%encodeURIComponent%": encodeURIComponent,
|
|
362
|
-
"%Error%": $Error,
|
|
363
|
-
"%eval%": eval,
|
|
364
|
-
// eslint-disable-line no-eval
|
|
365
|
-
"%EvalError%": $EvalError,
|
|
366
|
-
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
367
|
-
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
368
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
369
|
-
"%Function%": $Function,
|
|
370
|
-
"%GeneratorFunction%": needsEval,
|
|
371
|
-
"%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
|
|
372
|
-
"%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
|
|
373
|
-
"%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
|
|
374
|
-
"%isFinite%": isFinite,
|
|
375
|
-
"%isNaN%": isNaN,
|
|
376
|
-
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
377
|
-
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
378
|
-
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
379
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
380
|
-
"%Math%": Math,
|
|
381
|
-
"%Number%": Number,
|
|
382
|
-
"%Object%": Object,
|
|
383
|
-
"%parseFloat%": parseFloat,
|
|
384
|
-
"%parseInt%": parseInt,
|
|
385
|
-
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
386
|
-
"%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
|
|
387
|
-
"%RangeError%": $RangeError,
|
|
388
|
-
"%ReferenceError%": $ReferenceError,
|
|
389
|
-
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
390
|
-
"%RegExp%": RegExp,
|
|
391
|
-
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
392
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
393
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
394
|
-
"%String%": String,
|
|
395
|
-
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
396
|
-
"%Symbol%": hasSymbols ? Symbol : undefined2,
|
|
397
|
-
"%SyntaxError%": $SyntaxError,
|
|
398
|
-
"%ThrowTypeError%": ThrowTypeError,
|
|
399
|
-
"%TypedArray%": TypedArray,
|
|
400
|
-
"%TypeError%": $TypeError,
|
|
401
|
-
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
|
|
402
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
|
|
403
|
-
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
|
|
404
|
-
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
|
|
405
|
-
"%URIError%": $URIError,
|
|
406
|
-
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
407
|
-
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
408
|
-
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
|
|
409
|
-
};
|
|
410
|
-
if (getProto) {
|
|
411
|
-
try {
|
|
412
|
-
null.error;
|
|
413
|
-
} catch (e) {
|
|
414
|
-
errorProto = getProto(getProto(e));
|
|
415
|
-
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
var errorProto;
|
|
419
|
-
var doEval = function doEval2(name) {
|
|
420
|
-
var value;
|
|
421
|
-
if (name === "%AsyncFunction%") {
|
|
422
|
-
value = getEvalledConstructor("async function () {}");
|
|
423
|
-
} else if (name === "%GeneratorFunction%") {
|
|
424
|
-
value = getEvalledConstructor("function* () {}");
|
|
425
|
-
} else if (name === "%AsyncGeneratorFunction%") {
|
|
426
|
-
value = getEvalledConstructor("async function* () {}");
|
|
427
|
-
} else if (name === "%AsyncGenerator%") {
|
|
428
|
-
var fn = doEval2("%AsyncGeneratorFunction%");
|
|
429
|
-
if (fn) {
|
|
430
|
-
value = fn.prototype;
|
|
431
|
-
}
|
|
432
|
-
} else if (name === "%AsyncIteratorPrototype%") {
|
|
433
|
-
var gen = doEval2("%AsyncGenerator%");
|
|
434
|
-
if (gen && getProto) {
|
|
435
|
-
value = getProto(gen.prototype);
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
INTRINSICS[name] = value;
|
|
439
|
-
return value;
|
|
440
|
-
};
|
|
441
|
-
var LEGACY_ALIASES = {
|
|
442
|
-
__proto__: null,
|
|
443
|
-
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
444
|
-
"%ArrayPrototype%": ["Array", "prototype"],
|
|
445
|
-
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
446
|
-
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
447
|
-
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
448
|
-
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
449
|
-
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
450
|
-
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
451
|
-
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
452
|
-
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
453
|
-
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
454
|
-
"%DatePrototype%": ["Date", "prototype"],
|
|
455
|
-
"%ErrorPrototype%": ["Error", "prototype"],
|
|
456
|
-
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
457
|
-
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
458
|
-
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
459
|
-
"%FunctionPrototype%": ["Function", "prototype"],
|
|
460
|
-
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
461
|
-
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
462
|
-
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
463
|
-
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
464
|
-
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
465
|
-
"%JSONParse%": ["JSON", "parse"],
|
|
466
|
-
"%JSONStringify%": ["JSON", "stringify"],
|
|
467
|
-
"%MapPrototype%": ["Map", "prototype"],
|
|
468
|
-
"%NumberPrototype%": ["Number", "prototype"],
|
|
469
|
-
"%ObjectPrototype%": ["Object", "prototype"],
|
|
470
|
-
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
471
|
-
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
472
|
-
"%PromisePrototype%": ["Promise", "prototype"],
|
|
473
|
-
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
474
|
-
"%Promise_all%": ["Promise", "all"],
|
|
475
|
-
"%Promise_reject%": ["Promise", "reject"],
|
|
476
|
-
"%Promise_resolve%": ["Promise", "resolve"],
|
|
477
|
-
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
478
|
-
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
479
|
-
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
480
|
-
"%SetPrototype%": ["Set", "prototype"],
|
|
481
|
-
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
482
|
-
"%StringPrototype%": ["String", "prototype"],
|
|
483
|
-
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
484
|
-
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
485
|
-
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
486
|
-
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
487
|
-
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
488
|
-
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
489
|
-
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
490
|
-
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
491
|
-
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
492
|
-
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
493
|
-
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
494
|
-
};
|
|
495
|
-
var bind = require_function_bind();
|
|
496
|
-
var hasOwn = require_hasown();
|
|
497
|
-
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
498
|
-
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
499
|
-
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
500
|
-
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
501
|
-
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
502
|
-
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
503
|
-
var reEscapeChar = /\\(\\)?/g;
|
|
504
|
-
var stringToPath = function stringToPath2(string) {
|
|
505
|
-
var first = $strSlice(string, 0, 1);
|
|
506
|
-
var last = $strSlice(string, -1);
|
|
507
|
-
if (first === "%" && last !== "%") {
|
|
508
|
-
throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
|
|
509
|
-
} else if (last === "%" && first !== "%") {
|
|
510
|
-
throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
|
|
511
|
-
}
|
|
512
|
-
var result = [];
|
|
513
|
-
$replace(string, rePropName, function(match, number, quote, subString) {
|
|
514
|
-
result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
|
|
515
|
-
});
|
|
516
|
-
return result;
|
|
517
|
-
};
|
|
518
|
-
var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
|
|
519
|
-
var intrinsicName = name;
|
|
520
|
-
var alias;
|
|
521
|
-
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
522
|
-
alias = LEGACY_ALIASES[intrinsicName];
|
|
523
|
-
intrinsicName = "%" + alias[0] + "%";
|
|
524
|
-
}
|
|
525
|
-
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
526
|
-
var value = INTRINSICS[intrinsicName];
|
|
527
|
-
if (value === needsEval) {
|
|
528
|
-
value = doEval(intrinsicName);
|
|
529
|
-
}
|
|
530
|
-
if (typeof value === "undefined" && !allowMissing) {
|
|
531
|
-
throw new $TypeError("intrinsic " + name + " exists, but is not available. Please file an issue!");
|
|
532
|
-
}
|
|
533
|
-
return {
|
|
534
|
-
alias,
|
|
535
|
-
name: intrinsicName,
|
|
536
|
-
value
|
|
537
|
-
};
|
|
538
|
-
}
|
|
539
|
-
throw new $SyntaxError("intrinsic " + name + " does not exist!");
|
|
540
|
-
};
|
|
541
|
-
module.exports = function GetIntrinsic(name, allowMissing) {
|
|
542
|
-
if (typeof name !== "string" || name.length === 0) {
|
|
543
|
-
throw new $TypeError("intrinsic name must be a non-empty string");
|
|
544
|
-
}
|
|
545
|
-
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
546
|
-
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
547
|
-
}
|
|
548
|
-
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
549
|
-
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
550
|
-
}
|
|
551
|
-
var parts = stringToPath(name);
|
|
552
|
-
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
553
|
-
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
554
|
-
var intrinsicRealName = intrinsic.name;
|
|
555
|
-
var value = intrinsic.value;
|
|
556
|
-
var skipFurtherCaching = false;
|
|
557
|
-
var alias = intrinsic.alias;
|
|
558
|
-
if (alias) {
|
|
559
|
-
intrinsicBaseName = alias[0];
|
|
560
|
-
$spliceApply(parts, $concat([0, 1], alias));
|
|
561
|
-
}
|
|
562
|
-
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
563
|
-
var part = parts[i];
|
|
564
|
-
var first = $strSlice(part, 0, 1);
|
|
565
|
-
var last = $strSlice(part, -1);
|
|
566
|
-
if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
|
|
567
|
-
throw new $SyntaxError("property names with quotes must have matching quotes");
|
|
568
|
-
}
|
|
569
|
-
if (part === "constructor" || !isOwn) {
|
|
570
|
-
skipFurtherCaching = true;
|
|
571
|
-
}
|
|
572
|
-
intrinsicBaseName += "." + part;
|
|
573
|
-
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
|
574
|
-
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
575
|
-
value = INTRINSICS[intrinsicRealName];
|
|
576
|
-
} else if (value != null) {
|
|
577
|
-
if (!(part in value)) {
|
|
578
|
-
if (!allowMissing) {
|
|
579
|
-
throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
|
|
580
|
-
}
|
|
581
|
-
return void 0;
|
|
582
|
-
}
|
|
583
|
-
if ($gOPD && i + 1 >= parts.length) {
|
|
584
|
-
var desc = $gOPD(value, part);
|
|
585
|
-
isOwn = !!desc;
|
|
586
|
-
if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
|
|
587
|
-
value = desc.get;
|
|
588
|
-
} else {
|
|
589
|
-
value = value[part];
|
|
590
|
-
}
|
|
591
|
-
} else {
|
|
592
|
-
isOwn = hasOwn(value, part);
|
|
593
|
-
value = value[part];
|
|
594
|
-
}
|
|
595
|
-
if (isOwn && !skipFurtherCaching) {
|
|
596
|
-
INTRINSICS[intrinsicRealName] = value;
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
return value;
|
|
601
|
-
};
|
|
602
|
-
}
|
|
603
|
-
});
|
|
604
|
-
|
|
605
|
-
// ../../../node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js
|
|
606
|
-
var require_es_define_property = __commonJS({
|
|
607
|
-
"../../../node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.js"(exports, module) {
|
|
608
|
-
"use strict";
|
|
609
|
-
init_process();
|
|
610
|
-
init_buffer();
|
|
611
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
612
|
-
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true) || false;
|
|
613
|
-
if ($defineProperty) {
|
|
614
|
-
try {
|
|
615
|
-
$defineProperty({}, "a", { value: 1 });
|
|
616
|
-
} catch (e) {
|
|
617
|
-
$defineProperty = false;
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
module.exports = $defineProperty;
|
|
621
|
-
}
|
|
622
|
-
});
|
|
623
|
-
|
|
624
|
-
// ../../../node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js
|
|
625
|
-
var require_gopd = __commonJS({
|
|
626
|
-
"../../../node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js"(exports, module) {
|
|
627
|
-
"use strict";
|
|
628
|
-
init_process();
|
|
629
|
-
init_buffer();
|
|
630
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
631
|
-
var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true);
|
|
632
|
-
if ($gOPD) {
|
|
633
|
-
try {
|
|
634
|
-
$gOPD([], "length");
|
|
635
|
-
} catch (e) {
|
|
636
|
-
$gOPD = null;
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
module.exports = $gOPD;
|
|
640
|
-
}
|
|
641
|
-
});
|
|
642
|
-
|
|
643
|
-
// ../../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js
|
|
644
|
-
var require_define_data_property = __commonJS({
|
|
645
|
-
"../../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js"(exports, module) {
|
|
646
|
-
"use strict";
|
|
647
|
-
init_process();
|
|
648
|
-
init_buffer();
|
|
649
|
-
var $defineProperty = require_es_define_property();
|
|
650
|
-
var $SyntaxError = require_syntax();
|
|
651
|
-
var $TypeError = require_type();
|
|
652
|
-
var gopd = require_gopd();
|
|
653
|
-
module.exports = function defineDataProperty(obj, property, value) {
|
|
654
|
-
if (!obj || typeof obj !== "object" && typeof obj !== "function") {
|
|
655
|
-
throw new $TypeError("`obj` must be an object or a function`");
|
|
656
|
-
}
|
|
657
|
-
if (typeof property !== "string" && typeof property !== "symbol") {
|
|
658
|
-
throw new $TypeError("`property` must be a string or a symbol`");
|
|
659
|
-
}
|
|
660
|
-
if (arguments.length > 3 && typeof arguments[3] !== "boolean" && arguments[3] !== null) {
|
|
661
|
-
throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null");
|
|
662
|
-
}
|
|
663
|
-
if (arguments.length > 4 && typeof arguments[4] !== "boolean" && arguments[4] !== null) {
|
|
664
|
-
throw new $TypeError("`nonWritable`, if provided, must be a boolean or null");
|
|
665
|
-
}
|
|
666
|
-
if (arguments.length > 5 && typeof arguments[5] !== "boolean" && arguments[5] !== null) {
|
|
667
|
-
throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null");
|
|
668
|
-
}
|
|
669
|
-
if (arguments.length > 6 && typeof arguments[6] !== "boolean") {
|
|
670
|
-
throw new $TypeError("`loose`, if provided, must be a boolean");
|
|
671
|
-
}
|
|
672
|
-
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
673
|
-
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
674
|
-
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
675
|
-
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
676
|
-
var desc = !!gopd && gopd(obj, property);
|
|
677
|
-
if ($defineProperty) {
|
|
678
|
-
$defineProperty(obj, property, {
|
|
679
|
-
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
680
|
-
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
681
|
-
value,
|
|
682
|
-
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
683
|
-
});
|
|
684
|
-
} else if (loose || !nonEnumerable && !nonWritable && !nonConfigurable) {
|
|
685
|
-
obj[property] = value;
|
|
686
|
-
} else {
|
|
687
|
-
throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
688
|
-
}
|
|
689
|
-
};
|
|
690
|
-
}
|
|
691
|
-
});
|
|
692
|
-
|
|
693
|
-
// ../../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js
|
|
694
|
-
var require_has_property_descriptors = __commonJS({
|
|
695
|
-
"../../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js"(exports, module) {
|
|
696
|
-
"use strict";
|
|
697
|
-
init_process();
|
|
698
|
-
init_buffer();
|
|
699
|
-
var $defineProperty = require_es_define_property();
|
|
700
|
-
var hasPropertyDescriptors = function hasPropertyDescriptors2() {
|
|
701
|
-
return !!$defineProperty;
|
|
702
|
-
};
|
|
703
|
-
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
704
|
-
if (!$defineProperty) {
|
|
705
|
-
return null;
|
|
706
|
-
}
|
|
707
|
-
try {
|
|
708
|
-
return $defineProperty([], "length", { value: 1 }).length !== 1;
|
|
709
|
-
} catch (e) {
|
|
710
|
-
return true;
|
|
711
|
-
}
|
|
712
|
-
};
|
|
713
|
-
module.exports = hasPropertyDescriptors;
|
|
714
|
-
}
|
|
715
|
-
});
|
|
716
|
-
|
|
717
|
-
// ../../../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js
|
|
718
|
-
var require_set_function_length = __commonJS({
|
|
719
|
-
"../../../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js"(exports, module) {
|
|
720
|
-
"use strict";
|
|
721
|
-
init_process();
|
|
722
|
-
init_buffer();
|
|
723
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
724
|
-
var define = require_define_data_property();
|
|
725
|
-
var hasDescriptors = require_has_property_descriptors()();
|
|
726
|
-
var gOPD = require_gopd();
|
|
727
|
-
var $TypeError = require_type();
|
|
728
|
-
var $floor = GetIntrinsic("%Math.floor%");
|
|
729
|
-
module.exports = function setFunctionLength(fn, length) {
|
|
730
|
-
if (typeof fn !== "function") {
|
|
731
|
-
throw new $TypeError("`fn` is not a function");
|
|
732
|
-
}
|
|
733
|
-
if (typeof length !== "number" || length < 0 || length > 4294967295 || $floor(length) !== length) {
|
|
734
|
-
throw new $TypeError("`length` must be a positive 32-bit integer");
|
|
735
|
-
}
|
|
736
|
-
var loose = arguments.length > 2 && !!arguments[2];
|
|
737
|
-
var functionLengthIsConfigurable = true;
|
|
738
|
-
var functionLengthIsWritable = true;
|
|
739
|
-
if ("length" in fn && gOPD) {
|
|
740
|
-
var desc = gOPD(fn, "length");
|
|
741
|
-
if (desc && !desc.configurable) {
|
|
742
|
-
functionLengthIsConfigurable = false;
|
|
743
|
-
}
|
|
744
|
-
if (desc && !desc.writable) {
|
|
745
|
-
functionLengthIsWritable = false;
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
749
|
-
if (hasDescriptors) {
|
|
750
|
-
define(
|
|
751
|
-
/** @type {Parameters<define>[0]} */
|
|
752
|
-
fn,
|
|
753
|
-
"length",
|
|
754
|
-
length,
|
|
755
|
-
true,
|
|
756
|
-
true
|
|
757
|
-
);
|
|
758
|
-
} else {
|
|
759
|
-
define(
|
|
760
|
-
/** @type {Parameters<define>[0]} */
|
|
761
|
-
fn,
|
|
762
|
-
"length",
|
|
763
|
-
length
|
|
764
|
-
);
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
return fn;
|
|
768
|
-
};
|
|
769
|
-
}
|
|
770
|
-
});
|
|
771
|
-
|
|
772
|
-
// ../../../node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/index.js
|
|
773
|
-
var require_call_bind = __commonJS({
|
|
774
|
-
"../../../node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/index.js"(exports, module) {
|
|
775
|
-
"use strict";
|
|
776
|
-
init_process();
|
|
777
|
-
init_buffer();
|
|
778
|
-
var bind = require_function_bind();
|
|
779
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
780
|
-
var setFunctionLength = require_set_function_length();
|
|
781
|
-
var $TypeError = require_type();
|
|
782
|
-
var $apply = GetIntrinsic("%Function.prototype.apply%");
|
|
783
|
-
var $call = GetIntrinsic("%Function.prototype.call%");
|
|
784
|
-
var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind.call($call, $apply);
|
|
785
|
-
var $defineProperty = require_es_define_property();
|
|
786
|
-
var $max = GetIntrinsic("%Math.max%");
|
|
787
|
-
module.exports = function callBind(originalFunction) {
|
|
788
|
-
if (typeof originalFunction !== "function") {
|
|
789
|
-
throw new $TypeError("a function is required");
|
|
790
|
-
}
|
|
791
|
-
var func = $reflectApply(bind, $call, arguments);
|
|
792
|
-
return setFunctionLength(
|
|
793
|
-
func,
|
|
794
|
-
1 + $max(0, originalFunction.length - (arguments.length - 1)),
|
|
795
|
-
true
|
|
796
|
-
);
|
|
797
|
-
};
|
|
798
|
-
var applyBind = function applyBind2() {
|
|
799
|
-
return $reflectApply(bind, $apply, arguments);
|
|
800
|
-
};
|
|
801
|
-
if ($defineProperty) {
|
|
802
|
-
$defineProperty(module.exports, "apply", { value: applyBind });
|
|
803
|
-
} else {
|
|
804
|
-
module.exports.apply = applyBind;
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
});
|
|
808
|
-
|
|
809
|
-
// ../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/isArguments.js
|
|
810
|
-
var require_isArguments = __commonJS({
|
|
811
|
-
"../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/isArguments.js"(exports, module) {
|
|
812
|
-
"use strict";
|
|
813
|
-
init_process();
|
|
814
|
-
init_buffer();
|
|
815
|
-
var toStr = Object.prototype.toString;
|
|
816
|
-
module.exports = function isArguments(value) {
|
|
817
|
-
var str = toStr.call(value);
|
|
818
|
-
var isArgs = str === "[object Arguments]";
|
|
819
|
-
if (!isArgs) {
|
|
820
|
-
isArgs = str !== "[object Array]" && value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && toStr.call(value.callee) === "[object Function]";
|
|
821
|
-
}
|
|
822
|
-
return isArgs;
|
|
823
|
-
};
|
|
824
|
-
}
|
|
825
|
-
});
|
|
826
|
-
|
|
827
|
-
// ../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/implementation.js
|
|
828
|
-
var require_implementation2 = __commonJS({
|
|
829
|
-
"../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/implementation.js"(exports, module) {
|
|
830
|
-
"use strict";
|
|
831
|
-
init_process();
|
|
832
|
-
init_buffer();
|
|
833
|
-
var keysShim;
|
|
834
|
-
if (!Object.keys) {
|
|
835
|
-
has = Object.prototype.hasOwnProperty;
|
|
836
|
-
toStr = Object.prototype.toString;
|
|
837
|
-
isArgs = require_isArguments();
|
|
838
|
-
isEnumerable = Object.prototype.propertyIsEnumerable;
|
|
839
|
-
hasDontEnumBug = !isEnumerable.call({ toString: null }, "toString");
|
|
840
|
-
hasProtoEnumBug = isEnumerable.call(function() {
|
|
841
|
-
}, "prototype");
|
|
842
|
-
dontEnums = [
|
|
843
|
-
"toString",
|
|
844
|
-
"toLocaleString",
|
|
845
|
-
"valueOf",
|
|
846
|
-
"hasOwnProperty",
|
|
847
|
-
"isPrototypeOf",
|
|
848
|
-
"propertyIsEnumerable",
|
|
849
|
-
"constructor"
|
|
850
|
-
];
|
|
851
|
-
equalsConstructorPrototype = function(o) {
|
|
852
|
-
var ctor = o.constructor;
|
|
853
|
-
return ctor && ctor.prototype === o;
|
|
854
|
-
};
|
|
855
|
-
excludedKeys = {
|
|
856
|
-
$applicationCache: true,
|
|
857
|
-
$console: true,
|
|
858
|
-
$external: true,
|
|
859
|
-
$frame: true,
|
|
860
|
-
$frameElement: true,
|
|
861
|
-
$frames: true,
|
|
862
|
-
$innerHeight: true,
|
|
863
|
-
$innerWidth: true,
|
|
864
|
-
$onmozfullscreenchange: true,
|
|
865
|
-
$onmozfullscreenerror: true,
|
|
866
|
-
$outerHeight: true,
|
|
867
|
-
$outerWidth: true,
|
|
868
|
-
$pageXOffset: true,
|
|
869
|
-
$pageYOffset: true,
|
|
870
|
-
$parent: true,
|
|
871
|
-
$scrollLeft: true,
|
|
872
|
-
$scrollTop: true,
|
|
873
|
-
$scrollX: true,
|
|
874
|
-
$scrollY: true,
|
|
875
|
-
$self: true,
|
|
876
|
-
$webkitIndexedDB: true,
|
|
877
|
-
$webkitStorageInfo: true,
|
|
878
|
-
$window: true
|
|
879
|
-
};
|
|
880
|
-
hasAutomationEqualityBug = function() {
|
|
881
|
-
if (typeof window === "undefined") {
|
|
882
|
-
return false;
|
|
883
|
-
}
|
|
884
|
-
for (var k in window) {
|
|
885
|
-
try {
|
|
886
|
-
if (!excludedKeys["$" + k] && has.call(window, k) && window[k] !== null && typeof window[k] === "object") {
|
|
887
|
-
try {
|
|
888
|
-
equalsConstructorPrototype(window[k]);
|
|
889
|
-
} catch (e) {
|
|
890
|
-
return true;
|
|
891
|
-
}
|
|
892
|
-
}
|
|
893
|
-
} catch (e) {
|
|
894
|
-
return true;
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
return false;
|
|
898
|
-
}();
|
|
899
|
-
equalsConstructorPrototypeIfNotBuggy = function(o) {
|
|
900
|
-
if (typeof window === "undefined" || !hasAutomationEqualityBug) {
|
|
901
|
-
return equalsConstructorPrototype(o);
|
|
902
|
-
}
|
|
903
|
-
try {
|
|
904
|
-
return equalsConstructorPrototype(o);
|
|
905
|
-
} catch (e) {
|
|
906
|
-
return false;
|
|
907
|
-
}
|
|
908
|
-
};
|
|
909
|
-
keysShim = function keys(object) {
|
|
910
|
-
var isObject2 = object !== null && typeof object === "object";
|
|
911
|
-
var isFunction2 = toStr.call(object) === "[object Function]";
|
|
912
|
-
var isArguments = isArgs(object);
|
|
913
|
-
var isString2 = isObject2 && toStr.call(object) === "[object String]";
|
|
914
|
-
var theKeys = [];
|
|
915
|
-
if (!isObject2 && !isFunction2 && !isArguments) {
|
|
916
|
-
throw new TypeError("Object.keys called on a non-object");
|
|
917
|
-
}
|
|
918
|
-
var skipProto = hasProtoEnumBug && isFunction2;
|
|
919
|
-
if (isString2 && object.length > 0 && !has.call(object, 0)) {
|
|
920
|
-
for (var i = 0; i < object.length; ++i) {
|
|
921
|
-
theKeys.push(String(i));
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
if (isArguments && object.length > 0) {
|
|
925
|
-
for (var j = 0; j < object.length; ++j) {
|
|
926
|
-
theKeys.push(String(j));
|
|
927
|
-
}
|
|
928
|
-
} else {
|
|
929
|
-
for (var name in object) {
|
|
930
|
-
if (!(skipProto && name === "prototype") && has.call(object, name)) {
|
|
931
|
-
theKeys.push(String(name));
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
if (hasDontEnumBug) {
|
|
936
|
-
var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);
|
|
937
|
-
for (var k = 0; k < dontEnums.length; ++k) {
|
|
938
|
-
if (!(skipConstructor && dontEnums[k] === "constructor") && has.call(object, dontEnums[k])) {
|
|
939
|
-
theKeys.push(dontEnums[k]);
|
|
940
|
-
}
|
|
941
|
-
}
|
|
942
|
-
}
|
|
943
|
-
return theKeys;
|
|
944
|
-
};
|
|
945
|
-
}
|
|
946
|
-
var has;
|
|
947
|
-
var toStr;
|
|
948
|
-
var isArgs;
|
|
949
|
-
var isEnumerable;
|
|
950
|
-
var hasDontEnumBug;
|
|
951
|
-
var hasProtoEnumBug;
|
|
952
|
-
var dontEnums;
|
|
953
|
-
var equalsConstructorPrototype;
|
|
954
|
-
var excludedKeys;
|
|
955
|
-
var hasAutomationEqualityBug;
|
|
956
|
-
var equalsConstructorPrototypeIfNotBuggy;
|
|
957
|
-
module.exports = keysShim;
|
|
958
|
-
}
|
|
959
|
-
});
|
|
960
|
-
|
|
961
|
-
// ../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/index.js
|
|
962
|
-
var require_object_keys = __commonJS({
|
|
963
|
-
"../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/index.js"(exports, module) {
|
|
964
|
-
"use strict";
|
|
965
|
-
init_process();
|
|
966
|
-
init_buffer();
|
|
967
|
-
var slice = Array.prototype.slice;
|
|
968
|
-
var isArgs = require_isArguments();
|
|
969
|
-
var origKeys = Object.keys;
|
|
970
|
-
var keysShim = origKeys ? function keys(o) {
|
|
971
|
-
return origKeys(o);
|
|
972
|
-
} : require_implementation2();
|
|
973
|
-
var originalKeys = Object.keys;
|
|
974
|
-
keysShim.shim = function shimObjectKeys() {
|
|
975
|
-
if (Object.keys) {
|
|
976
|
-
var keysWorksWithArguments = function() {
|
|
977
|
-
var args = Object.keys(arguments);
|
|
978
|
-
return args && args.length === arguments.length;
|
|
979
|
-
}(1, 2);
|
|
980
|
-
if (!keysWorksWithArguments) {
|
|
981
|
-
Object.keys = function keys(object) {
|
|
982
|
-
if (isArgs(object)) {
|
|
983
|
-
return originalKeys(slice.call(object));
|
|
984
|
-
}
|
|
985
|
-
return originalKeys(object);
|
|
986
|
-
};
|
|
987
|
-
}
|
|
988
|
-
} else {
|
|
989
|
-
Object.keys = keysShim;
|
|
990
|
-
}
|
|
991
|
-
return Object.keys || keysShim;
|
|
992
|
-
};
|
|
993
|
-
module.exports = keysShim;
|
|
994
|
-
}
|
|
995
|
-
});
|
|
996
|
-
|
|
997
|
-
// ../../../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js
|
|
998
|
-
var require_define_properties = __commonJS({
|
|
999
|
-
"../../../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js"(exports, module) {
|
|
1000
|
-
"use strict";
|
|
1001
|
-
init_process();
|
|
1002
|
-
init_buffer();
|
|
1003
|
-
var keys = require_object_keys();
|
|
1004
|
-
var hasSymbols = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
|
|
1005
|
-
var toStr = Object.prototype.toString;
|
|
1006
|
-
var concat = Array.prototype.concat;
|
|
1007
|
-
var defineDataProperty = require_define_data_property();
|
|
1008
|
-
var isFunction2 = function(fn) {
|
|
1009
|
-
return typeof fn === "function" && toStr.call(fn) === "[object Function]";
|
|
1010
|
-
};
|
|
1011
|
-
var supportsDescriptors = require_has_property_descriptors()();
|
|
1012
|
-
var defineProperty = function(object, name, value, predicate) {
|
|
1013
|
-
if (name in object) {
|
|
1014
|
-
if (predicate === true) {
|
|
1015
|
-
if (object[name] === value) {
|
|
1016
|
-
return;
|
|
1017
|
-
}
|
|
1018
|
-
} else if (!isFunction2(predicate) || !predicate()) {
|
|
1019
|
-
return;
|
|
1020
|
-
}
|
|
1021
|
-
}
|
|
1022
|
-
if (supportsDescriptors) {
|
|
1023
|
-
defineDataProperty(object, name, value, true);
|
|
1024
|
-
} else {
|
|
1025
|
-
defineDataProperty(object, name, value);
|
|
1026
|
-
}
|
|
1027
|
-
};
|
|
1028
|
-
var defineProperties = function(object, map) {
|
|
1029
|
-
var predicates = arguments.length > 2 ? arguments[2] : {};
|
|
1030
|
-
var props = keys(map);
|
|
1031
|
-
if (hasSymbols) {
|
|
1032
|
-
props = concat.call(props, Object.getOwnPropertySymbols(map));
|
|
1033
|
-
}
|
|
1034
|
-
for (var i = 0; i < props.length; i += 1) {
|
|
1035
|
-
defineProperty(object, props[i], map[props[i]], predicates[props[i]]);
|
|
1036
|
-
}
|
|
1037
|
-
};
|
|
1038
|
-
defineProperties.supportsDescriptors = !!supportsDescriptors;
|
|
1039
|
-
module.exports = defineProperties;
|
|
1040
|
-
}
|
|
1041
|
-
});
|
|
1042
|
-
|
|
1043
|
-
// ../../../node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/callBound.js
|
|
1044
|
-
var require_callBound = __commonJS({
|
|
1045
|
-
"../../../node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/callBound.js"(exports, module) {
|
|
1046
|
-
"use strict";
|
|
1047
|
-
init_process();
|
|
1048
|
-
init_buffer();
|
|
1049
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
1050
|
-
var callBind = require_call_bind();
|
|
1051
|
-
var $indexOf = callBind(GetIntrinsic("String.prototype.indexOf"));
|
|
1052
|
-
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
1053
|
-
var intrinsic = GetIntrinsic(name, !!allowMissing);
|
|
1054
|
-
if (typeof intrinsic === "function" && $indexOf(name, ".prototype.") > -1) {
|
|
1055
|
-
return callBind(intrinsic);
|
|
1056
|
-
}
|
|
1057
|
-
return intrinsic;
|
|
1058
|
-
};
|
|
1059
|
-
}
|
|
1060
|
-
});
|
|
1061
|
-
|
|
1062
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/helpers/IsArray.js
|
|
1063
|
-
var require_IsArray = __commonJS({
|
|
1064
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/helpers/IsArray.js"(exports, module) {
|
|
1065
|
-
"use strict";
|
|
1066
|
-
init_process();
|
|
1067
|
-
init_buffer();
|
|
1068
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
1069
|
-
var $Array = GetIntrinsic("%Array%");
|
|
1070
|
-
var toStr = !$Array.isArray && require_callBound()("Object.prototype.toString");
|
|
1071
|
-
module.exports = $Array.isArray || function IsArray(argument) {
|
|
1072
|
-
return toStr(argument) === "[object Array]";
|
|
1073
|
-
};
|
|
1074
|
-
}
|
|
1075
|
-
});
|
|
1076
|
-
|
|
1077
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/IsArray.js
|
|
1078
|
-
var require_IsArray2 = __commonJS({
|
|
1079
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/IsArray.js"(exports, module) {
|
|
1080
|
-
"use strict";
|
|
1081
|
-
init_process();
|
|
1082
|
-
init_buffer();
|
|
1083
|
-
module.exports = require_IsArray();
|
|
1084
|
-
}
|
|
1085
|
-
});
|
|
1086
|
-
|
|
1087
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/Call.js
|
|
1088
|
-
var require_Call = __commonJS({
|
|
1089
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/Call.js"(exports, module) {
|
|
1090
|
-
"use strict";
|
|
1091
|
-
init_process();
|
|
1092
|
-
init_buffer();
|
|
1093
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
1094
|
-
var callBound = require_callBound();
|
|
1095
|
-
var $TypeError = require_type();
|
|
1096
|
-
var IsArray = require_IsArray2();
|
|
1097
|
-
var $apply = GetIntrinsic("%Reflect.apply%", true) || callBound("Function.prototype.apply");
|
|
1098
|
-
module.exports = function Call(F, V) {
|
|
1099
|
-
var argumentsList = arguments.length > 2 ? arguments[2] : [];
|
|
1100
|
-
if (!IsArray(argumentsList)) {
|
|
1101
|
-
throw new $TypeError("Assertion failed: optional `argumentsList`, if provided, must be a List");
|
|
1102
|
-
}
|
|
1103
|
-
return $apply(F, V, argumentsList);
|
|
1104
|
-
};
|
|
1105
|
-
}
|
|
1106
|
-
});
|
|
1107
|
-
|
|
1108
|
-
// node-modules-polyfills:process
|
|
1109
|
-
function defaultSetTimout() {
|
|
1110
|
-
throw new Error("setTimeout has not been defined");
|
|
1111
|
-
}
|
|
1112
|
-
function defaultClearTimeout() {
|
|
1113
|
-
throw new Error("clearTimeout has not been defined");
|
|
1114
|
-
}
|
|
1115
|
-
function runTimeout(fun) {
|
|
1116
|
-
if (cachedSetTimeout === setTimeout) {
|
|
1117
|
-
return setTimeout(fun, 0);
|
|
1118
|
-
}
|
|
1119
|
-
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
|
|
1120
|
-
cachedSetTimeout = setTimeout;
|
|
1121
|
-
return setTimeout(fun, 0);
|
|
1122
|
-
}
|
|
1123
|
-
try {
|
|
1124
|
-
return cachedSetTimeout(fun, 0);
|
|
1125
|
-
} catch (e) {
|
|
1126
|
-
try {
|
|
1127
|
-
return cachedSetTimeout.call(null, fun, 0);
|
|
1128
|
-
} catch (e2) {
|
|
1129
|
-
return cachedSetTimeout.call(this, fun, 0);
|
|
1130
|
-
}
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
function runClearTimeout(marker) {
|
|
1134
|
-
if (cachedClearTimeout === clearTimeout) {
|
|
1135
|
-
return clearTimeout(marker);
|
|
1136
|
-
}
|
|
1137
|
-
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
|
|
1138
|
-
cachedClearTimeout = clearTimeout;
|
|
1139
|
-
return clearTimeout(marker);
|
|
1140
|
-
}
|
|
1141
|
-
try {
|
|
1142
|
-
return cachedClearTimeout(marker);
|
|
1143
|
-
} catch (e) {
|
|
1144
|
-
try {
|
|
1145
|
-
return cachedClearTimeout.call(null, marker);
|
|
1146
|
-
} catch (e2) {
|
|
1147
|
-
return cachedClearTimeout.call(this, marker);
|
|
1148
|
-
}
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1151
|
-
function cleanUpNextTick() {
|
|
1152
|
-
if (!draining || !currentQueue) {
|
|
1153
|
-
return;
|
|
1154
|
-
}
|
|
1155
|
-
draining = false;
|
|
1156
|
-
if (currentQueue.length) {
|
|
1157
|
-
queue = currentQueue.concat(queue);
|
|
1158
|
-
} else {
|
|
1159
|
-
queueIndex = -1;
|
|
1160
|
-
}
|
|
1161
|
-
if (queue.length) {
|
|
1162
|
-
drainQueue();
|
|
1163
|
-
}
|
|
1164
|
-
}
|
|
1165
|
-
function drainQueue() {
|
|
1166
|
-
if (draining) {
|
|
1167
|
-
return;
|
|
1168
|
-
}
|
|
1169
|
-
var timeout = runTimeout(cleanUpNextTick);
|
|
1170
|
-
draining = true;
|
|
1171
|
-
var len = queue.length;
|
|
1172
|
-
while (len) {
|
|
1173
|
-
currentQueue = queue;
|
|
1174
|
-
queue = [];
|
|
1175
|
-
while (++queueIndex < len) {
|
|
1176
|
-
if (currentQueue) {
|
|
1177
|
-
currentQueue[queueIndex].run();
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1180
|
-
queueIndex = -1;
|
|
1181
|
-
len = queue.length;
|
|
1182
|
-
}
|
|
1183
|
-
currentQueue = null;
|
|
1184
|
-
draining = false;
|
|
1185
|
-
runClearTimeout(timeout);
|
|
1186
|
-
}
|
|
1187
|
-
function nextTick(fun) {
|
|
1188
|
-
var args = new Array(arguments.length - 1);
|
|
1189
|
-
if (arguments.length > 1) {
|
|
1190
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
1191
|
-
args[i - 1] = arguments[i];
|
|
1192
|
-
}
|
|
1193
|
-
}
|
|
1194
|
-
queue.push(new Item(fun, args));
|
|
1195
|
-
if (queue.length === 1 && !draining) {
|
|
1196
|
-
runTimeout(drainQueue);
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
function Item(fun, array) {
|
|
1200
|
-
this.fun = fun;
|
|
1201
|
-
this.array = array;
|
|
1202
|
-
}
|
|
1203
|
-
function noop() {
|
|
1204
|
-
}
|
|
1205
|
-
function binding(name) {
|
|
1206
|
-
throw new Error("process.binding is not supported");
|
|
1207
|
-
}
|
|
1208
|
-
function cwd() {
|
|
1209
|
-
return "/";
|
|
1210
|
-
}
|
|
1211
|
-
function chdir(dir) {
|
|
1212
|
-
throw new Error("process.chdir is not supported");
|
|
1213
|
-
}
|
|
1214
|
-
function umask() {
|
|
1215
|
-
return 0;
|
|
1216
|
-
}
|
|
1217
|
-
function hrtime(previousTimestamp) {
|
|
1218
|
-
var clocktime = performanceNow.call(performance) * 1e-3;
|
|
1219
|
-
var seconds = Math.floor(clocktime);
|
|
1220
|
-
var nanoseconds = Math.floor(clocktime % 1 * 1e9);
|
|
1221
|
-
if (previousTimestamp) {
|
|
1222
|
-
seconds = seconds - previousTimestamp[0];
|
|
1223
|
-
nanoseconds = nanoseconds - previousTimestamp[1];
|
|
1224
|
-
if (nanoseconds < 0) {
|
|
1225
|
-
seconds--;
|
|
1226
|
-
nanoseconds += 1e9;
|
|
1227
|
-
}
|
|
1228
|
-
}
|
|
1229
|
-
return [seconds, nanoseconds];
|
|
1230
|
-
}
|
|
1231
|
-
function uptime() {
|
|
1232
|
-
var currentTime = /* @__PURE__ */ new Date();
|
|
1233
|
-
var dif = currentTime - startTime;
|
|
1234
|
-
return dif / 1e3;
|
|
1235
|
-
}
|
|
1236
|
-
var cachedSetTimeout, cachedClearTimeout, queue, draining, currentQueue, queueIndex, title, platform, browser, env, argv, version, versions, release, config, on, addListener, once, off, removeListener, removeAllListeners, emit, performance, performanceNow, startTime, browser$1, process_default;
|
|
1237
|
-
var init_process2 = __esm({
|
|
1238
|
-
"node-modules-polyfills:process"() {
|
|
1239
|
-
"use strict";
|
|
1240
|
-
init_process();
|
|
1241
|
-
init_buffer();
|
|
1242
|
-
cachedSetTimeout = defaultSetTimout;
|
|
1243
|
-
cachedClearTimeout = defaultClearTimeout;
|
|
1244
|
-
if (typeof globalThis.setTimeout === "function") {
|
|
1245
|
-
cachedSetTimeout = setTimeout;
|
|
1246
|
-
}
|
|
1247
|
-
if (typeof globalThis.clearTimeout === "function") {
|
|
1248
|
-
cachedClearTimeout = clearTimeout;
|
|
1249
|
-
}
|
|
1250
|
-
queue = [];
|
|
1251
|
-
draining = false;
|
|
1252
|
-
queueIndex = -1;
|
|
1253
|
-
Item.prototype.run = function() {
|
|
1254
|
-
this.fun.apply(null, this.array);
|
|
1255
|
-
};
|
|
1256
|
-
title = "browser";
|
|
1257
|
-
platform = "browser";
|
|
1258
|
-
browser = true;
|
|
1259
|
-
env = {};
|
|
1260
|
-
argv = [];
|
|
1261
|
-
version = "";
|
|
1262
|
-
versions = {};
|
|
1263
|
-
release = {};
|
|
1264
|
-
config = {};
|
|
1265
|
-
on = noop;
|
|
1266
|
-
addListener = noop;
|
|
1267
|
-
once = noop;
|
|
1268
|
-
off = noop;
|
|
1269
|
-
removeListener = noop;
|
|
1270
|
-
removeAllListeners = noop;
|
|
1271
|
-
emit = noop;
|
|
1272
|
-
performance = globalThis.performance || {};
|
|
1273
|
-
performanceNow = performance.now || performance.mozNow || performance.msNow || performance.oNow || performance.webkitNow || function() {
|
|
1274
|
-
return (/* @__PURE__ */ new Date()).getTime();
|
|
1275
|
-
};
|
|
1276
|
-
startTime = /* @__PURE__ */ new Date();
|
|
1277
|
-
browser$1 = {
|
|
1278
|
-
nextTick,
|
|
1279
|
-
title,
|
|
1280
|
-
browser,
|
|
1281
|
-
env,
|
|
1282
|
-
argv,
|
|
1283
|
-
version,
|
|
1284
|
-
versions,
|
|
1285
|
-
on,
|
|
1286
|
-
addListener,
|
|
1287
|
-
once,
|
|
1288
|
-
off,
|
|
1289
|
-
removeListener,
|
|
1290
|
-
removeAllListeners,
|
|
1291
|
-
emit,
|
|
1292
|
-
binding,
|
|
1293
|
-
cwd,
|
|
1294
|
-
chdir,
|
|
1295
|
-
umask,
|
|
1296
|
-
hrtime,
|
|
1297
|
-
platform,
|
|
1298
|
-
release,
|
|
1299
|
-
config,
|
|
1300
|
-
uptime
|
|
1301
|
-
};
|
|
1302
|
-
process_default = browser$1;
|
|
1303
|
-
}
|
|
1304
|
-
});
|
|
1305
|
-
|
|
1306
|
-
// ../../../node_modules/.pnpm/rollup-plugin-node-polyfills@0.2.1/node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js
|
|
1307
|
-
var inherits, inherits_default;
|
|
1308
|
-
var init_inherits = __esm({
|
|
1309
|
-
"../../../node_modules/.pnpm/rollup-plugin-node-polyfills@0.2.1/node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js"() {
|
|
1310
|
-
"use strict";
|
|
1311
|
-
init_process();
|
|
1312
|
-
init_buffer();
|
|
1313
|
-
if (typeof Object.create === "function") {
|
|
1314
|
-
inherits = function inherits2(ctor, superCtor) {
|
|
1315
|
-
ctor.super_ = superCtor;
|
|
1316
|
-
ctor.prototype = Object.create(superCtor.prototype, {
|
|
1317
|
-
constructor: {
|
|
1318
|
-
value: ctor,
|
|
1319
|
-
enumerable: false,
|
|
1320
|
-
writable: true,
|
|
1321
|
-
configurable: true
|
|
1322
|
-
}
|
|
1323
|
-
});
|
|
1324
|
-
};
|
|
1325
|
-
} else {
|
|
1326
|
-
inherits = function inherits2(ctor, superCtor) {
|
|
1327
|
-
ctor.super_ = superCtor;
|
|
1328
|
-
var TempCtor = function() {
|
|
1329
|
-
};
|
|
1330
|
-
TempCtor.prototype = superCtor.prototype;
|
|
1331
|
-
ctor.prototype = new TempCtor();
|
|
1332
|
-
ctor.prototype.constructor = ctor;
|
|
1333
|
-
};
|
|
1334
|
-
}
|
|
1335
|
-
inherits_default = inherits;
|
|
1336
|
-
}
|
|
1337
|
-
});
|
|
1338
|
-
|
|
1339
|
-
// node-modules-polyfills:util
|
|
1340
|
-
var util_exports = {};
|
|
1341
|
-
__export(util_exports, {
|
|
1342
|
-
_extend: () => _extend,
|
|
1343
|
-
debuglog: () => debuglog,
|
|
1344
|
-
default: () => util_default,
|
|
1345
|
-
deprecate: () => deprecate,
|
|
1346
|
-
format: () => format,
|
|
1347
|
-
inherits: () => inherits_default,
|
|
1348
|
-
inspect: () => inspect,
|
|
1349
|
-
isArray: () => isArray,
|
|
1350
|
-
isBoolean: () => isBoolean,
|
|
1351
|
-
isBuffer: () => isBuffer,
|
|
1352
|
-
isDate: () => isDate,
|
|
1353
|
-
isError: () => isError,
|
|
1354
|
-
isFunction: () => isFunction,
|
|
1355
|
-
isNull: () => isNull,
|
|
1356
|
-
isNullOrUndefined: () => isNullOrUndefined,
|
|
1357
|
-
isNumber: () => isNumber,
|
|
1358
|
-
isObject: () => isObject,
|
|
1359
|
-
isPrimitive: () => isPrimitive,
|
|
1360
|
-
isRegExp: () => isRegExp,
|
|
1361
|
-
isString: () => isString,
|
|
1362
|
-
isSymbol: () => isSymbol,
|
|
1363
|
-
isUndefined: () => isUndefined,
|
|
1364
|
-
log: () => log
|
|
1365
|
-
});
|
|
1366
|
-
function format(f) {
|
|
1367
|
-
if (!isString(f)) {
|
|
1368
|
-
var objects = [];
|
|
1369
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
1370
|
-
objects.push(inspect(arguments[i]));
|
|
1371
|
-
}
|
|
1372
|
-
return objects.join(" ");
|
|
1373
|
-
}
|
|
1374
|
-
var i = 1;
|
|
1375
|
-
var args = arguments;
|
|
1376
|
-
var len = args.length;
|
|
1377
|
-
var str = String(f).replace(formatRegExp, function(x2) {
|
|
1378
|
-
if (x2 === "%%") return "%";
|
|
1379
|
-
if (i >= len) return x2;
|
|
1380
|
-
switch (x2) {
|
|
1381
|
-
case "%s":
|
|
1382
|
-
return String(args[i++]);
|
|
1383
|
-
case "%d":
|
|
1384
|
-
return Number(args[i++]);
|
|
1385
|
-
case "%j":
|
|
1386
|
-
try {
|
|
1387
|
-
return JSON.stringify(args[i++]);
|
|
1388
|
-
} catch (_) {
|
|
1389
|
-
return "[Circular]";
|
|
1390
|
-
}
|
|
1391
|
-
default:
|
|
1392
|
-
return x2;
|
|
1393
|
-
}
|
|
1394
|
-
});
|
|
1395
|
-
for (var x = args[i]; i < len; x = args[++i]) {
|
|
1396
|
-
if (isNull(x) || !isObject(x)) {
|
|
1397
|
-
str += " " + x;
|
|
1398
|
-
} else {
|
|
1399
|
-
str += " " + inspect(x);
|
|
1400
|
-
}
|
|
1401
|
-
}
|
|
1402
|
-
return str;
|
|
1403
|
-
}
|
|
1404
|
-
function deprecate(fn, msg) {
|
|
1405
|
-
if (isUndefined(globalThis.process)) {
|
|
1406
|
-
return function() {
|
|
1407
|
-
return deprecate(fn, msg).apply(this, arguments);
|
|
1408
|
-
};
|
|
1409
|
-
}
|
|
1410
|
-
if (process_default.noDeprecation === true) {
|
|
1411
|
-
return fn;
|
|
1412
|
-
}
|
|
1413
|
-
var warned = false;
|
|
1414
|
-
function deprecated() {
|
|
1415
|
-
if (!warned) {
|
|
1416
|
-
if (process_default.throwDeprecation) {
|
|
1417
|
-
throw new Error(msg);
|
|
1418
|
-
} else if (process_default.traceDeprecation) {
|
|
1419
|
-
console.trace(msg);
|
|
1420
|
-
} else {
|
|
1421
|
-
console.error(msg);
|
|
1422
|
-
}
|
|
1423
|
-
warned = true;
|
|
1424
|
-
}
|
|
1425
|
-
return fn.apply(this, arguments);
|
|
1426
|
-
}
|
|
1427
|
-
return deprecated;
|
|
1428
|
-
}
|
|
1429
|
-
function debuglog(set) {
|
|
1430
|
-
if (isUndefined(debugEnviron))
|
|
1431
|
-
debugEnviron = process_default.env.NODE_DEBUG || "";
|
|
1432
|
-
set = set.toUpperCase();
|
|
1433
|
-
if (!debugs[set]) {
|
|
1434
|
-
if (new RegExp("\\b" + set + "\\b", "i").test(debugEnviron)) {
|
|
1435
|
-
var pid = 0;
|
|
1436
|
-
debugs[set] = function() {
|
|
1437
|
-
var msg = format.apply(null, arguments);
|
|
1438
|
-
console.error("%s %d: %s", set, pid, msg);
|
|
1439
|
-
};
|
|
1440
|
-
} else {
|
|
1441
|
-
debugs[set] = function() {
|
|
1442
|
-
};
|
|
1443
|
-
}
|
|
1444
|
-
}
|
|
1445
|
-
return debugs[set];
|
|
1446
|
-
}
|
|
1447
|
-
function inspect(obj, opts) {
|
|
1448
|
-
var ctx = {
|
|
1449
|
-
seen: [],
|
|
1450
|
-
stylize: stylizeNoColor
|
|
1451
|
-
};
|
|
1452
|
-
if (arguments.length >= 3) ctx.depth = arguments[2];
|
|
1453
|
-
if (arguments.length >= 4) ctx.colors = arguments[3];
|
|
1454
|
-
if (isBoolean(opts)) {
|
|
1455
|
-
ctx.showHidden = opts;
|
|
1456
|
-
} else if (opts) {
|
|
1457
|
-
_extend(ctx, opts);
|
|
1458
|
-
}
|
|
1459
|
-
if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
|
|
1460
|
-
if (isUndefined(ctx.depth)) ctx.depth = 2;
|
|
1461
|
-
if (isUndefined(ctx.colors)) ctx.colors = false;
|
|
1462
|
-
if (isUndefined(ctx.customInspect)) ctx.customInspect = true;
|
|
1463
|
-
if (ctx.colors) ctx.stylize = stylizeWithColor;
|
|
1464
|
-
return formatValue(ctx, obj, ctx.depth);
|
|
1465
|
-
}
|
|
1466
|
-
function stylizeWithColor(str, styleType) {
|
|
1467
|
-
var style = inspect.styles[styleType];
|
|
1468
|
-
if (style) {
|
|
1469
|
-
return "\x1B[" + inspect.colors[style][0] + "m" + str + "\x1B[" + inspect.colors[style][1] + "m";
|
|
1470
|
-
} else {
|
|
1471
|
-
return str;
|
|
1472
|
-
}
|
|
1473
|
-
}
|
|
1474
|
-
function stylizeNoColor(str, styleType) {
|
|
1475
|
-
return str;
|
|
1476
|
-
}
|
|
1477
|
-
function arrayToHash(array) {
|
|
1478
|
-
var hash = {};
|
|
1479
|
-
array.forEach(function(val, idx) {
|
|
1480
|
-
hash[val] = true;
|
|
1481
|
-
});
|
|
1482
|
-
return hash;
|
|
1483
|
-
}
|
|
1484
|
-
function formatValue(ctx, value, recurseTimes) {
|
|
1485
|
-
if (ctx.customInspect && value && isFunction(value.inspect) && // Filter out the util module, it's inspect function is special
|
|
1486
|
-
value.inspect !== inspect && // Also filter out any prototype objects using the circular check.
|
|
1487
|
-
!(value.constructor && value.constructor.prototype === value)) {
|
|
1488
|
-
var ret = value.inspect(recurseTimes, ctx);
|
|
1489
|
-
if (!isString(ret)) {
|
|
1490
|
-
ret = formatValue(ctx, ret, recurseTimes);
|
|
1491
|
-
}
|
|
1492
|
-
return ret;
|
|
1493
|
-
}
|
|
1494
|
-
var primitive = formatPrimitive(ctx, value);
|
|
1495
|
-
if (primitive) {
|
|
1496
|
-
return primitive;
|
|
1497
|
-
}
|
|
1498
|
-
var keys = Object.keys(value);
|
|
1499
|
-
var visibleKeys = arrayToHash(keys);
|
|
1500
|
-
if (ctx.showHidden) {
|
|
1501
|
-
keys = Object.getOwnPropertyNames(value);
|
|
1502
|
-
}
|
|
1503
|
-
if (isError(value) && (keys.indexOf("message") >= 0 || keys.indexOf("description") >= 0)) {
|
|
1504
|
-
return formatError(value);
|
|
1505
|
-
}
|
|
1506
|
-
if (keys.length === 0) {
|
|
1507
|
-
if (isFunction(value)) {
|
|
1508
|
-
var name = value.name ? ": " + value.name : "";
|
|
1509
|
-
return ctx.stylize("[Function" + name + "]", "special");
|
|
1510
|
-
}
|
|
1511
|
-
if (isRegExp(value)) {
|
|
1512
|
-
return ctx.stylize(RegExp.prototype.toString.call(value), "regexp");
|
|
1513
|
-
}
|
|
1514
|
-
if (isDate(value)) {
|
|
1515
|
-
return ctx.stylize(Date.prototype.toString.call(value), "date");
|
|
1516
|
-
}
|
|
1517
|
-
if (isError(value)) {
|
|
1518
|
-
return formatError(value);
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
|
-
var base = "", array = false, braces = ["{", "}"];
|
|
1522
|
-
if (isArray(value)) {
|
|
1523
|
-
array = true;
|
|
1524
|
-
braces = ["[", "]"];
|
|
1525
|
-
}
|
|
1526
|
-
if (isFunction(value)) {
|
|
1527
|
-
var n = value.name ? ": " + value.name : "";
|
|
1528
|
-
base = " [Function" + n + "]";
|
|
1529
|
-
}
|
|
1530
|
-
if (isRegExp(value)) {
|
|
1531
|
-
base = " " + RegExp.prototype.toString.call(value);
|
|
1532
|
-
}
|
|
1533
|
-
if (isDate(value)) {
|
|
1534
|
-
base = " " + Date.prototype.toUTCString.call(value);
|
|
1535
|
-
}
|
|
1536
|
-
if (isError(value)) {
|
|
1537
|
-
base = " " + formatError(value);
|
|
1538
|
-
}
|
|
1539
|
-
if (keys.length === 0 && (!array || value.length == 0)) {
|
|
1540
|
-
return braces[0] + base + braces[1];
|
|
1541
|
-
}
|
|
1542
|
-
if (recurseTimes < 0) {
|
|
1543
|
-
if (isRegExp(value)) {
|
|
1544
|
-
return ctx.stylize(RegExp.prototype.toString.call(value), "regexp");
|
|
1545
|
-
} else {
|
|
1546
|
-
return ctx.stylize("[Object]", "special");
|
|
1547
|
-
}
|
|
1548
|
-
}
|
|
1549
|
-
ctx.seen.push(value);
|
|
1550
|
-
var output;
|
|
1551
|
-
if (array) {
|
|
1552
|
-
output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
|
|
1553
|
-
} else {
|
|
1554
|
-
output = keys.map(function(key) {
|
|
1555
|
-
return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
|
|
1556
|
-
});
|
|
1557
|
-
}
|
|
1558
|
-
ctx.seen.pop();
|
|
1559
|
-
return reduceToSingleString(output, base, braces);
|
|
1560
|
-
}
|
|
1561
|
-
function formatPrimitive(ctx, value) {
|
|
1562
|
-
if (isUndefined(value))
|
|
1563
|
-
return ctx.stylize("undefined", "undefined");
|
|
1564
|
-
if (isString(value)) {
|
|
1565
|
-
var simple = "'" + JSON.stringify(value).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
|
|
1566
|
-
return ctx.stylize(simple, "string");
|
|
1567
|
-
}
|
|
1568
|
-
if (isNumber(value))
|
|
1569
|
-
return ctx.stylize("" + value, "number");
|
|
1570
|
-
if (isBoolean(value))
|
|
1571
|
-
return ctx.stylize("" + value, "boolean");
|
|
1572
|
-
if (isNull(value))
|
|
1573
|
-
return ctx.stylize("null", "null");
|
|
1574
|
-
}
|
|
1575
|
-
function formatError(value) {
|
|
1576
|
-
return "[" + Error.prototype.toString.call(value) + "]";
|
|
1577
|
-
}
|
|
1578
|
-
function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
|
|
1579
|
-
var output = [];
|
|
1580
|
-
for (var i = 0, l = value.length; i < l; ++i) {
|
|
1581
|
-
if (hasOwnProperty(value, String(i))) {
|
|
1582
|
-
output.push(formatProperty(
|
|
1583
|
-
ctx,
|
|
1584
|
-
value,
|
|
1585
|
-
recurseTimes,
|
|
1586
|
-
visibleKeys,
|
|
1587
|
-
String(i),
|
|
1588
|
-
true
|
|
1589
|
-
));
|
|
1590
|
-
} else {
|
|
1591
|
-
output.push("");
|
|
1592
|
-
}
|
|
1593
|
-
}
|
|
1594
|
-
keys.forEach(function(key) {
|
|
1595
|
-
if (!key.match(/^\d+$/)) {
|
|
1596
|
-
output.push(formatProperty(
|
|
1597
|
-
ctx,
|
|
1598
|
-
value,
|
|
1599
|
-
recurseTimes,
|
|
1600
|
-
visibleKeys,
|
|
1601
|
-
key,
|
|
1602
|
-
true
|
|
1603
|
-
));
|
|
1604
|
-
}
|
|
1605
|
-
});
|
|
1606
|
-
return output;
|
|
1607
|
-
}
|
|
1608
|
-
function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
|
|
1609
|
-
var name, str, desc;
|
|
1610
|
-
desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };
|
|
1611
|
-
if (desc.get) {
|
|
1612
|
-
if (desc.set) {
|
|
1613
|
-
str = ctx.stylize("[Getter/Setter]", "special");
|
|
1614
|
-
} else {
|
|
1615
|
-
str = ctx.stylize("[Getter]", "special");
|
|
1616
|
-
}
|
|
1617
|
-
} else {
|
|
1618
|
-
if (desc.set) {
|
|
1619
|
-
str = ctx.stylize("[Setter]", "special");
|
|
1620
|
-
}
|
|
1621
|
-
}
|
|
1622
|
-
if (!hasOwnProperty(visibleKeys, key)) {
|
|
1623
|
-
name = "[" + key + "]";
|
|
1624
|
-
}
|
|
1625
|
-
if (!str) {
|
|
1626
|
-
if (ctx.seen.indexOf(desc.value) < 0) {
|
|
1627
|
-
if (isNull(recurseTimes)) {
|
|
1628
|
-
str = formatValue(ctx, desc.value, null);
|
|
1629
|
-
} else {
|
|
1630
|
-
str = formatValue(ctx, desc.value, recurseTimes - 1);
|
|
1631
|
-
}
|
|
1632
|
-
if (str.indexOf("\n") > -1) {
|
|
1633
|
-
if (array) {
|
|
1634
|
-
str = str.split("\n").map(function(line) {
|
|
1635
|
-
return " " + line;
|
|
1636
|
-
}).join("\n").substr(2);
|
|
1637
|
-
} else {
|
|
1638
|
-
str = "\n" + str.split("\n").map(function(line) {
|
|
1639
|
-
return " " + line;
|
|
1640
|
-
}).join("\n");
|
|
1641
|
-
}
|
|
1642
|
-
}
|
|
1643
|
-
} else {
|
|
1644
|
-
str = ctx.stylize("[Circular]", "special");
|
|
1645
|
-
}
|
|
1646
|
-
}
|
|
1647
|
-
if (isUndefined(name)) {
|
|
1648
|
-
if (array && key.match(/^\d+$/)) {
|
|
1649
|
-
return str;
|
|
1650
|
-
}
|
|
1651
|
-
name = JSON.stringify("" + key);
|
|
1652
|
-
if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
|
|
1653
|
-
name = name.substr(1, name.length - 2);
|
|
1654
|
-
name = ctx.stylize(name, "name");
|
|
1655
|
-
} else {
|
|
1656
|
-
name = name.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'");
|
|
1657
|
-
name = ctx.stylize(name, "string");
|
|
1658
|
-
}
|
|
1659
|
-
}
|
|
1660
|
-
return name + ": " + str;
|
|
1661
|
-
}
|
|
1662
|
-
function reduceToSingleString(output, base, braces) {
|
|
1663
|
-
var numLinesEst = 0;
|
|
1664
|
-
var length = output.reduce(function(prev, cur) {
|
|
1665
|
-
numLinesEst++;
|
|
1666
|
-
if (cur.indexOf("\n") >= 0) numLinesEst++;
|
|
1667
|
-
return prev + cur.replace(/\u001b\[\d\d?m/g, "").length + 1;
|
|
1668
|
-
}, 0);
|
|
1669
|
-
if (length > 60) {
|
|
1670
|
-
return braces[0] + (base === "" ? "" : base + "\n ") + " " + output.join(",\n ") + " " + braces[1];
|
|
1671
|
-
}
|
|
1672
|
-
return braces[0] + base + " " + output.join(", ") + " " + braces[1];
|
|
1673
|
-
}
|
|
1674
|
-
function isArray(ar) {
|
|
1675
|
-
return Array.isArray(ar);
|
|
1676
|
-
}
|
|
1677
|
-
function isBoolean(arg) {
|
|
1678
|
-
return typeof arg === "boolean";
|
|
1679
|
-
}
|
|
1680
|
-
function isNull(arg) {
|
|
1681
|
-
return arg === null;
|
|
1682
|
-
}
|
|
1683
|
-
function isNullOrUndefined(arg) {
|
|
1684
|
-
return arg == null;
|
|
1685
|
-
}
|
|
1686
|
-
function isNumber(arg) {
|
|
1687
|
-
return typeof arg === "number";
|
|
1688
|
-
}
|
|
1689
|
-
function isString(arg) {
|
|
1690
|
-
return typeof arg === "string";
|
|
1691
|
-
}
|
|
1692
|
-
function isSymbol(arg) {
|
|
1693
|
-
return typeof arg === "symbol";
|
|
1694
|
-
}
|
|
1695
|
-
function isUndefined(arg) {
|
|
1696
|
-
return arg === void 0;
|
|
1697
|
-
}
|
|
1698
|
-
function isRegExp(re) {
|
|
1699
|
-
return isObject(re) && objectToString(re) === "[object RegExp]";
|
|
1700
|
-
}
|
|
1701
|
-
function isObject(arg) {
|
|
1702
|
-
return typeof arg === "object" && arg !== null;
|
|
1703
|
-
}
|
|
1704
|
-
function isDate(d) {
|
|
1705
|
-
return isObject(d) && objectToString(d) === "[object Date]";
|
|
1706
|
-
}
|
|
1707
|
-
function isError(e) {
|
|
1708
|
-
return isObject(e) && (objectToString(e) === "[object Error]" || e instanceof Error);
|
|
1709
|
-
}
|
|
1710
|
-
function isFunction(arg) {
|
|
1711
|
-
return typeof arg === "function";
|
|
1712
|
-
}
|
|
1713
|
-
function isPrimitive(arg) {
|
|
1714
|
-
return arg === null || typeof arg === "boolean" || typeof arg === "number" || typeof arg === "string" || typeof arg === "symbol" || // ES6 symbol
|
|
1715
|
-
typeof arg === "undefined";
|
|
1716
|
-
}
|
|
1717
|
-
function isBuffer(maybeBuf) {
|
|
1718
|
-
return Buffer.isBuffer(maybeBuf);
|
|
1719
|
-
}
|
|
1720
|
-
function objectToString(o) {
|
|
1721
|
-
return Object.prototype.toString.call(o);
|
|
1722
|
-
}
|
|
1723
|
-
function pad(n) {
|
|
1724
|
-
return n < 10 ? "0" + n.toString(10) : n.toString(10);
|
|
1725
|
-
}
|
|
1726
|
-
function timestamp() {
|
|
1727
|
-
var d = /* @__PURE__ */ new Date();
|
|
1728
|
-
var time = [
|
|
1729
|
-
pad(d.getHours()),
|
|
1730
|
-
pad(d.getMinutes()),
|
|
1731
|
-
pad(d.getSeconds())
|
|
1732
|
-
].join(":");
|
|
1733
|
-
return [d.getDate(), months[d.getMonth()], time].join(" ");
|
|
1734
|
-
}
|
|
1735
|
-
function log() {
|
|
1736
|
-
console.log("%s - %s", timestamp(), format.apply(null, arguments));
|
|
1737
|
-
}
|
|
1738
|
-
function _extend(origin, add) {
|
|
1739
|
-
if (!add || !isObject(add)) return origin;
|
|
1740
|
-
var keys = Object.keys(add);
|
|
1741
|
-
var i = keys.length;
|
|
1742
|
-
while (i--) {
|
|
1743
|
-
origin[keys[i]] = add[keys[i]];
|
|
1744
|
-
}
|
|
1745
|
-
return origin;
|
|
1746
|
-
}
|
|
1747
|
-
function hasOwnProperty(obj, prop) {
|
|
1748
|
-
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
1749
|
-
}
|
|
1750
|
-
var formatRegExp, debugs, debugEnviron, months, util_default;
|
|
1751
|
-
var init_util = __esm({
|
|
1752
|
-
"node-modules-polyfills:util"() {
|
|
1753
|
-
"use strict";
|
|
1754
|
-
init_process();
|
|
1755
|
-
init_buffer();
|
|
1756
|
-
init_process2();
|
|
1757
|
-
init_inherits();
|
|
1758
|
-
formatRegExp = /%[sdj%]/g;
|
|
1759
|
-
debugs = {};
|
|
1760
|
-
inspect.colors = {
|
|
1761
|
-
"bold": [1, 22],
|
|
1762
|
-
"italic": [3, 23],
|
|
1763
|
-
"underline": [4, 24],
|
|
1764
|
-
"inverse": [7, 27],
|
|
1765
|
-
"white": [37, 39],
|
|
1766
|
-
"grey": [90, 39],
|
|
1767
|
-
"black": [30, 39],
|
|
1768
|
-
"blue": [34, 39],
|
|
1769
|
-
"cyan": [36, 39],
|
|
1770
|
-
"green": [32, 39],
|
|
1771
|
-
"magenta": [35, 39],
|
|
1772
|
-
"red": [31, 39],
|
|
1773
|
-
"yellow": [33, 39]
|
|
1774
|
-
};
|
|
1775
|
-
inspect.styles = {
|
|
1776
|
-
"special": "cyan",
|
|
1777
|
-
"number": "yellow",
|
|
1778
|
-
"boolean": "yellow",
|
|
1779
|
-
"undefined": "grey",
|
|
1780
|
-
"null": "bold",
|
|
1781
|
-
"string": "green",
|
|
1782
|
-
"date": "magenta",
|
|
1783
|
-
// "name": intentionally not styling
|
|
1784
|
-
"regexp": "red"
|
|
1785
|
-
};
|
|
1786
|
-
months = [
|
|
1787
|
-
"Jan",
|
|
1788
|
-
"Feb",
|
|
1789
|
-
"Mar",
|
|
1790
|
-
"Apr",
|
|
1791
|
-
"May",
|
|
1792
|
-
"Jun",
|
|
1793
|
-
"Jul",
|
|
1794
|
-
"Aug",
|
|
1795
|
-
"Sep",
|
|
1796
|
-
"Oct",
|
|
1797
|
-
"Nov",
|
|
1798
|
-
"Dec"
|
|
1799
|
-
];
|
|
1800
|
-
util_default = {
|
|
1801
|
-
inherits: inherits_default,
|
|
1802
|
-
_extend,
|
|
1803
|
-
log,
|
|
1804
|
-
isBuffer,
|
|
1805
|
-
isPrimitive,
|
|
1806
|
-
isFunction,
|
|
1807
|
-
isError,
|
|
1808
|
-
isDate,
|
|
1809
|
-
isObject,
|
|
1810
|
-
isRegExp,
|
|
1811
|
-
isUndefined,
|
|
1812
|
-
isSymbol,
|
|
1813
|
-
isString,
|
|
1814
|
-
isNumber,
|
|
1815
|
-
isNullOrUndefined,
|
|
1816
|
-
isNull,
|
|
1817
|
-
isBoolean,
|
|
1818
|
-
isArray,
|
|
1819
|
-
inspect,
|
|
1820
|
-
deprecate,
|
|
1821
|
-
format,
|
|
1822
|
-
debuglog
|
|
1823
|
-
};
|
|
1824
|
-
}
|
|
1825
|
-
});
|
|
1826
|
-
|
|
1827
|
-
// node-modules-polyfills-commonjs:util
|
|
1828
|
-
var require_util = __commonJS({
|
|
1829
|
-
"node-modules-polyfills-commonjs:util"(exports, module) {
|
|
1830
|
-
"use strict";
|
|
1831
|
-
init_process();
|
|
1832
|
-
init_buffer();
|
|
1833
|
-
var polyfill = (init_util(), __toCommonJS(util_exports));
|
|
1834
|
-
if (polyfill && polyfill.default) {
|
|
1835
|
-
module.exports = polyfill.default;
|
|
1836
|
-
for (let k in polyfill) {
|
|
1837
|
-
module.exports[k] = polyfill[k];
|
|
1838
|
-
}
|
|
1839
|
-
} else if (polyfill) {
|
|
1840
|
-
module.exports = polyfill;
|
|
1841
|
-
}
|
|
1842
|
-
}
|
|
1843
|
-
});
|
|
1844
|
-
|
|
1845
|
-
// ../../../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/util.inspect.js
|
|
1846
|
-
var require_util_inspect = __commonJS({
|
|
1847
|
-
"../../../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/util.inspect.js"(exports, module) {
|
|
1848
|
-
"use strict";
|
|
1849
|
-
init_process();
|
|
1850
|
-
init_buffer();
|
|
1851
|
-
module.exports = require_util().inspect;
|
|
1852
|
-
}
|
|
1853
|
-
});
|
|
1854
|
-
|
|
1855
|
-
// ../../../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/index.js
|
|
1856
|
-
var require_object_inspect = __commonJS({
|
|
1857
|
-
"../../../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/index.js"(exports, module) {
|
|
1858
|
-
"use strict";
|
|
1859
|
-
init_process();
|
|
1860
|
-
init_buffer();
|
|
1861
|
-
var hasMap = typeof Map === "function" && Map.prototype;
|
|
1862
|
-
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null;
|
|
1863
|
-
var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === "function" ? mapSizeDescriptor.get : null;
|
|
1864
|
-
var mapForEach = hasMap && Map.prototype.forEach;
|
|
1865
|
-
var hasSet = typeof Set === "function" && Set.prototype;
|
|
1866
|
-
var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null;
|
|
1867
|
-
var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === "function" ? setSizeDescriptor.get : null;
|
|
1868
|
-
var setForEach = hasSet && Set.prototype.forEach;
|
|
1869
|
-
var hasWeakMap = typeof WeakMap === "function" && WeakMap.prototype;
|
|
1870
|
-
var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
|
|
1871
|
-
var hasWeakSet = typeof WeakSet === "function" && WeakSet.prototype;
|
|
1872
|
-
var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
|
|
1873
|
-
var hasWeakRef = typeof WeakRef === "function" && WeakRef.prototype;
|
|
1874
|
-
var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
|
|
1875
|
-
var booleanValueOf = Boolean.prototype.valueOf;
|
|
1876
|
-
var objectToString2 = Object.prototype.toString;
|
|
1877
|
-
var functionToString = Function.prototype.toString;
|
|
1878
|
-
var $match = String.prototype.match;
|
|
1879
|
-
var $slice = String.prototype.slice;
|
|
1880
|
-
var $replace = String.prototype.replace;
|
|
1881
|
-
var $toUpperCase = String.prototype.toUpperCase;
|
|
1882
|
-
var $toLowerCase = String.prototype.toLowerCase;
|
|
1883
|
-
var $test = RegExp.prototype.test;
|
|
1884
|
-
var $concat = Array.prototype.concat;
|
|
1885
|
-
var $join = Array.prototype.join;
|
|
1886
|
-
var $arrSlice = Array.prototype.slice;
|
|
1887
|
-
var $floor = Math.floor;
|
|
1888
|
-
var bigIntValueOf = typeof BigInt === "function" ? BigInt.prototype.valueOf : null;
|
|
1889
|
-
var gOPS = Object.getOwnPropertySymbols;
|
|
1890
|
-
var symToString = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? Symbol.prototype.toString : null;
|
|
1891
|
-
var hasShammedSymbols = typeof Symbol === "function" && typeof Symbol.iterator === "object";
|
|
1892
|
-
var toStringTag = typeof Symbol === "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? "object" : "symbol") ? Symbol.toStringTag : null;
|
|
1893
|
-
var isEnumerable = Object.prototype.propertyIsEnumerable;
|
|
1894
|
-
var gPO = (typeof Reflect === "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(O) {
|
|
1895
|
-
return O.__proto__;
|
|
1896
|
-
} : null);
|
|
1897
|
-
function addNumericSeparator(num, str) {
|
|
1898
|
-
if (num === Infinity || num === -Infinity || num !== num || num && num > -1e3 && num < 1e3 || $test.call(/e/, str)) {
|
|
1899
|
-
return str;
|
|
1900
|
-
}
|
|
1901
|
-
var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
1902
|
-
if (typeof num === "number") {
|
|
1903
|
-
var int = num < 0 ? -$floor(-num) : $floor(num);
|
|
1904
|
-
if (int !== num) {
|
|
1905
|
-
var intStr = String(int);
|
|
1906
|
-
var dec = $slice.call(str, intStr.length + 1);
|
|
1907
|
-
return $replace.call(intStr, sepRegex, "$&_") + "." + $replace.call($replace.call(dec, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
1908
|
-
}
|
|
1909
|
-
}
|
|
1910
|
-
return $replace.call(str, sepRegex, "$&_");
|
|
1911
|
-
}
|
|
1912
|
-
var utilInspect = require_util_inspect();
|
|
1913
|
-
var inspectCustom = utilInspect.custom;
|
|
1914
|
-
var inspectSymbol = isSymbol2(inspectCustom) ? inspectCustom : null;
|
|
1915
|
-
var quotes = {
|
|
1916
|
-
__proto__: null,
|
|
1917
|
-
"double": '"',
|
|
1918
|
-
single: "'"
|
|
1919
|
-
};
|
|
1920
|
-
var quoteREs = {
|
|
1921
|
-
__proto__: null,
|
|
1922
|
-
"double": /(["\\])/g,
|
|
1923
|
-
single: /(['\\])/g
|
|
1924
|
-
};
|
|
1925
|
-
module.exports = function inspect_(obj, options, depth, seen) {
|
|
1926
|
-
var opts = options || {};
|
|
1927
|
-
if (has(opts, "quoteStyle") && !has(quotes, opts.quoteStyle)) {
|
|
1928
|
-
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
1929
|
-
}
|
|
1930
|
-
if (has(opts, "maxStringLength") && (typeof opts.maxStringLength === "number" ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity : opts.maxStringLength !== null)) {
|
|
1931
|
-
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
1932
|
-
}
|
|
1933
|
-
var customInspect = has(opts, "customInspect") ? opts.customInspect : true;
|
|
1934
|
-
if (typeof customInspect !== "boolean" && customInspect !== "symbol") {
|
|
1935
|
-
throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
1936
|
-
}
|
|
1937
|
-
if (has(opts, "indent") && opts.indent !== null && opts.indent !== " " && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)) {
|
|
1938
|
-
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
1939
|
-
}
|
|
1940
|
-
if (has(opts, "numericSeparator") && typeof opts.numericSeparator !== "boolean") {
|
|
1941
|
-
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
1942
|
-
}
|
|
1943
|
-
var numericSeparator = opts.numericSeparator;
|
|
1944
|
-
if (typeof obj === "undefined") {
|
|
1945
|
-
return "undefined";
|
|
1946
|
-
}
|
|
1947
|
-
if (obj === null) {
|
|
1948
|
-
return "null";
|
|
1949
|
-
}
|
|
1950
|
-
if (typeof obj === "boolean") {
|
|
1951
|
-
return obj ? "true" : "false";
|
|
1952
|
-
}
|
|
1953
|
-
if (typeof obj === "string") {
|
|
1954
|
-
return inspectString(obj, opts);
|
|
1955
|
-
}
|
|
1956
|
-
if (typeof obj === "number") {
|
|
1957
|
-
if (obj === 0) {
|
|
1958
|
-
return Infinity / obj > 0 ? "0" : "-0";
|
|
1959
|
-
}
|
|
1960
|
-
var str = String(obj);
|
|
1961
|
-
return numericSeparator ? addNumericSeparator(obj, str) : str;
|
|
1962
|
-
}
|
|
1963
|
-
if (typeof obj === "bigint") {
|
|
1964
|
-
var bigIntStr = String(obj) + "n";
|
|
1965
|
-
return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
|
|
1966
|
-
}
|
|
1967
|
-
var maxDepth = typeof opts.depth === "undefined" ? 5 : opts.depth;
|
|
1968
|
-
if (typeof depth === "undefined") {
|
|
1969
|
-
depth = 0;
|
|
1970
|
-
}
|
|
1971
|
-
if (depth >= maxDepth && maxDepth > 0 && typeof obj === "object") {
|
|
1972
|
-
return isArray2(obj) ? "[Array]" : "[Object]";
|
|
1973
|
-
}
|
|
1974
|
-
var indent = getIndent(opts, depth);
|
|
1975
|
-
if (typeof seen === "undefined") {
|
|
1976
|
-
seen = [];
|
|
1977
|
-
} else if (indexOf(seen, obj) >= 0) {
|
|
1978
|
-
return "[Circular]";
|
|
1979
|
-
}
|
|
1980
|
-
function inspect2(value, from, noIndent) {
|
|
1981
|
-
if (from) {
|
|
1982
|
-
seen = $arrSlice.call(seen);
|
|
1983
|
-
seen.push(from);
|
|
1984
|
-
}
|
|
1985
|
-
if (noIndent) {
|
|
1986
|
-
var newOpts = {
|
|
1987
|
-
depth: opts.depth
|
|
1988
|
-
};
|
|
1989
|
-
if (has(opts, "quoteStyle")) {
|
|
1990
|
-
newOpts.quoteStyle = opts.quoteStyle;
|
|
1991
|
-
}
|
|
1992
|
-
return inspect_(value, newOpts, depth + 1, seen);
|
|
1993
|
-
}
|
|
1994
|
-
return inspect_(value, opts, depth + 1, seen);
|
|
1995
|
-
}
|
|
1996
|
-
if (typeof obj === "function" && !isRegExp2(obj)) {
|
|
1997
|
-
var name = nameOf(obj);
|
|
1998
|
-
var keys = arrObjKeys(obj, inspect2);
|
|
1999
|
-
return "[Function" + (name ? ": " + name : " (anonymous)") + "]" + (keys.length > 0 ? " { " + $join.call(keys, ", ") + " }" : "");
|
|
2000
|
-
}
|
|
2001
|
-
if (isSymbol2(obj)) {
|
|
2002
|
-
var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, "$1") : symToString.call(obj);
|
|
2003
|
-
return typeof obj === "object" && !hasShammedSymbols ? markBoxed(symString) : symString;
|
|
2004
|
-
}
|
|
2005
|
-
if (isElement(obj)) {
|
|
2006
|
-
var s = "<" + $toLowerCase.call(String(obj.nodeName));
|
|
2007
|
-
var attrs = obj.attributes || [];
|
|
2008
|
-
for (var i = 0; i < attrs.length; i++) {
|
|
2009
|
-
s += " " + attrs[i].name + "=" + wrapQuotes(quote(attrs[i].value), "double", opts);
|
|
2010
|
-
}
|
|
2011
|
-
s += ">";
|
|
2012
|
-
if (obj.childNodes && obj.childNodes.length) {
|
|
2013
|
-
s += "...";
|
|
2014
|
-
}
|
|
2015
|
-
s += "</" + $toLowerCase.call(String(obj.nodeName)) + ">";
|
|
2016
|
-
return s;
|
|
2017
|
-
}
|
|
2018
|
-
if (isArray2(obj)) {
|
|
2019
|
-
if (obj.length === 0) {
|
|
2020
|
-
return "[]";
|
|
2021
|
-
}
|
|
2022
|
-
var xs = arrObjKeys(obj, inspect2);
|
|
2023
|
-
if (indent && !singleLineValues(xs)) {
|
|
2024
|
-
return "[" + indentedJoin(xs, indent) + "]";
|
|
2025
|
-
}
|
|
2026
|
-
return "[ " + $join.call(xs, ", ") + " ]";
|
|
2027
|
-
}
|
|
2028
|
-
if (isError2(obj)) {
|
|
2029
|
-
var parts = arrObjKeys(obj, inspect2);
|
|
2030
|
-
if (!("cause" in Error.prototype) && "cause" in obj && !isEnumerable.call(obj, "cause")) {
|
|
2031
|
-
return "{ [" + String(obj) + "] " + $join.call($concat.call("[cause]: " + inspect2(obj.cause), parts), ", ") + " }";
|
|
2032
|
-
}
|
|
2033
|
-
if (parts.length === 0) {
|
|
2034
|
-
return "[" + String(obj) + "]";
|
|
2035
|
-
}
|
|
2036
|
-
return "{ [" + String(obj) + "] " + $join.call(parts, ", ") + " }";
|
|
2037
|
-
}
|
|
2038
|
-
if (typeof obj === "object" && customInspect) {
|
|
2039
|
-
if (inspectSymbol && typeof obj[inspectSymbol] === "function" && utilInspect) {
|
|
2040
|
-
return utilInspect(obj, { depth: maxDepth - depth });
|
|
2041
|
-
} else if (customInspect !== "symbol" && typeof obj.inspect === "function") {
|
|
2042
|
-
return obj.inspect();
|
|
2043
|
-
}
|
|
2044
|
-
}
|
|
2045
|
-
if (isMap(obj)) {
|
|
2046
|
-
var mapParts = [];
|
|
2047
|
-
if (mapForEach) {
|
|
2048
|
-
mapForEach.call(obj, function(value, key) {
|
|
2049
|
-
mapParts.push(inspect2(key, obj, true) + " => " + inspect2(value, obj));
|
|
2050
|
-
});
|
|
2051
|
-
}
|
|
2052
|
-
return collectionOf("Map", mapSize.call(obj), mapParts, indent);
|
|
2053
|
-
}
|
|
2054
|
-
if (isSet(obj)) {
|
|
2055
|
-
var setParts = [];
|
|
2056
|
-
if (setForEach) {
|
|
2057
|
-
setForEach.call(obj, function(value) {
|
|
2058
|
-
setParts.push(inspect2(value, obj));
|
|
2059
|
-
});
|
|
2060
|
-
}
|
|
2061
|
-
return collectionOf("Set", setSize.call(obj), setParts, indent);
|
|
2062
|
-
}
|
|
2063
|
-
if (isWeakMap(obj)) {
|
|
2064
|
-
return weakCollectionOf("WeakMap");
|
|
2065
|
-
}
|
|
2066
|
-
if (isWeakSet(obj)) {
|
|
2067
|
-
return weakCollectionOf("WeakSet");
|
|
2068
|
-
}
|
|
2069
|
-
if (isWeakRef(obj)) {
|
|
2070
|
-
return weakCollectionOf("WeakRef");
|
|
2071
|
-
}
|
|
2072
|
-
if (isNumber2(obj)) {
|
|
2073
|
-
return markBoxed(inspect2(Number(obj)));
|
|
2074
|
-
}
|
|
2075
|
-
if (isBigInt(obj)) {
|
|
2076
|
-
return markBoxed(inspect2(bigIntValueOf.call(obj)));
|
|
2077
|
-
}
|
|
2078
|
-
if (isBoolean2(obj)) {
|
|
2079
|
-
return markBoxed(booleanValueOf.call(obj));
|
|
2080
|
-
}
|
|
2081
|
-
if (isString2(obj)) {
|
|
2082
|
-
return markBoxed(inspect2(String(obj)));
|
|
2083
|
-
}
|
|
2084
|
-
if (typeof window !== "undefined" && obj === window) {
|
|
2085
|
-
return "{ [object Window] }";
|
|
2086
|
-
}
|
|
2087
|
-
if (typeof globalThis !== "undefined" && obj === globalThis || typeof globalThis !== "undefined" && obj === globalThis) {
|
|
2088
|
-
return "{ [object globalThis] }";
|
|
2089
|
-
}
|
|
2090
|
-
if (!isDate2(obj) && !isRegExp2(obj)) {
|
|
2091
|
-
var ys = arrObjKeys(obj, inspect2);
|
|
2092
|
-
var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
2093
|
-
var protoTag = obj instanceof Object ? "" : "null prototype";
|
|
2094
|
-
var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
|
|
2095
|
-
var constructorTag = isPlainObject || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
|
|
2096
|
-
var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
|
|
2097
|
-
if (ys.length === 0) {
|
|
2098
|
-
return tag + "{}";
|
|
2099
|
-
}
|
|
2100
|
-
if (indent) {
|
|
2101
|
-
return tag + "{" + indentedJoin(ys, indent) + "}";
|
|
2102
|
-
}
|
|
2103
|
-
return tag + "{ " + $join.call(ys, ", ") + " }";
|
|
2104
|
-
}
|
|
2105
|
-
return String(obj);
|
|
2106
|
-
};
|
|
2107
|
-
function wrapQuotes(s, defaultStyle, opts) {
|
|
2108
|
-
var style = opts.quoteStyle || defaultStyle;
|
|
2109
|
-
var quoteChar = quotes[style];
|
|
2110
|
-
return quoteChar + s + quoteChar;
|
|
2111
|
-
}
|
|
2112
|
-
function quote(s) {
|
|
2113
|
-
return $replace.call(String(s), /"/g, """);
|
|
2114
|
-
}
|
|
2115
|
-
function isArray2(obj) {
|
|
2116
|
-
return toStr(obj) === "[object Array]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
2117
|
-
}
|
|
2118
|
-
function isDate2(obj) {
|
|
2119
|
-
return toStr(obj) === "[object Date]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
2120
|
-
}
|
|
2121
|
-
function isRegExp2(obj) {
|
|
2122
|
-
return toStr(obj) === "[object RegExp]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
2123
|
-
}
|
|
2124
|
-
function isError2(obj) {
|
|
2125
|
-
return toStr(obj) === "[object Error]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
2126
|
-
}
|
|
2127
|
-
function isString2(obj) {
|
|
2128
|
-
return toStr(obj) === "[object String]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
2129
|
-
}
|
|
2130
|
-
function isNumber2(obj) {
|
|
2131
|
-
return toStr(obj) === "[object Number]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
2132
|
-
}
|
|
2133
|
-
function isBoolean2(obj) {
|
|
2134
|
-
return toStr(obj) === "[object Boolean]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
2135
|
-
}
|
|
2136
|
-
function isSymbol2(obj) {
|
|
2137
|
-
if (hasShammedSymbols) {
|
|
2138
|
-
return obj && typeof obj === "object" && obj instanceof Symbol;
|
|
2139
|
-
}
|
|
2140
|
-
if (typeof obj === "symbol") {
|
|
2141
|
-
return true;
|
|
2142
|
-
}
|
|
2143
|
-
if (!obj || typeof obj !== "object" || !symToString) {
|
|
2144
|
-
return false;
|
|
2145
|
-
}
|
|
2146
|
-
try {
|
|
2147
|
-
symToString.call(obj);
|
|
2148
|
-
return true;
|
|
2149
|
-
} catch (e) {
|
|
2150
|
-
}
|
|
2151
|
-
return false;
|
|
2152
|
-
}
|
|
2153
|
-
function isBigInt(obj) {
|
|
2154
|
-
if (!obj || typeof obj !== "object" || !bigIntValueOf) {
|
|
2155
|
-
return false;
|
|
2156
|
-
}
|
|
2157
|
-
try {
|
|
2158
|
-
bigIntValueOf.call(obj);
|
|
2159
|
-
return true;
|
|
2160
|
-
} catch (e) {
|
|
2161
|
-
}
|
|
2162
|
-
return false;
|
|
2163
|
-
}
|
|
2164
|
-
var hasOwn = Object.prototype.hasOwnProperty || function(key) {
|
|
2165
|
-
return key in this;
|
|
2166
|
-
};
|
|
2167
|
-
function has(obj, key) {
|
|
2168
|
-
return hasOwn.call(obj, key);
|
|
2169
|
-
}
|
|
2170
|
-
function toStr(obj) {
|
|
2171
|
-
return objectToString2.call(obj);
|
|
2172
|
-
}
|
|
2173
|
-
function nameOf(f) {
|
|
2174
|
-
if (f.name) {
|
|
2175
|
-
return f.name;
|
|
2176
|
-
}
|
|
2177
|
-
var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
|
|
2178
|
-
if (m) {
|
|
2179
|
-
return m[1];
|
|
2180
|
-
}
|
|
2181
|
-
return null;
|
|
2182
|
-
}
|
|
2183
|
-
function indexOf(xs, x) {
|
|
2184
|
-
if (xs.indexOf) {
|
|
2185
|
-
return xs.indexOf(x);
|
|
2186
|
-
}
|
|
2187
|
-
for (var i = 0, l = xs.length; i < l; i++) {
|
|
2188
|
-
if (xs[i] === x) {
|
|
2189
|
-
return i;
|
|
2190
|
-
}
|
|
2191
|
-
}
|
|
2192
|
-
return -1;
|
|
2193
|
-
}
|
|
2194
|
-
function isMap(x) {
|
|
2195
|
-
if (!mapSize || !x || typeof x !== "object") {
|
|
2196
|
-
return false;
|
|
2197
|
-
}
|
|
2198
|
-
try {
|
|
2199
|
-
mapSize.call(x);
|
|
2200
|
-
try {
|
|
2201
|
-
setSize.call(x);
|
|
2202
|
-
} catch (s) {
|
|
2203
|
-
return true;
|
|
2204
|
-
}
|
|
2205
|
-
return x instanceof Map;
|
|
2206
|
-
} catch (e) {
|
|
2207
|
-
}
|
|
2208
|
-
return false;
|
|
2209
|
-
}
|
|
2210
|
-
function isWeakMap(x) {
|
|
2211
|
-
if (!weakMapHas || !x || typeof x !== "object") {
|
|
2212
|
-
return false;
|
|
2213
|
-
}
|
|
2214
|
-
try {
|
|
2215
|
-
weakMapHas.call(x, weakMapHas);
|
|
2216
|
-
try {
|
|
2217
|
-
weakSetHas.call(x, weakSetHas);
|
|
2218
|
-
} catch (s) {
|
|
2219
|
-
return true;
|
|
2220
|
-
}
|
|
2221
|
-
return x instanceof WeakMap;
|
|
2222
|
-
} catch (e) {
|
|
2223
|
-
}
|
|
2224
|
-
return false;
|
|
2225
|
-
}
|
|
2226
|
-
function isWeakRef(x) {
|
|
2227
|
-
if (!weakRefDeref || !x || typeof x !== "object") {
|
|
2228
|
-
return false;
|
|
2229
|
-
}
|
|
2230
|
-
try {
|
|
2231
|
-
weakRefDeref.call(x);
|
|
2232
|
-
return true;
|
|
2233
|
-
} catch (e) {
|
|
2234
|
-
}
|
|
2235
|
-
return false;
|
|
2236
|
-
}
|
|
2237
|
-
function isSet(x) {
|
|
2238
|
-
if (!setSize || !x || typeof x !== "object") {
|
|
2239
|
-
return false;
|
|
2240
|
-
}
|
|
2241
|
-
try {
|
|
2242
|
-
setSize.call(x);
|
|
2243
|
-
try {
|
|
2244
|
-
mapSize.call(x);
|
|
2245
|
-
} catch (m) {
|
|
2246
|
-
return true;
|
|
2247
|
-
}
|
|
2248
|
-
return x instanceof Set;
|
|
2249
|
-
} catch (e) {
|
|
2250
|
-
}
|
|
2251
|
-
return false;
|
|
2252
|
-
}
|
|
2253
|
-
function isWeakSet(x) {
|
|
2254
|
-
if (!weakSetHas || !x || typeof x !== "object") {
|
|
2255
|
-
return false;
|
|
2256
|
-
}
|
|
2257
|
-
try {
|
|
2258
|
-
weakSetHas.call(x, weakSetHas);
|
|
2259
|
-
try {
|
|
2260
|
-
weakMapHas.call(x, weakMapHas);
|
|
2261
|
-
} catch (s) {
|
|
2262
|
-
return true;
|
|
2263
|
-
}
|
|
2264
|
-
return x instanceof WeakSet;
|
|
2265
|
-
} catch (e) {
|
|
2266
|
-
}
|
|
2267
|
-
return false;
|
|
2268
|
-
}
|
|
2269
|
-
function isElement(x) {
|
|
2270
|
-
if (!x || typeof x !== "object") {
|
|
2271
|
-
return false;
|
|
2272
|
-
}
|
|
2273
|
-
if (typeof HTMLElement !== "undefined" && x instanceof HTMLElement) {
|
|
2274
|
-
return true;
|
|
2275
|
-
}
|
|
2276
|
-
return typeof x.nodeName === "string" && typeof x.getAttribute === "function";
|
|
2277
|
-
}
|
|
2278
|
-
function inspectString(str, opts) {
|
|
2279
|
-
if (str.length > opts.maxStringLength) {
|
|
2280
|
-
var remaining = str.length - opts.maxStringLength;
|
|
2281
|
-
var trailer = "... " + remaining + " more character" + (remaining > 1 ? "s" : "");
|
|
2282
|
-
return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
|
|
2283
|
-
}
|
|
2284
|
-
var quoteRE = quoteREs[opts.quoteStyle || "single"];
|
|
2285
|
-
quoteRE.lastIndex = 0;
|
|
2286
|
-
var s = $replace.call($replace.call(str, quoteRE, "\\$1"), /[\x00-\x1f]/g, lowbyte);
|
|
2287
|
-
return wrapQuotes(s, "single", opts);
|
|
2288
|
-
}
|
|
2289
|
-
function lowbyte(c) {
|
|
2290
|
-
var n = c.charCodeAt(0);
|
|
2291
|
-
var x = {
|
|
2292
|
-
8: "b",
|
|
2293
|
-
9: "t",
|
|
2294
|
-
10: "n",
|
|
2295
|
-
12: "f",
|
|
2296
|
-
13: "r"
|
|
2297
|
-
}[n];
|
|
2298
|
-
if (x) {
|
|
2299
|
-
return "\\" + x;
|
|
2300
|
-
}
|
|
2301
|
-
return "\\x" + (n < 16 ? "0" : "") + $toUpperCase.call(n.toString(16));
|
|
2302
|
-
}
|
|
2303
|
-
function markBoxed(str) {
|
|
2304
|
-
return "Object(" + str + ")";
|
|
2305
|
-
}
|
|
2306
|
-
function weakCollectionOf(type) {
|
|
2307
|
-
return type + " { ? }";
|
|
2308
|
-
}
|
|
2309
|
-
function collectionOf(type, size, entries, indent) {
|
|
2310
|
-
var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ", ");
|
|
2311
|
-
return type + " (" + size + ") {" + joinedEntries + "}";
|
|
2312
|
-
}
|
|
2313
|
-
function singleLineValues(xs) {
|
|
2314
|
-
for (var i = 0; i < xs.length; i++) {
|
|
2315
|
-
if (indexOf(xs[i], "\n") >= 0) {
|
|
2316
|
-
return false;
|
|
2317
|
-
}
|
|
2318
|
-
}
|
|
2319
|
-
return true;
|
|
2320
|
-
}
|
|
2321
|
-
function getIndent(opts, depth) {
|
|
2322
|
-
var baseIndent;
|
|
2323
|
-
if (opts.indent === " ") {
|
|
2324
|
-
baseIndent = " ";
|
|
2325
|
-
} else if (typeof opts.indent === "number" && opts.indent > 0) {
|
|
2326
|
-
baseIndent = $join.call(Array(opts.indent + 1), " ");
|
|
2327
|
-
} else {
|
|
2328
|
-
return null;
|
|
2329
|
-
}
|
|
2330
|
-
return {
|
|
2331
|
-
base: baseIndent,
|
|
2332
|
-
prev: $join.call(Array(depth + 1), baseIndent)
|
|
2333
|
-
};
|
|
2334
|
-
}
|
|
2335
|
-
function indentedJoin(xs, indent) {
|
|
2336
|
-
if (xs.length === 0) {
|
|
2337
|
-
return "";
|
|
2338
|
-
}
|
|
2339
|
-
var lineJoiner = "\n" + indent.prev + indent.base;
|
|
2340
|
-
return lineJoiner + $join.call(xs, "," + lineJoiner) + "\n" + indent.prev;
|
|
2341
|
-
}
|
|
2342
|
-
function arrObjKeys(obj, inspect2) {
|
|
2343
|
-
var isArr = isArray2(obj);
|
|
2344
|
-
var xs = [];
|
|
2345
|
-
if (isArr) {
|
|
2346
|
-
xs.length = obj.length;
|
|
2347
|
-
for (var i = 0; i < obj.length; i++) {
|
|
2348
|
-
xs[i] = has(obj, i) ? inspect2(obj[i], obj) : "";
|
|
2349
|
-
}
|
|
2350
|
-
}
|
|
2351
|
-
var syms = typeof gOPS === "function" ? gOPS(obj) : [];
|
|
2352
|
-
var symMap;
|
|
2353
|
-
if (hasShammedSymbols) {
|
|
2354
|
-
symMap = {};
|
|
2355
|
-
for (var k = 0; k < syms.length; k++) {
|
|
2356
|
-
symMap["$" + syms[k]] = syms[k];
|
|
2357
|
-
}
|
|
2358
|
-
}
|
|
2359
|
-
for (var key in obj) {
|
|
2360
|
-
if (!has(obj, key)) {
|
|
2361
|
-
continue;
|
|
2362
|
-
}
|
|
2363
|
-
if (isArr && String(Number(key)) === key && key < obj.length) {
|
|
2364
|
-
continue;
|
|
2365
|
-
}
|
|
2366
|
-
if (hasShammedSymbols && symMap["$" + key] instanceof Symbol) {
|
|
2367
|
-
continue;
|
|
2368
|
-
} else if ($test.call(/[^\w$]/, key)) {
|
|
2369
|
-
xs.push(inspect2(key, obj) + ": " + inspect2(obj[key], obj));
|
|
2370
|
-
} else {
|
|
2371
|
-
xs.push(key + ": " + inspect2(obj[key], obj));
|
|
2372
|
-
}
|
|
2373
|
-
}
|
|
2374
|
-
if (typeof gOPS === "function") {
|
|
2375
|
-
for (var j = 0; j < syms.length; j++) {
|
|
2376
|
-
if (isEnumerable.call(obj, syms[j])) {
|
|
2377
|
-
xs.push("[" + inspect2(syms[j]) + "]: " + inspect2(obj[syms[j]], obj));
|
|
2378
|
-
}
|
|
2379
|
-
}
|
|
2380
|
-
}
|
|
2381
|
-
return xs;
|
|
2382
|
-
}
|
|
2383
|
-
}
|
|
2384
|
-
});
|
|
2385
|
-
|
|
2386
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/IsPropertyKey.js
|
|
2387
|
-
var require_IsPropertyKey = __commonJS({
|
|
2388
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/IsPropertyKey.js"(exports, module) {
|
|
2389
|
-
"use strict";
|
|
2390
|
-
init_process();
|
|
2391
|
-
init_buffer();
|
|
2392
|
-
module.exports = function IsPropertyKey(argument) {
|
|
2393
|
-
return typeof argument === "string" || typeof argument === "symbol";
|
|
2394
|
-
};
|
|
2395
|
-
}
|
|
2396
|
-
});
|
|
2397
|
-
|
|
2398
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/GetV.js
|
|
2399
|
-
var require_GetV = __commonJS({
|
|
2400
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/GetV.js"(exports, module) {
|
|
2401
|
-
"use strict";
|
|
2402
|
-
init_process();
|
|
2403
|
-
init_buffer();
|
|
2404
|
-
var $TypeError = require_type();
|
|
2405
|
-
var inspect2 = require_object_inspect();
|
|
2406
|
-
var IsPropertyKey = require_IsPropertyKey();
|
|
2407
|
-
module.exports = function GetV(V, P) {
|
|
2408
|
-
if (!IsPropertyKey(P)) {
|
|
2409
|
-
throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true, got " + inspect2(P));
|
|
2410
|
-
}
|
|
2411
|
-
return V[P];
|
|
2412
|
-
};
|
|
2413
|
-
}
|
|
2414
|
-
});
|
|
2415
|
-
|
|
2416
|
-
// ../../../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js
|
|
2417
|
-
var require_is_callable = __commonJS({
|
|
2418
|
-
"../../../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js"(exports, module) {
|
|
2419
|
-
"use strict";
|
|
2420
|
-
init_process();
|
|
2421
|
-
init_buffer();
|
|
2422
|
-
var fnToStr = Function.prototype.toString;
|
|
2423
|
-
var reflectApply = typeof Reflect === "object" && Reflect !== null && Reflect.apply;
|
|
2424
|
-
var badArrayLike;
|
|
2425
|
-
var isCallableMarker;
|
|
2426
|
-
if (typeof reflectApply === "function" && typeof Object.defineProperty === "function") {
|
|
2427
|
-
try {
|
|
2428
|
-
badArrayLike = Object.defineProperty({}, "length", {
|
|
2429
|
-
get: function() {
|
|
2430
|
-
throw isCallableMarker;
|
|
2431
|
-
}
|
|
2432
|
-
});
|
|
2433
|
-
isCallableMarker = {};
|
|
2434
|
-
reflectApply(function() {
|
|
2435
|
-
throw 42;
|
|
2436
|
-
}, null, badArrayLike);
|
|
2437
|
-
} catch (_) {
|
|
2438
|
-
if (_ !== isCallableMarker) {
|
|
2439
|
-
reflectApply = null;
|
|
2440
|
-
}
|
|
2441
|
-
}
|
|
2442
|
-
} else {
|
|
2443
|
-
reflectApply = null;
|
|
2444
|
-
}
|
|
2445
|
-
var constructorRegex = /^\s*class\b/;
|
|
2446
|
-
var isES6ClassFn = function isES6ClassFunction(value) {
|
|
2447
|
-
try {
|
|
2448
|
-
var fnStr = fnToStr.call(value);
|
|
2449
|
-
return constructorRegex.test(fnStr);
|
|
2450
|
-
} catch (e) {
|
|
2451
|
-
return false;
|
|
2452
|
-
}
|
|
2453
|
-
};
|
|
2454
|
-
var tryFunctionObject = function tryFunctionToStr(value) {
|
|
2455
|
-
try {
|
|
2456
|
-
if (isES6ClassFn(value)) {
|
|
2457
|
-
return false;
|
|
2458
|
-
}
|
|
2459
|
-
fnToStr.call(value);
|
|
2460
|
-
return true;
|
|
2461
|
-
} catch (e) {
|
|
2462
|
-
return false;
|
|
2463
|
-
}
|
|
2464
|
-
};
|
|
2465
|
-
var toStr = Object.prototype.toString;
|
|
2466
|
-
var objectClass = "[object Object]";
|
|
2467
|
-
var fnClass = "[object Function]";
|
|
2468
|
-
var genClass = "[object GeneratorFunction]";
|
|
2469
|
-
var ddaClass = "[object HTMLAllCollection]";
|
|
2470
|
-
var ddaClass2 = "[object HTML document.all class]";
|
|
2471
|
-
var ddaClass3 = "[object HTMLCollection]";
|
|
2472
|
-
var hasToStringTag = typeof Symbol === "function" && !!Symbol.toStringTag;
|
|
2473
|
-
var isIE68 = !(0 in [,]);
|
|
2474
|
-
var isDDA = function isDocumentDotAll() {
|
|
2475
|
-
return false;
|
|
2476
|
-
};
|
|
2477
|
-
if (typeof document === "object") {
|
|
2478
|
-
all = document.all;
|
|
2479
|
-
if (toStr.call(all) === toStr.call(document.all)) {
|
|
2480
|
-
isDDA = function isDocumentDotAll(value) {
|
|
2481
|
-
if ((isIE68 || !value) && (typeof value === "undefined" || typeof value === "object")) {
|
|
2482
|
-
try {
|
|
2483
|
-
var str = toStr.call(value);
|
|
2484
|
-
return (str === ddaClass || str === ddaClass2 || str === ddaClass3 || str === objectClass) && value("") == null;
|
|
2485
|
-
} catch (e) {
|
|
2486
|
-
}
|
|
2487
|
-
}
|
|
2488
|
-
return false;
|
|
2489
|
-
};
|
|
2490
|
-
}
|
|
2491
|
-
}
|
|
2492
|
-
var all;
|
|
2493
|
-
module.exports = reflectApply ? function isCallable(value) {
|
|
2494
|
-
if (isDDA(value)) {
|
|
2495
|
-
return true;
|
|
2496
|
-
}
|
|
2497
|
-
if (!value) {
|
|
2498
|
-
return false;
|
|
2499
|
-
}
|
|
2500
|
-
if (typeof value !== "function" && typeof value !== "object") {
|
|
2501
|
-
return false;
|
|
2502
|
-
}
|
|
2503
|
-
try {
|
|
2504
|
-
reflectApply(value, null, badArrayLike);
|
|
2505
|
-
} catch (e) {
|
|
2506
|
-
if (e !== isCallableMarker) {
|
|
2507
|
-
return false;
|
|
2508
|
-
}
|
|
2509
|
-
}
|
|
2510
|
-
return !isES6ClassFn(value) && tryFunctionObject(value);
|
|
2511
|
-
} : function isCallable(value) {
|
|
2512
|
-
if (isDDA(value)) {
|
|
2513
|
-
return true;
|
|
2514
|
-
}
|
|
2515
|
-
if (!value) {
|
|
2516
|
-
return false;
|
|
2517
|
-
}
|
|
2518
|
-
if (typeof value !== "function" && typeof value !== "object") {
|
|
2519
|
-
return false;
|
|
2520
|
-
}
|
|
2521
|
-
if (hasToStringTag) {
|
|
2522
|
-
return tryFunctionObject(value);
|
|
2523
|
-
}
|
|
2524
|
-
if (isES6ClassFn(value)) {
|
|
2525
|
-
return false;
|
|
2526
|
-
}
|
|
2527
|
-
var strClass = toStr.call(value);
|
|
2528
|
-
if (strClass !== fnClass && strClass !== genClass && !/^\[object HTML/.test(strClass)) {
|
|
2529
|
-
return false;
|
|
2530
|
-
}
|
|
2531
|
-
return tryFunctionObject(value);
|
|
2532
|
-
};
|
|
2533
|
-
}
|
|
2534
|
-
});
|
|
2535
|
-
|
|
2536
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/IsCallable.js
|
|
2537
|
-
var require_IsCallable = __commonJS({
|
|
2538
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/IsCallable.js"(exports, module) {
|
|
2539
|
-
"use strict";
|
|
2540
|
-
init_process();
|
|
2541
|
-
init_buffer();
|
|
2542
|
-
module.exports = require_is_callable();
|
|
2543
|
-
}
|
|
2544
|
-
});
|
|
2545
|
-
|
|
2546
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/GetMethod.js
|
|
2547
|
-
var require_GetMethod = __commonJS({
|
|
2548
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/GetMethod.js"(exports, module) {
|
|
2549
|
-
"use strict";
|
|
2550
|
-
init_process();
|
|
2551
|
-
init_buffer();
|
|
2552
|
-
var $TypeError = require_type();
|
|
2553
|
-
var GetV = require_GetV();
|
|
2554
|
-
var IsCallable = require_IsCallable();
|
|
2555
|
-
var IsPropertyKey = require_IsPropertyKey();
|
|
2556
|
-
var inspect2 = require_object_inspect();
|
|
2557
|
-
module.exports = function GetMethod(O, P) {
|
|
2558
|
-
if (!IsPropertyKey(P)) {
|
|
2559
|
-
throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");
|
|
2560
|
-
}
|
|
2561
|
-
var func = GetV(O, P);
|
|
2562
|
-
if (func == null) {
|
|
2563
|
-
return void 0;
|
|
2564
|
-
}
|
|
2565
|
-
if (!IsCallable(func)) {
|
|
2566
|
-
throw new $TypeError(inspect2(P) + " is not a function: " + inspect2(func));
|
|
2567
|
-
}
|
|
2568
|
-
return func;
|
|
2569
|
-
};
|
|
2570
|
-
}
|
|
2571
|
-
});
|
|
2572
|
-
|
|
2573
|
-
// ../../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js
|
|
2574
|
-
var require_shams2 = __commonJS({
|
|
2575
|
-
"../../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(exports, module) {
|
|
2576
|
-
"use strict";
|
|
2577
|
-
init_process();
|
|
2578
|
-
init_buffer();
|
|
2579
|
-
var hasSymbols = require_shams();
|
|
2580
|
-
module.exports = function hasToStringTagShams() {
|
|
2581
|
-
return hasSymbols() && !!Symbol.toStringTag;
|
|
2582
|
-
};
|
|
2583
|
-
}
|
|
2584
|
-
});
|
|
2585
|
-
|
|
2586
|
-
// ../../../node_modules/.pnpm/is-regex@1.1.4/node_modules/is-regex/index.js
|
|
2587
|
-
var require_is_regex = __commonJS({
|
|
2588
|
-
"../../../node_modules/.pnpm/is-regex@1.1.4/node_modules/is-regex/index.js"(exports, module) {
|
|
2589
|
-
"use strict";
|
|
2590
|
-
init_process();
|
|
2591
|
-
init_buffer();
|
|
2592
|
-
var callBound = require_callBound();
|
|
2593
|
-
var hasToStringTag = require_shams2()();
|
|
2594
|
-
var has;
|
|
2595
|
-
var $exec;
|
|
2596
|
-
var isRegexMarker;
|
|
2597
|
-
var badStringifier;
|
|
2598
|
-
if (hasToStringTag) {
|
|
2599
|
-
has = callBound("Object.prototype.hasOwnProperty");
|
|
2600
|
-
$exec = callBound("RegExp.prototype.exec");
|
|
2601
|
-
isRegexMarker = {};
|
|
2602
|
-
throwRegexMarker = function() {
|
|
2603
|
-
throw isRegexMarker;
|
|
2604
|
-
};
|
|
2605
|
-
badStringifier = {
|
|
2606
|
-
toString: throwRegexMarker,
|
|
2607
|
-
valueOf: throwRegexMarker
|
|
2608
|
-
};
|
|
2609
|
-
if (typeof Symbol.toPrimitive === "symbol") {
|
|
2610
|
-
badStringifier[Symbol.toPrimitive] = throwRegexMarker;
|
|
2611
|
-
}
|
|
2612
|
-
}
|
|
2613
|
-
var throwRegexMarker;
|
|
2614
|
-
var $toString = callBound("Object.prototype.toString");
|
|
2615
|
-
var gOPD = Object.getOwnPropertyDescriptor;
|
|
2616
|
-
var regexClass = "[object RegExp]";
|
|
2617
|
-
module.exports = hasToStringTag ? function isRegex(value) {
|
|
2618
|
-
if (!value || typeof value !== "object") {
|
|
2619
|
-
return false;
|
|
2620
|
-
}
|
|
2621
|
-
var descriptor = gOPD(value, "lastIndex");
|
|
2622
|
-
var hasLastIndexDataProperty = descriptor && has(descriptor, "value");
|
|
2623
|
-
if (!hasLastIndexDataProperty) {
|
|
2624
|
-
return false;
|
|
2625
|
-
}
|
|
2626
|
-
try {
|
|
2627
|
-
$exec(value, badStringifier);
|
|
2628
|
-
} catch (e) {
|
|
2629
|
-
return e === isRegexMarker;
|
|
2630
|
-
}
|
|
2631
|
-
} : function isRegex(value) {
|
|
2632
|
-
if (!value || typeof value !== "object" && typeof value !== "function") {
|
|
2633
|
-
return false;
|
|
2634
|
-
}
|
|
2635
|
-
return $toString(value) === regexClass;
|
|
2636
|
-
};
|
|
2637
|
-
}
|
|
2638
|
-
});
|
|
2639
|
-
|
|
2640
|
-
// ../../../node_modules/.pnpm/safe-regex-test@1.0.3/node_modules/safe-regex-test/index.js
|
|
2641
|
-
var require_safe_regex_test = __commonJS({
|
|
2642
|
-
"../../../node_modules/.pnpm/safe-regex-test@1.0.3/node_modules/safe-regex-test/index.js"(exports, module) {
|
|
2643
|
-
"use strict";
|
|
2644
|
-
init_process();
|
|
2645
|
-
init_buffer();
|
|
2646
|
-
var callBound = require_callBound();
|
|
2647
|
-
var isRegex = require_is_regex();
|
|
2648
|
-
var $exec = callBound("RegExp.prototype.exec");
|
|
2649
|
-
var $TypeError = require_type();
|
|
2650
|
-
module.exports = function regexTester(regex) {
|
|
2651
|
-
if (!isRegex(regex)) {
|
|
2652
|
-
throw new $TypeError("`regex` must be a RegExp");
|
|
2653
|
-
}
|
|
2654
|
-
return function test(s) {
|
|
2655
|
-
return $exec(regex, s) !== null;
|
|
2656
|
-
};
|
|
2657
|
-
};
|
|
2658
|
-
}
|
|
2659
|
-
});
|
|
2660
|
-
|
|
2661
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/helpers/every.js
|
|
2662
|
-
var require_every = __commonJS({
|
|
2663
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/helpers/every.js"(exports, module) {
|
|
2664
|
-
"use strict";
|
|
2665
|
-
init_process();
|
|
2666
|
-
init_buffer();
|
|
2667
|
-
module.exports = function every(array, predicate) {
|
|
2668
|
-
for (var i = 0; i < array.length; i += 1) {
|
|
2669
|
-
if (!predicate(array[i], i, array)) {
|
|
2670
|
-
return false;
|
|
2671
|
-
}
|
|
2672
|
-
}
|
|
2673
|
-
return true;
|
|
2674
|
-
};
|
|
2675
|
-
}
|
|
2676
|
-
});
|
|
2677
|
-
|
|
2678
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/5/Type.js
|
|
2679
|
-
var require_Type = __commonJS({
|
|
2680
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/5/Type.js"(exports, module) {
|
|
2681
|
-
"use strict";
|
|
2682
|
-
init_process();
|
|
2683
|
-
init_buffer();
|
|
2684
|
-
module.exports = function Type(x) {
|
|
2685
|
-
if (x === null) {
|
|
2686
|
-
return "Null";
|
|
2687
|
-
}
|
|
2688
|
-
if (typeof x === "undefined") {
|
|
2689
|
-
return "Undefined";
|
|
2690
|
-
}
|
|
2691
|
-
if (typeof x === "function" || typeof x === "object") {
|
|
2692
|
-
return "Object";
|
|
2693
|
-
}
|
|
2694
|
-
if (typeof x === "number") {
|
|
2695
|
-
return "Number";
|
|
2696
|
-
}
|
|
2697
|
-
if (typeof x === "boolean") {
|
|
2698
|
-
return "Boolean";
|
|
2699
|
-
}
|
|
2700
|
-
if (typeof x === "string") {
|
|
2701
|
-
return "String";
|
|
2702
|
-
}
|
|
2703
|
-
};
|
|
2704
|
-
}
|
|
2705
|
-
});
|
|
2706
|
-
|
|
2707
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/Type.js
|
|
2708
|
-
var require_Type2 = __commonJS({
|
|
2709
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/Type.js"(exports, module) {
|
|
2710
|
-
"use strict";
|
|
2711
|
-
init_process();
|
|
2712
|
-
init_buffer();
|
|
2713
|
-
var ES5Type = require_Type();
|
|
2714
|
-
module.exports = function Type(x) {
|
|
2715
|
-
if (typeof x === "symbol") {
|
|
2716
|
-
return "Symbol";
|
|
2717
|
-
}
|
|
2718
|
-
if (typeof x === "bigint") {
|
|
2719
|
-
return "BigInt";
|
|
2720
|
-
}
|
|
2721
|
-
return ES5Type(x);
|
|
2722
|
-
};
|
|
2723
|
-
}
|
|
2724
|
-
});
|
|
2725
|
-
|
|
2726
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/Get.js
|
|
2727
|
-
var require_Get = __commonJS({
|
|
2728
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/Get.js"(exports, module) {
|
|
2729
|
-
"use strict";
|
|
2730
|
-
init_process();
|
|
2731
|
-
init_buffer();
|
|
2732
|
-
var $TypeError = require_type();
|
|
2733
|
-
var inspect2 = require_object_inspect();
|
|
2734
|
-
var IsPropertyKey = require_IsPropertyKey();
|
|
2735
|
-
var Type = require_Type2();
|
|
2736
|
-
module.exports = function Get(O, P) {
|
|
2737
|
-
if (Type(O) !== "Object") {
|
|
2738
|
-
throw new $TypeError("Assertion failed: Type(O) is not Object");
|
|
2739
|
-
}
|
|
2740
|
-
if (!IsPropertyKey(P)) {
|
|
2741
|
-
throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true, got " + inspect2(P));
|
|
2742
|
-
}
|
|
2743
|
-
return O[P];
|
|
2744
|
-
};
|
|
2745
|
-
}
|
|
2746
|
-
});
|
|
2747
|
-
|
|
2748
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/min.js
|
|
2749
|
-
var require_min = __commonJS({
|
|
2750
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/min.js"(exports, module) {
|
|
2751
|
-
"use strict";
|
|
2752
|
-
init_process();
|
|
2753
|
-
init_buffer();
|
|
2754
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
2755
|
-
module.exports = GetIntrinsic("%Math.min%");
|
|
2756
|
-
}
|
|
2757
|
-
});
|
|
2758
|
-
|
|
2759
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/helpers/isNaN.js
|
|
2760
|
-
var require_isNaN = __commonJS({
|
|
2761
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/helpers/isNaN.js"(exports, module) {
|
|
2762
|
-
"use strict";
|
|
2763
|
-
init_process();
|
|
2764
|
-
init_buffer();
|
|
2765
|
-
module.exports = Number.isNaN || function isNaN2(a) {
|
|
2766
|
-
return a !== a;
|
|
2767
|
-
};
|
|
2768
|
-
}
|
|
2769
|
-
});
|
|
2770
|
-
|
|
2771
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/helpers/isFinite.js
|
|
2772
|
-
var require_isFinite = __commonJS({
|
|
2773
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/helpers/isFinite.js"(exports, module) {
|
|
2774
|
-
"use strict";
|
|
2775
|
-
init_process();
|
|
2776
|
-
init_buffer();
|
|
2777
|
-
var $isNaN = require_isNaN();
|
|
2778
|
-
module.exports = function(x) {
|
|
2779
|
-
return (typeof x === "number" || typeof x === "bigint") && !$isNaN(x) && x !== Infinity && x !== -Infinity;
|
|
2780
|
-
};
|
|
2781
|
-
}
|
|
2782
|
-
});
|
|
2783
|
-
|
|
2784
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/helpers/isInteger.js
|
|
2785
|
-
var require_isInteger = __commonJS({
|
|
2786
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/helpers/isInteger.js"(exports, module) {
|
|
2787
|
-
"use strict";
|
|
2788
|
-
init_process();
|
|
2789
|
-
init_buffer();
|
|
2790
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
2791
|
-
var $abs = GetIntrinsic("%Math.abs%");
|
|
2792
|
-
var $floor = GetIntrinsic("%Math.floor%");
|
|
2793
|
-
var $isNaN = require_isNaN();
|
|
2794
|
-
var $isFinite = require_isFinite();
|
|
2795
|
-
module.exports = function isInteger(argument) {
|
|
2796
|
-
if (typeof argument !== "number" || $isNaN(argument) || !$isFinite(argument)) {
|
|
2797
|
-
return false;
|
|
2798
|
-
}
|
|
2799
|
-
var absValue = $abs(argument);
|
|
2800
|
-
return $floor(absValue) === absValue;
|
|
2801
|
-
};
|
|
2802
|
-
}
|
|
2803
|
-
});
|
|
2804
|
-
|
|
2805
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/StringIndexOf.js
|
|
2806
|
-
var require_StringIndexOf = __commonJS({
|
|
2807
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/StringIndexOf.js"(exports, module) {
|
|
2808
|
-
"use strict";
|
|
2809
|
-
init_process();
|
|
2810
|
-
init_buffer();
|
|
2811
|
-
var callBound = require_callBound();
|
|
2812
|
-
var $TypeError = require_type();
|
|
2813
|
-
var isInteger = require_isInteger();
|
|
2814
|
-
var $slice = callBound("String.prototype.slice");
|
|
2815
|
-
module.exports = function StringIndexOf(string, searchValue, fromIndex) {
|
|
2816
|
-
if (typeof string !== "string") {
|
|
2817
|
-
throw new $TypeError("Assertion failed: `string` must be a String");
|
|
2818
|
-
}
|
|
2819
|
-
if (typeof searchValue !== "string") {
|
|
2820
|
-
throw new $TypeError("Assertion failed: `searchValue` must be a String");
|
|
2821
|
-
}
|
|
2822
|
-
if (!isInteger(fromIndex) || fromIndex < 0) {
|
|
2823
|
-
throw new $TypeError("Assertion failed: `fromIndex` must be a non-negative integer");
|
|
2824
|
-
}
|
|
2825
|
-
var len = string.length;
|
|
2826
|
-
if (searchValue === "" && fromIndex <= len) {
|
|
2827
|
-
return fromIndex;
|
|
2828
|
-
}
|
|
2829
|
-
var searchLen = searchValue.length;
|
|
2830
|
-
for (var i = fromIndex; i <= len - searchLen; i += 1) {
|
|
2831
|
-
var candidate = $slice(string, i, i + searchLen);
|
|
2832
|
-
if (candidate === searchValue) {
|
|
2833
|
-
return i;
|
|
2834
|
-
}
|
|
2835
|
-
}
|
|
2836
|
-
return -1;
|
|
2837
|
-
};
|
|
2838
|
-
}
|
|
2839
|
-
});
|
|
2840
|
-
|
|
2841
|
-
// ../../../node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/RequireObjectCoercible.js
|
|
2842
|
-
var require_RequireObjectCoercible = __commonJS({
|
|
2843
|
-
"../../../node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/RequireObjectCoercible.js"(exports, module) {
|
|
2844
|
-
"use strict";
|
|
2845
|
-
init_process();
|
|
2846
|
-
init_buffer();
|
|
2847
|
-
var $TypeError = require_type();
|
|
2848
|
-
module.exports = function RequireObjectCoercible(value) {
|
|
2849
|
-
if (value == null) {
|
|
2850
|
-
throw new $TypeError(arguments.length > 0 && arguments[1] || "Cannot call method on " + value);
|
|
2851
|
-
}
|
|
2852
|
-
return value;
|
|
2853
|
-
};
|
|
2854
|
-
}
|
|
2855
|
-
});
|
|
2856
|
-
|
|
2857
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/ToString.js
|
|
2858
|
-
var require_ToString = __commonJS({
|
|
2859
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/ToString.js"(exports, module) {
|
|
2860
|
-
"use strict";
|
|
2861
|
-
init_process();
|
|
2862
|
-
init_buffer();
|
|
2863
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
2864
|
-
var $String = GetIntrinsic("%String%");
|
|
2865
|
-
var $TypeError = require_type();
|
|
2866
|
-
module.exports = function ToString(argument) {
|
|
2867
|
-
if (typeof argument === "symbol") {
|
|
2868
|
-
throw new $TypeError("Cannot convert a Symbol value to a string");
|
|
2869
|
-
}
|
|
2870
|
-
return $String(argument);
|
|
2871
|
-
};
|
|
2872
|
-
}
|
|
2873
|
-
});
|
|
2874
|
-
|
|
2875
|
-
// ../../../node_modules/.pnpm/string.prototype.trim@1.2.9/node_modules/string.prototype.trim/implementation.js
|
|
2876
|
-
var require_implementation3 = __commonJS({
|
|
2877
|
-
"../../../node_modules/.pnpm/string.prototype.trim@1.2.9/node_modules/string.prototype.trim/implementation.js"(exports, module) {
|
|
2878
|
-
"use strict";
|
|
2879
|
-
init_process();
|
|
2880
|
-
init_buffer();
|
|
2881
|
-
var RequireObjectCoercible = require_RequireObjectCoercible();
|
|
2882
|
-
var ToString = require_ToString();
|
|
2883
|
-
var callBound = require_callBound();
|
|
2884
|
-
var $replace = callBound("String.prototype.replace");
|
|
2885
|
-
var mvsIsWS = /^\s$/.test("\u180E");
|
|
2886
|
-
var leftWhitespace = mvsIsWS ? /^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/ : /^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/;
|
|
2887
|
-
var rightWhitespace = mvsIsWS ? /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/ : /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;
|
|
2888
|
-
module.exports = function trim() {
|
|
2889
|
-
var S = ToString(RequireObjectCoercible(this));
|
|
2890
|
-
return $replace($replace(S, leftWhitespace, ""), rightWhitespace, "");
|
|
2891
|
-
};
|
|
2892
|
-
}
|
|
2893
|
-
});
|
|
2894
|
-
|
|
2895
|
-
// ../../../node_modules/.pnpm/string.prototype.trim@1.2.9/node_modules/string.prototype.trim/polyfill.js
|
|
2896
|
-
var require_polyfill = __commonJS({
|
|
2897
|
-
"../../../node_modules/.pnpm/string.prototype.trim@1.2.9/node_modules/string.prototype.trim/polyfill.js"(exports, module) {
|
|
2898
|
-
"use strict";
|
|
2899
|
-
init_process();
|
|
2900
|
-
init_buffer();
|
|
2901
|
-
var implementation = require_implementation3();
|
|
2902
|
-
var zeroWidthSpace = "\u200B";
|
|
2903
|
-
var mongolianVowelSeparator = "\u180E";
|
|
2904
|
-
module.exports = function getPolyfill() {
|
|
2905
|
-
if (String.prototype.trim && zeroWidthSpace.trim() === zeroWidthSpace && mongolianVowelSeparator.trim() === mongolianVowelSeparator && ("_" + mongolianVowelSeparator).trim() === "_" + mongolianVowelSeparator && (mongolianVowelSeparator + "_").trim() === mongolianVowelSeparator + "_") {
|
|
2906
|
-
return String.prototype.trim;
|
|
2907
|
-
}
|
|
2908
|
-
return implementation;
|
|
2909
|
-
};
|
|
2910
|
-
}
|
|
2911
|
-
});
|
|
2912
|
-
|
|
2913
|
-
// ../../../node_modules/.pnpm/string.prototype.trim@1.2.9/node_modules/string.prototype.trim/shim.js
|
|
2914
|
-
var require_shim = __commonJS({
|
|
2915
|
-
"../../../node_modules/.pnpm/string.prototype.trim@1.2.9/node_modules/string.prototype.trim/shim.js"(exports, module) {
|
|
2916
|
-
"use strict";
|
|
2917
|
-
init_process();
|
|
2918
|
-
init_buffer();
|
|
2919
|
-
var define = require_define_properties();
|
|
2920
|
-
var getPolyfill = require_polyfill();
|
|
2921
|
-
module.exports = function shimStringTrim() {
|
|
2922
|
-
var polyfill = getPolyfill();
|
|
2923
|
-
define(String.prototype, { trim: polyfill }, {
|
|
2924
|
-
trim: function testTrim() {
|
|
2925
|
-
return String.prototype.trim !== polyfill;
|
|
2926
|
-
}
|
|
2927
|
-
});
|
|
2928
|
-
return polyfill;
|
|
2929
|
-
};
|
|
2930
|
-
}
|
|
2931
|
-
});
|
|
2932
|
-
|
|
2933
|
-
// ../../../node_modules/.pnpm/string.prototype.trim@1.2.9/node_modules/string.prototype.trim/index.js
|
|
2934
|
-
var require_string_prototype = __commonJS({
|
|
2935
|
-
"../../../node_modules/.pnpm/string.prototype.trim@1.2.9/node_modules/string.prototype.trim/index.js"(exports, module) {
|
|
2936
|
-
"use strict";
|
|
2937
|
-
init_process();
|
|
2938
|
-
init_buffer();
|
|
2939
|
-
var callBind = require_call_bind();
|
|
2940
|
-
var define = require_define_properties();
|
|
2941
|
-
var RequireObjectCoercible = require_RequireObjectCoercible();
|
|
2942
|
-
var implementation = require_implementation3();
|
|
2943
|
-
var getPolyfill = require_polyfill();
|
|
2944
|
-
var shim = require_shim();
|
|
2945
|
-
var bound = callBind(getPolyfill());
|
|
2946
|
-
var boundMethod = function trim(receiver) {
|
|
2947
|
-
RequireObjectCoercible(receiver);
|
|
2948
|
-
return bound(receiver);
|
|
2949
|
-
};
|
|
2950
|
-
define(boundMethod, {
|
|
2951
|
-
getPolyfill,
|
|
2952
|
-
implementation,
|
|
2953
|
-
shim
|
|
2954
|
-
});
|
|
2955
|
-
module.exports = boundMethod;
|
|
2956
|
-
}
|
|
2957
|
-
});
|
|
2958
|
-
|
|
2959
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/StringToNumber.js
|
|
2960
|
-
var require_StringToNumber = __commonJS({
|
|
2961
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/StringToNumber.js"(exports, module) {
|
|
2962
|
-
"use strict";
|
|
2963
|
-
init_process();
|
|
2964
|
-
init_buffer();
|
|
2965
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
2966
|
-
var $Number = GetIntrinsic("%Number%");
|
|
2967
|
-
var $RegExp = GetIntrinsic("%RegExp%");
|
|
2968
|
-
var $TypeError = require_type();
|
|
2969
|
-
var $parseInteger = GetIntrinsic("%parseInt%");
|
|
2970
|
-
var callBound = require_callBound();
|
|
2971
|
-
var regexTester = require_safe_regex_test();
|
|
2972
|
-
var $strSlice = callBound("String.prototype.slice");
|
|
2973
|
-
var isBinary = regexTester(/^0b[01]+$/i);
|
|
2974
|
-
var isOctal = regexTester(/^0o[0-7]+$/i);
|
|
2975
|
-
var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i);
|
|
2976
|
-
var nonWS = ["\x85", "\u200B", "\uFFFE"].join("");
|
|
2977
|
-
var nonWSregex = new $RegExp("[" + nonWS + "]", "g");
|
|
2978
|
-
var hasNonWS = regexTester(nonWSregex);
|
|
2979
|
-
var $trim = require_string_prototype();
|
|
2980
|
-
module.exports = function StringToNumber(argument) {
|
|
2981
|
-
if (typeof argument !== "string") {
|
|
2982
|
-
throw new $TypeError("Assertion failed: `argument` is not a String");
|
|
2983
|
-
}
|
|
2984
|
-
if (isBinary(argument)) {
|
|
2985
|
-
return $Number($parseInteger($strSlice(argument, 2), 2));
|
|
2986
|
-
}
|
|
2987
|
-
if (isOctal(argument)) {
|
|
2988
|
-
return $Number($parseInteger($strSlice(argument, 2), 8));
|
|
2989
|
-
}
|
|
2990
|
-
if (hasNonWS(argument) || isInvalidHexLiteral(argument)) {
|
|
2991
|
-
return NaN;
|
|
2992
|
-
}
|
|
2993
|
-
var trimmed = $trim(argument);
|
|
2994
|
-
if (trimmed !== argument) {
|
|
2995
|
-
return StringToNumber(trimmed);
|
|
2996
|
-
}
|
|
2997
|
-
return $Number(argument);
|
|
2998
|
-
};
|
|
2999
|
-
}
|
|
3000
|
-
});
|
|
3001
|
-
|
|
3002
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/substring.js
|
|
3003
|
-
var require_substring = __commonJS({
|
|
3004
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/substring.js"(exports, module) {
|
|
3005
|
-
"use strict";
|
|
3006
|
-
init_process();
|
|
3007
|
-
init_buffer();
|
|
3008
|
-
var $TypeError = require_type();
|
|
3009
|
-
var isInteger = require_isInteger();
|
|
3010
|
-
var callBound = require_callBound();
|
|
3011
|
-
var $slice = callBound("String.prototype.slice");
|
|
3012
|
-
module.exports = function substring(S, inclusiveStart, exclusiveEnd) {
|
|
3013
|
-
if (typeof S !== "string" || !isInteger(inclusiveStart) || arguments.length > 2 && !isInteger(exclusiveEnd)) {
|
|
3014
|
-
throw new $TypeError("`S` must be a String, and `inclusiveStart` and `exclusiveEnd` must be integers");
|
|
3015
|
-
}
|
|
3016
|
-
return $slice(S, inclusiveStart, arguments.length > 2 ? exclusiveEnd : S.length);
|
|
3017
|
-
};
|
|
3018
|
-
}
|
|
3019
|
-
});
|
|
3020
|
-
|
|
3021
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/helpers/isStringOrUndefined.js
|
|
3022
|
-
var require_isStringOrUndefined = __commonJS({
|
|
3023
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/helpers/isStringOrUndefined.js"(exports, module) {
|
|
3024
|
-
"use strict";
|
|
3025
|
-
init_process();
|
|
3026
|
-
init_buffer();
|
|
3027
|
-
module.exports = function isStringOrUndefined(item) {
|
|
3028
|
-
return typeof item === "string" || typeof item === "undefined";
|
|
3029
|
-
};
|
|
3030
|
-
}
|
|
3031
|
-
});
|
|
3032
|
-
|
|
3033
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/helpers/isPrefixOf.js
|
|
3034
|
-
var require_isPrefixOf = __commonJS({
|
|
3035
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/helpers/isPrefixOf.js"(exports, module) {
|
|
3036
|
-
"use strict";
|
|
3037
|
-
init_process();
|
|
3038
|
-
init_buffer();
|
|
3039
|
-
var $strSlice = require_callBound()("String.prototype.slice");
|
|
3040
|
-
module.exports = function isPrefixOf(prefix, string) {
|
|
3041
|
-
if (prefix === string) {
|
|
3042
|
-
return true;
|
|
3043
|
-
}
|
|
3044
|
-
if (prefix.length > string.length) {
|
|
3045
|
-
return false;
|
|
3046
|
-
}
|
|
3047
|
-
return $strSlice(string, 0, prefix.length) === prefix;
|
|
3048
|
-
};
|
|
3049
|
-
}
|
|
3050
|
-
});
|
|
3051
|
-
|
|
3052
|
-
// ../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/GetSubstitution.js
|
|
3053
|
-
var require_GetSubstitution = __commonJS({
|
|
3054
|
-
"../../../node_modules/.pnpm/es-abstract@1.23.5/node_modules/es-abstract/2024/GetSubstitution.js"(exports, module) {
|
|
3055
|
-
"use strict";
|
|
3056
|
-
init_process();
|
|
3057
|
-
init_buffer();
|
|
3058
|
-
var $TypeError = require_type();
|
|
3059
|
-
var regexTester = require_safe_regex_test();
|
|
3060
|
-
var every = require_every();
|
|
3061
|
-
var inspect2 = require_object_inspect();
|
|
3062
|
-
var Get = require_Get();
|
|
3063
|
-
var IsArray = require_IsArray2();
|
|
3064
|
-
var min = require_min();
|
|
3065
|
-
var StringIndexOf = require_StringIndexOf();
|
|
3066
|
-
var StringToNumber = require_StringToNumber();
|
|
3067
|
-
var substring = require_substring();
|
|
3068
|
-
var ToString = require_ToString();
|
|
3069
|
-
var Type = require_Type2();
|
|
3070
|
-
var isInteger = require_isInteger();
|
|
3071
|
-
var isStringOrUndefined = require_isStringOrUndefined();
|
|
3072
|
-
var isPrefixOf = require_isPrefixOf();
|
|
3073
|
-
var startsWithDollarDigit = regexTester(/^\$[0-9]/);
|
|
3074
|
-
var startsWithDollarTwoDigit = regexTester(/^\$[0-9][0-9]/);
|
|
3075
|
-
module.exports = function GetSubstitution(matched, str, position, captures, namedCaptures, replacementTemplate) {
|
|
3076
|
-
if (typeof matched !== "string") {
|
|
3077
|
-
throw new $TypeError("Assertion failed: `matched` must be a String");
|
|
3078
|
-
}
|
|
3079
|
-
if (typeof str !== "string") {
|
|
3080
|
-
throw new $TypeError("Assertion failed: `str` must be a String");
|
|
3081
|
-
}
|
|
3082
|
-
if (!isInteger(position) || position < 0) {
|
|
3083
|
-
throw new $TypeError("Assertion failed: `position` must be a nonnegative integer, got " + inspect2(position));
|
|
3084
|
-
}
|
|
3085
|
-
if (!IsArray(captures) || !every(captures, isStringOrUndefined)) {
|
|
3086
|
-
throw new $TypeError("Assertion failed: `captures` must be a possibly-empty List of Strings or `undefined`, got " + inspect2(captures));
|
|
3087
|
-
}
|
|
3088
|
-
if (typeof namedCaptures !== "undefined" && Type(namedCaptures) !== "Object") {
|
|
3089
|
-
throw new $TypeError("Assertion failed: `namedCaptures` must be `undefined` or an Object");
|
|
3090
|
-
}
|
|
3091
|
-
if (typeof replacementTemplate !== "string") {
|
|
3092
|
-
throw new $TypeError("Assertion failed: `replacementTemplate` must be a String");
|
|
3093
|
-
}
|
|
3094
|
-
var stringLength = str.length;
|
|
3095
|
-
if (position > stringLength) {
|
|
3096
|
-
throw new $TypeError("Assertion failed: position > stringLength, got " + inspect2(position));
|
|
3097
|
-
}
|
|
3098
|
-
var templateRemainder = replacementTemplate;
|
|
3099
|
-
var result = "";
|
|
3100
|
-
while (templateRemainder !== "") {
|
|
3101
|
-
var ref, refReplacement, capture;
|
|
3102
|
-
if (isPrefixOf("$$", templateRemainder)) {
|
|
3103
|
-
ref = "$$";
|
|
3104
|
-
refReplacement = "$";
|
|
3105
|
-
} else if (isPrefixOf("$`", templateRemainder)) {
|
|
3106
|
-
ref = "$`";
|
|
3107
|
-
refReplacement = substring(str, 0, position);
|
|
3108
|
-
} else if (isPrefixOf("$&", templateRemainder)) {
|
|
3109
|
-
ref = "$&";
|
|
3110
|
-
refReplacement = matched;
|
|
3111
|
-
} else if (isPrefixOf("$'", templateRemainder)) {
|
|
3112
|
-
ref = "$'";
|
|
3113
|
-
var matchLength = matched.length;
|
|
3114
|
-
var tailPos = position + matchLength;
|
|
3115
|
-
refReplacement = substring(str, min(tailPos, stringLength));
|
|
3116
|
-
} else if (startsWithDollarDigit(templateRemainder)) {
|
|
3117
|
-
var digitCount = startsWithDollarTwoDigit(templateRemainder) ? 2 : 1;
|
|
3118
|
-
var digits = substring(templateRemainder, 1, 1 + digitCount);
|
|
3119
|
-
var index = StringToNumber(digits);
|
|
3120
|
-
if (index < 0 || index > 99) {
|
|
3121
|
-
throw new $TypeError("Assertion failed: `index` must be >= 0 and <= 99");
|
|
3122
|
-
}
|
|
3123
|
-
var captureLen = captures.length;
|
|
3124
|
-
if (index > captureLen && digitCount === 2) {
|
|
3125
|
-
digitCount = 1;
|
|
3126
|
-
digits = substring(digits, 0, 1);
|
|
3127
|
-
index = StringToNumber(digits);
|
|
3128
|
-
}
|
|
3129
|
-
ref = substring(templateRemainder, 0, 1 + digitCount);
|
|
3130
|
-
if (1 <= index && index <= captureLen) {
|
|
3131
|
-
capture = captures[index - 1];
|
|
3132
|
-
if (typeof capture === "undefined") {
|
|
3133
|
-
refReplacement = "";
|
|
3134
|
-
} else {
|
|
3135
|
-
refReplacement = capture;
|
|
3136
|
-
}
|
|
3137
|
-
} else {
|
|
3138
|
-
refReplacement = ref;
|
|
3139
|
-
}
|
|
3140
|
-
} else if (isPrefixOf("$<", templateRemainder)) {
|
|
3141
|
-
var gtPos = StringIndexOf(templateRemainder, ">", 0);
|
|
3142
|
-
if (gtPos === -1 || typeof namedCaptures === "undefined") {
|
|
3143
|
-
ref = "$<";
|
|
3144
|
-
refReplacement = ref;
|
|
3145
|
-
} else {
|
|
3146
|
-
ref = substring(templateRemainder, 0, gtPos + 1);
|
|
3147
|
-
var groupName = substring(templateRemainder, 2, gtPos);
|
|
3148
|
-
if (Type(namedCaptures) !== "Object") {
|
|
3149
|
-
throw new $TypeError("Assertion failed: Type(namedCaptures) is not Object");
|
|
3150
|
-
}
|
|
3151
|
-
capture = Get(namedCaptures, groupName);
|
|
3152
|
-
if (typeof capture === "undefined") {
|
|
3153
|
-
refReplacement = "";
|
|
3154
|
-
} else {
|
|
3155
|
-
refReplacement = ToString(capture);
|
|
3156
|
-
}
|
|
3157
|
-
}
|
|
3158
|
-
} else {
|
|
3159
|
-
ref = substring(templateRemainder, 0, 1);
|
|
3160
|
-
refReplacement = ref;
|
|
3161
|
-
}
|
|
3162
|
-
var refLength = ref.length;
|
|
3163
|
-
templateRemainder = substring(templateRemainder, refLength);
|
|
3164
|
-
result += refReplacement;
|
|
3165
|
-
}
|
|
3166
|
-
return result;
|
|
3167
|
-
};
|
|
3168
|
-
}
|
|
3169
|
-
});
|
|
3170
|
-
|
|
3171
|
-
// ../../../node_modules/.pnpm/string.prototype.replaceall@1.0.10/node_modules/string.prototype.replaceall/implementation.js
|
|
3172
|
-
var require_implementation4 = __commonJS({
|
|
3173
|
-
"../../../node_modules/.pnpm/string.prototype.replaceall@1.0.10/node_modules/string.prototype.replaceall/implementation.js"(exports, module) {
|
|
3174
|
-
"use strict";
|
|
3175
|
-
init_process();
|
|
3176
|
-
init_buffer();
|
|
3177
|
-
var Call = require_Call();
|
|
3178
|
-
var GetMethod = require_GetMethod();
|
|
3179
|
-
var GetSubstitution = require_GetSubstitution();
|
|
3180
|
-
var IsCallable = require_IsCallable();
|
|
3181
|
-
var RequireObjectCoercible = require_RequireObjectCoercible();
|
|
3182
|
-
var ToString = require_ToString();
|
|
3183
|
-
var StringIndexOf = require_StringIndexOf();
|
|
3184
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
3185
|
-
var callBound = require_callBound();
|
|
3186
|
-
var hasSymbols = require_has_symbols()();
|
|
3187
|
-
var isRegex = require_is_regex();
|
|
3188
|
-
var max = GetIntrinsic("%Math.max%");
|
|
3189
|
-
var $TypeError = require_type();
|
|
3190
|
-
var $push = callBound("Array.prototype.push");
|
|
3191
|
-
var $slice = callBound("String.prototype.slice");
|
|
3192
|
-
var $indexOf = callBound("String.prototype.indexOf");
|
|
3193
|
-
var $replace = callBound("String.prototype.replace");
|
|
3194
|
-
module.exports = function replaceAll(searchValue, replaceValue) {
|
|
3195
|
-
var O = RequireObjectCoercible(this);
|
|
3196
|
-
var searchValueIsRegex = isRegex(searchValue);
|
|
3197
|
-
if (searchValueIsRegex && $indexOf($slice(searchValue, searchValue.source.length + 2), "g") === -1) {
|
|
3198
|
-
throw new $TypeError("use .replace for a non-global regex. NOTE: this may be allowed in the future.");
|
|
3199
|
-
}
|
|
3200
|
-
if (hasSymbols && Symbol.replace) {
|
|
3201
|
-
if (searchValue != null) {
|
|
3202
|
-
var replacer = GetMethod(searchValue, Symbol.replace);
|
|
3203
|
-
if (typeof replacer !== "undefined") {
|
|
3204
|
-
return Call(replacer, searchValue, [O, replaceValue]);
|
|
3205
|
-
}
|
|
3206
|
-
}
|
|
3207
|
-
} else if (searchValueIsRegex) {
|
|
3208
|
-
return $replace(O, searchValue, replaceValue);
|
|
3209
|
-
}
|
|
3210
|
-
var string = ToString(O);
|
|
3211
|
-
var searchString = ToString(searchValue);
|
|
3212
|
-
var functionalReplace = IsCallable(replaceValue);
|
|
3213
|
-
if (!functionalReplace) {
|
|
3214
|
-
replaceValue = ToString(replaceValue);
|
|
3215
|
-
}
|
|
3216
|
-
var searchLength = searchString.length;
|
|
3217
|
-
var advanceBy = max(1, searchLength);
|
|
3218
|
-
var matchPositions = [];
|
|
3219
|
-
var position = StringIndexOf(string, searchString, 0);
|
|
3220
|
-
while (position !== -1) {
|
|
3221
|
-
$push(matchPositions, position);
|
|
3222
|
-
position = StringIndexOf(string, searchString, position + advanceBy);
|
|
3223
|
-
}
|
|
3224
|
-
var endOfLastMatch = 0;
|
|
3225
|
-
var result = "";
|
|
3226
|
-
for (var i = 0; i < matchPositions.length; i += 1) {
|
|
3227
|
-
var replacement;
|
|
3228
|
-
if (functionalReplace) {
|
|
3229
|
-
replacement = ToString(Call(replaceValue, void 0, [searchString, matchPositions[i], string]));
|
|
3230
|
-
} else {
|
|
3231
|
-
if (typeof replaceValue !== "string") {
|
|
3232
|
-
throw new $TypeError("Assertion failed: `replaceValue` should be a string at this point");
|
|
3233
|
-
}
|
|
3234
|
-
var captures = [];
|
|
3235
|
-
replacement = GetSubstitution(searchString, string, matchPositions[i], captures, void 0, replaceValue);
|
|
3236
|
-
}
|
|
3237
|
-
var stringSlice = $slice(string, endOfLastMatch, matchPositions[i]);
|
|
3238
|
-
result += stringSlice + replacement;
|
|
3239
|
-
endOfLastMatch = matchPositions[i] + searchLength;
|
|
3240
|
-
}
|
|
3241
|
-
if (endOfLastMatch < string.length) {
|
|
3242
|
-
result += $slice(string, endOfLastMatch);
|
|
3243
|
-
}
|
|
3244
|
-
return result;
|
|
3245
|
-
};
|
|
3246
|
-
}
|
|
3247
|
-
});
|
|
3248
|
-
|
|
3249
|
-
// ../../../node_modules/.pnpm/string.prototype.replaceall@1.0.10/node_modules/string.prototype.replaceall/polyfill.js
|
|
3250
|
-
var require_polyfill2 = __commonJS({
|
|
3251
|
-
"../../../node_modules/.pnpm/string.prototype.replaceall@1.0.10/node_modules/string.prototype.replaceall/polyfill.js"(exports, module) {
|
|
3252
|
-
"use strict";
|
|
3253
|
-
init_process();
|
|
3254
|
-
init_buffer();
|
|
3255
|
-
var implementation = require_implementation4();
|
|
3256
|
-
module.exports = function getPolyfill() {
|
|
3257
|
-
return String.prototype.replaceAll || implementation;
|
|
3258
|
-
};
|
|
3259
|
-
}
|
|
3260
|
-
});
|
|
3261
|
-
|
|
3262
|
-
// ../../../node_modules/.pnpm/string.prototype.replaceall@1.0.10/node_modules/string.prototype.replaceall/shim.js
|
|
3263
|
-
var require_shim2 = __commonJS({
|
|
3264
|
-
"../../../node_modules/.pnpm/string.prototype.replaceall@1.0.10/node_modules/string.prototype.replaceall/shim.js"(exports, module) {
|
|
3265
|
-
"use strict";
|
|
3266
|
-
init_process();
|
|
3267
|
-
init_buffer();
|
|
3268
|
-
var define = require_define_properties();
|
|
3269
|
-
var getPolyfill = require_polyfill2();
|
|
3270
|
-
module.exports = function shimReplaceAll() {
|
|
3271
|
-
var polyfill = getPolyfill();
|
|
3272
|
-
define(
|
|
3273
|
-
String.prototype,
|
|
3274
|
-
{ replaceAll: polyfill },
|
|
3275
|
-
{ replaceAll: function() {
|
|
3276
|
-
return String.prototype.replaceAll !== polyfill;
|
|
3277
|
-
} }
|
|
3278
|
-
);
|
|
3279
|
-
return polyfill;
|
|
3280
|
-
};
|
|
3281
|
-
}
|
|
3282
|
-
});
|
|
3283
|
-
|
|
3284
|
-
// ../../../node_modules/.pnpm/string.prototype.replaceall@1.0.10/node_modules/string.prototype.replaceall/index.js
|
|
3285
|
-
var require_string_prototype2 = __commonJS({
|
|
3286
|
-
"../../../node_modules/.pnpm/string.prototype.replaceall@1.0.10/node_modules/string.prototype.replaceall/index.js"(exports, module) {
|
|
3287
|
-
"use strict";
|
|
3288
|
-
init_process();
|
|
3289
|
-
init_buffer();
|
|
3290
|
-
var callBind = require_call_bind();
|
|
3291
|
-
var define = require_define_properties();
|
|
3292
|
-
var implementation = require_implementation4();
|
|
3293
|
-
var getPolyfill = require_polyfill2();
|
|
3294
|
-
var shim = require_shim2();
|
|
3295
|
-
var boundReplaceAll = callBind(implementation);
|
|
3296
|
-
define(boundReplaceAll, {
|
|
3297
|
-
getPolyfill,
|
|
3298
|
-
implementation,
|
|
3299
|
-
shim
|
|
3300
|
-
});
|
|
3301
|
-
module.exports = boundReplaceAll;
|
|
3302
|
-
}
|
|
3303
|
-
});
|
|
3304
|
-
|
|
3305
|
-
// src/index.ts
|
|
3306
|
-
init_process();
|
|
3307
|
-
init_buffer();
|
|
3308
|
-
var import_string_prototype = __toESM(require_string_prototype2(), 1);
|
|
3309
|
-
export {
|
|
3310
|
-
DynamicSnippetsGenerator
|
|
3311
|
-
};
|
|
1
|
+
import{a as yu}from"./chunk-3SA25SVX.js";import"./chunk-DJQMPRPJ.js";import"./chunk-T2HPPEKP.js";import"./chunk-D7ZDXIQ6.js";import"./chunk-JGNWFXNM.js";import"./chunk-XC2QAVJY.js";import{e as be,f as l,g as su,h as lu,i as cu,k as o,l as p,m as i}from"./chunk-RL2XA35J.js";var Lt=l((Ql,kt)=>{"use strict";o();i();var vu="Function.prototype.bind called on incompatible ",gu=Object.prototype.toString,du=Math.max,hu="[object Function]",Wt=function(r,t){for(var n=[],a=0;a<r.length;a+=1)n[a]=r[a];for(var u=0;u<t.length;u+=1)n[u+r.length]=t[u];return n},mu=function(r,t){for(var n=[],a=t||0,u=0;a<r.length;a+=1,u+=1)n[u]=r[a];return n},bu=function(e,r){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=r);return t};kt.exports=function(r){var t=this;if(typeof t!="function"||gu.apply(t)!==hu)throw new TypeError(vu+t);for(var n=mu(arguments,1),a,u=function(){if(this instanceof a){var g=t.apply(this,Wt(n,arguments));return Object(g)===g?g:this}return t.apply(r,Wt(n,arguments))},f=du(0,t.length-n.length),c=[],y=0;y<f;y++)c[y]="$"+y;if(a=Function("binder","return function ("+bu(c,",")+"){ return binder.apply(this,arguments); }")(u),t.prototype){var h=function(){};h.prototype=t.prototype,a.prototype=new h,h.prototype=null}return a}});var L=l((rc,zt)=>{"use strict";o();i();var Su=Lt();zt.exports=Function.prototype.bind||Su});var Se=l((nc,Jt)=>{"use strict";o();i();Jt.exports=Error});var Ae=l((ac,Ht)=>{"use strict";o();i();Ht.exports=EvalError});var we=l((pc,Kt)=>{"use strict";o();i();Kt.exports=RangeError});var Pe=l((cc,Vt)=>{"use strict";o();i();Vt.exports=ReferenceError});var Ur=l((gc,Yt)=>{"use strict";o();i();Yt.exports=SyntaxError});var w=l((mc,Qt)=>{"use strict";o();i();Qt.exports=TypeError});var Oe=l((Ac,Xt)=>{"use strict";o();i();Xt.exports=URIError});var rn=l((Oc,Zt)=>{"use strict";o();i();Zt.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;r[t]=a;for(t in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var u=Object.getOwnPropertySymbols(r);if(u.length!==1||u[0]!==t||!Object.prototype.propertyIsEnumerable.call(r,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(r,t);if(f.value!==a||f.enumerable!==!0)return!1}return!0}});var Ee=l((xc,tn)=>{"use strict";o();i();var en=typeof Symbol!="undefined"&&Symbol,Au=rn();tn.exports=function(){return typeof en!="function"||typeof Symbol!="function"||typeof en("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Au()}});var on=l((Fc,nn)=>{"use strict";o();i();var qe={__proto__:null,foo:{}},wu=Object;nn.exports=function(){return{__proto__:qe}.foo===qe.foo&&!(qe instanceof wu)}});var xe=l((Nc,an)=>{"use strict";o();i();var Pu=Function.prototype.call,Ou=Object.prototype.hasOwnProperty,Eu=L();an.exports=Eu.call(Pu,Ou)});var F=l((Dc,ln)=>{"use strict";o();i();var m,qu=Se(),xu=Ae(),$u=we(),Iu=Pe(),tr=Ur(),er=w(),Fu=Oe(),sn=Function,$e=function(e){try{return sn('"use strict"; return ('+e+").constructor;")()}catch(r){}},z=Object.getOwnPropertyDescriptor;if(z)try{z({},"")}catch(e){z=null}var Ie=function(){throw new er},Tu=z?function(){try{return arguments.callee,Ie}catch(e){try{return z(arguments,"callee").get}catch(r){return Ie}}}():Ie,Z=Ee()(),Ru=on()(),O=Object.getPrototypeOf||(Ru?function(e){return e.__proto__}:null),rr={},Nu=typeof Uint8Array=="undefined"||!O?m:O(Uint8Array),J={__proto__:null,"%AggregateError%":typeof AggregateError=="undefined"?m:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?m:ArrayBuffer,"%ArrayIteratorPrototype%":Z&&O?O([][Symbol.iterator]()):m,"%AsyncFromSyncIteratorPrototype%":m,"%AsyncFunction%":rr,"%AsyncGenerator%":rr,"%AsyncGeneratorFunction%":rr,"%AsyncIteratorPrototype%":rr,"%Atomics%":typeof Atomics=="undefined"?m:Atomics,"%BigInt%":typeof BigInt=="undefined"?m:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?m:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?m:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?m:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":qu,"%eval%":eval,"%EvalError%":xu,"%Float32Array%":typeof Float32Array=="undefined"?m:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?m:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?m:FinalizationRegistry,"%Function%":sn,"%GeneratorFunction%":rr,"%Int8Array%":typeof Int8Array=="undefined"?m:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?m:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?m:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Z&&O?O(O([][Symbol.iterator]())):m,"%JSON%":typeof JSON=="object"?JSON:m,"%Map%":typeof Map=="undefined"?m:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!Z||!O?m:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?m:Promise,"%Proxy%":typeof Proxy=="undefined"?m:Proxy,"%RangeError%":$u,"%ReferenceError%":Iu,"%Reflect%":typeof Reflect=="undefined"?m:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?m:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!Z||!O?m:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?m:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Z&&O?O(""[Symbol.iterator]()):m,"%Symbol%":Z?Symbol:m,"%SyntaxError%":tr,"%ThrowTypeError%":Tu,"%TypedArray%":Nu,"%TypeError%":er,"%Uint8Array%":typeof Uint8Array=="undefined"?m:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?m:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?m:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?m:Uint32Array,"%URIError%":Fu,"%WeakMap%":typeof WeakMap=="undefined"?m:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?m:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?m:WeakSet};if(O)try{null.error}catch(e){un=O(O(e)),J["%Error.prototype%"]=un}var un,_u=function e(r){var t;if(r==="%AsyncFunction%")t=$e("async function () {}");else if(r==="%GeneratorFunction%")t=$e("function* () {}");else if(r==="%AsyncGeneratorFunction%")t=$e("async function* () {}");else if(r==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(r==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&O&&(t=O(a.prototype))}return J[r]=t,t},fn={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},vr=L(),Dr=xe(),Uu=vr.call(Function.call,Array.prototype.concat),Du=vr.call(Function.apply,Array.prototype.splice),pn=vr.call(Function.call,String.prototype.replace),Br=vr.call(Function.call,String.prototype.slice),Bu=vr.call(Function.call,RegExp.prototype.exec),Mu=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Cu=/\\(\\)?/g,ju=function(r){var t=Br(r,0,1),n=Br(r,-1);if(t==="%"&&n!=="%")throw new tr("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new tr("invalid intrinsic syntax, expected opening `%`");var a=[];return pn(r,Mu,function(u,f,c,y){a[a.length]=c?pn(y,Cu,"$1"):f||u}),a},Gu=function(r,t){var n=r,a;if(Dr(fn,n)&&(a=fn[n],n="%"+a[0]+"%"),Dr(J,n)){var u=J[n];if(u===rr&&(u=_u(n)),typeof u=="undefined"&&!t)throw new er("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:u}}throw new tr("intrinsic "+r+" does not exist!")};ln.exports=function(r,t){if(typeof r!="string"||r.length===0)throw new er("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new er('"allowMissing" argument must be a boolean');if(Bu(/^%?[^%]*%?$/,r)===null)throw new tr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=ju(r),a=n.length>0?n[0]:"",u=Gu("%"+a+"%",t),f=u.name,c=u.value,y=!1,h=u.alias;h&&(a=h[0],Du(n,Uu([0,1],h)));for(var g=1,d=!0;g<n.length;g+=1){var v=n[g],A=Br(v,0,1),P=Br(v,-1);if((A==='"'||A==="'"||A==="`"||P==='"'||P==="'"||P==="`")&&A!==P)throw new tr("property names with quotes must have matching quotes");if((v==="constructor"||!d)&&(y=!0),a+="."+v,f="%"+a+"%",Dr(J,f))c=J[f];else if(c!=null){if(!(v in c)){if(!t)throw new er("base intrinsic for "+r+" exists, but the property is not available.");return}if(z&&g+1>=n.length){var S=z(c,v);d=!!S,d&&"get"in S&&!("originalValue"in S.get)?c=S.get:c=c[v]}else d=Dr(c,v),c=c[v];d&&!y&&(J[f]=c)}}return c}});var Fe=l((Cc,cn)=>{"use strict";o();i();cn.exports=Object});var vn=l((Wc,yn)=>{"use strict";o();i();yn.exports=Math.abs});var dn=l((zc,gn)=>{"use strict";o();i();gn.exports=Math.floor});var mn=l((Kc,hn)=>{"use strict";o();i();hn.exports=Math.max});var Sn=l((Qc,bn)=>{"use strict";o();i();bn.exports=Math.min});var wn=l((ry,An)=>{"use strict";o();i();An.exports=Math.pow});var On=l((ny,Pn)=>{"use strict";o();i();Pn.exports=Math.round});var qn=l((ay,En)=>{"use strict";o();i();En.exports=Number.isNaN||function(r){return r!==r}});var $n=l((py,xn)=>{"use strict";o();i();var Wu=qn();xn.exports=function(r){return Wu(r)||r===0?r:r<0?-1:1}});var Fn=l((cy,In)=>{"use strict";o();i();In.exports=Object.getOwnPropertyDescriptor});var gr=l((gy,Tn)=>{"use strict";o();i();var Mr=Fn();if(Mr)try{Mr([],"length")}catch(e){Mr=null}Tn.exports=Mr});var jr=l((my,Rn)=>{"use strict";o();i();var Cr=Object.defineProperty||!1;if(Cr)try{Cr({},"a",{value:1})}catch(e){Cr=!1}Rn.exports=Cr});var Te=l((Ay,Nn)=>{"use strict";o();i();Nn.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;r[t]=a;for(var u in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var f=Object.getOwnPropertySymbols(r);if(f.length!==1||f[0]!==t||!Object.prototype.propertyIsEnumerable.call(r,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(r,t);if(c.value!==a||c.enumerable!==!0)return!1}return!0}});var Dn=l((Oy,Un)=>{"use strict";o();i();var _n=typeof Symbol!="undefined"&&Symbol,ku=Te();Un.exports=function(){return typeof _n!="function"||typeof Symbol!="function"||typeof _n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:ku()}});var Re=l((xy,Bn)=>{"use strict";o();i();Bn.exports=typeof Reflect!="undefined"&&Reflect.getPrototypeOf||null});var Ne=l((Fy,Mn)=>{"use strict";o();i();var Lu=Fe();Mn.exports=Lu.getPrototypeOf||null});var Gr=l((Ny,Cn)=>{"use strict";o();i();Cn.exports=Function.prototype.call});var _e=l((Dy,jn)=>{"use strict";o();i();jn.exports=Function.prototype.apply});var Wn=l((Cy,Gn)=>{"use strict";o();i();Gn.exports=typeof Reflect!="undefined"&&Reflect&&Reflect.apply});var Ln=l((Wy,kn)=>{"use strict";o();i();var zu=L(),Ju=_e(),Hu=Gr(),Ku=Wn();kn.exports=Ku||zu.call(Hu,Ju)});var Jn=l((zy,zn)=>{"use strict";o();i();var Vu=L(),Yu=w(),Qu=Gr(),Xu=Ln();zn.exports=function(r){if(r.length<1||typeof r[0]!="function")throw new Yu("a function is required");return Xu(Vu,Qu,r)}});var Xn=l((Ky,Qn)=>{"use strict";o();i();var Zu=Jn(),Hn=gr(),Vn;try{Vn=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var Ue=!!Vn&&Hn&&Hn(Object.prototype,"__proto__"),Yn=Object,Kn=Yn.getPrototypeOf;Qn.exports=Ue&&typeof Ue.get=="function"?Zu([Ue.get]):typeof Kn=="function"?function(r){return Kn(r==null?r:Yn(r))}:!1});var no=l((Qy,to)=>{"use strict";o();i();var Zn=Re(),ro=Ne(),eo=Xn();to.exports=Zn?function(r){return Zn(r)}:ro?function(r){if(!r||typeof r!="object"&&typeof r!="function")throw new TypeError("getProto: not an object");return ro(r)}:eo?function(r){return eo(r)}:null});var Me=l((rv,po)=>{"use strict";o();i();var b,rf=Fe(),ef=Se(),tf=Ae(),nf=we(),of=Pe(),ar=Ur(),ir=w(),af=Oe(),uf=vn(),ff=dn(),pf=mn(),sf=Sn(),lf=wn(),cf=On(),yf=$n(),uo=Function,De=function(e){try{return uo('"use strict"; return ('+e+").constructor;")()}catch(r){}},dr=gr(),vf=jr(),Be=function(){throw new ir},gf=dr?function(){try{return arguments.callee,Be}catch(e){try{return dr(arguments,"callee").get}catch(r){return Be}}}():Be,nr=Dn()(),E=no(),df=Ne(),hf=Re(),fo=_e(),hr=Gr(),or={},mf=typeof Uint8Array=="undefined"||!E?b:E(Uint8Array),H={__proto__:null,"%AggregateError%":typeof AggregateError=="undefined"?b:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?b:ArrayBuffer,"%ArrayIteratorPrototype%":nr&&E?E([][Symbol.iterator]()):b,"%AsyncFromSyncIteratorPrototype%":b,"%AsyncFunction%":or,"%AsyncGenerator%":or,"%AsyncGeneratorFunction%":or,"%AsyncIteratorPrototype%":or,"%Atomics%":typeof Atomics=="undefined"?b:Atomics,"%BigInt%":typeof BigInt=="undefined"?b:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?b:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?b:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?b:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":ef,"%eval%":eval,"%EvalError%":tf,"%Float32Array%":typeof Float32Array=="undefined"?b:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?b:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?b:FinalizationRegistry,"%Function%":uo,"%GeneratorFunction%":or,"%Int8Array%":typeof Int8Array=="undefined"?b:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?b:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?b:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":nr&&E?E(E([][Symbol.iterator]())):b,"%JSON%":typeof JSON=="object"?JSON:b,"%Map%":typeof Map=="undefined"?b:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!nr||!E?b:E(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":rf,"%Object.getOwnPropertyDescriptor%":dr,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?b:Promise,"%Proxy%":typeof Proxy=="undefined"?b:Proxy,"%RangeError%":nf,"%ReferenceError%":of,"%Reflect%":typeof Reflect=="undefined"?b:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?b:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!nr||!E?b:E(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?b:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":nr&&E?E(""[Symbol.iterator]()):b,"%Symbol%":nr?Symbol:b,"%SyntaxError%":ar,"%ThrowTypeError%":gf,"%TypedArray%":mf,"%TypeError%":ir,"%Uint8Array%":typeof Uint8Array=="undefined"?b:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?b:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?b:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?b:Uint32Array,"%URIError%":af,"%WeakMap%":typeof WeakMap=="undefined"?b:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?b:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?b:WeakSet,"%Function.prototype.call%":hr,"%Function.prototype.apply%":fo,"%Object.defineProperty%":vf,"%Object.getPrototypeOf%":df,"%Math.abs%":uf,"%Math.floor%":ff,"%Math.max%":pf,"%Math.min%":sf,"%Math.pow%":lf,"%Math.round%":cf,"%Math.sign%":yf,"%Reflect.getPrototypeOf%":hf};if(E)try{null.error}catch(e){oo=E(E(e)),H["%Error.prototype%"]=oo}var oo,bf=function e(r){var t;if(r==="%AsyncFunction%")t=De("async function () {}");else if(r==="%GeneratorFunction%")t=De("function* () {}");else if(r==="%AsyncGeneratorFunction%")t=De("async function* () {}");else if(r==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(r==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&E&&(t=E(a.prototype))}return H[r]=t,t},io={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},mr=L(),Wr=xe(),Sf=mr.call(hr,Array.prototype.concat),Af=mr.call(fo,Array.prototype.splice),ao=mr.call(hr,String.prototype.replace),kr=mr.call(hr,String.prototype.slice),wf=mr.call(hr,RegExp.prototype.exec),Pf=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Of=/\\(\\)?/g,Ef=function(r){var t=kr(r,0,1),n=kr(r,-1);if(t==="%"&&n!=="%")throw new ar("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new ar("invalid intrinsic syntax, expected opening `%`");var a=[];return ao(r,Pf,function(u,f,c,y){a[a.length]=c?ao(y,Of,"$1"):f||u}),a},qf=function(r,t){var n=r,a;if(Wr(io,n)&&(a=io[n],n="%"+a[0]+"%"),Wr(H,n)){var u=H[n];if(u===or&&(u=bf(n)),typeof u=="undefined"&&!t)throw new ir("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:u}}throw new ar("intrinsic "+r+" does not exist!")};po.exports=function(r,t){if(typeof r!="string"||r.length===0)throw new ir("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new ir('"allowMissing" argument must be a boolean');if(wf(/^%?[^%]*%?$/,r)===null)throw new ar("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Ef(r),a=n.length>0?n[0]:"",u=qf("%"+a+"%",t),f=u.name,c=u.value,y=!1,h=u.alias;h&&(a=h[0],Af(n,Sf([0,1],h)));for(var g=1,d=!0;g<n.length;g+=1){var v=n[g],A=kr(v,0,1),P=kr(v,-1);if((A==='"'||A==="'"||A==="`"||P==='"'||P==="'"||P==="`")&&A!==P)throw new ar("property names with quotes must have matching quotes");if((v==="constructor"||!d)&&(y=!0),a+="."+v,f="%"+a+"%",Wr(H,f))c=H[f];else if(c!=null){if(!(v in c)){if(!t)throw new ir("base intrinsic for "+r+" exists, but the property is not available.");return}if(dr&&g+1>=n.length){var S=dr(c,v);d=!!S,d&&"get"in S&&!("originalValue"in S.get)?c=S.get:c=c[v]}else d=Wr(c,v),c=c[v];d&&!y&&(H[f]=c)}}return c}});var Ce=l((nv,co)=>{"use strict";o();i();var so=jr(),xf=Ur(),ur=w(),lo=gr();co.exports=function(r,t,n){if(!r||typeof r!="object"&&typeof r!="function")throw new ur("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new ur("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new ur("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new ur("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new ur("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new ur("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,c=arguments.length>6?arguments[6]:!1,y=!!lo&&lo(r,t);if(so)so(r,t,{configurable:f===null&&y?y.configurable:!f,enumerable:a===null&&y?y.enumerable:!a,value:n,writable:u===null&&y?y.writable:!u});else if(c||!a&&!u&&!f)r[t]=n;else throw new xf("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Ge=l((av,vo)=>{"use strict";o();i();var je=jr(),yo=function(){return!!je};yo.hasArrayLengthDefineBug=function(){if(!je)return null;try{return je([],"length",{value:1}).length!==1}catch(r){return!0}};vo.exports=yo});var So=l((pv,bo)=>{"use strict";o();i();var $f=Me(),go=Ce(),If=Ge()(),ho=gr(),mo=w(),Ff=$f("%Math.floor%");bo.exports=function(r,t){if(typeof r!="function")throw new mo("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Ff(t)!==t)throw new mo("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],a=!0,u=!0;if("length"in r&&ho){var f=ho(r,"length");f&&!f.configurable&&(a=!1),f&&!f.writable&&(u=!1)}return(a||u||!n)&&(If?go(r,"length",t,!0,!0):go(r,"length",t)),r}});var wo=l((cv,Ao)=>{"use strict";o();i();var Tf=Me(),Lr=Tf("%Object.defineProperty%",!0)||!1;if(Lr)try{Lr({},"a",{value:1})}catch(e){Lr=!1}Ao.exports=Lr});var Hr=l((gv,zr)=>{"use strict";o();i();var We=L(),Jr=F(),Rf=So(),Nf=w(),Eo=Jr("%Function.prototype.apply%"),qo=Jr("%Function.prototype.call%"),xo=Jr("%Reflect.apply%",!0)||We.call(qo,Eo),Po=wo(),_f=Jr("%Math.max%");zr.exports=function(r){if(typeof r!="function")throw new Nf("a function is required");var t=xo(We,qo,arguments);return Rf(t,1+_f(0,r.length-(arguments.length-1)),!0)};var Oo=function(){return xo(We,Eo,arguments)};Po?Po(zr.exports,"apply",{value:Oo}):zr.exports.apply=Oo});var ke=l((mv,Io)=>{"use strict";o();i();var $o=Object.prototype.toString;Io.exports=function(r){var t=$o.call(r),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&$o.call(r.callee)==="[object Function]"),n}});var Mo=l((Av,Bo)=>{"use strict";o();i();var Do;Object.keys||(br=Object.prototype.hasOwnProperty,Le=Object.prototype.toString,Fo=ke(),ze=Object.prototype.propertyIsEnumerable,To=!ze.call({toString:null},"toString"),Ro=ze.call(function(){},"prototype"),Sr=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Kr=function(e){var r=e.constructor;return r&&r.prototype===e},No={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},_o=function(){if(typeof window=="undefined")return!1;for(var e in window)try{if(!No["$"+e]&&br.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{Kr(window[e])}catch(r){return!0}}catch(r){return!0}return!1}(),Uo=function(e){if(typeof window=="undefined"||!_o)return Kr(e);try{return Kr(e)}catch(r){return!1}},Do=function(r){var t=r!==null&&typeof r=="object",n=Le.call(r)==="[object Function]",a=Fo(r),u=t&&Le.call(r)==="[object String]",f=[];if(!t&&!n&&!a)throw new TypeError("Object.keys called on a non-object");var c=Ro&&n;if(u&&r.length>0&&!br.call(r,0))for(var y=0;y<r.length;++y)f.push(String(y));if(a&&r.length>0)for(var h=0;h<r.length;++h)f.push(String(h));else for(var g in r)!(c&&g==="prototype")&&br.call(r,g)&&f.push(String(g));if(To)for(var d=Uo(r),v=0;v<Sr.length;++v)!(d&&Sr[v]==="constructor")&&br.call(r,Sr[v])&&f.push(Sr[v]);return f});var br,Le,Fo,ze,To,Ro,Sr,Kr,No,_o,Uo;Bo.exports=Do});var Wo=l((Ov,Go)=>{"use strict";o();i();var Uf=Array.prototype.slice,Df=ke(),Co=Object.keys,Vr=Co?function(r){return Co(r)}:Mo(),jo=Object.keys;Vr.shim=function(){if(Object.keys){var r=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);r||(Object.keys=function(n){return Df(n)?jo(Uf.call(n)):jo(n)})}else Object.keys=Vr;return Object.keys||Vr};Go.exports=Vr});var Ar=l((xv,Jo)=>{"use strict";o();i();var Bf=Wo(),Mf=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Cf=Object.prototype.toString,jf=Array.prototype.concat,ko=Ce(),Gf=function(e){return typeof e=="function"&&Cf.call(e)==="[object Function]"},Lo=Ge()(),Wf=function(e,r,t,n){if(r in e){if(n===!0){if(e[r]===t)return}else if(!Gf(n)||!n())return}Lo?ko(e,r,t,!0):ko(e,r,t)},zo=function(e,r){var t=arguments.length>2?arguments[2]:{},n=Bf(r);Mf&&(n=jf.call(n,Object.getOwnPropertySymbols(r)));for(var a=0;a<n.length;a+=1)Wf(e,n[a],r[n[a]],t[n[a]])};zo.supportsDescriptors=!!Lo;Jo.exports=zo});var I=l((Fv,Vo)=>{"use strict";o();i();var Ho=F(),Ko=Hr(),kf=Ko(Ho("String.prototype.indexOf"));Vo.exports=function(r,t){var n=Ho(r,!!t);return typeof n=="function"&&kf(r,".prototype.")>-1?Ko(n):n}});var Xo=l((Nv,Qo)=>{"use strict";o();i();var Lf=F(),Yo=Lf("%Array%"),zf=!Yo.isArray&&I()("Object.prototype.toString");Qo.exports=Yo.isArray||function(r){return zf(r)==="[object Array]"}});var Je=l((Dv,Zo)=>{"use strict";o();i();Zo.exports=Xo()});var ei=l((Cv,ri)=>{"use strict";o();i();var Jf=F(),Hf=I(),Kf=w(),Vf=Je(),Yf=Jf("%Reflect.apply%",!0)||Hf("Function.prototype.apply");ri.exports=function(r,t){var n=arguments.length>2?arguments[2]:[];if(!Vf(n))throw new Kf("Assertion failed: optional `argumentsList`, if provided, must be a List");return Yf(r,t,n)}});function ti(){throw new Error("setTimeout has not been defined")}function ni(){throw new Error("clearTimeout has not been defined")}function oi(e){if(C===setTimeout)return setTimeout(e,0);if((C===ti||!C)&&setTimeout)return C=setTimeout,setTimeout(e,0);try{return C(e,0)}catch(r){try{return C.call(null,e,0)}catch(t){return C.call(this,e,0)}}}function Qf(e){if(j===clearTimeout)return clearTimeout(e);if((j===ni||!j)&&clearTimeout)return j=clearTimeout,clearTimeout(e);try{return j(e)}catch(r){try{return j.call(null,e)}catch(t){return j.call(this,e)}}}function Xf(){!pr||!K||(pr=!1,K.length?U=K.concat(U):Yr=-1,U.length&&ii())}function ii(){if(!pr){var e=oi(Xf);pr=!0;for(var r=U.length;r;){for(K=U,U=[];++Yr<r;)K&&K[Yr].run();Yr=-1,r=U.length}K=null,pr=!1,Qf(e)}}function Zf(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];U.push(new ai(e,r)),U.length===1&&!pr&&oi(ii)}function ai(e,r){this.fun=e,this.array=r}function V(){}function dp(e){throw new Error("process.binding is not supported")}function hp(){return"/"}function mp(e){throw new Error("process.chdir is not supported")}function bp(){return 0}function Ap(e){var r=Sp.call(fr)*.001,t=Math.floor(r),n=Math.floor(r%1*1e9);return e&&(t=t-e[0],n=n-e[1],n<0&&(t--,n+=1e9)),[t,n]}function Pp(){var e=new Date,r=e-wp;return r/1e3}var C,j,U,pr,K,Yr,rp,ep,tp,np,op,ip,ap,up,fp,pp,sp,lp,cp,yp,vp,gp,fr,Sp,wp,Op,wr,ui=be(()=>{"use strict";o();i();C=ti,j=ni;typeof globalThis.setTimeout=="function"&&(C=setTimeout);typeof globalThis.clearTimeout=="function"&&(j=clearTimeout);U=[],pr=!1,Yr=-1;ai.prototype.run=function(){this.fun.apply(null,this.array)};rp="browser",ep="browser",tp=!0,np={},op=[],ip="",ap={},up={},fp={};pp=V,sp=V,lp=V,cp=V,yp=V,vp=V,gp=V;fr=globalThis.performance||{},Sp=fr.now||fr.mozNow||fr.msNow||fr.oNow||fr.webkitNow||function(){return new Date().getTime()};wp=new Date;Op={nextTick:Zf,title:rp,browser:tp,env:np,argv:op,version:ip,versions:ap,on:pp,addListener:sp,once:lp,off:cp,removeListener:yp,removeAllListeners:vp,emit:gp,binding:dp,cwd:hp,chdir:mp,umask:bp,hrtime:Ap,platform:ep,release:up,config:fp,uptime:Pp},wr=Op});var He,Ke,fi=be(()=>{"use strict";o();i();typeof Object.create=="function"?He=function(r,t){r.super_=t,r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}})}:He=function(r,t){r.super_=t;var n=function(){};n.prototype=t.prototype,r.prototype=new n,r.prototype.constructor=r};Ke=He});var di={};su(di,{_extend:()=>nt,debuglog:()=>pi,default:()=>_p,deprecate:()=>Ze,format:()=>re,inherits:()=>Ke,inspect:()=>R,isArray:()=>rt,isBoolean:()=>ee,isBuffer:()=>yi,isDate:()=>Zr,isError:()=>Or,isFunction:()=>Er,isNull:()=>qr,isNullOrUndefined:()=>si,isNumber:()=>et,isObject:()=>Y,isPrimitive:()=>ci,isRegExp:()=>Pr,isString:()=>xr,isSymbol:()=>li,isUndefined:()=>T,log:()=>vi});function re(e){if(!xr(e)){for(var r=[],t=0;t<arguments.length;t++)r.push(R(arguments[t]));return r.join(" ")}for(var t=1,n=arguments,a=n.length,u=String(e).replace(Ep,function(c){if(c==="%%")return"%";if(t>=a)return c;switch(c){case"%s":return String(n[t++]);case"%d":return Number(n[t++]);case"%j":try{return JSON.stringify(n[t++])}catch(y){return"[Circular]"}default:return c}}),f=n[t];t<a;f=n[++t])qr(f)||!Y(f)?u+=" "+f:u+=" "+R(f);return u}function Ze(e,r){if(T(globalThis.process))return function(){return Ze(e,r).apply(this,arguments)};if(wr.noDeprecation===!0)return e;var t=!1;function n(){if(!t){if(wr.throwDeprecation)throw new Error(r);wr.traceDeprecation?console.trace(r):console.error(r),t=!0}return e.apply(this,arguments)}return n}function pi(e){if(T(Ve)&&(Ve=wr.env.NODE_DEBUG||""),e=e.toUpperCase(),!Qr[e])if(new RegExp("\\b"+e+"\\b","i").test(Ve)){var r=0;Qr[e]=function(){var t=re.apply(null,arguments);console.error("%s %d: %s",e,r,t)}}else Qr[e]=function(){};return Qr[e]}function R(e,r){var t={seen:[],stylize:xp};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),ee(r)?t.showHidden=r:r&&nt(t,r),T(t.showHidden)&&(t.showHidden=!1),T(t.depth)&&(t.depth=2),T(t.colors)&&(t.colors=!1),T(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=qp),Xr(t,e,t.depth)}function qp(e,r){var t=R.styles[r];return t?"\x1B["+R.colors[t][0]+"m"+e+"\x1B["+R.colors[t][1]+"m":e}function xp(e,r){return e}function $p(e){var r={};return e.forEach(function(t,n){r[t]=!0}),r}function Xr(e,r,t){if(e.customInspect&&r&&Er(r.inspect)&&r.inspect!==R&&!(r.constructor&&r.constructor.prototype===r)){var n=r.inspect(t,e);return xr(n)||(n=Xr(e,n,t)),n}var a=Ip(e,r);if(a)return a;var u=Object.keys(r),f=$p(u);if(e.showHidden&&(u=Object.getOwnPropertyNames(r)),Or(r)&&(u.indexOf("message")>=0||u.indexOf("description")>=0))return Ye(r);if(u.length===0){if(Er(r)){var c=r.name?": "+r.name:"";return e.stylize("[Function"+c+"]","special")}if(Pr(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(Zr(r))return e.stylize(Date.prototype.toString.call(r),"date");if(Or(r))return Ye(r)}var y="",h=!1,g=["{","}"];if(rt(r)&&(h=!0,g=["[","]"]),Er(r)){var d=r.name?": "+r.name:"";y=" [Function"+d+"]"}if(Pr(r)&&(y=" "+RegExp.prototype.toString.call(r)),Zr(r)&&(y=" "+Date.prototype.toUTCString.call(r)),Or(r)&&(y=" "+Ye(r)),u.length===0&&(!h||r.length==0))return g[0]+y+g[1];if(t<0)return Pr(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special");e.seen.push(r);var v;return h?v=Fp(e,r,t,f,u):v=u.map(function(A){return Xe(e,r,t,f,A,h)}),e.seen.pop(),Tp(v,y,g)}function Ip(e,r){if(T(r))return e.stylize("undefined","undefined");if(xr(r)){var t="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(t,"string")}if(et(r))return e.stylize(""+r,"number");if(ee(r))return e.stylize(""+r,"boolean");if(qr(r))return e.stylize("null","null")}function Ye(e){return"["+Error.prototype.toString.call(e)+"]"}function Fp(e,r,t,n,a){for(var u=[],f=0,c=r.length;f<c;++f)gi(r,String(f))?u.push(Xe(e,r,t,n,String(f),!0)):u.push("");return a.forEach(function(y){y.match(/^\d+$/)||u.push(Xe(e,r,t,n,y,!0))}),u}function Xe(e,r,t,n,a,u){var f,c,y;if(y=Object.getOwnPropertyDescriptor(r,a)||{value:r[a]},y.get?y.set?c=e.stylize("[Getter/Setter]","special"):c=e.stylize("[Getter]","special"):y.set&&(c=e.stylize("[Setter]","special")),gi(n,a)||(f="["+a+"]"),c||(e.seen.indexOf(y.value)<0?(qr(t)?c=Xr(e,y.value,null):c=Xr(e,y.value,t-1),c.indexOf(`
|
|
2
|
+
`)>-1&&(u?c=c.split(`
|
|
3
|
+
`).map(function(h){return" "+h}).join(`
|
|
4
|
+
`).substr(2):c=`
|
|
5
|
+
`+c.split(`
|
|
6
|
+
`).map(function(h){return" "+h}).join(`
|
|
7
|
+
`))):c=e.stylize("[Circular]","special")),T(f)){if(u&&a.match(/^\d+$/))return c;f=JSON.stringify(""+a),f.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(f=f.substr(1,f.length-2),f=e.stylize(f,"name")):(f=f.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),f=e.stylize(f,"string"))}return f+": "+c}function Tp(e,r,t){var n=0,a=e.reduce(function(u,f){return n++,f.indexOf(`
|
|
8
|
+
`)>=0&&n++,u+f.replace(/\u001b\[\d\d?m/g,"").length+1},0);return a>60?t[0]+(r===""?"":r+`
|
|
9
|
+
`)+" "+e.join(`,
|
|
10
|
+
`)+" "+t[1]:t[0]+r+" "+e.join(", ")+" "+t[1]}function rt(e){return Array.isArray(e)}function ee(e){return typeof e=="boolean"}function qr(e){return e===null}function si(e){return e==null}function et(e){return typeof e=="number"}function xr(e){return typeof e=="string"}function li(e){return typeof e=="symbol"}function T(e){return e===void 0}function Pr(e){return Y(e)&&tt(e)==="[object RegExp]"}function Y(e){return typeof e=="object"&&e!==null}function Zr(e){return Y(e)&&tt(e)==="[object Date]"}function Or(e){return Y(e)&&(tt(e)==="[object Error]"||e instanceof Error)}function Er(e){return typeof e=="function"}function ci(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e=="undefined"}function yi(e){return p.isBuffer(e)}function tt(e){return Object.prototype.toString.call(e)}function Qe(e){return e<10?"0"+e.toString(10):e.toString(10)}function Np(){var e=new Date,r=[Qe(e.getHours()),Qe(e.getMinutes()),Qe(e.getSeconds())].join(":");return[e.getDate(),Rp[e.getMonth()],r].join(" ")}function vi(){console.log("%s - %s",Np(),re.apply(null,arguments))}function nt(e,r){if(!r||!Y(r))return e;for(var t=Object.keys(r),n=t.length;n--;)e[t[n]]=r[t[n]];return e}function gi(e,r){return Object.prototype.hasOwnProperty.call(e,r)}var Ep,Qr,Ve,Rp,_p,hi=be(()=>{"use strict";o();i();ui();fi();Ep=/%[sdj%]/g;Qr={};R.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};R.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};Rp=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];_p={inherits:Ke,_extend:nt,log:vi,isBuffer:yi,isPrimitive:ci,isFunction:Er,isError:Or,isDate:Zr,isObject:Y,isRegExp:Pr,isUndefined:T,isSymbol:li,isString:xr,isNumber:et,isNullOrUndefined:si,isNull:qr,isBoolean:ee,isArray:rt,inspect:R,deprecate:Ze,format:re,debuglog:pi}});var mi=l((Xv,te)=>{"use strict";o();i();var Q=(hi(),cu(di));if(Q&&Q.default){te.exports=Q.default;for(let e in Q)te.exports[e]=Q[e]}else Q&&(te.exports=Q)});var Si=l((eg,bi)=>{"use strict";o();i();bi.exports=mi().inspect});var Tr=l((og,ji)=>{"use strict";o();i();var yt=typeof Map=="function"&&Map.prototype,ot=Object.getOwnPropertyDescriptor&&yt?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,oe=yt&&ot&&typeof ot.get=="function"?ot.get:null,Ai=yt&&Map.prototype.forEach,vt=typeof Set=="function"&&Set.prototype,it=Object.getOwnPropertyDescriptor&&vt?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ie=vt&&it&&typeof it.get=="function"?it.get:null,wi=vt&&Set.prototype.forEach,Up=typeof WeakMap=="function"&&WeakMap.prototype,Ir=Up?WeakMap.prototype.has:null,Dp=typeof WeakSet=="function"&&WeakSet.prototype,Fr=Dp?WeakSet.prototype.has:null,Bp=typeof WeakRef=="function"&&WeakRef.prototype,Pi=Bp?WeakRef.prototype.deref:null,Mp=Boolean.prototype.valueOf,Cp=Object.prototype.toString,jp=Function.prototype.toString,Gp=String.prototype.match,gt=String.prototype.slice,G=String.prototype.replace,Wp=String.prototype.toUpperCase,Oi=String.prototype.toLowerCase,Ni=RegExp.prototype.test,Ei=Array.prototype.concat,N=Array.prototype.join,kp=Array.prototype.slice,qi=Math.floor,ft=typeof BigInt=="function"?BigInt.prototype.valueOf:null,at=Object.getOwnPropertySymbols,pt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,sr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",q=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===sr||!0)?Symbol.toStringTag:null,_i=Object.prototype.propertyIsEnumerable,xi=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function $i(e,r){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||Ni.call(/e/,r))return r;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-qi(-e):qi(e);if(n!==e){var a=String(n),u=gt.call(r,a.length+1);return G.call(a,t,"$&_")+"."+G.call(G.call(u,/([0-9]{3})/g,"$&_"),/_$/,"")}}return G.call(r,t,"$&_")}var st=Si(),Ii=st.custom,Fi=Bi(Ii)?Ii:null,Ui={__proto__:null,double:'"',single:"'"},Lp={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ji.exports=function e(r,t,n,a){var u=t||{};if(D(u,"quoteStyle")&&!D(Ui,u.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(D(u,"maxStringLength")&&(typeof u.maxStringLength=="number"?u.maxStringLength<0&&u.maxStringLength!==1/0:u.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var f=D(u,"customInspect")?u.customInspect:!0;if(typeof f!="boolean"&&f!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(D(u,"indent")&&u.indent!==null&&u.indent!==" "&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(D(u,"numericSeparator")&&typeof u.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var c=u.numericSeparator;if(typeof r=="undefined")return"undefined";if(r===null)return"null";if(typeof r=="boolean")return r?"true":"false";if(typeof r=="string")return Ci(r,u);if(typeof r=="number"){if(r===0)return 1/0/r>0?"0":"-0";var y=String(r);return c?$i(r,y):y}if(typeof r=="bigint"){var h=String(r)+"n";return c?$i(r,h):h}var g=typeof u.depth=="undefined"?5:u.depth;if(typeof n=="undefined"&&(n=0),n>=g&&g>0&&typeof r=="object")return lt(r)?"[Array]":"[Object]";var d=fs(u,n);if(typeof a=="undefined")a=[];else if(Mi(a,r)>=0)return"[Circular]";function v(X,_r,pu){if(_r&&(a=kp.call(a),a.push(_r)),pu){var Gt={depth:u.depth};return D(u,"quoteStyle")&&(Gt.quoteStyle=u.quoteStyle),e(X,Gt,n+1,a)}return e(X,u,n+1,a)}if(typeof r=="function"&&!Ti(r)){var A=Zp(r),P=ne(r,v);return"[Function"+(A?": "+A:" (anonymous)")+"]"+(P.length>0?" { "+N.call(P,", ")+" }":"")}if(Bi(r)){var S=sr?G.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):pt.call(r);return typeof r=="object"&&!sr?$r(S):S}if(is(r)){for(var x="<"+Oi.call(String(r.nodeName)),$=r.attributes||[],_=0;_<$.length;_++)x+=" "+$[_].name+"="+Di(zp($[_].value),"double",u);return x+=">",r.childNodes&&r.childNodes.length&&(x+="..."),x+="</"+Oi.call(String(r.nodeName))+">",x}if(lt(r)){if(r.length===0)return"[]";var k=ne(r,v);return d&&!us(k)?"["+ct(k,d)+"]":"[ "+N.call(k,", ")+" ]"}if(Hp(r)){var yr=ne(r,v);return!("cause"in Error.prototype)&&"cause"in r&&!_i.call(r,"cause")?"{ ["+String(r)+"] "+N.call(Ei.call("[cause]: "+v(r.cause),yr),", ")+" }":yr.length===0?"["+String(r)+"]":"{ ["+String(r)+"] "+N.call(yr,", ")+" }"}if(typeof r=="object"&&f){if(Fi&&typeof r[Fi]=="function"&&st)return st(r,{depth:g-n});if(f!=="symbol"&&typeof r.inspect=="function")return r.inspect()}if(rs(r)){var Nr=[];return Ai&&Ai.call(r,function(X,_r){Nr.push(v(_r,r,!0)+" => "+v(X,r))}),Ri("Map",oe.call(r),Nr,d)}if(ns(r)){var Mt=[];return wi&&wi.call(r,function(X){Mt.push(v(X,r))}),Ri("Set",ie.call(r),Mt,d)}if(es(r))return ut("WeakMap");if(os(r))return ut("WeakSet");if(ts(r))return ut("WeakRef");if(Vp(r))return $r(v(Number(r)));if(Qp(r))return $r(v(ft.call(r)));if(Yp(r))return $r(Mp.call(r));if(Kp(r))return $r(v(String(r)));if(typeof window!="undefined"&&r===window)return"{ [object Window] }";if(typeof globalThis!="undefined"&&r===globalThis||typeof globalThis!="undefined"&&r===globalThis)return"{ [object globalThis] }";if(!Jp(r)&&!Ti(r)){var de=ne(r,v),Ct=xi?xi(r)===Object.prototype:r instanceof Object||r.constructor===Object,he=r instanceof Object?"":"null prototype",jt=!Ct&&q&&Object(r)===r&&q in r?gt.call(W(r),8,-1):he?"Object":"",fu=Ct||typeof r.constructor!="function"?"":r.constructor.name?r.constructor.name+" ":"",me=fu+(jt||he?"["+N.call(Ei.call([],jt||[],he||[]),": ")+"] ":"");return de.length===0?me+"{}":d?me+"{"+ct(de,d)+"}":me+"{ "+N.call(de,", ")+" }"}return String(r)};function Di(e,r,t){var n=t.quoteStyle||r,a=Ui[n];return a+e+a}function zp(e){return G.call(String(e),/"/g,""")}function lt(e){return W(e)==="[object Array]"&&(!q||!(typeof e=="object"&&q in e))}function Jp(e){return W(e)==="[object Date]"&&(!q||!(typeof e=="object"&&q in e))}function Ti(e){return W(e)==="[object RegExp]"&&(!q||!(typeof e=="object"&&q in e))}function Hp(e){return W(e)==="[object Error]"&&(!q||!(typeof e=="object"&&q in e))}function Kp(e){return W(e)==="[object String]"&&(!q||!(typeof e=="object"&&q in e))}function Vp(e){return W(e)==="[object Number]"&&(!q||!(typeof e=="object"&&q in e))}function Yp(e){return W(e)==="[object Boolean]"&&(!q||!(typeof e=="object"&&q in e))}function Bi(e){if(sr)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!pt)return!1;try{return pt.call(e),!0}catch(r){}return!1}function Qp(e){if(!e||typeof e!="object"||!ft)return!1;try{return ft.call(e),!0}catch(r){}return!1}var Xp=Object.prototype.hasOwnProperty||function(e){return e in this};function D(e,r){return Xp.call(e,r)}function W(e){return Cp.call(e)}function Zp(e){if(e.name)return e.name;var r=Gp.call(jp.call(e),/^function\s*([\w$]+)/);return r?r[1]:null}function Mi(e,r){if(e.indexOf)return e.indexOf(r);for(var t=0,n=e.length;t<n;t++)if(e[t]===r)return t;return-1}function rs(e){if(!oe||!e||typeof e!="object")return!1;try{oe.call(e);try{ie.call(e)}catch(r){return!0}return e instanceof Map}catch(r){}return!1}function es(e){if(!Ir||!e||typeof e!="object")return!1;try{Ir.call(e,Ir);try{Fr.call(e,Fr)}catch(r){return!0}return e instanceof WeakMap}catch(r){}return!1}function ts(e){if(!Pi||!e||typeof e!="object")return!1;try{return Pi.call(e),!0}catch(r){}return!1}function ns(e){if(!ie||!e||typeof e!="object")return!1;try{ie.call(e);try{oe.call(e)}catch(r){return!0}return e instanceof Set}catch(r){}return!1}function os(e){if(!Fr||!e||typeof e!="object")return!1;try{Fr.call(e,Fr);try{Ir.call(e,Ir)}catch(r){return!0}return e instanceof WeakSet}catch(r){}return!1}function is(e){return!e||typeof e!="object"?!1:typeof HTMLElement!="undefined"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function Ci(e,r){if(e.length>r.maxStringLength){var t=e.length-r.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return Ci(gt.call(e,0,r.maxStringLength),r)+n}var a=Lp[r.quoteStyle||"single"];a.lastIndex=0;var u=G.call(G.call(e,a,"\\$1"),/[\x00-\x1f]/g,as);return Di(u,"single",r)}function as(e){var r=e.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];return t?"\\"+t:"\\x"+(r<16?"0":"")+Wp.call(r.toString(16))}function $r(e){return"Object("+e+")"}function ut(e){return e+" { ? }"}function Ri(e,r,t,n){var a=n?ct(t,n):N.call(t,", ");return e+" ("+r+") {"+a+"}"}function us(e){for(var r=0;r<e.length;r++)if(Mi(e[r],`
|
|
11
|
+
`)>=0)return!1;return!0}function fs(e,r){var t;if(e.indent===" ")t=" ";else if(typeof e.indent=="number"&&e.indent>0)t=N.call(Array(e.indent+1)," ");else return null;return{base:t,prev:N.call(Array(r+1),t)}}function ct(e,r){if(e.length===0)return"";var t=`
|
|
12
|
+
`+r.prev+r.base;return t+N.call(e,","+t)+`
|
|
13
|
+
`+r.prev}function ne(e,r){var t=lt(e),n=[];if(t){n.length=e.length;for(var a=0;a<e.length;a++)n[a]=D(e,a)?r(e[a],e):""}var u=typeof at=="function"?at(e):[],f;if(sr){f={};for(var c=0;c<u.length;c++)f["$"+u[c]]=u[c]}for(var y in e)D(e,y)&&(t&&String(Number(y))===y&&y<e.length||sr&&f["$"+y]instanceof Symbol||(Ni.call(/[^\w$]/,y)?n.push(r(y,e)+": "+r(e[y],e)):n.push(y+": "+r(e[y],e))));if(typeof at=="function")for(var h=0;h<u.length;h++)_i.call(e,u[h])&&n.push("["+r(u[h])+"]: "+r(e[u[h]],e));return n}});var ae=l((ug,Gi)=>{"use strict";o();i();Gi.exports=function(r){return typeof r=="string"||typeof r=="symbol"}});var ki=l((sg,Wi)=>{"use strict";o();i();var ps=w(),ss=Tr(),ls=ae();Wi.exports=function(r,t){if(!ls(t))throw new ps("Assertion failed: IsPropertyKey(P) is not true, got "+ss(t));return r[t]}});var Hi=l((yg,Ji)=>{"use strict";o();i();var zi=Function.prototype.toString,lr=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ht,ue;if(typeof lr=="function"&&typeof Object.defineProperty=="function")try{ht=Object.defineProperty({},"length",{get:function(){throw ue}}),ue={},lr(function(){throw 42},null,ht)}catch(e){e!==ue&&(lr=null)}else lr=null;var cs=/^\s*class\b/,mt=function(r){try{var t=zi.call(r);return cs.test(t)}catch(n){return!1}},dt=function(r){try{return mt(r)?!1:(zi.call(r),!0)}catch(t){return!1}},fe=Object.prototype.toString,ys="[object Object]",vs="[object Function]",gs="[object GeneratorFunction]",ds="[object HTMLAllCollection]",hs="[object HTML document.all class]",ms="[object HTMLCollection]",bs=typeof Symbol=="function"&&!!Symbol.toStringTag,Ss=!(0 in[,]),bt=function(){return!1};typeof document=="object"&&(Li=document.all,fe.call(Li)===fe.call(document.all)&&(bt=function(r){if((Ss||!r)&&(typeof r=="undefined"||typeof r=="object"))try{var t=fe.call(r);return(t===ds||t===hs||t===ms||t===ys)&&r("")==null}catch(n){}return!1}));var Li;Ji.exports=lr?function(r){if(bt(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;try{lr(r,null,ht)}catch(t){if(t!==ue)return!1}return!mt(r)&&dt(r)}:function(r){if(bt(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;if(bs)return dt(r);if(mt(r))return!1;var t=fe.call(r);return t!==vs&&t!==gs&&!/^\[object HTML/.test(t)?!1:dt(r)}});var St=l((dg,Ki)=>{"use strict";o();i();Ki.exports=Hi()});var Xi=l((bg,Qi)=>{"use strict";o();i();var Vi=w(),As=ki(),ws=St(),Ps=ae(),Yi=Tr();Qi.exports=function(r,t){if(!Ps(t))throw new Vi("Assertion failed: IsPropertyKey(P) is not true");var n=As(r,t);if(n!=null){if(!ws(n))throw new Vi(Yi(t)+" is not a function: "+Yi(n));return n}}});var ra=l((wg,Zi)=>{"use strict";o();i();var Os=Te();Zi.exports=function(){return Os()&&!!Symbol.toStringTag}});var Ot=l((Eg,oa)=>{"use strict";o();i();var At=I(),ea=ra()(),ta,na,wt,Pt;ea&&(ta=At("Object.prototype.hasOwnProperty"),na=At("RegExp.prototype.exec"),wt={},pe=function(){throw wt},Pt={toString:pe,valueOf:pe},typeof Symbol.toPrimitive=="symbol"&&(Pt[Symbol.toPrimitive]=pe));var pe,Es=At("Object.prototype.toString"),qs=Object.getOwnPropertyDescriptor,xs="[object RegExp]";oa.exports=ea?function(r){if(!r||typeof r!="object")return!1;var t=qs(r,"lastIndex"),n=t&&ta(t,"value");if(!n)return!1;try{na(r,Pt)}catch(a){return a===wt}}:function(r){return!r||typeof r!="object"&&typeof r!="function"?!1:Es(r)===xs}});var Et=l(($g,ia)=>{"use strict";o();i();var $s=I(),Is=Ot(),Fs=$s("RegExp.prototype.exec"),Ts=w();ia.exports=function(r){if(!Is(r))throw new Ts("`regex` must be a RegExp");return function(n){return Fs(r,n)!==null}}});var ua=l((Tg,aa)=>{"use strict";o();i();aa.exports=function(r,t){for(var n=0;n<r.length;n+=1)if(!t(r[n],n,r))return!1;return!0}});var pa=l((_g,fa)=>{"use strict";o();i();fa.exports=function(r){if(r===null)return"Null";if(typeof r=="undefined")return"Undefined";if(typeof r=="function"||typeof r=="object")return"Object";if(typeof r=="number")return"Number";if(typeof r=="boolean")return"Boolean";if(typeof r=="string")return"String"}});var qt=l((Bg,sa)=>{"use strict";o();i();var Rs=pa();sa.exports=function(r){return typeof r=="symbol"?"Symbol":typeof r=="bigint"?"BigInt":Rs(r)}});var ya=l((jg,ca)=>{"use strict";o();i();var la=w(),Ns=Tr(),_s=ae(),Us=qt();ca.exports=function(r,t){if(Us(r)!=="Object")throw new la("Assertion failed: Type(O) is not Object");if(!_s(t))throw new la("Assertion failed: IsPropertyKey(P) is not true, got "+Ns(t));return r[t]}});var ga=l((kg,va)=>{"use strict";o();i();var Ds=F();va.exports=Ds("%Math.min%")});var xt=l((Jg,da)=>{"use strict";o();i();da.exports=Number.isNaN||function(r){return r!==r}});var ma=l((Vg,ha)=>{"use strict";o();i();var Bs=xt();ha.exports=function(e){return(typeof e=="number"||typeof e=="bigint")&&!Bs(e)&&e!==1/0&&e!==-1/0}});var se=l((Xg,Sa)=>{"use strict";o();i();var ba=F(),Ms=ba("%Math.abs%"),Cs=ba("%Math.floor%"),js=xt(),Gs=ma();Sa.exports=function(r){if(typeof r!="number"||js(r)||!Gs(r))return!1;var t=Ms(r);return Cs(t)===t}});var It=l((ed,Aa)=>{"use strict";o();i();var Ws=I(),$t=w(),ks=se(),Ls=Ws("String.prototype.slice");Aa.exports=function(r,t,n){if(typeof r!="string")throw new $t("Assertion failed: `string` must be a String");if(typeof t!="string")throw new $t("Assertion failed: `searchValue` must be a String");if(!ks(n)||n<0)throw new $t("Assertion failed: `fromIndex` must be a non-negative integer");var a=r.length;if(t===""&&n<=a)return n;for(var u=t.length,f=n;f<=a-u;f+=1){var c=Ls(r,f,f+u);if(c===t)return f}return-1}});var le=l((od,wa)=>{"use strict";o();i();var zs=w();wa.exports=function(r){if(r==null)throw new zs(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r}});var ce=l((ud,Pa)=>{"use strict";o();i();var Js=F(),Hs=Js("%String%"),Ks=w();Pa.exports=function(r){if(typeof r=="symbol")throw new Ks("Cannot convert a Symbol value to a string");return Hs(r)}});var Ft=l((sd,qa)=>{"use strict";o();i();var Vs=le(),Ys=ce(),Qs=I(),Oa=Qs("String.prototype.replace"),Ea=/^\s$/.test("\u180E"),Xs=Ea?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,Zs=Ea?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;qa.exports=function(){var r=Ys(Vs(this));return Oa(Oa(r,Xs,""),Zs,"")}});var Tt=l((yd,$a)=>{"use strict";o();i();var rl=Ft(),xa="\u200B",cr="\u180E";$a.exports=function(){return String.prototype.trim&&xa.trim()===xa&&cr.trim()===cr&&("_"+cr).trim()==="_"+cr&&(cr+"_").trim()===cr+"_"?String.prototype.trim:rl}});var Fa=l((dd,Ia)=>{"use strict";o();i();var el=Ar(),tl=Tt();Ia.exports=function(){var r=tl();return el(String.prototype,{trim:r},{trim:function(){return String.prototype.trim!==r}}),r}});var _a=l((bd,Na)=>{"use strict";o();i();var nl=Hr(),ol=Ar(),il=le(),al=Ft(),Ta=Tt(),ul=Fa(),fl=nl(Ta()),Ra=function(r){return il(r),fl(r)};ol(Ra,{getPolyfill:Ta,implementation:al,shim:ul});Na.exports=Ra});var Ma=l((wd,Ba)=>{"use strict";o();i();var Nt=F(),Rt=Nt("%Number%"),pl=Nt("%RegExp%"),sl=w(),Ua=Nt("%parseInt%"),ll=I(),ye=Et(),Da=ll("String.prototype.slice"),cl=ye(/^0b[01]+$/i),yl=ye(/^0o[0-7]+$/i),vl=ye(/^[-+]0x[0-9a-f]+$/i),gl=["\x85","\u200B","\uFFFE"].join(""),dl=new pl("["+gl+"]","g"),hl=ye(dl),ml=_a();Ba.exports=function e(r){if(typeof r!="string")throw new sl("Assertion failed: `argument` is not a String");if(cl(r))return Rt(Ua(Da(r,2),2));if(yl(r))return Rt(Ua(Da(r,2),8));if(hl(r)||vl(r))return NaN;var t=ml(r);return t!==r?e(t):Rt(r)}});var Ga=l((Ed,ja)=>{"use strict";o();i();var bl=w(),Ca=se(),Sl=I(),Al=Sl("String.prototype.slice");ja.exports=function(r,t,n){if(typeof r!="string"||!Ca(t)||arguments.length>2&&!Ca(n))throw new bl("`S` must be a String, and `inclusiveStart` and `exclusiveEnd` must be integers");return Al(r,t,arguments.length>2?n:r.length)}});var ka=l(($d,Wa)=>{"use strict";o();i();Wa.exports=function(r){return typeof r=="string"||typeof r=="undefined"}});var za=l((Td,La)=>{"use strict";o();i();var wl=I()("String.prototype.slice");La.exports=function(r,t){return r===t?!0:r.length>t.length?!1:wl(t,0,r.length)===r}});var Ya=l((_d,Va)=>{"use strict";o();i();var B=w(),Ka=Et(),Pl=ua(),_t=Tr(),Ol=ya(),El=Je(),ql=ga(),xl=It(),Ja=Ma(),M=Ga(),$l=ce(),Ha=qt(),Il=se(),Fl=ka(),Rr=za(),Tl=Ka(/^\$[0-9]/),Rl=Ka(/^\$[0-9][0-9]/);Va.exports=function(r,t,n,a,u,f){if(typeof r!="string")throw new B("Assertion failed: `matched` must be a String");if(typeof t!="string")throw new B("Assertion failed: `str` must be a String");if(!Il(n)||n<0)throw new B("Assertion failed: `position` must be a nonnegative integer, got "+_t(n));if(!El(a)||!Pl(a,Fl))throw new B("Assertion failed: `captures` must be a possibly-empty List of Strings or `undefined`, got "+_t(a));if(typeof u!="undefined"&&Ha(u)!=="Object")throw new B("Assertion failed: `namedCaptures` must be `undefined` or an Object");if(typeof f!="string")throw new B("Assertion failed: `replacementTemplate` must be a String");var c=t.length;if(n>c)throw new B("Assertion failed: position > stringLength, got "+_t(n));for(var y=f,h="";y!=="";){var g,d,v;if(Rr("$$",y))g="$$",d="$";else if(Rr("$`",y))g="$`",d=M(t,0,n);else if(Rr("$&",y))g="$&",d=r;else if(Rr("$'",y)){g="$'";var A=r.length,P=n+A;d=M(t,ql(P,c))}else if(Tl(y)){var S=Rl(y)?2:1,x=M(y,1,1+S),$=Ja(x);if($<0||$>99)throw new B("Assertion failed: `index` must be >= 0 and <= 99");var _=a.length;$>_&&S===2&&(S=1,x=M(x,0,1),$=Ja(x)),g=M(y,0,1+S),1<=$&&$<=_?(v=a[$-1],typeof v=="undefined"?d="":d=v):d=g}else if(Rr("$<",y)){var k=xl(y,">",0);if(k===-1||typeof u=="undefined")g="$<",d=g;else{g=M(y,0,k+1);var yr=M(y,2,k);if(Ha(u)!=="Object")throw new B("Assertion failed: Type(namedCaptures) is not Object");v=Ol(u,yr),typeof v=="undefined"?d="":d=$l(v)}}else g=M(y,0,1),d=g;var Nr=g.length;y=M(y,Nr),h+=d}return h}});var Dt=l((Bd,ru)=>{"use strict";o();i();var Qa=ei(),Nl=Xi(),_l=Ya(),Ul=St(),Dl=le(),ve=ce(),Xa=It(),Bl=F(),ge=I(),Ml=Ee()(),Cl=Ot(),jl=Bl("%Math.max%"),Za=w(),Gl=ge("Array.prototype.push"),Ut=ge("String.prototype.slice"),Wl=ge("String.prototype.indexOf"),kl=ge("String.prototype.replace");ru.exports=function(r,t){var n=Dl(this),a=Cl(r);if(a&&Wl(Ut(r,r.source.length+2),"g")===-1)throw new Za("use .replace for a non-global regex. NOTE: this may be allowed in the future.");if(Ml&&Symbol.replace){if(r!=null){var u=Nl(r,Symbol.replace);if(typeof u!="undefined")return Qa(u,r,[n,t])}}else if(a)return kl(n,r,t);var f=ve(n),c=ve(r),y=Ul(t);y||(t=ve(t));for(var h=c.length,g=jl(1,h),d=[],v=Xa(f,c,0);v!==-1;)Gl(d,v),v=Xa(f,c,v+g);for(var A=0,P="",S=0;S<d.length;S+=1){var x;if(y)x=ve(Qa(t,void 0,[c,d[S],f]));else{if(typeof t!="string")throw new Za("Assertion failed: `replaceValue` should be a string at this point");var $=[];x=_l(c,f,d[S],$,void 0,t)}var _=Ut(f,A,d[S]);P+=_+x,A=d[S]+h}return A<f.length&&(P+=Ut(f,A)),P}});var Bt=l((jd,eu)=>{"use strict";o();i();var Ll=Dt();eu.exports=function(){return String.prototype.replaceAll||Ll}});var nu=l((kd,tu)=>{"use strict";o();i();var zl=Ar(),Jl=Bt();tu.exports=function(){var r=Jl();return zl(String.prototype,{replaceAll:r},{replaceAll:function(){return String.prototype.replaceAll!==r}}),r}});var uu=l((Jd,au)=>{"use strict";o();i();var Hl=Hr(),Kl=Ar(),ou=Dt(),Vl=Bt(),Yl=nu(),iu=Hl(ou);Kl(iu,{getPolyfill:Vl,implementation:ou,shim:Yl});au.exports=iu});o();i();var Vd=lu(uu(),1);export{yu as DynamicSnippetsGenerator};
|