@94ai/nf-virtual-select 3.2.48 → 100.1.2

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.
@@ -3,3071 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const virtualList = require("vue-virtual-scroll-list");
4
4
  const vue2RuntimeHelpers = require("@94ai/vue2-runtime-helpers");
5
5
  const lodashEs = require("lodash-es");
6
- var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
7
- function getDefaultExportFromCjs(x) {
8
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
9
- }
10
- var check = function(it) {
11
- return it && it.Math === Math && it;
12
- };
13
- var global$h = (
14
- // eslint-disable-next-line es/no-global-this -- safe
15
- check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
16
- check(typeof self == "object" && self) || check(typeof commonjsGlobal == "object" && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback
17
- function() {
18
- return this;
19
- }() || commonjsGlobal || Function("return this")()
20
- );
21
- var fails$j = function(exec2) {
22
- try {
23
- return !!exec2();
24
- } catch (error) {
25
- return true;
26
- }
27
- };
28
- var fails$i = fails$j;
29
- var functionBindNative = !fails$i(function() {
30
- var test2 = (function() {
31
- }).bind();
32
- return typeof test2 != "function" || test2.hasOwnProperty("prototype");
33
- });
34
- var NATIVE_BIND$3 = functionBindNative;
35
- var FunctionPrototype$3 = Function.prototype;
36
- var apply$3 = FunctionPrototype$3.apply;
37
- var call$c = FunctionPrototype$3.call;
38
- var functionApply = typeof Reflect == "object" && Reflect.apply || (NATIVE_BIND$3 ? call$c.bind(apply$3) : function() {
39
- return call$c.apply(apply$3, arguments);
40
- });
41
- var NATIVE_BIND$2 = functionBindNative;
42
- var FunctionPrototype$2 = Function.prototype;
43
- var call$b = FunctionPrototype$2.call;
44
- var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$b, call$b);
45
- var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function(fn) {
46
- return function() {
47
- return call$b.apply(fn, arguments);
48
- };
49
- };
50
- var uncurryThis$l = functionUncurryThis;
51
- var toString$8 = uncurryThis$l({}.toString);
52
- var stringSlice$1 = uncurryThis$l("".slice);
53
- var classofRaw$2 = function(it) {
54
- return stringSlice$1(toString$8(it), 8, -1);
55
- };
56
- var classofRaw$1 = classofRaw$2;
57
- var uncurryThis$k = functionUncurryThis;
58
- var functionUncurryThisClause = function(fn) {
59
- if (classofRaw$1(fn) === "Function")
60
- return uncurryThis$k(fn);
61
- };
62
- var documentAll$2 = typeof document == "object" && document.all;
63
- var IS_HTMLDDA = typeof documentAll$2 == "undefined" && documentAll$2 !== void 0;
64
- var documentAll_1 = {
65
- all: documentAll$2,
66
- IS_HTMLDDA
67
- };
68
- var $documentAll$1 = documentAll_1;
69
- var documentAll$1 = $documentAll$1.all;
70
- var isCallable$g = $documentAll$1.IS_HTMLDDA ? function(argument) {
71
- return typeof argument == "function" || argument === documentAll$1;
72
- } : function(argument) {
73
- return typeof argument == "function";
74
- };
75
- var objectGetOwnPropertyDescriptor = {};
76
- var fails$h = fails$j;
77
- var descriptors = !fails$h(function() {
78
- return Object.defineProperty({}, 1, {
79
- get: function() {
80
- return 7;
81
- }
82
- })[1] !== 7;
83
- });
84
- var NATIVE_BIND$1 = functionBindNative;
85
- var call$a = Function.prototype.call;
86
- var functionCall = NATIVE_BIND$1 ? call$a.bind(call$a) : function() {
87
- return call$a.apply(call$a, arguments);
88
- };
89
- var objectPropertyIsEnumerable = {};
90
- var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
91
- var getOwnPropertyDescriptor$9 = Object.getOwnPropertyDescriptor;
92
- var NASHORN_BUG = getOwnPropertyDescriptor$9 && !$propertyIsEnumerable$1.call({
93
- 1: 2
94
- }, 1);
95
- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
96
- var descriptor = getOwnPropertyDescriptor$9(this, V);
97
- return !!descriptor && descriptor.enumerable;
98
- } : $propertyIsEnumerable$1;
99
- var createPropertyDescriptor$5 = function(bitmap, value) {
100
- return {
101
- enumerable: !(bitmap & 1),
102
- configurable: !(bitmap & 2),
103
- writable: !(bitmap & 4),
104
- value
105
- };
106
- };
107
- var uncurryThis$j = functionUncurryThis;
108
- var fails$g = fails$j;
109
- var classof$b = classofRaw$2;
110
- var $Object$4 = Object;
111
- var split = uncurryThis$j("".split);
112
- var indexedObject = fails$g(function() {
113
- return !$Object$4("z").propertyIsEnumerable(0);
114
- }) ? function(it) {
115
- return classof$b(it) === "String" ? split(it, "") : $Object$4(it);
116
- } : $Object$4;
117
- var isNullOrUndefined$3 = function(it) {
118
- return it === null || it === void 0;
119
- };
120
- var isNullOrUndefined$2 = isNullOrUndefined$3;
121
- var $TypeError$b = TypeError;
122
- var requireObjectCoercible$4 = function(it) {
123
- if (isNullOrUndefined$2(it))
124
- throw $TypeError$b("Can't call method on " + it);
125
- return it;
126
- };
127
- var IndexedObject$1 = indexedObject;
128
- var requireObjectCoercible$3 = requireObjectCoercible$4;
129
- var toIndexedObject$a = function(it) {
130
- return IndexedObject$1(requireObjectCoercible$3(it));
131
- };
132
- var isCallable$f = isCallable$g;
133
- var $documentAll = documentAll_1;
134
- var documentAll = $documentAll.all;
135
- var isObject$a = $documentAll.IS_HTMLDDA ? function(it) {
136
- return typeof it == "object" ? it !== null : isCallable$f(it) || it === documentAll;
137
- } : function(it) {
138
- return typeof it == "object" ? it !== null : isCallable$f(it);
139
- };
140
- var path$e = {};
141
- var path$d = path$e;
142
- var global$g = global$h;
143
- var isCallable$e = isCallable$g;
144
- var aFunction = function(variable) {
145
- return isCallable$e(variable) ? variable : void 0;
146
- };
147
- var getBuiltIn$a = function(namespace, method2) {
148
- return arguments.length < 2 ? aFunction(path$d[namespace]) || aFunction(global$g[namespace]) : path$d[namespace] && path$d[namespace][method2] || global$g[namespace] && global$g[namespace][method2];
149
- };
150
- var uncurryThis$i = functionUncurryThis;
151
- var objectIsPrototypeOf = uncurryThis$i({}.isPrototypeOf);
152
- var engineUserAgent = typeof navigator != "undefined" && String(navigator.userAgent) || "";
153
- var global$f = global$h;
154
- var userAgent = engineUserAgent;
155
- var process = global$f.process;
156
- var Deno = global$f.Deno;
157
- var versions = process && process.versions || Deno && Deno.version;
158
- var v8 = versions && versions.v8;
159
- var match, version;
160
- if (v8) {
161
- match = v8.split(".");
162
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
163
- }
164
- if (!version && userAgent) {
165
- match = userAgent.match(/Edge\/(\d+)/);
166
- if (!match || match[1] >= 74) {
167
- match = userAgent.match(/Chrome\/(\d+)/);
168
- if (match)
169
- version = +match[1];
170
- }
171
- }
172
- var engineV8Version = version;
173
- var V8_VERSION$2 = engineV8Version;
174
- var fails$f = fails$j;
175
- var global$e = global$h;
176
- var $String$4 = global$e.String;
177
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$f(function() {
178
- var symbol2 = Symbol("symbol detection");
179
- return !$String$4(symbol2) || !(Object(symbol2) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
180
- !Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;
181
- });
182
- var NATIVE_SYMBOL$5 = symbolConstructorDetection;
183
- var useSymbolAsUid = NATIVE_SYMBOL$5 && !Symbol.sham && typeof Symbol.iterator == "symbol";
184
- var getBuiltIn$9 = getBuiltIn$a;
185
- var isCallable$d = isCallable$g;
186
- var isPrototypeOf$a = objectIsPrototypeOf;
187
- var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
188
- var $Object$3 = Object;
189
- var isSymbol$5 = USE_SYMBOL_AS_UID$1 ? function(it) {
190
- return typeof it == "symbol";
191
- } : function(it) {
192
- var $Symbol2 = getBuiltIn$9("Symbol");
193
- return isCallable$d($Symbol2) && isPrototypeOf$a($Symbol2.prototype, $Object$3(it));
194
- };
195
- var $String$3 = String;
196
- var tryToString$4 = function(argument) {
197
- try {
198
- return $String$3(argument);
199
- } catch (error) {
200
- return "Object";
201
- }
202
- };
203
- var isCallable$c = isCallable$g;
204
- var tryToString$3 = tryToString$4;
205
- var $TypeError$a = TypeError;
206
- var aCallable$3 = function(argument) {
207
- if (isCallable$c(argument))
208
- return argument;
209
- throw $TypeError$a(tryToString$3(argument) + " is not a function");
210
- };
211
- var aCallable$2 = aCallable$3;
212
- var isNullOrUndefined$1 = isNullOrUndefined$3;
213
- var getMethod$3 = function(V, P) {
214
- var func = V[P];
215
- return isNullOrUndefined$1(func) ? void 0 : aCallable$2(func);
216
- };
217
- var call$9 = functionCall;
218
- var isCallable$b = isCallable$g;
219
- var isObject$9 = isObject$a;
220
- var $TypeError$9 = TypeError;
221
- var ordinaryToPrimitive$1 = function(input, pref) {
222
- var fn, val;
223
- if (pref === "string" && isCallable$b(fn = input.toString) && !isObject$9(val = call$9(fn, input)))
224
- return val;
225
- if (isCallable$b(fn = input.valueOf) && !isObject$9(val = call$9(fn, input)))
226
- return val;
227
- if (pref !== "string" && isCallable$b(fn = input.toString) && !isObject$9(val = call$9(fn, input)))
228
- return val;
229
- throw $TypeError$9("Can't convert object to primitive value");
230
- };
231
- var shared$7 = { exports: {} };
232
- var global$d = global$h;
233
- var defineProperty$c = Object.defineProperty;
234
- var defineGlobalProperty$1 = function(key, value) {
235
- try {
236
- defineProperty$c(global$d, key, {
237
- value,
238
- configurable: true,
239
- writable: true
240
- });
241
- } catch (error) {
242
- global$d[key] = value;
243
- }
244
- return value;
245
- };
246
- var global$c = global$h;
247
- var defineGlobalProperty = defineGlobalProperty$1;
248
- var SHARED = "__core-js_shared__";
249
- var store$3 = global$c[SHARED] || defineGlobalProperty(SHARED, {});
250
- var sharedStore = store$3;
251
- var store$2 = sharedStore;
252
- (shared$7.exports = function(key, value) {
253
- return store$2[key] || (store$2[key] = value !== void 0 ? value : {});
254
- })("versions", []).push({
255
- version: "3.32.1",
256
- mode: "pure",
257
- copyright: "© 2014-2023 Denis Pushkarev (zloirock.ru)",
258
- license: "https://github.com/zloirock/core-js/blob/v3.32.1/LICENSE",
259
- source: "https://github.com/zloirock/core-js"
260
- });
261
- var sharedExports = shared$7.exports;
262
- var requireObjectCoercible$2 = requireObjectCoercible$4;
263
- var $Object$2 = Object;
264
- var toObject$8 = function(argument) {
265
- return $Object$2(requireObjectCoercible$2(argument));
266
- };
267
- var uncurryThis$h = functionUncurryThis;
268
- var toObject$7 = toObject$8;
269
- var hasOwnProperty = uncurryThis$h({}.hasOwnProperty);
270
- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
271
- return hasOwnProperty(toObject$7(it), key);
272
- };
273
- var uncurryThis$g = functionUncurryThis;
274
- var id = 0;
275
- var postfix = Math.random();
276
- var toString$7 = uncurryThis$g(1 .toString);
277
- var uid$3 = function(key) {
278
- return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString$7(++id + postfix, 36);
279
- };
280
- var global$b = global$h;
281
- var shared$6 = sharedExports;
282
- var hasOwn$c = hasOwnProperty_1;
283
- var uid$2 = uid$3;
284
- var NATIVE_SYMBOL$4 = symbolConstructorDetection;
285
- var USE_SYMBOL_AS_UID = useSymbolAsUid;
286
- var Symbol$3 = global$b.Symbol;
287
- var WellKnownSymbolsStore$2 = shared$6("wks");
288
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$3["for"] || Symbol$3 : Symbol$3 && Symbol$3.withoutSetter || uid$2;
289
- var wellKnownSymbol$l = function(name) {
290
- if (!hasOwn$c(WellKnownSymbolsStore$2, name)) {
291
- WellKnownSymbolsStore$2[name] = NATIVE_SYMBOL$4 && hasOwn$c(Symbol$3, name) ? Symbol$3[name] : createWellKnownSymbol("Symbol." + name);
292
- }
293
- return WellKnownSymbolsStore$2[name];
294
- };
295
- var call$8 = functionCall;
296
- var isObject$8 = isObject$a;
297
- var isSymbol$4 = isSymbol$5;
298
- var getMethod$2 = getMethod$3;
299
- var ordinaryToPrimitive = ordinaryToPrimitive$1;
300
- var wellKnownSymbol$k = wellKnownSymbol$l;
301
- var $TypeError$8 = TypeError;
302
- var TO_PRIMITIVE = wellKnownSymbol$k("toPrimitive");
303
- var toPrimitive$6 = function(input, pref) {
304
- if (!isObject$8(input) || isSymbol$4(input))
305
- return input;
306
- var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
307
- var result;
308
- if (exoticToPrim) {
309
- if (pref === void 0)
310
- pref = "default";
311
- result = call$8(exoticToPrim, input, pref);
312
- if (!isObject$8(result) || isSymbol$4(result))
313
- return result;
314
- throw $TypeError$8("Can't convert object to primitive value");
315
- }
316
- if (pref === void 0)
317
- pref = "number";
318
- return ordinaryToPrimitive(input, pref);
319
- };
320
- var toPrimitive$5 = toPrimitive$6;
321
- var isSymbol$3 = isSymbol$5;
322
- var toPropertyKey$4 = function(argument) {
323
- var key = toPrimitive$5(argument, "string");
324
- return isSymbol$3(key) ? key : key + "";
325
- };
326
- var global$a = global$h;
327
- var isObject$7 = isObject$a;
328
- var document$1 = global$a.document;
329
- var EXISTS$1 = isObject$7(document$1) && isObject$7(document$1.createElement);
330
- var documentCreateElement$1 = function(it) {
331
- return EXISTS$1 ? document$1.createElement(it) : {};
332
- };
333
- var DESCRIPTORS$c = descriptors;
334
- var fails$e = fails$j;
335
- var createElement = documentCreateElement$1;
336
- var ie8DomDefine = !DESCRIPTORS$c && !fails$e(function() {
337
- return Object.defineProperty(createElement("div"), "a", {
338
- get: function() {
339
- return 7;
340
- }
341
- }).a !== 7;
342
- });
343
- var DESCRIPTORS$b = descriptors;
344
- var call$7 = functionCall;
345
- var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
346
- var createPropertyDescriptor$4 = createPropertyDescriptor$5;
347
- var toIndexedObject$9 = toIndexedObject$a;
348
- var toPropertyKey$3 = toPropertyKey$4;
349
- var hasOwn$b = hasOwnProperty_1;
350
- var IE8_DOM_DEFINE$1 = ie8DomDefine;
351
- var $getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
352
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$b ? $getOwnPropertyDescriptor$2 : function getOwnPropertyDescriptor(O, P) {
353
- O = toIndexedObject$9(O);
354
- P = toPropertyKey$3(P);
355
- if (IE8_DOM_DEFINE$1)
356
- try {
357
- return $getOwnPropertyDescriptor$2(O, P);
358
- } catch (error) {
359
- }
360
- if (hasOwn$b(O, P))
361
- return createPropertyDescriptor$4(!call$7(propertyIsEnumerableModule$1.f, O, P), O[P]);
362
- };
363
- var fails$d = fails$j;
364
- var isCallable$a = isCallable$g;
365
- var replacement = /#|\.prototype\./;
366
- var isForced$1 = function(feature, detection) {
367
- var value = data[normalize(feature)];
368
- return value === POLYFILL ? true : value === NATIVE ? false : isCallable$a(detection) ? fails$d(detection) : !!detection;
369
- };
370
- var normalize = isForced$1.normalize = function(string) {
371
- return String(string).replace(replacement, ".").toLowerCase();
372
- };
373
- var data = isForced$1.data = {};
374
- var NATIVE = isForced$1.NATIVE = "N";
375
- var POLYFILL = isForced$1.POLYFILL = "P";
376
- var isForced_1 = isForced$1;
377
- var uncurryThis$f = functionUncurryThisClause;
378
- var aCallable$1 = aCallable$3;
379
- var NATIVE_BIND = functionBindNative;
380
- var bind$3 = uncurryThis$f(uncurryThis$f.bind);
381
- var functionBindContext = function(fn, that) {
382
- aCallable$1(fn);
383
- return that === void 0 ? fn : NATIVE_BIND ? bind$3(fn, that) : function() {
384
- return fn.apply(that, arguments);
385
- };
386
- };
387
- var objectDefineProperty = {};
388
- var DESCRIPTORS$a = descriptors;
389
- var fails$c = fails$j;
390
- var v8PrototypeDefineBug = DESCRIPTORS$a && fails$c(function() {
391
- return Object.defineProperty(function() {
392
- }, "prototype", {
393
- value: 42,
394
- writable: false
395
- }).prototype !== 42;
396
- });
397
- var isObject$6 = isObject$a;
398
- var $String$2 = String;
399
- var $TypeError$7 = TypeError;
400
- var anObject$8 = function(argument) {
401
- if (isObject$6(argument))
402
- return argument;
403
- throw $TypeError$7($String$2(argument) + " is not an object");
404
- };
405
- var DESCRIPTORS$9 = descriptors;
406
- var IE8_DOM_DEFINE = ie8DomDefine;
407
- var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
408
- var anObject$7 = anObject$8;
409
- var toPropertyKey$2 = toPropertyKey$4;
410
- var $TypeError$6 = TypeError;
411
- var $defineProperty$1 = Object.defineProperty;
412
- var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
413
- var ENUMERABLE = "enumerable";
414
- var CONFIGURABLE$1 = "configurable";
415
- var WRITABLE = "writable";
416
- objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
417
- anObject$7(O);
418
- P = toPropertyKey$2(P);
419
- anObject$7(Attributes);
420
- if (typeof O === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
421
- var current = $getOwnPropertyDescriptor$1(O, P);
422
- if (current && current[WRITABLE]) {
423
- O[P] = Attributes.value;
424
- Attributes = {
425
- configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
426
- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
427
- writable: false
428
- };
429
- }
430
- }
431
- return $defineProperty$1(O, P, Attributes);
432
- } : $defineProperty$1 : function defineProperty2(O, P, Attributes) {
433
- anObject$7(O);
434
- P = toPropertyKey$2(P);
435
- anObject$7(Attributes);
436
- if (IE8_DOM_DEFINE)
437
- try {
438
- return $defineProperty$1(O, P, Attributes);
439
- } catch (error) {
440
- }
441
- if ("get" in Attributes || "set" in Attributes)
442
- throw $TypeError$6("Accessors not supported");
443
- if ("value" in Attributes)
444
- O[P] = Attributes.value;
445
- return O;
446
- };
447
- var DESCRIPTORS$8 = descriptors;
448
- var definePropertyModule$3 = objectDefineProperty;
449
- var createPropertyDescriptor$3 = createPropertyDescriptor$5;
450
- var createNonEnumerableProperty$5 = DESCRIPTORS$8 ? function(object, key, value) {
451
- return definePropertyModule$3.f(object, key, createPropertyDescriptor$3(1, value));
452
- } : function(object, key, value) {
453
- object[key] = value;
454
- return object;
455
- };
456
- var global$9 = global$h;
457
- var apply$2 = functionApply;
458
- var uncurryThis$e = functionUncurryThisClause;
459
- var isCallable$9 = isCallable$g;
460
- var getOwnPropertyDescriptor$8 = objectGetOwnPropertyDescriptor.f;
461
- var isForced = isForced_1;
462
- var path$c = path$e;
463
- var bind$2 = functionBindContext;
464
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
465
- var hasOwn$a = hasOwnProperty_1;
466
- var wrapConstructor = function(NativeConstructor) {
467
- var Wrapper = function(a, b, c) {
468
- if (this instanceof Wrapper) {
469
- switch (arguments.length) {
470
- case 0:
471
- return new NativeConstructor();
472
- case 1:
473
- return new NativeConstructor(a);
474
- case 2:
475
- return new NativeConstructor(a, b);
476
- }
477
- return new NativeConstructor(a, b, c);
478
- }
479
- return apply$2(NativeConstructor, this, arguments);
480
- };
481
- Wrapper.prototype = NativeConstructor.prototype;
482
- return Wrapper;
483
- };
484
- var _export = function(options2, source) {
485
- var TARGET = options2.target;
486
- var GLOBAL = options2.global;
487
- var STATIC = options2.stat;
488
- var PROTO = options2.proto;
489
- var nativeSource = GLOBAL ? global$9 : STATIC ? global$9[TARGET] : (global$9[TARGET] || {}).prototype;
490
- var target = GLOBAL ? path$c : path$c[TARGET] || createNonEnumerableProperty$4(path$c, TARGET, {})[TARGET];
491
- var targetPrototype = target.prototype;
492
- var FORCED2, USE_NATIVE, VIRTUAL_PROTOTYPE;
493
- var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
494
- for (key in source) {
495
- FORCED2 = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options2.forced);
496
- USE_NATIVE = !FORCED2 && nativeSource && hasOwn$a(nativeSource, key);
497
- targetProperty = target[key];
498
- if (USE_NATIVE)
499
- if (options2.dontCallGetSet) {
500
- descriptor = getOwnPropertyDescriptor$8(nativeSource, key);
501
- nativeProperty = descriptor && descriptor.value;
502
- } else
503
- nativeProperty = nativeSource[key];
504
- sourceProperty = USE_NATIVE && nativeProperty ? nativeProperty : source[key];
505
- if (USE_NATIVE && typeof targetProperty == typeof sourceProperty)
506
- continue;
507
- if (options2.bind && USE_NATIVE)
508
- resultProperty = bind$2(sourceProperty, global$9);
509
- else if (options2.wrap && USE_NATIVE)
510
- resultProperty = wrapConstructor(sourceProperty);
511
- else if (PROTO && isCallable$9(sourceProperty))
512
- resultProperty = uncurryThis$e(sourceProperty);
513
- else
514
- resultProperty = sourceProperty;
515
- if (options2.sham || sourceProperty && sourceProperty.sham || targetProperty && targetProperty.sham) {
516
- createNonEnumerableProperty$4(resultProperty, "sham", true);
517
- }
518
- createNonEnumerableProperty$4(target, key, resultProperty);
519
- if (PROTO) {
520
- VIRTUAL_PROTOTYPE = TARGET + "Prototype";
521
- if (!hasOwn$a(path$c, VIRTUAL_PROTOTYPE)) {
522
- createNonEnumerableProperty$4(path$c, VIRTUAL_PROTOTYPE, {});
523
- }
524
- createNonEnumerableProperty$4(path$c[VIRTUAL_PROTOTYPE], key, sourceProperty);
525
- if (options2.real && targetPrototype && (FORCED2 || !targetPrototype[key])) {
526
- createNonEnumerableProperty$4(targetPrototype, key, sourceProperty);
527
- }
528
- }
529
- }
530
- };
531
- var ceil = Math.ceil;
532
- var floor = Math.floor;
533
- var mathTrunc = Math.trunc || function trunc(x) {
534
- var n = +x;
535
- return (n > 0 ? floor : ceil)(n);
536
- };
537
- var trunc2 = mathTrunc;
538
- var toIntegerOrInfinity$4 = function(argument) {
539
- var number = +argument;
540
- return number !== number || number === 0 ? 0 : trunc2(number);
541
- };
542
- var toIntegerOrInfinity$3 = toIntegerOrInfinity$4;
543
- var max$3 = Math.max;
544
- var min$2 = Math.min;
545
- var toAbsoluteIndex$4 = function(index, length) {
546
- var integer = toIntegerOrInfinity$3(index);
547
- return integer < 0 ? max$3(integer + length, 0) : min$2(integer, length);
548
- };
549
- var toIntegerOrInfinity$2 = toIntegerOrInfinity$4;
550
- var min$1 = Math.min;
551
- var toLength$1 = function(argument) {
552
- return argument > 0 ? min$1(toIntegerOrInfinity$2(argument), 9007199254740991) : 0;
553
- };
554
- var toLength = toLength$1;
555
- var lengthOfArrayLike$7 = function(obj) {
556
- return toLength(obj.length);
557
- };
558
- var toIndexedObject$8 = toIndexedObject$a;
559
- var toAbsoluteIndex$3 = toAbsoluteIndex$4;
560
- var lengthOfArrayLike$6 = lengthOfArrayLike$7;
561
- var createMethod$2 = function(IS_INCLUDES) {
562
- return function($this, el, fromIndex) {
563
- var O = toIndexedObject$8($this);
564
- var length = lengthOfArrayLike$6(O);
565
- var index = toAbsoluteIndex$3(fromIndex, length);
566
- var value;
567
- if (IS_INCLUDES && el !== el)
568
- while (length > index) {
569
- value = O[index++];
570
- if (value !== value)
571
- return true;
572
- }
573
- else
574
- for (; length > index; index++) {
575
- if ((IS_INCLUDES || index in O) && O[index] === el)
576
- return IS_INCLUDES || index || 0;
577
- }
578
- return !IS_INCLUDES && -1;
579
- };
580
- };
581
- var arrayIncludes = {
582
- // `Array.prototype.includes` method
583
- // https://tc39.es/ecma262/#sec-array.prototype.includes
584
- includes: createMethod$2(true),
585
- // `Array.prototype.indexOf` method
586
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
587
- indexOf: createMethod$2(false)
588
- };
589
- var hiddenKeys$5 = {};
590
- var uncurryThis$d = functionUncurryThis;
591
- var hasOwn$9 = hasOwnProperty_1;
592
- var toIndexedObject$7 = toIndexedObject$a;
593
- var indexOf$7 = arrayIncludes.indexOf;
594
- var hiddenKeys$4 = hiddenKeys$5;
595
- var push$3 = uncurryThis$d([].push);
596
- var objectKeysInternal = function(object, names) {
597
- var O = toIndexedObject$7(object);
598
- var i = 0;
599
- var result = [];
600
- var key;
601
- for (key in O)
602
- !hasOwn$9(hiddenKeys$4, key) && hasOwn$9(O, key) && push$3(result, key);
603
- while (names.length > i)
604
- if (hasOwn$9(O, key = names[i++])) {
605
- ~indexOf$7(result, key) || push$3(result, key);
606
- }
607
- return result;
608
- };
609
- var enumBugKeys$3 = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"];
610
- var internalObjectKeys$1 = objectKeysInternal;
611
- var enumBugKeys$2 = enumBugKeys$3;
612
- var objectKeys$2 = Object.keys || function keys(O) {
613
- return internalObjectKeys$1(O, enumBugKeys$2);
614
- };
615
- var $$s = _export;
616
- var toObject$6 = toObject$8;
617
- var nativeKeys = objectKeys$2;
618
- var fails$b = fails$j;
619
- var FAILS_ON_PRIMITIVES = fails$b(function() {
620
- nativeKeys(1);
621
- });
622
- $$s({
623
- target: "Object",
624
- stat: true,
625
- forced: FAILS_ON_PRIMITIVES
626
- }, {
627
- keys: function keys2(it) {
628
- return nativeKeys(toObject$6(it));
629
- }
630
- });
631
- var path$b = path$e;
632
- var keys$6 = path$b.Object.keys;
633
- var parent$10 = keys$6;
634
- var keys$5 = parent$10;
635
- var parent$$ = keys$5;
636
- var keys$4 = parent$$;
637
- var parent$_ = keys$4;
638
- var keys$3 = parent$_;
639
- var keys$2 = keys$3;
640
- var keys$1 = keys$2;
641
- const _Object$keys = /* @__PURE__ */ getDefaultExportFromCjs(keys$1);
642
- var wellKnownSymbol$j = wellKnownSymbol$l;
643
- var TO_STRING_TAG$3 = wellKnownSymbol$j("toStringTag");
644
- var test = {};
645
- test[TO_STRING_TAG$3] = "z";
646
- var toStringTagSupport = String(test) === "[object z]";
647
- var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
648
- var isCallable$8 = isCallable$g;
649
- var classofRaw = classofRaw$2;
650
- var wellKnownSymbol$i = wellKnownSymbol$l;
651
- var TO_STRING_TAG$2 = wellKnownSymbol$i("toStringTag");
652
- var $Object$1 = Object;
653
- var CORRECT_ARGUMENTS = classofRaw(function() {
654
- return arguments;
655
- }()) === "Arguments";
656
- var tryGet = function(it, key) {
657
- try {
658
- return it[key];
659
- } catch (error) {
660
- }
661
- };
662
- var classof$a = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function(it) {
663
- var O, tag, result;
664
- return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$2)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) === "Object" && isCallable$8(O.callee) ? "Arguments" : result;
665
- };
666
- var classof$9 = classof$a;
667
- var $String$1 = String;
668
- var toString$6 = function(argument) {
669
- if (classof$9(argument) === "Symbol")
670
- throw TypeError("Cannot convert a Symbol value to a string");
671
- return $String$1(argument);
672
- };
673
- var objectDefineProperties = {};
674
- var DESCRIPTORS$7 = descriptors;
675
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
676
- var definePropertyModule$2 = objectDefineProperty;
677
- var anObject$6 = anObject$8;
678
- var toIndexedObject$6 = toIndexedObject$a;
679
- var objectKeys$1 = objectKeys$2;
680
- objectDefineProperties.f = DESCRIPTORS$7 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
681
- anObject$6(O);
682
- var props = toIndexedObject$6(Properties);
683
- var keys4 = objectKeys$1(Properties);
684
- var length = keys4.length;
685
- var index = 0;
686
- var key;
687
- while (length > index)
688
- definePropertyModule$2.f(O, key = keys4[index++], props[key]);
689
- return O;
690
- };
691
- var getBuiltIn$8 = getBuiltIn$a;
692
- var html$1 = getBuiltIn$8("document", "documentElement");
693
- var shared$5 = sharedExports;
694
- var uid$1 = uid$3;
695
- var keys3 = shared$5("keys");
696
- var sharedKey$4 = function(key) {
697
- return keys3[key] || (keys3[key] = uid$1(key));
698
- };
699
- var anObject$5 = anObject$8;
700
- var definePropertiesModule$1 = objectDefineProperties;
701
- var enumBugKeys$1 = enumBugKeys$3;
702
- var hiddenKeys$3 = hiddenKeys$5;
703
- var html = html$1;
704
- var documentCreateElement = documentCreateElement$1;
705
- var sharedKey$3 = sharedKey$4;
706
- var GT = ">";
707
- var LT = "<";
708
- var PROTOTYPE$1 = "prototype";
709
- var SCRIPT = "script";
710
- var IE_PROTO$1 = sharedKey$3("IE_PROTO");
711
- var EmptyConstructor = function() {
712
- };
713
- var scriptTag = function(content) {
714
- return LT + SCRIPT + GT + content + LT + "/" + SCRIPT + GT;
715
- };
716
- var NullProtoObjectViaActiveX = function(activeXDocument2) {
717
- activeXDocument2.write(scriptTag(""));
718
- activeXDocument2.close();
719
- var temp = activeXDocument2.parentWindow.Object;
720
- activeXDocument2 = null;
721
- return temp;
722
- };
723
- var NullProtoObjectViaIFrame = function() {
724
- var iframe = documentCreateElement("iframe");
725
- var JS = "java" + SCRIPT + ":";
726
- var iframeDocument;
727
- iframe.style.display = "none";
728
- html.appendChild(iframe);
729
- iframe.src = String(JS);
730
- iframeDocument = iframe.contentWindow.document;
731
- iframeDocument.open();
732
- iframeDocument.write(scriptTag("document.F=Object"));
733
- iframeDocument.close();
734
- return iframeDocument.F;
735
- };
736
- var activeXDocument;
737
- var NullProtoObject = function() {
738
- try {
739
- activeXDocument = new ActiveXObject("htmlfile");
740
- } catch (error) {
741
- }
742
- NullProtoObject = typeof document != "undefined" ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument);
743
- var length = enumBugKeys$1.length;
744
- while (length--)
745
- delete NullProtoObject[PROTOTYPE$1][enumBugKeys$1[length]];
746
- return NullProtoObject();
747
- };
748
- hiddenKeys$3[IE_PROTO$1] = true;
749
- var objectCreate = Object.create || function create(O, Properties) {
750
- var result;
751
- if (O !== null) {
752
- EmptyConstructor[PROTOTYPE$1] = anObject$5(O);
753
- result = new EmptyConstructor();
754
- EmptyConstructor[PROTOTYPE$1] = null;
755
- result[IE_PROTO$1] = O;
756
- } else
757
- result = NullProtoObject();
758
- return Properties === void 0 ? result : definePropertiesModule$1.f(result, Properties);
759
- };
760
- var objectGetOwnPropertyNames = {};
761
- var internalObjectKeys = objectKeysInternal;
762
- var enumBugKeys = enumBugKeys$3;
763
- var hiddenKeys$2 = enumBugKeys.concat("length", "prototype");
764
- objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
765
- return internalObjectKeys(O, hiddenKeys$2);
766
- };
767
- var objectGetOwnPropertyNamesExternal = {};
768
- var toPropertyKey$1 = toPropertyKey$4;
769
- var definePropertyModule$1 = objectDefineProperty;
770
- var createPropertyDescriptor$2 = createPropertyDescriptor$5;
771
- var createProperty$6 = function(object, key, value) {
772
- var propertyKey = toPropertyKey$1(key);
773
- if (propertyKey in object)
774
- definePropertyModule$1.f(object, propertyKey, createPropertyDescriptor$2(0, value));
775
- else
776
- object[propertyKey] = value;
777
- };
778
- var toAbsoluteIndex$2 = toAbsoluteIndex$4;
779
- var lengthOfArrayLike$5 = lengthOfArrayLike$7;
780
- var createProperty$5 = createProperty$6;
781
- var $Array$3 = Array;
782
- var max$2 = Math.max;
783
- var arraySliceSimple = function(O, start, end) {
784
- var length = lengthOfArrayLike$5(O);
785
- var k = toAbsoluteIndex$2(start, length);
786
- var fin = toAbsoluteIndex$2(end === void 0 ? length : end, length);
787
- var result = $Array$3(max$2(fin - k, 0));
788
- var n = 0;
789
- for (; k < fin; k++, n++)
790
- createProperty$5(result, n, O[k]);
791
- result.length = n;
792
- return result;
793
- };
794
- var classof$8 = classofRaw$2;
795
- var toIndexedObject$5 = toIndexedObject$a;
796
- var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f;
797
- var arraySlice$3 = arraySliceSimple;
798
- var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
799
- var getWindowNames = function(it) {
800
- try {
801
- return $getOwnPropertyNames$1(it);
802
- } catch (error) {
803
- return arraySlice$3(windowNames);
804
- }
805
- };
806
- objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames2(it) {
807
- return windowNames && classof$8(it) === "Window" ? getWindowNames(it) : $getOwnPropertyNames$1(toIndexedObject$5(it));
808
- };
809
- var objectGetOwnPropertySymbols = {};
810
- objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
811
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
812
- var defineBuiltIn$4 = function(target, key, value, options2) {
813
- if (options2 && options2.enumerable)
814
- target[key] = value;
815
- else
816
- createNonEnumerableProperty$3(target, key, value);
817
- return target;
818
- };
819
- var defineProperty$b = objectDefineProperty;
820
- var defineBuiltInAccessor$1 = function(target, name, descriptor) {
821
- return defineProperty$b.f(target, name, descriptor);
822
- };
823
- var wellKnownSymbolWrapped = {};
824
- var wellKnownSymbol$h = wellKnownSymbol$l;
825
- wellKnownSymbolWrapped.f = wellKnownSymbol$h;
826
- var path$a = path$e;
827
- var hasOwn$8 = hasOwnProperty_1;
828
- var wrappedWellKnownSymbolModule$1 = wellKnownSymbolWrapped;
829
- var defineProperty$a = objectDefineProperty.f;
830
- var wellKnownSymbolDefine = function(NAME) {
831
- var Symbol2 = path$a.Symbol || (path$a.Symbol = {});
832
- if (!hasOwn$8(Symbol2, NAME))
833
- defineProperty$a(Symbol2, NAME, {
834
- value: wrappedWellKnownSymbolModule$1.f(NAME)
835
- });
836
- };
837
- var call$6 = functionCall;
838
- var getBuiltIn$7 = getBuiltIn$a;
839
- var wellKnownSymbol$g = wellKnownSymbol$l;
840
- var defineBuiltIn$3 = defineBuiltIn$4;
841
- var symbolDefineToPrimitive = function() {
842
- var Symbol2 = getBuiltIn$7("Symbol");
843
- var SymbolPrototype2 = Symbol2 && Symbol2.prototype;
844
- var valueOf = SymbolPrototype2 && SymbolPrototype2.valueOf;
845
- var TO_PRIMITIVE2 = wellKnownSymbol$g("toPrimitive");
846
- if (SymbolPrototype2 && !SymbolPrototype2[TO_PRIMITIVE2]) {
847
- defineBuiltIn$3(SymbolPrototype2, TO_PRIMITIVE2, function(hint) {
848
- return call$6(valueOf, this);
849
- }, {
850
- arity: 1
851
- });
852
- }
853
- };
854
- var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
855
- var classof$7 = classof$a;
856
- var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
857
- return "[object " + classof$7(this) + "]";
858
- };
859
- var TO_STRING_TAG_SUPPORT = toStringTagSupport;
860
- var defineProperty$9 = objectDefineProperty.f;
861
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
862
- var hasOwn$7 = hasOwnProperty_1;
863
- var toString$5 = objectToString;
864
- var wellKnownSymbol$f = wellKnownSymbol$l;
865
- var TO_STRING_TAG$1 = wellKnownSymbol$f("toStringTag");
866
- var setToStringTag$5 = function(it, TAG, STATIC, SET_METHOD) {
867
- if (it) {
868
- var target = STATIC ? it : it.prototype;
869
- if (!hasOwn$7(target, TO_STRING_TAG$1)) {
870
- defineProperty$9(target, TO_STRING_TAG$1, {
871
- configurable: true,
872
- value: TAG
873
- });
874
- }
875
- if (SET_METHOD && !TO_STRING_TAG_SUPPORT) {
876
- createNonEnumerableProperty$2(target, "toString", toString$5);
877
- }
878
- }
879
- };
880
- var global$8 = global$h;
881
- var isCallable$7 = isCallable$g;
882
- var WeakMap$1 = global$8.WeakMap;
883
- var weakMapBasicDetection = isCallable$7(WeakMap$1) && /native code/.test(String(WeakMap$1));
884
- var NATIVE_WEAK_MAP = weakMapBasicDetection;
885
- var global$7 = global$h;
886
- var isObject$5 = isObject$a;
887
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
888
- var hasOwn$6 = hasOwnProperty_1;
889
- var shared$4 = sharedStore;
890
- var sharedKey$2 = sharedKey$4;
891
- var hiddenKeys$1 = hiddenKeys$5;
892
- var OBJECT_ALREADY_INITIALIZED = "Object already initialized";
893
- var TypeError$2 = global$7.TypeError;
894
- var WeakMap = global$7.WeakMap;
895
- var set, get, has;
896
- var enforce = function(it) {
897
- return has(it) ? get(it) : set(it, {});
898
- };
899
- var getterFor = function(TYPE) {
900
- return function(it) {
901
- var state;
902
- if (!isObject$5(it) || (state = get(it)).type !== TYPE) {
903
- throw TypeError$2("Incompatible receiver, " + TYPE + " required");
904
- }
905
- return state;
906
- };
907
- };
908
- if (NATIVE_WEAK_MAP || shared$4.state) {
909
- var store$1 = shared$4.state || (shared$4.state = new WeakMap());
910
- store$1.get = store$1.get;
911
- store$1.has = store$1.has;
912
- store$1.set = store$1.set;
913
- set = function(it, metadata) {
914
- if (store$1.has(it))
915
- throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
916
- metadata.facade = it;
917
- store$1.set(it, metadata);
918
- return metadata;
919
- };
920
- get = function(it) {
921
- return store$1.get(it) || {};
922
- };
923
- has = function(it) {
924
- return store$1.has(it);
925
- };
926
- } else {
927
- var STATE = sharedKey$2("state");
928
- hiddenKeys$1[STATE] = true;
929
- set = function(it, metadata) {
930
- if (hasOwn$6(it, STATE))
931
- throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
932
- metadata.facade = it;
933
- createNonEnumerableProperty$1(it, STATE, metadata);
934
- return metadata;
935
- };
936
- get = function(it) {
937
- return hasOwn$6(it, STATE) ? it[STATE] : {};
938
- };
939
- has = function(it) {
940
- return hasOwn$6(it, STATE);
941
- };
942
- }
943
- var internalState = {
944
- set,
945
- get,
946
- has,
947
- enforce,
948
- getterFor
949
- };
950
- var classof$6 = classofRaw$2;
951
- var isArray$c = Array.isArray || function isArray(argument) {
952
- return classof$6(argument) === "Array";
953
- };
954
- var uncurryThis$c = functionUncurryThis;
955
- var isCallable$6 = isCallable$g;
956
- var store = sharedStore;
957
- var functionToString = uncurryThis$c(Function.toString);
958
- if (!isCallable$6(store.inspectSource)) {
959
- store.inspectSource = function(it) {
960
- return functionToString(it);
961
- };
962
- }
963
- var inspectSource$1 = store.inspectSource;
964
- var uncurryThis$b = functionUncurryThis;
965
- var fails$a = fails$j;
966
- var isCallable$5 = isCallable$g;
967
- var classof$5 = classof$a;
968
- var getBuiltIn$6 = getBuiltIn$a;
969
- var inspectSource = inspectSource$1;
970
- var noop = function() {
971
- };
972
- var empty = [];
973
- var construct = getBuiltIn$6("Reflect", "construct");
974
- var constructorRegExp = /^\s*(?:class|function)\b/;
975
- var exec$1 = uncurryThis$b(constructorRegExp.exec);
976
- var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
977
- var isConstructorModern = function isConstructor(argument) {
978
- if (!isCallable$5(argument))
979
- return false;
980
- try {
981
- construct(noop, empty, argument);
982
- return true;
983
- } catch (error) {
984
- return false;
985
- }
986
- };
987
- var isConstructorLegacy = function isConstructor2(argument) {
988
- if (!isCallable$5(argument))
989
- return false;
990
- switch (classof$5(argument)) {
991
- case "AsyncFunction":
992
- case "GeneratorFunction":
993
- case "AsyncGeneratorFunction":
994
- return false;
995
- }
996
- try {
997
- return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument));
998
- } catch (error) {
999
- return true;
1000
- }
1001
- };
1002
- isConstructorLegacy.sham = true;
1003
- var isConstructor$3 = !construct || fails$a(function() {
1004
- var called;
1005
- return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern(function() {
1006
- called = true;
1007
- }) || called;
1008
- }) ? isConstructorLegacy : isConstructorModern;
1009
- var isArray$b = isArray$c;
1010
- var isConstructor$2 = isConstructor$3;
1011
- var isObject$4 = isObject$a;
1012
- var wellKnownSymbol$e = wellKnownSymbol$l;
1013
- var SPECIES$2 = wellKnownSymbol$e("species");
1014
- var $Array$2 = Array;
1015
- var arraySpeciesConstructor$1 = function(originalArray) {
1016
- var C;
1017
- if (isArray$b(originalArray)) {
1018
- C = originalArray.constructor;
1019
- if (isConstructor$2(C) && (C === $Array$2 || isArray$b(C.prototype)))
1020
- C = void 0;
1021
- else if (isObject$4(C)) {
1022
- C = C[SPECIES$2];
1023
- if (C === null)
1024
- C = void 0;
1025
- }
1026
- }
1027
- return C === void 0 ? $Array$2 : C;
1028
- };
1029
- var arraySpeciesConstructor = arraySpeciesConstructor$1;
1030
- var arraySpeciesCreate$3 = function(originalArray, length) {
1031
- return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
1032
- };
1033
- var bind$1 = functionBindContext;
1034
- var uncurryThis$a = functionUncurryThis;
1035
- var IndexedObject = indexedObject;
1036
- var toObject$5 = toObject$8;
1037
- var lengthOfArrayLike$4 = lengthOfArrayLike$7;
1038
- var arraySpeciesCreate$2 = arraySpeciesCreate$3;
1039
- var push$2 = uncurryThis$a([].push);
1040
- var createMethod$1 = function(TYPE) {
1041
- var IS_MAP = TYPE === 1;
1042
- var IS_FILTER = TYPE === 2;
1043
- var IS_SOME = TYPE === 3;
1044
- var IS_EVERY = TYPE === 4;
1045
- var IS_FIND_INDEX = TYPE === 6;
1046
- var IS_FILTER_REJECT = TYPE === 7;
1047
- var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
1048
- return function($this, callbackfn, that, specificCreate) {
1049
- var O = toObject$5($this);
1050
- var self2 = IndexedObject(O);
1051
- var boundFunction = bind$1(callbackfn, that);
1052
- var length = lengthOfArrayLike$4(self2);
1053
- var index = 0;
1054
- var create4 = specificCreate || arraySpeciesCreate$2;
1055
- var target = IS_MAP ? create4($this, length) : IS_FILTER || IS_FILTER_REJECT ? create4($this, 0) : void 0;
1056
- var value, result;
1057
- for (; length > index; index++)
1058
- if (NO_HOLES || index in self2) {
1059
- value = self2[index];
1060
- result = boundFunction(value, index, O);
1061
- if (TYPE) {
1062
- if (IS_MAP)
1063
- target[index] = result;
1064
- else if (result)
1065
- switch (TYPE) {
1066
- case 3:
1067
- return true;
1068
- case 5:
1069
- return value;
1070
- case 6:
1071
- return index;
1072
- case 2:
1073
- push$2(target, value);
1074
- }
1075
- else
1076
- switch (TYPE) {
1077
- case 4:
1078
- return false;
1079
- case 7:
1080
- push$2(target, value);
1081
- }
1082
- }
1083
- }
1084
- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
1085
- };
1086
- };
1087
- var arrayIteration = {
1088
- // `Array.prototype.forEach` method
1089
- // https://tc39.es/ecma262/#sec-array.prototype.foreach
1090
- forEach: createMethod$1(0),
1091
- // `Array.prototype.map` method
1092
- // https://tc39.es/ecma262/#sec-array.prototype.map
1093
- map: createMethod$1(1),
1094
- // `Array.prototype.filter` method
1095
- // https://tc39.es/ecma262/#sec-array.prototype.filter
1096
- filter: createMethod$1(2),
1097
- // `Array.prototype.some` method
1098
- // https://tc39.es/ecma262/#sec-array.prototype.some
1099
- some: createMethod$1(3),
1100
- // `Array.prototype.every` method
1101
- // https://tc39.es/ecma262/#sec-array.prototype.every
1102
- every: createMethod$1(4),
1103
- // `Array.prototype.find` method
1104
- // https://tc39.es/ecma262/#sec-array.prototype.find
1105
- find: createMethod$1(5),
1106
- // `Array.prototype.findIndex` method
1107
- // https://tc39.es/ecma262/#sec-array.prototype.findIndex
1108
- findIndex: createMethod$1(6),
1109
- // `Array.prototype.filterReject` method
1110
- // https://github.com/tc39/proposal-array-filtering
1111
- filterReject: createMethod$1(7)
1112
- };
1113
- var $$r = _export;
1114
- var global$6 = global$h;
1115
- var call$5 = functionCall;
1116
- var uncurryThis$9 = functionUncurryThis;
1117
- var DESCRIPTORS$6 = descriptors;
1118
- var NATIVE_SYMBOL$3 = symbolConstructorDetection;
1119
- var fails$9 = fails$j;
1120
- var hasOwn$5 = hasOwnProperty_1;
1121
- var isPrototypeOf$9 = objectIsPrototypeOf;
1122
- var anObject$4 = anObject$8;
1123
- var toIndexedObject$4 = toIndexedObject$a;
1124
- var toPropertyKey = toPropertyKey$4;
1125
- var $toString = toString$6;
1126
- var createPropertyDescriptor$1 = createPropertyDescriptor$5;
1127
- var nativeObjectCreate = objectCreate;
1128
- var objectKeys = objectKeys$2;
1129
- var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames;
1130
- var getOwnPropertyNamesExternal = objectGetOwnPropertyNamesExternal;
1131
- var getOwnPropertySymbolsModule$2 = objectGetOwnPropertySymbols;
1132
- var getOwnPropertyDescriptorModule$1 = objectGetOwnPropertyDescriptor;
1133
- var definePropertyModule = objectDefineProperty;
1134
- var definePropertiesModule = objectDefineProperties;
1135
- var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1136
- var defineBuiltIn$2 = defineBuiltIn$4;
1137
- var defineBuiltInAccessor = defineBuiltInAccessor$1;
1138
- var shared$3 = sharedExports;
1139
- var sharedKey$1 = sharedKey$4;
1140
- var hiddenKeys = hiddenKeys$5;
1141
- var uid = uid$3;
1142
- var wellKnownSymbol$d = wellKnownSymbol$l;
1143
- var wrappedWellKnownSymbolModule = wellKnownSymbolWrapped;
1144
- var defineWellKnownSymbol$l = wellKnownSymbolDefine;
1145
- var defineSymbolToPrimitive$1 = symbolDefineToPrimitive;
1146
- var setToStringTag$4 = setToStringTag$5;
1147
- var InternalStateModule$2 = internalState;
1148
- var $forEach$1 = arrayIteration.forEach;
1149
- var HIDDEN = sharedKey$1("hidden");
1150
- var SYMBOL = "Symbol";
1151
- var PROTOTYPE = "prototype";
1152
- var setInternalState$2 = InternalStateModule$2.set;
1153
- var getInternalState$2 = InternalStateModule$2.getterFor(SYMBOL);
1154
- var ObjectPrototype$1 = Object[PROTOTYPE];
1155
- var $Symbol = global$6.Symbol;
1156
- var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];
1157
- var TypeError$1 = global$6.TypeError;
1158
- var QObject = global$6.QObject;
1159
- var nativeGetOwnPropertyDescriptor$1 = getOwnPropertyDescriptorModule$1.f;
1160
- var nativeDefineProperty = definePropertyModule.f;
1161
- var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
1162
- var nativePropertyIsEnumerable = propertyIsEnumerableModule.f;
1163
- var push$1 = uncurryThis$9([].push);
1164
- var AllSymbols = shared$3("symbols");
1165
- var ObjectPrototypeSymbols = shared$3("op-symbols");
1166
- var WellKnownSymbolsStore$1 = shared$3("wks");
1167
- var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
1168
- var setSymbolDescriptor = DESCRIPTORS$6 && fails$9(function() {
1169
- return nativeObjectCreate(nativeDefineProperty({}, "a", {
1170
- get: function() {
1171
- return nativeDefineProperty(this, "a", {
1172
- value: 7
1173
- }).a;
1174
- }
1175
- })).a !== 7;
1176
- }) ? function(O, P, Attributes) {
1177
- var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor$1(ObjectPrototype$1, P);
1178
- if (ObjectPrototypeDescriptor)
1179
- delete ObjectPrototype$1[P];
1180
- nativeDefineProperty(O, P, Attributes);
1181
- if (ObjectPrototypeDescriptor && O !== ObjectPrototype$1) {
1182
- nativeDefineProperty(ObjectPrototype$1, P, ObjectPrototypeDescriptor);
1183
- }
1184
- } : nativeDefineProperty;
1185
- var wrap = function(tag, description) {
1186
- var symbol2 = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);
1187
- setInternalState$2(symbol2, {
1188
- type: SYMBOL,
1189
- tag,
1190
- description
1191
- });
1192
- if (!DESCRIPTORS$6)
1193
- symbol2.description = description;
1194
- return symbol2;
1195
- };
1196
- var $defineProperty = function defineProperty3(O, P, Attributes) {
1197
- if (O === ObjectPrototype$1)
1198
- $defineProperty(ObjectPrototypeSymbols, P, Attributes);
1199
- anObject$4(O);
1200
- var key = toPropertyKey(P);
1201
- anObject$4(Attributes);
1202
- if (hasOwn$5(AllSymbols, key)) {
1203
- if (!Attributes.enumerable) {
1204
- if (!hasOwn$5(O, HIDDEN))
1205
- nativeDefineProperty(O, HIDDEN, createPropertyDescriptor$1(1, {}));
1206
- O[HIDDEN][key] = true;
1207
- } else {
1208
- if (hasOwn$5(O, HIDDEN) && O[HIDDEN][key])
1209
- O[HIDDEN][key] = false;
1210
- Attributes = nativeObjectCreate(Attributes, {
1211
- enumerable: createPropertyDescriptor$1(0, false)
1212
- });
1213
- }
1214
- return setSymbolDescriptor(O, key, Attributes);
1215
- }
1216
- return nativeDefineProperty(O, key, Attributes);
1217
- };
1218
- var $defineProperties = function defineProperties2(O, Properties) {
1219
- anObject$4(O);
1220
- var properties = toIndexedObject$4(Properties);
1221
- var keys4 = objectKeys(properties).concat($getOwnPropertySymbols(properties));
1222
- $forEach$1(keys4, function(key) {
1223
- if (!DESCRIPTORS$6 || call$5($propertyIsEnumerable, properties, key))
1224
- $defineProperty(O, key, properties[key]);
1225
- });
1226
- return O;
1227
- };
1228
- var $create = function create2(O, Properties) {
1229
- return Properties === void 0 ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
1230
- };
1231
- var $propertyIsEnumerable = function propertyIsEnumerable2(V) {
1232
- var P = toPropertyKey(V);
1233
- var enumerable = call$5(nativePropertyIsEnumerable, this, P);
1234
- if (this === ObjectPrototype$1 && hasOwn$5(AllSymbols, P) && !hasOwn$5(ObjectPrototypeSymbols, P))
1235
- return false;
1236
- return enumerable || !hasOwn$5(this, P) || !hasOwn$5(AllSymbols, P) || hasOwn$5(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;
1237
- };
1238
- var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor2(O, P) {
1239
- var it = toIndexedObject$4(O);
1240
- var key = toPropertyKey(P);
1241
- if (it === ObjectPrototype$1 && hasOwn$5(AllSymbols, key) && !hasOwn$5(ObjectPrototypeSymbols, key))
1242
- return;
1243
- var descriptor = nativeGetOwnPropertyDescriptor$1(it, key);
1244
- if (descriptor && hasOwn$5(AllSymbols, key) && !(hasOwn$5(it, HIDDEN) && it[HIDDEN][key])) {
1245
- descriptor.enumerable = true;
1246
- }
1247
- return descriptor;
1248
- };
1249
- var $getOwnPropertyNames = function getOwnPropertyNames3(O) {
1250
- var names = nativeGetOwnPropertyNames(toIndexedObject$4(O));
1251
- var result = [];
1252
- $forEach$1(names, function(key) {
1253
- if (!hasOwn$5(AllSymbols, key) && !hasOwn$5(hiddenKeys, key))
1254
- push$1(result, key);
1255
- });
1256
- return result;
1257
- };
1258
- var $getOwnPropertySymbols = function(O) {
1259
- var IS_OBJECT_PROTOTYPE = O === ObjectPrototype$1;
1260
- var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject$4(O));
1261
- var result = [];
1262
- $forEach$1(names, function(key) {
1263
- if (hasOwn$5(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn$5(ObjectPrototype$1, key))) {
1264
- push$1(result, AllSymbols[key]);
1265
- }
1266
- });
1267
- return result;
1268
- };
1269
- if (!NATIVE_SYMBOL$3) {
1270
- $Symbol = function Symbol2() {
1271
- if (isPrototypeOf$9(SymbolPrototype, this))
1272
- throw TypeError$1("Symbol is not a constructor");
1273
- var description = !arguments.length || arguments[0] === void 0 ? void 0 : $toString(arguments[0]);
1274
- var tag = uid(description);
1275
- var setter = function(value) {
1276
- if (this === ObjectPrototype$1)
1277
- call$5(setter, ObjectPrototypeSymbols, value);
1278
- if (hasOwn$5(this, HIDDEN) && hasOwn$5(this[HIDDEN], tag))
1279
- this[HIDDEN][tag] = false;
1280
- setSymbolDescriptor(this, tag, createPropertyDescriptor$1(1, value));
1281
- };
1282
- if (DESCRIPTORS$6 && USE_SETTER)
1283
- setSymbolDescriptor(ObjectPrototype$1, tag, {
1284
- configurable: true,
1285
- set: setter
1286
- });
1287
- return wrap(tag, description);
1288
- };
1289
- SymbolPrototype = $Symbol[PROTOTYPE];
1290
- defineBuiltIn$2(SymbolPrototype, "toString", function toString3() {
1291
- return getInternalState$2(this).tag;
1292
- });
1293
- defineBuiltIn$2($Symbol, "withoutSetter", function(description) {
1294
- return wrap(uid(description), description);
1295
- });
1296
- propertyIsEnumerableModule.f = $propertyIsEnumerable;
1297
- definePropertyModule.f = $defineProperty;
1298
- definePropertiesModule.f = $defineProperties;
1299
- getOwnPropertyDescriptorModule$1.f = $getOwnPropertyDescriptor;
1300
- getOwnPropertyNamesModule$1.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
1301
- getOwnPropertySymbolsModule$2.f = $getOwnPropertySymbols;
1302
- wrappedWellKnownSymbolModule.f = function(name) {
1303
- return wrap(wellKnownSymbol$d(name), name);
1304
- };
1305
- if (DESCRIPTORS$6) {
1306
- defineBuiltInAccessor(SymbolPrototype, "description", {
1307
- configurable: true,
1308
- get: function description() {
1309
- return getInternalState$2(this).description;
1310
- }
1311
- });
1312
- }
1313
- }
1314
- $$r({
1315
- global: true,
1316
- constructor: true,
1317
- wrap: true,
1318
- forced: !NATIVE_SYMBOL$3,
1319
- sham: !NATIVE_SYMBOL$3
1320
- }, {
1321
- Symbol: $Symbol
1322
- });
1323
- $forEach$1(objectKeys(WellKnownSymbolsStore$1), function(name) {
1324
- defineWellKnownSymbol$l(name);
1325
- });
1326
- $$r({
1327
- target: SYMBOL,
1328
- stat: true,
1329
- forced: !NATIVE_SYMBOL$3
1330
- }, {
1331
- useSetter: function() {
1332
- USE_SETTER = true;
1333
- },
1334
- useSimple: function() {
1335
- USE_SETTER = false;
1336
- }
1337
- });
1338
- $$r({
1339
- target: "Object",
1340
- stat: true,
1341
- forced: !NATIVE_SYMBOL$3,
1342
- sham: !DESCRIPTORS$6
1343
- }, {
1344
- // `Object.create` method
1345
- // https://tc39.es/ecma262/#sec-object.create
1346
- create: $create,
1347
- // `Object.defineProperty` method
1348
- // https://tc39.es/ecma262/#sec-object.defineproperty
1349
- defineProperty: $defineProperty,
1350
- // `Object.defineProperties` method
1351
- // https://tc39.es/ecma262/#sec-object.defineproperties
1352
- defineProperties: $defineProperties,
1353
- // `Object.getOwnPropertyDescriptor` method
1354
- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
1355
- getOwnPropertyDescriptor: $getOwnPropertyDescriptor
1356
- });
1357
- $$r({
1358
- target: "Object",
1359
- stat: true,
1360
- forced: !NATIVE_SYMBOL$3
1361
- }, {
1362
- // `Object.getOwnPropertyNames` method
1363
- // https://tc39.es/ecma262/#sec-object.getownpropertynames
1364
- getOwnPropertyNames: $getOwnPropertyNames
1365
- });
1366
- defineSymbolToPrimitive$1();
1367
- setToStringTag$4($Symbol, SYMBOL);
1368
- hiddenKeys[HIDDEN] = true;
1369
- var NATIVE_SYMBOL$2 = symbolConstructorDetection;
1370
- var symbolRegistryDetection = NATIVE_SYMBOL$2 && !!Symbol["for"] && !!Symbol.keyFor;
1371
- var $$q = _export;
1372
- var getBuiltIn$5 = getBuiltIn$a;
1373
- var hasOwn$4 = hasOwnProperty_1;
1374
- var toString$4 = toString$6;
1375
- var shared$2 = sharedExports;
1376
- var NATIVE_SYMBOL_REGISTRY$1 = symbolRegistryDetection;
1377
- var StringToSymbolRegistry = shared$2("string-to-symbol-registry");
1378
- var SymbolToStringRegistry$1 = shared$2("symbol-to-string-registry");
1379
- $$q({
1380
- target: "Symbol",
1381
- stat: true,
1382
- forced: !NATIVE_SYMBOL_REGISTRY$1
1383
- }, {
1384
- "for": function(key) {
1385
- var string = toString$4(key);
1386
- if (hasOwn$4(StringToSymbolRegistry, string))
1387
- return StringToSymbolRegistry[string];
1388
- var symbol2 = getBuiltIn$5("Symbol")(string);
1389
- StringToSymbolRegistry[string] = symbol2;
1390
- SymbolToStringRegistry$1[symbol2] = string;
1391
- return symbol2;
1392
- }
1393
- });
1394
- var $$p = _export;
1395
- var hasOwn$3 = hasOwnProperty_1;
1396
- var isSymbol$2 = isSymbol$5;
1397
- var tryToString$2 = tryToString$4;
1398
- var shared$1 = sharedExports;
1399
- var NATIVE_SYMBOL_REGISTRY = symbolRegistryDetection;
1400
- var SymbolToStringRegistry = shared$1("symbol-to-string-registry");
1401
- $$p({
1402
- target: "Symbol",
1403
- stat: true,
1404
- forced: !NATIVE_SYMBOL_REGISTRY
1405
- }, {
1406
- keyFor: function keyFor(sym) {
1407
- if (!isSymbol$2(sym))
1408
- throw TypeError(tryToString$2(sym) + " is not a symbol");
1409
- if (hasOwn$3(SymbolToStringRegistry, sym))
1410
- return SymbolToStringRegistry[sym];
1411
- }
1412
- });
1413
- var uncurryThis$8 = functionUncurryThis;
1414
- var arraySlice$2 = uncurryThis$8([].slice);
1415
- var uncurryThis$7 = functionUncurryThis;
1416
- var isArray$a = isArray$c;
1417
- var isCallable$4 = isCallable$g;
1418
- var classof$4 = classofRaw$2;
1419
- var toString$3 = toString$6;
1420
- var push = uncurryThis$7([].push);
1421
- var getJsonReplacerFunction = function(replacer) {
1422
- if (isCallable$4(replacer))
1423
- return replacer;
1424
- if (!isArray$a(replacer))
1425
- return;
1426
- var rawLength = replacer.length;
1427
- var keys4 = [];
1428
- for (var i = 0; i < rawLength; i++) {
1429
- var element = replacer[i];
1430
- if (typeof element == "string")
1431
- push(keys4, element);
1432
- else if (typeof element == "number" || classof$4(element) === "Number" || classof$4(element) === "String")
1433
- push(keys4, toString$3(element));
1434
- }
1435
- var keysLength = keys4.length;
1436
- var root = true;
1437
- return function(key, value) {
1438
- if (root) {
1439
- root = false;
1440
- return value;
1441
- }
1442
- if (isArray$a(this))
1443
- return value;
1444
- for (var j = 0; j < keysLength; j++)
1445
- if (keys4[j] === key)
1446
- return value;
1447
- };
1448
- };
1449
- var $$o = _export;
1450
- var getBuiltIn$4 = getBuiltIn$a;
1451
- var apply$1 = functionApply;
1452
- var call$4 = functionCall;
1453
- var uncurryThis$6 = functionUncurryThis;
1454
- var fails$8 = fails$j;
1455
- var isCallable$3 = isCallable$g;
1456
- var isSymbol$1 = isSymbol$5;
1457
- var arraySlice$1 = arraySlice$2;
1458
- var getReplacerFunction = getJsonReplacerFunction;
1459
- var NATIVE_SYMBOL$1 = symbolConstructorDetection;
1460
- var $String = String;
1461
- var $stringify = getBuiltIn$4("JSON", "stringify");
1462
- var exec = uncurryThis$6(/./.exec);
1463
- var charAt$2 = uncurryThis$6("".charAt);
1464
- var charCodeAt$1 = uncurryThis$6("".charCodeAt);
1465
- var replace = uncurryThis$6("".replace);
1466
- var numberToString = uncurryThis$6(1 .toString);
1467
- var tester = /[\uD800-\uDFFF]/g;
1468
- var low = /^[\uD800-\uDBFF]$/;
1469
- var hi = /^[\uDC00-\uDFFF]$/;
1470
- var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL$1 || fails$8(function() {
1471
- var symbol2 = getBuiltIn$4("Symbol")("stringify detection");
1472
- return $stringify([symbol2]) !== "[null]" || $stringify({
1473
- a: symbol2
1474
- }) !== "{}" || $stringify(Object(symbol2)) !== "{}";
1475
- });
1476
- var ILL_FORMED_UNICODE = fails$8(function() {
1477
- return $stringify("\uDF06\uD834") !== '"\\udf06\\ud834"' || $stringify("\uDEAD") !== '"\\udead"';
1478
- });
1479
- var stringifyWithSymbolsFix = function(it, replacer) {
1480
- var args = arraySlice$1(arguments);
1481
- var $replacer = getReplacerFunction(replacer);
1482
- if (!isCallable$3($replacer) && (it === void 0 || isSymbol$1(it)))
1483
- return;
1484
- args[1] = function(key, value) {
1485
- if (isCallable$3($replacer))
1486
- value = call$4($replacer, this, $String(key), value);
1487
- if (!isSymbol$1(value))
1488
- return value;
1489
- };
1490
- return apply$1($stringify, null, args);
1491
- };
1492
- var fixIllFormed = function(match2, offset, string) {
1493
- var prev = charAt$2(string, offset - 1);
1494
- var next2 = charAt$2(string, offset + 1);
1495
- if (exec(low, match2) && !exec(hi, next2) || exec(hi, match2) && !exec(low, prev)) {
1496
- return "\\u" + numberToString(charCodeAt$1(match2, 0), 16);
1497
- }
1498
- return match2;
1499
- };
1500
- if ($stringify) {
1501
- $$o({
1502
- target: "JSON",
1503
- stat: true,
1504
- arity: 3,
1505
- forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE
1506
- }, {
1507
- // eslint-disable-next-line no-unused-vars -- required for `.length`
1508
- stringify: function stringify(it, replacer, space) {
1509
- var args = arraySlice$1(arguments);
1510
- var result = apply$1(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
1511
- return ILL_FORMED_UNICODE && typeof result == "string" ? replace(result, tester, fixIllFormed) : result;
1512
- }
1513
- });
1514
- }
1515
- var $$n = _export;
1516
- var NATIVE_SYMBOL = symbolConstructorDetection;
1517
- var fails$7 = fails$j;
1518
- var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1519
- var toObject$4 = toObject$8;
1520
- var FORCED$3 = !NATIVE_SYMBOL || fails$7(function() {
1521
- getOwnPropertySymbolsModule$1.f(1);
1522
- });
1523
- $$n({
1524
- target: "Object",
1525
- stat: true,
1526
- forced: FORCED$3
1527
- }, {
1528
- getOwnPropertySymbols: function getOwnPropertySymbols(it) {
1529
- var $getOwnPropertySymbols2 = getOwnPropertySymbolsModule$1.f;
1530
- return $getOwnPropertySymbols2 ? $getOwnPropertySymbols2(toObject$4(it)) : [];
1531
- }
1532
- });
1533
- var path$9 = path$e;
1534
- var getOwnPropertySymbols$5 = path$9.Object.getOwnPropertySymbols;
1535
- var parent$Z = getOwnPropertySymbols$5;
1536
- var getOwnPropertySymbols$4 = parent$Z;
1537
- var parent$Y = getOwnPropertySymbols$4;
1538
- var getOwnPropertySymbols$3 = parent$Y;
1539
- var parent$X = getOwnPropertySymbols$3;
1540
- var getOwnPropertySymbols$2 = parent$X;
1541
- var getOwnPropertySymbols$1 = getOwnPropertySymbols$2;
1542
- var getOwnPropertySymbols2 = getOwnPropertySymbols$1;
1543
- const _Object$getOwnPropertySymbols = /* @__PURE__ */ getDefaultExportFromCjs(getOwnPropertySymbols2);
1544
- var getOwnPropertyDescriptor$7 = { exports: {} };
1545
- var $$m = _export;
1546
- var fails$6 = fails$j;
1547
- var toIndexedObject$3 = toIndexedObject$a;
1548
- var nativeGetOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1549
- var DESCRIPTORS$5 = descriptors;
1550
- var FORCED$2 = !DESCRIPTORS$5 || fails$6(function() {
1551
- nativeGetOwnPropertyDescriptor(1);
1552
- });
1553
- $$m({
1554
- target: "Object",
1555
- stat: true,
1556
- forced: FORCED$2,
1557
- sham: !DESCRIPTORS$5
1558
- }, {
1559
- getOwnPropertyDescriptor: function getOwnPropertyDescriptor3(it, key) {
1560
- return nativeGetOwnPropertyDescriptor(toIndexedObject$3(it), key);
1561
- }
1562
- });
1563
- var path$8 = path$e;
1564
- var Object$3 = path$8.Object;
1565
- var getOwnPropertyDescriptor$6 = getOwnPropertyDescriptor$7.exports = function getOwnPropertyDescriptor4(it, key) {
1566
- return Object$3.getOwnPropertyDescriptor(it, key);
1567
- };
1568
- if (Object$3.getOwnPropertyDescriptor.sham)
1569
- getOwnPropertyDescriptor$6.sham = true;
1570
- var getOwnPropertyDescriptorExports = getOwnPropertyDescriptor$7.exports;
1571
- var parent$W = getOwnPropertyDescriptorExports;
1572
- var getOwnPropertyDescriptor$5 = parent$W;
1573
- var parent$V = getOwnPropertyDescriptor$5;
1574
- var getOwnPropertyDescriptor$4 = parent$V;
1575
- var parent$U = getOwnPropertyDescriptor$4;
1576
- var getOwnPropertyDescriptor$3 = parent$U;
1577
- var getOwnPropertyDescriptor$2 = getOwnPropertyDescriptor$3;
1578
- var getOwnPropertyDescriptor$1 = getOwnPropertyDescriptor$2;
1579
- const _Object$getOwnPropertyDescriptor = /* @__PURE__ */ getDefaultExportFromCjs(getOwnPropertyDescriptor$1);
1580
- var iterators = {};
1581
- var DESCRIPTORS$4 = descriptors;
1582
- var hasOwn$2 = hasOwnProperty_1;
1583
- var FunctionPrototype$1 = Function.prototype;
1584
- var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
1585
- var EXISTS = hasOwn$2(FunctionPrototype$1, "name");
1586
- var PROPER = EXISTS && (function something() {
1587
- }).name === "something";
1588
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || DESCRIPTORS$4 && getDescriptor(FunctionPrototype$1, "name").configurable);
1589
- var functionName = {
1590
- EXISTS,
1591
- PROPER,
1592
- CONFIGURABLE
1593
- };
1594
- var fails$5 = fails$j;
1595
- var correctPrototypeGetter = !fails$5(function() {
1596
- function F() {
1597
- }
1598
- F.prototype.constructor = null;
1599
- return Object.getPrototypeOf(new F()) !== F.prototype;
1600
- });
1601
- var hasOwn$1 = hasOwnProperty_1;
1602
- var isCallable$2 = isCallable$g;
1603
- var toObject$3 = toObject$8;
1604
- var sharedKey = sharedKey$4;
1605
- var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1606
- var IE_PROTO = sharedKey("IE_PROTO");
1607
- var $Object = Object;
1608
- var ObjectPrototype = $Object.prototype;
1609
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function(O) {
1610
- var object = toObject$3(O);
1611
- if (hasOwn$1(object, IE_PROTO))
1612
- return object[IE_PROTO];
1613
- var constructor = object.constructor;
1614
- if (isCallable$2(constructor) && object instanceof constructor) {
1615
- return constructor.prototype;
1616
- }
1617
- return object instanceof $Object ? ObjectPrototype : null;
1618
- };
1619
- var fails$4 = fails$j;
1620
- var isCallable$1 = isCallable$g;
1621
- var isObject$3 = isObject$a;
1622
- var create$1 = objectCreate;
1623
- var getPrototypeOf$1 = objectGetPrototypeOf;
1624
- var defineBuiltIn$1 = defineBuiltIn$4;
1625
- var wellKnownSymbol$c = wellKnownSymbol$l;
1626
- var ITERATOR$4 = wellKnownSymbol$c("iterator");
1627
- var BUGGY_SAFARI_ITERATORS$1 = false;
1628
- var IteratorPrototype$1, PrototypeOfArrayIteratorPrototype, arrayIterator;
1629
- if ([].keys) {
1630
- arrayIterator = [].keys();
1631
- if (!("next" in arrayIterator))
1632
- BUGGY_SAFARI_ITERATORS$1 = true;
1633
- else {
1634
- PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
1635
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype)
1636
- IteratorPrototype$1 = PrototypeOfArrayIteratorPrototype;
1637
- }
1638
- }
1639
- var NEW_ITERATOR_PROTOTYPE = !isObject$3(IteratorPrototype$1) || fails$4(function() {
1640
- var test2 = {};
1641
- return IteratorPrototype$1[ITERATOR$4].call(test2) !== test2;
1642
- });
1643
- if (NEW_ITERATOR_PROTOTYPE)
1644
- IteratorPrototype$1 = {};
1645
- else
1646
- IteratorPrototype$1 = create$1(IteratorPrototype$1);
1647
- if (!isCallable$1(IteratorPrototype$1[ITERATOR$4])) {
1648
- defineBuiltIn$1(IteratorPrototype$1, ITERATOR$4, function() {
1649
- return this;
1650
- });
1651
- }
1652
- var iteratorsCore = {
1653
- IteratorPrototype: IteratorPrototype$1,
1654
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1655
- };
1656
- var IteratorPrototype = iteratorsCore.IteratorPrototype;
1657
- var create3 = objectCreate;
1658
- var createPropertyDescriptor = createPropertyDescriptor$5;
1659
- var setToStringTag$3 = setToStringTag$5;
1660
- var Iterators$5 = iterators;
1661
- var returnThis$1 = function() {
1662
- return this;
1663
- };
1664
- var iteratorCreateConstructor = function(IteratorConstructor, NAME, next2, ENUMERABLE_NEXT) {
1665
- var TO_STRING_TAG2 = NAME + " Iterator";
1666
- IteratorConstructor.prototype = create3(IteratorPrototype, {
1667
- next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next2)
1668
- });
1669
- setToStringTag$3(IteratorConstructor, TO_STRING_TAG2, false, true);
1670
- Iterators$5[TO_STRING_TAG2] = returnThis$1;
1671
- return IteratorConstructor;
1672
- };
1673
- var $$l = _export;
1674
- var call$3 = functionCall;
1675
- var FunctionName = functionName;
1676
- var createIteratorConstructor = iteratorCreateConstructor;
1677
- var getPrototypeOf = objectGetPrototypeOf;
1678
- var setToStringTag$2 = setToStringTag$5;
1679
- var defineBuiltIn = defineBuiltIn$4;
1680
- var wellKnownSymbol$b = wellKnownSymbol$l;
1681
- var Iterators$4 = iterators;
1682
- var IteratorsCore = iteratorsCore;
1683
- var PROPER_FUNCTION_NAME = FunctionName.PROPER;
1684
- FunctionName.CONFIGURABLE;
1685
- IteratorsCore.IteratorPrototype;
1686
- var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1687
- var ITERATOR$3 = wellKnownSymbol$b("iterator");
1688
- var KEYS = "keys";
1689
- var VALUES = "values";
1690
- var ENTRIES = "entries";
1691
- var returnThis = function() {
1692
- return this;
1693
- };
1694
- var iteratorDefine = function(Iterable, NAME, IteratorConstructor, next2, DEFAULT, IS_SET, FORCED2) {
1695
- createIteratorConstructor(IteratorConstructor, NAME, next2);
1696
- var getIterationMethod = function(KIND) {
1697
- if (KIND === DEFAULT && defaultIterator)
1698
- return defaultIterator;
1699
- if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype)
1700
- return IterablePrototype[KIND];
1701
- switch (KIND) {
1702
- case KEYS:
1703
- return function keys4() {
1704
- return new IteratorConstructor(this, KIND);
1705
- };
1706
- case VALUES:
1707
- return function values() {
1708
- return new IteratorConstructor(this, KIND);
1709
- };
1710
- case ENTRIES:
1711
- return function entries() {
1712
- return new IteratorConstructor(this, KIND);
1713
- };
1714
- }
1715
- return function() {
1716
- return new IteratorConstructor(this);
1717
- };
1718
- };
1719
- var TO_STRING_TAG2 = NAME + " Iterator";
1720
- var INCORRECT_VALUES_NAME = false;
1721
- var IterablePrototype = Iterable.prototype;
1722
- var nativeIterator = IterablePrototype[ITERATOR$3] || IterablePrototype["@@iterator"] || DEFAULT && IterablePrototype[DEFAULT];
1723
- var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
1724
- var anyNativeIterator = NAME === "Array" ? IterablePrototype.entries || nativeIterator : nativeIterator;
1725
- var CurrentIteratorPrototype, methods, KEY;
1726
- if (anyNativeIterator) {
1727
- CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
1728
- if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
1729
- setToStringTag$2(CurrentIteratorPrototype, TO_STRING_TAG2, true, true);
1730
- Iterators$4[TO_STRING_TAG2] = returnThis;
1731
- }
1732
- }
1733
- if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1734
- {
1735
- INCORRECT_VALUES_NAME = true;
1736
- defaultIterator = function values() {
1737
- return call$3(nativeIterator, this);
1738
- };
1739
- }
1740
- }
1741
- if (DEFAULT) {
1742
- methods = {
1743
- values: getIterationMethod(VALUES),
1744
- keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
1745
- entries: getIterationMethod(ENTRIES)
1746
- };
1747
- if (FORCED2)
1748
- for (KEY in methods) {
1749
- if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1750
- defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
1751
- }
1752
- }
1753
- else
1754
- $$l({
1755
- target: NAME,
1756
- proto: true,
1757
- forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME
1758
- }, methods);
1759
- }
1760
- if (FORCED2 && IterablePrototype[ITERATOR$3] !== defaultIterator) {
1761
- defineBuiltIn(IterablePrototype, ITERATOR$3, defaultIterator, {
1762
- name: DEFAULT
1763
- });
1764
- }
1765
- Iterators$4[NAME] = defaultIterator;
1766
- return methods;
1767
- };
1768
- var createIterResultObject$2 = function(value, done) {
1769
- return {
1770
- value,
1771
- done
1772
- };
1773
- };
1774
- var toIndexedObject$2 = toIndexedObject$a;
1775
- var Iterators$3 = iterators;
1776
- var InternalStateModule$1 = internalState;
1777
- objectDefineProperty.f;
1778
- var defineIterator$1 = iteratorDefine;
1779
- var createIterResultObject$1 = createIterResultObject$2;
1780
- var ARRAY_ITERATOR = "Array Iterator";
1781
- var setInternalState$1 = InternalStateModule$1.set;
1782
- var getInternalState$1 = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
1783
- defineIterator$1(Array, "Array", function(iterated, kind) {
1784
- setInternalState$1(this, {
1785
- type: ARRAY_ITERATOR,
1786
- target: toIndexedObject$2(iterated),
1787
- // target
1788
- index: 0,
1789
- // next index
1790
- kind
1791
- // kind
1792
- });
1793
- }, function() {
1794
- var state = getInternalState$1(this);
1795
- var target = state.target;
1796
- var kind = state.kind;
1797
- var index = state.index++;
1798
- if (!target || index >= target.length) {
1799
- state.target = void 0;
1800
- return createIterResultObject$1(void 0, true);
1801
- }
1802
- switch (kind) {
1803
- case "keys":
1804
- return createIterResultObject$1(index, false);
1805
- case "values":
1806
- return createIterResultObject$1(target[index], false);
1807
- }
1808
- return createIterResultObject$1([index, target[index]], false);
1809
- }, "values");
1810
- Iterators$3.Arguments = Iterators$3.Array;
1811
- var domIterables = {
1812
- CSSRuleList: 0,
1813
- CSSStyleDeclaration: 0,
1814
- CSSValueList: 0,
1815
- ClientRectList: 0,
1816
- DOMRectList: 0,
1817
- DOMStringList: 0,
1818
- DOMTokenList: 1,
1819
- DataTransferItemList: 0,
1820
- FileList: 0,
1821
- HTMLAllCollection: 0,
1822
- HTMLCollection: 0,
1823
- HTMLFormElement: 0,
1824
- HTMLSelectElement: 0,
1825
- MediaList: 0,
1826
- MimeTypeArray: 0,
1827
- NamedNodeMap: 0,
1828
- NodeList: 1,
1829
- PaintRequestList: 0,
1830
- Plugin: 0,
1831
- PluginArray: 0,
1832
- SVGLengthList: 0,
1833
- SVGNumberList: 0,
1834
- SVGPathSegList: 0,
1835
- SVGPointList: 0,
1836
- SVGStringList: 0,
1837
- SVGTransformList: 0,
1838
- SourceBufferList: 0,
1839
- StyleSheetList: 0,
1840
- TextTrackCueList: 0,
1841
- TextTrackList: 0,
1842
- TouchList: 0
1843
- };
1844
- var DOMIterables$1 = domIterables;
1845
- var global$5 = global$h;
1846
- var classof$3 = classof$a;
1847
- var createNonEnumerableProperty = createNonEnumerableProperty$5;
1848
- var Iterators$2 = iterators;
1849
- var wellKnownSymbol$a = wellKnownSymbol$l;
1850
- var TO_STRING_TAG = wellKnownSymbol$a("toStringTag");
1851
- for (var COLLECTION_NAME in DOMIterables$1) {
1852
- var Collection = global$5[COLLECTION_NAME];
1853
- var CollectionPrototype = Collection && Collection.prototype;
1854
- if (CollectionPrototype && classof$3(CollectionPrototype) !== TO_STRING_TAG) {
1855
- createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
1856
- }
1857
- Iterators$2[COLLECTION_NAME] = Iterators$2.Array;
1858
- }
1859
- var fails$3 = fails$j;
1860
- var arrayMethodIsStrict$2 = function(METHOD_NAME, argument) {
1861
- var method2 = [][METHOD_NAME];
1862
- return !!method2 && fails$3(function() {
1863
- method2.call(null, argument || function() {
1864
- return 1;
1865
- }, 1);
1866
- });
1867
- };
1868
- var $forEach = arrayIteration.forEach;
1869
- var arrayMethodIsStrict$1 = arrayMethodIsStrict$2;
1870
- var STRICT_METHOD = arrayMethodIsStrict$1("forEach");
1871
- var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn) {
1872
- return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
1873
- } : [].forEach;
1874
- var $$k = _export;
1875
- var forEach$7 = arrayForEach;
1876
- $$k({
1877
- target: "Array",
1878
- proto: true,
1879
- forced: [].forEach !== forEach$7
1880
- }, {
1881
- forEach: forEach$7
1882
- });
1883
- var path$7 = path$e;
1884
- var entryVirtual$a = function(CONSTRUCTOR) {
1885
- return path$7[CONSTRUCTOR + "Prototype"];
1886
- };
1887
- var entryVirtual$9 = entryVirtual$a;
1888
- var forEach$6 = entryVirtual$9("Array").forEach;
1889
- var parent$T = forEach$6;
1890
- var forEach$5 = parent$T;
1891
- var classof$2 = classof$a;
1892
- var hasOwn2 = hasOwnProperty_1;
1893
- var isPrototypeOf$8 = objectIsPrototypeOf;
1894
- var method$7 = forEach$5;
1895
- var ArrayPrototype$9 = Array.prototype;
1896
- var DOMIterables = {
1897
- DOMTokenList: true,
1898
- NodeList: true
1899
- };
1900
- var forEach$4 = function(it) {
1901
- var own = it.forEach;
1902
- return it === ArrayPrototype$9 || isPrototypeOf$8(ArrayPrototype$9, it) && own === ArrayPrototype$9.forEach || hasOwn2(DOMIterables, classof$2(it)) ? method$7 : own;
1903
- };
1904
- var parent$S = forEach$4;
1905
- var forEach$3 = parent$S;
1906
- var parent$R = forEach$3;
1907
- var forEach$2 = parent$R;
1908
- var forEach$1 = forEach$2;
1909
- var forEach2 = forEach$1;
1910
- const _forEachInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(forEach2);
1911
- var getBuiltIn$3 = getBuiltIn$a;
1912
- var uncurryThis$5 = functionUncurryThis;
1913
- var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1914
- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1915
- var anObject$3 = anObject$8;
1916
- var concat$7 = uncurryThis$5([].concat);
1917
- var ownKeys$2 = getBuiltIn$3("Reflect", "ownKeys") || function ownKeys(it) {
1918
- var keys4 = getOwnPropertyNamesModule.f(anObject$3(it));
1919
- var getOwnPropertySymbols3 = getOwnPropertySymbolsModule.f;
1920
- return getOwnPropertySymbols3 ? concat$7(keys4, getOwnPropertySymbols3(it)) : keys4;
1921
- };
1922
- var $$j = _export;
1923
- var DESCRIPTORS$3 = descriptors;
1924
- var ownKeys$1 = ownKeys$2;
1925
- var toIndexedObject$1 = toIndexedObject$a;
1926
- var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
1927
- var createProperty$4 = createProperty$6;
1928
- $$j({
1929
- target: "Object",
1930
- stat: true,
1931
- sham: !DESCRIPTORS$3
1932
- }, {
1933
- getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
1934
- var O = toIndexedObject$1(object);
1935
- var getOwnPropertyDescriptor6 = getOwnPropertyDescriptorModule.f;
1936
- var keys4 = ownKeys$1(O);
1937
- var result = {};
1938
- var index = 0;
1939
- var key, descriptor;
1940
- while (keys4.length > index) {
1941
- descriptor = getOwnPropertyDescriptor6(O, key = keys4[index++]);
1942
- if (descriptor !== void 0)
1943
- createProperty$4(result, key, descriptor);
1944
- }
1945
- return result;
1946
- }
1947
- });
1948
- var path$6 = path$e;
1949
- var getOwnPropertyDescriptors$5 = path$6.Object.getOwnPropertyDescriptors;
1950
- var parent$Q = getOwnPropertyDescriptors$5;
1951
- var getOwnPropertyDescriptors$4 = parent$Q;
1952
- var parent$P = getOwnPropertyDescriptors$4;
1953
- var getOwnPropertyDescriptors$3 = parent$P;
1954
- var parent$O = getOwnPropertyDescriptors$3;
1955
- var getOwnPropertyDescriptors$2 = parent$O;
1956
- var getOwnPropertyDescriptors$1 = getOwnPropertyDescriptors$2;
1957
- var getOwnPropertyDescriptors2 = getOwnPropertyDescriptors$1;
1958
- const _Object$getOwnPropertyDescriptors = /* @__PURE__ */ getDefaultExportFromCjs(getOwnPropertyDescriptors2);
1959
- var defineProperties$7 = { exports: {} };
1960
- var $$i = _export;
1961
- var DESCRIPTORS$2 = descriptors;
1962
- var defineProperties$6 = objectDefineProperties.f;
1963
- $$i({
1964
- target: "Object",
1965
- stat: true,
1966
- forced: Object.defineProperties !== defineProperties$6,
1967
- sham: !DESCRIPTORS$2
1968
- }, {
1969
- defineProperties: defineProperties$6
1970
- });
1971
- var path$5 = path$e;
1972
- var Object$2 = path$5.Object;
1973
- var defineProperties$5 = defineProperties$7.exports = function defineProperties3(T, D) {
1974
- return Object$2.defineProperties(T, D);
1975
- };
1976
- if (Object$2.defineProperties.sham)
1977
- defineProperties$5.sham = true;
1978
- var definePropertiesExports = defineProperties$7.exports;
1979
- var parent$N = definePropertiesExports;
1980
- var defineProperties$4 = parent$N;
1981
- var parent$M = defineProperties$4;
1982
- var defineProperties$3 = parent$M;
1983
- var parent$L = defineProperties$3;
1984
- var defineProperties$2 = parent$L;
1985
- var defineProperties$1 = defineProperties$2;
1986
- var defineProperties4 = defineProperties$1;
1987
- const _Object$defineProperties = /* @__PURE__ */ getDefaultExportFromCjs(defineProperties4);
1988
- var defineProperty$8 = { exports: {} };
1989
- var $$h = _export;
1990
- var DESCRIPTORS$1 = descriptors;
1991
- var defineProperty$7 = objectDefineProperty.f;
1992
- $$h({
1993
- target: "Object",
1994
- stat: true,
1995
- forced: Object.defineProperty !== defineProperty$7,
1996
- sham: !DESCRIPTORS$1
1997
- }, {
1998
- defineProperty: defineProperty$7
1999
- });
2000
- var path$4 = path$e;
2001
- var Object$1 = path$4.Object;
2002
- var defineProperty$6 = defineProperty$8.exports = function defineProperty4(it, key, desc) {
2003
- return Object$1.defineProperty(it, key, desc);
2004
- };
2005
- if (Object$1.defineProperty.sham)
2006
- defineProperty$6.sham = true;
2007
- var definePropertyExports = defineProperty$8.exports;
2008
- var parent$K = definePropertyExports;
2009
- var defineProperty$5 = parent$K;
2010
- var parent$J = defineProperty$5;
2011
- var defineProperty$4 = parent$J;
2012
- var parent$I = defineProperty$4;
2013
- var defineProperty$3 = parent$I;
2014
- var defineProperty$2 = defineProperty$3;
2015
- const _Object$defineProperty$1 = /* @__PURE__ */ getDefaultExportFromCjs(defineProperty$2);
2016
- var defineProperty$1 = defineProperty$2;
2017
- const _Object$defineProperty = /* @__PURE__ */ getDefaultExportFromCjs(defineProperty$1);
2018
- var $$g = _export;
2019
- var isArray$9 = isArray$c;
2020
- $$g({
2021
- target: "Array",
2022
- stat: true
2023
- }, {
2024
- isArray: isArray$9
2025
- });
2026
- var path$3 = path$e;
2027
- var isArray$8 = path$3.Array.isArray;
2028
- var parent$H = isArray$8;
2029
- var isArray$7 = parent$H;
2030
- var parent$G = isArray$7;
2031
- var isArray$6 = parent$G;
2032
- var parent$F = isArray$6;
2033
- var isArray$5 = parent$F;
2034
- var isArray$4 = isArray$5;
2035
- const _Array$isArray$1 = /* @__PURE__ */ getDefaultExportFromCjs(isArray$4);
2036
- function _arrayLikeToArray(arr, len) {
2037
- if (len == null || len > arr.length)
2038
- len = arr.length;
2039
- for (var i = 0, arr2 = new Array(len); i < len; i++)
2040
- arr2[i] = arr[i];
2041
- return arr2;
2042
- }
2043
- function _arrayWithoutHoles(arr) {
2044
- if (_Array$isArray$1(arr))
2045
- return _arrayLikeToArray(arr);
2046
- }
2047
- var $TypeError$5 = TypeError;
2048
- var MAX_SAFE_INTEGER = 9007199254740991;
2049
- var doesNotExceedSafeInteger$2 = function(it) {
2050
- if (it > MAX_SAFE_INTEGER)
2051
- throw $TypeError$5("Maximum allowed index exceeded");
2052
- return it;
2053
- };
2054
- var fails$2 = fails$j;
2055
- var wellKnownSymbol$9 = wellKnownSymbol$l;
2056
- var V8_VERSION$1 = engineV8Version;
2057
- var SPECIES$1 = wellKnownSymbol$9("species");
2058
- var arrayMethodHasSpeciesSupport$5 = function(METHOD_NAME) {
2059
- return V8_VERSION$1 >= 51 || !fails$2(function() {
2060
- var array = [];
2061
- var constructor = array.constructor = {};
2062
- constructor[SPECIES$1] = function() {
2063
- return {
2064
- foo: 1
2065
- };
2066
- };
2067
- return array[METHOD_NAME](Boolean).foo !== 1;
2068
- });
2069
- };
2070
- var $$f = _export;
2071
- var fails$1 = fails$j;
2072
- var isArray$3 = isArray$c;
2073
- var isObject$2 = isObject$a;
2074
- var toObject$2 = toObject$8;
2075
- var lengthOfArrayLike$3 = lengthOfArrayLike$7;
2076
- var doesNotExceedSafeInteger$1 = doesNotExceedSafeInteger$2;
2077
- var createProperty$3 = createProperty$6;
2078
- var arraySpeciesCreate$1 = arraySpeciesCreate$3;
2079
- var arrayMethodHasSpeciesSupport$4 = arrayMethodHasSpeciesSupport$5;
2080
- var wellKnownSymbol$8 = wellKnownSymbol$l;
2081
- var V8_VERSION = engineV8Version;
2082
- var IS_CONCAT_SPREADABLE = wellKnownSymbol$8("isConcatSpreadable");
2083
- var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$1(function() {
2084
- var array = [];
2085
- array[IS_CONCAT_SPREADABLE] = false;
2086
- return array.concat()[0] !== array;
2087
- });
2088
- var isConcatSpreadable = function(O) {
2089
- if (!isObject$2(O))
2090
- return false;
2091
- var spreadable = O[IS_CONCAT_SPREADABLE];
2092
- return spreadable !== void 0 ? !!spreadable : isArray$3(O);
2093
- };
2094
- var FORCED$1 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport$4("concat");
2095
- $$f({
2096
- target: "Array",
2097
- proto: true,
2098
- arity: 1,
2099
- forced: FORCED$1
2100
- }, {
2101
- // eslint-disable-next-line no-unused-vars -- required for `.length`
2102
- concat: function concat(arg) {
2103
- var O = toObject$2(this);
2104
- var A = arraySpeciesCreate$1(O, 0);
2105
- var n = 0;
2106
- var i, k, length, len, E;
2107
- for (i = -1, length = arguments.length; i < length; i++) {
2108
- E = i === -1 ? O : arguments[i];
2109
- if (isConcatSpreadable(E)) {
2110
- len = lengthOfArrayLike$3(E);
2111
- doesNotExceedSafeInteger$1(n + len);
2112
- for (k = 0; k < len; k++, n++)
2113
- if (k in E)
2114
- createProperty$3(A, n, E[k]);
2115
- } else {
2116
- doesNotExceedSafeInteger$1(n + 1);
2117
- createProperty$3(A, n++, E);
2118
- }
2119
- }
2120
- A.length = n;
2121
- return A;
2122
- }
2123
- });
2124
- var defineWellKnownSymbol$k = wellKnownSymbolDefine;
2125
- defineWellKnownSymbol$k("asyncIterator");
2126
- var defineWellKnownSymbol$j = wellKnownSymbolDefine;
2127
- defineWellKnownSymbol$j("hasInstance");
2128
- var defineWellKnownSymbol$i = wellKnownSymbolDefine;
2129
- defineWellKnownSymbol$i("isConcatSpreadable");
2130
- var defineWellKnownSymbol$h = wellKnownSymbolDefine;
2131
- defineWellKnownSymbol$h("iterator");
2132
- var defineWellKnownSymbol$g = wellKnownSymbolDefine;
2133
- defineWellKnownSymbol$g("match");
2134
- var defineWellKnownSymbol$f = wellKnownSymbolDefine;
2135
- defineWellKnownSymbol$f("matchAll");
2136
- var defineWellKnownSymbol$e = wellKnownSymbolDefine;
2137
- defineWellKnownSymbol$e("replace");
2138
- var defineWellKnownSymbol$d = wellKnownSymbolDefine;
2139
- defineWellKnownSymbol$d("search");
2140
- var defineWellKnownSymbol$c = wellKnownSymbolDefine;
2141
- defineWellKnownSymbol$c("species");
2142
- var defineWellKnownSymbol$b = wellKnownSymbolDefine;
2143
- defineWellKnownSymbol$b("split");
2144
- var defineWellKnownSymbol$a = wellKnownSymbolDefine;
2145
- var defineSymbolToPrimitive = symbolDefineToPrimitive;
2146
- defineWellKnownSymbol$a("toPrimitive");
2147
- defineSymbolToPrimitive();
2148
- var getBuiltIn$2 = getBuiltIn$a;
2149
- var defineWellKnownSymbol$9 = wellKnownSymbolDefine;
2150
- var setToStringTag$1 = setToStringTag$5;
2151
- defineWellKnownSymbol$9("toStringTag");
2152
- setToStringTag$1(getBuiltIn$2("Symbol"), "Symbol");
2153
- var defineWellKnownSymbol$8 = wellKnownSymbolDefine;
2154
- defineWellKnownSymbol$8("unscopables");
2155
- var global$4 = global$h;
2156
- var setToStringTag = setToStringTag$5;
2157
- setToStringTag(global$4.JSON, "JSON", true);
2158
- var path$2 = path$e;
2159
- var symbol$4 = path$2.Symbol;
2160
- var parent$E = symbol$4;
2161
- var symbol$3 = parent$E;
2162
- var wellKnownSymbol$7 = wellKnownSymbol$l;
2163
- var defineProperty5 = objectDefineProperty.f;
2164
- var METADATA = wellKnownSymbol$7("metadata");
2165
- var FunctionPrototype = Function.prototype;
2166
- if (FunctionPrototype[METADATA] === void 0) {
2167
- defineProperty5(FunctionPrototype, METADATA, {
2168
- value: null
2169
- });
2170
- }
2171
- var defineWellKnownSymbol$7 = wellKnownSymbolDefine;
2172
- defineWellKnownSymbol$7("asyncDispose");
2173
- var defineWellKnownSymbol$6 = wellKnownSymbolDefine;
2174
- defineWellKnownSymbol$6("dispose");
2175
- var defineWellKnownSymbol$5 = wellKnownSymbolDefine;
2176
- defineWellKnownSymbol$5("metadata");
2177
- var parent$D = symbol$3;
2178
- var symbol$2 = parent$D;
2179
- var getBuiltIn$1 = getBuiltIn$a;
2180
- var uncurryThis$4 = functionUncurryThis;
2181
- var Symbol$2 = getBuiltIn$1("Symbol");
2182
- var keyFor2 = Symbol$2.keyFor;
2183
- var thisSymbolValue$1 = uncurryThis$4(Symbol$2.prototype.valueOf);
2184
- var symbolIsRegistered = Symbol$2.isRegisteredSymbol || function isRegisteredSymbol(value) {
2185
- try {
2186
- return keyFor2(thisSymbolValue$1(value)) !== void 0;
2187
- } catch (error) {
2188
- return false;
2189
- }
2190
- };
2191
- var $$e = _export;
2192
- var isRegisteredSymbol$1 = symbolIsRegistered;
2193
- $$e({
2194
- target: "Symbol",
2195
- stat: true
2196
- }, {
2197
- isRegisteredSymbol: isRegisteredSymbol$1
2198
- });
2199
- var shared = sharedExports;
2200
- var getBuiltIn = getBuiltIn$a;
2201
- var uncurryThis$3 = functionUncurryThis;
2202
- var isSymbol = isSymbol$5;
2203
- var wellKnownSymbol$6 = wellKnownSymbol$l;
2204
- var Symbol$1 = getBuiltIn("Symbol");
2205
- var $isWellKnownSymbol = Symbol$1.isWellKnownSymbol;
2206
- var getOwnPropertyNames4 = getBuiltIn("Object", "getOwnPropertyNames");
2207
- var thisSymbolValue = uncurryThis$3(Symbol$1.prototype.valueOf);
2208
- var WellKnownSymbolsStore = shared("wks");
2209
- for (var i = 0, symbolKeys = getOwnPropertyNames4(Symbol$1), symbolKeysLength = symbolKeys.length; i < symbolKeysLength; i++) {
2210
- try {
2211
- var symbolKey = symbolKeys[i];
2212
- if (isSymbol(Symbol$1[symbolKey]))
2213
- wellKnownSymbol$6(symbolKey);
2214
- } catch (error) {
2215
- }
2216
- }
2217
- var symbolIsWellKnown = function isWellKnownSymbol(value) {
2218
- if ($isWellKnownSymbol && $isWellKnownSymbol(value))
2219
- return true;
2220
- try {
2221
- var symbol2 = thisSymbolValue(value);
2222
- for (var j = 0, keys4 = getOwnPropertyNames4(WellKnownSymbolsStore), keysLength = keys4.length; j < keysLength; j++) {
2223
- if (WellKnownSymbolsStore[keys4[j]] == symbol2)
2224
- return true;
2225
- }
2226
- } catch (error) {
2227
- }
2228
- return false;
2229
- };
2230
- var $$d = _export;
2231
- var isWellKnownSymbol$1 = symbolIsWellKnown;
2232
- $$d({
2233
- target: "Symbol",
2234
- stat: true,
2235
- forced: true
2236
- }, {
2237
- isWellKnownSymbol: isWellKnownSymbol$1
2238
- });
2239
- var defineWellKnownSymbol$4 = wellKnownSymbolDefine;
2240
- defineWellKnownSymbol$4("matcher");
2241
- var defineWellKnownSymbol$3 = wellKnownSymbolDefine;
2242
- defineWellKnownSymbol$3("observable");
2243
- var $$c = _export;
2244
- var isRegisteredSymbol2 = symbolIsRegistered;
2245
- $$c({
2246
- target: "Symbol",
2247
- stat: true,
2248
- name: "isRegisteredSymbol"
2249
- }, {
2250
- isRegistered: isRegisteredSymbol2
2251
- });
2252
- var $$b = _export;
2253
- var isWellKnownSymbol2 = symbolIsWellKnown;
2254
- $$b({
2255
- target: "Symbol",
2256
- stat: true,
2257
- name: "isWellKnownSymbol",
2258
- forced: true
2259
- }, {
2260
- isWellKnown: isWellKnownSymbol2
2261
- });
2262
- var defineWellKnownSymbol$2 = wellKnownSymbolDefine;
2263
- defineWellKnownSymbol$2("metadataKey");
2264
- var defineWellKnownSymbol$1 = wellKnownSymbolDefine;
2265
- defineWellKnownSymbol$1("patternMatch");
2266
- var defineWellKnownSymbol = wellKnownSymbolDefine;
2267
- defineWellKnownSymbol("replaceAll");
2268
- var parent$C = symbol$2;
2269
- var symbol$1 = parent$C;
2270
- var symbol = symbol$1;
2271
- const _Symbol = /* @__PURE__ */ getDefaultExportFromCjs(symbol);
2272
- var uncurryThis$2 = functionUncurryThis;
2273
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
2274
- var toString$2 = toString$6;
2275
- var requireObjectCoercible$1 = requireObjectCoercible$4;
2276
- var charAt$1 = uncurryThis$2("".charAt);
2277
- var charCodeAt = uncurryThis$2("".charCodeAt);
2278
- var stringSlice = uncurryThis$2("".slice);
2279
- var createMethod = function(CONVERT_TO_STRING) {
2280
- return function($this, pos) {
2281
- var S = toString$2(requireObjectCoercible$1($this));
2282
- var position = toIntegerOrInfinity$1(pos);
2283
- var size = S.length;
2284
- var first, second;
2285
- if (position < 0 || position >= size)
2286
- return CONVERT_TO_STRING ? "" : void 0;
2287
- first = charCodeAt(S, position);
2288
- return first < 55296 || first > 56319 || position + 1 === size || (second = charCodeAt(S, position + 1)) < 56320 || second > 57343 ? CONVERT_TO_STRING ? charAt$1(S, position) : first : CONVERT_TO_STRING ? stringSlice(S, position, position + 2) : (first - 55296 << 10) + (second - 56320) + 65536;
2289
- };
2290
- };
2291
- var stringMultibyte = {
2292
- // `String.prototype.codePointAt` method
2293
- // https://tc39.es/ecma262/#sec-string.prototype.codepointat
2294
- codeAt: createMethod(false),
2295
- // `String.prototype.at` method
2296
- // https://github.com/mathiasbynens/String.prototype.at
2297
- charAt: createMethod(true)
2298
- };
2299
- var charAt = stringMultibyte.charAt;
2300
- var toString$1 = toString$6;
2301
- var InternalStateModule = internalState;
2302
- var defineIterator = iteratorDefine;
2303
- var createIterResultObject = createIterResultObject$2;
2304
- var STRING_ITERATOR = "String Iterator";
2305
- var setInternalState = InternalStateModule.set;
2306
- var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
2307
- defineIterator(String, "String", function(iterated) {
2308
- setInternalState(this, {
2309
- type: STRING_ITERATOR,
2310
- string: toString$1(iterated),
2311
- index: 0
2312
- });
2313
- }, function next() {
2314
- var state = getInternalState(this);
2315
- var string = state.string;
2316
- var index = state.index;
2317
- var point;
2318
- if (index >= string.length)
2319
- return createIterResultObject(void 0, true);
2320
- point = charAt(string, index);
2321
- state.index += point.length;
2322
- return createIterResultObject(point, false);
2323
- });
2324
- var classof$1 = classof$a;
2325
- var getMethod$1 = getMethod$3;
2326
- var isNullOrUndefined = isNullOrUndefined$3;
2327
- var Iterators$1 = iterators;
2328
- var wellKnownSymbol$5 = wellKnownSymbol$l;
2329
- var ITERATOR$2 = wellKnownSymbol$5("iterator");
2330
- var getIteratorMethod$7 = function(it) {
2331
- if (!isNullOrUndefined(it))
2332
- return getMethod$1(it, ITERATOR$2) || getMethod$1(it, "@@iterator") || Iterators$1[classof$1(it)];
2333
- };
2334
- var getIteratorMethod$6 = getIteratorMethod$7;
2335
- var getIteratorMethod_1 = getIteratorMethod$6;
2336
- var parent$B = getIteratorMethod_1;
2337
- var getIteratorMethod$5 = parent$B;
2338
- var parent$A = getIteratorMethod$5;
2339
- var getIteratorMethod$4 = parent$A;
2340
- var parent$z = getIteratorMethod$4;
2341
- var getIteratorMethod$3 = parent$z;
2342
- var getIteratorMethod$2 = getIteratorMethod$3;
2343
- const _getIteratorMethod = /* @__PURE__ */ getDefaultExportFromCjs(getIteratorMethod$2);
2344
- var call$2 = functionCall;
2345
- var anObject$2 = anObject$8;
2346
- var getMethod = getMethod$3;
2347
- var iteratorClose$1 = function(iterator2, kind, value) {
2348
- var innerResult, innerError;
2349
- anObject$2(iterator2);
2350
- try {
2351
- innerResult = getMethod(iterator2, "return");
2352
- if (!innerResult) {
2353
- if (kind === "throw")
2354
- throw value;
2355
- return value;
2356
- }
2357
- innerResult = call$2(innerResult, iterator2);
2358
- } catch (error) {
2359
- innerError = true;
2360
- innerResult = error;
2361
- }
2362
- if (kind === "throw")
2363
- throw value;
2364
- if (innerError)
2365
- throw innerResult;
2366
- anObject$2(innerResult);
2367
- return value;
2368
- };
2369
- var anObject$1 = anObject$8;
2370
- var iteratorClose = iteratorClose$1;
2371
- var callWithSafeIterationClosing$1 = function(iterator2, fn, value, ENTRIES2) {
2372
- try {
2373
- return ENTRIES2 ? fn(anObject$1(value)[0], value[1]) : fn(value);
2374
- } catch (error) {
2375
- iteratorClose(iterator2, "throw", error);
2376
- }
2377
- };
2378
- var wellKnownSymbol$4 = wellKnownSymbol$l;
2379
- var Iterators = iterators;
2380
- var ITERATOR$1 = wellKnownSymbol$4("iterator");
2381
- var ArrayPrototype$8 = Array.prototype;
2382
- var isArrayIteratorMethod$1 = function(it) {
2383
- return it !== void 0 && (Iterators.Array === it || ArrayPrototype$8[ITERATOR$1] === it);
2384
- };
2385
- var call$1 = functionCall;
2386
- var aCallable = aCallable$3;
2387
- var anObject = anObject$8;
2388
- var tryToString$1 = tryToString$4;
2389
- var getIteratorMethod$1 = getIteratorMethod$7;
2390
- var $TypeError$4 = TypeError;
2391
- var getIterator$1 = function(argument, usingIterator) {
2392
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
2393
- if (aCallable(iteratorMethod))
2394
- return anObject(call$1(iteratorMethod, argument));
2395
- throw $TypeError$4(tryToString$1(argument) + " is not iterable");
2396
- };
2397
- var bind = functionBindContext;
2398
- var call = functionCall;
2399
- var toObject$1 = toObject$8;
2400
- var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
2401
- var isArrayIteratorMethod = isArrayIteratorMethod$1;
2402
- var isConstructor$1 = isConstructor$3;
2403
- var lengthOfArrayLike$2 = lengthOfArrayLike$7;
2404
- var createProperty$2 = createProperty$6;
2405
- var getIterator = getIterator$1;
2406
- var getIteratorMethod = getIteratorMethod$7;
2407
- var $Array$1 = Array;
2408
- var arrayFrom = function from(arrayLike) {
2409
- var O = toObject$1(arrayLike);
2410
- var IS_CONSTRUCTOR = isConstructor$1(this);
2411
- var argumentsLength = arguments.length;
2412
- var mapfn = argumentsLength > 1 ? arguments[1] : void 0;
2413
- var mapping = mapfn !== void 0;
2414
- if (mapping)
2415
- mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : void 0);
2416
- var iteratorMethod = getIteratorMethod(O);
2417
- var index = 0;
2418
- var length, result, step, iterator2, next2, value;
2419
- if (iteratorMethod && !(this === $Array$1 && isArrayIteratorMethod(iteratorMethod))) {
2420
- iterator2 = getIterator(O, iteratorMethod);
2421
- next2 = iterator2.next;
2422
- result = IS_CONSTRUCTOR ? new this() : [];
2423
- for (; !(step = call(next2, iterator2)).done; index++) {
2424
- value = mapping ? callWithSafeIterationClosing(iterator2, mapfn, [step.value, index], true) : step.value;
2425
- createProperty$2(result, index, value);
2426
- }
2427
- } else {
2428
- length = lengthOfArrayLike$2(O);
2429
- result = IS_CONSTRUCTOR ? new this(length) : $Array$1(length);
2430
- for (; length > index; index++) {
2431
- value = mapping ? mapfn(O[index], index) : O[index];
2432
- createProperty$2(result, index, value);
2433
- }
2434
- }
2435
- result.length = index;
2436
- return result;
2437
- };
2438
- var wellKnownSymbol$3 = wellKnownSymbol$l;
2439
- var ITERATOR = wellKnownSymbol$3("iterator");
2440
- var SAFE_CLOSING = false;
2441
- try {
2442
- var called = 0;
2443
- var iteratorWithReturn = {
2444
- next: function() {
2445
- return {
2446
- done: !!called++
2447
- };
2448
- },
2449
- "return": function() {
2450
- SAFE_CLOSING = true;
2451
- }
2452
- };
2453
- iteratorWithReturn[ITERATOR] = function() {
2454
- return this;
2455
- };
2456
- Array.from(iteratorWithReturn, function() {
2457
- throw 2;
2458
- });
2459
- } catch (error) {
2460
- }
2461
- var checkCorrectnessOfIteration$1 = function(exec2, SKIP_CLOSING) {
2462
- if (!SKIP_CLOSING && !SAFE_CLOSING)
2463
- return false;
2464
- var ITERATION_SUPPORT = false;
2465
- try {
2466
- var object = {};
2467
- object[ITERATOR] = function() {
2468
- return {
2469
- next: function() {
2470
- return {
2471
- done: ITERATION_SUPPORT = true
2472
- };
2473
- }
2474
- };
2475
- };
2476
- exec2(object);
2477
- } catch (error) {
2478
- }
2479
- return ITERATION_SUPPORT;
2480
- };
2481
- var $$a = _export;
2482
- var from$5 = arrayFrom;
2483
- var checkCorrectnessOfIteration = checkCorrectnessOfIteration$1;
2484
- var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function(iterable) {
2485
- Array.from(iterable);
2486
- });
2487
- $$a({
2488
- target: "Array",
2489
- stat: true,
2490
- forced: INCORRECT_ITERATION
2491
- }, {
2492
- from: from$5
2493
- });
2494
- var path$1 = path$e;
2495
- var from$4 = path$1.Array.from;
2496
- var parent$y = from$4;
2497
- var from$3 = parent$y;
2498
- var parent$x = from$3;
2499
- var from$2 = parent$x;
2500
- var parent$w = from$2;
2501
- var from$1 = parent$w;
2502
- var from2 = from$1;
2503
- const _Array$from = /* @__PURE__ */ getDefaultExportFromCjs(from2);
2504
- function _iterableToArray(iter) {
2505
- if (typeof _Symbol !== "undefined" && _getIteratorMethod(iter) != null || iter["@@iterator"] != null)
2506
- return _Array$from(iter);
2507
- }
2508
- var $$9 = _export;
2509
- var isArray$2 = isArray$c;
2510
- var isConstructor3 = isConstructor$3;
2511
- var isObject$1 = isObject$a;
2512
- var toAbsoluteIndex$1 = toAbsoluteIndex$4;
2513
- var lengthOfArrayLike$1 = lengthOfArrayLike$7;
2514
- var toIndexedObject = toIndexedObject$a;
2515
- var createProperty$1 = createProperty$6;
2516
- var wellKnownSymbol$2 = wellKnownSymbol$l;
2517
- var arrayMethodHasSpeciesSupport$3 = arrayMethodHasSpeciesSupport$5;
2518
- var nativeSlice = arraySlice$2;
2519
- var HAS_SPECIES_SUPPORT$3 = arrayMethodHasSpeciesSupport$3("slice");
2520
- var SPECIES = wellKnownSymbol$2("species");
2521
- var $Array = Array;
2522
- var max$1 = Math.max;
2523
- $$9({
2524
- target: "Array",
2525
- proto: true,
2526
- forced: !HAS_SPECIES_SUPPORT$3
2527
- }, {
2528
- slice: function slice(start, end) {
2529
- var O = toIndexedObject(this);
2530
- var length = lengthOfArrayLike$1(O);
2531
- var k = toAbsoluteIndex$1(start, length);
2532
- var fin = toAbsoluteIndex$1(end === void 0 ? length : end, length);
2533
- var Constructor, result, n;
2534
- if (isArray$2(O)) {
2535
- Constructor = O.constructor;
2536
- if (isConstructor3(Constructor) && (Constructor === $Array || isArray$2(Constructor.prototype))) {
2537
- Constructor = void 0;
2538
- } else if (isObject$1(Constructor)) {
2539
- Constructor = Constructor[SPECIES];
2540
- if (Constructor === null)
2541
- Constructor = void 0;
2542
- }
2543
- if (Constructor === $Array || Constructor === void 0) {
2544
- return nativeSlice(O, k, fin);
2545
- }
2546
- }
2547
- result = new (Constructor === void 0 ? $Array : Constructor)(max$1(fin - k, 0));
2548
- for (n = 0; k < fin; k++, n++)
2549
- if (k in O)
2550
- createProperty$1(result, n, O[k]);
2551
- result.length = n;
2552
- return result;
2553
- }
2554
- });
2555
- var entryVirtual$8 = entryVirtual$a;
2556
- var slice$5 = entryVirtual$8("Array").slice;
2557
- var isPrototypeOf$7 = objectIsPrototypeOf;
2558
- var method$6 = slice$5;
2559
- var ArrayPrototype$7 = Array.prototype;
2560
- var slice$4 = function(it) {
2561
- var own = it.slice;
2562
- return it === ArrayPrototype$7 || isPrototypeOf$7(ArrayPrototype$7, it) && own === ArrayPrototype$7.slice ? method$6 : own;
2563
- };
2564
- var parent$v = slice$4;
2565
- var slice$3 = parent$v;
2566
- var parent$u = slice$3;
2567
- var slice$2 = parent$u;
2568
- var parent$t = slice$2;
2569
- var slice$1 = parent$t;
2570
- var slice2 = slice$1;
2571
- const _sliceInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(slice2);
2572
- function _unsupportedIterableToArray(o, minLen) {
2573
- var _context;
2574
- if (!o)
2575
- return;
2576
- if (typeof o === "string")
2577
- return _arrayLikeToArray(o, minLen);
2578
- var n = _sliceInstanceProperty(_context = Object.prototype.toString.call(o)).call(_context, 8, -1);
2579
- if (n === "Object" && o.constructor)
2580
- n = o.constructor.name;
2581
- if (n === "Map" || n === "Set")
2582
- return _Array$from(o);
2583
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
2584
- return _arrayLikeToArray(o, minLen);
2585
- }
2586
- function _nonIterableSpread() {
2587
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2588
- }
2589
- function _toConsumableArray(arr) {
2590
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
2591
- }
2592
- var WrappedWellKnownSymbolModule$1 = wellKnownSymbolWrapped;
2593
- var iterator$4 = WrappedWellKnownSymbolModule$1.f("iterator");
2594
- var parent$s = iterator$4;
2595
- var iterator$3 = parent$s;
2596
- var parent$r = iterator$3;
2597
- var iterator$2 = parent$r;
2598
- var parent$q = iterator$2;
2599
- var iterator$1 = parent$q;
2600
- var iterator = iterator$1;
2601
- const _Symbol$iterator = /* @__PURE__ */ getDefaultExportFromCjs(iterator);
2602
- function _typeof(o) {
2603
- "@babel/helpers - typeof";
2604
- return _typeof = "function" == typeof _Symbol && "symbol" == typeof _Symbol$iterator ? function(o2) {
2605
- return typeof o2;
2606
- } : function(o2) {
2607
- return o2 && "function" == typeof _Symbol && o2.constructor === _Symbol && o2 !== _Symbol.prototype ? "symbol" : typeof o2;
2608
- }, _typeof(o);
2609
- }
2610
- var WrappedWellKnownSymbolModule = wellKnownSymbolWrapped;
2611
- var toPrimitive$4 = WrappedWellKnownSymbolModule.f("toPrimitive");
2612
- var parent$p = toPrimitive$4;
2613
- var toPrimitive$3 = parent$p;
2614
- var parent$o = toPrimitive$3;
2615
- var toPrimitive$2 = parent$o;
2616
- var parent$n = toPrimitive$2;
2617
- var toPrimitive$1 = parent$n;
2618
- var toPrimitive = toPrimitive$1;
2619
- const _Symbol$toPrimitive = /* @__PURE__ */ getDefaultExportFromCjs(toPrimitive);
2620
- function _toPrimitive(input, hint) {
2621
- if (_typeof(input) !== "object" || input === null)
2622
- return input;
2623
- var prim = input[_Symbol$toPrimitive];
2624
- if (prim !== void 0) {
2625
- var res = prim.call(input, hint || "default");
2626
- if (_typeof(res) !== "object")
2627
- return res;
2628
- throw new TypeError("@@toPrimitive must return a primitive value.");
2629
- }
2630
- return (hint === "string" ? String : Number)(input);
2631
- }
2632
- function _toPropertyKey(arg) {
2633
- var key = _toPrimitive(arg, "string");
2634
- return _typeof(key) === "symbol" ? key : String(key);
2635
- }
2636
- function _defineProperty(obj, key, value) {
2637
- key = _toPropertyKey(key);
2638
- if (key in obj) {
2639
- _Object$defineProperty$1(obj, key, {
2640
- value,
2641
- enumerable: true,
2642
- configurable: true,
2643
- writable: true
2644
- });
2645
- } else {
2646
- obj[key] = value;
2647
- }
2648
- return obj;
2649
- }
2650
- var $$8 = _export;
2651
- var $map = arrayIteration.map;
2652
- var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$5;
2653
- var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport$2("map");
2654
- $$8({
2655
- target: "Array",
2656
- proto: true,
2657
- forced: !HAS_SPECIES_SUPPORT$2
2658
- }, {
2659
- map: function map(callbackfn) {
2660
- return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
2661
- }
2662
- });
2663
- var entryVirtual$7 = entryVirtual$a;
2664
- var map$6 = entryVirtual$7("Array").map;
2665
- var isPrototypeOf$6 = objectIsPrototypeOf;
2666
- var method$5 = map$6;
2667
- var ArrayPrototype$6 = Array.prototype;
2668
- var map$5 = function(it) {
2669
- var own = it.map;
2670
- return it === ArrayPrototype$6 || isPrototypeOf$6(ArrayPrototype$6, it) && own === ArrayPrototype$6.map ? method$5 : own;
2671
- };
2672
- var parent$m = map$5;
2673
- var map$4 = parent$m;
2674
- var parent$l = map$4;
2675
- var map$3 = parent$l;
2676
- var parent$k = map$3;
2677
- var map$2 = parent$k;
2678
- var map$1 = map$2;
2679
- var map2 = map$1;
2680
- const _mapInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(map2);
2681
- var isArray$1 = isArray$4;
2682
- const _Array$isArray = /* @__PURE__ */ getDefaultExportFromCjs(isArray$1);
2683
- var $$7 = _export;
2684
- var $filter = arrayIteration.filter;
2685
- var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$5;
2686
- var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1("filter");
2687
- $$7({
2688
- target: "Array",
2689
- proto: true,
2690
- forced: !HAS_SPECIES_SUPPORT$1
2691
- }, {
2692
- filter: function filter(callbackfn) {
2693
- return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
2694
- }
2695
- });
2696
- var entryVirtual$6 = entryVirtual$a;
2697
- var filter$6 = entryVirtual$6("Array").filter;
2698
- var isPrototypeOf$5 = objectIsPrototypeOf;
2699
- var method$4 = filter$6;
2700
- var ArrayPrototype$5 = Array.prototype;
2701
- var filter$5 = function(it) {
2702
- var own = it.filter;
2703
- return it === ArrayPrototype$5 || isPrototypeOf$5(ArrayPrototype$5, it) && own === ArrayPrototype$5.filter ? method$4 : own;
2704
- };
2705
- var parent$j = filter$5;
2706
- var filter$4 = parent$j;
2707
- var parent$i = filter$4;
2708
- var filter$3 = parent$i;
2709
- var parent$h = filter$3;
2710
- var filter$2 = parent$h;
2711
- var filter$1 = filter$2;
2712
- var filter2 = filter$1;
2713
- const _filterInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(filter2);
2714
- var $$6 = _export;
2715
- var $includes = arrayIncludes.includes;
2716
- var fails = fails$j;
2717
- var BROKEN_ON_SPARSE = fails(function() {
2718
- return !Array(1).includes();
2719
- });
2720
- $$6({
2721
- target: "Array",
2722
- proto: true,
2723
- forced: BROKEN_ON_SPARSE
2724
- }, {
2725
- includes: function includes(el) {
2726
- return $includes(this, el, arguments.length > 1 ? arguments[1] : void 0);
2727
- }
2728
- });
2729
- var entryVirtual$5 = entryVirtual$a;
2730
- var includes$7 = entryVirtual$5("Array").includes;
2731
- var isObject = isObject$a;
2732
- var classof = classofRaw$2;
2733
- var wellKnownSymbol$1 = wellKnownSymbol$l;
2734
- var MATCH$1 = wellKnownSymbol$1("match");
2735
- var isRegexp = function(it) {
2736
- var isRegExp2;
2737
- return isObject(it) && ((isRegExp2 = it[MATCH$1]) !== void 0 ? !!isRegExp2 : classof(it) === "RegExp");
2738
- };
2739
- var isRegExp = isRegexp;
2740
- var $TypeError$3 = TypeError;
2741
- var notARegexp = function(it) {
2742
- if (isRegExp(it)) {
2743
- throw $TypeError$3("The method doesn't accept regular expressions");
2744
- }
2745
- return it;
2746
- };
2747
- var wellKnownSymbol = wellKnownSymbol$l;
2748
- var MATCH = wellKnownSymbol("match");
2749
- var correctIsRegexpLogic = function(METHOD_NAME) {
2750
- var regexp = /./;
2751
- try {
2752
- "/./"[METHOD_NAME](regexp);
2753
- } catch (error1) {
2754
- try {
2755
- regexp[MATCH] = false;
2756
- return "/./"[METHOD_NAME](regexp);
2757
- } catch (error2) {
2758
- }
2759
- }
2760
- return false;
2761
- };
2762
- var $$5 = _export;
2763
- var uncurryThis$1 = functionUncurryThis;
2764
- var notARegExp = notARegexp;
2765
- var requireObjectCoercible = requireObjectCoercible$4;
2766
- var toString2 = toString$6;
2767
- var correctIsRegExpLogic = correctIsRegexpLogic;
2768
- var stringIndexOf = uncurryThis$1("".indexOf);
2769
- $$5({
2770
- target: "String",
2771
- proto: true,
2772
- forced: !correctIsRegExpLogic("includes")
2773
- }, {
2774
- includes: function includes2(searchString) {
2775
- return !!~stringIndexOf(toString2(requireObjectCoercible(this)), toString2(notARegExp(searchString)), arguments.length > 1 ? arguments[1] : void 0);
2776
- }
2777
- });
2778
- var entryVirtual$4 = entryVirtual$a;
2779
- var includes$6 = entryVirtual$4("String").includes;
2780
- var isPrototypeOf$4 = objectIsPrototypeOf;
2781
- var arrayMethod = includes$7;
2782
- var stringMethod = includes$6;
2783
- var ArrayPrototype$4 = Array.prototype;
2784
- var StringPrototype = String.prototype;
2785
- var includes$5 = function(it) {
2786
- var own = it.includes;
2787
- if (it === ArrayPrototype$4 || isPrototypeOf$4(ArrayPrototype$4, it) && own === ArrayPrototype$4.includes)
2788
- return arrayMethod;
2789
- if (typeof it == "string" || it === StringPrototype || isPrototypeOf$4(StringPrototype, it) && own === StringPrototype.includes) {
2790
- return stringMethod;
2791
- }
2792
- return own;
2793
- };
2794
- var parent$g = includes$5;
2795
- var includes$4 = parent$g;
2796
- var parent$f = includes$4;
2797
- var includes$3 = parent$f;
2798
- var parent$e = includes$3;
2799
- var includes$2 = parent$e;
2800
- var includes$1 = includes$2;
2801
- var includes3 = includes$1;
2802
- const _includesInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(includes3);
2803
- var entryVirtual$3 = entryVirtual$a;
2804
- var concat$6 = entryVirtual$3("Array").concat;
2805
- var isPrototypeOf$3 = objectIsPrototypeOf;
2806
- var method$3 = concat$6;
2807
- var ArrayPrototype$3 = Array.prototype;
2808
- var concat$5 = function(it) {
2809
- var own = it.concat;
2810
- return it === ArrayPrototype$3 || isPrototypeOf$3(ArrayPrototype$3, it) && own === ArrayPrototype$3.concat ? method$3 : own;
2811
- };
2812
- var parent$d = concat$5;
2813
- var concat$4 = parent$d;
2814
- var parent$c = concat$4;
2815
- var concat$3 = parent$c;
2816
- var parent$b = concat$3;
2817
- var concat$2 = parent$b;
2818
- var concat$1 = concat$2;
2819
- var concat2 = concat$1;
2820
- const _concatInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(concat2);
2821
- var $$4 = _export;
2822
- var $findIndex = arrayIteration.findIndex;
2823
- var FIND_INDEX = "findIndex";
2824
- var SKIPS_HOLES = true;
2825
- if (FIND_INDEX in [])
2826
- Array(1)[FIND_INDEX](function() {
2827
- SKIPS_HOLES = false;
2828
- });
2829
- $$4({
2830
- target: "Array",
2831
- proto: true,
2832
- forced: SKIPS_HOLES
2833
- }, {
2834
- findIndex: function findIndex(callbackfn) {
2835
- return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
2836
- }
2837
- });
2838
- var entryVirtual$2 = entryVirtual$a;
2839
- var findIndex$6 = entryVirtual$2("Array").findIndex;
2840
- var isPrototypeOf$2 = objectIsPrototypeOf;
2841
- var method$2 = findIndex$6;
2842
- var ArrayPrototype$2 = Array.prototype;
2843
- var findIndex$5 = function(it) {
2844
- var own = it.findIndex;
2845
- return it === ArrayPrototype$2 || isPrototypeOf$2(ArrayPrototype$2, it) && own === ArrayPrototype$2.findIndex ? method$2 : own;
2846
- };
2847
- var parent$a = findIndex$5;
2848
- var findIndex$4 = parent$a;
2849
- var parent$9 = findIndex$4;
2850
- var findIndex$3 = parent$9;
2851
- var parent$8 = findIndex$3;
2852
- var findIndex$2 = parent$8;
2853
- var findIndex$1 = findIndex$2;
2854
- var findIndex2 = findIndex$1;
2855
- const _findIndexInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(findIndex2);
2856
- var DESCRIPTORS = descriptors;
2857
- var isArray2 = isArray$c;
2858
- var $TypeError$2 = TypeError;
2859
- var getOwnPropertyDescriptor5 = Object.getOwnPropertyDescriptor;
2860
- var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function() {
2861
- if (this !== void 0)
2862
- return true;
2863
- try {
2864
- Object.defineProperty([], "length", {
2865
- writable: false
2866
- }).length = 1;
2867
- } catch (error) {
2868
- return error instanceof TypeError;
2869
- }
2870
- }();
2871
- var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function(O, length) {
2872
- if (isArray2(O) && !getOwnPropertyDescriptor5(O, "length").writable) {
2873
- throw $TypeError$2("Cannot set read only .length");
2874
- }
2875
- return O.length = length;
2876
- } : function(O, length) {
2877
- return O.length = length;
2878
- };
2879
- var tryToString = tryToString$4;
2880
- var $TypeError$1 = TypeError;
2881
- var deletePropertyOrThrow$1 = function(O, P) {
2882
- if (!delete O[P])
2883
- throw $TypeError$1("Cannot delete property " + tryToString(P) + " of " + tryToString(O));
2884
- };
2885
- var $$3 = _export;
2886
- var toObject = toObject$8;
2887
- var toAbsoluteIndex = toAbsoluteIndex$4;
2888
- var toIntegerOrInfinity = toIntegerOrInfinity$4;
2889
- var lengthOfArrayLike = lengthOfArrayLike$7;
2890
- var setArrayLength = arraySetLength;
2891
- var doesNotExceedSafeInteger = doesNotExceedSafeInteger$2;
2892
- var arraySpeciesCreate = arraySpeciesCreate$3;
2893
- var createProperty = createProperty$6;
2894
- var deletePropertyOrThrow = deletePropertyOrThrow$1;
2895
- var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$5;
2896
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport("splice");
2897
- var max = Math.max;
2898
- var min = Math.min;
2899
- $$3({
2900
- target: "Array",
2901
- proto: true,
2902
- forced: !HAS_SPECIES_SUPPORT
2903
- }, {
2904
- splice: function splice(start, deleteCount) {
2905
- var O = toObject(this);
2906
- var len = lengthOfArrayLike(O);
2907
- var actualStart = toAbsoluteIndex(start, len);
2908
- var argumentsLength = arguments.length;
2909
- var insertCount, actualDeleteCount, A, k, from3, to;
2910
- if (argumentsLength === 0) {
2911
- insertCount = actualDeleteCount = 0;
2912
- } else if (argumentsLength === 1) {
2913
- insertCount = 0;
2914
- actualDeleteCount = len - actualStart;
2915
- } else {
2916
- insertCount = argumentsLength - 2;
2917
- actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);
2918
- }
2919
- doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);
2920
- A = arraySpeciesCreate(O, actualDeleteCount);
2921
- for (k = 0; k < actualDeleteCount; k++) {
2922
- from3 = actualStart + k;
2923
- if (from3 in O)
2924
- createProperty(A, k, O[from3]);
2925
- }
2926
- A.length = actualDeleteCount;
2927
- if (insertCount < actualDeleteCount) {
2928
- for (k = actualStart; k < len - actualDeleteCount; k++) {
2929
- from3 = k + actualDeleteCount;
2930
- to = k + insertCount;
2931
- if (from3 in O)
2932
- O[to] = O[from3];
2933
- else
2934
- deletePropertyOrThrow(O, to);
2935
- }
2936
- for (k = len; k > len - actualDeleteCount + insertCount; k--)
2937
- deletePropertyOrThrow(O, k - 1);
2938
- } else if (insertCount > actualDeleteCount) {
2939
- for (k = len - actualDeleteCount; k > actualStart; k--) {
2940
- from3 = k + actualDeleteCount - 1;
2941
- to = k + insertCount - 1;
2942
- if (from3 in O)
2943
- O[to] = O[from3];
2944
- else
2945
- deletePropertyOrThrow(O, to);
2946
- }
2947
- }
2948
- for (k = 0; k < insertCount; k++) {
2949
- O[k + actualStart] = arguments[k + 2];
2950
- }
2951
- setArrayLength(O, len - actualDeleteCount + insertCount);
2952
- return A;
2953
- }
2954
- });
2955
- var entryVirtual$1 = entryVirtual$a;
2956
- var splice$6 = entryVirtual$1("Array").splice;
2957
- var isPrototypeOf$1 = objectIsPrototypeOf;
2958
- var method$1 = splice$6;
2959
- var ArrayPrototype$1 = Array.prototype;
2960
- var splice$5 = function(it) {
2961
- var own = it.splice;
2962
- return it === ArrayPrototype$1 || isPrototypeOf$1(ArrayPrototype$1, it) && own === ArrayPrototype$1.splice ? method$1 : own;
2963
- };
2964
- var parent$7 = splice$5;
2965
- var splice$4 = parent$7;
2966
- var parent$6 = splice$4;
2967
- var splice$3 = parent$6;
2968
- var parent$5 = splice$3;
2969
- var splice$2 = parent$5;
2970
- var splice$1 = splice$2;
2971
- var splice2 = splice$1;
2972
- const _spliceInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(splice2);
2973
- var engineIsBun = typeof Bun == "function" && Bun && typeof Bun.version == "string";
2974
- var $TypeError = TypeError;
2975
- var validateArgumentsLength$1 = function(passed, required) {
2976
- if (passed < required)
2977
- throw $TypeError("Not enough arguments");
2978
- return passed;
2979
- };
2980
- var global$3 = global$h;
2981
- var apply = functionApply;
2982
- var isCallable = isCallable$g;
2983
- var ENGINE_IS_BUN = engineIsBun;
2984
- var USER_AGENT = engineUserAgent;
2985
- var arraySlice = arraySlice$2;
2986
- var validateArgumentsLength = validateArgumentsLength$1;
2987
- var Function$1 = global$3.Function;
2988
- var WRAP = /MSIE .\./.test(USER_AGENT) || ENGINE_IS_BUN && function() {
2989
- var version2 = global$3.Bun.version.split(".");
2990
- return version2.length < 3 || version2[0] === "0" && (version2[1] < 3 || version2[1] === "3" && version2[2] === "0");
2991
- }();
2992
- var schedulersFix$2 = function(scheduler, hasTimeArg) {
2993
- var firstParamIndex = hasTimeArg ? 2 : 1;
2994
- return WRAP ? function(handler2, timeout) {
2995
- var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex;
2996
- var fn = isCallable(handler2) ? handler2 : Function$1(handler2);
2997
- var params = boundArgs ? arraySlice(arguments, firstParamIndex) : [];
2998
- var callback = boundArgs ? function() {
2999
- apply(fn, this, params);
3000
- } : fn;
3001
- return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback);
3002
- } : scheduler;
3003
- };
3004
- var $$2 = _export;
3005
- var global$2 = global$h;
3006
- var schedulersFix$1 = schedulersFix$2;
3007
- var setInterval = schedulersFix$1(global$2.setInterval, true);
3008
- $$2({
3009
- global: true,
3010
- bind: true,
3011
- forced: global$2.setInterval !== setInterval
3012
- }, {
3013
- setInterval
3014
- });
3015
- var $$1 = _export;
3016
- var global$1 = global$h;
3017
- var schedulersFix = schedulersFix$2;
3018
- var setTimeout$5 = schedulersFix(global$1.setTimeout, true);
3019
- $$1({
3020
- global: true,
3021
- bind: true,
3022
- forced: global$1.setTimeout !== setTimeout$5
3023
- }, {
3024
- setTimeout: setTimeout$5
3025
- });
3026
- var path = path$e;
3027
- var setTimeout$4 = path.setTimeout;
3028
- var parent$4 = setTimeout$4;
3029
- var setTimeout$3 = parent$4;
3030
- var parent$3 = setTimeout$3;
3031
- var setTimeout$2 = parent$3;
3032
- var setTimeout$1 = setTimeout$2;
3033
- var setTimeout = setTimeout$1;
3034
- const _setTimeout = /* @__PURE__ */ getDefaultExportFromCjs(setTimeout);
3035
- var $ = _export;
3036
- var uncurryThis = functionUncurryThisClause;
3037
- var $indexOf = arrayIncludes.indexOf;
3038
- var arrayMethodIsStrict = arrayMethodIsStrict$2;
3039
- var nativeIndexOf = uncurryThis([].indexOf);
3040
- var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;
3041
- var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict("indexOf");
3042
- $({
3043
- target: "Array",
3044
- proto: true,
3045
- forced: FORCED
3046
- }, {
3047
- indexOf: function indexOf(searchElement) {
3048
- var fromIndex = arguments.length > 1 ? arguments[1] : void 0;
3049
- return NEGATIVE_ZERO ? nativeIndexOf(this, searchElement, fromIndex) || 0 : $indexOf(this, searchElement, fromIndex);
3050
- }
3051
- });
3052
- var entryVirtual = entryVirtual$a;
3053
- var indexOf$6 = entryVirtual("Array").indexOf;
3054
- var isPrototypeOf = objectIsPrototypeOf;
3055
- var method = indexOf$6;
3056
- var ArrayPrototype = Array.prototype;
3057
- var indexOf$5 = function(it) {
3058
- var own = it.indexOf;
3059
- return it === ArrayPrototype || isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.indexOf ? method : own;
3060
- };
3061
- var parent$2 = indexOf$5;
3062
- var indexOf$4 = parent$2;
3063
- var parent$1 = indexOf$4;
3064
- var indexOf$3 = parent$1;
3065
- var parent = indexOf$3;
3066
- var indexOf$2 = parent;
3067
- var indexOf$1 = indexOf$2;
3068
- var indexOf2 = indexOf$1;
3069
- const _indexOfInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(indexOf2);
3070
- var _sfc_main$1 = {
6
+ const _sfc_main$1 = {
3071
7
  name: "ItemComponent",
3072
8
  props: {
3073
9
  index: {
@@ -3078,7 +14,7 @@ var _sfc_main$1 = {
3078
14
  source: {
3079
15
  // 每一行的内容
3080
16
  type: Object,
3081
- "default": function _default() {
17
+ default() {
3082
18
  return {};
3083
19
  }
3084
20
  },
@@ -3095,12 +31,12 @@ var _sfc_main$1 = {
3095
31
  showTip: {
3096
32
  // 提示
3097
33
  type: Boolean,
3098
- "default": true
34
+ default: true
3099
35
  }
3100
36
  }
3101
37
  };
3102
38
  var _sfc_render$1 = function render() {
3103
- var _vm$source, _vm$source2, _vm$source3, _vm$source4;
39
+ var _a, _b, _c2, _d, _e, _f, _g, _h;
3104
40
  var _vm = this, _c = _vm._self._c;
3105
41
  return _c("el-option", {
3106
42
  key: _vm.index,
@@ -3109,7 +45,7 @@ var _sfc_render$1 = function render() {
3109
45
  "value": _vm.source[_vm.value],
3110
46
  "disabled": _vm.source["disabled"]
3111
47
  }
3112
- }, [(_vm$source = _vm.source) !== null && _vm$source !== void 0 && (_vm$source = _vm$source.slotContent) !== null && _vm$source !== void 0 && _vm$source.firstCall || (_vm$source2 = _vm.source) !== null && _vm$source2 !== void 0 && (_vm$source2 = _vm$source2.slotContent) !== null && _vm$source2 !== void 0 && _vm$source2.recall ? _c("el-tooltip", {
48
+ }, [((_b = (_a = _vm.source) == null ? void 0 : _a.slotContent) == null ? void 0 : _b.firstCall) || ((_d = (_c2 = _vm.source) == null ? void 0 : _c2.slotContent) == null ? void 0 : _d.recall) ? _c("el-tooltip", {
3113
49
  attrs: {
3114
50
  "effect": "dark",
3115
51
  "placement": "right"
@@ -3122,7 +58,7 @@ var _sfc_render$1 = function render() {
3122
58
  "slot": "content"
3123
59
  },
3124
60
  slot: "content"
3125
- }, [_vm._v(" " + _vm._s((_vm$source3 = _vm.source) === null || _vm$source3 === void 0 || (_vm$source3 = _vm$source3.slotContent) === null || _vm$source3 === void 0 ? void 0 : _vm$source3.firstCall) + " "), _c("br"), _vm._v(" "), _c("br"), _vm._v(" " + _vm._s((_vm$source4 = _vm.source) === null || _vm$source4 === void 0 || (_vm$source4 = _vm$source4.slotContent) === null || _vm$source4 === void 0 ? void 0 : _vm$source4.recall) + " ")]), _c("span", [_vm._v(_vm._s(_vm.source[_vm.label]))])]) : _vm._e(), _vm.showTip ? _c("el-tooltip", {
61
+ }, [_vm._v(" " + _vm._s((_f = (_e = _vm.source) == null ? void 0 : _e.slotContent) == null ? void 0 : _f.firstCall) + " "), _c("br"), _vm._v(" "), _c("br"), _vm._v(" " + _vm._s((_h = (_g = _vm.source) == null ? void 0 : _g.slotContent) == null ? void 0 : _h.recall) + " ")]), _c("span", [_vm._v(_vm._s(_vm.source[_vm.label]))])]) : _vm._e(), _vm.showTip ? _c("el-tooltip", {
3126
62
  attrs: {
3127
63
  "content": _vm.source[_vm.label],
3128
64
  "open-delay": 1e3,
@@ -3134,29 +70,7 @@ var _sfc_render$1 = function render() {
3134
70
  var _sfc_staticRenderFns$1 = [];
3135
71
  var __component__$1 = /* @__PURE__ */ vue2RuntimeHelpers.normalizeComponent(_sfc_main$1, _sfc_render$1, _sfc_staticRenderFns$1, false, null, null, null, null);
3136
72
  const ElOptionNode = __component__$1.exports;
3137
- function ownKeys2(e, r) {
3138
- var t = _Object$keys(e);
3139
- if (_Object$getOwnPropertySymbols) {
3140
- var o = _Object$getOwnPropertySymbols(e);
3141
- r && (o = _filterInstanceProperty(o).call(o, function(r2) {
3142
- return _Object$getOwnPropertyDescriptor(e, r2).enumerable;
3143
- })), t.push.apply(t, o);
3144
- }
3145
- return t;
3146
- }
3147
- function _objectSpread(e) {
3148
- for (var r = 1; r < arguments.length; r++) {
3149
- var _context12, _context13;
3150
- var t = null != arguments[r] ? arguments[r] : {};
3151
- r % 2 ? _forEachInstanceProperty(_context12 = ownKeys2(Object(t), true)).call(_context12, function(r2) {
3152
- _defineProperty(e, r2, t[r2]);
3153
- }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context13 = ownKeys2(Object(t))).call(_context13, function(r2) {
3154
- _Object$defineProperty(e, r2, _Object$getOwnPropertyDescriptor(t, r2));
3155
- });
3156
- }
3157
- return e;
3158
- }
3159
- var _sfc_main = {
73
+ const _sfc_main = {
3160
74
  name: "nf-virtual-select",
3161
75
  components: {
3162
76
  "virtual-list": virtualList
@@ -3165,128 +79,126 @@ var _sfc_main = {
3165
79
  props: {
3166
80
  offset: {
3167
81
  type: Number,
3168
- "default": 0
82
+ default: 0
3169
83
  },
3170
84
  start: {
3171
85
  type: Number,
3172
- "default": 0
86
+ default: 0
3173
87
  },
3174
88
  pageMode: {
3175
89
  type: Boolean,
3176
- "default": false
90
+ default: false
3177
91
  },
3178
92
  direction: {
3179
93
  type: String,
3180
- "default": "vertical"
94
+ default: "vertical"
3181
95
  },
3182
96
  topThreshold: {
3183
97
  type: Number,
3184
- "default": 0
98
+ default: 0
3185
99
  },
3186
100
  bottomThreshold: {
3187
101
  type: Number,
3188
- "default": 0
102
+ default: 0
3189
103
  },
3190
104
  rootTag: {
3191
105
  type: String,
3192
- "default": "div"
106
+ default: "div"
3193
107
  },
3194
108
  wrapTag: {
3195
109
  type: String,
3196
- "default": "div"
110
+ default: "div"
3197
111
  },
3198
112
  wrapStyle: {
3199
113
  type: Object,
3200
- "default": function _default2() {
114
+ default: () => {
3201
115
  return {};
3202
116
  }
3203
117
  },
3204
118
  itemTag: {
3205
119
  type: String,
3206
- "default": "div"
120
+ default: "div"
3207
121
  },
3208
122
  itemClass: {
3209
123
  type: String,
3210
- "default": ""
124
+ default: ""
3211
125
  },
3212
126
  itemClassAdd: {
3213
127
  type: Function
3214
128
  },
3215
129
  itemStyle: {
3216
130
  type: Object,
3217
- "default": function _default3() {
131
+ default: () => {
3218
132
  return {};
3219
133
  }
3220
134
  },
3221
135
  itemScopedSlots: {
3222
136
  type: Object,
3223
- "default": function _default4() {
137
+ default: () => {
3224
138
  return {};
3225
139
  }
3226
140
  },
3227
141
  headerTag: {
3228
142
  type: String,
3229
- "default": "div"
143
+ default: "div"
3230
144
  },
3231
145
  headeClass: {
3232
146
  type: String,
3233
- "default": ""
147
+ default: ""
3234
148
  },
3235
149
  headerStyle: {
3236
150
  type: Object,
3237
- "default": function _default5() {
151
+ default: () => {
3238
152
  return {};
3239
153
  }
3240
154
  },
3241
155
  footerTag: {
3242
156
  type: String,
3243
- "default": "div"
157
+ default: "div"
3244
158
  },
3245
159
  footerClass: {
3246
160
  type: String,
3247
- "default": ""
161
+ default: ""
3248
162
  },
3249
163
  footerStyle: {
3250
164
  type: Object,
3251
- "default": function _default6() {
165
+ default: () => {
3252
166
  return {};
3253
167
  }
3254
168
  },
3255
169
  keeps: {
3256
170
  type: Number,
3257
- "default": 30
171
+ default: 30
3258
172
  },
3259
173
  /**
3260
174
  * 每个项目的估计大小,如果它更接近平均大小,滚动条长度看起来更准确。建议指定自己计算的平均值。
3261
175
  */
3262
176
  estimateSize: {
3263
177
  type: Number,
3264
- "default": 50
178
+ default: 50
3265
179
  },
3266
180
  value: {
3267
181
  type: [String, Number, Array],
3268
- "default": function _default7() {
182
+ default: () => {
3269
183
  return "";
3270
184
  }
3271
185
  },
3272
186
  size: {
3273
187
  type: String,
3274
- "default": void 0
188
+ default: void 0
3275
189
  },
3276
190
  // 默认['label','value']
3277
191
  keyValue: {
3278
192
  type: Array,
3279
- "default": function _default8() {
3280
- return ["label", "value"];
3281
- }
193
+ default: () => ["label", "value"]
3282
194
  },
3283
195
  placeholder: {
3284
196
  type: String,
3285
- "default": "请选择"
197
+ default: "请选择"
3286
198
  },
3287
199
  itemOptions: {
3288
200
  type: Object,
3289
- "default": function _default9() {
201
+ default() {
3290
202
  return {
3291
203
  options: [],
3292
204
  virtualList: false
@@ -3295,98 +207,100 @@ var _sfc_main = {
3295
207
  },
3296
208
  virtualList: {
3297
209
  type: Boolean,
3298
- "default": false
210
+ default: false
3299
211
  },
3300
212
  options: {
3301
213
  type: Array,
3302
- "default": function _default10() {
3303
- return [];
3304
- }
214
+ default: () => []
3305
215
  },
3306
216
  filterable: {
3307
217
  type: Boolean,
3308
- "default": false
218
+ default: false
3309
219
  },
3310
220
  multiple: {
3311
221
  type: Boolean,
3312
- "default": false
222
+ default: false
3313
223
  },
3314
224
  width: {
3315
225
  type: String,
3316
- "default": "100%"
226
+ default: "100%"
3317
227
  },
3318
228
  height: {
3319
229
  type: String,
3320
- "default": "245px"
230
+ default: "245px"
3321
231
  },
3322
232
  dataComponent: {
3323
233
  type: Object
3324
234
  },
3325
235
  extraProps: {
3326
236
  type: Object,
3327
- "default": function _default11() {
3328
- return {
3329
- label: "label",
3330
- value: "value"
3331
- };
3332
- }
237
+ default: () => ({
238
+ label: "label",
239
+ value: "value"
240
+ })
3333
241
  },
3334
242
  dataKey: {
3335
243
  type: [String, Function],
3336
- "default": "templateId"
244
+ default: "templateId"
3337
245
  }
3338
246
  },
3339
- data: function data2() {
3340
- var _this$dataComponent;
247
+ data() {
3341
248
  return {
3342
- itemComponent: (_this$dataComponent = this.dataComponent) !== null && _this$dataComponent !== void 0 ? _this$dataComponent : ElOptionNode,
249
+ itemComponent: this.dataComponent ?? ElOptionNode,
3343
250
  selectArr: []
3344
251
  };
3345
252
  },
3346
253
  computed: {
3347
254
  currentVal: {
3348
- get: function get2() {
255
+ get() {
3349
256
  return this.value;
3350
257
  },
3351
- set: function set2(v) {
258
+ set(v) {
3352
259
  this.$emit("input", v);
3353
260
  }
3354
261
  },
3355
- isSelect: function isSelect() {
262
+ isSelect() {
3356
263
  return Object.prototype.hasOwnProperty.call(this.itemOptions, "virtualList") && !this.itemOptions.virtualList || !this.virtualList;
3357
264
  },
3358
- isVirtualSelect: function isVirtualSelect() {
265
+ isVirtualSelect() {
3359
266
  return this.virtualList || this.itemOptions.virtualList;
3360
267
  },
3361
268
  // 绑定属性
3362
- bindProps: function bindProps() {
3363
- var obj = _objectSpread(_objectSpread({
269
+ bindProps() {
270
+ let obj = {
3364
271
  size: this.size,
3365
- clearable: true
3366
- }, this.$attrs), this.formatItemOptions);
272
+ clearable: true,
273
+ ...this.$attrs,
274
+ ...this.formatItemOptions
275
+ };
3367
276
  if (obj.element === "custom-select" || obj.element === "el-select") {
3368
277
  if (obj.multiple) {
3369
- obj = _objectSpread({
3370
- "collapse-tags": true
3371
- }, obj);
278
+ obj = {
279
+ "collapse-tags": true,
280
+ ...obj
281
+ };
3372
282
  }
3373
283
  delete obj.options;
3374
284
  }
3375
285
  return obj;
3376
286
  },
3377
287
  // 绑定方法
3378
- bindEvents: function bindEvents() {
3379
- var events = _objectSpread(_objectSpread({}, this.$listeners || {}), this.itemOptions.events);
3380
- if (events !== null && events !== void 0 && events.change) {
288
+ bindEvents() {
289
+ const events = {
290
+ ...this.$listeners || {},
291
+ ...this.itemOptions.events
292
+ };
293
+ if (events == null ? void 0 : events.change) {
3381
294
  delete events.change;
3382
295
  }
3383
296
  return events || {};
3384
297
  },
3385
- formatItemOptions: function formatItemOptions() {
3386
- var that = this;
3387
- return _objectSpread(_objectSpread(_objectSpread({
3388
- size: this.size
3389
- }, this.itemOptions), this.$attrs), {}, {
298
+ formatItemOptions() {
299
+ const that = this;
300
+ return {
301
+ size: this.size,
302
+ ...this.itemOptions,
303
+ ...this.$attrs,
3390
304
  element: "el-select",
3391
305
  virtualList: this.itemOptions.virtualList || this.virtualList,
3392
306
  placeholder: this.itemOptions.placeholder || this.placeholder,
@@ -3394,17 +308,17 @@ var _sfc_main = {
3394
308
  multiple: this.itemOptions.multiple || this.multiple,
3395
309
  options: this.optionsList,
3396
310
  events: {
3397
- change: function change(val) {
311
+ change(val) {
3398
312
  that.$emit("change", val);
3399
313
  }
3400
314
  }
3401
- });
315
+ };
3402
316
  },
3403
- optionsList: function optionsList() {
3404
- var _this$itemOptions$opt;
317
+ optionsList() {
318
+ var _a;
3405
319
  if (this.options.length) {
3406
320
  return this.options;
3407
- } else if ((_this$itemOptions$opt = this.itemOptions.options) !== null && _this$itemOptions$opt !== void 0 && _this$itemOptions$opt.length) {
321
+ } else if ((_a = this.itemOptions.options) == null ? void 0 : _a.length) {
3408
322
  return this.itemOptions.options;
3409
323
  } else {
3410
324
  return [];
@@ -3412,163 +326,146 @@ var _sfc_main = {
3412
326
  }
3413
327
  },
3414
328
  watch: {
3415
- options: function options(newVal, value) {
329
+ options(newVal, value) {
3416
330
  if (!lodashEs.isEqual(newVal, value)) {
3417
331
  this.init();
3418
332
  }
3419
333
  },
3420
334
  currentVal: {
3421
- handler: function handler(newVal, value) {
335
+ handler(newVal, value) {
3422
336
  this.init();
3423
337
  }
3424
338
  }
3425
339
  },
3426
- mounted: function mounted() {
340
+ mounted() {
3427
341
  this.init();
3428
342
  },
3429
343
  methods: {
3430
- reset: function reset() {
3431
- var _this$$refs$virtualSe;
3432
- (_this$$refs$virtualSe = this.$refs.virtualSelectList) === null || _this$$refs$virtualSe === void 0 || _this$$refs$virtualSe.reset();
344
+ reset() {
345
+ var _a;
346
+ (_a = this.$refs.virtualSelectList) == null ? void 0 : _a.reset();
3433
347
  },
3434
- scrollToBottom: function scrollToBottom() {
348
+ scrollToBottom() {
3435
349
  this.$refs.virtualSelectList.scrollToBottom();
3436
350
  },
3437
- scrollToIndex: function scrollToIndex(index) {
351
+ scrollToIndex(index) {
3438
352
  this.$refs.virtualSelectList.scrollToIndex(index);
3439
353
  },
3440
- scrollToOffset: function scrollToOffset(offset) {
354
+ scrollToOffset(offset) {
3441
355
  this.$refs.virtualSelectList.scrollToOffset(offset);
3442
356
  },
3443
- getSize: function getSize(id2) {
3444
- return this.$refs.virtualSelectList.getSize(id2);
357
+ getSize(id) {
358
+ return this.$refs.virtualSelectList.getSize(id);
3445
359
  },
3446
- getClientSize: function getClientSize() {
360
+ getClientSize() {
3447
361
  return this.$refs.virtualSelectList.getClientSize();
3448
362
  },
3449
- getScrollSize: function getScrollSize() {
363
+ getScrollSize() {
3450
364
  return this.$refs.virtualSelectList.getScrollSize();
3451
365
  },
3452
- updatePageModeFront: function updatePageModeFront() {
366
+ updatePageModeFront() {
3453
367
  this.$refs.virtualSelectList.updatePageModeFront();
3454
368
  },
3455
- scroll: function scroll(event) {
3456
- var _this$itemOptions$eve;
3457
- if ((_this$itemOptions$eve = this.itemOptions.events) !== null && _this$itemOptions$eve !== void 0 && _this$itemOptions$eve.scroll) {
369
+ scroll(event) {
370
+ var _a;
371
+ if ((_a = this.itemOptions.events) == null ? void 0 : _a.scroll) {
3458
372
  this.itemOptions.events.scroll(event, this);
3459
373
  } else {
3460
374
  this.$emit("scroll", event);
3461
375
  }
3462
376
  },
3463
- totop: function totop(event) {
3464
- var _this$itemOptions$eve2;
3465
- if ((_this$itemOptions$eve2 = this.itemOptions.events) !== null && _this$itemOptions$eve2 !== void 0 && _this$itemOptions$eve2.totop) {
377
+ totop(event) {
378
+ var _a;
379
+ if ((_a = this.itemOptions.events) == null ? void 0 : _a.totop) {
3466
380
  this.itemOptions.events.totop(event, this);
3467
381
  } else {
3468
382
  this.$emit("totop", event);
3469
383
  }
3470
384
  },
3471
- tobottom: function tobottom(event) {
3472
- var _this$itemOptions$eve3;
3473
- if ((_this$itemOptions$eve3 = this.itemOptions.events) !== null && _this$itemOptions$eve3 !== void 0 && _this$itemOptions$eve3.tobottom) {
385
+ tobottom(event) {
386
+ var _a;
387
+ if ((_a = this.itemOptions.events) == null ? void 0 : _a.tobottom) {
3474
388
  this.itemOptions.events.tobottom(event, this);
3475
389
  } else {
3476
390
  this.$emit("tobottom", event);
3477
391
  }
3478
392
  },
3479
- resized: function resized(event) {
3480
- var _this$itemOptions$eve4;
3481
- if ((_this$itemOptions$eve4 = this.itemOptions.events) !== null && _this$itemOptions$eve4 !== void 0 && _this$itemOptions$eve4.resized) {
393
+ resized(event) {
394
+ var _a;
395
+ if ((_a = this.itemOptions.events) == null ? void 0 : _a.resized) {
3482
396
  this.itemOptions.events.resized(event, this);
3483
397
  } else {
3484
398
  this.$emit("resized", event);
3485
399
  }
3486
400
  },
3487
- handleChange: function handleChange(event) {
3488
- var _this$itemOptions$eve5;
3489
- if ((_this$itemOptions$eve5 = this.itemOptions.events) !== null && _this$itemOptions$eve5 !== void 0 && _this$itemOptions$eve5.change) {
401
+ handleChange(event) {
402
+ var _a;
403
+ if ((_a = this.itemOptions.events) == null ? void 0 : _a.change) {
3490
404
  this.itemOptions.events.change(event, this);
3491
405
  } else {
3492
406
  this.$emit("change", event);
3493
407
  }
3494
408
  },
3495
- init: function init() {
3496
- var _this = this;
3497
- this.$nextTick(function() {
3498
- if (_this.isVirtualSelect) {
3499
- if (!_this.currentVal) {
3500
- var _this$optionsList$map, _this$optionsList;
3501
- _this.selectArr = (_this$optionsList$map = (_this$optionsList = _this.optionsList) === null || _this$optionsList === void 0 ? void 0 : _mapInstanceProperty(_this$optionsList).call(_this$optionsList, function(it) {
3502
- var _it$disabled, _ref;
3503
- return _ref = {
3504
- label: it[_this.keyValue[0]],
3505
- value: it[_this.keyValue[1]]
3506
- }, _defineProperty(_ref, _this.dataKey, it[_this.keyValue[1]]), _defineProperty(_ref, "disabled", (_it$disabled = it["disabled"]) !== null && _it$disabled !== void 0 ? _it$disabled : false), _ref;
3507
- })) !== null && _this$optionsList$map !== void 0 ? _this$optionsList$map : [];
409
+ init() {
410
+ this.$nextTick(() => {
411
+ var _a;
412
+ if (this.isVirtualSelect) {
413
+ if (!this.currentVal) {
414
+ this.selectArr = ((_a = this.optionsList) == null ? void 0 : _a.map((it) => ({
415
+ label: it[this.keyValue[0]],
416
+ value: it[this.keyValue[1]],
417
+ [this.dataKey]: it[this.keyValue[1]],
418
+ disabled: it["disabled"] ?? false
419
+ }))) ?? [];
3508
420
  } else {
3509
- _this.selectArr = _this.optionsList ? lodashEs.cloneDeep(_this.optionsList) : [];
3510
- if ((_this.itemOptions.multiple || _this.multiple) && _Array$isArray(_this.currentVal)) {
3511
- var _context, _context3, _context4;
3512
- var multiple_elements = _filterInstanceProperty(_context = _this.selectArr).call(_context, function(item) {
3513
- var _context2;
3514
- return _includesInstanceProperty(_context2 = _this.currentVal).call(_context2, item.value);
3515
- });
3516
- _this.selectArr = _concatInstanceProperty(_context3 = []).call(_context3, _toConsumableArray(multiple_elements), _toConsumableArray(_filterInstanceProperty(_context4 = _this.selectArr).call(_context4, function(item) {
3517
- return !_includesInstanceProperty(multiple_elements).call(multiple_elements, item);
3518
- })));
421
+ this.selectArr = this.optionsList ? lodashEs.cloneDeep(this.optionsList) : [];
422
+ if ((this.itemOptions.multiple || this.multiple) && Array.isArray(this.currentVal)) {
423
+ const multiple_elements = this.selectArr.filter((item) => this.currentVal.includes(item.value));
424
+ this.selectArr = [...multiple_elements, ...this.selectArr.filter((item) => !multiple_elements.includes(item))];
3519
425
  } else {
3520
- var _context5;
3521
- var index = _findIndexInstanceProperty(_context5 = _this.selectArr).call(_context5, function(item) {
3522
- return item.value === _this.currentVal;
3523
- });
426
+ const index = this.selectArr.findIndex((item) => item.value === this.currentVal);
3524
427
  if (index !== -1) {
3525
- var _context6;
3526
- var obj = _spliceInstanceProperty(_context6 = _this.selectArr).call(_context6, index, 1)[0];
3527
- _this.selectArr.unshift(obj);
428
+ const obj = this.selectArr.splice(index, 1)[0];
429
+ this.selectArr.unshift(obj);
3528
430
  }
3529
431
  }
3530
432
  }
3531
433
  } else {
3532
- var _context7;
3533
- _this.selectArr = _mapInstanceProperty(_context7 = _this.optionsList || []).call(_context7, function(it) {
3534
- var _it$disabled2;
3535
- return {
3536
- label: it[_this.keyValue[0]],
3537
- value: it[_this.keyValue[1]],
3538
- disabled: (_it$disabled2 = it["disabled"]) !== null && _it$disabled2 !== void 0 ? _it$disabled2 : false
3539
- };
3540
- });
434
+ this.selectArr = (this.optionsList || []).map((it) => ({
435
+ label: it[this.keyValue[0]],
436
+ value: it[this.keyValue[1]],
437
+ disabled: it["disabled"] ?? false
438
+ }));
3541
439
  }
3542
440
  });
3543
441
  },
3544
442
  // 搜索
3545
- filterMethod: function filterMethod(query) {
3546
- var _this2 = this;
443
+ filterMethod(query) {
3547
444
  if (query !== "") {
3548
445
  this.$refs.virtualSelectList.scrollToIndex(0);
3549
- var timer = _setTimeout(function() {
3550
- var _context8, _context10;
3551
- var selectArr = _filterInstanceProperty(_context8 = _this2.itemOptions.options).call(_context8, function(item) {
3552
- if (item[_this2.keyValue[0]]) {
3553
- var _context9;
3554
- return _indexOfInstanceProperty(_context9 = item[_this2.keyValue[0]].toLowerCase()).call(_context9, query.toLowerCase()) > -1;
446
+ let timer = setTimeout(() => {
447
+ const selectArr = this.itemOptions.options.filter((item) => {
448
+ if (item[this.keyValue[0]]) {
449
+ return item[this.keyValue[0]].toLowerCase().indexOf(query.toLowerCase()) > -1;
3555
450
  }
3556
451
  });
3557
- _this2.selectArr = _mapInstanceProperty(_context10 = selectArr || []).call(_context10, function(it) {
3558
- var _ref2;
3559
- return _ref2 = {
3560
- label: it[_this2.keyValue[0]],
3561
- value: it[_this2.keyValue[1]]
3562
- }, _defineProperty(_ref2, _this2.dataKey, it[_this2.keyValue[1]]), _defineProperty(_ref2, "disabled", it["disabled"] ? it["disabled"] : false), _defineProperty(_ref2, "slotContent", (it === null || it === void 0 ? void 0 : it.slotContent) || {}), _ref2;
452
+ this.selectArr = (selectArr || []).map((it) => {
453
+ return {
454
+ label: it[this.keyValue[0]],
455
+ value: it[this.keyValue[1]],
456
+ [this.dataKey]: it[this.keyValue[1]],
457
+ disabled: it["disabled"] ? it["disabled"] : false,
458
+ slotContent: (it == null ? void 0 : it.slotContent) || {}
459
+ };
3563
460
  });
3564
461
  clearTimeout(timer);
3565
462
  timer = null;
3566
463
  }, 100);
3567
- this.$once("hook:beforeDestroy", function() {
464
+ this.$once("hook:beforeDestroy", () => {
3568
465
  clearTimeout(timer);
3569
466
  timer = null;
3570
467
  });
3571
- this.$once("hook:deactivated", function() {
468
+ this.$once("hook:deactivated", () => {
3572
469
  clearTimeout(timer);
3573
470
  timer = null;
3574
471
  });
@@ -3576,33 +473,32 @@ var _sfc_main = {
3576
473
  this.init();
3577
474
  }
3578
475
  },
3579
- visibleChange: function visibleChange(bool) {
476
+ visibleChange(bool) {
3580
477
  if (!bool) {
3581
478
  this.reset();
3582
479
  this.init();
3583
480
  }
3584
481
  }
3585
482
  },
3586
- beforeDestroy: function beforeDestroy() {
483
+ beforeDestroy() {
3587
484
  this.reset();
3588
485
  this.selectArr = [];
3589
486
  },
3590
- activated: function activated() {
487
+ activated() {
3591
488
  this.init();
3592
489
  },
3593
- deactivated: function deactivated() {
490
+ deactivated() {
3594
491
  this.reset();
3595
492
  this.selectArr = [];
3596
493
  }
3597
494
  };
3598
495
  var _sfc_render = function render2() {
3599
- var _context11;
3600
496
  var _vm = this, _c = _vm._self._c;
3601
497
  return _c("div", {
3602
498
  staticClass: "nf-virtual-select"
3603
499
  }, [_vm.isVirtualSelect ? [_c("el-select", _vm._g(_vm._b({
3604
500
  staticClass: "nf-virtual-list-form-item-select",
3605
- style: "width: ".concat(_vm.width, ";"),
501
+ style: `width: ${_vm.width};`,
3606
502
  attrs: {
3607
503
  "popper-class": "nf-virtual-list-select",
3608
504
  "disabled": _vm.$attrs.disabled,
@@ -3615,7 +511,7 @@ var _sfc_render = function render2() {
3615
511
  },
3616
512
  model: {
3617
513
  value: _vm.currentVal,
3618
- callback: function callback($$v) {
514
+ callback: function($$v) {
3619
515
  _vm.currentVal = $$v;
3620
516
  },
3621
517
  expression: "currentVal"
@@ -3623,7 +519,7 @@ var _sfc_render = function render2() {
3623
519
  }, "el-select", _vm.bindProps, false), _vm.bindEvents), [_c("virtual-list", {
3624
520
  ref: "virtualSelectList",
3625
521
  staticClass: "nf-virtual-select-list",
3626
- style: _concatInstanceProperty(_context11 = "max-height: ".concat(_vm.height, ";width: ")).call(_context11, _vm.width, "; overflow-y: auto;"),
522
+ style: `max-height: ${_vm.height};width: ${_vm.width}; overflow-y: auto;`,
3627
523
  attrs: {
3628
524
  "offset": _vm.offset,
3629
525
  "start": _vm.start,
@@ -3659,7 +555,7 @@ var _sfc_render = function render2() {
3659
555
  "resized": _vm.resized
3660
556
  }
3661
557
  })], 1)] : _vm.isSelect ? _c("el-select", _vm._g(_vm._b({
3662
- style: "width: ".concat(_vm.width, ";"),
558
+ style: `width: ${_vm.width};`,
3663
559
  attrs: {
3664
560
  "popper-class": "select-popper"
3665
561
  },
@@ -3668,7 +564,7 @@ var _sfc_render = function render2() {
3668
564
  },
3669
565
  model: {
3670
566
  value: _vm.currentVal,
3671
- callback: function callback($$v) {
567
+ callback: function($$v) {
3672
568
  _vm.currentVal = $$v;
3673
569
  },
3674
570
  expression: "currentVal"
@@ -3694,7 +590,7 @@ var _sfc_render = function render2() {
3694
590
  var _sfc_staticRenderFns = [];
3695
591
  var __component__ = /* @__PURE__ */ vue2RuntimeHelpers.normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
3696
592
  const NfVirtualSelect = __component__.exports;
3697
- NfVirtualSelect.install = function(app) {
593
+ NfVirtualSelect.install = (app) => {
3698
594
  app.component("nf-virtual-select", NfVirtualSelect);
3699
595
  };
3700
596
  exports.default = NfVirtualSelect;