@94ai/nf-notification 3.1.38 → 3.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/nf-notification.cjs.js +2590 -83
- package/lib/nf-notification.esm-bundler.js +2590 -83
- package/package.json +1 -1
|
@@ -3,15 +3,2264 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const vueDemi = require("vue-demi");
|
|
4
4
|
const vue2RuntimeHelpers = require("@94ai/vue2-runtime-helpers");
|
|
5
5
|
const Vue = require("vue");
|
|
6
|
-
|
|
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 defineProperty$b = { exports: {} };
|
|
11
|
+
var check = function(it) {
|
|
12
|
+
return it && it.Math == Math && it;
|
|
13
|
+
};
|
|
14
|
+
var global$i = (
|
|
15
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
16
|
+
check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
|
|
17
|
+
check(typeof self == "object" && self) || check(typeof commonjsGlobal == "object" && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback
|
|
18
|
+
function() {
|
|
19
|
+
return this;
|
|
20
|
+
}() || commonjsGlobal || Function("return this")()
|
|
21
|
+
);
|
|
22
|
+
var fails$h = function(exec2) {
|
|
23
|
+
try {
|
|
24
|
+
return !!exec2();
|
|
25
|
+
} catch (error) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
var fails$g = fails$h;
|
|
30
|
+
var functionBindNative = !fails$g(function() {
|
|
31
|
+
var test2 = (function() {
|
|
32
|
+
}).bind();
|
|
33
|
+
return typeof test2 != "function" || test2.hasOwnProperty("prototype");
|
|
34
|
+
});
|
|
35
|
+
var NATIVE_BIND$3 = functionBindNative;
|
|
36
|
+
var FunctionPrototype$3 = Function.prototype;
|
|
37
|
+
var apply$3 = FunctionPrototype$3.apply;
|
|
38
|
+
var call$9 = FunctionPrototype$3.call;
|
|
39
|
+
var functionApply = typeof Reflect == "object" && Reflect.apply || (NATIVE_BIND$3 ? call$9.bind(apply$3) : function() {
|
|
40
|
+
return call$9.apply(apply$3, arguments);
|
|
41
|
+
});
|
|
42
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
43
|
+
var FunctionPrototype$2 = Function.prototype;
|
|
44
|
+
var call$8 = FunctionPrototype$2.call;
|
|
45
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$8, call$8);
|
|
46
|
+
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function(fn) {
|
|
47
|
+
return function() {
|
|
48
|
+
return call$8.apply(fn, arguments);
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
var uncurryThis$l = functionUncurryThis;
|
|
52
|
+
var toString$9 = uncurryThis$l({}.toString);
|
|
53
|
+
var stringSlice$1 = uncurryThis$l("".slice);
|
|
54
|
+
var classofRaw$2 = function(it) {
|
|
55
|
+
return stringSlice$1(toString$9(it), 8, -1);
|
|
56
|
+
};
|
|
57
|
+
var classofRaw$1 = classofRaw$2;
|
|
58
|
+
var uncurryThis$k = functionUncurryThis;
|
|
59
|
+
var functionUncurryThisClause = function(fn) {
|
|
60
|
+
if (classofRaw$1(fn) === "Function")
|
|
61
|
+
return uncurryThis$k(fn);
|
|
62
|
+
};
|
|
63
|
+
var documentAll$2 = typeof document == "object" && document.all;
|
|
64
|
+
var IS_HTMLDDA = typeof documentAll$2 == "undefined" && documentAll$2 !== void 0;
|
|
65
|
+
var documentAll_1 = {
|
|
66
|
+
all: documentAll$2,
|
|
67
|
+
IS_HTMLDDA
|
|
68
|
+
};
|
|
69
|
+
var $documentAll$1 = documentAll_1;
|
|
70
|
+
var documentAll$1 = $documentAll$1.all;
|
|
71
|
+
var isCallable$g = $documentAll$1.IS_HTMLDDA ? function(argument) {
|
|
72
|
+
return typeof argument == "function" || argument === documentAll$1;
|
|
73
|
+
} : function(argument) {
|
|
74
|
+
return typeof argument == "function";
|
|
75
|
+
};
|
|
76
|
+
var objectGetOwnPropertyDescriptor = {};
|
|
77
|
+
var fails$f = fails$h;
|
|
78
|
+
var descriptors = !fails$f(function() {
|
|
79
|
+
return Object.defineProperty({}, 1, {
|
|
80
|
+
get: function() {
|
|
81
|
+
return 7;
|
|
82
|
+
}
|
|
83
|
+
})[1] != 7;
|
|
84
|
+
});
|
|
85
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
86
|
+
var call$7 = Function.prototype.call;
|
|
87
|
+
var functionCall = NATIVE_BIND$1 ? call$7.bind(call$7) : function() {
|
|
88
|
+
return call$7.apply(call$7, arguments);
|
|
89
|
+
};
|
|
90
|
+
var objectPropertyIsEnumerable = {};
|
|
91
|
+
var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
|
|
92
|
+
var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
|
|
93
|
+
var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable$1.call({
|
|
94
|
+
1: 2
|
|
95
|
+
}, 1);
|
|
96
|
+
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
97
|
+
var descriptor = getOwnPropertyDescriptor$2(this, V);
|
|
98
|
+
return !!descriptor && descriptor.enumerable;
|
|
99
|
+
} : $propertyIsEnumerable$1;
|
|
100
|
+
var createPropertyDescriptor$5 = function(bitmap, value) {
|
|
101
|
+
return {
|
|
102
|
+
enumerable: !(bitmap & 1),
|
|
103
|
+
configurable: !(bitmap & 2),
|
|
104
|
+
writable: !(bitmap & 4),
|
|
105
|
+
value
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
var uncurryThis$j = functionUncurryThis;
|
|
109
|
+
var fails$e = fails$h;
|
|
110
|
+
var classof$9 = classofRaw$2;
|
|
111
|
+
var $Object$4 = Object;
|
|
112
|
+
var split = uncurryThis$j("".split);
|
|
113
|
+
var indexedObject = fails$e(function() {
|
|
114
|
+
return !$Object$4("z").propertyIsEnumerable(0);
|
|
115
|
+
}) ? function(it) {
|
|
116
|
+
return classof$9(it) == "String" ? split(it, "") : $Object$4(it);
|
|
117
|
+
} : $Object$4;
|
|
118
|
+
var isNullOrUndefined$2 = function(it) {
|
|
119
|
+
return it === null || it === void 0;
|
|
120
|
+
};
|
|
121
|
+
var isNullOrUndefined$1 = isNullOrUndefined$2;
|
|
122
|
+
var $TypeError$9 = TypeError;
|
|
123
|
+
var requireObjectCoercible$4 = function(it) {
|
|
124
|
+
if (isNullOrUndefined$1(it))
|
|
125
|
+
throw $TypeError$9("Can't call method on " + it);
|
|
126
|
+
return it;
|
|
127
|
+
};
|
|
128
|
+
var IndexedObject$1 = indexedObject;
|
|
129
|
+
var requireObjectCoercible$3 = requireObjectCoercible$4;
|
|
130
|
+
var toIndexedObject$7 = function(it) {
|
|
131
|
+
return IndexedObject$1(requireObjectCoercible$3(it));
|
|
132
|
+
};
|
|
133
|
+
var isCallable$f = isCallable$g;
|
|
134
|
+
var $documentAll = documentAll_1;
|
|
135
|
+
var documentAll = $documentAll.all;
|
|
136
|
+
var isObject$8 = $documentAll.IS_HTMLDDA ? function(it) {
|
|
137
|
+
return typeof it == "object" ? it !== null : isCallable$f(it) || it === documentAll;
|
|
138
|
+
} : function(it) {
|
|
139
|
+
return typeof it == "object" ? it !== null : isCallable$f(it);
|
|
140
|
+
};
|
|
141
|
+
var path$8 = {};
|
|
142
|
+
var path$7 = path$8;
|
|
143
|
+
var global$h = global$i;
|
|
144
|
+
var isCallable$e = isCallable$g;
|
|
145
|
+
var aFunction = function(variable) {
|
|
146
|
+
return isCallable$e(variable) ? variable : void 0;
|
|
147
|
+
};
|
|
148
|
+
var getBuiltIn$9 = function(namespace, method2) {
|
|
149
|
+
return arguments.length < 2 ? aFunction(path$7[namespace]) || aFunction(global$h[namespace]) : path$7[namespace] && path$7[namespace][method2] || global$h[namespace] && global$h[namespace][method2];
|
|
150
|
+
};
|
|
151
|
+
var uncurryThis$i = functionUncurryThis;
|
|
152
|
+
var objectIsPrototypeOf = uncurryThis$i({}.isPrototypeOf);
|
|
153
|
+
var engineUserAgent = typeof navigator != "undefined" && String(navigator.userAgent) || "";
|
|
154
|
+
var global$g = global$i;
|
|
155
|
+
var userAgent = engineUserAgent;
|
|
156
|
+
var process = global$g.process;
|
|
157
|
+
var Deno = global$g.Deno;
|
|
158
|
+
var versions = process && process.versions || Deno && Deno.version;
|
|
159
|
+
var v8 = versions && versions.v8;
|
|
160
|
+
var match, version;
|
|
161
|
+
if (v8) {
|
|
162
|
+
match = v8.split(".");
|
|
163
|
+
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
164
|
+
}
|
|
165
|
+
if (!version && userAgent) {
|
|
166
|
+
match = userAgent.match(/Edge\/(\d+)/);
|
|
167
|
+
if (!match || match[1] >= 74) {
|
|
168
|
+
match = userAgent.match(/Chrome\/(\d+)/);
|
|
169
|
+
if (match)
|
|
170
|
+
version = +match[1];
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
var engineV8Version = version;
|
|
174
|
+
var V8_VERSION$2 = engineV8Version;
|
|
175
|
+
var fails$d = fails$h;
|
|
176
|
+
var global$f = global$i;
|
|
177
|
+
var $String$4 = global$f.String;
|
|
178
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$d(function() {
|
|
179
|
+
var symbol2 = Symbol();
|
|
180
|
+
return !$String$4(symbol2) || !(Object(symbol2) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
181
|
+
!Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;
|
|
182
|
+
});
|
|
183
|
+
var NATIVE_SYMBOL$5 = symbolConstructorDetection;
|
|
184
|
+
var useSymbolAsUid = NATIVE_SYMBOL$5 && !Symbol.sham && typeof Symbol.iterator == "symbol";
|
|
185
|
+
var getBuiltIn$8 = getBuiltIn$9;
|
|
186
|
+
var isCallable$d = isCallable$g;
|
|
187
|
+
var isPrototypeOf$5 = objectIsPrototypeOf;
|
|
188
|
+
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
189
|
+
var $Object$3 = Object;
|
|
190
|
+
var isSymbol$5 = USE_SYMBOL_AS_UID$1 ? function(it) {
|
|
191
|
+
return typeof it == "symbol";
|
|
192
|
+
} : function(it) {
|
|
193
|
+
var $Symbol2 = getBuiltIn$8("Symbol");
|
|
194
|
+
return isCallable$d($Symbol2) && isPrototypeOf$5($Symbol2.prototype, $Object$3(it));
|
|
195
|
+
};
|
|
196
|
+
var $String$3 = String;
|
|
197
|
+
var tryToString$3 = function(argument) {
|
|
198
|
+
try {
|
|
199
|
+
return $String$3(argument);
|
|
200
|
+
} catch (error) {
|
|
201
|
+
return "Object";
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
var isCallable$c = isCallable$g;
|
|
205
|
+
var tryToString$2 = tryToString$3;
|
|
206
|
+
var $TypeError$8 = TypeError;
|
|
207
|
+
var aCallable$2 = function(argument) {
|
|
208
|
+
if (isCallable$c(argument))
|
|
209
|
+
return argument;
|
|
210
|
+
throw $TypeError$8(tryToString$2(argument) + " is not a function");
|
|
211
|
+
};
|
|
212
|
+
var aCallable$1 = aCallable$2;
|
|
213
|
+
var isNullOrUndefined = isNullOrUndefined$2;
|
|
214
|
+
var getMethod$1 = function(V, P) {
|
|
215
|
+
var func = V[P];
|
|
216
|
+
return isNullOrUndefined(func) ? void 0 : aCallable$1(func);
|
|
217
|
+
};
|
|
218
|
+
var call$6 = functionCall;
|
|
219
|
+
var isCallable$b = isCallable$g;
|
|
220
|
+
var isObject$7 = isObject$8;
|
|
221
|
+
var $TypeError$7 = TypeError;
|
|
222
|
+
var ordinaryToPrimitive$1 = function(input, pref) {
|
|
223
|
+
var fn, val;
|
|
224
|
+
if (pref === "string" && isCallable$b(fn = input.toString) && !isObject$7(val = call$6(fn, input)))
|
|
225
|
+
return val;
|
|
226
|
+
if (isCallable$b(fn = input.valueOf) && !isObject$7(val = call$6(fn, input)))
|
|
227
|
+
return val;
|
|
228
|
+
if (pref !== "string" && isCallable$b(fn = input.toString) && !isObject$7(val = call$6(fn, input)))
|
|
229
|
+
return val;
|
|
230
|
+
throw $TypeError$7("Can't convert object to primitive value");
|
|
231
|
+
};
|
|
232
|
+
var shared$7 = { exports: {} };
|
|
233
|
+
var global$e = global$i;
|
|
234
|
+
var defineProperty$a = Object.defineProperty;
|
|
235
|
+
var defineGlobalProperty$1 = function(key, value) {
|
|
236
|
+
try {
|
|
237
|
+
defineProperty$a(global$e, key, {
|
|
238
|
+
value,
|
|
239
|
+
configurable: true,
|
|
240
|
+
writable: true
|
|
241
|
+
});
|
|
242
|
+
} catch (error) {
|
|
243
|
+
global$e[key] = value;
|
|
244
|
+
}
|
|
245
|
+
return value;
|
|
246
|
+
};
|
|
247
|
+
var global$d = global$i;
|
|
248
|
+
var defineGlobalProperty = defineGlobalProperty$1;
|
|
249
|
+
var SHARED = "__core-js_shared__";
|
|
250
|
+
var store$3 = global$d[SHARED] || defineGlobalProperty(SHARED, {});
|
|
251
|
+
var sharedStore = store$3;
|
|
252
|
+
var store$2 = sharedStore;
|
|
253
|
+
(shared$7.exports = function(key, value) {
|
|
254
|
+
return store$2[key] || (store$2[key] = value !== void 0 ? value : {});
|
|
255
|
+
})("versions", []).push({
|
|
256
|
+
version: "3.31.1",
|
|
257
|
+
mode: "pure",
|
|
258
|
+
copyright: "© 2014-2023 Denis Pushkarev (zloirock.ru)",
|
|
259
|
+
license: "https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",
|
|
260
|
+
source: "https://github.com/zloirock/core-js"
|
|
261
|
+
});
|
|
262
|
+
var sharedExports = shared$7.exports;
|
|
263
|
+
var requireObjectCoercible$2 = requireObjectCoercible$4;
|
|
264
|
+
var $Object$2 = Object;
|
|
265
|
+
var toObject$6 = function(argument) {
|
|
266
|
+
return $Object$2(requireObjectCoercible$2(argument));
|
|
267
|
+
};
|
|
268
|
+
var uncurryThis$h = functionUncurryThis;
|
|
269
|
+
var toObject$5 = toObject$6;
|
|
270
|
+
var hasOwnProperty$1 = uncurryThis$h({}.hasOwnProperty);
|
|
271
|
+
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
272
|
+
return hasOwnProperty$1(toObject$5(it), key);
|
|
273
|
+
};
|
|
274
|
+
var uncurryThis$g = functionUncurryThis;
|
|
275
|
+
var id = 0;
|
|
276
|
+
var postfix = Math.random();
|
|
277
|
+
var toString$8 = uncurryThis$g(1 .toString);
|
|
278
|
+
var uid$3 = function(key) {
|
|
279
|
+
return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString$8(++id + postfix, 36);
|
|
280
|
+
};
|
|
281
|
+
var global$c = global$i;
|
|
282
|
+
var shared$6 = sharedExports;
|
|
283
|
+
var hasOwn$d = hasOwnProperty_1;
|
|
284
|
+
var uid$2 = uid$3;
|
|
285
|
+
var NATIVE_SYMBOL$4 = symbolConstructorDetection;
|
|
286
|
+
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
287
|
+
var Symbol$4 = global$c.Symbol;
|
|
288
|
+
var WellKnownSymbolsStore$2 = shared$6("wks");
|
|
289
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$4["for"] || Symbol$4 : Symbol$4 && Symbol$4.withoutSetter || uid$2;
|
|
290
|
+
var wellKnownSymbol$f = function(name) {
|
|
291
|
+
if (!hasOwn$d(WellKnownSymbolsStore$2, name)) {
|
|
292
|
+
WellKnownSymbolsStore$2[name] = NATIVE_SYMBOL$4 && hasOwn$d(Symbol$4, name) ? Symbol$4[name] : createWellKnownSymbol("Symbol." + name);
|
|
293
|
+
}
|
|
294
|
+
return WellKnownSymbolsStore$2[name];
|
|
295
|
+
};
|
|
296
|
+
var call$5 = functionCall;
|
|
297
|
+
var isObject$6 = isObject$8;
|
|
298
|
+
var isSymbol$4 = isSymbol$5;
|
|
299
|
+
var getMethod = getMethod$1;
|
|
300
|
+
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
301
|
+
var wellKnownSymbol$e = wellKnownSymbol$f;
|
|
302
|
+
var $TypeError$6 = TypeError;
|
|
303
|
+
var TO_PRIMITIVE = wellKnownSymbol$e("toPrimitive");
|
|
304
|
+
var toPrimitive$6 = function(input, pref) {
|
|
305
|
+
if (!isObject$6(input) || isSymbol$4(input))
|
|
306
|
+
return input;
|
|
307
|
+
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
308
|
+
var result;
|
|
309
|
+
if (exoticToPrim) {
|
|
310
|
+
if (pref === void 0)
|
|
311
|
+
pref = "default";
|
|
312
|
+
result = call$5(exoticToPrim, input, pref);
|
|
313
|
+
if (!isObject$6(result) || isSymbol$4(result))
|
|
314
|
+
return result;
|
|
315
|
+
throw $TypeError$6("Can't convert object to primitive value");
|
|
316
|
+
}
|
|
317
|
+
if (pref === void 0)
|
|
318
|
+
pref = "number";
|
|
319
|
+
return ordinaryToPrimitive(input, pref);
|
|
320
|
+
};
|
|
321
|
+
var toPrimitive$5 = toPrimitive$6;
|
|
322
|
+
var isSymbol$3 = isSymbol$5;
|
|
323
|
+
var toPropertyKey$4 = function(argument) {
|
|
324
|
+
var key = toPrimitive$5(argument, "string");
|
|
325
|
+
return isSymbol$3(key) ? key : key + "";
|
|
326
|
+
};
|
|
327
|
+
var global$b = global$i;
|
|
328
|
+
var isObject$5 = isObject$8;
|
|
329
|
+
var document$1 = global$b.document;
|
|
330
|
+
var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);
|
|
331
|
+
var documentCreateElement$1 = function(it) {
|
|
332
|
+
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
333
|
+
};
|
|
334
|
+
var DESCRIPTORS$9 = descriptors;
|
|
335
|
+
var fails$c = fails$h;
|
|
336
|
+
var createElement = documentCreateElement$1;
|
|
337
|
+
var ie8DomDefine = !DESCRIPTORS$9 && !fails$c(function() {
|
|
338
|
+
return Object.defineProperty(createElement("div"), "a", {
|
|
339
|
+
get: function() {
|
|
340
|
+
return 7;
|
|
341
|
+
}
|
|
342
|
+
}).a != 7;
|
|
343
|
+
});
|
|
344
|
+
var DESCRIPTORS$8 = descriptors;
|
|
345
|
+
var call$4 = functionCall;
|
|
346
|
+
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
347
|
+
var createPropertyDescriptor$4 = createPropertyDescriptor$5;
|
|
348
|
+
var toIndexedObject$6 = toIndexedObject$7;
|
|
349
|
+
var toPropertyKey$3 = toPropertyKey$4;
|
|
350
|
+
var hasOwn$c = hasOwnProperty_1;
|
|
351
|
+
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
352
|
+
var $getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
|
|
353
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$2 : function getOwnPropertyDescriptor(O, P) {
|
|
354
|
+
O = toIndexedObject$6(O);
|
|
355
|
+
P = toPropertyKey$3(P);
|
|
356
|
+
if (IE8_DOM_DEFINE$1)
|
|
357
|
+
try {
|
|
358
|
+
return $getOwnPropertyDescriptor$2(O, P);
|
|
359
|
+
} catch (error) {
|
|
360
|
+
}
|
|
361
|
+
if (hasOwn$c(O, P))
|
|
362
|
+
return createPropertyDescriptor$4(!call$4(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
363
|
+
};
|
|
364
|
+
var fails$b = fails$h;
|
|
365
|
+
var isCallable$a = isCallable$g;
|
|
366
|
+
var replacement = /#|\.prototype\./;
|
|
367
|
+
var isForced$1 = function(feature, detection) {
|
|
368
|
+
var value = data[normalize(feature)];
|
|
369
|
+
return value == POLYFILL ? true : value == NATIVE ? false : isCallable$a(detection) ? fails$b(detection) : !!detection;
|
|
370
|
+
};
|
|
371
|
+
var normalize = isForced$1.normalize = function(string) {
|
|
372
|
+
return String(string).replace(replacement, ".").toLowerCase();
|
|
373
|
+
};
|
|
374
|
+
var data = isForced$1.data = {};
|
|
375
|
+
var NATIVE = isForced$1.NATIVE = "N";
|
|
376
|
+
var POLYFILL = isForced$1.POLYFILL = "P";
|
|
377
|
+
var isForced_1 = isForced$1;
|
|
378
|
+
var uncurryThis$f = functionUncurryThisClause;
|
|
379
|
+
var aCallable = aCallable$2;
|
|
380
|
+
var NATIVE_BIND = functionBindNative;
|
|
381
|
+
var bind$2 = uncurryThis$f(uncurryThis$f.bind);
|
|
382
|
+
var functionBindContext = function(fn, that) {
|
|
383
|
+
aCallable(fn);
|
|
384
|
+
return that === void 0 ? fn : NATIVE_BIND ? bind$2(fn, that) : function() {
|
|
385
|
+
return fn.apply(that, arguments);
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
var objectDefineProperty = {};
|
|
389
|
+
var DESCRIPTORS$7 = descriptors;
|
|
390
|
+
var fails$a = fails$h;
|
|
391
|
+
var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$a(function() {
|
|
392
|
+
return Object.defineProperty(function() {
|
|
393
|
+
}, "prototype", {
|
|
394
|
+
value: 42,
|
|
395
|
+
writable: false
|
|
396
|
+
}).prototype != 42;
|
|
397
|
+
});
|
|
398
|
+
var isObject$4 = isObject$8;
|
|
399
|
+
var $String$2 = String;
|
|
400
|
+
var $TypeError$5 = TypeError;
|
|
401
|
+
var anObject$4 = function(argument) {
|
|
402
|
+
if (isObject$4(argument))
|
|
403
|
+
return argument;
|
|
404
|
+
throw $TypeError$5($String$2(argument) + " is not an object");
|
|
405
|
+
};
|
|
406
|
+
var DESCRIPTORS$6 = descriptors;
|
|
407
|
+
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
408
|
+
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
409
|
+
var anObject$3 = anObject$4;
|
|
410
|
+
var toPropertyKey$2 = toPropertyKey$4;
|
|
411
|
+
var $TypeError$4 = TypeError;
|
|
412
|
+
var $defineProperty$1 = Object.defineProperty;
|
|
413
|
+
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
414
|
+
var ENUMERABLE = "enumerable";
|
|
415
|
+
var CONFIGURABLE$1 = "configurable";
|
|
416
|
+
var WRITABLE = "writable";
|
|
417
|
+
objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
418
|
+
anObject$3(O);
|
|
419
|
+
P = toPropertyKey$2(P);
|
|
420
|
+
anObject$3(Attributes);
|
|
421
|
+
if (typeof O === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
422
|
+
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
423
|
+
if (current && current[WRITABLE]) {
|
|
424
|
+
O[P] = Attributes.value;
|
|
425
|
+
Attributes = {
|
|
426
|
+
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
|
427
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
428
|
+
writable: false
|
|
429
|
+
};
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
return $defineProperty$1(O, P, Attributes);
|
|
433
|
+
} : $defineProperty$1 : function defineProperty2(O, P, Attributes) {
|
|
434
|
+
anObject$3(O);
|
|
435
|
+
P = toPropertyKey$2(P);
|
|
436
|
+
anObject$3(Attributes);
|
|
437
|
+
if (IE8_DOM_DEFINE)
|
|
438
|
+
try {
|
|
439
|
+
return $defineProperty$1(O, P, Attributes);
|
|
440
|
+
} catch (error) {
|
|
441
|
+
}
|
|
442
|
+
if ("get" in Attributes || "set" in Attributes)
|
|
443
|
+
throw $TypeError$4("Accessors not supported");
|
|
444
|
+
if ("value" in Attributes)
|
|
445
|
+
O[P] = Attributes.value;
|
|
446
|
+
return O;
|
|
447
|
+
};
|
|
448
|
+
var DESCRIPTORS$5 = descriptors;
|
|
449
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
450
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$5;
|
|
451
|
+
var createNonEnumerableProperty$5 = DESCRIPTORS$5 ? function(object, key, value) {
|
|
452
|
+
return definePropertyModule$3.f(object, key, createPropertyDescriptor$3(1, value));
|
|
453
|
+
} : function(object, key, value) {
|
|
454
|
+
object[key] = value;
|
|
455
|
+
return object;
|
|
456
|
+
};
|
|
457
|
+
var global$a = global$i;
|
|
458
|
+
var apply$2 = functionApply;
|
|
459
|
+
var uncurryThis$e = functionUncurryThisClause;
|
|
460
|
+
var isCallable$9 = isCallable$g;
|
|
461
|
+
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
462
|
+
var isForced = isForced_1;
|
|
463
|
+
var path$6 = path$8;
|
|
464
|
+
var bind$1 = functionBindContext;
|
|
465
|
+
var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
|
|
466
|
+
var hasOwn$b = hasOwnProperty_1;
|
|
467
|
+
var wrapConstructor = function(NativeConstructor) {
|
|
468
|
+
var Wrapper = function(a, b, c) {
|
|
469
|
+
if (this instanceof Wrapper) {
|
|
470
|
+
switch (arguments.length) {
|
|
471
|
+
case 0:
|
|
472
|
+
return new NativeConstructor();
|
|
473
|
+
case 1:
|
|
474
|
+
return new NativeConstructor(a);
|
|
475
|
+
case 2:
|
|
476
|
+
return new NativeConstructor(a, b);
|
|
477
|
+
}
|
|
478
|
+
return new NativeConstructor(a, b, c);
|
|
479
|
+
}
|
|
480
|
+
return apply$2(NativeConstructor, this, arguments);
|
|
481
|
+
};
|
|
482
|
+
Wrapper.prototype = NativeConstructor.prototype;
|
|
483
|
+
return Wrapper;
|
|
484
|
+
};
|
|
485
|
+
var _export = function(options, source) {
|
|
486
|
+
var TARGET = options.target;
|
|
487
|
+
var GLOBAL = options.global;
|
|
488
|
+
var STATIC = options.stat;
|
|
489
|
+
var PROTO = options.proto;
|
|
490
|
+
var nativeSource = GLOBAL ? global$a : STATIC ? global$a[TARGET] : (global$a[TARGET] || {}).prototype;
|
|
491
|
+
var target = GLOBAL ? path$6 : path$6[TARGET] || createNonEnumerableProperty$4(path$6, TARGET, {})[TARGET];
|
|
492
|
+
var targetPrototype = target.prototype;
|
|
493
|
+
var FORCED2, USE_NATIVE, VIRTUAL_PROTOTYPE;
|
|
494
|
+
var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
|
|
495
|
+
for (key in source) {
|
|
496
|
+
FORCED2 = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced);
|
|
497
|
+
USE_NATIVE = !FORCED2 && nativeSource && hasOwn$b(nativeSource, key);
|
|
498
|
+
targetProperty = target[key];
|
|
499
|
+
if (USE_NATIVE)
|
|
500
|
+
if (options.dontCallGetSet) {
|
|
501
|
+
descriptor = getOwnPropertyDescriptor$1(nativeSource, key);
|
|
502
|
+
nativeProperty = descriptor && descriptor.value;
|
|
503
|
+
} else
|
|
504
|
+
nativeProperty = nativeSource[key];
|
|
505
|
+
sourceProperty = USE_NATIVE && nativeProperty ? nativeProperty : source[key];
|
|
506
|
+
if (USE_NATIVE && typeof targetProperty == typeof sourceProperty)
|
|
507
|
+
continue;
|
|
508
|
+
if (options.bind && USE_NATIVE)
|
|
509
|
+
resultProperty = bind$1(sourceProperty, global$a);
|
|
510
|
+
else if (options.wrap && USE_NATIVE)
|
|
511
|
+
resultProperty = wrapConstructor(sourceProperty);
|
|
512
|
+
else if (PROTO && isCallable$9(sourceProperty))
|
|
513
|
+
resultProperty = uncurryThis$e(sourceProperty);
|
|
514
|
+
else
|
|
515
|
+
resultProperty = sourceProperty;
|
|
516
|
+
if (options.sham || sourceProperty && sourceProperty.sham || targetProperty && targetProperty.sham) {
|
|
517
|
+
createNonEnumerableProperty$4(resultProperty, "sham", true);
|
|
518
|
+
}
|
|
519
|
+
createNonEnumerableProperty$4(target, key, resultProperty);
|
|
520
|
+
if (PROTO) {
|
|
521
|
+
VIRTUAL_PROTOTYPE = TARGET + "Prototype";
|
|
522
|
+
if (!hasOwn$b(path$6, VIRTUAL_PROTOTYPE)) {
|
|
523
|
+
createNonEnumerableProperty$4(path$6, VIRTUAL_PROTOTYPE, {});
|
|
524
|
+
}
|
|
525
|
+
createNonEnumerableProperty$4(path$6[VIRTUAL_PROTOTYPE], key, sourceProperty);
|
|
526
|
+
if (options.real && targetPrototype && (FORCED2 || !targetPrototype[key])) {
|
|
527
|
+
createNonEnumerableProperty$4(targetPrototype, key, sourceProperty);
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
};
|
|
532
|
+
var $$i = _export;
|
|
533
|
+
var DESCRIPTORS$4 = descriptors;
|
|
534
|
+
var defineProperty$9 = objectDefineProperty.f;
|
|
535
|
+
$$i({
|
|
536
|
+
target: "Object",
|
|
537
|
+
stat: true,
|
|
538
|
+
forced: Object.defineProperty !== defineProperty$9,
|
|
539
|
+
sham: !DESCRIPTORS$4
|
|
540
|
+
}, {
|
|
541
|
+
defineProperty: defineProperty$9
|
|
542
|
+
});
|
|
543
|
+
var path$5 = path$8;
|
|
544
|
+
var Object$1 = path$5.Object;
|
|
545
|
+
var defineProperty$8 = defineProperty$b.exports = function defineProperty3(it, key, desc) {
|
|
546
|
+
return Object$1.defineProperty(it, key, desc);
|
|
547
|
+
};
|
|
548
|
+
if (Object$1.defineProperty.sham)
|
|
549
|
+
defineProperty$8.sham = true;
|
|
550
|
+
var definePropertyExports = defineProperty$b.exports;
|
|
551
|
+
var parent$s = definePropertyExports;
|
|
552
|
+
var defineProperty$7 = parent$s;
|
|
553
|
+
var parent$r = defineProperty$7;
|
|
554
|
+
var defineProperty$6 = parent$r;
|
|
555
|
+
var parent$q = defineProperty$6;
|
|
556
|
+
var defineProperty$5 = parent$q;
|
|
557
|
+
var defineProperty$4 = defineProperty$5;
|
|
558
|
+
const _Object$defineProperty = /* @__PURE__ */ getDefaultExportFromCjs(defineProperty$4);
|
|
559
|
+
var classof$8 = classofRaw$2;
|
|
560
|
+
var isArray$4 = Array.isArray || function isArray(argument) {
|
|
561
|
+
return classof$8(argument) == "Array";
|
|
562
|
+
};
|
|
563
|
+
var ceil = Math.ceil;
|
|
564
|
+
var floor = Math.floor;
|
|
565
|
+
var mathTrunc = Math.trunc || function trunc(x) {
|
|
566
|
+
var n = +x;
|
|
567
|
+
return (n > 0 ? floor : ceil)(n);
|
|
568
|
+
};
|
|
569
|
+
var trunc2 = mathTrunc;
|
|
570
|
+
var toIntegerOrInfinity$4 = function(argument) {
|
|
571
|
+
var number = +argument;
|
|
572
|
+
return number !== number || number === 0 ? 0 : trunc2(number);
|
|
573
|
+
};
|
|
574
|
+
var toIntegerOrInfinity$3 = toIntegerOrInfinity$4;
|
|
575
|
+
var min$2 = Math.min;
|
|
576
|
+
var toLength$1 = function(argument) {
|
|
577
|
+
return argument > 0 ? min$2(toIntegerOrInfinity$3(argument), 9007199254740991) : 0;
|
|
578
|
+
};
|
|
579
|
+
var toLength = toLength$1;
|
|
580
|
+
var lengthOfArrayLike$5 = function(obj) {
|
|
581
|
+
return toLength(obj.length);
|
|
582
|
+
};
|
|
583
|
+
var $TypeError$3 = TypeError;
|
|
584
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
585
|
+
var doesNotExceedSafeInteger$2 = function(it) {
|
|
586
|
+
if (it > MAX_SAFE_INTEGER)
|
|
587
|
+
throw $TypeError$3("Maximum allowed index exceeded");
|
|
588
|
+
return it;
|
|
589
|
+
};
|
|
590
|
+
var toPropertyKey$1 = toPropertyKey$4;
|
|
591
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
592
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$5;
|
|
593
|
+
var createProperty$3 = function(object, key, value) {
|
|
594
|
+
var propertyKey = toPropertyKey$1(key);
|
|
595
|
+
if (propertyKey in object)
|
|
596
|
+
definePropertyModule$2.f(object, propertyKey, createPropertyDescriptor$2(0, value));
|
|
597
|
+
else
|
|
598
|
+
object[propertyKey] = value;
|
|
599
|
+
};
|
|
600
|
+
var wellKnownSymbol$d = wellKnownSymbol$f;
|
|
601
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$d("toStringTag");
|
|
602
|
+
var test = {};
|
|
603
|
+
test[TO_STRING_TAG$3] = "z";
|
|
604
|
+
var toStringTagSupport = String(test) === "[object z]";
|
|
605
|
+
var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
|
|
606
|
+
var isCallable$8 = isCallable$g;
|
|
607
|
+
var classofRaw = classofRaw$2;
|
|
608
|
+
var wellKnownSymbol$c = wellKnownSymbol$f;
|
|
609
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$c("toStringTag");
|
|
610
|
+
var $Object$1 = Object;
|
|
611
|
+
var CORRECT_ARGUMENTS = classofRaw(function() {
|
|
612
|
+
return arguments;
|
|
613
|
+
}()) == "Arguments";
|
|
614
|
+
var tryGet = function(it, key) {
|
|
615
|
+
try {
|
|
616
|
+
return it[key];
|
|
617
|
+
} catch (error) {
|
|
618
|
+
}
|
|
619
|
+
};
|
|
620
|
+
var classof$7 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function(it) {
|
|
621
|
+
var O, tag, result;
|
|
622
|
+
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;
|
|
623
|
+
};
|
|
624
|
+
var uncurryThis$d = functionUncurryThis;
|
|
625
|
+
var isCallable$7 = isCallable$g;
|
|
626
|
+
var store$1 = sharedStore;
|
|
627
|
+
var functionToString = uncurryThis$d(Function.toString);
|
|
628
|
+
if (!isCallable$7(store$1.inspectSource)) {
|
|
629
|
+
store$1.inspectSource = function(it) {
|
|
630
|
+
return functionToString(it);
|
|
631
|
+
};
|
|
632
|
+
}
|
|
633
|
+
var inspectSource$1 = store$1.inspectSource;
|
|
634
|
+
var uncurryThis$c = functionUncurryThis;
|
|
635
|
+
var fails$9 = fails$h;
|
|
636
|
+
var isCallable$6 = isCallable$g;
|
|
637
|
+
var classof$6 = classof$7;
|
|
638
|
+
var getBuiltIn$7 = getBuiltIn$9;
|
|
639
|
+
var inspectSource = inspectSource$1;
|
|
640
|
+
var noop = function() {
|
|
641
|
+
};
|
|
642
|
+
var empty = [];
|
|
643
|
+
var construct = getBuiltIn$7("Reflect", "construct");
|
|
644
|
+
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
645
|
+
var exec$2 = uncurryThis$c(constructorRegExp.exec);
|
|
646
|
+
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
647
|
+
var isConstructorModern = function isConstructor(argument) {
|
|
648
|
+
if (!isCallable$6(argument))
|
|
649
|
+
return false;
|
|
650
|
+
try {
|
|
651
|
+
construct(noop, empty, argument);
|
|
652
|
+
return true;
|
|
653
|
+
} catch (error) {
|
|
654
|
+
return false;
|
|
655
|
+
}
|
|
656
|
+
};
|
|
657
|
+
var isConstructorLegacy = function isConstructor2(argument) {
|
|
658
|
+
if (!isCallable$6(argument))
|
|
659
|
+
return false;
|
|
660
|
+
switch (classof$6(argument)) {
|
|
661
|
+
case "AsyncFunction":
|
|
662
|
+
case "GeneratorFunction":
|
|
663
|
+
case "AsyncGeneratorFunction":
|
|
664
|
+
return false;
|
|
665
|
+
}
|
|
666
|
+
try {
|
|
667
|
+
return INCORRECT_TO_STRING || !!exec$2(constructorRegExp, inspectSource(argument));
|
|
668
|
+
} catch (error) {
|
|
669
|
+
return true;
|
|
670
|
+
}
|
|
671
|
+
};
|
|
672
|
+
isConstructorLegacy.sham = true;
|
|
673
|
+
var isConstructor$1 = !construct || fails$9(function() {
|
|
674
|
+
var called;
|
|
675
|
+
return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern(function() {
|
|
676
|
+
called = true;
|
|
677
|
+
}) || called;
|
|
678
|
+
}) ? isConstructorLegacy : isConstructorModern;
|
|
679
|
+
var isArray$3 = isArray$4;
|
|
680
|
+
var isConstructor3 = isConstructor$1;
|
|
681
|
+
var isObject$3 = isObject$8;
|
|
682
|
+
var wellKnownSymbol$b = wellKnownSymbol$f;
|
|
683
|
+
var SPECIES$1 = wellKnownSymbol$b("species");
|
|
684
|
+
var $Array$1 = Array;
|
|
685
|
+
var arraySpeciesConstructor$1 = function(originalArray) {
|
|
686
|
+
var C;
|
|
687
|
+
if (isArray$3(originalArray)) {
|
|
688
|
+
C = originalArray.constructor;
|
|
689
|
+
if (isConstructor3(C) && (C === $Array$1 || isArray$3(C.prototype)))
|
|
690
|
+
C = void 0;
|
|
691
|
+
else if (isObject$3(C)) {
|
|
692
|
+
C = C[SPECIES$1];
|
|
693
|
+
if (C === null)
|
|
694
|
+
C = void 0;
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
return C === void 0 ? $Array$1 : C;
|
|
698
|
+
};
|
|
699
|
+
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
|
700
|
+
var arraySpeciesCreate$3 = function(originalArray, length) {
|
|
701
|
+
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
702
|
+
};
|
|
703
|
+
var fails$8 = fails$h;
|
|
704
|
+
var wellKnownSymbol$a = wellKnownSymbol$f;
|
|
705
|
+
var V8_VERSION$1 = engineV8Version;
|
|
706
|
+
var SPECIES = wellKnownSymbol$a("species");
|
|
707
|
+
var arrayMethodHasSpeciesSupport$3 = function(METHOD_NAME) {
|
|
708
|
+
return V8_VERSION$1 >= 51 || !fails$8(function() {
|
|
709
|
+
var array = [];
|
|
710
|
+
var constructor = array.constructor = {};
|
|
711
|
+
constructor[SPECIES] = function() {
|
|
712
|
+
return {
|
|
713
|
+
foo: 1
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
return array[METHOD_NAME](Boolean).foo !== 1;
|
|
717
|
+
});
|
|
718
|
+
};
|
|
719
|
+
var $$h = _export;
|
|
720
|
+
var fails$7 = fails$h;
|
|
721
|
+
var isArray$2 = isArray$4;
|
|
722
|
+
var isObject$2 = isObject$8;
|
|
723
|
+
var toObject$4 = toObject$6;
|
|
724
|
+
var lengthOfArrayLike$4 = lengthOfArrayLike$5;
|
|
725
|
+
var doesNotExceedSafeInteger$1 = doesNotExceedSafeInteger$2;
|
|
726
|
+
var createProperty$2 = createProperty$3;
|
|
727
|
+
var arraySpeciesCreate$2 = arraySpeciesCreate$3;
|
|
728
|
+
var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$3;
|
|
729
|
+
var wellKnownSymbol$9 = wellKnownSymbol$f;
|
|
730
|
+
var V8_VERSION = engineV8Version;
|
|
731
|
+
var IS_CONCAT_SPREADABLE = wellKnownSymbol$9("isConcatSpreadable");
|
|
732
|
+
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$7(function() {
|
|
733
|
+
var array = [];
|
|
734
|
+
array[IS_CONCAT_SPREADABLE] = false;
|
|
735
|
+
return array.concat()[0] !== array;
|
|
736
|
+
});
|
|
737
|
+
var isConcatSpreadable = function(O) {
|
|
738
|
+
if (!isObject$2(O))
|
|
739
|
+
return false;
|
|
740
|
+
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
741
|
+
return spreadable !== void 0 ? !!spreadable : isArray$2(O);
|
|
742
|
+
};
|
|
743
|
+
var FORCED$3 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport$2("concat");
|
|
744
|
+
$$h({
|
|
745
|
+
target: "Array",
|
|
746
|
+
proto: true,
|
|
747
|
+
arity: 1,
|
|
748
|
+
forced: FORCED$3
|
|
749
|
+
}, {
|
|
750
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
751
|
+
concat: function concat(arg) {
|
|
752
|
+
var O = toObject$4(this);
|
|
753
|
+
var A = arraySpeciesCreate$2(O, 0);
|
|
754
|
+
var n = 0;
|
|
755
|
+
var i, k, length, len, E;
|
|
756
|
+
for (i = -1, length = arguments.length; i < length; i++) {
|
|
757
|
+
E = i === -1 ? O : arguments[i];
|
|
758
|
+
if (isConcatSpreadable(E)) {
|
|
759
|
+
len = lengthOfArrayLike$4(E);
|
|
760
|
+
doesNotExceedSafeInteger$1(n + len);
|
|
761
|
+
for (k = 0; k < len; k++, n++)
|
|
762
|
+
if (k in E)
|
|
763
|
+
createProperty$2(A, n, E[k]);
|
|
764
|
+
} else {
|
|
765
|
+
doesNotExceedSafeInteger$1(n + 1);
|
|
766
|
+
createProperty$2(A, n++, E);
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
A.length = n;
|
|
770
|
+
return A;
|
|
771
|
+
}
|
|
772
|
+
});
|
|
773
|
+
var classof$5 = classof$7;
|
|
774
|
+
var $String$1 = String;
|
|
775
|
+
var toString$7 = function(argument) {
|
|
776
|
+
if (classof$5(argument) === "Symbol")
|
|
777
|
+
throw TypeError("Cannot convert a Symbol value to a string");
|
|
778
|
+
return $String$1(argument);
|
|
779
|
+
};
|
|
780
|
+
var objectDefineProperties = {};
|
|
781
|
+
var toIntegerOrInfinity$2 = toIntegerOrInfinity$4;
|
|
782
|
+
var max$2 = Math.max;
|
|
783
|
+
var min$1 = Math.min;
|
|
784
|
+
var toAbsoluteIndex$3 = function(index, length) {
|
|
785
|
+
var integer = toIntegerOrInfinity$2(index);
|
|
786
|
+
return integer < 0 ? max$2(integer + length, 0) : min$1(integer, length);
|
|
787
|
+
};
|
|
788
|
+
var toIndexedObject$5 = toIndexedObject$7;
|
|
789
|
+
var toAbsoluteIndex$2 = toAbsoluteIndex$3;
|
|
790
|
+
var lengthOfArrayLike$3 = lengthOfArrayLike$5;
|
|
791
|
+
var createMethod$3 = function(IS_INCLUDES) {
|
|
792
|
+
return function($this, el, fromIndex) {
|
|
793
|
+
var O = toIndexedObject$5($this);
|
|
794
|
+
var length = lengthOfArrayLike$3(O);
|
|
795
|
+
var index = toAbsoluteIndex$2(fromIndex, length);
|
|
796
|
+
var value;
|
|
797
|
+
if (IS_INCLUDES && el != el)
|
|
798
|
+
while (length > index) {
|
|
799
|
+
value = O[index++];
|
|
800
|
+
if (value != value)
|
|
801
|
+
return true;
|
|
802
|
+
}
|
|
803
|
+
else
|
|
804
|
+
for (; length > index; index++) {
|
|
805
|
+
if ((IS_INCLUDES || index in O) && O[index] === el)
|
|
806
|
+
return IS_INCLUDES || index || 0;
|
|
807
|
+
}
|
|
808
|
+
return !IS_INCLUDES && -1;
|
|
809
|
+
};
|
|
810
|
+
};
|
|
811
|
+
var arrayIncludes = {
|
|
812
|
+
// `Array.prototype.includes` method
|
|
813
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
814
|
+
includes: createMethod$3(true),
|
|
815
|
+
// `Array.prototype.indexOf` method
|
|
816
|
+
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
817
|
+
indexOf: createMethod$3(false)
|
|
818
|
+
};
|
|
819
|
+
var hiddenKeys$5 = {};
|
|
820
|
+
var uncurryThis$b = functionUncurryThis;
|
|
821
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
822
|
+
var toIndexedObject$4 = toIndexedObject$7;
|
|
823
|
+
var indexOf$7 = arrayIncludes.indexOf;
|
|
824
|
+
var hiddenKeys$4 = hiddenKeys$5;
|
|
825
|
+
var push$3 = uncurryThis$b([].push);
|
|
826
|
+
var objectKeysInternal = function(object, names) {
|
|
827
|
+
var O = toIndexedObject$4(object);
|
|
828
|
+
var i = 0;
|
|
829
|
+
var result = [];
|
|
830
|
+
var key;
|
|
831
|
+
for (key in O)
|
|
832
|
+
!hasOwn$a(hiddenKeys$4, key) && hasOwn$a(O, key) && push$3(result, key);
|
|
833
|
+
while (names.length > i)
|
|
834
|
+
if (hasOwn$a(O, key = names[i++])) {
|
|
835
|
+
~indexOf$7(result, key) || push$3(result, key);
|
|
836
|
+
}
|
|
837
|
+
return result;
|
|
838
|
+
};
|
|
839
|
+
var enumBugKeys$3 = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"];
|
|
840
|
+
var internalObjectKeys$1 = objectKeysInternal;
|
|
841
|
+
var enumBugKeys$2 = enumBugKeys$3;
|
|
842
|
+
var objectKeys$2 = Object.keys || function keys(O) {
|
|
843
|
+
return internalObjectKeys$1(O, enumBugKeys$2);
|
|
844
|
+
};
|
|
845
|
+
var DESCRIPTORS$3 = descriptors;
|
|
846
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
847
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
848
|
+
var anObject$2 = anObject$4;
|
|
849
|
+
var toIndexedObject$3 = toIndexedObject$7;
|
|
850
|
+
var objectKeys$1 = objectKeys$2;
|
|
851
|
+
objectDefineProperties.f = DESCRIPTORS$3 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
852
|
+
anObject$2(O);
|
|
853
|
+
var props = toIndexedObject$3(Properties);
|
|
854
|
+
var keys3 = objectKeys$1(Properties);
|
|
855
|
+
var length = keys3.length;
|
|
856
|
+
var index = 0;
|
|
857
|
+
var key;
|
|
858
|
+
while (length > index)
|
|
859
|
+
definePropertyModule$1.f(O, key = keys3[index++], props[key]);
|
|
860
|
+
return O;
|
|
861
|
+
};
|
|
862
|
+
var getBuiltIn$6 = getBuiltIn$9;
|
|
863
|
+
var html$1 = getBuiltIn$6("document", "documentElement");
|
|
864
|
+
var shared$5 = sharedExports;
|
|
865
|
+
var uid$1 = uid$3;
|
|
866
|
+
var keys2 = shared$5("keys");
|
|
867
|
+
var sharedKey$4 = function(key) {
|
|
868
|
+
return keys2[key] || (keys2[key] = uid$1(key));
|
|
869
|
+
};
|
|
870
|
+
var anObject$1 = anObject$4;
|
|
871
|
+
var definePropertiesModule$1 = objectDefineProperties;
|
|
872
|
+
var enumBugKeys$1 = enumBugKeys$3;
|
|
873
|
+
var hiddenKeys$3 = hiddenKeys$5;
|
|
874
|
+
var html = html$1;
|
|
875
|
+
var documentCreateElement = documentCreateElement$1;
|
|
876
|
+
var sharedKey$3 = sharedKey$4;
|
|
877
|
+
var GT = ">";
|
|
878
|
+
var LT = "<";
|
|
879
|
+
var PROTOTYPE$1 = "prototype";
|
|
880
|
+
var SCRIPT = "script";
|
|
881
|
+
var IE_PROTO$1 = sharedKey$3("IE_PROTO");
|
|
882
|
+
var EmptyConstructor = function() {
|
|
883
|
+
};
|
|
884
|
+
var scriptTag = function(content) {
|
|
885
|
+
return LT + SCRIPT + GT + content + LT + "/" + SCRIPT + GT;
|
|
886
|
+
};
|
|
887
|
+
var NullProtoObjectViaActiveX = function(activeXDocument2) {
|
|
888
|
+
activeXDocument2.write(scriptTag(""));
|
|
889
|
+
activeXDocument2.close();
|
|
890
|
+
var temp = activeXDocument2.parentWindow.Object;
|
|
891
|
+
activeXDocument2 = null;
|
|
892
|
+
return temp;
|
|
893
|
+
};
|
|
894
|
+
var NullProtoObjectViaIFrame = function() {
|
|
895
|
+
var iframe = documentCreateElement("iframe");
|
|
896
|
+
var JS = "java" + SCRIPT + ":";
|
|
897
|
+
var iframeDocument;
|
|
898
|
+
iframe.style.display = "none";
|
|
899
|
+
html.appendChild(iframe);
|
|
900
|
+
iframe.src = String(JS);
|
|
901
|
+
iframeDocument = iframe.contentWindow.document;
|
|
902
|
+
iframeDocument.open();
|
|
903
|
+
iframeDocument.write(scriptTag("document.F=Object"));
|
|
904
|
+
iframeDocument.close();
|
|
905
|
+
return iframeDocument.F;
|
|
906
|
+
};
|
|
907
|
+
var activeXDocument;
|
|
908
|
+
var NullProtoObject = function() {
|
|
909
|
+
try {
|
|
910
|
+
activeXDocument = new ActiveXObject("htmlfile");
|
|
911
|
+
} catch (error) {
|
|
912
|
+
}
|
|
913
|
+
NullProtoObject = typeof document != "undefined" ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument);
|
|
914
|
+
var length = enumBugKeys$1.length;
|
|
915
|
+
while (length--)
|
|
916
|
+
delete NullProtoObject[PROTOTYPE$1][enumBugKeys$1[length]];
|
|
917
|
+
return NullProtoObject();
|
|
918
|
+
};
|
|
919
|
+
hiddenKeys$3[IE_PROTO$1] = true;
|
|
920
|
+
var objectCreate = Object.create || function create(O, Properties) {
|
|
921
|
+
var result;
|
|
922
|
+
if (O !== null) {
|
|
923
|
+
EmptyConstructor[PROTOTYPE$1] = anObject$1(O);
|
|
924
|
+
result = new EmptyConstructor();
|
|
925
|
+
EmptyConstructor[PROTOTYPE$1] = null;
|
|
926
|
+
result[IE_PROTO$1] = O;
|
|
927
|
+
} else
|
|
928
|
+
result = NullProtoObject();
|
|
929
|
+
return Properties === void 0 ? result : definePropertiesModule$1.f(result, Properties);
|
|
930
|
+
};
|
|
931
|
+
var objectGetOwnPropertyNames = {};
|
|
932
|
+
var internalObjectKeys = objectKeysInternal;
|
|
933
|
+
var enumBugKeys = enumBugKeys$3;
|
|
934
|
+
var hiddenKeys$2 = enumBugKeys.concat("length", "prototype");
|
|
935
|
+
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
936
|
+
return internalObjectKeys(O, hiddenKeys$2);
|
|
937
|
+
};
|
|
938
|
+
var objectGetOwnPropertyNamesExternal = {};
|
|
939
|
+
var toAbsoluteIndex$1 = toAbsoluteIndex$3;
|
|
940
|
+
var lengthOfArrayLike$2 = lengthOfArrayLike$5;
|
|
941
|
+
var createProperty$1 = createProperty$3;
|
|
942
|
+
var $Array = Array;
|
|
943
|
+
var max$1 = Math.max;
|
|
944
|
+
var arraySliceSimple = function(O, start, end) {
|
|
945
|
+
var length = lengthOfArrayLike$2(O);
|
|
946
|
+
var k = toAbsoluteIndex$1(start, length);
|
|
947
|
+
var fin = toAbsoluteIndex$1(end === void 0 ? length : end, length);
|
|
948
|
+
var result = $Array(max$1(fin - k, 0));
|
|
949
|
+
for (var n = 0; k < fin; k++, n++)
|
|
950
|
+
createProperty$1(result, n, O[k]);
|
|
951
|
+
result.length = n;
|
|
952
|
+
return result;
|
|
953
|
+
};
|
|
954
|
+
var classof$4 = classofRaw$2;
|
|
955
|
+
var toIndexedObject$2 = toIndexedObject$7;
|
|
956
|
+
var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f;
|
|
957
|
+
var arraySlice$3 = arraySliceSimple;
|
|
958
|
+
var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
|
|
959
|
+
var getWindowNames = function(it) {
|
|
960
|
+
try {
|
|
961
|
+
return $getOwnPropertyNames$1(it);
|
|
962
|
+
} catch (error) {
|
|
963
|
+
return arraySlice$3(windowNames);
|
|
964
|
+
}
|
|
965
|
+
};
|
|
966
|
+
objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames2(it) {
|
|
967
|
+
return windowNames && classof$4(it) == "Window" ? getWindowNames(it) : $getOwnPropertyNames$1(toIndexedObject$2(it));
|
|
968
|
+
};
|
|
969
|
+
var objectGetOwnPropertySymbols = {};
|
|
970
|
+
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
971
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
|
|
972
|
+
var defineBuiltIn$4 = function(target, key, value, options) {
|
|
973
|
+
if (options && options.enumerable)
|
|
974
|
+
target[key] = value;
|
|
975
|
+
else
|
|
976
|
+
createNonEnumerableProperty$3(target, key, value);
|
|
977
|
+
return target;
|
|
978
|
+
};
|
|
979
|
+
var defineProperty$3 = objectDefineProperty;
|
|
980
|
+
var defineBuiltInAccessor$1 = function(target, name, descriptor) {
|
|
981
|
+
return defineProperty$3.f(target, name, descriptor);
|
|
982
|
+
};
|
|
983
|
+
var wellKnownSymbolWrapped = {};
|
|
984
|
+
var wellKnownSymbol$8 = wellKnownSymbol$f;
|
|
985
|
+
wellKnownSymbolWrapped.f = wellKnownSymbol$8;
|
|
986
|
+
var path$4 = path$8;
|
|
987
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
988
|
+
var wrappedWellKnownSymbolModule$1 = wellKnownSymbolWrapped;
|
|
989
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
990
|
+
var wellKnownSymbolDefine = function(NAME) {
|
|
991
|
+
var Symbol2 = path$4.Symbol || (path$4.Symbol = {});
|
|
992
|
+
if (!hasOwn$9(Symbol2, NAME))
|
|
993
|
+
defineProperty$2(Symbol2, NAME, {
|
|
994
|
+
value: wrappedWellKnownSymbolModule$1.f(NAME)
|
|
995
|
+
});
|
|
996
|
+
};
|
|
997
|
+
var call$3 = functionCall;
|
|
998
|
+
var getBuiltIn$5 = getBuiltIn$9;
|
|
999
|
+
var wellKnownSymbol$7 = wellKnownSymbol$f;
|
|
1000
|
+
var defineBuiltIn$3 = defineBuiltIn$4;
|
|
1001
|
+
var symbolDefineToPrimitive = function() {
|
|
1002
|
+
var Symbol2 = getBuiltIn$5("Symbol");
|
|
1003
|
+
var SymbolPrototype2 = Symbol2 && Symbol2.prototype;
|
|
1004
|
+
var valueOf = SymbolPrototype2 && SymbolPrototype2.valueOf;
|
|
1005
|
+
var TO_PRIMITIVE2 = wellKnownSymbol$7("toPrimitive");
|
|
1006
|
+
if (SymbolPrototype2 && !SymbolPrototype2[TO_PRIMITIVE2]) {
|
|
1007
|
+
defineBuiltIn$3(SymbolPrototype2, TO_PRIMITIVE2, function(hint) {
|
|
1008
|
+
return call$3(valueOf, this);
|
|
1009
|
+
}, {
|
|
1010
|
+
arity: 1
|
|
1011
|
+
});
|
|
1012
|
+
}
|
|
1013
|
+
};
|
|
1014
|
+
var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
|
|
1015
|
+
var classof$3 = classof$7;
|
|
1016
|
+
var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
|
|
1017
|
+
return "[object " + classof$3(this) + "]";
|
|
1018
|
+
};
|
|
1019
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1020
|
+
var defineProperty$1 = objectDefineProperty.f;
|
|
1021
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
|
|
1022
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
1023
|
+
var toString$6 = objectToString;
|
|
1024
|
+
var wellKnownSymbol$6 = wellKnownSymbol$f;
|
|
1025
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$6("toStringTag");
|
|
1026
|
+
var setToStringTag$5 = function(it, TAG, STATIC, SET_METHOD) {
|
|
1027
|
+
if (it) {
|
|
1028
|
+
var target = STATIC ? it : it.prototype;
|
|
1029
|
+
if (!hasOwn$8(target, TO_STRING_TAG$1)) {
|
|
1030
|
+
defineProperty$1(target, TO_STRING_TAG$1, {
|
|
1031
|
+
configurable: true,
|
|
1032
|
+
value: TAG
|
|
1033
|
+
});
|
|
1034
|
+
}
|
|
1035
|
+
if (SET_METHOD && !TO_STRING_TAG_SUPPORT) {
|
|
1036
|
+
createNonEnumerableProperty$2(target, "toString", toString$6);
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
};
|
|
1040
|
+
var global$9 = global$i;
|
|
1041
|
+
var isCallable$5 = isCallable$g;
|
|
1042
|
+
var WeakMap$1 = global$9.WeakMap;
|
|
1043
|
+
var weakMapBasicDetection = isCallable$5(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
1044
|
+
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
1045
|
+
var global$8 = global$i;
|
|
1046
|
+
var isObject$1 = isObject$8;
|
|
1047
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
|
|
1048
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
1049
|
+
var shared$4 = sharedStore;
|
|
1050
|
+
var sharedKey$2 = sharedKey$4;
|
|
1051
|
+
var hiddenKeys$1 = hiddenKeys$5;
|
|
1052
|
+
var OBJECT_ALREADY_INITIALIZED = "Object already initialized";
|
|
1053
|
+
var TypeError$2 = global$8.TypeError;
|
|
1054
|
+
var WeakMap = global$8.WeakMap;
|
|
1055
|
+
var set, get, has;
|
|
1056
|
+
var enforce = function(it) {
|
|
1057
|
+
return has(it) ? get(it) : set(it, {});
|
|
1058
|
+
};
|
|
1059
|
+
var getterFor = function(TYPE) {
|
|
1060
|
+
return function(it) {
|
|
1061
|
+
var state;
|
|
1062
|
+
if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
|
|
1063
|
+
throw TypeError$2("Incompatible receiver, " + TYPE + " required");
|
|
1064
|
+
}
|
|
1065
|
+
return state;
|
|
1066
|
+
};
|
|
1067
|
+
};
|
|
1068
|
+
if (NATIVE_WEAK_MAP || shared$4.state) {
|
|
1069
|
+
var store = shared$4.state || (shared$4.state = new WeakMap());
|
|
1070
|
+
store.get = store.get;
|
|
1071
|
+
store.has = store.has;
|
|
1072
|
+
store.set = store.set;
|
|
1073
|
+
set = function(it, metadata) {
|
|
1074
|
+
if (store.has(it))
|
|
1075
|
+
throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
1076
|
+
metadata.facade = it;
|
|
1077
|
+
store.set(it, metadata);
|
|
1078
|
+
return metadata;
|
|
1079
|
+
};
|
|
1080
|
+
get = function(it) {
|
|
1081
|
+
return store.get(it) || {};
|
|
1082
|
+
};
|
|
1083
|
+
has = function(it) {
|
|
1084
|
+
return store.has(it);
|
|
1085
|
+
};
|
|
1086
|
+
} else {
|
|
1087
|
+
var STATE = sharedKey$2("state");
|
|
1088
|
+
hiddenKeys$1[STATE] = true;
|
|
1089
|
+
set = function(it, metadata) {
|
|
1090
|
+
if (hasOwn$7(it, STATE))
|
|
1091
|
+
throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
1092
|
+
metadata.facade = it;
|
|
1093
|
+
createNonEnumerableProperty$1(it, STATE, metadata);
|
|
1094
|
+
return metadata;
|
|
1095
|
+
};
|
|
1096
|
+
get = function(it) {
|
|
1097
|
+
return hasOwn$7(it, STATE) ? it[STATE] : {};
|
|
1098
|
+
};
|
|
1099
|
+
has = function(it) {
|
|
1100
|
+
return hasOwn$7(it, STATE);
|
|
1101
|
+
};
|
|
1102
|
+
}
|
|
1103
|
+
var internalState = {
|
|
1104
|
+
set,
|
|
1105
|
+
get,
|
|
1106
|
+
has,
|
|
1107
|
+
enforce,
|
|
1108
|
+
getterFor
|
|
1109
|
+
};
|
|
1110
|
+
var bind = functionBindContext;
|
|
1111
|
+
var uncurryThis$a = functionUncurryThis;
|
|
1112
|
+
var IndexedObject = indexedObject;
|
|
1113
|
+
var toObject$3 = toObject$6;
|
|
1114
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$5;
|
|
1115
|
+
var arraySpeciesCreate$1 = arraySpeciesCreate$3;
|
|
1116
|
+
var push$2 = uncurryThis$a([].push);
|
|
1117
|
+
var createMethod$2 = function(TYPE) {
|
|
1118
|
+
var IS_MAP = TYPE == 1;
|
|
1119
|
+
var IS_FILTER = TYPE == 2;
|
|
1120
|
+
var IS_SOME = TYPE == 3;
|
|
1121
|
+
var IS_EVERY = TYPE == 4;
|
|
1122
|
+
var IS_FIND_INDEX = TYPE == 6;
|
|
1123
|
+
var IS_FILTER_REJECT = TYPE == 7;
|
|
1124
|
+
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
|
|
1125
|
+
return function($this, callbackfn, that, specificCreate) {
|
|
1126
|
+
var O = toObject$3($this);
|
|
1127
|
+
var self2 = IndexedObject(O);
|
|
1128
|
+
var boundFunction = bind(callbackfn, that);
|
|
1129
|
+
var length = lengthOfArrayLike$1(self2);
|
|
1130
|
+
var index = 0;
|
|
1131
|
+
var create4 = specificCreate || arraySpeciesCreate$1;
|
|
1132
|
+
var target = IS_MAP ? create4($this, length) : IS_FILTER || IS_FILTER_REJECT ? create4($this, 0) : void 0;
|
|
1133
|
+
var value, result;
|
|
1134
|
+
for (; length > index; index++)
|
|
1135
|
+
if (NO_HOLES || index in self2) {
|
|
1136
|
+
value = self2[index];
|
|
1137
|
+
result = boundFunction(value, index, O);
|
|
1138
|
+
if (TYPE) {
|
|
1139
|
+
if (IS_MAP)
|
|
1140
|
+
target[index] = result;
|
|
1141
|
+
else if (result)
|
|
1142
|
+
switch (TYPE) {
|
|
1143
|
+
case 3:
|
|
1144
|
+
return true;
|
|
1145
|
+
case 5:
|
|
1146
|
+
return value;
|
|
1147
|
+
case 6:
|
|
1148
|
+
return index;
|
|
1149
|
+
case 2:
|
|
1150
|
+
push$2(target, value);
|
|
1151
|
+
}
|
|
1152
|
+
else
|
|
1153
|
+
switch (TYPE) {
|
|
1154
|
+
case 4:
|
|
1155
|
+
return false;
|
|
1156
|
+
case 7:
|
|
1157
|
+
push$2(target, value);
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
|
|
1162
|
+
};
|
|
1163
|
+
};
|
|
1164
|
+
var arrayIteration = {
|
|
1165
|
+
// `Array.prototype.forEach` method
|
|
1166
|
+
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
1167
|
+
forEach: createMethod$2(0),
|
|
1168
|
+
// `Array.prototype.map` method
|
|
1169
|
+
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
1170
|
+
map: createMethod$2(1),
|
|
1171
|
+
// `Array.prototype.filter` method
|
|
1172
|
+
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
1173
|
+
filter: createMethod$2(2),
|
|
1174
|
+
// `Array.prototype.some` method
|
|
1175
|
+
// https://tc39.es/ecma262/#sec-array.prototype.some
|
|
1176
|
+
some: createMethod$2(3),
|
|
1177
|
+
// `Array.prototype.every` method
|
|
1178
|
+
// https://tc39.es/ecma262/#sec-array.prototype.every
|
|
1179
|
+
every: createMethod$2(4),
|
|
1180
|
+
// `Array.prototype.find` method
|
|
1181
|
+
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
1182
|
+
find: createMethod$2(5),
|
|
1183
|
+
// `Array.prototype.findIndex` method
|
|
1184
|
+
// https://tc39.es/ecma262/#sec-array.prototype.findIndex
|
|
1185
|
+
findIndex: createMethod$2(6),
|
|
1186
|
+
// `Array.prototype.filterReject` method
|
|
1187
|
+
// https://github.com/tc39/proposal-array-filtering
|
|
1188
|
+
filterReject: createMethod$2(7)
|
|
1189
|
+
};
|
|
1190
|
+
var $$g = _export;
|
|
1191
|
+
var global$7 = global$i;
|
|
1192
|
+
var call$2 = functionCall;
|
|
1193
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
1194
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1195
|
+
var NATIVE_SYMBOL$3 = symbolConstructorDetection;
|
|
1196
|
+
var fails$6 = fails$h;
|
|
1197
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
1198
|
+
var isPrototypeOf$4 = objectIsPrototypeOf;
|
|
1199
|
+
var anObject = anObject$4;
|
|
1200
|
+
var toIndexedObject$1 = toIndexedObject$7;
|
|
1201
|
+
var toPropertyKey = toPropertyKey$4;
|
|
1202
|
+
var $toString = toString$7;
|
|
1203
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$5;
|
|
1204
|
+
var nativeObjectCreate = objectCreate;
|
|
1205
|
+
var objectKeys = objectKeys$2;
|
|
1206
|
+
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1207
|
+
var getOwnPropertyNamesExternal = objectGetOwnPropertyNamesExternal;
|
|
1208
|
+
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1209
|
+
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1210
|
+
var definePropertyModule = objectDefineProperty;
|
|
1211
|
+
var definePropertiesModule = objectDefineProperties;
|
|
1212
|
+
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1213
|
+
var defineBuiltIn$2 = defineBuiltIn$4;
|
|
1214
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
1215
|
+
var shared$3 = sharedExports;
|
|
1216
|
+
var sharedKey$1 = sharedKey$4;
|
|
1217
|
+
var hiddenKeys = hiddenKeys$5;
|
|
1218
|
+
var uid = uid$3;
|
|
1219
|
+
var wellKnownSymbol$5 = wellKnownSymbol$f;
|
|
1220
|
+
var wrappedWellKnownSymbolModule = wellKnownSymbolWrapped;
|
|
1221
|
+
var defineWellKnownSymbol$l = wellKnownSymbolDefine;
|
|
1222
|
+
var defineSymbolToPrimitive$1 = symbolDefineToPrimitive;
|
|
1223
|
+
var setToStringTag$4 = setToStringTag$5;
|
|
1224
|
+
var InternalStateModule$2 = internalState;
|
|
1225
|
+
var $forEach$1 = arrayIteration.forEach;
|
|
1226
|
+
var HIDDEN = sharedKey$1("hidden");
|
|
1227
|
+
var SYMBOL = "Symbol";
|
|
1228
|
+
var PROTOTYPE = "prototype";
|
|
1229
|
+
var setInternalState$2 = InternalStateModule$2.set;
|
|
1230
|
+
var getInternalState$2 = InternalStateModule$2.getterFor(SYMBOL);
|
|
1231
|
+
var ObjectPrototype$1 = Object[PROTOTYPE];
|
|
1232
|
+
var $Symbol = global$7.Symbol;
|
|
1233
|
+
var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];
|
|
1234
|
+
var TypeError$1 = global$7.TypeError;
|
|
1235
|
+
var QObject = global$7.QObject;
|
|
1236
|
+
var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1237
|
+
var nativeDefineProperty = definePropertyModule.f;
|
|
1238
|
+
var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
|
|
1239
|
+
var nativePropertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
1240
|
+
var push$1 = uncurryThis$9([].push);
|
|
1241
|
+
var AllSymbols = shared$3("symbols");
|
|
1242
|
+
var ObjectPrototypeSymbols = shared$3("op-symbols");
|
|
1243
|
+
var WellKnownSymbolsStore$1 = shared$3("wks");
|
|
1244
|
+
var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
|
|
1245
|
+
var setSymbolDescriptor = DESCRIPTORS$2 && fails$6(function() {
|
|
1246
|
+
return nativeObjectCreate(nativeDefineProperty({}, "a", {
|
|
1247
|
+
get: function() {
|
|
1248
|
+
return nativeDefineProperty(this, "a", {
|
|
1249
|
+
value: 7
|
|
1250
|
+
}).a;
|
|
1251
|
+
}
|
|
1252
|
+
})).a != 7;
|
|
1253
|
+
}) ? function(O, P, Attributes) {
|
|
1254
|
+
var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype$1, P);
|
|
1255
|
+
if (ObjectPrototypeDescriptor)
|
|
1256
|
+
delete ObjectPrototype$1[P];
|
|
1257
|
+
nativeDefineProperty(O, P, Attributes);
|
|
1258
|
+
if (ObjectPrototypeDescriptor && O !== ObjectPrototype$1) {
|
|
1259
|
+
nativeDefineProperty(ObjectPrototype$1, P, ObjectPrototypeDescriptor);
|
|
1260
|
+
}
|
|
1261
|
+
} : nativeDefineProperty;
|
|
1262
|
+
var wrap = function(tag, description) {
|
|
1263
|
+
var symbol2 = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);
|
|
1264
|
+
setInternalState$2(symbol2, {
|
|
1265
|
+
type: SYMBOL,
|
|
1266
|
+
tag,
|
|
1267
|
+
description
|
|
1268
|
+
});
|
|
1269
|
+
if (!DESCRIPTORS$2)
|
|
1270
|
+
symbol2.description = description;
|
|
1271
|
+
return symbol2;
|
|
1272
|
+
};
|
|
1273
|
+
var $defineProperty = function defineProperty4(O, P, Attributes) {
|
|
1274
|
+
if (O === ObjectPrototype$1)
|
|
1275
|
+
$defineProperty(ObjectPrototypeSymbols, P, Attributes);
|
|
1276
|
+
anObject(O);
|
|
1277
|
+
var key = toPropertyKey(P);
|
|
1278
|
+
anObject(Attributes);
|
|
1279
|
+
if (hasOwn$6(AllSymbols, key)) {
|
|
1280
|
+
if (!Attributes.enumerable) {
|
|
1281
|
+
if (!hasOwn$6(O, HIDDEN))
|
|
1282
|
+
nativeDefineProperty(O, HIDDEN, createPropertyDescriptor$1(1, {}));
|
|
1283
|
+
O[HIDDEN][key] = true;
|
|
1284
|
+
} else {
|
|
1285
|
+
if (hasOwn$6(O, HIDDEN) && O[HIDDEN][key])
|
|
1286
|
+
O[HIDDEN][key] = false;
|
|
1287
|
+
Attributes = nativeObjectCreate(Attributes, {
|
|
1288
|
+
enumerable: createPropertyDescriptor$1(0, false)
|
|
1289
|
+
});
|
|
1290
|
+
}
|
|
1291
|
+
return setSymbolDescriptor(O, key, Attributes);
|
|
1292
|
+
}
|
|
1293
|
+
return nativeDefineProperty(O, key, Attributes);
|
|
1294
|
+
};
|
|
1295
|
+
var $defineProperties = function defineProperties2(O, Properties) {
|
|
1296
|
+
anObject(O);
|
|
1297
|
+
var properties = toIndexedObject$1(Properties);
|
|
1298
|
+
var keys3 = objectKeys(properties).concat($getOwnPropertySymbols(properties));
|
|
1299
|
+
$forEach$1(keys3, function(key) {
|
|
1300
|
+
if (!DESCRIPTORS$2 || call$2($propertyIsEnumerable, properties, key))
|
|
1301
|
+
$defineProperty(O, key, properties[key]);
|
|
1302
|
+
});
|
|
1303
|
+
return O;
|
|
1304
|
+
};
|
|
1305
|
+
var $create = function create2(O, Properties) {
|
|
1306
|
+
return Properties === void 0 ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
|
|
1307
|
+
};
|
|
1308
|
+
var $propertyIsEnumerable = function propertyIsEnumerable2(V) {
|
|
1309
|
+
var P = toPropertyKey(V);
|
|
1310
|
+
var enumerable = call$2(nativePropertyIsEnumerable, this, P);
|
|
1311
|
+
if (this === ObjectPrototype$1 && hasOwn$6(AllSymbols, P) && !hasOwn$6(ObjectPrototypeSymbols, P))
|
|
1312
|
+
return false;
|
|
1313
|
+
return enumerable || !hasOwn$6(this, P) || !hasOwn$6(AllSymbols, P) || hasOwn$6(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;
|
|
1314
|
+
};
|
|
1315
|
+
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor2(O, P) {
|
|
1316
|
+
var it = toIndexedObject$1(O);
|
|
1317
|
+
var key = toPropertyKey(P);
|
|
1318
|
+
if (it === ObjectPrototype$1 && hasOwn$6(AllSymbols, key) && !hasOwn$6(ObjectPrototypeSymbols, key))
|
|
1319
|
+
return;
|
|
1320
|
+
var descriptor = nativeGetOwnPropertyDescriptor(it, key);
|
|
1321
|
+
if (descriptor && hasOwn$6(AllSymbols, key) && !(hasOwn$6(it, HIDDEN) && it[HIDDEN][key])) {
|
|
1322
|
+
descriptor.enumerable = true;
|
|
1323
|
+
}
|
|
1324
|
+
return descriptor;
|
|
1325
|
+
};
|
|
1326
|
+
var $getOwnPropertyNames = function getOwnPropertyNames3(O) {
|
|
1327
|
+
var names = nativeGetOwnPropertyNames(toIndexedObject$1(O));
|
|
1328
|
+
var result = [];
|
|
1329
|
+
$forEach$1(names, function(key) {
|
|
1330
|
+
if (!hasOwn$6(AllSymbols, key) && !hasOwn$6(hiddenKeys, key))
|
|
1331
|
+
push$1(result, key);
|
|
1332
|
+
});
|
|
1333
|
+
return result;
|
|
1334
|
+
};
|
|
1335
|
+
var $getOwnPropertySymbols = function(O) {
|
|
1336
|
+
var IS_OBJECT_PROTOTYPE = O === ObjectPrototype$1;
|
|
1337
|
+
var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject$1(O));
|
|
1338
|
+
var result = [];
|
|
1339
|
+
$forEach$1(names, function(key) {
|
|
1340
|
+
if (hasOwn$6(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn$6(ObjectPrototype$1, key))) {
|
|
1341
|
+
push$1(result, AllSymbols[key]);
|
|
1342
|
+
}
|
|
1343
|
+
});
|
|
1344
|
+
return result;
|
|
1345
|
+
};
|
|
1346
|
+
if (!NATIVE_SYMBOL$3) {
|
|
1347
|
+
$Symbol = function Symbol2() {
|
|
1348
|
+
if (isPrototypeOf$4(SymbolPrototype, this))
|
|
1349
|
+
throw TypeError$1("Symbol is not a constructor");
|
|
1350
|
+
var description = !arguments.length || arguments[0] === void 0 ? void 0 : $toString(arguments[0]);
|
|
1351
|
+
var tag = uid(description);
|
|
1352
|
+
var setter = function(value) {
|
|
1353
|
+
if (this === ObjectPrototype$1)
|
|
1354
|
+
call$2(setter, ObjectPrototypeSymbols, value);
|
|
1355
|
+
if (hasOwn$6(this, HIDDEN) && hasOwn$6(this[HIDDEN], tag))
|
|
1356
|
+
this[HIDDEN][tag] = false;
|
|
1357
|
+
setSymbolDescriptor(this, tag, createPropertyDescriptor$1(1, value));
|
|
1358
|
+
};
|
|
1359
|
+
if (DESCRIPTORS$2 && USE_SETTER)
|
|
1360
|
+
setSymbolDescriptor(ObjectPrototype$1, tag, {
|
|
1361
|
+
configurable: true,
|
|
1362
|
+
set: setter
|
|
1363
|
+
});
|
|
1364
|
+
return wrap(tag, description);
|
|
1365
|
+
};
|
|
1366
|
+
SymbolPrototype = $Symbol[PROTOTYPE];
|
|
1367
|
+
defineBuiltIn$2(SymbolPrototype, "toString", function toString3() {
|
|
1368
|
+
return getInternalState$2(this).tag;
|
|
1369
|
+
});
|
|
1370
|
+
defineBuiltIn$2($Symbol, "withoutSetter", function(description) {
|
|
1371
|
+
return wrap(uid(description), description);
|
|
1372
|
+
});
|
|
1373
|
+
propertyIsEnumerableModule.f = $propertyIsEnumerable;
|
|
1374
|
+
definePropertyModule.f = $defineProperty;
|
|
1375
|
+
definePropertiesModule.f = $defineProperties;
|
|
1376
|
+
getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;
|
|
1377
|
+
getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
|
|
1378
|
+
getOwnPropertySymbolsModule$1.f = $getOwnPropertySymbols;
|
|
1379
|
+
wrappedWellKnownSymbolModule.f = function(name) {
|
|
1380
|
+
return wrap(wellKnownSymbol$5(name), name);
|
|
1381
|
+
};
|
|
1382
|
+
if (DESCRIPTORS$2) {
|
|
1383
|
+
defineBuiltInAccessor(SymbolPrototype, "description", {
|
|
1384
|
+
configurable: true,
|
|
1385
|
+
get: function description() {
|
|
1386
|
+
return getInternalState$2(this).description;
|
|
1387
|
+
}
|
|
1388
|
+
});
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
$$g({
|
|
1392
|
+
global: true,
|
|
1393
|
+
constructor: true,
|
|
1394
|
+
wrap: true,
|
|
1395
|
+
forced: !NATIVE_SYMBOL$3,
|
|
1396
|
+
sham: !NATIVE_SYMBOL$3
|
|
1397
|
+
}, {
|
|
1398
|
+
Symbol: $Symbol
|
|
1399
|
+
});
|
|
1400
|
+
$forEach$1(objectKeys(WellKnownSymbolsStore$1), function(name) {
|
|
1401
|
+
defineWellKnownSymbol$l(name);
|
|
1402
|
+
});
|
|
1403
|
+
$$g({
|
|
1404
|
+
target: SYMBOL,
|
|
1405
|
+
stat: true,
|
|
1406
|
+
forced: !NATIVE_SYMBOL$3
|
|
1407
|
+
}, {
|
|
1408
|
+
useSetter: function() {
|
|
1409
|
+
USE_SETTER = true;
|
|
1410
|
+
},
|
|
1411
|
+
useSimple: function() {
|
|
1412
|
+
USE_SETTER = false;
|
|
1413
|
+
}
|
|
1414
|
+
});
|
|
1415
|
+
$$g({
|
|
1416
|
+
target: "Object",
|
|
1417
|
+
stat: true,
|
|
1418
|
+
forced: !NATIVE_SYMBOL$3,
|
|
1419
|
+
sham: !DESCRIPTORS$2
|
|
1420
|
+
}, {
|
|
1421
|
+
// `Object.create` method
|
|
1422
|
+
// https://tc39.es/ecma262/#sec-object.create
|
|
1423
|
+
create: $create,
|
|
1424
|
+
// `Object.defineProperty` method
|
|
1425
|
+
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
1426
|
+
defineProperty: $defineProperty,
|
|
1427
|
+
// `Object.defineProperties` method
|
|
1428
|
+
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1429
|
+
defineProperties: $defineProperties,
|
|
1430
|
+
// `Object.getOwnPropertyDescriptor` method
|
|
1431
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
|
|
1432
|
+
getOwnPropertyDescriptor: $getOwnPropertyDescriptor
|
|
1433
|
+
});
|
|
1434
|
+
$$g({
|
|
1435
|
+
target: "Object",
|
|
1436
|
+
stat: true,
|
|
1437
|
+
forced: !NATIVE_SYMBOL$3
|
|
1438
|
+
}, {
|
|
1439
|
+
// `Object.getOwnPropertyNames` method
|
|
1440
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
1441
|
+
getOwnPropertyNames: $getOwnPropertyNames
|
|
1442
|
+
});
|
|
1443
|
+
defineSymbolToPrimitive$1();
|
|
1444
|
+
setToStringTag$4($Symbol, SYMBOL);
|
|
1445
|
+
hiddenKeys[HIDDEN] = true;
|
|
1446
|
+
var NATIVE_SYMBOL$2 = symbolConstructorDetection;
|
|
1447
|
+
var symbolRegistryDetection = NATIVE_SYMBOL$2 && !!Symbol["for"] && !!Symbol.keyFor;
|
|
1448
|
+
var $$f = _export;
|
|
1449
|
+
var getBuiltIn$4 = getBuiltIn$9;
|
|
1450
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
1451
|
+
var toString$5 = toString$7;
|
|
1452
|
+
var shared$2 = sharedExports;
|
|
1453
|
+
var NATIVE_SYMBOL_REGISTRY$1 = symbolRegistryDetection;
|
|
1454
|
+
var StringToSymbolRegistry = shared$2("string-to-symbol-registry");
|
|
1455
|
+
var SymbolToStringRegistry$1 = shared$2("symbol-to-string-registry");
|
|
1456
|
+
$$f({
|
|
1457
|
+
target: "Symbol",
|
|
1458
|
+
stat: true,
|
|
1459
|
+
forced: !NATIVE_SYMBOL_REGISTRY$1
|
|
1460
|
+
}, {
|
|
1461
|
+
"for": function(key) {
|
|
1462
|
+
var string = toString$5(key);
|
|
1463
|
+
if (hasOwn$5(StringToSymbolRegistry, string))
|
|
1464
|
+
return StringToSymbolRegistry[string];
|
|
1465
|
+
var symbol2 = getBuiltIn$4("Symbol")(string);
|
|
1466
|
+
StringToSymbolRegistry[string] = symbol2;
|
|
1467
|
+
SymbolToStringRegistry$1[symbol2] = string;
|
|
1468
|
+
return symbol2;
|
|
1469
|
+
}
|
|
1470
|
+
});
|
|
1471
|
+
var $$e = _export;
|
|
1472
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
1473
|
+
var isSymbol$2 = isSymbol$5;
|
|
1474
|
+
var tryToString$1 = tryToString$3;
|
|
1475
|
+
var shared$1 = sharedExports;
|
|
1476
|
+
var NATIVE_SYMBOL_REGISTRY = symbolRegistryDetection;
|
|
1477
|
+
var SymbolToStringRegistry = shared$1("symbol-to-string-registry");
|
|
1478
|
+
$$e({
|
|
1479
|
+
target: "Symbol",
|
|
1480
|
+
stat: true,
|
|
1481
|
+
forced: !NATIVE_SYMBOL_REGISTRY
|
|
1482
|
+
}, {
|
|
1483
|
+
keyFor: function keyFor(sym) {
|
|
1484
|
+
if (!isSymbol$2(sym))
|
|
1485
|
+
throw TypeError(tryToString$1(sym) + " is not a symbol");
|
|
1486
|
+
if (hasOwn$4(SymbolToStringRegistry, sym))
|
|
1487
|
+
return SymbolToStringRegistry[sym];
|
|
1488
|
+
}
|
|
1489
|
+
});
|
|
1490
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
1491
|
+
var arraySlice$2 = uncurryThis$8([].slice);
|
|
1492
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
1493
|
+
var isArray$1 = isArray$4;
|
|
1494
|
+
var isCallable$4 = isCallable$g;
|
|
1495
|
+
var classof$2 = classofRaw$2;
|
|
1496
|
+
var toString$4 = toString$7;
|
|
1497
|
+
var push = uncurryThis$7([].push);
|
|
1498
|
+
var getJsonReplacerFunction = function(replacer) {
|
|
1499
|
+
if (isCallable$4(replacer))
|
|
1500
|
+
return replacer;
|
|
1501
|
+
if (!isArray$1(replacer))
|
|
1502
|
+
return;
|
|
1503
|
+
var rawLength = replacer.length;
|
|
1504
|
+
var keys3 = [];
|
|
1505
|
+
for (var i = 0; i < rawLength; i++) {
|
|
1506
|
+
var element = replacer[i];
|
|
1507
|
+
if (typeof element == "string")
|
|
1508
|
+
push(keys3, element);
|
|
1509
|
+
else if (typeof element == "number" || classof$2(element) == "Number" || classof$2(element) == "String")
|
|
1510
|
+
push(keys3, toString$4(element));
|
|
1511
|
+
}
|
|
1512
|
+
var keysLength = keys3.length;
|
|
1513
|
+
var root = true;
|
|
1514
|
+
return function(key, value) {
|
|
1515
|
+
if (root) {
|
|
1516
|
+
root = false;
|
|
1517
|
+
return value;
|
|
1518
|
+
}
|
|
1519
|
+
if (isArray$1(this))
|
|
1520
|
+
return value;
|
|
1521
|
+
for (var j = 0; j < keysLength; j++)
|
|
1522
|
+
if (keys3[j] === key)
|
|
1523
|
+
return value;
|
|
1524
|
+
};
|
|
1525
|
+
};
|
|
1526
|
+
var $$d = _export;
|
|
1527
|
+
var getBuiltIn$3 = getBuiltIn$9;
|
|
1528
|
+
var apply$1 = functionApply;
|
|
1529
|
+
var call$1 = functionCall;
|
|
1530
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
1531
|
+
var fails$5 = fails$h;
|
|
1532
|
+
var isCallable$3 = isCallable$g;
|
|
1533
|
+
var isSymbol$1 = isSymbol$5;
|
|
1534
|
+
var arraySlice$1 = arraySlice$2;
|
|
1535
|
+
var getReplacerFunction = getJsonReplacerFunction;
|
|
1536
|
+
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
1537
|
+
var $String = String;
|
|
1538
|
+
var $stringify = getBuiltIn$3("JSON", "stringify");
|
|
1539
|
+
var exec$1 = uncurryThis$6(/./.exec);
|
|
1540
|
+
var charAt$2 = uncurryThis$6("".charAt);
|
|
1541
|
+
var charCodeAt$1 = uncurryThis$6("".charCodeAt);
|
|
1542
|
+
var replace$1 = uncurryThis$6("".replace);
|
|
1543
|
+
var numberToString = uncurryThis$6(1 .toString);
|
|
1544
|
+
var tester = /[\uD800-\uDFFF]/g;
|
|
1545
|
+
var low = /^[\uD800-\uDBFF]$/;
|
|
1546
|
+
var hi = /^[\uDC00-\uDFFF]$/;
|
|
1547
|
+
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL$1 || fails$5(function() {
|
|
1548
|
+
var symbol2 = getBuiltIn$3("Symbol")();
|
|
1549
|
+
return $stringify([symbol2]) != "[null]" || $stringify({
|
|
1550
|
+
a: symbol2
|
|
1551
|
+
}) != "{}" || $stringify(Object(symbol2)) != "{}";
|
|
1552
|
+
});
|
|
1553
|
+
var ILL_FORMED_UNICODE = fails$5(function() {
|
|
1554
|
+
return $stringify("\uDF06\uD834") !== '"\\udf06\\ud834"' || $stringify("\uDEAD") !== '"\\udead"';
|
|
1555
|
+
});
|
|
1556
|
+
var stringifyWithSymbolsFix = function(it, replacer) {
|
|
1557
|
+
var args = arraySlice$1(arguments);
|
|
1558
|
+
var $replacer = getReplacerFunction(replacer);
|
|
1559
|
+
if (!isCallable$3($replacer) && (it === void 0 || isSymbol$1(it)))
|
|
1560
|
+
return;
|
|
1561
|
+
args[1] = function(key, value) {
|
|
1562
|
+
if (isCallable$3($replacer))
|
|
1563
|
+
value = call$1($replacer, this, $String(key), value);
|
|
1564
|
+
if (!isSymbol$1(value))
|
|
1565
|
+
return value;
|
|
1566
|
+
};
|
|
1567
|
+
return apply$1($stringify, null, args);
|
|
1568
|
+
};
|
|
1569
|
+
var fixIllFormed = function(match2, offset, string) {
|
|
1570
|
+
var prev = charAt$2(string, offset - 1);
|
|
1571
|
+
var next2 = charAt$2(string, offset + 1);
|
|
1572
|
+
if (exec$1(low, match2) && !exec$1(hi, next2) || exec$1(hi, match2) && !exec$1(low, prev)) {
|
|
1573
|
+
return "\\u" + numberToString(charCodeAt$1(match2, 0), 16);
|
|
1574
|
+
}
|
|
1575
|
+
return match2;
|
|
1576
|
+
};
|
|
1577
|
+
if ($stringify) {
|
|
1578
|
+
$$d({
|
|
1579
|
+
target: "JSON",
|
|
1580
|
+
stat: true,
|
|
1581
|
+
arity: 3,
|
|
1582
|
+
forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE
|
|
1583
|
+
}, {
|
|
1584
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
1585
|
+
stringify: function stringify(it, replacer, space) {
|
|
1586
|
+
var args = arraySlice$1(arguments);
|
|
1587
|
+
var result = apply$1(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
|
|
1588
|
+
return ILL_FORMED_UNICODE && typeof result == "string" ? replace$1(result, tester, fixIllFormed) : result;
|
|
1589
|
+
}
|
|
1590
|
+
});
|
|
1591
|
+
}
|
|
1592
|
+
var $$c = _export;
|
|
1593
|
+
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
1594
|
+
var fails$4 = fails$h;
|
|
1595
|
+
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1596
|
+
var toObject$2 = toObject$6;
|
|
1597
|
+
var FORCED$2 = !NATIVE_SYMBOL || fails$4(function() {
|
|
1598
|
+
getOwnPropertySymbolsModule.f(1);
|
|
1599
|
+
});
|
|
1600
|
+
$$c({
|
|
1601
|
+
target: "Object",
|
|
1602
|
+
stat: true,
|
|
1603
|
+
forced: FORCED$2
|
|
1604
|
+
}, {
|
|
1605
|
+
getOwnPropertySymbols: function getOwnPropertySymbols(it) {
|
|
1606
|
+
var $getOwnPropertySymbols2 = getOwnPropertySymbolsModule.f;
|
|
1607
|
+
return $getOwnPropertySymbols2 ? $getOwnPropertySymbols2(toObject$2(it)) : [];
|
|
1608
|
+
}
|
|
1609
|
+
});
|
|
1610
|
+
var defineWellKnownSymbol$k = wellKnownSymbolDefine;
|
|
1611
|
+
defineWellKnownSymbol$k("asyncIterator");
|
|
1612
|
+
var defineWellKnownSymbol$j = wellKnownSymbolDefine;
|
|
1613
|
+
defineWellKnownSymbol$j("hasInstance");
|
|
1614
|
+
var defineWellKnownSymbol$i = wellKnownSymbolDefine;
|
|
1615
|
+
defineWellKnownSymbol$i("isConcatSpreadable");
|
|
1616
|
+
var defineWellKnownSymbol$h = wellKnownSymbolDefine;
|
|
1617
|
+
defineWellKnownSymbol$h("iterator");
|
|
1618
|
+
var defineWellKnownSymbol$g = wellKnownSymbolDefine;
|
|
1619
|
+
defineWellKnownSymbol$g("match");
|
|
1620
|
+
var defineWellKnownSymbol$f = wellKnownSymbolDefine;
|
|
1621
|
+
defineWellKnownSymbol$f("matchAll");
|
|
1622
|
+
var defineWellKnownSymbol$e = wellKnownSymbolDefine;
|
|
1623
|
+
defineWellKnownSymbol$e("replace");
|
|
1624
|
+
var defineWellKnownSymbol$d = wellKnownSymbolDefine;
|
|
1625
|
+
defineWellKnownSymbol$d("search");
|
|
1626
|
+
var defineWellKnownSymbol$c = wellKnownSymbolDefine;
|
|
1627
|
+
defineWellKnownSymbol$c("species");
|
|
1628
|
+
var defineWellKnownSymbol$b = wellKnownSymbolDefine;
|
|
1629
|
+
defineWellKnownSymbol$b("split");
|
|
1630
|
+
var defineWellKnownSymbol$a = wellKnownSymbolDefine;
|
|
1631
|
+
var defineSymbolToPrimitive = symbolDefineToPrimitive;
|
|
1632
|
+
defineWellKnownSymbol$a("toPrimitive");
|
|
1633
|
+
defineSymbolToPrimitive();
|
|
1634
|
+
var getBuiltIn$2 = getBuiltIn$9;
|
|
1635
|
+
var defineWellKnownSymbol$9 = wellKnownSymbolDefine;
|
|
1636
|
+
var setToStringTag$3 = setToStringTag$5;
|
|
1637
|
+
defineWellKnownSymbol$9("toStringTag");
|
|
1638
|
+
setToStringTag$3(getBuiltIn$2("Symbol"), "Symbol");
|
|
1639
|
+
var defineWellKnownSymbol$8 = wellKnownSymbolDefine;
|
|
1640
|
+
defineWellKnownSymbol$8("unscopables");
|
|
1641
|
+
var global$6 = global$i;
|
|
1642
|
+
var setToStringTag$2 = setToStringTag$5;
|
|
1643
|
+
setToStringTag$2(global$6.JSON, "JSON", true);
|
|
1644
|
+
var path$3 = path$8;
|
|
1645
|
+
var symbol$4 = path$3.Symbol;
|
|
1646
|
+
var iterators = {};
|
|
1647
|
+
var DESCRIPTORS$1 = descriptors;
|
|
1648
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
1649
|
+
var FunctionPrototype$1 = Function.prototype;
|
|
1650
|
+
var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
|
|
1651
|
+
var EXISTS = hasOwn$3(FunctionPrototype$1, "name");
|
|
1652
|
+
var PROPER = EXISTS && (function something() {
|
|
1653
|
+
}).name === "something";
|
|
1654
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || DESCRIPTORS$1 && getDescriptor(FunctionPrototype$1, "name").configurable);
|
|
1655
|
+
var functionName = {
|
|
1656
|
+
EXISTS,
|
|
1657
|
+
PROPER,
|
|
1658
|
+
CONFIGURABLE
|
|
1659
|
+
};
|
|
1660
|
+
var fails$3 = fails$h;
|
|
1661
|
+
var correctPrototypeGetter = !fails$3(function() {
|
|
1662
|
+
function F() {
|
|
1663
|
+
}
|
|
1664
|
+
F.prototype.constructor = null;
|
|
1665
|
+
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1666
|
+
});
|
|
1667
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
1668
|
+
var isCallable$2 = isCallable$g;
|
|
1669
|
+
var toObject$1 = toObject$6;
|
|
1670
|
+
var sharedKey = sharedKey$4;
|
|
1671
|
+
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1672
|
+
var IE_PROTO = sharedKey("IE_PROTO");
|
|
1673
|
+
var $Object = Object;
|
|
1674
|
+
var ObjectPrototype = $Object.prototype;
|
|
1675
|
+
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function(O) {
|
|
1676
|
+
var object = toObject$1(O);
|
|
1677
|
+
if (hasOwn$2(object, IE_PROTO))
|
|
1678
|
+
return object[IE_PROTO];
|
|
1679
|
+
var constructor = object.constructor;
|
|
1680
|
+
if (isCallable$2(constructor) && object instanceof constructor) {
|
|
1681
|
+
return constructor.prototype;
|
|
1682
|
+
}
|
|
1683
|
+
return object instanceof $Object ? ObjectPrototype : null;
|
|
1684
|
+
};
|
|
1685
|
+
var fails$2 = fails$h;
|
|
1686
|
+
var isCallable$1 = isCallable$g;
|
|
1687
|
+
var isObject = isObject$8;
|
|
1688
|
+
var create$1 = objectCreate;
|
|
1689
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1690
|
+
var defineBuiltIn$1 = defineBuiltIn$4;
|
|
1691
|
+
var wellKnownSymbol$4 = wellKnownSymbol$f;
|
|
1692
|
+
var ITERATOR$2 = wellKnownSymbol$4("iterator");
|
|
1693
|
+
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1694
|
+
var IteratorPrototype$1, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1695
|
+
if ([].keys) {
|
|
1696
|
+
arrayIterator = [].keys();
|
|
1697
|
+
if (!("next" in arrayIterator))
|
|
1698
|
+
BUGGY_SAFARI_ITERATORS$1 = true;
|
|
1699
|
+
else {
|
|
1700
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
|
|
1701
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype)
|
|
1702
|
+
IteratorPrototype$1 = PrototypeOfArrayIteratorPrototype;
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$1) || fails$2(function() {
|
|
1706
|
+
var test2 = {};
|
|
1707
|
+
return IteratorPrototype$1[ITERATOR$2].call(test2) !== test2;
|
|
1708
|
+
});
|
|
1709
|
+
if (NEW_ITERATOR_PROTOTYPE)
|
|
1710
|
+
IteratorPrototype$1 = {};
|
|
1711
|
+
else
|
|
1712
|
+
IteratorPrototype$1 = create$1(IteratorPrototype$1);
|
|
1713
|
+
if (!isCallable$1(IteratorPrototype$1[ITERATOR$2])) {
|
|
1714
|
+
defineBuiltIn$1(IteratorPrototype$1, ITERATOR$2, function() {
|
|
1715
|
+
return this;
|
|
1716
|
+
});
|
|
1717
|
+
}
|
|
1718
|
+
var iteratorsCore = {
|
|
1719
|
+
IteratorPrototype: IteratorPrototype$1,
|
|
1720
|
+
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1721
|
+
};
|
|
1722
|
+
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
1723
|
+
var create3 = objectCreate;
|
|
1724
|
+
var createPropertyDescriptor = createPropertyDescriptor$5;
|
|
1725
|
+
var setToStringTag$1 = setToStringTag$5;
|
|
1726
|
+
var Iterators$3 = iterators;
|
|
1727
|
+
var returnThis$1 = function() {
|
|
1728
|
+
return this;
|
|
1729
|
+
};
|
|
1730
|
+
var iteratorCreateConstructor = function(IteratorConstructor, NAME, next2, ENUMERABLE_NEXT) {
|
|
1731
|
+
var TO_STRING_TAG2 = NAME + " Iterator";
|
|
1732
|
+
IteratorConstructor.prototype = create3(IteratorPrototype, {
|
|
1733
|
+
next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next2)
|
|
1734
|
+
});
|
|
1735
|
+
setToStringTag$1(IteratorConstructor, TO_STRING_TAG2, false, true);
|
|
1736
|
+
Iterators$3[TO_STRING_TAG2] = returnThis$1;
|
|
1737
|
+
return IteratorConstructor;
|
|
1738
|
+
};
|
|
1739
|
+
var $$b = _export;
|
|
1740
|
+
var call = functionCall;
|
|
1741
|
+
var FunctionName = functionName;
|
|
1742
|
+
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1743
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
1744
|
+
var setToStringTag = setToStringTag$5;
|
|
1745
|
+
var defineBuiltIn = defineBuiltIn$4;
|
|
1746
|
+
var wellKnownSymbol$3 = wellKnownSymbol$f;
|
|
1747
|
+
var Iterators$2 = iterators;
|
|
1748
|
+
var IteratorsCore = iteratorsCore;
|
|
1749
|
+
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
1750
|
+
FunctionName.CONFIGURABLE;
|
|
1751
|
+
IteratorsCore.IteratorPrototype;
|
|
1752
|
+
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1753
|
+
var ITERATOR$1 = wellKnownSymbol$3("iterator");
|
|
1754
|
+
var KEYS = "keys";
|
|
1755
|
+
var VALUES = "values";
|
|
1756
|
+
var ENTRIES = "entries";
|
|
1757
|
+
var returnThis = function() {
|
|
1758
|
+
return this;
|
|
1759
|
+
};
|
|
1760
|
+
var iteratorDefine = function(Iterable, NAME, IteratorConstructor, next2, DEFAULT, IS_SET, FORCED2) {
|
|
1761
|
+
createIteratorConstructor(IteratorConstructor, NAME, next2);
|
|
1762
|
+
var getIterationMethod = function(KIND) {
|
|
1763
|
+
if (KIND === DEFAULT && defaultIterator)
|
|
1764
|
+
return defaultIterator;
|
|
1765
|
+
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype)
|
|
1766
|
+
return IterablePrototype[KIND];
|
|
1767
|
+
switch (KIND) {
|
|
1768
|
+
case KEYS:
|
|
1769
|
+
return function keys3() {
|
|
1770
|
+
return new IteratorConstructor(this, KIND);
|
|
1771
|
+
};
|
|
1772
|
+
case VALUES:
|
|
1773
|
+
return function values() {
|
|
1774
|
+
return new IteratorConstructor(this, KIND);
|
|
1775
|
+
};
|
|
1776
|
+
case ENTRIES:
|
|
1777
|
+
return function entries() {
|
|
1778
|
+
return new IteratorConstructor(this, KIND);
|
|
1779
|
+
};
|
|
1780
|
+
}
|
|
1781
|
+
return function() {
|
|
1782
|
+
return new IteratorConstructor(this);
|
|
1783
|
+
};
|
|
1784
|
+
};
|
|
1785
|
+
var TO_STRING_TAG2 = NAME + " Iterator";
|
|
1786
|
+
var INCORRECT_VALUES_NAME = false;
|
|
1787
|
+
var IterablePrototype = Iterable.prototype;
|
|
1788
|
+
var nativeIterator = IterablePrototype[ITERATOR$1] || IterablePrototype["@@iterator"] || DEFAULT && IterablePrototype[DEFAULT];
|
|
1789
|
+
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
1790
|
+
var anyNativeIterator = NAME == "Array" ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
1791
|
+
var CurrentIteratorPrototype, methods, KEY;
|
|
1792
|
+
if (anyNativeIterator) {
|
|
1793
|
+
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
1794
|
+
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
1795
|
+
setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG2, true, true);
|
|
1796
|
+
Iterators$2[TO_STRING_TAG2] = returnThis;
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1799
|
+
if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
1800
|
+
{
|
|
1801
|
+
INCORRECT_VALUES_NAME = true;
|
|
1802
|
+
defaultIterator = function values() {
|
|
1803
|
+
return call(nativeIterator, this);
|
|
1804
|
+
};
|
|
1805
|
+
}
|
|
1806
|
+
}
|
|
1807
|
+
if (DEFAULT) {
|
|
1808
|
+
methods = {
|
|
1809
|
+
values: getIterationMethod(VALUES),
|
|
1810
|
+
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
1811
|
+
entries: getIterationMethod(ENTRIES)
|
|
1812
|
+
};
|
|
1813
|
+
if (FORCED2)
|
|
1814
|
+
for (KEY in methods) {
|
|
1815
|
+
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1816
|
+
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
|
|
1817
|
+
}
|
|
1818
|
+
}
|
|
1819
|
+
else
|
|
1820
|
+
$$b({
|
|
1821
|
+
target: NAME,
|
|
1822
|
+
proto: true,
|
|
1823
|
+
forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME
|
|
1824
|
+
}, methods);
|
|
1825
|
+
}
|
|
1826
|
+
if (FORCED2 && IterablePrototype[ITERATOR$1] !== defaultIterator) {
|
|
1827
|
+
defineBuiltIn(IterablePrototype, ITERATOR$1, defaultIterator, {
|
|
1828
|
+
name: DEFAULT
|
|
1829
|
+
});
|
|
1830
|
+
}
|
|
1831
|
+
Iterators$2[NAME] = defaultIterator;
|
|
1832
|
+
return methods;
|
|
1833
|
+
};
|
|
1834
|
+
var createIterResultObject$2 = function(value, done) {
|
|
1835
|
+
return {
|
|
1836
|
+
value,
|
|
1837
|
+
done
|
|
1838
|
+
};
|
|
1839
|
+
};
|
|
1840
|
+
var toIndexedObject = toIndexedObject$7;
|
|
1841
|
+
var Iterators$1 = iterators;
|
|
1842
|
+
var InternalStateModule$1 = internalState;
|
|
1843
|
+
objectDefineProperty.f;
|
|
1844
|
+
var defineIterator$1 = iteratorDefine;
|
|
1845
|
+
var createIterResultObject$1 = createIterResultObject$2;
|
|
1846
|
+
var ARRAY_ITERATOR = "Array Iterator";
|
|
1847
|
+
var setInternalState$1 = InternalStateModule$1.set;
|
|
1848
|
+
var getInternalState$1 = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
|
|
1849
|
+
defineIterator$1(Array, "Array", function(iterated, kind) {
|
|
1850
|
+
setInternalState$1(this, {
|
|
1851
|
+
type: ARRAY_ITERATOR,
|
|
1852
|
+
target: toIndexedObject(iterated),
|
|
1853
|
+
// target
|
|
1854
|
+
index: 0,
|
|
1855
|
+
// next index
|
|
1856
|
+
kind
|
|
1857
|
+
// kind
|
|
1858
|
+
});
|
|
1859
|
+
}, function() {
|
|
1860
|
+
var state = getInternalState$1(this);
|
|
1861
|
+
var target = state.target;
|
|
1862
|
+
var kind = state.kind;
|
|
1863
|
+
var index = state.index++;
|
|
1864
|
+
if (!target || index >= target.length) {
|
|
1865
|
+
state.target = void 0;
|
|
1866
|
+
return createIterResultObject$1(void 0, true);
|
|
1867
|
+
}
|
|
1868
|
+
if (kind == "keys")
|
|
1869
|
+
return createIterResultObject$1(index, false);
|
|
1870
|
+
if (kind == "values")
|
|
1871
|
+
return createIterResultObject$1(target[index], false);
|
|
1872
|
+
return createIterResultObject$1([index, target[index]], false);
|
|
1873
|
+
}, "values");
|
|
1874
|
+
Iterators$1.Arguments = Iterators$1.Array;
|
|
1875
|
+
var domIterables = {
|
|
1876
|
+
CSSRuleList: 0,
|
|
1877
|
+
CSSStyleDeclaration: 0,
|
|
1878
|
+
CSSValueList: 0,
|
|
1879
|
+
ClientRectList: 0,
|
|
1880
|
+
DOMRectList: 0,
|
|
1881
|
+
DOMStringList: 0,
|
|
1882
|
+
DOMTokenList: 1,
|
|
1883
|
+
DataTransferItemList: 0,
|
|
1884
|
+
FileList: 0,
|
|
1885
|
+
HTMLAllCollection: 0,
|
|
1886
|
+
HTMLCollection: 0,
|
|
1887
|
+
HTMLFormElement: 0,
|
|
1888
|
+
HTMLSelectElement: 0,
|
|
1889
|
+
MediaList: 0,
|
|
1890
|
+
MimeTypeArray: 0,
|
|
1891
|
+
NamedNodeMap: 0,
|
|
1892
|
+
NodeList: 1,
|
|
1893
|
+
PaintRequestList: 0,
|
|
1894
|
+
Plugin: 0,
|
|
1895
|
+
PluginArray: 0,
|
|
1896
|
+
SVGLengthList: 0,
|
|
1897
|
+
SVGNumberList: 0,
|
|
1898
|
+
SVGPathSegList: 0,
|
|
1899
|
+
SVGPointList: 0,
|
|
1900
|
+
SVGStringList: 0,
|
|
1901
|
+
SVGTransformList: 0,
|
|
1902
|
+
SourceBufferList: 0,
|
|
1903
|
+
StyleSheetList: 0,
|
|
1904
|
+
TextTrackCueList: 0,
|
|
1905
|
+
TextTrackList: 0,
|
|
1906
|
+
TouchList: 0
|
|
1907
|
+
};
|
|
1908
|
+
var DOMIterables$1 = domIterables;
|
|
1909
|
+
var global$5 = global$i;
|
|
1910
|
+
var classof$1 = classof$7;
|
|
1911
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$5;
|
|
1912
|
+
var Iterators = iterators;
|
|
1913
|
+
var wellKnownSymbol$2 = wellKnownSymbol$f;
|
|
1914
|
+
var TO_STRING_TAG = wellKnownSymbol$2("toStringTag");
|
|
1915
|
+
for (var COLLECTION_NAME in DOMIterables$1) {
|
|
1916
|
+
var Collection = global$5[COLLECTION_NAME];
|
|
1917
|
+
var CollectionPrototype = Collection && Collection.prototype;
|
|
1918
|
+
if (CollectionPrototype && classof$1(CollectionPrototype) !== TO_STRING_TAG) {
|
|
1919
|
+
createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
|
|
1920
|
+
}
|
|
1921
|
+
Iterators[COLLECTION_NAME] = Iterators.Array;
|
|
1922
|
+
}
|
|
1923
|
+
var parent$p = symbol$4;
|
|
1924
|
+
var symbol$3 = parent$p;
|
|
1925
|
+
var wellKnownSymbol$1 = wellKnownSymbol$f;
|
|
1926
|
+
var defineProperty5 = objectDefineProperty.f;
|
|
1927
|
+
var METADATA = wellKnownSymbol$1("metadata");
|
|
1928
|
+
var FunctionPrototype = Function.prototype;
|
|
1929
|
+
if (FunctionPrototype[METADATA] === void 0) {
|
|
1930
|
+
defineProperty5(FunctionPrototype, METADATA, {
|
|
1931
|
+
value: null
|
|
1932
|
+
});
|
|
1933
|
+
}
|
|
1934
|
+
var defineWellKnownSymbol$7 = wellKnownSymbolDefine;
|
|
1935
|
+
defineWellKnownSymbol$7("dispose");
|
|
1936
|
+
var defineWellKnownSymbol$6 = wellKnownSymbolDefine;
|
|
1937
|
+
defineWellKnownSymbol$6("metadata");
|
|
1938
|
+
var parent$o = symbol$3;
|
|
1939
|
+
var symbol$2 = parent$o;
|
|
1940
|
+
var defineWellKnownSymbol$5 = wellKnownSymbolDefine;
|
|
1941
|
+
defineWellKnownSymbol$5("asyncDispose");
|
|
1942
|
+
var getBuiltIn$1 = getBuiltIn$9;
|
|
1943
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1944
|
+
var Symbol$3 = getBuiltIn$1("Symbol");
|
|
1945
|
+
var keyFor2 = Symbol$3.keyFor;
|
|
1946
|
+
var thisSymbolValue$1 = uncurryThis$5(Symbol$3.prototype.valueOf);
|
|
1947
|
+
var symbolIsRegistered = Symbol$3.isRegisteredSymbol || function isRegisteredSymbol(value) {
|
|
1948
|
+
try {
|
|
1949
|
+
return keyFor2(thisSymbolValue$1(value)) !== void 0;
|
|
1950
|
+
} catch (error) {
|
|
1951
|
+
return false;
|
|
1952
|
+
}
|
|
1953
|
+
};
|
|
1954
|
+
var $$a = _export;
|
|
1955
|
+
var isRegisteredSymbol$1 = symbolIsRegistered;
|
|
1956
|
+
$$a({
|
|
1957
|
+
target: "Symbol",
|
|
1958
|
+
stat: true
|
|
1959
|
+
}, {
|
|
1960
|
+
isRegisteredSymbol: isRegisteredSymbol$1
|
|
1961
|
+
});
|
|
1962
|
+
var shared = sharedExports;
|
|
1963
|
+
var getBuiltIn = getBuiltIn$9;
|
|
1964
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1965
|
+
var isSymbol = isSymbol$5;
|
|
1966
|
+
var wellKnownSymbol = wellKnownSymbol$f;
|
|
1967
|
+
var Symbol$2 = getBuiltIn("Symbol");
|
|
1968
|
+
var $isWellKnownSymbol = Symbol$2.isWellKnownSymbol;
|
|
1969
|
+
var getOwnPropertyNames4 = getBuiltIn("Object", "getOwnPropertyNames");
|
|
1970
|
+
var thisSymbolValue = uncurryThis$4(Symbol$2.prototype.valueOf);
|
|
1971
|
+
var WellKnownSymbolsStore = shared("wks");
|
|
1972
|
+
for (var i = 0, symbolKeys = getOwnPropertyNames4(Symbol$2), symbolKeysLength = symbolKeys.length; i < symbolKeysLength; i++) {
|
|
1973
|
+
try {
|
|
1974
|
+
var symbolKey = symbolKeys[i];
|
|
1975
|
+
if (isSymbol(Symbol$2[symbolKey]))
|
|
1976
|
+
wellKnownSymbol(symbolKey);
|
|
1977
|
+
} catch (error) {
|
|
1978
|
+
}
|
|
1979
|
+
}
|
|
1980
|
+
var symbolIsWellKnown = function isWellKnownSymbol(value) {
|
|
1981
|
+
if ($isWellKnownSymbol && $isWellKnownSymbol(value))
|
|
1982
|
+
return true;
|
|
1983
|
+
try {
|
|
1984
|
+
var symbol2 = thisSymbolValue(value);
|
|
1985
|
+
for (var j = 0, keys3 = getOwnPropertyNames4(WellKnownSymbolsStore), keysLength = keys3.length; j < keysLength; j++) {
|
|
1986
|
+
if (WellKnownSymbolsStore[keys3[j]] == symbol2)
|
|
1987
|
+
return true;
|
|
1988
|
+
}
|
|
1989
|
+
} catch (error) {
|
|
1990
|
+
}
|
|
1991
|
+
return false;
|
|
1992
|
+
};
|
|
1993
|
+
var $$9 = _export;
|
|
1994
|
+
var isWellKnownSymbol$1 = symbolIsWellKnown;
|
|
1995
|
+
$$9({
|
|
1996
|
+
target: "Symbol",
|
|
1997
|
+
stat: true,
|
|
1998
|
+
forced: true
|
|
1999
|
+
}, {
|
|
2000
|
+
isWellKnownSymbol: isWellKnownSymbol$1
|
|
2001
|
+
});
|
|
2002
|
+
var defineWellKnownSymbol$4 = wellKnownSymbolDefine;
|
|
2003
|
+
defineWellKnownSymbol$4("matcher");
|
|
2004
|
+
var defineWellKnownSymbol$3 = wellKnownSymbolDefine;
|
|
2005
|
+
defineWellKnownSymbol$3("observable");
|
|
2006
|
+
var $$8 = _export;
|
|
2007
|
+
var isRegisteredSymbol2 = symbolIsRegistered;
|
|
2008
|
+
$$8({
|
|
2009
|
+
target: "Symbol",
|
|
2010
|
+
stat: true,
|
|
2011
|
+
name: "isRegisteredSymbol"
|
|
2012
|
+
}, {
|
|
2013
|
+
isRegistered: isRegisteredSymbol2
|
|
2014
|
+
});
|
|
2015
|
+
var $$7 = _export;
|
|
2016
|
+
var isWellKnownSymbol2 = symbolIsWellKnown;
|
|
2017
|
+
$$7({
|
|
2018
|
+
target: "Symbol",
|
|
2019
|
+
stat: true,
|
|
2020
|
+
name: "isWellKnownSymbol",
|
|
2021
|
+
forced: true
|
|
2022
|
+
}, {
|
|
2023
|
+
isWellKnown: isWellKnownSymbol2
|
|
2024
|
+
});
|
|
2025
|
+
var defineWellKnownSymbol$2 = wellKnownSymbolDefine;
|
|
2026
|
+
defineWellKnownSymbol$2("metadataKey");
|
|
2027
|
+
var defineWellKnownSymbol$1 = wellKnownSymbolDefine;
|
|
2028
|
+
defineWellKnownSymbol$1("patternMatch");
|
|
2029
|
+
var defineWellKnownSymbol = wellKnownSymbolDefine;
|
|
2030
|
+
defineWellKnownSymbol("replaceAll");
|
|
2031
|
+
var parent$n = symbol$2;
|
|
2032
|
+
var symbol$1 = parent$n;
|
|
2033
|
+
var symbol = symbol$1;
|
|
2034
|
+
const _Symbol = /* @__PURE__ */ getDefaultExportFromCjs(symbol);
|
|
2035
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
2036
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
|
|
2037
|
+
var toString$3 = toString$7;
|
|
2038
|
+
var requireObjectCoercible$1 = requireObjectCoercible$4;
|
|
2039
|
+
var charAt$1 = uncurryThis$3("".charAt);
|
|
2040
|
+
var charCodeAt = uncurryThis$3("".charCodeAt);
|
|
2041
|
+
var stringSlice = uncurryThis$3("".slice);
|
|
2042
|
+
var createMethod$1 = function(CONVERT_TO_STRING) {
|
|
2043
|
+
return function($this, pos) {
|
|
2044
|
+
var S = toString$3(requireObjectCoercible$1($this));
|
|
2045
|
+
var position = toIntegerOrInfinity$1(pos);
|
|
2046
|
+
var size = S.length;
|
|
2047
|
+
var first, second;
|
|
2048
|
+
if (position < 0 || position >= size)
|
|
2049
|
+
return CONVERT_TO_STRING ? "" : void 0;
|
|
2050
|
+
first = charCodeAt(S, position);
|
|
2051
|
+
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;
|
|
2052
|
+
};
|
|
2053
|
+
};
|
|
2054
|
+
var stringMultibyte = {
|
|
2055
|
+
// `String.prototype.codePointAt` method
|
|
2056
|
+
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
|
|
2057
|
+
codeAt: createMethod$1(false),
|
|
2058
|
+
// `String.prototype.at` method
|
|
2059
|
+
// https://github.com/mathiasbynens/String.prototype.at
|
|
2060
|
+
charAt: createMethod$1(true)
|
|
2061
|
+
};
|
|
2062
|
+
var charAt = stringMultibyte.charAt;
|
|
2063
|
+
var toString$2 = toString$7;
|
|
2064
|
+
var InternalStateModule = internalState;
|
|
2065
|
+
var defineIterator = iteratorDefine;
|
|
2066
|
+
var createIterResultObject = createIterResultObject$2;
|
|
2067
|
+
var STRING_ITERATOR = "String Iterator";
|
|
2068
|
+
var setInternalState = InternalStateModule.set;
|
|
2069
|
+
var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
|
|
2070
|
+
defineIterator(String, "String", function(iterated) {
|
|
2071
|
+
setInternalState(this, {
|
|
2072
|
+
type: STRING_ITERATOR,
|
|
2073
|
+
string: toString$2(iterated),
|
|
2074
|
+
index: 0
|
|
2075
|
+
});
|
|
2076
|
+
}, function next() {
|
|
2077
|
+
var state = getInternalState(this);
|
|
2078
|
+
var string = state.string;
|
|
2079
|
+
var index = state.index;
|
|
2080
|
+
var point;
|
|
2081
|
+
if (index >= string.length)
|
|
2082
|
+
return createIterResultObject(void 0, true);
|
|
2083
|
+
point = charAt(string, index);
|
|
2084
|
+
state.index += point.length;
|
|
2085
|
+
return createIterResultObject(point, false);
|
|
2086
|
+
});
|
|
2087
|
+
var WrappedWellKnownSymbolModule$1 = wellKnownSymbolWrapped;
|
|
2088
|
+
var iterator$4 = WrappedWellKnownSymbolModule$1.f("iterator");
|
|
2089
|
+
var parent$m = iterator$4;
|
|
2090
|
+
var iterator$3 = parent$m;
|
|
2091
|
+
var parent$l = iterator$3;
|
|
2092
|
+
var iterator$2 = parent$l;
|
|
2093
|
+
var parent$k = iterator$2;
|
|
2094
|
+
var iterator$1 = parent$k;
|
|
2095
|
+
var iterator = iterator$1;
|
|
2096
|
+
const _Symbol$iterator = /* @__PURE__ */ getDefaultExportFromCjs(iterator);
|
|
2097
|
+
function _typeof(obj) {
|
|
2098
|
+
"@babel/helpers - typeof";
|
|
2099
|
+
return _typeof = "function" == typeof _Symbol && "symbol" == typeof _Symbol$iterator ? function(obj2) {
|
|
2100
|
+
return typeof obj2;
|
|
2101
|
+
} : function(obj2) {
|
|
2102
|
+
return obj2 && "function" == typeof _Symbol && obj2.constructor === _Symbol && obj2 !== _Symbol.prototype ? "symbol" : typeof obj2;
|
|
2103
|
+
}, _typeof(obj);
|
|
2104
|
+
}
|
|
2105
|
+
var WrappedWellKnownSymbolModule = wellKnownSymbolWrapped;
|
|
2106
|
+
var toPrimitive$4 = WrappedWellKnownSymbolModule.f("toPrimitive");
|
|
2107
|
+
var parent$j = toPrimitive$4;
|
|
2108
|
+
var toPrimitive$3 = parent$j;
|
|
2109
|
+
var parent$i = toPrimitive$3;
|
|
2110
|
+
var toPrimitive$2 = parent$i;
|
|
2111
|
+
var parent$h = toPrimitive$2;
|
|
2112
|
+
var toPrimitive$1 = parent$h;
|
|
2113
|
+
var toPrimitive = toPrimitive$1;
|
|
2114
|
+
const _Symbol$toPrimitive = /* @__PURE__ */ getDefaultExportFromCjs(toPrimitive);
|
|
2115
|
+
function _toPrimitive(input, hint) {
|
|
2116
|
+
if (_typeof(input) !== "object" || input === null)
|
|
2117
|
+
return input;
|
|
2118
|
+
var prim = input[_Symbol$toPrimitive];
|
|
2119
|
+
if (prim !== void 0) {
|
|
2120
|
+
var res = prim.call(input, hint || "default");
|
|
2121
|
+
if (_typeof(res) !== "object")
|
|
2122
|
+
return res;
|
|
2123
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2124
|
+
}
|
|
2125
|
+
return (hint === "string" ? String : Number)(input);
|
|
2126
|
+
}
|
|
2127
|
+
function _toPropertyKey(arg) {
|
|
2128
|
+
var key = _toPrimitive(arg, "string");
|
|
2129
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
2130
|
+
}
|
|
2131
|
+
function _defineProperty(obj, key, value) {
|
|
2132
|
+
key = _toPropertyKey(key);
|
|
2133
|
+
if (key in obj) {
|
|
2134
|
+
_Object$defineProperty(obj, key, {
|
|
2135
|
+
value,
|
|
2136
|
+
enumerable: true,
|
|
2137
|
+
configurable: true,
|
|
2138
|
+
writable: true
|
|
2139
|
+
});
|
|
2140
|
+
} else {
|
|
2141
|
+
obj[key] = value;
|
|
2142
|
+
}
|
|
2143
|
+
return obj;
|
|
2144
|
+
}
|
|
2145
|
+
var fails$1 = fails$h;
|
|
2146
|
+
var arrayMethodIsStrict$2 = function(METHOD_NAME, argument) {
|
|
2147
|
+
var method2 = [][METHOD_NAME];
|
|
2148
|
+
return !!method2 && fails$1(function() {
|
|
2149
|
+
method2.call(null, argument || function() {
|
|
2150
|
+
return 1;
|
|
2151
|
+
}, 1);
|
|
2152
|
+
});
|
|
2153
|
+
};
|
|
2154
|
+
var $$6 = _export;
|
|
2155
|
+
var uncurryThis$2 = functionUncurryThisClause;
|
|
2156
|
+
var $indexOf = arrayIncludes.indexOf;
|
|
2157
|
+
var arrayMethodIsStrict$1 = arrayMethodIsStrict$2;
|
|
2158
|
+
var nativeIndexOf = uncurryThis$2([].indexOf);
|
|
2159
|
+
var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;
|
|
2160
|
+
var FORCED$1 = NEGATIVE_ZERO || !arrayMethodIsStrict$1("indexOf");
|
|
2161
|
+
$$6({
|
|
2162
|
+
target: "Array",
|
|
2163
|
+
proto: true,
|
|
2164
|
+
forced: FORCED$1
|
|
2165
|
+
}, {
|
|
2166
|
+
indexOf: function indexOf(searchElement) {
|
|
2167
|
+
var fromIndex = arguments.length > 1 ? arguments[1] : void 0;
|
|
2168
|
+
return NEGATIVE_ZERO ? nativeIndexOf(this, searchElement, fromIndex) || 0 : $indexOf(this, searchElement, fromIndex);
|
|
2169
|
+
}
|
|
2170
|
+
});
|
|
2171
|
+
var path$2 = path$8;
|
|
2172
|
+
var entryVirtual$4 = function(CONSTRUCTOR) {
|
|
2173
|
+
return path$2[CONSTRUCTOR + "Prototype"];
|
|
2174
|
+
};
|
|
2175
|
+
var entryVirtual$3 = entryVirtual$4;
|
|
2176
|
+
var indexOf$6 = entryVirtual$3("Array").indexOf;
|
|
2177
|
+
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
2178
|
+
var method$3 = indexOf$6;
|
|
2179
|
+
var ArrayPrototype$3 = Array.prototype;
|
|
2180
|
+
var indexOf$5 = function(it) {
|
|
2181
|
+
var own = it.indexOf;
|
|
2182
|
+
return it === ArrayPrototype$3 || isPrototypeOf$3(ArrayPrototype$3, it) && own === ArrayPrototype$3.indexOf ? method$3 : own;
|
|
2183
|
+
};
|
|
2184
|
+
var parent$g = indexOf$5;
|
|
2185
|
+
var indexOf$4 = parent$g;
|
|
2186
|
+
var parent$f = indexOf$4;
|
|
2187
|
+
var indexOf$3 = parent$f;
|
|
2188
|
+
var parent$e = indexOf$3;
|
|
2189
|
+
var indexOf$2 = parent$e;
|
|
2190
|
+
var indexOf$1 = indexOf$2;
|
|
2191
|
+
var indexOf2 = indexOf$1;
|
|
2192
|
+
const _indexOfInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(indexOf2);
|
|
2193
|
+
var engineIsBun = typeof Bun == "function" && Bun && typeof Bun.version == "string";
|
|
2194
|
+
var $TypeError$2 = TypeError;
|
|
2195
|
+
var validateArgumentsLength$1 = function(passed, required) {
|
|
2196
|
+
if (passed < required)
|
|
2197
|
+
throw $TypeError$2("Not enough arguments");
|
|
2198
|
+
return passed;
|
|
2199
|
+
};
|
|
2200
|
+
var global$4 = global$i;
|
|
2201
|
+
var apply = functionApply;
|
|
2202
|
+
var isCallable = isCallable$g;
|
|
2203
|
+
var ENGINE_IS_BUN = engineIsBun;
|
|
2204
|
+
var USER_AGENT = engineUserAgent;
|
|
2205
|
+
var arraySlice = arraySlice$2;
|
|
2206
|
+
var validateArgumentsLength = validateArgumentsLength$1;
|
|
2207
|
+
var Function$1 = global$4.Function;
|
|
2208
|
+
var WRAP = /MSIE .\./.test(USER_AGENT) || ENGINE_IS_BUN && function() {
|
|
2209
|
+
var version2 = global$4.Bun.version.split(".");
|
|
2210
|
+
return version2.length < 3 || version2[0] == 0 && (version2[1] < 3 || version2[1] == 3 && version2[2] == 0);
|
|
2211
|
+
}();
|
|
2212
|
+
var schedulersFix$2 = function(scheduler, hasTimeArg) {
|
|
2213
|
+
var firstParamIndex = hasTimeArg ? 2 : 1;
|
|
2214
|
+
return WRAP ? function(handler, timeout) {
|
|
2215
|
+
var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex;
|
|
2216
|
+
var fn = isCallable(handler) ? handler : Function$1(handler);
|
|
2217
|
+
var params = boundArgs ? arraySlice(arguments, firstParamIndex) : [];
|
|
2218
|
+
var callback = boundArgs ? function() {
|
|
2219
|
+
apply(fn, this, params);
|
|
2220
|
+
} : fn;
|
|
2221
|
+
return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback);
|
|
2222
|
+
} : scheduler;
|
|
2223
|
+
};
|
|
2224
|
+
var $$5 = _export;
|
|
2225
|
+
var global$3 = global$i;
|
|
2226
|
+
var schedulersFix$1 = schedulersFix$2;
|
|
2227
|
+
var setInterval = schedulersFix$1(global$3.setInterval, true);
|
|
2228
|
+
$$5({
|
|
2229
|
+
global: true,
|
|
2230
|
+
bind: true,
|
|
2231
|
+
forced: global$3.setInterval !== setInterval
|
|
2232
|
+
}, {
|
|
2233
|
+
setInterval
|
|
2234
|
+
});
|
|
2235
|
+
var $$4 = _export;
|
|
2236
|
+
var global$2 = global$i;
|
|
2237
|
+
var schedulersFix = schedulersFix$2;
|
|
2238
|
+
var setTimeout$6 = schedulersFix(global$2.setTimeout, true);
|
|
2239
|
+
$$4({
|
|
2240
|
+
global: true,
|
|
2241
|
+
bind: true,
|
|
2242
|
+
forced: global$2.setTimeout !== setTimeout$6
|
|
2243
|
+
}, {
|
|
2244
|
+
setTimeout: setTimeout$6
|
|
2245
|
+
});
|
|
2246
|
+
var path$1 = path$8;
|
|
2247
|
+
var setTimeout$5 = path$1.setTimeout;
|
|
2248
|
+
var parent$d = setTimeout$5;
|
|
2249
|
+
var setTimeout$4 = parent$d;
|
|
2250
|
+
var parent$c = setTimeout$4;
|
|
2251
|
+
var setTimeout$3 = parent$c;
|
|
2252
|
+
var setTimeout$2 = setTimeout$3;
|
|
2253
|
+
var setTimeout$1 = setTimeout$2;
|
|
2254
|
+
const _setTimeout = /* @__PURE__ */ getDefaultExportFromCjs(setTimeout$1);
|
|
2255
|
+
var typeMap = {
|
|
7
2256
|
success: "success",
|
|
8
2257
|
info: "info",
|
|
9
2258
|
warning: "warning",
|
|
10
2259
|
error: "error"
|
|
11
2260
|
};
|
|
12
|
-
|
|
2261
|
+
var _sfc_main = vueDemi.defineComponent({
|
|
13
2262
|
name: "nf-notification",
|
|
14
|
-
data() {
|
|
2263
|
+
data: function data2() {
|
|
15
2264
|
return {
|
|
16
2265
|
visible: false,
|
|
17
2266
|
title: "",
|
|
@@ -35,23 +2284,22 @@ const _sfc_main = vueDemi.defineComponent({
|
|
|
35
2284
|
};
|
|
36
2285
|
},
|
|
37
2286
|
computed: {
|
|
38
|
-
typeClass() {
|
|
39
|
-
return this.type && typeMap[this.type] ?
|
|
2287
|
+
typeClass: function typeClass() {
|
|
2288
|
+
return this.type && typeMap[this.type] ? "el-icon-".concat(typeMap[this.type]) : "";
|
|
40
2289
|
},
|
|
41
|
-
horizontalClass() {
|
|
42
|
-
|
|
2290
|
+
horizontalClass: function horizontalClass() {
|
|
2291
|
+
var _context;
|
|
2292
|
+
return _indexOfInstanceProperty(_context = this.position).call(_context, "right") > -1 ? "right" : "left";
|
|
43
2293
|
},
|
|
44
|
-
verticalProperty() {
|
|
2294
|
+
verticalProperty: function verticalProperty() {
|
|
45
2295
|
return /^top-/.test(this.position) ? "top" : "bottom";
|
|
46
2296
|
},
|
|
47
|
-
positionStyle() {
|
|
48
|
-
return {
|
|
49
|
-
[this.verticalProperty]: `${this.verticalOffset}px`
|
|
50
|
-
};
|
|
2297
|
+
positionStyle: function positionStyle() {
|
|
2298
|
+
return _defineProperty({}, this.verticalProperty, "".concat(this.verticalOffset, "px"));
|
|
51
2299
|
}
|
|
52
2300
|
},
|
|
53
2301
|
watch: {
|
|
54
|
-
closed(newVal) {
|
|
2302
|
+
closed: function closed(newVal) {
|
|
55
2303
|
if (newVal) {
|
|
56
2304
|
this.visible = false;
|
|
57
2305
|
this.$el.addEventListener("transitionend", this.destroyElement);
|
|
@@ -59,45 +2307,46 @@ const _sfc_main = vueDemi.defineComponent({
|
|
|
59
2307
|
}
|
|
60
2308
|
},
|
|
61
2309
|
methods: {
|
|
62
|
-
destroyElement() {
|
|
2310
|
+
destroyElement: function destroyElement() {
|
|
63
2311
|
this.$el.removeEventListener("transitionend", this.destroyElement);
|
|
64
2312
|
this.$destroy(true);
|
|
65
2313
|
this.$el.parentNode.removeChild(this.$el);
|
|
66
2314
|
},
|
|
67
|
-
click() {
|
|
2315
|
+
click: function click() {
|
|
68
2316
|
if (typeof this.onClick === "function") {
|
|
69
2317
|
this.onClick();
|
|
70
2318
|
}
|
|
71
2319
|
},
|
|
72
|
-
handleCancel() {
|
|
2320
|
+
handleCancel: function handleCancel() {
|
|
73
2321
|
if (typeof this.onCancel === "function") {
|
|
74
2322
|
this.onCancel();
|
|
75
2323
|
}
|
|
76
2324
|
},
|
|
77
|
-
handleConfirm() {
|
|
2325
|
+
handleConfirm: function handleConfirm() {
|
|
78
2326
|
if (typeof this.onConfirm === "function") {
|
|
79
2327
|
this.onConfirm();
|
|
80
2328
|
}
|
|
81
2329
|
},
|
|
82
|
-
close() {
|
|
2330
|
+
close: function close() {
|
|
83
2331
|
this.closed = true;
|
|
84
2332
|
if (typeof this.onClose === "function") {
|
|
85
2333
|
this.onClose();
|
|
86
2334
|
}
|
|
87
2335
|
},
|
|
88
|
-
clearTimer() {
|
|
2336
|
+
clearTimer: function clearTimer() {
|
|
89
2337
|
clearTimeout(this.timer);
|
|
90
2338
|
},
|
|
91
|
-
startTimer() {
|
|
2339
|
+
startTimer: function startTimer() {
|
|
2340
|
+
var _this = this;
|
|
92
2341
|
if (this.duration > 0) {
|
|
93
|
-
this.timer =
|
|
94
|
-
if (!
|
|
95
|
-
|
|
2342
|
+
this.timer = _setTimeout(function() {
|
|
2343
|
+
if (!_this.closed) {
|
|
2344
|
+
_this.close();
|
|
96
2345
|
}
|
|
97
2346
|
}, this.duration);
|
|
98
2347
|
}
|
|
99
2348
|
},
|
|
100
|
-
keydown(e) {
|
|
2349
|
+
keydown: function keydown(e) {
|
|
101
2350
|
if (e.keyCode === 46 || e.keyCode === 8) {
|
|
102
2351
|
this.clearTimer();
|
|
103
2352
|
} else if (e.keyCode === 27) {
|
|
@@ -109,17 +2358,18 @@ const _sfc_main = vueDemi.defineComponent({
|
|
|
109
2358
|
}
|
|
110
2359
|
}
|
|
111
2360
|
},
|
|
112
|
-
mounted() {
|
|
2361
|
+
mounted: function mounted() {
|
|
2362
|
+
var _this2 = this;
|
|
113
2363
|
if (this.duration > 0) {
|
|
114
|
-
this.timer =
|
|
115
|
-
if (!
|
|
116
|
-
|
|
2364
|
+
this.timer = _setTimeout(function() {
|
|
2365
|
+
if (!_this2.closed) {
|
|
2366
|
+
_this2.close();
|
|
117
2367
|
}
|
|
118
2368
|
}, this.duration);
|
|
119
2369
|
}
|
|
120
2370
|
document.addEventListener("keydown", this.keydown);
|
|
121
2371
|
},
|
|
122
|
-
beforeDestroy() {
|
|
2372
|
+
beforeDestroy: function beforeDestroy() {
|
|
123
2373
|
document.removeEventListener("keydown", this.keydown);
|
|
124
2374
|
}
|
|
125
2375
|
});
|
|
@@ -137,26 +2387,26 @@ var _sfc_render = function render() {
|
|
|
137
2387
|
value: _vm.visible,
|
|
138
2388
|
expression: "visible"
|
|
139
2389
|
}],
|
|
140
|
-
class: ["nf-notification", _vm.customClass, _vm.horizontalClass],
|
|
2390
|
+
"class": ["nf-notification", _vm.customClass, _vm.horizontalClass],
|
|
141
2391
|
style: _vm.positionStyle,
|
|
142
2392
|
attrs: {
|
|
143
2393
|
"role": "alert"
|
|
144
2394
|
},
|
|
145
2395
|
on: {
|
|
146
|
-
"mouseenter": function($event) {
|
|
2396
|
+
"mouseenter": function mouseenter($event) {
|
|
147
2397
|
return _vm.clearTimer();
|
|
148
2398
|
},
|
|
149
|
-
"mouseleave": function($event) {
|
|
2399
|
+
"mouseleave": function mouseleave($event) {
|
|
150
2400
|
return _vm.startTimer();
|
|
151
2401
|
},
|
|
152
2402
|
"click": _vm.click
|
|
153
2403
|
}
|
|
154
2404
|
}, [_vm.type || _vm.iconClass ? _c("i", {
|
|
155
2405
|
staticClass: "nf-notification__icon",
|
|
156
|
-
class: [_vm.typeClass, _vm.iconClass]
|
|
2406
|
+
"class": [_vm.typeClass, _vm.iconClass]
|
|
157
2407
|
}) : _vm._e(), _c("div", {
|
|
158
2408
|
staticClass: "nf-notification__group",
|
|
159
|
-
class: {
|
|
2409
|
+
"class": {
|
|
160
2410
|
"is-with-icon": _vm.typeClass || _vm.iconClass
|
|
161
2411
|
}
|
|
162
2412
|
}, [_c("h2", {
|
|
@@ -182,7 +2432,7 @@ var _sfc_render = function render() {
|
|
|
182
2432
|
staticClass: "nf-notification__btns"
|
|
183
2433
|
}, [_c("nf-button", {
|
|
184
2434
|
on: {
|
|
185
|
-
"click": function($event) {
|
|
2435
|
+
"click": function click2($event) {
|
|
186
2436
|
$event.stopPropagation();
|
|
187
2437
|
return _vm.handleCancel.apply(null, arguments);
|
|
188
2438
|
}
|
|
@@ -192,7 +2442,7 @@ var _sfc_render = function render() {
|
|
|
192
2442
|
"type": "primary"
|
|
193
2443
|
},
|
|
194
2444
|
on: {
|
|
195
|
-
"click": function($event) {
|
|
2445
|
+
"click": function click2($event) {
|
|
196
2446
|
$event.stopPropagation();
|
|
197
2447
|
return _vm.handleConfirm.apply(null, arguments);
|
|
198
2448
|
}
|
|
@@ -200,7 +2450,7 @@ var _sfc_render = function render() {
|
|
|
200
2450
|
}, [_vm._v(_vm._s(_vm.confirmButtonText))])], 1) : _vm._e(), _vm.showClose ? _c("div", {
|
|
201
2451
|
staticClass: "nf-notification__closeBtn el-icon-close",
|
|
202
2452
|
on: {
|
|
203
|
-
"click": function($event) {
|
|
2453
|
+
"click": function click2($event) {
|
|
204
2454
|
$event.stopPropagation();
|
|
205
2455
|
return _vm.close.apply(null, arguments);
|
|
206
2456
|
}
|
|
@@ -210,6 +2460,259 @@ var _sfc_render = function render() {
|
|
|
210
2460
|
var _sfc_staticRenderFns = [];
|
|
211
2461
|
var __component__ = /* @__PURE__ */ vue2RuntimeHelpers.normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
|
|
212
2462
|
const NfNotification = __component__.exports;
|
|
2463
|
+
var $forEach = arrayIteration.forEach;
|
|
2464
|
+
var arrayMethodIsStrict = arrayMethodIsStrict$2;
|
|
2465
|
+
var STRICT_METHOD = arrayMethodIsStrict("forEach");
|
|
2466
|
+
var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn) {
|
|
2467
|
+
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
|
|
2468
|
+
} : [].forEach;
|
|
2469
|
+
var $$3 = _export;
|
|
2470
|
+
var forEach$7 = arrayForEach;
|
|
2471
|
+
$$3({
|
|
2472
|
+
target: "Array",
|
|
2473
|
+
proto: true,
|
|
2474
|
+
forced: [].forEach != forEach$7
|
|
2475
|
+
}, {
|
|
2476
|
+
forEach: forEach$7
|
|
2477
|
+
});
|
|
2478
|
+
var entryVirtual$2 = entryVirtual$4;
|
|
2479
|
+
var forEach$6 = entryVirtual$2("Array").forEach;
|
|
2480
|
+
var parent$b = forEach$6;
|
|
2481
|
+
var forEach$5 = parent$b;
|
|
2482
|
+
var classof = classof$7;
|
|
2483
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
2484
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
2485
|
+
var method$2 = forEach$5;
|
|
2486
|
+
var ArrayPrototype$2 = Array.prototype;
|
|
2487
|
+
var DOMIterables = {
|
|
2488
|
+
DOMTokenList: true,
|
|
2489
|
+
NodeList: true
|
|
2490
|
+
};
|
|
2491
|
+
var forEach$4 = function(it) {
|
|
2492
|
+
var own = it.forEach;
|
|
2493
|
+
return it === ArrayPrototype$2 || isPrototypeOf$2(ArrayPrototype$2, it) && own === ArrayPrototype$2.forEach || hasOwn$1(DOMIterables, classof(it)) ? method$2 : own;
|
|
2494
|
+
};
|
|
2495
|
+
var parent$a = forEach$4;
|
|
2496
|
+
var forEach$3 = parent$a;
|
|
2497
|
+
var parent$9 = forEach$3;
|
|
2498
|
+
var forEach$2 = parent$9;
|
|
2499
|
+
var forEach$1 = forEach$2;
|
|
2500
|
+
var forEach2 = forEach$1;
|
|
2501
|
+
const _forEachInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(forEach2);
|
|
2502
|
+
var $$2 = _export;
|
|
2503
|
+
var $filter = arrayIteration.filter;
|
|
2504
|
+
var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$3;
|
|
2505
|
+
var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1("filter");
|
|
2506
|
+
$$2({
|
|
2507
|
+
target: "Array",
|
|
2508
|
+
proto: true,
|
|
2509
|
+
forced: !HAS_SPECIES_SUPPORT$1
|
|
2510
|
+
}, {
|
|
2511
|
+
filter: function filter(callbackfn) {
|
|
2512
|
+
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
|
|
2513
|
+
}
|
|
2514
|
+
});
|
|
2515
|
+
var entryVirtual$1 = entryVirtual$4;
|
|
2516
|
+
var filter$6 = entryVirtual$1("Array").filter;
|
|
2517
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
2518
|
+
var method$1 = filter$6;
|
|
2519
|
+
var ArrayPrototype$1 = Array.prototype;
|
|
2520
|
+
var filter$5 = function(it) {
|
|
2521
|
+
var own = it.filter;
|
|
2522
|
+
return it === ArrayPrototype$1 || isPrototypeOf$1(ArrayPrototype$1, it) && own === ArrayPrototype$1.filter ? method$1 : own;
|
|
2523
|
+
};
|
|
2524
|
+
var parent$8 = filter$5;
|
|
2525
|
+
var filter$4 = parent$8;
|
|
2526
|
+
var parent$7 = filter$4;
|
|
2527
|
+
var filter$3 = parent$7;
|
|
2528
|
+
var parent$6 = filter$3;
|
|
2529
|
+
var filter$2 = parent$6;
|
|
2530
|
+
var filter$1 = filter$2;
|
|
2531
|
+
var filter2 = filter$1;
|
|
2532
|
+
const _filterInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(filter2);
|
|
2533
|
+
var DESCRIPTORS = descriptors;
|
|
2534
|
+
var isArray2 = isArray$4;
|
|
2535
|
+
var $TypeError$1 = TypeError;
|
|
2536
|
+
var getOwnPropertyDescriptor3 = Object.getOwnPropertyDescriptor;
|
|
2537
|
+
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function() {
|
|
2538
|
+
if (this !== void 0)
|
|
2539
|
+
return true;
|
|
2540
|
+
try {
|
|
2541
|
+
Object.defineProperty([], "length", {
|
|
2542
|
+
writable: false
|
|
2543
|
+
}).length = 1;
|
|
2544
|
+
} catch (error) {
|
|
2545
|
+
return error instanceof TypeError;
|
|
2546
|
+
}
|
|
2547
|
+
}();
|
|
2548
|
+
var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function(O, length) {
|
|
2549
|
+
if (isArray2(O) && !getOwnPropertyDescriptor3(O, "length").writable) {
|
|
2550
|
+
throw $TypeError$1("Cannot set read only .length");
|
|
2551
|
+
}
|
|
2552
|
+
return O.length = length;
|
|
2553
|
+
} : function(O, length) {
|
|
2554
|
+
return O.length = length;
|
|
2555
|
+
};
|
|
2556
|
+
var tryToString = tryToString$3;
|
|
2557
|
+
var $TypeError = TypeError;
|
|
2558
|
+
var deletePropertyOrThrow$1 = function(O, P) {
|
|
2559
|
+
if (!delete O[P])
|
|
2560
|
+
throw $TypeError("Cannot delete property " + tryToString(P) + " of " + tryToString(O));
|
|
2561
|
+
};
|
|
2562
|
+
var $$1 = _export;
|
|
2563
|
+
var toObject = toObject$6;
|
|
2564
|
+
var toAbsoluteIndex = toAbsoluteIndex$3;
|
|
2565
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$4;
|
|
2566
|
+
var lengthOfArrayLike = lengthOfArrayLike$5;
|
|
2567
|
+
var setArrayLength = arraySetLength;
|
|
2568
|
+
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$2;
|
|
2569
|
+
var arraySpeciesCreate = arraySpeciesCreate$3;
|
|
2570
|
+
var createProperty = createProperty$3;
|
|
2571
|
+
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
2572
|
+
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$3;
|
|
2573
|
+
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport("splice");
|
|
2574
|
+
var max = Math.max;
|
|
2575
|
+
var min = Math.min;
|
|
2576
|
+
$$1({
|
|
2577
|
+
target: "Array",
|
|
2578
|
+
proto: true,
|
|
2579
|
+
forced: !HAS_SPECIES_SUPPORT
|
|
2580
|
+
}, {
|
|
2581
|
+
splice: function splice(start, deleteCount) {
|
|
2582
|
+
var O = toObject(this);
|
|
2583
|
+
var len = lengthOfArrayLike(O);
|
|
2584
|
+
var actualStart = toAbsoluteIndex(start, len);
|
|
2585
|
+
var argumentsLength = arguments.length;
|
|
2586
|
+
var insertCount, actualDeleteCount, A, k, from, to;
|
|
2587
|
+
if (argumentsLength === 0) {
|
|
2588
|
+
insertCount = actualDeleteCount = 0;
|
|
2589
|
+
} else if (argumentsLength === 1) {
|
|
2590
|
+
insertCount = 0;
|
|
2591
|
+
actualDeleteCount = len - actualStart;
|
|
2592
|
+
} else {
|
|
2593
|
+
insertCount = argumentsLength - 2;
|
|
2594
|
+
actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);
|
|
2595
|
+
}
|
|
2596
|
+
doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);
|
|
2597
|
+
A = arraySpeciesCreate(O, actualDeleteCount);
|
|
2598
|
+
for (k = 0; k < actualDeleteCount; k++) {
|
|
2599
|
+
from = actualStart + k;
|
|
2600
|
+
if (from in O)
|
|
2601
|
+
createProperty(A, k, O[from]);
|
|
2602
|
+
}
|
|
2603
|
+
A.length = actualDeleteCount;
|
|
2604
|
+
if (insertCount < actualDeleteCount) {
|
|
2605
|
+
for (k = actualStart; k < len - actualDeleteCount; k++) {
|
|
2606
|
+
from = k + actualDeleteCount;
|
|
2607
|
+
to = k + insertCount;
|
|
2608
|
+
if (from in O)
|
|
2609
|
+
O[to] = O[from];
|
|
2610
|
+
else
|
|
2611
|
+
deletePropertyOrThrow(O, to);
|
|
2612
|
+
}
|
|
2613
|
+
for (k = len; k > len - actualDeleteCount + insertCount; k--)
|
|
2614
|
+
deletePropertyOrThrow(O, k - 1);
|
|
2615
|
+
} else if (insertCount > actualDeleteCount) {
|
|
2616
|
+
for (k = len - actualDeleteCount; k > actualStart; k--) {
|
|
2617
|
+
from = k + actualDeleteCount - 1;
|
|
2618
|
+
to = k + insertCount - 1;
|
|
2619
|
+
if (from in O)
|
|
2620
|
+
O[to] = O[from];
|
|
2621
|
+
else
|
|
2622
|
+
deletePropertyOrThrow(O, to);
|
|
2623
|
+
}
|
|
2624
|
+
}
|
|
2625
|
+
for (k = 0; k < insertCount; k++) {
|
|
2626
|
+
O[k + actualStart] = arguments[k + 2];
|
|
2627
|
+
}
|
|
2628
|
+
setArrayLength(O, len - actualDeleteCount + insertCount);
|
|
2629
|
+
return A;
|
|
2630
|
+
}
|
|
2631
|
+
});
|
|
2632
|
+
var entryVirtual = entryVirtual$4;
|
|
2633
|
+
var splice$6 = entryVirtual("Array").splice;
|
|
2634
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
2635
|
+
var method = splice$6;
|
|
2636
|
+
var ArrayPrototype = Array.prototype;
|
|
2637
|
+
var splice$5 = function(it) {
|
|
2638
|
+
var own = it.splice;
|
|
2639
|
+
return it === ArrayPrototype || isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.splice ? method : own;
|
|
2640
|
+
};
|
|
2641
|
+
var parent$5 = splice$5;
|
|
2642
|
+
var splice$4 = parent$5;
|
|
2643
|
+
var parent$4 = splice$4;
|
|
2644
|
+
var splice$3 = parent$4;
|
|
2645
|
+
var parent$3 = splice$3;
|
|
2646
|
+
var splice$2 = parent$3;
|
|
2647
|
+
var splice$1 = splice$2;
|
|
2648
|
+
var splice2 = splice$1;
|
|
2649
|
+
const _spliceInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(splice2);
|
|
2650
|
+
var whitespaces$2 = " \n\v\f\r \u2028\u2029\uFEFF";
|
|
2651
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
2652
|
+
var requireObjectCoercible = requireObjectCoercible$4;
|
|
2653
|
+
var toString$1 = toString$7;
|
|
2654
|
+
var whitespaces$1 = whitespaces$2;
|
|
2655
|
+
var replace = uncurryThis$1("".replace);
|
|
2656
|
+
var ltrim = RegExp("^[" + whitespaces$1 + "]+");
|
|
2657
|
+
var rtrim = RegExp("(^|[^" + whitespaces$1 + "])[" + whitespaces$1 + "]+$");
|
|
2658
|
+
var createMethod = function(TYPE) {
|
|
2659
|
+
return function($this) {
|
|
2660
|
+
var string = toString$1(requireObjectCoercible($this));
|
|
2661
|
+
if (TYPE & 1)
|
|
2662
|
+
string = replace(string, ltrim, "");
|
|
2663
|
+
if (TYPE & 2)
|
|
2664
|
+
string = replace(string, rtrim, "$1");
|
|
2665
|
+
return string;
|
|
2666
|
+
};
|
|
2667
|
+
};
|
|
2668
|
+
var stringTrim = {
|
|
2669
|
+
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
2670
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|
2671
|
+
start: createMethod(1),
|
|
2672
|
+
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
2673
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|
2674
|
+
end: createMethod(2),
|
|
2675
|
+
// `String.prototype.trim` method
|
|
2676
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
2677
|
+
trim: createMethod(3)
|
|
2678
|
+
};
|
|
2679
|
+
var global$1 = global$i;
|
|
2680
|
+
var fails = fails$h;
|
|
2681
|
+
var uncurryThis = functionUncurryThis;
|
|
2682
|
+
var toString2 = toString$7;
|
|
2683
|
+
var trim$1 = stringTrim.trim;
|
|
2684
|
+
var whitespaces = whitespaces$2;
|
|
2685
|
+
var $parseInt$1 = global$1.parseInt;
|
|
2686
|
+
var Symbol$1 = global$1.Symbol;
|
|
2687
|
+
var ITERATOR = Symbol$1 && Symbol$1.iterator;
|
|
2688
|
+
var hex = /^[+-]?0x/i;
|
|
2689
|
+
var exec = uncurryThis(hex.exec);
|
|
2690
|
+
var FORCED = $parseInt$1(whitespaces + "08") !== 8 || $parseInt$1(whitespaces + "0x16") !== 22 || ITERATOR && !fails(function() {
|
|
2691
|
+
$parseInt$1(Object(ITERATOR));
|
|
2692
|
+
});
|
|
2693
|
+
var numberParseInt = FORCED ? function parseInt2(string, radix) {
|
|
2694
|
+
var S = trim$1(toString2(string));
|
|
2695
|
+
return $parseInt$1(S, radix >>> 0 || (exec(hex, S) ? 16 : 10));
|
|
2696
|
+
} : $parseInt$1;
|
|
2697
|
+
var $ = _export;
|
|
2698
|
+
var $parseInt = numberParseInt;
|
|
2699
|
+
$({
|
|
2700
|
+
global: true,
|
|
2701
|
+
forced: parseInt != $parseInt
|
|
2702
|
+
}, {
|
|
2703
|
+
parseInt: $parseInt
|
|
2704
|
+
});
|
|
2705
|
+
var path = path$8;
|
|
2706
|
+
var _parseInt$6 = path.parseInt;
|
|
2707
|
+
var parent$2 = _parseInt$6;
|
|
2708
|
+
var _parseInt$5 = parent$2;
|
|
2709
|
+
var parent$1 = _parseInt$5;
|
|
2710
|
+
var _parseInt$4 = parent$1;
|
|
2711
|
+
var parent = _parseInt$4;
|
|
2712
|
+
var _parseInt$3 = parent;
|
|
2713
|
+
var _parseInt$2 = _parseInt$3;
|
|
2714
|
+
var _parseInt = _parseInt$2;
|
|
2715
|
+
const _parseInt$1 = /* @__PURE__ */ getDefaultExportFromCjs(_parseInt);
|
|
213
2716
|
function merge(target) {
|
|
214
2717
|
for (let i = 1, j = arguments.length; i < j; i++) {
|
|
215
2718
|
let source = arguments[i] || {};
|
|
@@ -303,18 +2806,18 @@ const getModal = function() {
|
|
|
303
2806
|
const instances$1 = {};
|
|
304
2807
|
const PopupManager = {
|
|
305
2808
|
modalFade: true,
|
|
306
|
-
getInstance: function(
|
|
307
|
-
return instances$1[
|
|
2809
|
+
getInstance: function(id2) {
|
|
2810
|
+
return instances$1[id2];
|
|
308
2811
|
},
|
|
309
|
-
register: function(
|
|
310
|
-
if (
|
|
311
|
-
instances$1[
|
|
2812
|
+
register: function(id2, instance2) {
|
|
2813
|
+
if (id2 && instance2) {
|
|
2814
|
+
instances$1[id2] = instance2;
|
|
312
2815
|
}
|
|
313
2816
|
},
|
|
314
|
-
deregister: function(
|
|
315
|
-
if (
|
|
316
|
-
instances$1[
|
|
317
|
-
delete instances$1[
|
|
2817
|
+
deregister: function(id2) {
|
|
2818
|
+
if (id2) {
|
|
2819
|
+
instances$1[id2] = null;
|
|
2820
|
+
delete instances$1[id2];
|
|
318
2821
|
}
|
|
319
2822
|
},
|
|
320
2823
|
nextZIndex: function() {
|
|
@@ -330,16 +2833,16 @@ const PopupManager = {
|
|
|
330
2833
|
instance2.close();
|
|
331
2834
|
}
|
|
332
2835
|
},
|
|
333
|
-
openModal: function(
|
|
2836
|
+
openModal: function(id2, zIndex2, dom, modalClass, modalFade) {
|
|
334
2837
|
if (Vue.prototype.$isServer)
|
|
335
2838
|
return;
|
|
336
|
-
if (!
|
|
2839
|
+
if (!id2 || zIndex2 === void 0)
|
|
337
2840
|
return;
|
|
338
2841
|
this.modalFade = modalFade;
|
|
339
2842
|
const modalStack = this.modalStack;
|
|
340
2843
|
for (let i = 0, j = modalStack.length; i < j; i++) {
|
|
341
2844
|
const item = modalStack[i];
|
|
342
|
-
if (item.id ===
|
|
2845
|
+
if (item.id === id2) {
|
|
343
2846
|
return;
|
|
344
2847
|
}
|
|
345
2848
|
}
|
|
@@ -366,17 +2869,17 @@ const PopupManager = {
|
|
|
366
2869
|
modalDom.tabIndex = 0;
|
|
367
2870
|
modalDom.style.display = "";
|
|
368
2871
|
this.modalStack.push({
|
|
369
|
-
id,
|
|
2872
|
+
id: id2,
|
|
370
2873
|
zIndex: zIndex2,
|
|
371
2874
|
modalClass
|
|
372
2875
|
});
|
|
373
2876
|
},
|
|
374
|
-
closeModal: function(
|
|
2877
|
+
closeModal: function(id2) {
|
|
375
2878
|
const modalStack = this.modalStack;
|
|
376
2879
|
const modalDom = getModal();
|
|
377
2880
|
if (modalStack.length > 0) {
|
|
378
2881
|
const topItem = modalStack[modalStack.length - 1];
|
|
379
|
-
if (topItem.id ===
|
|
2882
|
+
if (topItem.id === id2) {
|
|
380
2883
|
if (topItem.modalClass) {
|
|
381
2884
|
let classArr = topItem.modalClass.trim().split(/\s+/);
|
|
382
2885
|
classArr.forEach((item) => removeClass(modalDom, item));
|
|
@@ -387,7 +2890,7 @@ const PopupManager = {
|
|
|
387
2890
|
}
|
|
388
2891
|
} else {
|
|
389
2892
|
for (let i = modalStack.length - 1; i >= 0; i--) {
|
|
390
|
-
if (modalStack[i].id ===
|
|
2893
|
+
if (modalStack[i].id === id2) {
|
|
391
2894
|
modalStack.splice(i, 1);
|
|
392
2895
|
break;
|
|
393
2896
|
}
|
|
@@ -445,41 +2948,45 @@ if (!Vue.prototype.$isServer) {
|
|
|
445
2948
|
});
|
|
446
2949
|
}
|
|
447
2950
|
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
448
|
-
function
|
|
2951
|
+
function hasOwn2(obj, key) {
|
|
449
2952
|
return hasOwnProperty.call(obj, key);
|
|
450
2953
|
}
|
|
451
2954
|
function isVNode(node) {
|
|
452
|
-
return node !== null && typeof node === "object" &&
|
|
2955
|
+
return node !== null && typeof node === "object" && hasOwn2(node, "componentOptions");
|
|
453
2956
|
}
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
2957
|
+
var _context2;
|
|
2958
|
+
var NotificationConstructor = vueDemi.Vue2.extend(NfNotification);
|
|
2959
|
+
var instance;
|
|
2960
|
+
var instances = [];
|
|
2961
|
+
var seed = 1;
|
|
2962
|
+
var Notification = function Notification2(options) {
|
|
2963
|
+
var _context;
|
|
459
2964
|
if (vueDemi.Vue2.prototype.$isServer)
|
|
460
2965
|
return;
|
|
461
2966
|
options = merge({}, options);
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
2967
|
+
var userOnClose = options.onClose;
|
|
2968
|
+
var id2 = "notification_" + seed++;
|
|
2969
|
+
var position = options.position || "top-right";
|
|
465
2970
|
options.onClose = function() {
|
|
466
|
-
|
|
2971
|
+
Notification2.close(id2, userOnClose);
|
|
467
2972
|
};
|
|
468
2973
|
instance = new NotificationConstructor({
|
|
469
2974
|
data: options
|
|
470
2975
|
});
|
|
471
2976
|
if (isVNode(options.message)) {
|
|
472
|
-
instance.$slots
|
|
2977
|
+
instance.$slots["default"] = [options.message];
|
|
473
2978
|
options.message = "REPLACED_BY_VNODE";
|
|
474
2979
|
}
|
|
475
|
-
instance.id =
|
|
2980
|
+
instance.id = id2;
|
|
476
2981
|
instance.$mount();
|
|
477
2982
|
document.body.appendChild(instance.$el);
|
|
478
2983
|
instance.visible = true;
|
|
479
2984
|
instance.dom = instance.$el;
|
|
480
2985
|
instance.dom.style.zIndex = PopupManager.nextZIndex();
|
|
481
|
-
|
|
482
|
-
|
|
2986
|
+
var verticalOffset = options.offset || 0;
|
|
2987
|
+
_forEachInstanceProperty(_context = _filterInstanceProperty(instances).call(instances, function(item) {
|
|
2988
|
+
return item.position === position;
|
|
2989
|
+
})).call(_context, function(item) {
|
|
483
2990
|
verticalOffset += item.$el.offsetHeight + 16;
|
|
484
2991
|
});
|
|
485
2992
|
verticalOffset += 16;
|
|
@@ -487,8 +2994,8 @@ const Notification = function(options) {
|
|
|
487
2994
|
instances.push(instance);
|
|
488
2995
|
return instance;
|
|
489
2996
|
};
|
|
490
|
-
["success", "warning", "info", "error"].
|
|
491
|
-
Notification[type] = (options)
|
|
2997
|
+
_forEachInstanceProperty(_context2 = ["success", "warning", "info", "error"]).call(_context2, function(type) {
|
|
2998
|
+
Notification[type] = function(options) {
|
|
492
2999
|
if (typeof options === "string" || isVNode(options)) {
|
|
493
3000
|
options = {
|
|
494
3001
|
message: options
|
|
@@ -498,12 +3005,12 @@ const Notification = function(options) {
|
|
|
498
3005
|
return Notification(options);
|
|
499
3006
|
};
|
|
500
3007
|
});
|
|
501
|
-
Notification.close = function(
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
if (instance3.id ===
|
|
506
|
-
index =
|
|
3008
|
+
Notification.close = function(id2, userOnClose) {
|
|
3009
|
+
var index = -1;
|
|
3010
|
+
var len = instances.length;
|
|
3011
|
+
var instance2 = _filterInstanceProperty(instances).call(instances, function(instance3, i2) {
|
|
3012
|
+
if (instance3.id === id2) {
|
|
3013
|
+
index = i2;
|
|
507
3014
|
return true;
|
|
508
3015
|
}
|
|
509
3016
|
return false;
|
|
@@ -513,23 +3020,23 @@ Notification.close = function(id, userOnClose) {
|
|
|
513
3020
|
if (typeof userOnClose === "function") {
|
|
514
3021
|
userOnClose(instance2);
|
|
515
3022
|
}
|
|
516
|
-
instances.
|
|
3023
|
+
_spliceInstanceProperty(instances).call(instances, index, 1);
|
|
517
3024
|
if (len <= 1)
|
|
518
3025
|
return;
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
for (
|
|
3026
|
+
var position = instance2.position;
|
|
3027
|
+
var removedHeight = instance2.dom.offsetHeight;
|
|
3028
|
+
for (var i = index; i < len - 1; i++) {
|
|
522
3029
|
if (instances[i].position === position) {
|
|
523
|
-
instances[i].dom.style[instance2.verticalProperty] =
|
|
3030
|
+
instances[i].dom.style[instance2.verticalProperty] = _parseInt$1(instances[i].dom.style[instance2.verticalProperty], 10) - removedHeight - 16 + "px";
|
|
524
3031
|
}
|
|
525
3032
|
}
|
|
526
3033
|
};
|
|
527
3034
|
Notification.closeAll = function() {
|
|
528
|
-
for (
|
|
3035
|
+
for (var i = instances.length - 1; i >= 0; i--) {
|
|
529
3036
|
instances[i].close();
|
|
530
3037
|
}
|
|
531
3038
|
};
|
|
532
|
-
NfNotification.install = (app)
|
|
3039
|
+
NfNotification.install = function(app) {
|
|
533
3040
|
app.component("nf-notification", NfNotification);
|
|
534
3041
|
app.prototype.$openNotify = Notification;
|
|
535
3042
|
};
|