@fern-api/typescript-dynamic-snippets 0.0.6 → 0.0.7
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/EndpointSnippetGenerator.cjs +17 -3539
- package/cjs/context/DynamicSnippetsGeneratorContext.cjs +17 -4863
- package/cjs/context/DynamicTypeLiteralMapper.cjs +17 -3493
- package/cjs/context/FilePropertyMapper.cjs +17 -3073
- package/cjs/index.cjs +29 -8811
- package/esm/DynamicSnippetsGenerator.js +1 -12
- package/esm/EndpointSnippetGenerator.js +1 -8
- package/esm/chunk-25TNFA5L.js +14 -0
- package/esm/chunk-736FTN3M.js +1 -0
- package/esm/chunk-CQ55KPJT.js +1 -0
- package/esm/chunk-LX5O4JB7.js +1 -0
- package/esm/chunk-SQLJANKO.js +1 -0
- package/esm/chunk-V6G7NZKW.js +1 -0
- package/esm/chunk-YD6EIACZ.js +27 -0
- package/esm/context/DynamicSnippetsGeneratorContext.js +1 -10
- package/esm/context/DynamicTypeLiteralMapper.js +1 -8
- package/esm/context/FilePropertyMapper.js +1 -7
- 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 Hi}from"./chunk-CQ55KPJT.js";import"./chunk-V6G7NZKW.js";import"./chunk-25TNFA5L.js";import"./chunk-SQLJANKO.js";import"./chunk-736FTN3M.js";import"./chunk-LX5O4JB7.js";import{e as ne,f as y,g as ki,h as zi,i as ji,k as o,l as s,m as i}from"./chunk-YD6EIACZ.js";var ht=y((Jl,vt)=>{"use strict";o();i();var Ji="Function.prototype.bind called on incompatible ",Ki=Object.prototype.toString,Qi=Math.max,Yi="[object Function]",gt=function(r,t){for(var n=[],u=0;u<r.length;u+=1)n[u]=r[u];for(var a=0;a<t.length;a+=1)n[a+r.length]=t[a];return n},Xi=function(r,t){for(var n=[],u=t||0,a=0;u<r.length;u+=1,a+=1)n[a]=r[u];return n},Zi=function(e,r){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=r);return t};vt.exports=function(r){var t=this;if(typeof t!="function"||Ki.apply(t)!==Yi)throw new TypeError(Ji+t);for(var n=Xi(arguments,1),u,a=function(){if(this instanceof u){var v=t.apply(this,gt(n,arguments));return Object(v)===v?v:this}return t.apply(r,gt(n,arguments))},f=Qi(0,t.length-n.length),c=[],l=0;l<f;l++)c[l]="$"+l;if(u=Function("binder","return function ("+Zi(c,",")+"){ return binder.apply(this,arguments); }")(a),t.prototype){var m=function(){};m.prototype=t.prototype,u.prototype=new m,m.prototype=null}return u}});var Or=y((Yl,dt)=>{"use strict";o();i();var Vi=ht();dt.exports=Function.prototype.bind||Vi});var St=y((Vl,mt)=>{"use strict";o();i();mt.exports=Error});var wt=y((ts,bt)=>{"use strict";o();i();bt.exports=EvalError});var Ot=y((is,At)=>{"use strict";o();i();At.exports=RangeError});var xt=y((fs,qt)=>{"use strict";o();i();qt.exports=ReferenceError});var oe=y((ps,$t)=>{"use strict";o();i();$t.exports=SyntaxError});var w=y((gs,Et)=>{"use strict";o();i();Et.exports=TypeError});var It=y((ds,Pt)=>{"use strict";o();i();Pt.exports=URIError});var ie=y((bs,Tt)=>{"use strict";o();i();Tt.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 u=42;r[t]=u;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 a=Object.getOwnPropertySymbols(r);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(r,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(r,t);if(f.value!==u||f.enumerable!==!0)return!1}return!0}});var ae=y((Os,Rt)=>{"use strict";o();i();var Ft=typeof Symbol!="undefined"&&Symbol,ra=ie();Rt.exports=function(){return typeof Ft!="function"||typeof Symbol!="function"||typeof Ft("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:ra()}});var Dt=y(($s,Nt)=>{"use strict";o();i();var ue={__proto__:null,foo:{}},ea=Object;Nt.exports=function(){return{__proto__:ue}.foo===ue.foo&&!(ue instanceof ea)}});var Bt=y((Is,_t)=>{"use strict";o();i();var ta=Function.prototype.call,na=Object.prototype.hasOwnProperty,oa=Or();_t.exports=oa.call(ta,na)});var E=y((Rs,Lt)=>{"use strict";o();i();var d,ia=St(),aa=wt(),ua=Ot(),fa=xt(),Z=oe(),X=w(),la=It(),Wt=Function,fe=function(e){try{return Wt('"use strict"; return ('+e+").constructor;")()}catch(r){}},G=Object.getOwnPropertyDescriptor;if(G)try{G({},"")}catch(e){G=null}var le=function(){throw new X},sa=G?function(){try{return arguments.callee,le}catch(e){try{return G(arguments,"callee").get}catch(r){return le}}}():le,Q=ae()(),pa=Dt()(),b=Object.getPrototypeOf||(pa?function(e){return e.__proto__}:null),Y={},ca=typeof Uint8Array=="undefined"||!b?d:b(Uint8Array),k={__proto__:null,"%AggregateError%":typeof AggregateError=="undefined"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?d:ArrayBuffer,"%ArrayIteratorPrototype%":Q&&b?b([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":Y,"%AsyncGenerator%":Y,"%AsyncGeneratorFunction%":Y,"%AsyncIteratorPrototype%":Y,"%Atomics%":typeof Atomics=="undefined"?d:Atomics,"%BigInt%":typeof BigInt=="undefined"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":ia,"%eval%":eval,"%EvalError%":aa,"%Float32Array%":typeof Float32Array=="undefined"?d:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?d:FinalizationRegistry,"%Function%":Wt,"%GeneratorFunction%":Y,"%Int8Array%":typeof Int8Array=="undefined"?d:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?d:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Q&&b?b(b([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map=="undefined"?d:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!Q||!b?d:b(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?d:Promise,"%Proxy%":typeof Proxy=="undefined"?d:Proxy,"%RangeError%":ua,"%ReferenceError%":fa,"%Reflect%":typeof Reflect=="undefined"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?d:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!Q||!b?d:b(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Q&&b?b(""[Symbol.iterator]()):d,"%Symbol%":Q?Symbol:d,"%SyntaxError%":Z,"%ThrowTypeError%":sa,"%TypedArray%":ca,"%TypeError%":X,"%Uint8Array%":typeof Uint8Array=="undefined"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?d:Uint32Array,"%URIError%":la,"%WeakMap%":typeof WeakMap=="undefined"?d:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?d:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?d:WeakSet};if(b)try{null.error}catch(e){Mt=b(b(e)),k["%Error.prototype%"]=Mt}var Mt,ya=function e(r){var t;if(r==="%AsyncFunction%")t=fe("async function () {}");else if(r==="%GeneratorFunction%")t=fe("function* () {}");else if(r==="%AsyncGeneratorFunction%")t=fe("async function* () {}");else if(r==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(r==="%AsyncIteratorPrototype%"){var u=e("%AsyncGenerator%");u&&b&&(t=b(u.prototype))}return k[r]=t,t},Ct={__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"]},ar=Or(),qr=Bt(),ga=ar.call(Function.call,Array.prototype.concat),va=ar.call(Function.apply,Array.prototype.splice),Ut=ar.call(Function.call,String.prototype.replace),xr=ar.call(Function.call,String.prototype.slice),ha=ar.call(Function.call,RegExp.prototype.exec),da=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ma=/\\(\\)?/g,Sa=function(r){var t=xr(r,0,1),n=xr(r,-1);if(t==="%"&&n!=="%")throw new Z("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new Z("invalid intrinsic syntax, expected opening `%`");var u=[];return Ut(r,da,function(a,f,c,l){u[u.length]=c?Ut(l,ma,"$1"):f||a}),u},ba=function(r,t){var n=r,u;if(qr(Ct,n)&&(u=Ct[n],n="%"+u[0]+"%"),qr(k,n)){var a=k[n];if(a===Y&&(a=ya(n)),typeof a=="undefined"&&!t)throw new X("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:u,name:n,value:a}}throw new Z("intrinsic "+r+" does not exist!")};Lt.exports=function(r,t){if(typeof r!="string"||r.length===0)throw new X("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new X('"allowMissing" argument must be a boolean');if(ha(/^%?[^%]*%?$/,r)===null)throw new Z("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Sa(r),u=n.length>0?n[0]:"",a=ba("%"+u+"%",t),f=a.name,c=a.value,l=!1,m=a.alias;m&&(u=m[0],va(n,ga([0,1],m)));for(var v=1,h=!0;v<n.length;v+=1){var g=n[v],A=xr(g,0,1),x=xr(g,-1);if((A==='"'||A==="'"||A==="`"||x==='"'||x==="'"||x==="`")&&A!==x)throw new Z("property names with quotes must have matching quotes");if((g==="constructor"||!h)&&(l=!0),u+="."+g,f="%"+u+"%",qr(k,f))c=k[f];else if(c!=null){if(!(g in c)){if(!t)throw new X("base intrinsic for "+r+" exists, but the property is not available.");return}if(G&&v+1>=n.length){var S=G(c,g);h=!!S,h&&"get"in S&&!("originalValue"in S.get)?c=S.get:c=c[g]}else h=qr(c,g),c=c[g];h&&!l&&(k[f]=c)}}return c}});var Er=y((_s,Gt)=>{"use strict";o();i();var wa=E(),$r=wa("%Object.defineProperty%",!0)||!1;if($r)try{$r({},"a",{value:1})}catch(e){$r=!1}Gt.exports=$r});var se=y((Cs,kt)=>{"use strict";o();i();var Aa=E(),Pr=Aa("%Object.getOwnPropertyDescriptor%",!0);if(Pr)try{Pr([],"length")}catch(e){Pr=null}kt.exports=Pr});var pe=y((Ls,Ht)=>{"use strict";o();i();var zt=Er(),Oa=oe(),V=w(),jt=se();Ht.exports=function(r,t,n){if(!r||typeof r!="object"&&typeof r!="function")throw new V("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new V("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new V("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new V("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new V("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new V("`loose`, if provided, must be a boolean");var u=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,c=arguments.length>6?arguments[6]:!1,l=!!jt&&jt(r,t);if(zt)zt(r,t,{configurable:f===null&&l?l.configurable:!f,enumerable:u===null&&l?l.enumerable:!u,value:n,writable:a===null&&l?l.writable:!a});else if(c||!u&&!a&&!f)r[t]=n;else throw new Oa("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var ye=y((zs,Kt)=>{"use strict";o();i();var ce=Er(),Jt=function(){return!!ce};Jt.hasArrayLengthDefineBug=function(){if(!ce)return null;try{return ce([],"length",{value:1}).length!==1}catch(r){return!0}};Kt.exports=Jt});var Vt=y((Js,Zt)=>{"use strict";o();i();var qa=E(),Qt=pe(),xa=ye()(),Yt=se(),Xt=w(),$a=qa("%Math.floor%");Zt.exports=function(r,t){if(typeof r!="function")throw new Xt("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||$a(t)!==t)throw new Xt("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],u=!0,a=!0;if("length"in r&&Yt){var f=Yt(r,"length");f&&!f.configurable&&(u=!1),f&&!f.writable&&(a=!1)}return(u||a||!n)&&(xa?Qt(r,"length",t,!0,!0):Qt(r,"length",t)),r}});var Fr=y((Ys,Ir)=>{"use strict";o();i();var ge=Or(),Tr=E(),Ea=Vt(),Pa=w(),tn=Tr("%Function.prototype.apply%"),nn=Tr("%Function.prototype.call%"),on=Tr("%Reflect.apply%",!0)||ge.call(nn,tn),rn=Er(),Ia=Tr("%Math.max%");Ir.exports=function(r){if(typeof r!="function")throw new Pa("a function is required");var t=on(ge,nn,arguments);return Ea(t,1+Ia(0,r.length-(arguments.length-1)),!0)};var en=function(){return on(ge,tn,arguments)};rn?rn(Ir.exports,"apply",{value:en}):Ir.exports.apply=en});var ve=y((Vs,un)=>{"use strict";o();i();var an=Object.prototype.toString;un.exports=function(r){var t=an.call(r),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&an.call(r.callee)==="[object Function]"),n}});var hn=y((tp,vn)=>{"use strict";o();i();var gn;Object.keys||(ur=Object.prototype.hasOwnProperty,he=Object.prototype.toString,fn=ve(),de=Object.prototype.propertyIsEnumerable,ln=!de.call({toString:null},"toString"),sn=de.call(function(){},"prototype"),fr=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Rr=function(e){var r=e.constructor;return r&&r.prototype===e},pn={$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},cn=function(){if(typeof window=="undefined")return!1;for(var e in window)try{if(!pn["$"+e]&&ur.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{Rr(window[e])}catch(r){return!0}}catch(r){return!0}return!1}(),yn=function(e){if(typeof window=="undefined"||!cn)return Rr(e);try{return Rr(e)}catch(r){return!1}},gn=function(r){var t=r!==null&&typeof r=="object",n=he.call(r)==="[object Function]",u=fn(r),a=t&&he.call(r)==="[object String]",f=[];if(!t&&!n&&!u)throw new TypeError("Object.keys called on a non-object");var c=sn&&n;if(a&&r.length>0&&!ur.call(r,0))for(var l=0;l<r.length;++l)f.push(String(l));if(u&&r.length>0)for(var m=0;m<r.length;++m)f.push(String(m));else for(var v in r)!(c&&v==="prototype")&&ur.call(r,v)&&f.push(String(v));if(ln)for(var h=yn(r),g=0;g<fr.length;++g)!(h&&fr[g]==="constructor")&&ur.call(r,fr[g])&&f.push(fr[g]);return f});var ur,he,fn,de,ln,sn,fr,Rr,pn,cn,yn;vn.exports=gn});var bn=y((ip,Sn)=>{"use strict";o();i();var Ta=Array.prototype.slice,Fa=ve(),dn=Object.keys,Nr=dn?function(r){return dn(r)}:hn(),mn=Object.keys;Nr.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 Fa(n)?mn(Ta.call(n)):mn(n)})}else Object.keys=Nr;return Object.keys||Nr};Sn.exports=Nr});var lr=y((fp,qn)=>{"use strict";o();i();var Ra=bn(),Na=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Da=Object.prototype.toString,_a=Array.prototype.concat,wn=pe(),Ba=function(e){return typeof e=="function"&&Da.call(e)==="[object Function]"},An=ye()(),Ma=function(e,r,t,n){if(r in e){if(n===!0){if(e[r]===t)return}else if(!Ba(n)||!n())return}An?wn(e,r,t,!0):wn(e,r,t)},On=function(e,r){var t=arguments.length>2?arguments[2]:{},n=Ra(r);Na&&(n=_a.call(n,Object.getOwnPropertySymbols(r)));for(var u=0;u<n.length;u+=1)Ma(e,n[u],r[n[u]],t[n[u]])};On.supportsDescriptors=!!An;qn.exports=On});var P=y((pp,En)=>{"use strict";o();i();var xn=E(),$n=Fr(),Ca=$n(xn("String.prototype.indexOf"));En.exports=function(r,t){var n=xn(r,!!t);return typeof n=="function"&&Ca(r,".prototype.")>-1?$n(n):n}});var Tn=y((gp,In)=>{"use strict";o();i();var Ua=E(),Pn=Ua("%Array%"),Wa=!Pn.isArray&&P()("Object.prototype.toString");In.exports=Pn.isArray||function(r){return Wa(r)==="[object Array]"}});var me=y((dp,Fn)=>{"use strict";o();i();Fn.exports=Tn()});var Nn=y((bp,Rn)=>{"use strict";o();i();var La=E(),Ga=P(),ka=w(),za=me(),ja=La("%Reflect.apply%",!0)||Ga("Function.prototype.apply");Rn.exports=function(r,t){var n=arguments.length>2?arguments[2]:[];if(!za(n))throw new ka("Assertion failed: optional `argumentsList`, if provided, must be a List");return ja(r,t,n)}});function Dn(){throw new Error("setTimeout has not been defined")}function _n(){throw new Error("clearTimeout has not been defined")}function Bn(e){if(M===setTimeout)return setTimeout(e,0);if((M===Dn||!M)&&setTimeout)return M=setTimeout,setTimeout(e,0);try{return M(e,0)}catch(r){try{return M.call(null,e,0)}catch(t){return M.call(this,e,0)}}}function Ha(e){if(C===clearTimeout)return clearTimeout(e);if((C===_n||!C)&&clearTimeout)return C=clearTimeout,clearTimeout(e);try{return C(e)}catch(r){try{return C.call(null,e)}catch(t){return C.call(this,e)}}}function Ja(){!er||!z||(er=!1,z.length?N=z.concat(N):Dr=-1,N.length&&Mn())}function Mn(){if(!er){var e=Bn(Ja);er=!0;for(var r=N.length;r;){for(z=N,N=[];++Dr<r;)z&&z[Dr].run();Dr=-1,r=N.length}z=null,er=!1,Ha(e)}}function Ka(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];N.push(new Cn(e,r)),N.length===1&&!er&&Bn(Mn)}function Cn(e,r){this.fun=e,this.array=r}function j(){}function pu(e){throw new Error("process.binding is not supported")}function cu(){return"/"}function yu(e){throw new Error("process.chdir is not supported")}function gu(){return 0}function hu(e){var r=vu.call(rr)*.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 mu(){var e=new Date,r=e-du;return r/1e3}var M,C,N,er,z,Dr,Qa,Ya,Xa,Za,Va,ru,eu,tu,nu,ou,iu,au,uu,fu,lu,su,rr,vu,du,Su,sr,Un=ne(()=>{"use strict";o();i();M=Dn,C=_n;typeof globalThis.setTimeout=="function"&&(M=setTimeout);typeof globalThis.clearTimeout=="function"&&(C=clearTimeout);N=[],er=!1,Dr=-1;Cn.prototype.run=function(){this.fun.apply(null,this.array)};Qa="browser",Ya="browser",Xa=!0,Za={},Va=[],ru="",eu={},tu={},nu={};ou=j,iu=j,au=j,uu=j,fu=j,lu=j,su=j;rr=globalThis.performance||{},vu=rr.now||rr.mozNow||rr.msNow||rr.oNow||rr.webkitNow||function(){return new Date().getTime()};du=new Date;Su={nextTick:Ka,title:Qa,browser:Xa,env:Za,argv:Va,version:ru,versions:eu,on:ou,addListener:iu,once:au,off:uu,removeListener:fu,removeAllListeners:lu,emit:su,binding:pu,cwd:cu,chdir:yu,umask:gu,hrtime:hu,platform:Ya,release:tu,config:nu,uptime:mu},sr=Su});var Se,be,Wn=ne(()=>{"use strict";o();i();typeof Object.create=="function"?Se=function(r,t){r.super_=t,r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}})}:Se=function(r,t){r.super_=t;var n=function(){};n.prototype=t.prototype,r.prototype=new n,r.prototype.constructor=r};be=Se});var Kn={};ki(Kn,{_extend:()=>Ie,debuglog:()=>Ln,default:()=>Iu,deprecate:()=>xe,format:()=>Cr,inherits:()=>be,inspect:()=>T,isArray:()=>$e,isBoolean:()=>Ur,isBuffer:()=>jn,isDate:()=>Mr,isError:()=>cr,isFunction:()=>yr,isNull:()=>gr,isNullOrUndefined:()=>Gn,isNumber:()=>Ee,isObject:()=>H,isPrimitive:()=>zn,isRegExp:()=>pr,isString:()=>vr,isSymbol:()=>kn,isUndefined:()=>I,log:()=>Hn});function Cr(e){if(!vr(e)){for(var r=[],t=0;t<arguments.length;t++)r.push(T(arguments[t]));return r.join(" ")}for(var t=1,n=arguments,u=n.length,a=String(e).replace(bu,function(c){if(c==="%%")return"%";if(t>=u)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(l){return"[Circular]"}default:return c}}),f=n[t];t<u;f=n[++t])gr(f)||!H(f)?a+=" "+f:a+=" "+T(f);return a}function xe(e,r){if(I(globalThis.process))return function(){return xe(e,r).apply(this,arguments)};if(sr.noDeprecation===!0)return e;var t=!1;function n(){if(!t){if(sr.throwDeprecation)throw new Error(r);sr.traceDeprecation?console.trace(r):console.error(r),t=!0}return e.apply(this,arguments)}return n}function Ln(e){if(I(we)&&(we=sr.env.NODE_DEBUG||""),e=e.toUpperCase(),!_r[e])if(new RegExp("\\b"+e+"\\b","i").test(we)){var r=0;_r[e]=function(){var t=Cr.apply(null,arguments);console.error("%s %d: %s",e,r,t)}}else _r[e]=function(){};return _r[e]}function T(e,r){var t={seen:[],stylize:Au};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),Ur(r)?t.showHidden=r:r&&Ie(t,r),I(t.showHidden)&&(t.showHidden=!1),I(t.depth)&&(t.depth=2),I(t.colors)&&(t.colors=!1),I(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=wu),Br(t,e,t.depth)}function wu(e,r){var t=T.styles[r];return t?"\x1B["+T.colors[t][0]+"m"+e+"\x1B["+T.colors[t][1]+"m":e}function Au(e,r){return e}function Ou(e){var r={};return e.forEach(function(t,n){r[t]=!0}),r}function Br(e,r,t){if(e.customInspect&&r&&yr(r.inspect)&&r.inspect!==T&&!(r.constructor&&r.constructor.prototype===r)){var n=r.inspect(t,e);return vr(n)||(n=Br(e,n,t)),n}var u=qu(e,r);if(u)return u;var a=Object.keys(r),f=Ou(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),cr(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return Ae(r);if(a.length===0){if(yr(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(Mr(r))return e.stylize(Date.prototype.toString.call(r),"date");if(cr(r))return Ae(r)}var l="",m=!1,v=["{","}"];if($e(r)&&(m=!0,v=["[","]"]),yr(r)){var h=r.name?": "+r.name:"";l=" [Function"+h+"]"}if(pr(r)&&(l=" "+RegExp.prototype.toString.call(r)),Mr(r)&&(l=" "+Date.prototype.toUTCString.call(r)),cr(r)&&(l=" "+Ae(r)),a.length===0&&(!m||r.length==0))return v[0]+l+v[1];if(t<0)return pr(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special");e.seen.push(r);var g;return m?g=xu(e,r,t,f,a):g=a.map(function(A){return qe(e,r,t,f,A,m)}),e.seen.pop(),$u(g,l,v)}function qu(e,r){if(I(r))return e.stylize("undefined","undefined");if(vr(r)){var t="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(t,"string")}if(Ee(r))return e.stylize(""+r,"number");if(Ur(r))return e.stylize(""+r,"boolean");if(gr(r))return e.stylize("null","null")}function Ae(e){return"["+Error.prototype.toString.call(e)+"]"}function xu(e,r,t,n,u){for(var a=[],f=0,c=r.length;f<c;++f)Jn(r,String(f))?a.push(qe(e,r,t,n,String(f),!0)):a.push("");return u.forEach(function(l){l.match(/^\d+$/)||a.push(qe(e,r,t,n,l,!0))}),a}function qe(e,r,t,n,u,a){var f,c,l;if(l=Object.getOwnPropertyDescriptor(r,u)||{value:r[u]},l.get?l.set?c=e.stylize("[Getter/Setter]","special"):c=e.stylize("[Getter]","special"):l.set&&(c=e.stylize("[Setter]","special")),Jn(n,u)||(f="["+u+"]"),c||(e.seen.indexOf(l.value)<0?(gr(t)?c=Br(e,l.value,null):c=Br(e,l.value,t-1),c.indexOf(`
|
|
2
|
+
`)>-1&&(a?c=c.split(`
|
|
3
|
+
`).map(function(m){return" "+m}).join(`
|
|
4
|
+
`).substr(2):c=`
|
|
5
|
+
`+c.split(`
|
|
6
|
+
`).map(function(m){return" "+m}).join(`
|
|
7
|
+
`))):c=e.stylize("[Circular]","special")),I(f)){if(a&&u.match(/^\d+$/))return c;f=JSON.stringify(""+u),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 $u(e,r,t){var n=0,u=e.reduce(function(a,f){return n++,f.indexOf(`
|
|
8
|
+
`)>=0&&n++,a+f.replace(/\u001b\[\d\d?m/g,"").length+1},0);return u>60?t[0]+(r===""?"":r+`
|
|
9
|
+
`)+" "+e.join(`,
|
|
10
|
+
`)+" "+t[1]:t[0]+r+" "+e.join(", ")+" "+t[1]}function $e(e){return Array.isArray(e)}function Ur(e){return typeof e=="boolean"}function gr(e){return e===null}function Gn(e){return e==null}function Ee(e){return typeof e=="number"}function vr(e){return typeof e=="string"}function kn(e){return typeof e=="symbol"}function I(e){return e===void 0}function pr(e){return H(e)&&Pe(e)==="[object RegExp]"}function H(e){return typeof e=="object"&&e!==null}function Mr(e){return H(e)&&Pe(e)==="[object Date]"}function cr(e){return H(e)&&(Pe(e)==="[object Error]"||e instanceof Error)}function yr(e){return typeof e=="function"}function zn(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e=="undefined"}function jn(e){return s.isBuffer(e)}function Pe(e){return Object.prototype.toString.call(e)}function Oe(e){return e<10?"0"+e.toString(10):e.toString(10)}function Pu(){var e=new Date,r=[Oe(e.getHours()),Oe(e.getMinutes()),Oe(e.getSeconds())].join(":");return[e.getDate(),Eu[e.getMonth()],r].join(" ")}function Hn(){console.log("%s - %s",Pu(),Cr.apply(null,arguments))}function Ie(e,r){if(!r||!H(r))return e;for(var t=Object.keys(r),n=t.length;n--;)e[t[n]]=r[t[n]];return e}function Jn(e,r){return Object.prototype.hasOwnProperty.call(e,r)}var bu,_r,we,Eu,Iu,Qn=ne(()=>{"use strict";o();i();Un();Wn();bu=/%[sdj%]/g;_r={};T.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]};T.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};Eu=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];Iu={inherits:be,_extend:Ie,log:Hn,isBuffer:jn,isPrimitive:zn,isFunction:yr,isError:cr,isDate:Mr,isObject:H,isRegExp:pr,isUndefined:I,isSymbol:kn,isString:vr,isNumber:Ee,isNullOrUndefined:Gn,isNull:gr,isBoolean:Ur,isArray:$e,inspect:T,deprecate:xe,format:Cr,debuglog:Ln}});var Yn=y((Np,Wr)=>{"use strict";o();i();var J=(Qn(),ji(Kn));if(J&&J.default){Wr.exports=J.default;for(let e in J)Wr.exports[e]=J[e]}else J&&(Wr.exports=J)});var Zn=y((Bp,Xn)=>{"use strict";o();i();Xn.exports=Yn().inspect});var Sr=y((Up,So)=>{"use strict";o();i();var Ue=typeof Map=="function"&&Map.prototype,Te=Object.getOwnPropertyDescriptor&&Ue?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Gr=Ue&&Te&&typeof Te.get=="function"?Te.get:null,Vn=Ue&&Map.prototype.forEach,We=typeof Set=="function"&&Set.prototype,Fe=Object.getOwnPropertyDescriptor&&We?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,kr=We&&Fe&&typeof Fe.get=="function"?Fe.get:null,ro=We&&Set.prototype.forEach,Tu=typeof WeakMap=="function"&&WeakMap.prototype,dr=Tu?WeakMap.prototype.has:null,Fu=typeof WeakSet=="function"&&WeakSet.prototype,mr=Fu?WeakSet.prototype.has:null,Ru=typeof WeakRef=="function"&&WeakRef.prototype,eo=Ru?WeakRef.prototype.deref:null,Nu=Boolean.prototype.valueOf,Du=Object.prototype.toString,_u=Function.prototype.toString,Bu=String.prototype.match,Le=String.prototype.slice,U=String.prototype.replace,Mu=String.prototype.toUpperCase,to=String.prototype.toLowerCase,po=RegExp.prototype.test,no=Array.prototype.concat,F=Array.prototype.join,Cu=Array.prototype.slice,oo=Math.floor,De=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Re=Object.getOwnPropertySymbols,_e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,tr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",O=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===tr||!0)?Symbol.toStringTag:null,co=Object.prototype.propertyIsEnumerable,io=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function ao(e,r){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||po.call(/e/,r))return r;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-oo(-e):oo(e);if(n!==e){var u=String(n),a=Le.call(r,u.length+1);return U.call(u,t,"$&_")+"."+U.call(U.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return U.call(r,t,"$&_")}var Be=Zn(),uo=Be.custom,fo=vo(uo)?uo:null,yo={__proto__:null,double:'"',single:"'"},Uu={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};So.exports=function e(r,t,n,u){var a=t||{};if(D(a,"quoteStyle")&&!D(yo,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(D(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var f=D(a,"customInspect")?a.customInspect:!0;if(typeof f!="boolean"&&f!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(D(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(D(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var c=a.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 mo(r,a);if(typeof r=="number"){if(r===0)return 1/0/r>0?"0":"-0";var l=String(r);return c?ao(r,l):l}if(typeof r=="bigint"){var m=String(r)+"n";return c?ao(r,m):m}var v=typeof a.depth=="undefined"?5:a.depth;if(typeof n=="undefined"&&(n=0),n>=v&&v>0&&typeof r=="object")return Me(r)?"[Array]":"[Object]";var h=nf(a,n);if(typeof u=="undefined")u=[];else if(ho(u,r)>=0)return"[Circular]";function g(K,Ar,Gi){if(Ar&&(u=Cu.call(u),u.push(Ar)),Gi){var yt={depth:a.depth};return D(a,"quoteStyle")&&(yt.quoteStyle=a.quoteStyle),e(K,yt,n+1,u)}return e(K,a,n+1,u)}if(typeof r=="function"&&!lo(r)){var A=Ku(r),x=Lr(r,g);return"[Function"+(A?": "+A:" (anonymous)")+"]"+(x.length>0?" { "+F.call(x,", ")+" }":"")}if(vo(r)){var S=tr?U.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):_e.call(r);return typeof r=="object"&&!tr?hr(S):S}if(rf(r)){for(var q="<"+to.call(String(r.nodeName)),$=r.attributes||[],R=0;R<$.length;R++)q+=" "+$[R].name+"="+go(Wu($[R].value),"double",a);return q+=">",r.childNodes&&r.childNodes.length&&(q+="..."),q+="</"+to.call(String(r.nodeName))+">",q}if(Me(r)){if(r.length===0)return"[]";var L=Lr(r,g);return h&&!tf(L)?"["+Ce(L,h)+"]":"[ "+F.call(L,", ")+" ]"}if(Gu(r)){var ir=Lr(r,g);return!("cause"in Error.prototype)&&"cause"in r&&!co.call(r,"cause")?"{ ["+String(r)+"] "+F.call(no.call("[cause]: "+g(r.cause),ir),", ")+" }":ir.length===0?"["+String(r)+"]":"{ ["+String(r)+"] "+F.call(ir,", ")+" }"}if(typeof r=="object"&&f){if(fo&&typeof r[fo]=="function"&&Be)return Be(r,{depth:v-n});if(f!=="symbol"&&typeof r.inspect=="function")return r.inspect()}if(Qu(r)){var wr=[];return Vn&&Vn.call(r,function(K,Ar){wr.push(g(Ar,r,!0)+" => "+g(K,r))}),so("Map",Gr.call(r),wr,h)}if(Zu(r)){var st=[];return ro&&ro.call(r,function(K){st.push(g(K,r))}),so("Set",kr.call(r),st,h)}if(Yu(r))return Ne("WeakMap");if(Vu(r))return Ne("WeakSet");if(Xu(r))return Ne("WeakRef");if(zu(r))return hr(g(Number(r)));if(Hu(r))return hr(g(De.call(r)));if(ju(r))return hr(Nu.call(r));if(ku(r))return hr(g(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(!Lu(r)&&!lo(r)){var re=Lr(r,g),pt=io?io(r)===Object.prototype:r instanceof Object||r.constructor===Object,ee=r instanceof Object?"":"null prototype",ct=!pt&&O&&Object(r)===r&&O in r?Le.call(W(r),8,-1):ee?"Object":"",Li=pt||typeof r.constructor!="function"?"":r.constructor.name?r.constructor.name+" ":"",te=Li+(ct||ee?"["+F.call(no.call([],ct||[],ee||[]),": ")+"] ":"");return re.length===0?te+"{}":h?te+"{"+Ce(re,h)+"}":te+"{ "+F.call(re,", ")+" }"}return String(r)};function go(e,r,t){var n=t.quoteStyle||r,u=yo[n];return u+e+u}function Wu(e){return U.call(String(e),/"/g,""")}function Me(e){return W(e)==="[object Array]"&&(!O||!(typeof e=="object"&&O in e))}function Lu(e){return W(e)==="[object Date]"&&(!O||!(typeof e=="object"&&O in e))}function lo(e){return W(e)==="[object RegExp]"&&(!O||!(typeof e=="object"&&O in e))}function Gu(e){return W(e)==="[object Error]"&&(!O||!(typeof e=="object"&&O in e))}function ku(e){return W(e)==="[object String]"&&(!O||!(typeof e=="object"&&O in e))}function zu(e){return W(e)==="[object Number]"&&(!O||!(typeof e=="object"&&O in e))}function ju(e){return W(e)==="[object Boolean]"&&(!O||!(typeof e=="object"&&O in e))}function vo(e){if(tr)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!_e)return!1;try{return _e.call(e),!0}catch(r){}return!1}function Hu(e){if(!e||typeof e!="object"||!De)return!1;try{return De.call(e),!0}catch(r){}return!1}var Ju=Object.prototype.hasOwnProperty||function(e){return e in this};function D(e,r){return Ju.call(e,r)}function W(e){return Du.call(e)}function Ku(e){if(e.name)return e.name;var r=Bu.call(_u.call(e),/^function\s*([\w$]+)/);return r?r[1]:null}function ho(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 Qu(e){if(!Gr||!e||typeof e!="object")return!1;try{Gr.call(e);try{kr.call(e)}catch(r){return!0}return e instanceof Map}catch(r){}return!1}function Yu(e){if(!dr||!e||typeof e!="object")return!1;try{dr.call(e,dr);try{mr.call(e,mr)}catch(r){return!0}return e instanceof WeakMap}catch(r){}return!1}function Xu(e){if(!eo||!e||typeof e!="object")return!1;try{return eo.call(e),!0}catch(r){}return!1}function Zu(e){if(!kr||!e||typeof e!="object")return!1;try{kr.call(e);try{Gr.call(e)}catch(r){return!0}return e instanceof Set}catch(r){}return!1}function Vu(e){if(!mr||!e||typeof e!="object")return!1;try{mr.call(e,mr);try{dr.call(e,dr)}catch(r){return!0}return e instanceof WeakSet}catch(r){}return!1}function rf(e){return!e||typeof e!="object"?!1:typeof HTMLElement!="undefined"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function mo(e,r){if(e.length>r.maxStringLength){var t=e.length-r.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return mo(Le.call(e,0,r.maxStringLength),r)+n}var u=Uu[r.quoteStyle||"single"];u.lastIndex=0;var a=U.call(U.call(e,u,"\\$1"),/[\x00-\x1f]/g,ef);return go(a,"single",r)}function ef(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":"")+Mu.call(r.toString(16))}function hr(e){return"Object("+e+")"}function Ne(e){return e+" { ? }"}function so(e,r,t,n){var u=n?Ce(t,n):F.call(t,", ");return e+" ("+r+") {"+u+"}"}function tf(e){for(var r=0;r<e.length;r++)if(ho(e[r],`
|
|
11
|
+
`)>=0)return!1;return!0}function nf(e,r){var t;if(e.indent===" ")t=" ";else if(typeof e.indent=="number"&&e.indent>0)t=F.call(Array(e.indent+1)," ");else return null;return{base:t,prev:F.call(Array(r+1),t)}}function Ce(e,r){if(e.length===0)return"";var t=`
|
|
12
|
+
`+r.prev+r.base;return t+F.call(e,","+t)+`
|
|
13
|
+
`+r.prev}function Lr(e,r){var t=Me(e),n=[];if(t){n.length=e.length;for(var u=0;u<e.length;u++)n[u]=D(e,u)?r(e[u],e):""}var a=typeof Re=="function"?Re(e):[],f;if(tr){f={};for(var c=0;c<a.length;c++)f["$"+a[c]]=a[c]}for(var l in e)D(e,l)&&(t&&String(Number(l))===l&&l<e.length||tr&&f["$"+l]instanceof Symbol||(po.call(/[^\w$]/,l)?n.push(r(l,e)+": "+r(e[l],e)):n.push(l+": "+r(e[l],e))));if(typeof Re=="function")for(var m=0;m<a.length;m++)co.call(e,a[m])&&n.push("["+r(a[m])+"]: "+r(e[a[m]],e));return n}});var zr=y((Gp,bo)=>{"use strict";o();i();bo.exports=function(r){return typeof r=="string"||typeof r=="symbol"}});var Ao=y((jp,wo)=>{"use strict";o();i();var of=w(),af=Sr(),uf=zr();wo.exports=function(r,t){if(!uf(t))throw new of("Assertion failed: IsPropertyKey(P) is not true, got "+af(t));return r[t]}});var $o=y((Kp,xo)=>{"use strict";o();i();var qo=Function.prototype.toString,nr=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ke,jr;if(typeof nr=="function"&&typeof Object.defineProperty=="function")try{ke=Object.defineProperty({},"length",{get:function(){throw jr}}),jr={},nr(function(){throw 42},null,ke)}catch(e){e!==jr&&(nr=null)}else nr=null;var ff=/^\s*class\b/,ze=function(r){try{var t=qo.call(r);return ff.test(t)}catch(n){return!1}},Ge=function(r){try{return ze(r)?!1:(qo.call(r),!0)}catch(t){return!1}},Hr=Object.prototype.toString,lf="[object Object]",sf="[object Function]",pf="[object GeneratorFunction]",cf="[object HTMLAllCollection]",yf="[object HTML document.all class]",gf="[object HTMLCollection]",vf=typeof Symbol=="function"&&!!Symbol.toStringTag,hf=!(0 in[,]),je=function(){return!1};typeof document=="object"&&(Oo=document.all,Hr.call(Oo)===Hr.call(document.all)&&(je=function(r){if((hf||!r)&&(typeof r=="undefined"||typeof r=="object"))try{var t=Hr.call(r);return(t===cf||t===yf||t===gf||t===lf)&&r("")==null}catch(n){}return!1}));var Oo;xo.exports=nr?function(r){if(je(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;try{nr(r,null,ke)}catch(t){if(t!==jr)return!1}return!ze(r)&&Ge(r)}:function(r){if(je(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;if(vf)return Ge(r);if(ze(r))return!1;var t=Hr.call(r);return t!==sf&&t!==pf&&!/^\[object HTML/.test(t)?!1:Ge(r)}});var He=y((Xp,Eo)=>{"use strict";o();i();Eo.exports=$o()});var Fo=y((rc,To)=>{"use strict";o();i();var Po=w(),df=Ao(),mf=He(),Sf=zr(),Io=Sr();To.exports=function(r,t){if(!Sf(t))throw new Po("Assertion failed: IsPropertyKey(P) is not true");var n=df(r,t);if(n!=null){if(!mf(n))throw new Po(Io(t)+" is not a function: "+Io(n));return n}}});var No=y((nc,Ro)=>{"use strict";o();i();var bf=ie();Ro.exports=function(){return bf()&&!!Symbol.toStringTag}});var Ye=y((ac,Mo)=>{"use strict";o();i();var Je=P(),Do=No()(),_o,Bo,Ke,Qe;Do&&(_o=Je("Object.prototype.hasOwnProperty"),Bo=Je("RegExp.prototype.exec"),Ke={},Jr=function(){throw Ke},Qe={toString:Jr,valueOf:Jr},typeof Symbol.toPrimitive=="symbol"&&(Qe[Symbol.toPrimitive]=Jr));var Jr,wf=Je("Object.prototype.toString"),Af=Object.getOwnPropertyDescriptor,Of="[object RegExp]";Mo.exports=Do?function(r){if(!r||typeof r!="object")return!1;var t=Af(r,"lastIndex"),n=t&&_o(t,"value");if(!n)return!1;try{Bo(r,Qe)}catch(u){return u===Ke}}:function(r){return!r||typeof r!="object"&&typeof r!="function"?!1:wf(r)===Of}});var Xe=y((lc,Co)=>{"use strict";o();i();var qf=P(),xf=Ye(),$f=qf("RegExp.prototype.exec"),Ef=w();Co.exports=function(r){if(!xf(r))throw new Ef("`regex` must be a RegExp");return function(n){return $f(r,n)!==null}}});var Wo=y((cc,Uo)=>{"use strict";o();i();Uo.exports=function(r,t){for(var n=0;n<r.length;n+=1)if(!t(r[n],n,r))return!1;return!0}});var Go=y((vc,Lo)=>{"use strict";o();i();Lo.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 Ze=y((mc,ko)=>{"use strict";o();i();var Pf=Go();ko.exports=function(r){return typeof r=="symbol"?"Symbol":typeof r=="bigint"?"BigInt":Pf(r)}});var Ho=y((wc,jo)=>{"use strict";o();i();var zo=w(),If=Sr(),Tf=zr(),Ff=Ze();jo.exports=function(r,t){if(Ff(r)!=="Object")throw new zo("Assertion failed: Type(O) is not Object");if(!Tf(t))throw new zo("Assertion failed: IsPropertyKey(P) is not true, got "+If(t));return r[t]}});var Ko=y((qc,Jo)=>{"use strict";o();i();var Rf=E();Jo.exports=Rf("%Math.min%")});var Ve=y((Ec,Qo)=>{"use strict";o();i();Qo.exports=Number.isNaN||function(r){return r!==r}});var Xo=y((Tc,Yo)=>{"use strict";o();i();var Nf=Ve();Yo.exports=function(e){return(typeof e=="number"||typeof e=="bigint")&&!Nf(e)&&e!==1/0&&e!==-1/0}});var Kr=y((Nc,Vo)=>{"use strict";o();i();var Zo=E(),Df=Zo("%Math.abs%"),_f=Zo("%Math.floor%"),Bf=Ve(),Mf=Xo();Vo.exports=function(r){if(typeof r!="number"||Bf(r)||!Mf(r))return!1;var t=Df(r);return _f(t)===t}});var et=y((Bc,ri)=>{"use strict";o();i();var Cf=P(),rt=w(),Uf=Kr(),Wf=Cf("String.prototype.slice");ri.exports=function(r,t,n){if(typeof r!="string")throw new rt("Assertion failed: `string` must be a String");if(typeof t!="string")throw new rt("Assertion failed: `searchValue` must be a String");if(!Uf(n)||n<0)throw new rt("Assertion failed: `fromIndex` must be a non-negative integer");var u=r.length;if(t===""&&n<=u)return n;for(var a=t.length,f=n;f<=u-a;f+=1){var c=Wf(r,f,f+a);if(c===t)return f}return-1}});var Qr=y((Uc,ei)=>{"use strict";o();i();var Lf=w();ei.exports=function(r){if(r==null)throw new Lf(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r}});var Yr=y((Gc,ti)=>{"use strict";o();i();var Gf=E(),kf=Gf("%String%"),zf=w();ti.exports=function(r){if(typeof r=="symbol")throw new zf("Cannot convert a Symbol value to a string");return kf(r)}});var tt=y((jc,ii)=>{"use strict";o();i();var jf=Qr(),Hf=Yr(),Jf=P(),ni=Jf("String.prototype.replace"),oi=/^\s$/.test("\u180E"),Kf=oi?/^[\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]+/,Qf=oi?/[\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]+$/;ii.exports=function(){var r=Hf(jf(this));return ni(ni(r,Kf,""),Qf,"")}});var nt=y((Kc,ui)=>{"use strict";o();i();var Yf=tt(),ai="\u200B",or="\u180E";ui.exports=function(){return String.prototype.trim&&ai.trim()===ai&&or.trim()===or&&("_"+or).trim()==="_"+or&&(or+"_").trim()===or+"_"?String.prototype.trim:Yf}});var li=y((Xc,fi)=>{"use strict";o();i();var Xf=lr(),Zf=nt();fi.exports=function(){var r=Zf();return Xf(String.prototype,{trim:r},{trim:function(){return String.prototype.trim!==r}}),r}});var yi=y((ry,ci)=>{"use strict";o();i();var Vf=Fr(),rl=lr(),el=Qr(),tl=tt(),si=nt(),nl=li(),ol=Vf(si()),pi=function(r){return el(r),ol(r)};rl(pi,{getPolyfill:si,implementation:tl,shim:nl});ci.exports=pi});var di=y((ny,hi)=>{"use strict";o();i();var it=E(),ot=it("%Number%"),il=it("%RegExp%"),al=w(),gi=it("%parseInt%"),ul=P(),Xr=Xe(),vi=ul("String.prototype.slice"),fl=Xr(/^0b[01]+$/i),ll=Xr(/^0o[0-7]+$/i),sl=Xr(/^[-+]0x[0-9a-f]+$/i),pl=["\x85","\u200B","\uFFFE"].join(""),cl=new il("["+pl+"]","g"),yl=Xr(cl),gl=yi();hi.exports=function e(r){if(typeof r!="string")throw new al("Assertion failed: `argument` is not a String");if(fl(r))return ot(gi(vi(r,2),2));if(ll(r))return ot(gi(vi(r,2),8));if(yl(r)||sl(r))return NaN;var t=gl(r);return t!==r?e(t):ot(r)}});var bi=y((ay,Si)=>{"use strict";o();i();var vl=w(),mi=Kr(),hl=P(),dl=hl("String.prototype.slice");Si.exports=function(r,t,n){if(typeof r!="string"||!mi(t)||arguments.length>2&&!mi(n))throw new vl("`S` must be a String, and `inclusiveStart` and `exclusiveEnd` must be integers");return dl(r,t,arguments.length>2?n:r.length)}});var Ai=y((ly,wi)=>{"use strict";o();i();wi.exports=function(r){return typeof r=="string"||typeof r=="undefined"}});var qi=y((cy,Oi)=>{"use strict";o();i();var ml=P()("String.prototype.slice");Oi.exports=function(r,t){return r===t?!0:r.length>t.length?!1:ml(t,0,r.length)===r}});var Ii=y((vy,Pi)=>{"use strict";o();i();var _=w(),Ei=Xe(),Sl=Wo(),at=Sr(),bl=Ho(),wl=me(),Al=Ko(),Ol=et(),xi=di(),B=bi(),ql=Yr(),$i=Ze(),xl=Kr(),$l=Ai(),br=qi(),El=Ei(/^\$[0-9]/),Pl=Ei(/^\$[0-9][0-9]/);Pi.exports=function(r,t,n,u,a,f){if(typeof r!="string")throw new _("Assertion failed: `matched` must be a String");if(typeof t!="string")throw new _("Assertion failed: `str` must be a String");if(!xl(n)||n<0)throw new _("Assertion failed: `position` must be a nonnegative integer, got "+at(n));if(!wl(u)||!Sl(u,$l))throw new _("Assertion failed: `captures` must be a possibly-empty List of Strings or `undefined`, got "+at(u));if(typeof a!="undefined"&&$i(a)!=="Object")throw new _("Assertion failed: `namedCaptures` must be `undefined` or an Object");if(typeof f!="string")throw new _("Assertion failed: `replacementTemplate` must be a String");var c=t.length;if(n>c)throw new _("Assertion failed: position > stringLength, got "+at(n));for(var l=f,m="";l!=="";){var v,h,g;if(br("$$",l))v="$$",h="$";else if(br("$`",l))v="$`",h=B(t,0,n);else if(br("$&",l))v="$&",h=r;else if(br("$'",l)){v="$'";var A=r.length,x=n+A;h=B(t,Al(x,c))}else if(El(l)){var S=Pl(l)?2:1,q=B(l,1,1+S),$=xi(q);if($<0||$>99)throw new _("Assertion failed: `index` must be >= 0 and <= 99");var R=u.length;$>R&&S===2&&(S=1,q=B(q,0,1),$=xi(q)),v=B(l,0,1+S),1<=$&&$<=R?(g=u[$-1],typeof g=="undefined"?h="":h=g):h=v}else if(br("$<",l)){var L=Ol(l,">",0);if(L===-1||typeof a=="undefined")v="$<",h=v;else{v=B(l,0,L+1);var ir=B(l,2,L);if($i(a)!=="Object")throw new _("Assertion failed: Type(namedCaptures) is not Object");g=bl(a,ir),typeof g=="undefined"?h="":h=ql(g)}}else v=B(l,0,1),h=v;var wr=v.length;l=B(l,wr),m+=h}return m}});var ft=y((my,Ni)=>{"use strict";o();i();var Ti=Nn(),Il=Fo(),Tl=Ii(),Fl=He(),Rl=Qr(),Zr=Yr(),Fi=et(),Nl=E(),Vr=P(),Dl=ae()(),_l=Ye(),Bl=Nl("%Math.max%"),Ri=w(),Ml=Vr("Array.prototype.push"),ut=Vr("String.prototype.slice"),Cl=Vr("String.prototype.indexOf"),Ul=Vr("String.prototype.replace");Ni.exports=function(r,t){var n=Rl(this),u=_l(r);if(u&&Cl(ut(r,r.source.length+2),"g")===-1)throw new Ri("use .replace for a non-global regex. NOTE: this may be allowed in the future.");if(Dl&&Symbol.replace){if(r!=null){var a=Il(r,Symbol.replace);if(typeof a!="undefined")return Ti(a,r,[n,t])}}else if(u)return Ul(n,r,t);var f=Zr(n),c=Zr(r),l=Fl(t);l||(t=Zr(t));for(var m=c.length,v=Bl(1,m),h=[],g=Fi(f,c,0);g!==-1;)Ml(h,g),g=Fi(f,c,g+v);for(var A=0,x="",S=0;S<h.length;S+=1){var q;if(l)q=Zr(Ti(t,void 0,[c,h[S],f]));else{if(typeof t!="string")throw new Ri("Assertion failed: `replaceValue` should be a string at this point");var $=[];q=Tl(c,f,h[S],$,void 0,t)}var R=ut(f,A,h[S]);x+=R+q,A=h[S]+m}return A<f.length&&(x+=ut(f,A)),x}});var lt=y((wy,Di)=>{"use strict";o();i();var Wl=ft();Di.exports=function(){return String.prototype.replaceAll||Wl}});var Bi=y((qy,_i)=>{"use strict";o();i();var Ll=lr(),Gl=lt();_i.exports=function(){var r=Gl();return Ll(String.prototype,{replaceAll:r},{replaceAll:function(){return String.prototype.replaceAll!==r}}),r}});var Wi=y((Ey,Ui)=>{"use strict";o();i();var kl=Fr(),zl=lr(),Mi=ft(),jl=lt(),Hl=Bi(),Ci=kl(Mi);zl(Ci,{getPolyfill:jl,implementation:Mi,shim:Hl});Ui.exports=Ci});o();i();var Ty=zi(Wi(),1);export{Hi as DynamicSnippetsGenerator};
|