@fluxo-dev/api-client-base 0.0.40 → 0.0.42
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/index.cjs.js +1061 -572
- package/package.json +7 -2
- package/src/index.d.ts +1 -0
- package/src/lib/apps/models/embedded-module.d.ts +3 -1
- package/src/lib/apps/models/index.d.ts +1 -1
- package/src/lib/bi/bi-dashboard-category.service.d.ts +5 -0
- package/src/lib/bi/bi.facade.d.ts +9 -0
- package/src/lib/bi/bi.service.d.ts +23 -0
- package/src/lib/bi/index.d.ts +2 -0
- package/src/lib/bi/models/dashboard-category.d.ts +4 -0
- package/src/lib/bi/models/dashboard-domain-roles-permission.d.ts +5 -0
- package/src/lib/bi/models/dashboard-info.d.ts +9 -0
- package/src/lib/bi/models/data-connection.d.ts +28 -0
- package/src/lib/bi/models/data-source-type.d.ts +4 -0
- package/src/lib/bi/models/index.d.ts +8 -0
- package/src/lib/bi/models/json-datasource-provider.d.ts +4 -0
- package/src/lib/bi/models/sql-datasource-provider.d.ts +5 -0
- package/src/lib/bi/models/update-dashboard-info.d.ts +5 -0
- package/src/lib/configuration/index.d.ts +1 -1
- package/src/lib/fluxo-client-interface.d.ts +6 -1
- package/src/lib/fluxo-client.d.ts +3 -0
- package/src/lib/ravify/v1/models/ravify-job-update-execution-v1.d.ts +3 -0
- package/src/lib/ravify/v1/models/ravify-job-v1.d.ts +8 -1
package/index.cjs.js
CHANGED
|
@@ -10,7 +10,7 @@ var check = function (it) {
|
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
13
|
-
var global$
|
|
13
|
+
var global$k =
|
|
14
14
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
15
15
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
16
16
|
check(typeof window == 'object' && window) ||
|
|
@@ -23,7 +23,7 @@ var global$j =
|
|
|
23
23
|
|
|
24
24
|
var objectGetOwnPropertyDescriptor = {};
|
|
25
25
|
|
|
26
|
-
var fails$
|
|
26
|
+
var fails$i = function (exec) {
|
|
27
27
|
try {
|
|
28
28
|
return !!exec();
|
|
29
29
|
} catch (error) {
|
|
@@ -31,17 +31,17 @@ var fails$f = function (exec) {
|
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
var fails$
|
|
34
|
+
var fails$h = fails$i;
|
|
35
35
|
|
|
36
36
|
// Detect IE8's incomplete defineProperty implementation
|
|
37
|
-
var descriptors = !fails$
|
|
37
|
+
var descriptors = !fails$h(function () {
|
|
38
38
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
39
39
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
var fails$
|
|
42
|
+
var fails$g = fails$i;
|
|
43
43
|
|
|
44
|
-
var functionBindNative = !fails$
|
|
44
|
+
var functionBindNative = !fails$g(function () {
|
|
45
45
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
46
46
|
var test = (function () { /* empty */ }).bind();
|
|
47
47
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -50,10 +50,10 @@ var functionBindNative = !fails$d(function () {
|
|
|
50
50
|
|
|
51
51
|
var NATIVE_BIND$3 = functionBindNative;
|
|
52
52
|
|
|
53
|
-
var call$
|
|
53
|
+
var call$g = Function.prototype.call;
|
|
54
54
|
|
|
55
|
-
var functionCall = NATIVE_BIND$3 ? call$
|
|
56
|
-
return call$
|
|
55
|
+
var functionCall = NATIVE_BIND$3 ? call$g.bind(call$g) : function () {
|
|
56
|
+
return call$g.apply(call$g, arguments);
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
var objectPropertyIsEnumerable = {};
|
|
@@ -72,7 +72,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
72
72
|
return !!descriptor && descriptor.enumerable;
|
|
73
73
|
} : $propertyIsEnumerable;
|
|
74
74
|
|
|
75
|
-
var createPropertyDescriptor$
|
|
75
|
+
var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
76
76
|
return {
|
|
77
77
|
enumerable: !(bitmap & 1),
|
|
78
78
|
configurable: !(bitmap & 2),
|
|
@@ -84,12 +84,12 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
|
84
84
|
var NATIVE_BIND$2 = functionBindNative;
|
|
85
85
|
|
|
86
86
|
var FunctionPrototype$2 = Function.prototype;
|
|
87
|
-
var call$
|
|
88
|
-
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$
|
|
87
|
+
var call$f = FunctionPrototype$2.call;
|
|
88
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$f, call$f);
|
|
89
89
|
|
|
90
90
|
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
91
91
|
return function () {
|
|
92
|
-
return call$
|
|
92
|
+
return call$f.apply(fn, arguments);
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
95
|
|
|
@@ -103,20 +103,20 @@ var classofRaw$2 = function (it) {
|
|
|
103
103
|
};
|
|
104
104
|
|
|
105
105
|
var uncurryThis$i = functionUncurryThis;
|
|
106
|
-
var fails$
|
|
106
|
+
var fails$f = fails$i;
|
|
107
107
|
var classof$8 = classofRaw$2;
|
|
108
108
|
|
|
109
|
-
var $Object$
|
|
109
|
+
var $Object$4 = Object;
|
|
110
110
|
var split = uncurryThis$i(''.split);
|
|
111
111
|
|
|
112
112
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
113
|
-
var indexedObject = fails$
|
|
113
|
+
var indexedObject = fails$f(function () {
|
|
114
114
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
115
115
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
116
|
-
return !$Object$
|
|
116
|
+
return !$Object$4('z').propertyIsEnumerable(0);
|
|
117
117
|
}) ? function (it) {
|
|
118
|
-
return classof$8(it) === 'String' ? split(it, '') : $Object$
|
|
119
|
-
} : $Object$
|
|
118
|
+
return classof$8(it) === 'String' ? split(it, '') : $Object$4(it);
|
|
119
|
+
} : $Object$4;
|
|
120
120
|
|
|
121
121
|
// we can't use just `it == null` since of `document.all` special case
|
|
122
122
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
@@ -126,12 +126,12 @@ var isNullOrUndefined$4 = function (it) {
|
|
|
126
126
|
|
|
127
127
|
var isNullOrUndefined$3 = isNullOrUndefined$4;
|
|
128
128
|
|
|
129
|
-
var $TypeError$
|
|
129
|
+
var $TypeError$g = TypeError;
|
|
130
130
|
|
|
131
131
|
// `RequireObjectCoercible` abstract operation
|
|
132
132
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
133
133
|
var requireObjectCoercible$4 = function (it) {
|
|
134
|
-
if (isNullOrUndefined$3(it)) throw new $TypeError$
|
|
134
|
+
if (isNullOrUndefined$3(it)) throw new $TypeError$g("Can't call method on " + it);
|
|
135
135
|
return it;
|
|
136
136
|
};
|
|
137
137
|
|
|
@@ -149,27 +149,27 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
149
149
|
// `IsCallable` abstract operation
|
|
150
150
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
151
151
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
152
|
-
var isCallable$
|
|
152
|
+
var isCallable$n = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
153
153
|
return typeof argument == 'function' || argument === documentAll;
|
|
154
154
|
} : function (argument) {
|
|
155
155
|
return typeof argument == 'function';
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
var isCallable$
|
|
158
|
+
var isCallable$m = isCallable$n;
|
|
159
159
|
|
|
160
|
-
var isObject$
|
|
161
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
160
|
+
var isObject$e = function (it) {
|
|
161
|
+
return typeof it == 'object' ? it !== null : isCallable$m(it);
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
var global$
|
|
165
|
-
var isCallable$
|
|
164
|
+
var global$j = global$k;
|
|
165
|
+
var isCallable$l = isCallable$n;
|
|
166
166
|
|
|
167
167
|
var aFunction = function (argument) {
|
|
168
|
-
return isCallable$
|
|
168
|
+
return isCallable$l(argument) ? argument : undefined;
|
|
169
169
|
};
|
|
170
170
|
|
|
171
171
|
var getBuiltIn$9 = function (namespace, method) {
|
|
172
|
-
return arguments.length < 2 ? aFunction(global$
|
|
172
|
+
return arguments.length < 2 ? aFunction(global$j[namespace]) : global$j[namespace] && global$j[namespace][method];
|
|
173
173
|
};
|
|
174
174
|
|
|
175
175
|
var uncurryThis$h = functionUncurryThis;
|
|
@@ -178,11 +178,11 @@ var objectIsPrototypeOf = uncurryThis$h({}.isPrototypeOf);
|
|
|
178
178
|
|
|
179
179
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
180
180
|
|
|
181
|
-
var global$
|
|
181
|
+
var global$i = global$k;
|
|
182
182
|
var userAgent$3 = engineUserAgent;
|
|
183
183
|
|
|
184
|
-
var process$3 = global$
|
|
185
|
-
var Deno$1 = global$
|
|
184
|
+
var process$3 = global$i.process;
|
|
185
|
+
var Deno$1 = global$i.Deno;
|
|
186
186
|
var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
|
|
187
187
|
var v8 = versions && versions.v8;
|
|
188
188
|
var match, version;
|
|
@@ -208,13 +208,13 @@ var engineV8Version = version;
|
|
|
208
208
|
|
|
209
209
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
210
210
|
var V8_VERSION$1 = engineV8Version;
|
|
211
|
-
var fails$
|
|
212
|
-
var global$
|
|
211
|
+
var fails$e = fails$i;
|
|
212
|
+
var global$h = global$k;
|
|
213
213
|
|
|
214
|
-
var $String$6 = global$
|
|
214
|
+
var $String$6 = global$h.String;
|
|
215
215
|
|
|
216
216
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
217
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
217
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$e(function () {
|
|
218
218
|
var symbol = Symbol('symbol detection');
|
|
219
219
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
220
220
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -233,17 +233,17 @@ var useSymbolAsUid = NATIVE_SYMBOL$3
|
|
|
233
233
|
&& typeof Symbol.iterator == 'symbol';
|
|
234
234
|
|
|
235
235
|
var getBuiltIn$8 = getBuiltIn$9;
|
|
236
|
-
var isCallable$
|
|
236
|
+
var isCallable$k = isCallable$n;
|
|
237
237
|
var isPrototypeOf$4 = objectIsPrototypeOf;
|
|
238
238
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
239
239
|
|
|
240
|
-
var $Object$
|
|
240
|
+
var $Object$3 = Object;
|
|
241
241
|
|
|
242
242
|
var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
243
243
|
return typeof it == 'symbol';
|
|
244
244
|
} : function (it) {
|
|
245
245
|
var $Symbol = getBuiltIn$8('Symbol');
|
|
246
|
-
return isCallable$
|
|
246
|
+
return isCallable$k($Symbol) && isPrototypeOf$4($Symbol.prototype, $Object$3(it));
|
|
247
247
|
};
|
|
248
248
|
|
|
249
249
|
var $String$5 = String;
|
|
@@ -256,59 +256,61 @@ var tryToString$4 = function (argument) {
|
|
|
256
256
|
}
|
|
257
257
|
};
|
|
258
258
|
|
|
259
|
-
var isCallable$
|
|
259
|
+
var isCallable$j = isCallable$n;
|
|
260
260
|
var tryToString$3 = tryToString$4;
|
|
261
261
|
|
|
262
|
-
var $TypeError$
|
|
262
|
+
var $TypeError$f = TypeError;
|
|
263
263
|
|
|
264
264
|
// `Assert: IsCallable(argument) is true`
|
|
265
|
-
var aCallable$
|
|
266
|
-
if (isCallable$
|
|
267
|
-
throw new $TypeError$
|
|
265
|
+
var aCallable$d = function (argument) {
|
|
266
|
+
if (isCallable$j(argument)) return argument;
|
|
267
|
+
throw new $TypeError$f(tryToString$3(argument) + ' is not a function');
|
|
268
268
|
};
|
|
269
269
|
|
|
270
|
-
var aCallable$
|
|
270
|
+
var aCallable$c = aCallable$d;
|
|
271
271
|
var isNullOrUndefined$2 = isNullOrUndefined$4;
|
|
272
272
|
|
|
273
273
|
// `GetMethod` abstract operation
|
|
274
274
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
275
|
-
var getMethod$
|
|
275
|
+
var getMethod$4 = function (V, P) {
|
|
276
276
|
var func = V[P];
|
|
277
|
-
return isNullOrUndefined$2(func) ? undefined : aCallable$
|
|
277
|
+
return isNullOrUndefined$2(func) ? undefined : aCallable$c(func);
|
|
278
278
|
};
|
|
279
279
|
|
|
280
|
-
var call$
|
|
281
|
-
var isCallable$
|
|
282
|
-
var isObject$
|
|
280
|
+
var call$e = functionCall;
|
|
281
|
+
var isCallable$i = isCallable$n;
|
|
282
|
+
var isObject$d = isObject$e;
|
|
283
283
|
|
|
284
|
-
var $TypeError$
|
|
284
|
+
var $TypeError$e = TypeError;
|
|
285
285
|
|
|
286
286
|
// `OrdinaryToPrimitive` abstract operation
|
|
287
287
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
288
288
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
289
289
|
var fn, val;
|
|
290
|
-
if (pref === 'string' && isCallable$
|
|
291
|
-
if (isCallable$
|
|
292
|
-
if (pref !== 'string' && isCallable$
|
|
293
|
-
throw new $TypeError$
|
|
290
|
+
if (pref === 'string' && isCallable$i(fn = input.toString) && !isObject$d(val = call$e(fn, input))) return val;
|
|
291
|
+
if (isCallable$i(fn = input.valueOf) && !isObject$d(val = call$e(fn, input))) return val;
|
|
292
|
+
if (pref !== 'string' && isCallable$i(fn = input.toString) && !isObject$d(val = call$e(fn, input))) return val;
|
|
293
|
+
throw new $TypeError$e("Can't convert object to primitive value");
|
|
294
294
|
};
|
|
295
295
|
|
|
296
296
|
var sharedStore = {exports: {}};
|
|
297
297
|
|
|
298
|
-
var
|
|
298
|
+
var isPure = false;
|
|
299
|
+
|
|
300
|
+
var global$g = global$k;
|
|
299
301
|
|
|
300
302
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
301
303
|
var defineProperty$6 = Object.defineProperty;
|
|
302
304
|
|
|
303
305
|
var defineGlobalProperty$3 = function (key, value) {
|
|
304
306
|
try {
|
|
305
|
-
defineProperty$6(global$
|
|
307
|
+
defineProperty$6(global$g, key, { value: value, configurable: true, writable: true });
|
|
306
308
|
} catch (error) {
|
|
307
|
-
global$
|
|
309
|
+
global$g[key] = value;
|
|
308
310
|
} return value;
|
|
309
311
|
};
|
|
310
312
|
|
|
311
|
-
var globalThis$1 = global$
|
|
313
|
+
var globalThis$1 = global$k;
|
|
312
314
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
313
315
|
|
|
314
316
|
var SHARED = '__core-js_shared__';
|
|
@@ -332,16 +334,16 @@ var shared$3 = function (key, value) {
|
|
|
332
334
|
|
|
333
335
|
var requireObjectCoercible$2 = requireObjectCoercible$4;
|
|
334
336
|
|
|
335
|
-
var $Object$
|
|
337
|
+
var $Object$2 = Object;
|
|
336
338
|
|
|
337
339
|
// `ToObject` abstract operation
|
|
338
340
|
// https://tc39.es/ecma262/#sec-toobject
|
|
339
|
-
var toObject$
|
|
340
|
-
return $Object$
|
|
341
|
+
var toObject$5 = function (argument) {
|
|
342
|
+
return $Object$2(requireObjectCoercible$2(argument));
|
|
341
343
|
};
|
|
342
344
|
|
|
343
345
|
var uncurryThis$g = functionUncurryThis;
|
|
344
|
-
var toObject$
|
|
346
|
+
var toObject$4 = toObject$5;
|
|
345
347
|
|
|
346
348
|
var hasOwnProperty = uncurryThis$g({}.hasOwnProperty);
|
|
347
349
|
|
|
@@ -349,7 +351,7 @@ var hasOwnProperty = uncurryThis$g({}.hasOwnProperty);
|
|
|
349
351
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
350
352
|
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
351
353
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
352
|
-
return hasOwnProperty(toObject$
|
|
354
|
+
return hasOwnProperty(toObject$4(it), key);
|
|
353
355
|
};
|
|
354
356
|
|
|
355
357
|
var uncurryThis$f = functionUncurryThis;
|
|
@@ -362,46 +364,46 @@ var uid$2 = function (key) {
|
|
|
362
364
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id + postfix, 36);
|
|
363
365
|
};
|
|
364
366
|
|
|
365
|
-
var global$
|
|
367
|
+
var global$f = global$k;
|
|
366
368
|
var shared$2 = shared$3;
|
|
367
|
-
var hasOwn$
|
|
369
|
+
var hasOwn$c = hasOwnProperty_1;
|
|
368
370
|
var uid$1 = uid$2;
|
|
369
371
|
var NATIVE_SYMBOL$2 = symbolConstructorDetection;
|
|
370
372
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
371
373
|
|
|
372
|
-
var Symbol$1 = global$
|
|
374
|
+
var Symbol$1 = global$f.Symbol;
|
|
373
375
|
var WellKnownSymbolsStore = shared$2('wks');
|
|
374
376
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
375
377
|
|
|
376
|
-
var wellKnownSymbol$
|
|
377
|
-
if (!hasOwn$
|
|
378
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$2 && hasOwn$
|
|
378
|
+
var wellKnownSymbol$h = function (name) {
|
|
379
|
+
if (!hasOwn$c(WellKnownSymbolsStore, name)) {
|
|
380
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$2 && hasOwn$c(Symbol$1, name)
|
|
379
381
|
? Symbol$1[name]
|
|
380
382
|
: createWellKnownSymbol('Symbol.' + name);
|
|
381
383
|
} return WellKnownSymbolsStore[name];
|
|
382
384
|
};
|
|
383
385
|
|
|
384
|
-
var call$
|
|
385
|
-
var isObject$
|
|
386
|
+
var call$d = functionCall;
|
|
387
|
+
var isObject$c = isObject$e;
|
|
386
388
|
var isSymbol$2 = isSymbol$3;
|
|
387
|
-
var getMethod$
|
|
389
|
+
var getMethod$3 = getMethod$4;
|
|
388
390
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
389
|
-
var wellKnownSymbol$
|
|
391
|
+
var wellKnownSymbol$g = wellKnownSymbol$h;
|
|
390
392
|
|
|
391
|
-
var $TypeError$
|
|
392
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
393
|
+
var $TypeError$d = TypeError;
|
|
394
|
+
var TO_PRIMITIVE = wellKnownSymbol$g('toPrimitive');
|
|
393
395
|
|
|
394
396
|
// `ToPrimitive` abstract operation
|
|
395
397
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
396
398
|
var toPrimitive$1 = function (input, pref) {
|
|
397
|
-
if (!isObject$
|
|
398
|
-
var exoticToPrim = getMethod$
|
|
399
|
+
if (!isObject$c(input) || isSymbol$2(input)) return input;
|
|
400
|
+
var exoticToPrim = getMethod$3(input, TO_PRIMITIVE);
|
|
399
401
|
var result;
|
|
400
402
|
if (exoticToPrim) {
|
|
401
403
|
if (pref === undefined) pref = 'default';
|
|
402
|
-
result = call$
|
|
403
|
-
if (!isObject$
|
|
404
|
-
throw new $TypeError$
|
|
404
|
+
result = call$d(exoticToPrim, input, pref);
|
|
405
|
+
if (!isObject$c(result) || isSymbol$2(result)) return result;
|
|
406
|
+
throw new $TypeError$d("Can't convert object to primitive value");
|
|
405
407
|
}
|
|
406
408
|
if (pref === undefined) pref = 'number';
|
|
407
409
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -417,36 +419,36 @@ var toPropertyKey$2 = function (argument) {
|
|
|
417
419
|
return isSymbol$1(key) ? key : key + '';
|
|
418
420
|
};
|
|
419
421
|
|
|
420
|
-
var global$
|
|
421
|
-
var isObject$
|
|
422
|
+
var global$e = global$k;
|
|
423
|
+
var isObject$b = isObject$e;
|
|
422
424
|
|
|
423
|
-
var document$3 = global$
|
|
425
|
+
var document$3 = global$e.document;
|
|
424
426
|
// typeof document.createElement is 'object' in old IE
|
|
425
|
-
var EXISTS$1 = isObject$
|
|
427
|
+
var EXISTS$1 = isObject$b(document$3) && isObject$b(document$3.createElement);
|
|
426
428
|
|
|
427
429
|
var documentCreateElement$1 = function (it) {
|
|
428
430
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
429
431
|
};
|
|
430
432
|
|
|
431
|
-
var DESCRIPTORS$
|
|
432
|
-
var fails$
|
|
433
|
+
var DESCRIPTORS$f = descriptors;
|
|
434
|
+
var fails$d = fails$i;
|
|
433
435
|
var createElement$1 = documentCreateElement$1;
|
|
434
436
|
|
|
435
437
|
// Thanks to IE8 for its funny defineProperty
|
|
436
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
438
|
+
var ie8DomDefine = !DESCRIPTORS$f && !fails$d(function () {
|
|
437
439
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
438
440
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
439
441
|
get: function () { return 7; }
|
|
440
442
|
}).a !== 7;
|
|
441
443
|
});
|
|
442
444
|
|
|
443
|
-
var DESCRIPTORS$
|
|
444
|
-
var call$
|
|
445
|
+
var DESCRIPTORS$e = descriptors;
|
|
446
|
+
var call$c = functionCall;
|
|
445
447
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
446
|
-
var createPropertyDescriptor$
|
|
448
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$4;
|
|
447
449
|
var toIndexedObject$3 = toIndexedObject$4;
|
|
448
450
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
449
|
-
var hasOwn$
|
|
451
|
+
var hasOwn$b = hasOwnProperty_1;
|
|
450
452
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
451
453
|
|
|
452
454
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -454,23 +456,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
454
456
|
|
|
455
457
|
// `Object.getOwnPropertyDescriptor` method
|
|
456
458
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
457
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
459
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$e ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
458
460
|
O = toIndexedObject$3(O);
|
|
459
461
|
P = toPropertyKey$1(P);
|
|
460
462
|
if (IE8_DOM_DEFINE$1) try {
|
|
461
463
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
462
464
|
} catch (error) { /* empty */ }
|
|
463
|
-
if (hasOwn$
|
|
465
|
+
if (hasOwn$b(O, P)) return createPropertyDescriptor$3(!call$c(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
464
466
|
};
|
|
465
467
|
|
|
466
468
|
var objectDefineProperty = {};
|
|
467
469
|
|
|
468
|
-
var DESCRIPTORS$
|
|
469
|
-
var fails$
|
|
470
|
+
var DESCRIPTORS$d = descriptors;
|
|
471
|
+
var fails$c = fails$i;
|
|
470
472
|
|
|
471
473
|
// V8 ~ Chrome 36-
|
|
472
474
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
473
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
475
|
+
var v8PrototypeDefineBug = DESCRIPTORS$d && fails$c(function () {
|
|
474
476
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
475
477
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
476
478
|
value: 42,
|
|
@@ -478,24 +480,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$b && fails$9(function () {
|
|
|
478
480
|
}).prototype !== 42;
|
|
479
481
|
});
|
|
480
482
|
|
|
481
|
-
var isObject$
|
|
483
|
+
var isObject$a = isObject$e;
|
|
482
484
|
|
|
483
485
|
var $String$4 = String;
|
|
484
|
-
var $TypeError$
|
|
486
|
+
var $TypeError$c = TypeError;
|
|
485
487
|
|
|
486
488
|
// `Assert: Type(argument) is Object`
|
|
487
|
-
var anObject$
|
|
488
|
-
if (isObject$
|
|
489
|
-
throw new $TypeError$
|
|
489
|
+
var anObject$g = function (argument) {
|
|
490
|
+
if (isObject$a(argument)) return argument;
|
|
491
|
+
throw new $TypeError$c($String$4(argument) + ' is not an object');
|
|
490
492
|
};
|
|
491
493
|
|
|
492
|
-
var DESCRIPTORS$
|
|
494
|
+
var DESCRIPTORS$c = descriptors;
|
|
493
495
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
494
496
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
495
|
-
var anObject$
|
|
497
|
+
var anObject$f = anObject$g;
|
|
496
498
|
var toPropertyKey = toPropertyKey$2;
|
|
497
499
|
|
|
498
|
-
var $TypeError$
|
|
500
|
+
var $TypeError$b = TypeError;
|
|
499
501
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
500
502
|
var $defineProperty = Object.defineProperty;
|
|
501
503
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -506,10 +508,10 @@ var WRITABLE = 'writable';
|
|
|
506
508
|
|
|
507
509
|
// `Object.defineProperty` method
|
|
508
510
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
509
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
510
|
-
anObject$
|
|
511
|
+
objectDefineProperty.f = DESCRIPTORS$c ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
512
|
+
anObject$f(O);
|
|
511
513
|
P = toPropertyKey(P);
|
|
512
|
-
anObject$
|
|
514
|
+
anObject$f(Attributes);
|
|
513
515
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
514
516
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
515
517
|
if (current && current[WRITABLE]) {
|
|
@@ -522,23 +524,23 @@ objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
522
524
|
}
|
|
523
525
|
} return $defineProperty(O, P, Attributes);
|
|
524
526
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
525
|
-
anObject$
|
|
527
|
+
anObject$f(O);
|
|
526
528
|
P = toPropertyKey(P);
|
|
527
|
-
anObject$
|
|
529
|
+
anObject$f(Attributes);
|
|
528
530
|
if (IE8_DOM_DEFINE) try {
|
|
529
531
|
return $defineProperty(O, P, Attributes);
|
|
530
532
|
} catch (error) { /* empty */ }
|
|
531
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
533
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$b('Accessors not supported');
|
|
532
534
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
533
535
|
return O;
|
|
534
536
|
};
|
|
535
537
|
|
|
536
|
-
var DESCRIPTORS$
|
|
537
|
-
var definePropertyModule$
|
|
538
|
-
var createPropertyDescriptor$
|
|
538
|
+
var DESCRIPTORS$b = descriptors;
|
|
539
|
+
var definePropertyModule$4 = objectDefineProperty;
|
|
540
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$4;
|
|
539
541
|
|
|
540
|
-
var createNonEnumerableProperty$
|
|
541
|
-
return definePropertyModule$
|
|
542
|
+
var createNonEnumerableProperty$6 = DESCRIPTORS$b ? function (object, key, value) {
|
|
543
|
+
return definePropertyModule$4.f(object, key, createPropertyDescriptor$2(1, value));
|
|
542
544
|
} : function (object, key, value) {
|
|
543
545
|
object[key] = value;
|
|
544
546
|
return object;
|
|
@@ -546,17 +548,17 @@ var createNonEnumerableProperty$5 = DESCRIPTORS$9 ? function (object, key, value
|
|
|
546
548
|
|
|
547
549
|
var makeBuiltIn$3 = {exports: {}};
|
|
548
550
|
|
|
549
|
-
var DESCRIPTORS$
|
|
550
|
-
var hasOwn$
|
|
551
|
+
var DESCRIPTORS$a = descriptors;
|
|
552
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
551
553
|
|
|
552
554
|
var FunctionPrototype$1 = Function.prototype;
|
|
553
555
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
554
|
-
var getDescriptor = DESCRIPTORS$
|
|
556
|
+
var getDescriptor = DESCRIPTORS$a && Object.getOwnPropertyDescriptor;
|
|
555
557
|
|
|
556
|
-
var EXISTS = hasOwn$
|
|
558
|
+
var EXISTS = hasOwn$a(FunctionPrototype$1, 'name');
|
|
557
559
|
// additional protection from minified / mangled / dropped function names
|
|
558
560
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
559
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
561
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$a || (DESCRIPTORS$a && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
560
562
|
|
|
561
563
|
var functionName = {
|
|
562
564
|
EXISTS: EXISTS,
|
|
@@ -565,13 +567,13 @@ var functionName = {
|
|
|
565
567
|
};
|
|
566
568
|
|
|
567
569
|
var uncurryThis$e = functionUncurryThis;
|
|
568
|
-
var isCallable$
|
|
570
|
+
var isCallable$h = isCallable$n;
|
|
569
571
|
var store$1 = sharedStoreExports;
|
|
570
572
|
|
|
571
573
|
var functionToString = uncurryThis$e(Function.toString);
|
|
572
574
|
|
|
573
575
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
574
|
-
if (!isCallable$
|
|
576
|
+
if (!isCallable$h(store$1.inspectSource)) {
|
|
575
577
|
store$1.inspectSource = function (it) {
|
|
576
578
|
return functionToString(it);
|
|
577
579
|
};
|
|
@@ -579,36 +581,36 @@ if (!isCallable$e(store$1.inspectSource)) {
|
|
|
579
581
|
|
|
580
582
|
var inspectSource$3 = store$1.inspectSource;
|
|
581
583
|
|
|
582
|
-
var global$
|
|
583
|
-
var isCallable$
|
|
584
|
+
var global$d = global$k;
|
|
585
|
+
var isCallable$g = isCallable$n;
|
|
584
586
|
|
|
585
|
-
var WeakMap$1 = global$
|
|
587
|
+
var WeakMap$1 = global$d.WeakMap;
|
|
586
588
|
|
|
587
|
-
var weakMapBasicDetection = isCallable$
|
|
589
|
+
var weakMapBasicDetection = isCallable$g(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
588
590
|
|
|
589
591
|
var shared$1 = shared$3;
|
|
590
592
|
var uid = uid$2;
|
|
591
593
|
|
|
592
594
|
var keys = shared$1('keys');
|
|
593
595
|
|
|
594
|
-
var sharedKey$
|
|
596
|
+
var sharedKey$3 = function (key) {
|
|
595
597
|
return keys[key] || (keys[key] = uid(key));
|
|
596
598
|
};
|
|
597
599
|
|
|
598
600
|
var hiddenKeys$4 = {};
|
|
599
601
|
|
|
600
602
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
601
|
-
var global$
|
|
602
|
-
var isObject$
|
|
603
|
-
var createNonEnumerableProperty$
|
|
604
|
-
var hasOwn$
|
|
603
|
+
var global$c = global$k;
|
|
604
|
+
var isObject$9 = isObject$e;
|
|
605
|
+
var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
|
|
606
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
605
607
|
var shared = sharedStoreExports;
|
|
606
|
-
var sharedKey$
|
|
608
|
+
var sharedKey$2 = sharedKey$3;
|
|
607
609
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
608
610
|
|
|
609
611
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
610
|
-
var TypeError$2 = global$
|
|
611
|
-
var WeakMap = global$
|
|
612
|
+
var TypeError$2 = global$c.TypeError;
|
|
613
|
+
var WeakMap = global$c.WeakMap;
|
|
612
614
|
var set$1, get, has;
|
|
613
615
|
|
|
614
616
|
var enforce = function (it) {
|
|
@@ -618,7 +620,7 @@ var enforce = function (it) {
|
|
|
618
620
|
var getterFor = function (TYPE) {
|
|
619
621
|
return function (it) {
|
|
620
622
|
var state;
|
|
621
|
-
if (!isObject$
|
|
623
|
+
if (!isObject$9(it) || (state = get(it)).type !== TYPE) {
|
|
622
624
|
throw new TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
|
623
625
|
} return state;
|
|
624
626
|
};
|
|
@@ -644,19 +646,19 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
644
646
|
return store.has(it);
|
|
645
647
|
};
|
|
646
648
|
} else {
|
|
647
|
-
var STATE = sharedKey$
|
|
649
|
+
var STATE = sharedKey$2('state');
|
|
648
650
|
hiddenKeys$3[STATE] = true;
|
|
649
651
|
set$1 = function (it, metadata) {
|
|
650
|
-
if (hasOwn$
|
|
652
|
+
if (hasOwn$9(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
651
653
|
metadata.facade = it;
|
|
652
|
-
createNonEnumerableProperty$
|
|
654
|
+
createNonEnumerableProperty$5(it, STATE, metadata);
|
|
653
655
|
return metadata;
|
|
654
656
|
};
|
|
655
657
|
get = function (it) {
|
|
656
|
-
return hasOwn$
|
|
658
|
+
return hasOwn$9(it, STATE) ? it[STATE] : {};
|
|
657
659
|
};
|
|
658
660
|
has = function (it) {
|
|
659
|
-
return hasOwn$
|
|
661
|
+
return hasOwn$9(it, STATE);
|
|
660
662
|
};
|
|
661
663
|
}
|
|
662
664
|
|
|
@@ -669,16 +671,16 @@ var internalState = {
|
|
|
669
671
|
};
|
|
670
672
|
|
|
671
673
|
var uncurryThis$d = functionUncurryThis;
|
|
672
|
-
var fails$
|
|
673
|
-
var isCallable$
|
|
674
|
-
var hasOwn$
|
|
675
|
-
var DESCRIPTORS$
|
|
674
|
+
var fails$b = fails$i;
|
|
675
|
+
var isCallable$f = isCallable$n;
|
|
676
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
677
|
+
var DESCRIPTORS$9 = descriptors;
|
|
676
678
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
677
679
|
var inspectSource$2 = inspectSource$3;
|
|
678
|
-
var InternalStateModule$
|
|
680
|
+
var InternalStateModule$2 = internalState;
|
|
679
681
|
|
|
680
|
-
var enforceInternalState = InternalStateModule$
|
|
681
|
-
var getInternalState = InternalStateModule$
|
|
682
|
+
var enforceInternalState = InternalStateModule$2.enforce;
|
|
683
|
+
var getInternalState = InternalStateModule$2.get;
|
|
682
684
|
var $String$3 = String;
|
|
683
685
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
684
686
|
var defineProperty$5 = Object.defineProperty;
|
|
@@ -686,7 +688,7 @@ var stringSlice$1 = uncurryThis$d(''.slice);
|
|
|
686
688
|
var replace$3 = uncurryThis$d(''.replace);
|
|
687
689
|
var join = uncurryThis$d([].join);
|
|
688
690
|
|
|
689
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
691
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$9 && !fails$b(function () {
|
|
690
692
|
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
691
693
|
});
|
|
692
694
|
|
|
@@ -698,21 +700,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
698
700
|
}
|
|
699
701
|
if (options && options.getter) name = 'get ' + name;
|
|
700
702
|
if (options && options.setter) name = 'set ' + name;
|
|
701
|
-
if (!hasOwn$
|
|
702
|
-
if (DESCRIPTORS$
|
|
703
|
+
if (!hasOwn$8(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
704
|
+
if (DESCRIPTORS$9) defineProperty$5(value, 'name', { value: name, configurable: true });
|
|
703
705
|
else value.name = name;
|
|
704
706
|
}
|
|
705
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
707
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$8(options, 'arity') && value.length !== options.arity) {
|
|
706
708
|
defineProperty$5(value, 'length', { value: options.arity });
|
|
707
709
|
}
|
|
708
710
|
try {
|
|
709
|
-
if (options && hasOwn$
|
|
710
|
-
if (DESCRIPTORS$
|
|
711
|
+
if (options && hasOwn$8(options, 'constructor') && options.constructor) {
|
|
712
|
+
if (DESCRIPTORS$9) defineProperty$5(value, 'prototype', { writable: false });
|
|
711
713
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
712
714
|
} else if (value.prototype) value.prototype = undefined;
|
|
713
715
|
} catch (error) { /* empty */ }
|
|
714
716
|
var state = enforceInternalState(value);
|
|
715
|
-
if (!hasOwn$
|
|
717
|
+
if (!hasOwn$8(state, 'source')) {
|
|
716
718
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
717
719
|
} return value;
|
|
718
720
|
};
|
|
@@ -720,21 +722,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
720
722
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
721
723
|
// eslint-disable-next-line no-extend-native -- required
|
|
722
724
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
723
|
-
return isCallable$
|
|
725
|
+
return isCallable$f(this) && getInternalState(this).source || inspectSource$2(this);
|
|
724
726
|
}, 'toString');
|
|
725
727
|
|
|
726
728
|
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
727
729
|
|
|
728
|
-
var isCallable$
|
|
729
|
-
var definePropertyModule$
|
|
730
|
+
var isCallable$e = isCallable$n;
|
|
731
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
730
732
|
var makeBuiltIn$1 = makeBuiltInExports;
|
|
731
733
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
732
734
|
|
|
733
|
-
var defineBuiltIn$
|
|
735
|
+
var defineBuiltIn$5 = function (O, key, value, options) {
|
|
734
736
|
if (!options) options = {};
|
|
735
737
|
var simple = options.enumerable;
|
|
736
738
|
var name = options.name !== undefined ? options.name : key;
|
|
737
|
-
if (isCallable$
|
|
739
|
+
if (isCallable$e(value)) makeBuiltIn$1(value, name, options);
|
|
738
740
|
if (options.global) {
|
|
739
741
|
if (simple) O[key] = value;
|
|
740
742
|
else defineGlobalProperty$1(key, value);
|
|
@@ -744,7 +746,7 @@ var defineBuiltIn$3 = function (O, key, value, options) {
|
|
|
744
746
|
else if (O[key]) simple = true;
|
|
745
747
|
} catch (error) { /* empty */ }
|
|
746
748
|
if (simple) O[key] = value;
|
|
747
|
-
else definePropertyModule$
|
|
749
|
+
else definePropertyModule$3.f(O, key, {
|
|
748
750
|
value: value,
|
|
749
751
|
enumerable: false,
|
|
750
752
|
configurable: !options.nonConfigurable,
|
|
@@ -843,7 +845,7 @@ var arrayIncludes = {
|
|
|
843
845
|
};
|
|
844
846
|
|
|
845
847
|
var uncurryThis$c = functionUncurryThis;
|
|
846
|
-
var hasOwn$
|
|
848
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
847
849
|
var toIndexedObject$1 = toIndexedObject$4;
|
|
848
850
|
var indexOf = arrayIncludes.indexOf;
|
|
849
851
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
@@ -855,9 +857,9 @@ var objectKeysInternal = function (object, names) {
|
|
|
855
857
|
var i = 0;
|
|
856
858
|
var result = [];
|
|
857
859
|
var key;
|
|
858
|
-
for (key in O) !hasOwn$
|
|
860
|
+
for (key in O) !hasOwn$7(hiddenKeys$2, key) && hasOwn$7(O, key) && push$1(result, key);
|
|
859
861
|
// Don't enum bug & hidden keys
|
|
860
|
-
while (names.length > i) if (hasOwn$
|
|
862
|
+
while (names.length > i) if (hasOwn$7(O, key = names[i++])) {
|
|
861
863
|
~indexOf(result, key) || push$1(result, key);
|
|
862
864
|
}
|
|
863
865
|
return result;
|
|
@@ -895,36 +897,36 @@ var getBuiltIn$7 = getBuiltIn$9;
|
|
|
895
897
|
var uncurryThis$b = functionUncurryThis;
|
|
896
898
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
897
899
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
898
|
-
var anObject$
|
|
900
|
+
var anObject$e = anObject$g;
|
|
899
901
|
|
|
900
902
|
var concat$1 = uncurryThis$b([].concat);
|
|
901
903
|
|
|
902
904
|
// all object keys, includes non-enumerable and symbols
|
|
903
905
|
var ownKeys$1 = getBuiltIn$7('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
904
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
906
|
+
var keys = getOwnPropertyNamesModule.f(anObject$e(it));
|
|
905
907
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
906
908
|
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
907
909
|
};
|
|
908
910
|
|
|
909
|
-
var hasOwn$
|
|
911
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
910
912
|
var ownKeys = ownKeys$1;
|
|
911
913
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
912
|
-
var definePropertyModule$
|
|
914
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
913
915
|
|
|
914
916
|
var copyConstructorProperties$3 = function (target, source, exceptions) {
|
|
915
917
|
var keys = ownKeys(source);
|
|
916
|
-
var defineProperty = definePropertyModule$
|
|
918
|
+
var defineProperty = definePropertyModule$2.f;
|
|
917
919
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
918
920
|
for (var i = 0; i < keys.length; i++) {
|
|
919
921
|
var key = keys[i];
|
|
920
|
-
if (!hasOwn$
|
|
922
|
+
if (!hasOwn$6(target, key) && !(exceptions && hasOwn$6(exceptions, key))) {
|
|
921
923
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
922
924
|
}
|
|
923
925
|
}
|
|
924
926
|
};
|
|
925
927
|
|
|
926
|
-
var fails$
|
|
927
|
-
var isCallable$
|
|
928
|
+
var fails$a = fails$i;
|
|
929
|
+
var isCallable$d = isCallable$n;
|
|
928
930
|
|
|
929
931
|
var replacement = /#|\.prototype\./;
|
|
930
932
|
|
|
@@ -932,7 +934,7 @@ var isForced$2 = function (feature, detection) {
|
|
|
932
934
|
var value = data[normalize(feature)];
|
|
933
935
|
return value === POLYFILL ? true
|
|
934
936
|
: value === NATIVE ? false
|
|
935
|
-
: isCallable$
|
|
937
|
+
: isCallable$d(detection) ? fails$a(detection)
|
|
936
938
|
: !!detection;
|
|
937
939
|
};
|
|
938
940
|
|
|
@@ -946,10 +948,10 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
|
|
|
946
948
|
|
|
947
949
|
var isForced_1 = isForced$2;
|
|
948
950
|
|
|
949
|
-
var global$
|
|
951
|
+
var global$b = global$k;
|
|
950
952
|
var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
|
|
951
|
-
var createNonEnumerableProperty$
|
|
952
|
-
var defineBuiltIn$
|
|
953
|
+
var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
|
|
954
|
+
var defineBuiltIn$4 = defineBuiltIn$5;
|
|
953
955
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
954
956
|
var copyConstructorProperties$2 = copyConstructorProperties$3;
|
|
955
957
|
var isForced$1 = isForced_1;
|
|
@@ -975,11 +977,11 @@ var _export = function (options, source) {
|
|
|
975
977
|
var STATIC = options.stat;
|
|
976
978
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
977
979
|
if (GLOBAL) {
|
|
978
|
-
target = global$
|
|
980
|
+
target = global$b;
|
|
979
981
|
} else if (STATIC) {
|
|
980
|
-
target = global$
|
|
982
|
+
target = global$b[TARGET] || defineGlobalProperty(TARGET, {});
|
|
981
983
|
} else {
|
|
982
|
-
target = global$
|
|
984
|
+
target = global$b[TARGET] && global$b[TARGET].prototype;
|
|
983
985
|
}
|
|
984
986
|
if (target) for (key in source) {
|
|
985
987
|
sourceProperty = source[key];
|
|
@@ -995,9 +997,9 @@ var _export = function (options, source) {
|
|
|
995
997
|
}
|
|
996
998
|
// add a flag to not completely full polyfills
|
|
997
999
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
998
|
-
createNonEnumerableProperty$
|
|
1000
|
+
createNonEnumerableProperty$4(sourceProperty, 'sham', true);
|
|
999
1001
|
}
|
|
1000
|
-
defineBuiltIn$
|
|
1002
|
+
defineBuiltIn$4(target, key, sourceProperty, options);
|
|
1001
1003
|
}
|
|
1002
1004
|
};
|
|
1003
1005
|
|
|
@@ -1005,42 +1007,42 @@ var NATIVE_BIND$1 = functionBindNative;
|
|
|
1005
1007
|
|
|
1006
1008
|
var FunctionPrototype = Function.prototype;
|
|
1007
1009
|
var apply$3 = FunctionPrototype.apply;
|
|
1008
|
-
var call$
|
|
1010
|
+
var call$b = FunctionPrototype.call;
|
|
1009
1011
|
|
|
1010
1012
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
1011
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$
|
|
1012
|
-
return call$
|
|
1013
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$b.bind(apply$3) : function () {
|
|
1014
|
+
return call$b.apply(apply$3, arguments);
|
|
1013
1015
|
});
|
|
1014
1016
|
|
|
1015
1017
|
var uncurryThis$a = functionUncurryThis;
|
|
1016
|
-
var aCallable$
|
|
1018
|
+
var aCallable$b = aCallable$d;
|
|
1017
1019
|
|
|
1018
1020
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1019
1021
|
try {
|
|
1020
1022
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1021
|
-
return uncurryThis$a(aCallable$
|
|
1023
|
+
return uncurryThis$a(aCallable$b(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1022
1024
|
} catch (error) { /* empty */ }
|
|
1023
1025
|
};
|
|
1024
1026
|
|
|
1025
|
-
var isObject$
|
|
1027
|
+
var isObject$8 = isObject$e;
|
|
1026
1028
|
|
|
1027
1029
|
var isPossiblePrototype$1 = function (argument) {
|
|
1028
|
-
return isObject$
|
|
1030
|
+
return isObject$8(argument) || argument === null;
|
|
1029
1031
|
};
|
|
1030
1032
|
|
|
1031
1033
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1032
1034
|
|
|
1033
1035
|
var $String$2 = String;
|
|
1034
|
-
var $TypeError$
|
|
1036
|
+
var $TypeError$a = TypeError;
|
|
1035
1037
|
|
|
1036
1038
|
var aPossiblePrototype$1 = function (argument) {
|
|
1037
1039
|
if (isPossiblePrototype(argument)) return argument;
|
|
1038
|
-
throw new $TypeError$
|
|
1040
|
+
throw new $TypeError$a("Can't set " + $String$2(argument) + ' as a prototype');
|
|
1039
1041
|
};
|
|
1040
1042
|
|
|
1041
1043
|
/* eslint-disable no-proto -- safe */
|
|
1042
1044
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
1043
|
-
var isObject$
|
|
1045
|
+
var isObject$7 = isObject$e;
|
|
1044
1046
|
var requireObjectCoercible$1 = requireObjectCoercible$4;
|
|
1045
1047
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1046
1048
|
|
|
@@ -1060,7 +1062,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1060
1062
|
return function setPrototypeOf(O, proto) {
|
|
1061
1063
|
requireObjectCoercible$1(O);
|
|
1062
1064
|
aPossiblePrototype(proto);
|
|
1063
|
-
if (!isObject$
|
|
1065
|
+
if (!isObject$7(O)) return O;
|
|
1064
1066
|
if (CORRECT_SETTER) setter(O, proto);
|
|
1065
1067
|
else O.__proto__ = proto;
|
|
1066
1068
|
return O;
|
|
@@ -1077,8 +1079,8 @@ var proxyAccessor$1 = function (Target, Source, key) {
|
|
|
1077
1079
|
});
|
|
1078
1080
|
};
|
|
1079
1081
|
|
|
1080
|
-
var isCallable$
|
|
1081
|
-
var isObject$
|
|
1082
|
+
var isCallable$c = isCallable$n;
|
|
1083
|
+
var isObject$6 = isObject$e;
|
|
1082
1084
|
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
1083
1085
|
|
|
1084
1086
|
// makes subclassing work correct for wrapped built-ins
|
|
@@ -1088,30 +1090,30 @@ var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
|
|
|
1088
1090
|
// it can work only with native `setPrototypeOf`
|
|
1089
1091
|
setPrototypeOf$2 &&
|
|
1090
1092
|
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
1091
|
-
isCallable$
|
|
1093
|
+
isCallable$c(NewTarget = dummy.constructor) &&
|
|
1092
1094
|
NewTarget !== Wrapper &&
|
|
1093
|
-
isObject$
|
|
1095
|
+
isObject$6(NewTargetPrototype = NewTarget.prototype) &&
|
|
1094
1096
|
NewTargetPrototype !== Wrapper.prototype
|
|
1095
1097
|
) setPrototypeOf$2($this, NewTargetPrototype);
|
|
1096
1098
|
return $this;
|
|
1097
1099
|
};
|
|
1098
1100
|
|
|
1099
|
-
var wellKnownSymbol$
|
|
1101
|
+
var wellKnownSymbol$f = wellKnownSymbol$h;
|
|
1100
1102
|
|
|
1101
|
-
var TO_STRING_TAG$
|
|
1103
|
+
var TO_STRING_TAG$4 = wellKnownSymbol$f('toStringTag');
|
|
1102
1104
|
var test = {};
|
|
1103
1105
|
|
|
1104
|
-
test[TO_STRING_TAG$
|
|
1106
|
+
test[TO_STRING_TAG$4] = 'z';
|
|
1105
1107
|
|
|
1106
1108
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1107
1109
|
|
|
1108
1110
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1109
|
-
var isCallable$
|
|
1111
|
+
var isCallable$b = isCallable$n;
|
|
1110
1112
|
var classofRaw$1 = classofRaw$2;
|
|
1111
|
-
var wellKnownSymbol$
|
|
1113
|
+
var wellKnownSymbol$e = wellKnownSymbol$h;
|
|
1112
1114
|
|
|
1113
|
-
var TO_STRING_TAG$
|
|
1114
|
-
var $Object = Object;
|
|
1115
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$e('toStringTag');
|
|
1116
|
+
var $Object$1 = Object;
|
|
1115
1117
|
|
|
1116
1118
|
// ES3 wrong here
|
|
1117
1119
|
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
|
|
@@ -1128,11 +1130,11 @@ var classof$7 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
|
1128
1130
|
var O, tag, result;
|
|
1129
1131
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1130
1132
|
// @@toStringTag case
|
|
1131
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$
|
|
1133
|
+
: typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$3)) == 'string' ? tag
|
|
1132
1134
|
// builtinTag case
|
|
1133
1135
|
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
1134
1136
|
// ES3 arguments fallback
|
|
1135
|
-
: (result = classofRaw$1(O)) === 'Object' && isCallable$
|
|
1137
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$b(O.callee) ? 'Arguments' : result;
|
|
1136
1138
|
};
|
|
1137
1139
|
|
|
1138
1140
|
var classof$6 = classof$7;
|
|
@@ -1150,14 +1152,14 @@ var normalizeStringArgument$1 = function (argument, $default) {
|
|
|
1150
1152
|
return argument === undefined ? arguments.length < 2 ? '' : $default : toString$3(argument);
|
|
1151
1153
|
};
|
|
1152
1154
|
|
|
1153
|
-
var isObject$
|
|
1154
|
-
var createNonEnumerableProperty$
|
|
1155
|
+
var isObject$5 = isObject$e;
|
|
1156
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
|
|
1155
1157
|
|
|
1156
1158
|
// `InstallErrorCause` abstract operation
|
|
1157
1159
|
// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
|
|
1158
1160
|
var installErrorCause$1 = function (O, options) {
|
|
1159
|
-
if (isObject$
|
|
1160
|
-
createNonEnumerableProperty$
|
|
1161
|
+
if (isObject$5(options) && 'cause' in options) {
|
|
1162
|
+
createNonEnumerableProperty$3(O, 'cause', options.cause);
|
|
1161
1163
|
}
|
|
1162
1164
|
};
|
|
1163
1165
|
|
|
@@ -1177,18 +1179,18 @@ var errorStackClear = function (stack, dropEntries) {
|
|
|
1177
1179
|
} return stack;
|
|
1178
1180
|
};
|
|
1179
1181
|
|
|
1180
|
-
var fails$
|
|
1181
|
-
var createPropertyDescriptor = createPropertyDescriptor$
|
|
1182
|
+
var fails$9 = fails$i;
|
|
1183
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$4;
|
|
1182
1184
|
|
|
1183
|
-
var errorStackInstallable = !fails$
|
|
1185
|
+
var errorStackInstallable = !fails$9(function () {
|
|
1184
1186
|
var error = new Error('a');
|
|
1185
1187
|
if (!('stack' in error)) return true;
|
|
1186
1188
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1187
|
-
Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));
|
|
1189
|
+
Object.defineProperty(error, 'stack', createPropertyDescriptor$1(1, 7));
|
|
1188
1190
|
return error.stack !== 7;
|
|
1189
1191
|
});
|
|
1190
1192
|
|
|
1191
|
-
var createNonEnumerableProperty$
|
|
1193
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
|
|
1192
1194
|
var clearErrorStack = errorStackClear;
|
|
1193
1195
|
var ERROR_STACK_INSTALLABLE = errorStackInstallable;
|
|
1194
1196
|
|
|
@@ -1198,13 +1200,13 @@ var captureStackTrace = Error.captureStackTrace;
|
|
|
1198
1200
|
var errorStackInstall = function (error, C, stack, dropEntries) {
|
|
1199
1201
|
if (ERROR_STACK_INSTALLABLE) {
|
|
1200
1202
|
if (captureStackTrace) captureStackTrace(error, C);
|
|
1201
|
-
else createNonEnumerableProperty$
|
|
1203
|
+
else createNonEnumerableProperty$2(error, 'stack', clearErrorStack(stack, dropEntries));
|
|
1202
1204
|
}
|
|
1203
1205
|
};
|
|
1204
1206
|
|
|
1205
1207
|
var getBuiltIn$6 = getBuiltIn$9;
|
|
1206
|
-
var hasOwn$
|
|
1207
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
1208
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
1209
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
|
|
1208
1210
|
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
1209
1211
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
1210
1212
|
var copyConstructorProperties$1 = copyConstructorProperties$3;
|
|
@@ -1213,7 +1215,7 @@ var inheritIfRequired = inheritIfRequired$1;
|
|
|
1213
1215
|
var normalizeStringArgument = normalizeStringArgument$1;
|
|
1214
1216
|
var installErrorCause = installErrorCause$1;
|
|
1215
1217
|
var installErrorStack = errorStackInstall;
|
|
1216
|
-
var DESCRIPTORS$
|
|
1218
|
+
var DESCRIPTORS$8 = descriptors;
|
|
1217
1219
|
|
|
1218
1220
|
var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
|
|
1219
1221
|
var STACK_TRACE_LIMIT = 'stackTraceLimit';
|
|
@@ -1227,7 +1229,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
1227
1229
|
var OriginalErrorPrototype = OriginalError.prototype;
|
|
1228
1230
|
|
|
1229
1231
|
// V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
|
|
1230
|
-
if (hasOwn$
|
|
1232
|
+
if (hasOwn$5(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
|
|
1231
1233
|
|
|
1232
1234
|
if (!FORCED) return OriginalError;
|
|
1233
1235
|
|
|
@@ -1236,7 +1238,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
1236
1238
|
var WrappedError = wrapper(function (a, b) {
|
|
1237
1239
|
var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
|
|
1238
1240
|
var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
|
|
1239
|
-
if (message !== undefined) createNonEnumerableProperty(result, 'message', message);
|
|
1241
|
+
if (message !== undefined) createNonEnumerableProperty$1(result, 'message', message);
|
|
1240
1242
|
installErrorStack(result, WrappedError, result.stack, 2);
|
|
1241
1243
|
if (this && isPrototypeOf$3(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
|
|
1242
1244
|
if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
|
|
@@ -1248,7 +1250,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
1248
1250
|
if (ERROR_NAME !== 'Error') {
|
|
1249
1251
|
if (setPrototypeOf$1) setPrototypeOf$1(WrappedError, BaseError);
|
|
1250
1252
|
else copyConstructorProperties$1(WrappedError, BaseError, { name: true });
|
|
1251
|
-
} else if (DESCRIPTORS$
|
|
1253
|
+
} else if (DESCRIPTORS$8 && STACK_TRACE_LIMIT in OriginalError) {
|
|
1252
1254
|
proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
|
|
1253
1255
|
proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
|
|
1254
1256
|
}
|
|
@@ -1258,7 +1260,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
1258
1260
|
try {
|
|
1259
1261
|
// Safari 13- bug: WebAssembly errors does not have a proper `.name`
|
|
1260
1262
|
if (OriginalErrorPrototype.name !== ERROR_NAME) {
|
|
1261
|
-
createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);
|
|
1263
|
+
createNonEnumerableProperty$1(OriginalErrorPrototype, 'name', ERROR_NAME);
|
|
1262
1264
|
}
|
|
1263
1265
|
OriginalErrorPrototype.constructor = WrappedError;
|
|
1264
1266
|
} catch (error) { /* empty */ }
|
|
@@ -1267,28 +1269,28 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
1267
1269
|
};
|
|
1268
1270
|
|
|
1269
1271
|
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
1270
|
-
var $$
|
|
1271
|
-
var global$
|
|
1272
|
+
var $$j = _export;
|
|
1273
|
+
var global$a = global$k;
|
|
1272
1274
|
var apply$2 = functionApply;
|
|
1273
1275
|
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
1274
1276
|
|
|
1275
1277
|
var WEB_ASSEMBLY = 'WebAssembly';
|
|
1276
|
-
var WebAssembly = global$
|
|
1278
|
+
var WebAssembly = global$a[WEB_ASSEMBLY];
|
|
1277
1279
|
|
|
1278
1280
|
// eslint-disable-next-line es/no-error-cause -- feature detection
|
|
1279
|
-
var FORCED$
|
|
1281
|
+
var FORCED$2 = new Error('e', { cause: 7 }).cause !== 7;
|
|
1280
1282
|
|
|
1281
1283
|
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
1282
1284
|
var O = {};
|
|
1283
|
-
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$
|
|
1284
|
-
$$
|
|
1285
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$2);
|
|
1286
|
+
$$j({ global: true, constructor: true, arity: 1, forced: FORCED$2 }, O);
|
|
1285
1287
|
};
|
|
1286
1288
|
|
|
1287
1289
|
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
1288
1290
|
if (WebAssembly && WebAssembly[ERROR_NAME]) {
|
|
1289
1291
|
var O = {};
|
|
1290
|
-
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$
|
|
1291
|
-
$$
|
|
1292
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$2);
|
|
1293
|
+
$$j({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$2 }, O);
|
|
1292
1294
|
}
|
|
1293
1295
|
};
|
|
1294
1296
|
|
|
@@ -1333,15 +1335,15 @@ var isArray$4 = Array.isArray || function isArray(argument) {
|
|
|
1333
1335
|
return classof$5(argument) === 'Array';
|
|
1334
1336
|
};
|
|
1335
1337
|
|
|
1336
|
-
var DESCRIPTORS$
|
|
1338
|
+
var DESCRIPTORS$7 = descriptors;
|
|
1337
1339
|
var isArray$3 = isArray$4;
|
|
1338
1340
|
|
|
1339
|
-
var $TypeError$
|
|
1341
|
+
var $TypeError$9 = TypeError;
|
|
1340
1342
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1341
1343
|
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
1342
1344
|
|
|
1343
1345
|
// Safari < 13 does not throw an error in this case
|
|
1344
|
-
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$
|
|
1346
|
+
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$7 && !function () {
|
|
1345
1347
|
// makes no sense without proper strict mode support
|
|
1346
1348
|
if (this !== undefined) return true;
|
|
1347
1349
|
try {
|
|
@@ -1354,28 +1356,28 @@ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$5 && !function () {
|
|
|
1354
1356
|
|
|
1355
1357
|
var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
|
|
1356
1358
|
if (isArray$3(O) && !getOwnPropertyDescriptor$1(O, 'length').writable) {
|
|
1357
|
-
throw new $TypeError$
|
|
1359
|
+
throw new $TypeError$9('Cannot set read only .length');
|
|
1358
1360
|
} return O.length = length;
|
|
1359
1361
|
} : function (O, length) {
|
|
1360
1362
|
return O.length = length;
|
|
1361
1363
|
};
|
|
1362
1364
|
|
|
1363
|
-
var $TypeError$
|
|
1365
|
+
var $TypeError$8 = TypeError;
|
|
1364
1366
|
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
1365
1367
|
|
|
1366
1368
|
var doesNotExceedSafeInteger$2 = function (it) {
|
|
1367
|
-
if (it > MAX_SAFE_INTEGER) throw $TypeError$
|
|
1369
|
+
if (it > MAX_SAFE_INTEGER) throw $TypeError$8('Maximum allowed index exceeded');
|
|
1368
1370
|
return it;
|
|
1369
1371
|
};
|
|
1370
1372
|
|
|
1371
|
-
var $$
|
|
1372
|
-
var toObject$
|
|
1373
|
+
var $$i = _export;
|
|
1374
|
+
var toObject$3 = toObject$5;
|
|
1373
1375
|
var lengthOfArrayLike$3 = lengthOfArrayLike$5;
|
|
1374
1376
|
var setArrayLength = arraySetLength;
|
|
1375
1377
|
var doesNotExceedSafeInteger$1 = doesNotExceedSafeInteger$2;
|
|
1376
|
-
var fails$
|
|
1378
|
+
var fails$8 = fails$i;
|
|
1377
1379
|
|
|
1378
|
-
var INCORRECT_TO_LENGTH = fails$
|
|
1380
|
+
var INCORRECT_TO_LENGTH = fails$8(function () {
|
|
1379
1381
|
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
1380
1382
|
});
|
|
1381
1383
|
|
|
@@ -1390,14 +1392,14 @@ var properErrorOnNonWritableLength = function () {
|
|
|
1390
1392
|
}
|
|
1391
1393
|
};
|
|
1392
1394
|
|
|
1393
|
-
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
1395
|
+
var FORCED$1 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
1394
1396
|
|
|
1395
1397
|
// `Array.prototype.push` method
|
|
1396
1398
|
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
1397
|
-
$$
|
|
1399
|
+
$$i({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, {
|
|
1398
1400
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
1399
1401
|
push: function push(item) {
|
|
1400
|
-
var O = toObject$
|
|
1402
|
+
var O = toObject$3(this);
|
|
1401
1403
|
var len = lengthOfArrayLike$3(O);
|
|
1402
1404
|
var argCount = arguments.length;
|
|
1403
1405
|
doesNotExceedSafeInteger$1(len + argCount);
|
|
@@ -1452,14 +1454,14 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
1452
1454
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1453
1455
|
};
|
|
1454
1456
|
|
|
1455
|
-
var DESCRIPTORS$
|
|
1457
|
+
var DESCRIPTORS$6 = descriptors;
|
|
1456
1458
|
var uncurryThis$8 = functionUncurryThis;
|
|
1457
|
-
var call$
|
|
1458
|
-
var fails$
|
|
1459
|
+
var call$a = functionCall;
|
|
1460
|
+
var fails$7 = fails$i;
|
|
1459
1461
|
var objectKeys$1 = objectKeys$2;
|
|
1460
1462
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1461
1463
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1462
|
-
var toObject$
|
|
1464
|
+
var toObject$2 = toObject$5;
|
|
1463
1465
|
var IndexedObject = indexedObject;
|
|
1464
1466
|
|
|
1465
1467
|
// eslint-disable-next-line es/no-object-assign -- safe
|
|
@@ -1470,9 +1472,9 @@ var concat = uncurryThis$8([].concat);
|
|
|
1470
1472
|
|
|
1471
1473
|
// `Object.assign` method
|
|
1472
1474
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1473
|
-
var objectAssign = !$assign || fails$
|
|
1475
|
+
var objectAssign = !$assign || fails$7(function () {
|
|
1474
1476
|
// should have correct order of operations (Edge bug)
|
|
1475
|
-
if (DESCRIPTORS$
|
|
1477
|
+
if (DESCRIPTORS$6 && $assign({ b: 1 }, $assign(defineProperty$3({}, 'a', {
|
|
1476
1478
|
enumerable: true,
|
|
1477
1479
|
get: function () {
|
|
1478
1480
|
defineProperty$3(this, 'b', {
|
|
@@ -1491,7 +1493,7 @@ var objectAssign = !$assign || fails$4(function () {
|
|
|
1491
1493
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
1492
1494
|
return $assign({}, A)[symbol] !== 7 || objectKeys$1($assign({}, B)).join('') !== alphabet;
|
|
1493
1495
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
1494
|
-
var T = toObject$
|
|
1496
|
+
var T = toObject$2(target);
|
|
1495
1497
|
var argumentsLength = arguments.length;
|
|
1496
1498
|
var index = 1;
|
|
1497
1499
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
@@ -1504,60 +1506,60 @@ var objectAssign = !$assign || fails$4(function () {
|
|
|
1504
1506
|
var key;
|
|
1505
1507
|
while (length > j) {
|
|
1506
1508
|
key = keys[j++];
|
|
1507
|
-
if (!DESCRIPTORS$
|
|
1509
|
+
if (!DESCRIPTORS$6 || call$a(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1508
1510
|
}
|
|
1509
1511
|
} return T;
|
|
1510
1512
|
} : $assign;
|
|
1511
1513
|
|
|
1512
|
-
var $$
|
|
1514
|
+
var $$h = _export;
|
|
1513
1515
|
var assign = objectAssign;
|
|
1514
1516
|
|
|
1515
1517
|
// `Object.assign` method
|
|
1516
1518
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1517
1519
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1518
|
-
$$
|
|
1520
|
+
$$h({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1519
1521
|
assign: assign
|
|
1520
1522
|
});
|
|
1521
1523
|
|
|
1522
|
-
var global$
|
|
1524
|
+
var global$9 = global$k;
|
|
1523
1525
|
var classof$4 = classofRaw$2;
|
|
1524
1526
|
|
|
1525
|
-
var engineIsNode = classof$4(global$
|
|
1527
|
+
var engineIsNode = classof$4(global$9.process) === 'process';
|
|
1526
1528
|
|
|
1527
1529
|
var defineProperty$2 = objectDefineProperty.f;
|
|
1528
|
-
var hasOwn$
|
|
1529
|
-
var wellKnownSymbol$
|
|
1530
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
1531
|
+
var wellKnownSymbol$d = wellKnownSymbol$h;
|
|
1530
1532
|
|
|
1531
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
1533
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$d('toStringTag');
|
|
1532
1534
|
|
|
1533
1535
|
var setToStringTag$1 = function (target, TAG, STATIC) {
|
|
1534
1536
|
if (target && !STATIC) target = target.prototype;
|
|
1535
|
-
if (target && !hasOwn$
|
|
1536
|
-
defineProperty$2(target, TO_STRING_TAG, { configurable: true, value: TAG });
|
|
1537
|
+
if (target && !hasOwn$4(target, TO_STRING_TAG$2)) {
|
|
1538
|
+
defineProperty$2(target, TO_STRING_TAG$2, { configurable: true, value: TAG });
|
|
1537
1539
|
}
|
|
1538
1540
|
};
|
|
1539
1541
|
|
|
1540
1542
|
var makeBuiltIn = makeBuiltInExports;
|
|
1541
1543
|
var defineProperty$1 = objectDefineProperty;
|
|
1542
1544
|
|
|
1543
|
-
var defineBuiltInAccessor$
|
|
1545
|
+
var defineBuiltInAccessor$3 = function (target, name, descriptor) {
|
|
1544
1546
|
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
1545
1547
|
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
1546
1548
|
return defineProperty$1.f(target, name, descriptor);
|
|
1547
1549
|
};
|
|
1548
1550
|
|
|
1549
1551
|
var getBuiltIn$5 = getBuiltIn$9;
|
|
1550
|
-
var defineBuiltInAccessor$
|
|
1551
|
-
var wellKnownSymbol$
|
|
1552
|
-
var DESCRIPTORS$
|
|
1552
|
+
var defineBuiltInAccessor$2 = defineBuiltInAccessor$3;
|
|
1553
|
+
var wellKnownSymbol$c = wellKnownSymbol$h;
|
|
1554
|
+
var DESCRIPTORS$5 = descriptors;
|
|
1553
1555
|
|
|
1554
|
-
var SPECIES$3 = wellKnownSymbol$
|
|
1556
|
+
var SPECIES$3 = wellKnownSymbol$c('species');
|
|
1555
1557
|
|
|
1556
1558
|
var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
1557
1559
|
var Constructor = getBuiltIn$5(CONSTRUCTOR_NAME);
|
|
1558
1560
|
|
|
1559
|
-
if (DESCRIPTORS$
|
|
1560
|
-
defineBuiltInAccessor$
|
|
1561
|
+
if (DESCRIPTORS$5 && Constructor && !Constructor[SPECIES$3]) {
|
|
1562
|
+
defineBuiltInAccessor$2(Constructor, SPECIES$3, {
|
|
1561
1563
|
configurable: true,
|
|
1562
1564
|
get: function () { return this; }
|
|
1563
1565
|
});
|
|
@@ -1566,16 +1568,16 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
|
1566
1568
|
|
|
1567
1569
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
1568
1570
|
|
|
1569
|
-
var $TypeError$
|
|
1571
|
+
var $TypeError$7 = TypeError;
|
|
1570
1572
|
|
|
1571
|
-
var anInstance$
|
|
1573
|
+
var anInstance$2 = function (it, Prototype) {
|
|
1572
1574
|
if (isPrototypeOf$2(Prototype, it)) return it;
|
|
1573
|
-
throw new $TypeError$
|
|
1575
|
+
throw new $TypeError$7('Incorrect invocation');
|
|
1574
1576
|
};
|
|
1575
1577
|
|
|
1576
1578
|
var uncurryThis$7 = functionUncurryThis;
|
|
1577
|
-
var fails$
|
|
1578
|
-
var isCallable$
|
|
1579
|
+
var fails$6 = fails$i;
|
|
1580
|
+
var isCallable$a = isCallable$n;
|
|
1579
1581
|
var classof$3 = classof$7;
|
|
1580
1582
|
var getBuiltIn$4 = getBuiltIn$9;
|
|
1581
1583
|
var inspectSource$1 = inspectSource$3;
|
|
@@ -1587,7 +1589,7 @@ var exec$1 = uncurryThis$7(constructorRegExp.exec);
|
|
|
1587
1589
|
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
1588
1590
|
|
|
1589
1591
|
var isConstructorModern = function isConstructor(argument) {
|
|
1590
|
-
if (!isCallable$
|
|
1592
|
+
if (!isCallable$a(argument)) return false;
|
|
1591
1593
|
try {
|
|
1592
1594
|
construct(noop, [], argument);
|
|
1593
1595
|
return true;
|
|
@@ -1597,7 +1599,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
1597
1599
|
};
|
|
1598
1600
|
|
|
1599
1601
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
1600
|
-
if (!isCallable$
|
|
1602
|
+
if (!isCallable$a(argument)) return false;
|
|
1601
1603
|
switch (classof$3(argument)) {
|
|
1602
1604
|
case 'AsyncFunction':
|
|
1603
1605
|
case 'GeneratorFunction':
|
|
@@ -1617,7 +1619,7 @@ isConstructorLegacy.sham = true;
|
|
|
1617
1619
|
|
|
1618
1620
|
// `IsConstructor` abstract operation
|
|
1619
1621
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
1620
|
-
var isConstructor$2 = !construct || fails$
|
|
1622
|
+
var isConstructor$2 = !construct || fails$6(function () {
|
|
1621
1623
|
var called;
|
|
1622
1624
|
return isConstructorModern(isConstructorModern.call)
|
|
1623
1625
|
|| !isConstructorModern(Object)
|
|
@@ -1628,27 +1630,27 @@ var isConstructor$2 = !construct || fails$3(function () {
|
|
|
1628
1630
|
var isConstructor$1 = isConstructor$2;
|
|
1629
1631
|
var tryToString$2 = tryToString$4;
|
|
1630
1632
|
|
|
1631
|
-
var $TypeError$
|
|
1633
|
+
var $TypeError$6 = TypeError;
|
|
1632
1634
|
|
|
1633
1635
|
// `Assert: IsConstructor(argument) is true`
|
|
1634
1636
|
var aConstructor$1 = function (argument) {
|
|
1635
1637
|
if (isConstructor$1(argument)) return argument;
|
|
1636
|
-
throw new $TypeError$
|
|
1638
|
+
throw new $TypeError$6(tryToString$2(argument) + ' is not a constructor');
|
|
1637
1639
|
};
|
|
1638
1640
|
|
|
1639
|
-
var anObject$
|
|
1641
|
+
var anObject$d = anObject$g;
|
|
1640
1642
|
var aConstructor = aConstructor$1;
|
|
1641
1643
|
var isNullOrUndefined$1 = isNullOrUndefined$4;
|
|
1642
|
-
var wellKnownSymbol$
|
|
1644
|
+
var wellKnownSymbol$b = wellKnownSymbol$h;
|
|
1643
1645
|
|
|
1644
|
-
var SPECIES$2 = wellKnownSymbol$
|
|
1646
|
+
var SPECIES$2 = wellKnownSymbol$b('species');
|
|
1645
1647
|
|
|
1646
1648
|
// `SpeciesConstructor` abstract operation
|
|
1647
1649
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
1648
1650
|
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
1649
|
-
var C = anObject$
|
|
1651
|
+
var C = anObject$d(O).constructor;
|
|
1650
1652
|
var S;
|
|
1651
|
-
return C === undefined || isNullOrUndefined$1(S = anObject$
|
|
1653
|
+
return C === undefined || isNullOrUndefined$1(S = anObject$d(C)[SPECIES$2]) ? defaultConstructor : aConstructor(S);
|
|
1652
1654
|
};
|
|
1653
1655
|
|
|
1654
1656
|
var classofRaw = classofRaw$2;
|
|
@@ -1662,14 +1664,14 @@ var functionUncurryThisClause = function (fn) {
|
|
|
1662
1664
|
};
|
|
1663
1665
|
|
|
1664
1666
|
var uncurryThis$5 = functionUncurryThisClause;
|
|
1665
|
-
var aCallable$
|
|
1667
|
+
var aCallable$a = aCallable$d;
|
|
1666
1668
|
var NATIVE_BIND = functionBindNative;
|
|
1667
1669
|
|
|
1668
1670
|
var bind$5 = uncurryThis$5(uncurryThis$5.bind);
|
|
1669
1671
|
|
|
1670
1672
|
// optional / simple context binding
|
|
1671
1673
|
var functionBindContext = function (fn, that) {
|
|
1672
|
-
aCallable$
|
|
1674
|
+
aCallable$a(fn);
|
|
1673
1675
|
return that === undefined ? fn : NATIVE_BIND ? bind$5(fn, that) : function (/* ...args */) {
|
|
1674
1676
|
return fn.apply(that, arguments);
|
|
1675
1677
|
};
|
|
@@ -1683,10 +1685,10 @@ var uncurryThis$4 = functionUncurryThis;
|
|
|
1683
1685
|
|
|
1684
1686
|
var arraySlice$2 = uncurryThis$4([].slice);
|
|
1685
1687
|
|
|
1686
|
-
var $TypeError$
|
|
1688
|
+
var $TypeError$5 = TypeError;
|
|
1687
1689
|
|
|
1688
1690
|
var validateArgumentsLength$1 = function (passed, required) {
|
|
1689
|
-
if (passed < required) throw new $TypeError$
|
|
1691
|
+
if (passed < required) throw new $TypeError$5('Not enough arguments');
|
|
1690
1692
|
return passed;
|
|
1691
1693
|
};
|
|
1692
1694
|
|
|
@@ -1695,12 +1697,12 @@ var userAgent$2 = engineUserAgent;
|
|
|
1695
1697
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
1696
1698
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
1697
1699
|
|
|
1698
|
-
var global$
|
|
1700
|
+
var global$8 = global$k;
|
|
1699
1701
|
var apply$1 = functionApply;
|
|
1700
1702
|
var bind$4 = functionBindContext;
|
|
1701
|
-
var isCallable$
|
|
1702
|
-
var hasOwn$
|
|
1703
|
-
var fails$
|
|
1703
|
+
var isCallable$9 = isCallable$n;
|
|
1704
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
1705
|
+
var fails$5 = fails$i;
|
|
1704
1706
|
var html$1 = html$2;
|
|
1705
1707
|
var arraySlice$1 = arraySlice$2;
|
|
1706
1708
|
var createElement = documentCreateElement$1;
|
|
@@ -1708,25 +1710,25 @@ var validateArgumentsLength = validateArgumentsLength$1;
|
|
|
1708
1710
|
var IS_IOS$1 = engineIsIos;
|
|
1709
1711
|
var IS_NODE$3 = engineIsNode;
|
|
1710
1712
|
|
|
1711
|
-
var set = global$
|
|
1712
|
-
var clear = global$
|
|
1713
|
-
var process$2 = global$
|
|
1714
|
-
var Dispatch = global$
|
|
1715
|
-
var Function$1 = global$
|
|
1716
|
-
var MessageChannel = global$
|
|
1717
|
-
var String$1 = global$
|
|
1713
|
+
var set = global$8.setImmediate;
|
|
1714
|
+
var clear = global$8.clearImmediate;
|
|
1715
|
+
var process$2 = global$8.process;
|
|
1716
|
+
var Dispatch = global$8.Dispatch;
|
|
1717
|
+
var Function$1 = global$8.Function;
|
|
1718
|
+
var MessageChannel = global$8.MessageChannel;
|
|
1719
|
+
var String$1 = global$8.String;
|
|
1718
1720
|
var counter = 0;
|
|
1719
1721
|
var queue$2 = {};
|
|
1720
1722
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
1721
1723
|
var $location, defer, channel, port;
|
|
1722
1724
|
|
|
1723
|
-
fails$
|
|
1725
|
+
fails$5(function () {
|
|
1724
1726
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
1725
|
-
$location = global$
|
|
1727
|
+
$location = global$8.location;
|
|
1726
1728
|
});
|
|
1727
1729
|
|
|
1728
1730
|
var run = function (id) {
|
|
1729
|
-
if (hasOwn$
|
|
1731
|
+
if (hasOwn$3(queue$2, id)) {
|
|
1730
1732
|
var fn = queue$2[id];
|
|
1731
1733
|
delete queue$2[id];
|
|
1732
1734
|
fn();
|
|
@@ -1745,14 +1747,14 @@ var eventListener = function (event) {
|
|
|
1745
1747
|
|
|
1746
1748
|
var globalPostMessageDefer = function (id) {
|
|
1747
1749
|
// old engines have not location.origin
|
|
1748
|
-
global$
|
|
1750
|
+
global$8.postMessage(String$1(id), $location.protocol + '//' + $location.host);
|
|
1749
1751
|
};
|
|
1750
1752
|
|
|
1751
1753
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
1752
1754
|
if (!set || !clear) {
|
|
1753
1755
|
set = function setImmediate(handler) {
|
|
1754
1756
|
validateArgumentsLength(arguments.length, 1);
|
|
1755
|
-
var fn = isCallable$
|
|
1757
|
+
var fn = isCallable$9(handler) ? handler : Function$1(handler);
|
|
1756
1758
|
var args = arraySlice$1(arguments, 1);
|
|
1757
1759
|
queue$2[++counter] = function () {
|
|
1758
1760
|
apply$1(fn, undefined, args);
|
|
@@ -1783,14 +1785,14 @@ if (!set || !clear) {
|
|
|
1783
1785
|
// Browsers with postMessage, skip WebWorkers
|
|
1784
1786
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
1785
1787
|
} else if (
|
|
1786
|
-
global$
|
|
1787
|
-
isCallable$
|
|
1788
|
-
!global$
|
|
1788
|
+
global$8.addEventListener &&
|
|
1789
|
+
isCallable$9(global$8.postMessage) &&
|
|
1790
|
+
!global$8.importScripts &&
|
|
1789
1791
|
$location && $location.protocol !== 'file:' &&
|
|
1790
|
-
!fails$
|
|
1792
|
+
!fails$5(globalPostMessageDefer)
|
|
1791
1793
|
) {
|
|
1792
1794
|
defer = globalPostMessageDefer;
|
|
1793
|
-
global$
|
|
1795
|
+
global$8.addEventListener('message', eventListener, false);
|
|
1794
1796
|
// IE8-
|
|
1795
1797
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
1796
1798
|
defer = function (id) {
|
|
@@ -1812,16 +1814,16 @@ var task$1 = {
|
|
|
1812
1814
|
clear: clear
|
|
1813
1815
|
};
|
|
1814
1816
|
|
|
1815
|
-
var global$
|
|
1816
|
-
var DESCRIPTORS$
|
|
1817
|
+
var global$7 = global$k;
|
|
1818
|
+
var DESCRIPTORS$4 = descriptors;
|
|
1817
1819
|
|
|
1818
1820
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1819
1821
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
1820
1822
|
|
|
1821
1823
|
// Avoid NodeJS experimental warning
|
|
1822
1824
|
var safeGetBuiltIn$1 = function (name) {
|
|
1823
|
-
if (!DESCRIPTORS$
|
|
1824
|
-
var descriptor = getOwnPropertyDescriptor(global$
|
|
1825
|
+
if (!DESCRIPTORS$4) return global$7[name];
|
|
1826
|
+
var descriptor = getOwnPropertyDescriptor(global$7, name);
|
|
1825
1827
|
return descriptor && descriptor.value;
|
|
1826
1828
|
};
|
|
1827
1829
|
|
|
@@ -1858,7 +1860,7 @@ var userAgent = engineUserAgent;
|
|
|
1858
1860
|
|
|
1859
1861
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
1860
1862
|
|
|
1861
|
-
var global$
|
|
1863
|
+
var global$6 = global$k;
|
|
1862
1864
|
var safeGetBuiltIn = safeGetBuiltIn$1;
|
|
1863
1865
|
var bind$3 = functionBindContext;
|
|
1864
1866
|
var macrotask = task$1.set;
|
|
@@ -1868,10 +1870,10 @@ var IS_IOS_PEBBLE = engineIsIosPebble;
|
|
|
1868
1870
|
var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
|
|
1869
1871
|
var IS_NODE$2 = engineIsNode;
|
|
1870
1872
|
|
|
1871
|
-
var MutationObserver = global$
|
|
1872
|
-
var document$2 = global$
|
|
1873
|
-
var process$1 = global$
|
|
1874
|
-
var Promise$1 = global$
|
|
1873
|
+
var MutationObserver = global$6.MutationObserver || global$6.WebKitMutationObserver;
|
|
1874
|
+
var document$2 = global$6.document;
|
|
1875
|
+
var process$1 = global$6.process;
|
|
1876
|
+
var Promise$1 = global$6.Promise;
|
|
1875
1877
|
var microtask$1 = safeGetBuiltIn('queueMicrotask');
|
|
1876
1878
|
var notify$1, toggle, node, promise, then;
|
|
1877
1879
|
|
|
@@ -1923,7 +1925,7 @@ if (!microtask$1) {
|
|
|
1923
1925
|
// - setTimeout
|
|
1924
1926
|
} else {
|
|
1925
1927
|
// `webpack` dev server bug on IE global methods - use bind(fn, global)
|
|
1926
|
-
macrotask = bind$3(macrotask, global$
|
|
1928
|
+
macrotask = bind$3(macrotask, global$6);
|
|
1927
1929
|
notify$1 = function () {
|
|
1928
1930
|
macrotask(flush);
|
|
1929
1931
|
};
|
|
@@ -1952,9 +1954,9 @@ var perform$3 = function (exec) {
|
|
|
1952
1954
|
}
|
|
1953
1955
|
};
|
|
1954
1956
|
|
|
1955
|
-
var global$
|
|
1957
|
+
var global$5 = global$k;
|
|
1956
1958
|
|
|
1957
|
-
var promiseNativeConstructor = global$
|
|
1959
|
+
var promiseNativeConstructor = global$5.Promise;
|
|
1958
1960
|
|
|
1959
1961
|
/* global Deno -- Deno case */
|
|
1960
1962
|
var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
|
|
@@ -1966,20 +1968,20 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
|
1966
1968
|
&& typeof window == 'object'
|
|
1967
1969
|
&& typeof document == 'object';
|
|
1968
1970
|
|
|
1969
|
-
var global$
|
|
1971
|
+
var global$4 = global$k;
|
|
1970
1972
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
1971
|
-
var isCallable$
|
|
1973
|
+
var isCallable$8 = isCallable$n;
|
|
1972
1974
|
var isForced = isForced_1;
|
|
1973
1975
|
var inspectSource = inspectSource$3;
|
|
1974
|
-
var wellKnownSymbol$
|
|
1976
|
+
var wellKnownSymbol$a = wellKnownSymbol$h;
|
|
1975
1977
|
var IS_BROWSER = engineIsBrowser;
|
|
1976
1978
|
var IS_DENO = engineIsDeno;
|
|
1977
1979
|
var V8_VERSION = engineV8Version;
|
|
1978
1980
|
|
|
1979
1981
|
NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
|
|
1980
|
-
var SPECIES$1 = wellKnownSymbol$
|
|
1982
|
+
var SPECIES$1 = wellKnownSymbol$a('species');
|
|
1981
1983
|
var SUBCLASSING = false;
|
|
1982
|
-
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$
|
|
1984
|
+
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$8(global$4.PromiseRejectionEvent);
|
|
1983
1985
|
|
|
1984
1986
|
var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
1985
1987
|
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
|
|
@@ -2013,19 +2015,19 @@ var promiseConstructorDetection = {
|
|
|
2013
2015
|
|
|
2014
2016
|
var newPromiseCapability$2 = {};
|
|
2015
2017
|
|
|
2016
|
-
var aCallable$
|
|
2018
|
+
var aCallable$9 = aCallable$d;
|
|
2017
2019
|
|
|
2018
|
-
var $TypeError$
|
|
2020
|
+
var $TypeError$4 = TypeError;
|
|
2019
2021
|
|
|
2020
2022
|
var PromiseCapability = function (C) {
|
|
2021
2023
|
var resolve, reject;
|
|
2022
2024
|
this.promise = new C(function ($$resolve, $$reject) {
|
|
2023
|
-
if (resolve !== undefined || reject !== undefined) throw new $TypeError$
|
|
2025
|
+
if (resolve !== undefined || reject !== undefined) throw new $TypeError$4('Bad Promise constructor');
|
|
2024
2026
|
resolve = $$resolve;
|
|
2025
2027
|
reject = $$reject;
|
|
2026
2028
|
});
|
|
2027
|
-
this.resolve = aCallable$
|
|
2028
|
-
this.reject = aCallable$
|
|
2029
|
+
this.resolve = aCallable$9(resolve);
|
|
2030
|
+
this.reject = aCallable$9(reject);
|
|
2029
2031
|
};
|
|
2030
2032
|
|
|
2031
2033
|
// `NewPromiseCapability` abstract operation
|
|
@@ -2034,25 +2036,25 @@ newPromiseCapability$2.f = function (C) {
|
|
|
2034
2036
|
return new PromiseCapability(C);
|
|
2035
2037
|
};
|
|
2036
2038
|
|
|
2037
|
-
var $$
|
|
2039
|
+
var $$g = _export;
|
|
2038
2040
|
var IS_NODE = engineIsNode;
|
|
2039
|
-
var global$
|
|
2040
|
-
var call$
|
|
2041
|
-
var defineBuiltIn$
|
|
2041
|
+
var global$3 = global$k;
|
|
2042
|
+
var call$9 = functionCall;
|
|
2043
|
+
var defineBuiltIn$3 = defineBuiltIn$5;
|
|
2042
2044
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
2043
2045
|
var setToStringTag = setToStringTag$1;
|
|
2044
2046
|
var setSpecies = setSpecies$1;
|
|
2045
|
-
var aCallable$
|
|
2046
|
-
var isCallable$
|
|
2047
|
-
var isObject$
|
|
2048
|
-
var anInstance = anInstance$
|
|
2047
|
+
var aCallable$8 = aCallable$d;
|
|
2048
|
+
var isCallable$7 = isCallable$n;
|
|
2049
|
+
var isObject$4 = isObject$e;
|
|
2050
|
+
var anInstance$1 = anInstance$2;
|
|
2049
2051
|
var speciesConstructor = speciesConstructor$1;
|
|
2050
2052
|
var task = task$1.set;
|
|
2051
2053
|
var microtask = microtask_1;
|
|
2052
2054
|
var hostReportErrors = hostReportErrors$1;
|
|
2053
2055
|
var perform$2 = perform$3;
|
|
2054
2056
|
var Queue = queue$1;
|
|
2055
|
-
var InternalStateModule = internalState;
|
|
2057
|
+
var InternalStateModule$1 = internalState;
|
|
2056
2058
|
var NativePromiseConstructor$2 = promiseNativeConstructor;
|
|
2057
2059
|
var PromiseConstructorDetection = promiseConstructorDetection;
|
|
2058
2060
|
var newPromiseCapabilityModule$3 = newPromiseCapability$2;
|
|
@@ -2061,18 +2063,18 @@ var PROMISE = 'Promise';
|
|
|
2061
2063
|
var FORCED_PROMISE_CONSTRUCTOR$4 = PromiseConstructorDetection.CONSTRUCTOR;
|
|
2062
2064
|
var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
|
|
2063
2065
|
var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;
|
|
2064
|
-
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
|
|
2065
|
-
var setInternalState = InternalStateModule.set;
|
|
2066
|
+
var getInternalPromiseState = InternalStateModule$1.getterFor(PROMISE);
|
|
2067
|
+
var setInternalState$1 = InternalStateModule$1.set;
|
|
2066
2068
|
var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
|
|
2067
2069
|
var PromiseConstructor = NativePromiseConstructor$2;
|
|
2068
2070
|
var PromisePrototype = NativePromisePrototype$1;
|
|
2069
|
-
var TypeError$1 = global$
|
|
2070
|
-
var document$1 = global$
|
|
2071
|
-
var process = global$
|
|
2071
|
+
var TypeError$1 = global$3.TypeError;
|
|
2072
|
+
var document$1 = global$3.document;
|
|
2073
|
+
var process = global$3.process;
|
|
2072
2074
|
var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
|
|
2073
2075
|
var newGenericPromiseCapability = newPromiseCapability$1;
|
|
2074
2076
|
|
|
2075
|
-
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$
|
|
2077
|
+
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$3.dispatchEvent);
|
|
2076
2078
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
2077
2079
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
2078
2080
|
var PENDING = 0;
|
|
@@ -2086,7 +2088,7 @@ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
|
2086
2088
|
// helpers
|
|
2087
2089
|
var isThenable = function (it) {
|
|
2088
2090
|
var then;
|
|
2089
|
-
return isObject$
|
|
2091
|
+
return isObject$4(it) && isCallable$7(then = it.then) ? then : false;
|
|
2090
2092
|
};
|
|
2091
2093
|
|
|
2092
2094
|
var callReaction = function (reaction, state) {
|
|
@@ -2115,7 +2117,7 @@ var callReaction = function (reaction, state) {
|
|
|
2115
2117
|
if (result === reaction.promise) {
|
|
2116
2118
|
reject(new TypeError$1('Promise-chain cycle'));
|
|
2117
2119
|
} else if (then = isThenable(result)) {
|
|
2118
|
-
call$
|
|
2120
|
+
call$9(then, result, resolve, reject);
|
|
2119
2121
|
} else resolve(result);
|
|
2120
2122
|
} else reject(value);
|
|
2121
2123
|
} catch (error) {
|
|
@@ -2145,14 +2147,14 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
2145
2147
|
event.promise = promise;
|
|
2146
2148
|
event.reason = reason;
|
|
2147
2149
|
event.initEvent(name, false, true);
|
|
2148
|
-
global$
|
|
2150
|
+
global$3.dispatchEvent(event);
|
|
2149
2151
|
} else event = { promise: promise, reason: reason };
|
|
2150
|
-
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$
|
|
2152
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$3['on' + name])) handler(event);
|
|
2151
2153
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
2152
2154
|
};
|
|
2153
2155
|
|
|
2154
2156
|
var onUnhandled = function (state) {
|
|
2155
|
-
call$
|
|
2157
|
+
call$9(task, global$3, function () {
|
|
2156
2158
|
var promise = state.facade;
|
|
2157
2159
|
var value = state.value;
|
|
2158
2160
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -2175,7 +2177,7 @@ var isUnhandled = function (state) {
|
|
|
2175
2177
|
};
|
|
2176
2178
|
|
|
2177
2179
|
var onHandleUnhandled = function (state) {
|
|
2178
|
-
call$
|
|
2180
|
+
call$9(task, global$3, function () {
|
|
2179
2181
|
var promise = state.facade;
|
|
2180
2182
|
if (IS_NODE) {
|
|
2181
2183
|
process.emit('rejectionHandled', promise);
|
|
@@ -2209,7 +2211,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
2209
2211
|
microtask(function () {
|
|
2210
2212
|
var wrapper = { done: false };
|
|
2211
2213
|
try {
|
|
2212
|
-
call$
|
|
2214
|
+
call$9(then, value,
|
|
2213
2215
|
bind$2(internalResolve, wrapper, state),
|
|
2214
2216
|
bind$2(internalReject, wrapper, state)
|
|
2215
2217
|
);
|
|
@@ -2231,9 +2233,9 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
2231
2233
|
if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
2232
2234
|
// 25.4.3.1 Promise(executor)
|
|
2233
2235
|
PromiseConstructor = function Promise(executor) {
|
|
2234
|
-
anInstance(this, PromisePrototype);
|
|
2235
|
-
aCallable$
|
|
2236
|
-
call$
|
|
2236
|
+
anInstance$1(this, PromisePrototype);
|
|
2237
|
+
aCallable$8(executor);
|
|
2238
|
+
call$9(Internal, this);
|
|
2237
2239
|
var state = getInternalPromiseState(this);
|
|
2238
2240
|
try {
|
|
2239
2241
|
executor(bind$2(internalResolve, state), bind$2(internalReject, state));
|
|
@@ -2246,7 +2248,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2246
2248
|
|
|
2247
2249
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2248
2250
|
Internal = function Promise(executor) {
|
|
2249
|
-
setInternalState(this, {
|
|
2251
|
+
setInternalState$1(this, {
|
|
2250
2252
|
type: PROMISE,
|
|
2251
2253
|
done: false,
|
|
2252
2254
|
notified: false,
|
|
@@ -2260,12 +2262,12 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2260
2262
|
|
|
2261
2263
|
// `Promise.prototype.then` method
|
|
2262
2264
|
// https://tc39.es/ecma262/#sec-promise.prototype.then
|
|
2263
|
-
Internal.prototype = defineBuiltIn$
|
|
2265
|
+
Internal.prototype = defineBuiltIn$3(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
2264
2266
|
var state = getInternalPromiseState(this);
|
|
2265
2267
|
var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));
|
|
2266
2268
|
state.parent = true;
|
|
2267
|
-
reaction.ok = isCallable$
|
|
2268
|
-
reaction.fail = isCallable$
|
|
2269
|
+
reaction.ok = isCallable$7(onFulfilled) ? onFulfilled : true;
|
|
2270
|
+
reaction.fail = isCallable$7(onRejected) && onRejected;
|
|
2269
2271
|
reaction.domain = IS_NODE ? process.domain : undefined;
|
|
2270
2272
|
if (state.state === PENDING) state.reactions.add(reaction);
|
|
2271
2273
|
else microtask(function () {
|
|
@@ -2288,15 +2290,15 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2288
2290
|
: newGenericPromiseCapability(C);
|
|
2289
2291
|
};
|
|
2290
2292
|
|
|
2291
|
-
if (isCallable$
|
|
2293
|
+
if (isCallable$7(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
|
|
2292
2294
|
nativeThen = NativePromisePrototype$1.then;
|
|
2293
2295
|
|
|
2294
2296
|
if (!NATIVE_PROMISE_SUBCLASSING) {
|
|
2295
2297
|
// make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
|
|
2296
|
-
defineBuiltIn$
|
|
2298
|
+
defineBuiltIn$3(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
|
|
2297
2299
|
var that = this;
|
|
2298
2300
|
return new PromiseConstructor(function (resolve, reject) {
|
|
2299
|
-
call$
|
|
2301
|
+
call$9(nativeThen, that, resolve, reject);
|
|
2300
2302
|
}).then(onFulfilled, onRejected);
|
|
2301
2303
|
// https://github.com/zloirock/core-js/issues/640
|
|
2302
2304
|
}, { unsafe: true });
|
|
@@ -2314,7 +2316,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2314
2316
|
}
|
|
2315
2317
|
}
|
|
2316
2318
|
|
|
2317
|
-
$$
|
|
2319
|
+
$$g({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
|
|
2318
2320
|
Promise: PromiseConstructor
|
|
2319
2321
|
});
|
|
2320
2322
|
|
|
@@ -2323,81 +2325,81 @@ setSpecies(PROMISE);
|
|
|
2323
2325
|
|
|
2324
2326
|
var iterators = {};
|
|
2325
2327
|
|
|
2326
|
-
var wellKnownSymbol$
|
|
2328
|
+
var wellKnownSymbol$9 = wellKnownSymbol$h;
|
|
2327
2329
|
var Iterators$1 = iterators;
|
|
2328
2330
|
|
|
2329
|
-
var ITERATOR$
|
|
2331
|
+
var ITERATOR$4 = wellKnownSymbol$9('iterator');
|
|
2330
2332
|
var ArrayPrototype$1 = Array.prototype;
|
|
2331
2333
|
|
|
2332
2334
|
// check on default Array iterator
|
|
2333
2335
|
var isArrayIteratorMethod$1 = function (it) {
|
|
2334
|
-
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype$1[ITERATOR$
|
|
2336
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype$1[ITERATOR$4] === it);
|
|
2335
2337
|
};
|
|
2336
2338
|
|
|
2337
2339
|
var classof$2 = classof$7;
|
|
2338
|
-
var getMethod$
|
|
2340
|
+
var getMethod$2 = getMethod$4;
|
|
2339
2341
|
var isNullOrUndefined = isNullOrUndefined$4;
|
|
2340
2342
|
var Iterators = iterators;
|
|
2341
|
-
var wellKnownSymbol$
|
|
2343
|
+
var wellKnownSymbol$8 = wellKnownSymbol$h;
|
|
2342
2344
|
|
|
2343
|
-
var ITERATOR$
|
|
2345
|
+
var ITERATOR$3 = wellKnownSymbol$8('iterator');
|
|
2344
2346
|
|
|
2345
2347
|
var getIteratorMethod$2 = function (it) {
|
|
2346
|
-
if (!isNullOrUndefined(it)) return getMethod$
|
|
2347
|
-
|| getMethod$
|
|
2348
|
+
if (!isNullOrUndefined(it)) return getMethod$2(it, ITERATOR$3)
|
|
2349
|
+
|| getMethod$2(it, '@@iterator')
|
|
2348
2350
|
|| Iterators[classof$2(it)];
|
|
2349
2351
|
};
|
|
2350
2352
|
|
|
2351
|
-
var call$
|
|
2352
|
-
var aCallable$
|
|
2353
|
-
var anObject$
|
|
2353
|
+
var call$8 = functionCall;
|
|
2354
|
+
var aCallable$7 = aCallable$d;
|
|
2355
|
+
var anObject$c = anObject$g;
|
|
2354
2356
|
var tryToString$1 = tryToString$4;
|
|
2355
2357
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
2356
2358
|
|
|
2357
|
-
var $TypeError$
|
|
2359
|
+
var $TypeError$3 = TypeError;
|
|
2358
2360
|
|
|
2359
2361
|
var getIterator$1 = function (argument, usingIterator) {
|
|
2360
2362
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
2361
|
-
if (aCallable$
|
|
2362
|
-
throw new $TypeError$
|
|
2363
|
+
if (aCallable$7(iteratorMethod)) return anObject$c(call$8(iteratorMethod, argument));
|
|
2364
|
+
throw new $TypeError$3(tryToString$1(argument) + ' is not iterable');
|
|
2363
2365
|
};
|
|
2364
2366
|
|
|
2365
|
-
var call$
|
|
2366
|
-
var anObject$
|
|
2367
|
-
var getMethod = getMethod$
|
|
2367
|
+
var call$7 = functionCall;
|
|
2368
|
+
var anObject$b = anObject$g;
|
|
2369
|
+
var getMethod$1 = getMethod$4;
|
|
2368
2370
|
|
|
2369
|
-
var iteratorClose$
|
|
2371
|
+
var iteratorClose$3 = function (iterator, kind, value) {
|
|
2370
2372
|
var innerResult, innerError;
|
|
2371
|
-
anObject$
|
|
2373
|
+
anObject$b(iterator);
|
|
2372
2374
|
try {
|
|
2373
|
-
innerResult = getMethod(iterator, 'return');
|
|
2375
|
+
innerResult = getMethod$1(iterator, 'return');
|
|
2374
2376
|
if (!innerResult) {
|
|
2375
2377
|
if (kind === 'throw') throw value;
|
|
2376
2378
|
return value;
|
|
2377
2379
|
}
|
|
2378
|
-
innerResult = call$
|
|
2380
|
+
innerResult = call$7(innerResult, iterator);
|
|
2379
2381
|
} catch (error) {
|
|
2380
2382
|
innerError = true;
|
|
2381
2383
|
innerResult = error;
|
|
2382
2384
|
}
|
|
2383
2385
|
if (kind === 'throw') throw value;
|
|
2384
2386
|
if (innerError) throw innerResult;
|
|
2385
|
-
anObject$
|
|
2387
|
+
anObject$b(innerResult);
|
|
2386
2388
|
return value;
|
|
2387
2389
|
};
|
|
2388
2390
|
|
|
2389
2391
|
var bind$1 = functionBindContext;
|
|
2390
|
-
var call$
|
|
2391
|
-
var anObject$
|
|
2392
|
+
var call$6 = functionCall;
|
|
2393
|
+
var anObject$a = anObject$g;
|
|
2392
2394
|
var tryToString = tryToString$4;
|
|
2393
2395
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
2394
2396
|
var lengthOfArrayLike$2 = lengthOfArrayLike$5;
|
|
2395
2397
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
2396
2398
|
var getIterator = getIterator$1;
|
|
2397
2399
|
var getIteratorMethod = getIteratorMethod$2;
|
|
2398
|
-
var iteratorClose = iteratorClose$
|
|
2400
|
+
var iteratorClose$2 = iteratorClose$3;
|
|
2399
2401
|
|
|
2400
|
-
var $TypeError$
|
|
2402
|
+
var $TypeError$2 = TypeError;
|
|
2401
2403
|
|
|
2402
2404
|
var Result = function (stopped, result) {
|
|
2403
2405
|
this.stopped = stopped;
|
|
@@ -2406,7 +2408,7 @@ var Result = function (stopped, result) {
|
|
|
2406
2408
|
|
|
2407
2409
|
var ResultPrototype = Result.prototype;
|
|
2408
2410
|
|
|
2409
|
-
var iterate$
|
|
2411
|
+
var iterate$5 = function (iterable, unboundFunction, options) {
|
|
2410
2412
|
var that = options && options.that;
|
|
2411
2413
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
2412
2414
|
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
@@ -2416,13 +2418,13 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
2416
2418
|
var iterator, iterFn, index, length, result, next, step;
|
|
2417
2419
|
|
|
2418
2420
|
var stop = function (condition) {
|
|
2419
|
-
if (iterator) iteratorClose(iterator, 'normal', condition);
|
|
2421
|
+
if (iterator) iteratorClose$2(iterator, 'normal', condition);
|
|
2420
2422
|
return new Result(true, condition);
|
|
2421
2423
|
};
|
|
2422
2424
|
|
|
2423
2425
|
var callFn = function (value) {
|
|
2424
2426
|
if (AS_ENTRIES) {
|
|
2425
|
-
anObject$
|
|
2427
|
+
anObject$a(value);
|
|
2426
2428
|
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
2427
2429
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
2428
2430
|
};
|
|
@@ -2433,7 +2435,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
2433
2435
|
iterator = iterable;
|
|
2434
2436
|
} else {
|
|
2435
2437
|
iterFn = getIteratorMethod(iterable);
|
|
2436
|
-
if (!iterFn) throw new $TypeError$
|
|
2438
|
+
if (!iterFn) throw new $TypeError$2(tryToString(iterable) + ' is not iterable');
|
|
2437
2439
|
// optimisation for array iterators
|
|
2438
2440
|
if (isArrayIteratorMethod(iterFn)) {
|
|
2439
2441
|
for (index = 0, length = lengthOfArrayLike$2(iterable); length > index; index++) {
|
|
@@ -2445,19 +2447,19 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
2445
2447
|
}
|
|
2446
2448
|
|
|
2447
2449
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
2448
|
-
while (!(step = call$
|
|
2450
|
+
while (!(step = call$6(next, iterator)).done) {
|
|
2449
2451
|
try {
|
|
2450
2452
|
result = callFn(step.value);
|
|
2451
2453
|
} catch (error) {
|
|
2452
|
-
iteratorClose(iterator, 'throw', error);
|
|
2454
|
+
iteratorClose$2(iterator, 'throw', error);
|
|
2453
2455
|
}
|
|
2454
2456
|
if (typeof result == 'object' && result && isPrototypeOf$1(ResultPrototype, result)) return result;
|
|
2455
2457
|
} return new Result(false);
|
|
2456
2458
|
};
|
|
2457
2459
|
|
|
2458
|
-
var wellKnownSymbol$
|
|
2460
|
+
var wellKnownSymbol$7 = wellKnownSymbol$h;
|
|
2459
2461
|
|
|
2460
|
-
var ITERATOR = wellKnownSymbol$
|
|
2462
|
+
var ITERATOR$2 = wellKnownSymbol$7('iterator');
|
|
2461
2463
|
var SAFE_CLOSING = false;
|
|
2462
2464
|
|
|
2463
2465
|
try {
|
|
@@ -2470,7 +2472,7 @@ try {
|
|
|
2470
2472
|
SAFE_CLOSING = true;
|
|
2471
2473
|
}
|
|
2472
2474
|
};
|
|
2473
|
-
iteratorWithReturn[ITERATOR] = function () {
|
|
2475
|
+
iteratorWithReturn[ITERATOR$2] = function () {
|
|
2474
2476
|
return this;
|
|
2475
2477
|
};
|
|
2476
2478
|
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
|
|
@@ -2484,7 +2486,7 @@ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
|
|
|
2484
2486
|
var ITERATION_SUPPORT = false;
|
|
2485
2487
|
try {
|
|
2486
2488
|
var object = {};
|
|
2487
|
-
object[ITERATOR] = function () {
|
|
2489
|
+
object[ITERATOR$2] = function () {
|
|
2488
2490
|
return {
|
|
2489
2491
|
next: function () {
|
|
2490
2492
|
return { done: ITERATION_SUPPORT = true };
|
|
@@ -2504,32 +2506,32 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
2504
2506
|
NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
|
|
2505
2507
|
});
|
|
2506
2508
|
|
|
2507
|
-
var $$
|
|
2508
|
-
var call$
|
|
2509
|
-
var aCallable$
|
|
2509
|
+
var $$f = _export;
|
|
2510
|
+
var call$5 = functionCall;
|
|
2511
|
+
var aCallable$6 = aCallable$d;
|
|
2510
2512
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
2511
2513
|
var perform$1 = perform$3;
|
|
2512
|
-
var iterate$
|
|
2514
|
+
var iterate$4 = iterate$5;
|
|
2513
2515
|
var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
2514
2516
|
|
|
2515
2517
|
// `Promise.all` method
|
|
2516
2518
|
// https://tc39.es/ecma262/#sec-promise.all
|
|
2517
|
-
$$
|
|
2519
|
+
$$f({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
|
|
2518
2520
|
all: function all(iterable) {
|
|
2519
2521
|
var C = this;
|
|
2520
2522
|
var capability = newPromiseCapabilityModule$2.f(C);
|
|
2521
2523
|
var resolve = capability.resolve;
|
|
2522
2524
|
var reject = capability.reject;
|
|
2523
2525
|
var result = perform$1(function () {
|
|
2524
|
-
var $promiseResolve = aCallable$
|
|
2526
|
+
var $promiseResolve = aCallable$6(C.resolve);
|
|
2525
2527
|
var values = [];
|
|
2526
2528
|
var counter = 0;
|
|
2527
2529
|
var remaining = 1;
|
|
2528
|
-
iterate$
|
|
2530
|
+
iterate$4(iterable, function (promise) {
|
|
2529
2531
|
var index = counter++;
|
|
2530
2532
|
var alreadyCalled = false;
|
|
2531
2533
|
remaining++;
|
|
2532
|
-
call$
|
|
2534
|
+
call$5($promiseResolve, C, promise).then(function (value) {
|
|
2533
2535
|
if (alreadyCalled) return;
|
|
2534
2536
|
alreadyCalled = true;
|
|
2535
2537
|
values[index] = value;
|
|
@@ -2543,50 +2545,50 @@ $$9({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2543
2545
|
}
|
|
2544
2546
|
});
|
|
2545
2547
|
|
|
2546
|
-
var $$
|
|
2548
|
+
var $$e = _export;
|
|
2547
2549
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
2548
2550
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
2549
2551
|
var getBuiltIn$2 = getBuiltIn$9;
|
|
2550
|
-
var isCallable$
|
|
2551
|
-
var defineBuiltIn = defineBuiltIn$
|
|
2552
|
+
var isCallable$6 = isCallable$n;
|
|
2553
|
+
var defineBuiltIn$2 = defineBuiltIn$5;
|
|
2552
2554
|
|
|
2553
2555
|
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
2554
2556
|
|
|
2555
2557
|
// `Promise.prototype.catch` method
|
|
2556
2558
|
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
2557
|
-
$$
|
|
2559
|
+
$$e({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
|
|
2558
2560
|
'catch': function (onRejected) {
|
|
2559
2561
|
return this.then(undefined, onRejected);
|
|
2560
2562
|
}
|
|
2561
2563
|
});
|
|
2562
2564
|
|
|
2563
2565
|
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
2564
|
-
if (isCallable$
|
|
2566
|
+
if (isCallable$6(NativePromiseConstructor)) {
|
|
2565
2567
|
var method = getBuiltIn$2('Promise').prototype['catch'];
|
|
2566
2568
|
if (NativePromisePrototype['catch'] !== method) {
|
|
2567
|
-
defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });
|
|
2569
|
+
defineBuiltIn$2(NativePromisePrototype, 'catch', method, { unsafe: true });
|
|
2568
2570
|
}
|
|
2569
2571
|
}
|
|
2570
2572
|
|
|
2571
|
-
var $$
|
|
2572
|
-
var call$
|
|
2573
|
-
var aCallable = aCallable$
|
|
2573
|
+
var $$d = _export;
|
|
2574
|
+
var call$4 = functionCall;
|
|
2575
|
+
var aCallable$5 = aCallable$d;
|
|
2574
2576
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
2575
2577
|
var perform = perform$3;
|
|
2576
|
-
var iterate = iterate$
|
|
2578
|
+
var iterate$3 = iterate$5;
|
|
2577
2579
|
var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
2578
2580
|
|
|
2579
2581
|
// `Promise.race` method
|
|
2580
2582
|
// https://tc39.es/ecma262/#sec-promise.race
|
|
2581
|
-
$$
|
|
2583
|
+
$$d({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
2582
2584
|
race: function race(iterable) {
|
|
2583
2585
|
var C = this;
|
|
2584
2586
|
var capability = newPromiseCapabilityModule$1.f(C);
|
|
2585
2587
|
var reject = capability.reject;
|
|
2586
2588
|
var result = perform(function () {
|
|
2587
|
-
var $promiseResolve = aCallable(C.resolve);
|
|
2588
|
-
iterate(iterable, function (promise) {
|
|
2589
|
-
call$
|
|
2589
|
+
var $promiseResolve = aCallable$5(C.resolve);
|
|
2590
|
+
iterate$3(iterable, function (promise) {
|
|
2591
|
+
call$4($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
2590
2592
|
});
|
|
2591
2593
|
});
|
|
2592
2594
|
if (result.error) reject(result.value);
|
|
@@ -2594,13 +2596,13 @@ $$7({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2594
2596
|
}
|
|
2595
2597
|
});
|
|
2596
2598
|
|
|
2597
|
-
var $$
|
|
2599
|
+
var $$c = _export;
|
|
2598
2600
|
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
2599
2601
|
var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
2600
2602
|
|
|
2601
2603
|
// `Promise.reject` method
|
|
2602
2604
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
2603
|
-
$$
|
|
2605
|
+
$$c({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
2604
2606
|
reject: function reject(r) {
|
|
2605
2607
|
var capability = newPromiseCapabilityModule.f(this);
|
|
2606
2608
|
var capabilityReject = capability.reject;
|
|
@@ -2609,20 +2611,20 @@ $$6({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
2609
2611
|
}
|
|
2610
2612
|
});
|
|
2611
2613
|
|
|
2612
|
-
var anObject$
|
|
2613
|
-
var isObject$
|
|
2614
|
+
var anObject$9 = anObject$g;
|
|
2615
|
+
var isObject$3 = isObject$e;
|
|
2614
2616
|
var newPromiseCapability = newPromiseCapability$2;
|
|
2615
2617
|
|
|
2616
2618
|
var promiseResolve$1 = function (C, x) {
|
|
2617
|
-
anObject$
|
|
2618
|
-
if (isObject$
|
|
2619
|
+
anObject$9(C);
|
|
2620
|
+
if (isObject$3(x) && x.constructor === C) return x;
|
|
2619
2621
|
var promiseCapability = newPromiseCapability.f(C);
|
|
2620
2622
|
var resolve = promiseCapability.resolve;
|
|
2621
2623
|
resolve(x);
|
|
2622
2624
|
return promiseCapability.promise;
|
|
2623
2625
|
};
|
|
2624
2626
|
|
|
2625
|
-
var $$
|
|
2627
|
+
var $$b = _export;
|
|
2626
2628
|
var getBuiltIn$1 = getBuiltIn$9;
|
|
2627
2629
|
var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
|
|
2628
2630
|
var promiseResolve = promiseResolve$1;
|
|
@@ -2631,7 +2633,7 @@ getBuiltIn$1('Promise');
|
|
|
2631
2633
|
|
|
2632
2634
|
// `Promise.resolve` method
|
|
2633
2635
|
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
2634
|
-
$$
|
|
2636
|
+
$$b({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
2635
2637
|
resolve: function resolve(x) {
|
|
2636
2638
|
return promiseResolve(this, x);
|
|
2637
2639
|
}
|
|
@@ -2689,14 +2691,14 @@ class HttpClient {
|
|
|
2689
2691
|
|
|
2690
2692
|
var uncurryThis$3 = functionUncurryThis;
|
|
2691
2693
|
var isArray$2 = isArray$4;
|
|
2692
|
-
var isCallable$
|
|
2694
|
+
var isCallable$5 = isCallable$n;
|
|
2693
2695
|
var classof$1 = classofRaw$2;
|
|
2694
2696
|
var toString$2 = toString$4;
|
|
2695
2697
|
|
|
2696
2698
|
var push = uncurryThis$3([].push);
|
|
2697
2699
|
|
|
2698
2700
|
var getJsonReplacerFunction = function (replacer) {
|
|
2699
|
-
if (isCallable$
|
|
2701
|
+
if (isCallable$5(replacer)) return replacer;
|
|
2700
2702
|
if (!isArray$2(replacer)) return;
|
|
2701
2703
|
var rawLength = replacer.length;
|
|
2702
2704
|
var keys = [];
|
|
@@ -2717,13 +2719,13 @@ var getJsonReplacerFunction = function (replacer) {
|
|
|
2717
2719
|
};
|
|
2718
2720
|
};
|
|
2719
2721
|
|
|
2720
|
-
var $$
|
|
2722
|
+
var $$a = _export;
|
|
2721
2723
|
var getBuiltIn = getBuiltIn$9;
|
|
2722
2724
|
var apply = functionApply;
|
|
2723
|
-
var call = functionCall;
|
|
2725
|
+
var call$3 = functionCall;
|
|
2724
2726
|
var uncurryThis$2 = functionUncurryThis;
|
|
2725
|
-
var fails$
|
|
2726
|
-
var isCallable$
|
|
2727
|
+
var fails$4 = fails$i;
|
|
2728
|
+
var isCallable$4 = isCallable$n;
|
|
2727
2729
|
var isSymbol = isSymbol$3;
|
|
2728
2730
|
var arraySlice = arraySlice$2;
|
|
2729
2731
|
var getReplacerFunction = getJsonReplacerFunction;
|
|
@@ -2741,7 +2743,7 @@ var tester = /[\uD800-\uDFFF]/g;
|
|
|
2741
2743
|
var low = /^[\uD800-\uDBFF]$/;
|
|
2742
2744
|
var hi = /^[\uDC00-\uDFFF]$/;
|
|
2743
2745
|
|
|
2744
|
-
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL$1 || fails$
|
|
2746
|
+
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL$1 || fails$4(function () {
|
|
2745
2747
|
var symbol = getBuiltIn('Symbol')('stringify detection');
|
|
2746
2748
|
// MS Edge converts symbol values to JSON as {}
|
|
2747
2749
|
return $stringify([symbol]) !== '[null]'
|
|
@@ -2752,7 +2754,7 @@ var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL$1 || fails$1(function () {
|
|
|
2752
2754
|
});
|
|
2753
2755
|
|
|
2754
2756
|
// https://github.com/tc39/proposal-well-formed-stringify
|
|
2755
|
-
var ILL_FORMED_UNICODE = fails$
|
|
2757
|
+
var ILL_FORMED_UNICODE = fails$4(function () {
|
|
2756
2758
|
return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
|
|
2757
2759
|
|| $stringify('\uDEAD') !== '"\\udead"';
|
|
2758
2760
|
});
|
|
@@ -2760,10 +2762,10 @@ var ILL_FORMED_UNICODE = fails$1(function () {
|
|
|
2760
2762
|
var stringifyWithSymbolsFix = function (it, replacer) {
|
|
2761
2763
|
var args = arraySlice(arguments);
|
|
2762
2764
|
var $replacer = getReplacerFunction(replacer);
|
|
2763
|
-
if (!isCallable$
|
|
2765
|
+
if (!isCallable$4($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
|
|
2764
2766
|
args[1] = function (key, value) {
|
|
2765
2767
|
// some old implementations (like WebKit) could pass numbers as keys
|
|
2766
|
-
if (isCallable$
|
|
2768
|
+
if (isCallable$4($replacer)) value = call$3($replacer, this, $String(key), value);
|
|
2767
2769
|
if (!isSymbol(value)) return value;
|
|
2768
2770
|
};
|
|
2769
2771
|
return apply($stringify, null, args);
|
|
@@ -2780,7 +2782,7 @@ var fixIllFormed = function (match, offset, string) {
|
|
|
2780
2782
|
if ($stringify) {
|
|
2781
2783
|
// `JSON.stringify` method
|
|
2782
2784
|
// https://tc39.es/ecma262/#sec-json.stringify
|
|
2783
|
-
$$
|
|
2785
|
+
$$a({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
|
|
2784
2786
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2785
2787
|
stringify: function stringify(it, replacer, space) {
|
|
2786
2788
|
var args = arraySlice(arguments);
|
|
@@ -3065,6 +3067,292 @@ class UserService {
|
|
|
3065
3067
|
}
|
|
3066
3068
|
}
|
|
3067
3069
|
|
|
3070
|
+
var fails$3 = fails$i;
|
|
3071
|
+
|
|
3072
|
+
var correctPrototypeGetter = !fails$3(function () {
|
|
3073
|
+
function F() { /* empty */ }
|
|
3074
|
+
F.prototype.constructor = null;
|
|
3075
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
3076
|
+
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
3077
|
+
});
|
|
3078
|
+
|
|
3079
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
3080
|
+
var isCallable$3 = isCallable$n;
|
|
3081
|
+
var toObject$1 = toObject$5;
|
|
3082
|
+
var sharedKey$1 = sharedKey$3;
|
|
3083
|
+
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
3084
|
+
|
|
3085
|
+
var IE_PROTO$1 = sharedKey$1('IE_PROTO');
|
|
3086
|
+
var $Object = Object;
|
|
3087
|
+
var ObjectPrototype = $Object.prototype;
|
|
3088
|
+
|
|
3089
|
+
// `Object.getPrototypeOf` method
|
|
3090
|
+
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
3091
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
3092
|
+
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
3093
|
+
var object = toObject$1(O);
|
|
3094
|
+
if (hasOwn$2(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
3095
|
+
var constructor = object.constructor;
|
|
3096
|
+
if (isCallable$3(constructor) && object instanceof constructor) {
|
|
3097
|
+
return constructor.prototype;
|
|
3098
|
+
} return object instanceof $Object ? ObjectPrototype : null;
|
|
3099
|
+
};
|
|
3100
|
+
|
|
3101
|
+
var DESCRIPTORS$3 = descriptors;
|
|
3102
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
3103
|
+
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
3104
|
+
|
|
3105
|
+
var createProperty$1 = function (object, key, value) {
|
|
3106
|
+
if (DESCRIPTORS$3) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value));
|
|
3107
|
+
else object[key] = value;
|
|
3108
|
+
};
|
|
3109
|
+
|
|
3110
|
+
var objectDefineProperties = {};
|
|
3111
|
+
|
|
3112
|
+
var DESCRIPTORS$2 = descriptors;
|
|
3113
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
3114
|
+
var definePropertyModule = objectDefineProperty;
|
|
3115
|
+
var anObject$8 = anObject$g;
|
|
3116
|
+
var toIndexedObject = toIndexedObject$4;
|
|
3117
|
+
var objectKeys = objectKeys$2;
|
|
3118
|
+
|
|
3119
|
+
// `Object.defineProperties` method
|
|
3120
|
+
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
3121
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
3122
|
+
objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
3123
|
+
anObject$8(O);
|
|
3124
|
+
var props = toIndexedObject(Properties);
|
|
3125
|
+
var keys = objectKeys(Properties);
|
|
3126
|
+
var length = keys.length;
|
|
3127
|
+
var index = 0;
|
|
3128
|
+
var key;
|
|
3129
|
+
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
3130
|
+
return O;
|
|
3131
|
+
};
|
|
3132
|
+
|
|
3133
|
+
/* global ActiveXObject -- old IE, WSH */
|
|
3134
|
+
var anObject$7 = anObject$g;
|
|
3135
|
+
var definePropertiesModule = objectDefineProperties;
|
|
3136
|
+
var enumBugKeys = enumBugKeys$3;
|
|
3137
|
+
var hiddenKeys = hiddenKeys$4;
|
|
3138
|
+
var html = html$2;
|
|
3139
|
+
var documentCreateElement = documentCreateElement$1;
|
|
3140
|
+
var sharedKey = sharedKey$3;
|
|
3141
|
+
|
|
3142
|
+
var GT = '>';
|
|
3143
|
+
var LT = '<';
|
|
3144
|
+
var PROTOTYPE = 'prototype';
|
|
3145
|
+
var SCRIPT = 'script';
|
|
3146
|
+
var IE_PROTO = sharedKey('IE_PROTO');
|
|
3147
|
+
|
|
3148
|
+
var EmptyConstructor = function () { /* empty */ };
|
|
3149
|
+
|
|
3150
|
+
var scriptTag = function (content) {
|
|
3151
|
+
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
|
3152
|
+
};
|
|
3153
|
+
|
|
3154
|
+
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
|
3155
|
+
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
3156
|
+
activeXDocument.write(scriptTag(''));
|
|
3157
|
+
activeXDocument.close();
|
|
3158
|
+
var temp = activeXDocument.parentWindow.Object;
|
|
3159
|
+
activeXDocument = null; // avoid memory leak
|
|
3160
|
+
return temp;
|
|
3161
|
+
};
|
|
3162
|
+
|
|
3163
|
+
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
3164
|
+
var NullProtoObjectViaIFrame = function () {
|
|
3165
|
+
// Thrash, waste and sodomy: IE GC bug
|
|
3166
|
+
var iframe = documentCreateElement('iframe');
|
|
3167
|
+
var JS = 'java' + SCRIPT + ':';
|
|
3168
|
+
var iframeDocument;
|
|
3169
|
+
iframe.style.display = 'none';
|
|
3170
|
+
html.appendChild(iframe);
|
|
3171
|
+
// https://github.com/zloirock/core-js/issues/475
|
|
3172
|
+
iframe.src = String(JS);
|
|
3173
|
+
iframeDocument = iframe.contentWindow.document;
|
|
3174
|
+
iframeDocument.open();
|
|
3175
|
+
iframeDocument.write(scriptTag('document.F=Object'));
|
|
3176
|
+
iframeDocument.close();
|
|
3177
|
+
return iframeDocument.F;
|
|
3178
|
+
};
|
|
3179
|
+
|
|
3180
|
+
// Check for document.domain and active x support
|
|
3181
|
+
// No need to use active x approach when document.domain is not set
|
|
3182
|
+
// see https://github.com/es-shims/es5-shim/issues/150
|
|
3183
|
+
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
|
3184
|
+
// avoid IE GC bug
|
|
3185
|
+
var activeXDocument;
|
|
3186
|
+
var NullProtoObject = function () {
|
|
3187
|
+
try {
|
|
3188
|
+
activeXDocument = new ActiveXObject('htmlfile');
|
|
3189
|
+
} catch (error) { /* ignore */ }
|
|
3190
|
+
NullProtoObject = typeof document != 'undefined'
|
|
3191
|
+
? document.domain && activeXDocument
|
|
3192
|
+
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
|
3193
|
+
: NullProtoObjectViaIFrame()
|
|
3194
|
+
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
|
3195
|
+
var length = enumBugKeys.length;
|
|
3196
|
+
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
|
3197
|
+
return NullProtoObject();
|
|
3198
|
+
};
|
|
3199
|
+
|
|
3200
|
+
hiddenKeys[IE_PROTO] = true;
|
|
3201
|
+
|
|
3202
|
+
// `Object.create` method
|
|
3203
|
+
// https://tc39.es/ecma262/#sec-object.create
|
|
3204
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
3205
|
+
var objectCreate = Object.create || function create(O, Properties) {
|
|
3206
|
+
var result;
|
|
3207
|
+
if (O !== null) {
|
|
3208
|
+
EmptyConstructor[PROTOTYPE] = anObject$7(O);
|
|
3209
|
+
result = new EmptyConstructor();
|
|
3210
|
+
EmptyConstructor[PROTOTYPE] = null;
|
|
3211
|
+
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
3212
|
+
result[IE_PROTO] = O;
|
|
3213
|
+
} else result = NullProtoObject();
|
|
3214
|
+
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
3215
|
+
};
|
|
3216
|
+
|
|
3217
|
+
var fails$2 = fails$i;
|
|
3218
|
+
var isCallable$2 = isCallable$n;
|
|
3219
|
+
var isObject$2 = isObject$e;
|
|
3220
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
3221
|
+
var defineBuiltIn$1 = defineBuiltIn$5;
|
|
3222
|
+
var wellKnownSymbol$6 = wellKnownSymbol$h;
|
|
3223
|
+
|
|
3224
|
+
var ITERATOR$1 = wellKnownSymbol$6('iterator');
|
|
3225
|
+
var BUGGY_SAFARI_ITERATORS = false;
|
|
3226
|
+
|
|
3227
|
+
// `%IteratorPrototype%` object
|
|
3228
|
+
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
3229
|
+
var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
3230
|
+
|
|
3231
|
+
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
3232
|
+
if ([].keys) {
|
|
3233
|
+
arrayIterator = [].keys();
|
|
3234
|
+
// Safari 8 has buggy iterators w/o `next`
|
|
3235
|
+
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
|
|
3236
|
+
else {
|
|
3237
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
|
|
3238
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
|
|
3239
|
+
}
|
|
3240
|
+
}
|
|
3241
|
+
|
|
3242
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$2) || fails$2(function () {
|
|
3243
|
+
var test = {};
|
|
3244
|
+
// FF44- legacy iterators case
|
|
3245
|
+
return IteratorPrototype$2[ITERATOR$1].call(test) !== test;
|
|
3246
|
+
});
|
|
3247
|
+
|
|
3248
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
3249
|
+
|
|
3250
|
+
// `%IteratorPrototype%[@@iterator]()` method
|
|
3251
|
+
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
3252
|
+
if (!isCallable$2(IteratorPrototype$2[ITERATOR$1])) {
|
|
3253
|
+
defineBuiltIn$1(IteratorPrototype$2, ITERATOR$1, function () {
|
|
3254
|
+
return this;
|
|
3255
|
+
});
|
|
3256
|
+
}
|
|
3257
|
+
|
|
3258
|
+
var iteratorsCore = {
|
|
3259
|
+
IteratorPrototype: IteratorPrototype$2,
|
|
3260
|
+
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
|
|
3261
|
+
};
|
|
3262
|
+
|
|
3263
|
+
var $$9 = _export;
|
|
3264
|
+
var global$2 = global$k;
|
|
3265
|
+
var anInstance = anInstance$2;
|
|
3266
|
+
var anObject$6 = anObject$g;
|
|
3267
|
+
var isCallable$1 = isCallable$n;
|
|
3268
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
3269
|
+
var defineBuiltInAccessor$1 = defineBuiltInAccessor$3;
|
|
3270
|
+
var createProperty = createProperty$1;
|
|
3271
|
+
var fails$1 = fails$i;
|
|
3272
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
3273
|
+
var wellKnownSymbol$5 = wellKnownSymbol$h;
|
|
3274
|
+
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
3275
|
+
var DESCRIPTORS$1 = descriptors;
|
|
3276
|
+
|
|
3277
|
+
var CONSTRUCTOR = 'constructor';
|
|
3278
|
+
var ITERATOR = 'Iterator';
|
|
3279
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');
|
|
3280
|
+
|
|
3281
|
+
var $TypeError$1 = TypeError;
|
|
3282
|
+
var NativeIterator = global$2[ITERATOR];
|
|
3283
|
+
|
|
3284
|
+
// FF56- have non-standard global helper `Iterator`
|
|
3285
|
+
var FORCED = !isCallable$1(NativeIterator)
|
|
3286
|
+
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
3287
|
+
// FF44- non-standard `Iterator` passes previous tests
|
|
3288
|
+
|| !fails$1(function () { NativeIterator({}); });
|
|
3289
|
+
|
|
3290
|
+
var IteratorConstructor = function Iterator() {
|
|
3291
|
+
anInstance(this, IteratorPrototype$1);
|
|
3292
|
+
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$1('Abstract class Iterator not directly constructable');
|
|
3293
|
+
};
|
|
3294
|
+
|
|
3295
|
+
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
3296
|
+
if (DESCRIPTORS$1) {
|
|
3297
|
+
defineBuiltInAccessor$1(IteratorPrototype$1, key, {
|
|
3298
|
+
configurable: true,
|
|
3299
|
+
get: function () {
|
|
3300
|
+
return value;
|
|
3301
|
+
},
|
|
3302
|
+
set: function (replacement) {
|
|
3303
|
+
anObject$6(this);
|
|
3304
|
+
if (this === IteratorPrototype$1) throw new $TypeError$1("You can't redefine this property");
|
|
3305
|
+
if (hasOwn$1(this, key)) this[key] = replacement;
|
|
3306
|
+
else createProperty(this, key, replacement);
|
|
3307
|
+
}
|
|
3308
|
+
});
|
|
3309
|
+
} else IteratorPrototype$1[key] = value;
|
|
3310
|
+
};
|
|
3311
|
+
|
|
3312
|
+
if (!hasOwn$1(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR);
|
|
3313
|
+
|
|
3314
|
+
if (FORCED || !hasOwn$1(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
3315
|
+
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
3316
|
+
}
|
|
3317
|
+
|
|
3318
|
+
IteratorConstructor.prototype = IteratorPrototype$1;
|
|
3319
|
+
|
|
3320
|
+
// `Iterator` constructor
|
|
3321
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3322
|
+
$$9({ global: true, constructor: true, forced: FORCED }, {
|
|
3323
|
+
Iterator: IteratorConstructor
|
|
3324
|
+
});
|
|
3325
|
+
|
|
3326
|
+
// `GetIteratorDirect(obj)` abstract operation
|
|
3327
|
+
// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
|
|
3328
|
+
var getIteratorDirect$5 = function (obj) {
|
|
3329
|
+
return {
|
|
3330
|
+
iterator: obj,
|
|
3331
|
+
next: obj.next,
|
|
3332
|
+
done: false
|
|
3333
|
+
};
|
|
3334
|
+
};
|
|
3335
|
+
|
|
3336
|
+
var $$8 = _export;
|
|
3337
|
+
var iterate$2 = iterate$5;
|
|
3338
|
+
var aCallable$4 = aCallable$d;
|
|
3339
|
+
var anObject$5 = anObject$g;
|
|
3340
|
+
var getIteratorDirect$4 = getIteratorDirect$5;
|
|
3341
|
+
|
|
3342
|
+
// `Iterator.prototype.forEach` method
|
|
3343
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3344
|
+
$$8({ target: 'Iterator', proto: true, real: true }, {
|
|
3345
|
+
forEach: function forEach(fn) {
|
|
3346
|
+
anObject$5(this);
|
|
3347
|
+
aCallable$4(fn);
|
|
3348
|
+
var record = getIteratorDirect$4(this);
|
|
3349
|
+
var counter = 0;
|
|
3350
|
+
iterate$2(record, function (value) {
|
|
3351
|
+
fn(value, counter++);
|
|
3352
|
+
}, { IS_RECORD: true });
|
|
3353
|
+
}
|
|
3354
|
+
});
|
|
3355
|
+
|
|
3068
3356
|
class BaseCommonService {
|
|
3069
3357
|
get baseApiPath() {
|
|
3070
3358
|
return this._baseApiPath;
|
|
@@ -3335,10 +3623,10 @@ var flattenIntoArray_1 = flattenIntoArray$1;
|
|
|
3335
3623
|
|
|
3336
3624
|
var isArray = isArray$4;
|
|
3337
3625
|
var isConstructor = isConstructor$2;
|
|
3338
|
-
var isObject$1 = isObject$
|
|
3339
|
-
var wellKnownSymbol$
|
|
3626
|
+
var isObject$1 = isObject$e;
|
|
3627
|
+
var wellKnownSymbol$4 = wellKnownSymbol$h;
|
|
3340
3628
|
|
|
3341
|
-
var SPECIES = wellKnownSymbol$
|
|
3629
|
+
var SPECIES = wellKnownSymbol$4('species');
|
|
3342
3630
|
var $Array = Array;
|
|
3343
3631
|
|
|
3344
3632
|
// a part of `ArraySpeciesCreate` abstract operation
|
|
@@ -3364,16 +3652,16 @@ var arraySpeciesCreate$1 = function (originalArray, length) {
|
|
|
3364
3652
|
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
3365
3653
|
};
|
|
3366
3654
|
|
|
3367
|
-
var $$
|
|
3655
|
+
var $$7 = _export;
|
|
3368
3656
|
var flattenIntoArray = flattenIntoArray_1;
|
|
3369
|
-
var toObject = toObject$
|
|
3657
|
+
var toObject = toObject$5;
|
|
3370
3658
|
var lengthOfArrayLike = lengthOfArrayLike$5;
|
|
3371
3659
|
var toIntegerOrInfinity = toIntegerOrInfinity$3;
|
|
3372
3660
|
var arraySpeciesCreate = arraySpeciesCreate$1;
|
|
3373
3661
|
|
|
3374
3662
|
// `Array.prototype.flat` method
|
|
3375
3663
|
// https://tc39.es/ecma262/#sec-array.prototype.flat
|
|
3376
|
-
$$
|
|
3664
|
+
$$7({ target: 'Array', proto: true }, {
|
|
3377
3665
|
flat: function flat(/* depthArg = 1 */) {
|
|
3378
3666
|
var depthArg = arguments.length ? arguments[0] : undefined;
|
|
3379
3667
|
var O = toObject(this);
|
|
@@ -3384,140 +3672,223 @@ $$3({ target: 'Array', proto: true }, {
|
|
|
3384
3672
|
}
|
|
3385
3673
|
});
|
|
3386
3674
|
|
|
3387
|
-
var
|
|
3675
|
+
var wellKnownSymbol$3 = wellKnownSymbol$h;
|
|
3676
|
+
var create$1 = objectCreate;
|
|
3677
|
+
var defineProperty = objectDefineProperty.f;
|
|
3388
3678
|
|
|
3389
|
-
var
|
|
3390
|
-
var
|
|
3391
|
-
var definePropertyModule = objectDefineProperty;
|
|
3392
|
-
var anObject$1 = anObject$9;
|
|
3393
|
-
var toIndexedObject = toIndexedObject$4;
|
|
3394
|
-
var objectKeys = objectKeys$2;
|
|
3679
|
+
var UNSCOPABLES = wellKnownSymbol$3('unscopables');
|
|
3680
|
+
var ArrayPrototype = Array.prototype;
|
|
3395
3681
|
|
|
3396
|
-
//
|
|
3397
|
-
// https://tc39.es/ecma262/#sec-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3682
|
+
// Array.prototype[@@unscopables]
|
|
3683
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
3684
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
3685
|
+
defineProperty(ArrayPrototype, UNSCOPABLES, {
|
|
3686
|
+
configurable: true,
|
|
3687
|
+
value: create$1(null)
|
|
3688
|
+
});
|
|
3689
|
+
}
|
|
3690
|
+
|
|
3691
|
+
// add a key to Array.prototype[@@unscopables]
|
|
3692
|
+
var addToUnscopables$2 = function (key) {
|
|
3693
|
+
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
3408
3694
|
};
|
|
3409
3695
|
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
var
|
|
3413
|
-
var enumBugKeys = enumBugKeys$3;
|
|
3414
|
-
var hiddenKeys = hiddenKeys$4;
|
|
3415
|
-
var html = html$2;
|
|
3416
|
-
var documentCreateElement = documentCreateElement$1;
|
|
3417
|
-
var sharedKey = sharedKey$2;
|
|
3696
|
+
// this method was added to unscopables after implementation
|
|
3697
|
+
// in popular engines, so it's moved to a separate module
|
|
3698
|
+
var addToUnscopables$1 = addToUnscopables$2;
|
|
3418
3699
|
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
var PROTOTYPE = 'prototype';
|
|
3422
|
-
var SCRIPT = 'script';
|
|
3423
|
-
var IE_PROTO = sharedKey('IE_PROTO');
|
|
3700
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
3701
|
+
addToUnscopables$1('flat');
|
|
3424
3702
|
|
|
3425
|
-
var
|
|
3703
|
+
var defineBuiltIn = defineBuiltIn$5;
|
|
3426
3704
|
|
|
3427
|
-
var
|
|
3428
|
-
|
|
3705
|
+
var defineBuiltIns$1 = function (target, src, options) {
|
|
3706
|
+
for (var key in src) defineBuiltIn(target, key, src[key], options);
|
|
3707
|
+
return target;
|
|
3429
3708
|
};
|
|
3430
3709
|
|
|
3431
|
-
//
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
var temp = activeXDocument.parentWindow.Object;
|
|
3436
|
-
activeXDocument = null; // avoid memory leak
|
|
3437
|
-
return temp;
|
|
3710
|
+
// `CreateIterResultObject` abstract operation
|
|
3711
|
+
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
3712
|
+
var createIterResultObject$1 = function (value, done) {
|
|
3713
|
+
return { value: value, done: done };
|
|
3438
3714
|
};
|
|
3439
3715
|
|
|
3440
|
-
|
|
3441
|
-
var
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3716
|
+
var call$2 = functionCall;
|
|
3717
|
+
var create = objectCreate;
|
|
3718
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$6;
|
|
3719
|
+
var defineBuiltIns = defineBuiltIns$1;
|
|
3720
|
+
var wellKnownSymbol$2 = wellKnownSymbol$h;
|
|
3721
|
+
var InternalStateModule = internalState;
|
|
3722
|
+
var getMethod = getMethod$4;
|
|
3723
|
+
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
3724
|
+
var createIterResultObject = createIterResultObject$1;
|
|
3725
|
+
var iteratorClose$1 = iteratorClose$3;
|
|
3726
|
+
|
|
3727
|
+
var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
|
|
3728
|
+
var ITERATOR_HELPER = 'IteratorHelper';
|
|
3729
|
+
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
|
3730
|
+
var setInternalState = InternalStateModule.set;
|
|
3731
|
+
|
|
3732
|
+
var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
3733
|
+
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
|
3734
|
+
|
|
3735
|
+
return defineBuiltIns(create(IteratorPrototype), {
|
|
3736
|
+
next: function next() {
|
|
3737
|
+
var state = getInternalState(this);
|
|
3738
|
+
// for simplification:
|
|
3739
|
+
// for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`
|
|
3740
|
+
// for `%IteratorHelperPrototype%.next` - just a value
|
|
3741
|
+
if (IS_ITERATOR) return state.nextHandler();
|
|
3742
|
+
try {
|
|
3743
|
+
var result = state.done ? undefined : state.nextHandler();
|
|
3744
|
+
return createIterResultObject(result, state.done);
|
|
3745
|
+
} catch (error) {
|
|
3746
|
+
state.done = true;
|
|
3747
|
+
throw error;
|
|
3748
|
+
}
|
|
3749
|
+
},
|
|
3750
|
+
'return': function () {
|
|
3751
|
+
var state = getInternalState(this);
|
|
3752
|
+
var iterator = state.iterator;
|
|
3753
|
+
state.done = true;
|
|
3754
|
+
if (IS_ITERATOR) {
|
|
3755
|
+
var returnMethod = getMethod(iterator, 'return');
|
|
3756
|
+
return returnMethod ? call$2(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
3757
|
+
}
|
|
3758
|
+
if (state.inner) try {
|
|
3759
|
+
iteratorClose$1(state.inner.iterator, 'normal');
|
|
3760
|
+
} catch (error) {
|
|
3761
|
+
return iteratorClose$1(iterator, 'throw', error);
|
|
3762
|
+
}
|
|
3763
|
+
iteratorClose$1(iterator, 'normal');
|
|
3764
|
+
return createIterResultObject(undefined, true);
|
|
3765
|
+
}
|
|
3766
|
+
});
|
|
3455
3767
|
};
|
|
3456
3768
|
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
var
|
|
3463
|
-
var
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
?
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3769
|
+
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
|
|
3770
|
+
var IteratorHelperPrototype = createIteratorProxyPrototype(false);
|
|
3771
|
+
|
|
3772
|
+
createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
|
|
3773
|
+
|
|
3774
|
+
var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
|
|
3775
|
+
var IteratorProxy = function Iterator(record, state) {
|
|
3776
|
+
if (state) {
|
|
3777
|
+
state.iterator = record.iterator;
|
|
3778
|
+
state.next = record.next;
|
|
3779
|
+
} else state = record;
|
|
3780
|
+
state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
|
|
3781
|
+
state.nextHandler = nextHandler;
|
|
3782
|
+
state.counter = 0;
|
|
3783
|
+
state.done = false;
|
|
3784
|
+
setInternalState(this, state);
|
|
3785
|
+
};
|
|
3786
|
+
|
|
3787
|
+
IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
|
|
3788
|
+
|
|
3789
|
+
return IteratorProxy;
|
|
3475
3790
|
};
|
|
3476
3791
|
|
|
3477
|
-
|
|
3792
|
+
var anObject$4 = anObject$g;
|
|
3793
|
+
var iteratorClose = iteratorClose$3;
|
|
3478
3794
|
|
|
3479
|
-
//
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
result = new EmptyConstructor();
|
|
3487
|
-
EmptyConstructor[PROTOTYPE] = null;
|
|
3488
|
-
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
3489
|
-
result[IE_PROTO] = O;
|
|
3490
|
-
} else result = NullProtoObject();
|
|
3491
|
-
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
3795
|
+
// call something on iterator step with safe closing on error
|
|
3796
|
+
var callWithSafeIterationClosing$2 = function (iterator, fn, value, ENTRIES) {
|
|
3797
|
+
try {
|
|
3798
|
+
return ENTRIES ? fn(anObject$4(value)[0], value[1]) : fn(value);
|
|
3799
|
+
} catch (error) {
|
|
3800
|
+
iteratorClose(iterator, 'throw', error);
|
|
3801
|
+
}
|
|
3492
3802
|
};
|
|
3493
3803
|
|
|
3494
|
-
var
|
|
3495
|
-
var
|
|
3496
|
-
var
|
|
3804
|
+
var $$6 = _export;
|
|
3805
|
+
var call$1 = functionCall;
|
|
3806
|
+
var aCallable$3 = aCallable$d;
|
|
3807
|
+
var anObject$3 = anObject$g;
|
|
3808
|
+
var getIteratorDirect$3 = getIteratorDirect$5;
|
|
3809
|
+
var createIteratorProxy$1 = iteratorCreateProxy;
|
|
3810
|
+
var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$2;
|
|
3811
|
+
var IS_PURE$1 = isPure;
|
|
3812
|
+
|
|
3813
|
+
var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
3814
|
+
var iterator = this.iterator;
|
|
3815
|
+
var predicate = this.predicate;
|
|
3816
|
+
var next = this.next;
|
|
3817
|
+
var result, done, value;
|
|
3818
|
+
while (true) {
|
|
3819
|
+
result = anObject$3(call$1(next, iterator));
|
|
3820
|
+
done = this.done = !!result.done;
|
|
3821
|
+
if (done) return;
|
|
3822
|
+
value = result.value;
|
|
3823
|
+
if (callWithSafeIterationClosing$1(iterator, predicate, [value, this.counter++], true)) return value;
|
|
3824
|
+
}
|
|
3825
|
+
});
|
|
3497
3826
|
|
|
3498
|
-
|
|
3499
|
-
|
|
3827
|
+
// `Iterator.prototype.filter` method
|
|
3828
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3829
|
+
$$6({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
3830
|
+
filter: function filter(predicate) {
|
|
3831
|
+
anObject$3(this);
|
|
3832
|
+
aCallable$3(predicate);
|
|
3833
|
+
return new IteratorProxy$1(getIteratorDirect$3(this), {
|
|
3834
|
+
predicate: predicate
|
|
3835
|
+
});
|
|
3836
|
+
}
|
|
3837
|
+
});
|
|
3500
3838
|
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3839
|
+
var call = functionCall;
|
|
3840
|
+
var aCallable$2 = aCallable$d;
|
|
3841
|
+
var anObject$2 = anObject$g;
|
|
3842
|
+
var getIteratorDirect$2 = getIteratorDirect$5;
|
|
3843
|
+
var createIteratorProxy = iteratorCreateProxy;
|
|
3844
|
+
var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
|
|
3845
|
+
|
|
3846
|
+
var IteratorProxy = createIteratorProxy(function () {
|
|
3847
|
+
var iterator = this.iterator;
|
|
3848
|
+
var result = anObject$2(call(this.next, iterator));
|
|
3849
|
+
var done = this.done = !!result.done;
|
|
3850
|
+
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
|
|
3851
|
+
});
|
|
3509
3852
|
|
|
3510
|
-
//
|
|
3511
|
-
|
|
3512
|
-
|
|
3853
|
+
// `Iterator.prototype.map` method
|
|
3854
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3855
|
+
var iteratorMap = function map(mapper) {
|
|
3856
|
+
anObject$2(this);
|
|
3857
|
+
aCallable$2(mapper);
|
|
3858
|
+
return new IteratorProxy(getIteratorDirect$2(this), {
|
|
3859
|
+
mapper: mapper
|
|
3860
|
+
});
|
|
3513
3861
|
};
|
|
3514
3862
|
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
var
|
|
3863
|
+
var $$5 = _export;
|
|
3864
|
+
var map = iteratorMap;
|
|
3865
|
+
var IS_PURE = isPure;
|
|
3518
3866
|
|
|
3519
|
-
//
|
|
3520
|
-
|
|
3867
|
+
// `Iterator.prototype.map` method
|
|
3868
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3869
|
+
$$5({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
3870
|
+
map: map
|
|
3871
|
+
});
|
|
3872
|
+
|
|
3873
|
+
var $$4 = _export;
|
|
3874
|
+
var iterate$1 = iterate$5;
|
|
3875
|
+
var aCallable$1 = aCallable$d;
|
|
3876
|
+
var anObject$1 = anObject$g;
|
|
3877
|
+
var getIteratorDirect$1 = getIteratorDirect$5;
|
|
3878
|
+
|
|
3879
|
+
// `Iterator.prototype.some` method
|
|
3880
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3881
|
+
$$4({ target: 'Iterator', proto: true, real: true }, {
|
|
3882
|
+
some: function some(predicate) {
|
|
3883
|
+
anObject$1(this);
|
|
3884
|
+
aCallable$1(predicate);
|
|
3885
|
+
var record = getIteratorDirect$1(this);
|
|
3886
|
+
var counter = 0;
|
|
3887
|
+
return iterate$1(record, function (value, stop) {
|
|
3888
|
+
if (predicate(value, counter++)) return stop();
|
|
3889
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).stopped;
|
|
3890
|
+
}
|
|
3891
|
+
});
|
|
3521
3892
|
|
|
3522
3893
|
class EmbeddedModule {
|
|
3523
3894
|
get name() {
|
|
@@ -3563,7 +3934,8 @@ class EmbeddedModule {
|
|
|
3563
3934
|
r.map(route => {
|
|
3564
3935
|
if (route.route) {
|
|
3565
3936
|
routeMap[this.getFullyQualifiedRoute(route, parent)] = {
|
|
3566
|
-
title: route.title
|
|
3937
|
+
title: route.title,
|
|
3938
|
+
isPublic: route.isPublic
|
|
3567
3939
|
};
|
|
3568
3940
|
if (route.routes && route.routes.length > 0) {
|
|
3569
3941
|
Object.assign(routeMap, this.getRouteMap(route.routes, route.route));
|
|
@@ -3572,10 +3944,18 @@ class EmbeddedModule {
|
|
|
3572
3944
|
});
|
|
3573
3945
|
return routeMap;
|
|
3574
3946
|
}
|
|
3575
|
-
getRouteObject(routes = undefined) {
|
|
3576
|
-
|
|
3947
|
+
getRouteObject(routes = undefined, routeType) {
|
|
3948
|
+
let r = routes !== null && routes !== void 0 ? routes : this._navigation.map(a => a.routes).map(a => a).flat();
|
|
3577
3949
|
if (!r || r.length === 0) return [];
|
|
3578
3950
|
const routeObject = [];
|
|
3951
|
+
if (routeType === 'public') {
|
|
3952
|
+
r = r.filter(a => {
|
|
3953
|
+
var _a;
|
|
3954
|
+
return a.isPublic === true || ((_a = a.routes) === null || _a === void 0 ? void 0 : _a.some(b => b.isPublic === true));
|
|
3955
|
+
});
|
|
3956
|
+
} else if (routeType === 'protected') {
|
|
3957
|
+
r = r.filter(a => !a.isPublic);
|
|
3958
|
+
}
|
|
3579
3959
|
r.map(route => {
|
|
3580
3960
|
if (route.route) {
|
|
3581
3961
|
let path = route.route;
|
|
@@ -3585,11 +3965,14 @@ class EmbeddedModule {
|
|
|
3585
3965
|
if (route.route === "*") {
|
|
3586
3966
|
path = '*';
|
|
3587
3967
|
}
|
|
3968
|
+
if (routeType === 'protected' && route.isPublic) {
|
|
3969
|
+
return;
|
|
3970
|
+
}
|
|
3588
3971
|
routeObject.push({
|
|
3589
3972
|
path: path,
|
|
3590
3973
|
index: route.route === '/' ? undefined : false,
|
|
3591
3974
|
element: route.component,
|
|
3592
|
-
children: route.routes && route.routes.length > 0 ? this.getRouteObject(route.routes) : []
|
|
3975
|
+
children: route.routes && route.routes.length > 0 ? this.getRouteObject(route.routes, routeType) : []
|
|
3593
3976
|
});
|
|
3594
3977
|
}
|
|
3595
3978
|
});
|
|
@@ -3871,6 +4254,86 @@ class RavifyFacade {
|
|
|
3871
4254
|
}
|
|
3872
4255
|
}
|
|
3873
4256
|
|
|
4257
|
+
class BiService {
|
|
4258
|
+
deleteDashboard(dashboardId) {
|
|
4259
|
+
return HttpClient.Instance().client.delete(`bi/dashboard/${dashboardId}`);
|
|
4260
|
+
}
|
|
4261
|
+
changeVisibility(dashboardId, isPublic) {
|
|
4262
|
+
return HttpClient.Instance().client.put(`bi/dashboard/${dashboardId}/visibility`, {
|
|
4263
|
+
isPublic
|
|
4264
|
+
});
|
|
4265
|
+
}
|
|
4266
|
+
updateRole(dashboardId, domainRoleId, enabled) {
|
|
4267
|
+
return HttpClient.Instance().client.put(`bi/dashboard/${dashboardId}/role`, {
|
|
4268
|
+
domainRoleId,
|
|
4269
|
+
enabled
|
|
4270
|
+
});
|
|
4271
|
+
}
|
|
4272
|
+
getDashboardInfo(dashboardId) {
|
|
4273
|
+
return HttpClient.Instance().client.get(`bi/dashboard/${dashboardId}`);
|
|
4274
|
+
}
|
|
4275
|
+
getDashboardsInfo() {
|
|
4276
|
+
return HttpClient.Instance().client.get(`bi/dashboard`);
|
|
4277
|
+
}
|
|
4278
|
+
updateDashboardInfo(dashboardId, command) {
|
|
4279
|
+
return HttpClient.Instance().client.put(`bi/dashboard/${dashboardId}/info`, command);
|
|
4280
|
+
}
|
|
4281
|
+
getDomainRolesPermissions(dashboardId) {
|
|
4282
|
+
return HttpClient.Instance().client.get(`bi/dashboard/${dashboardId}/role`);
|
|
4283
|
+
}
|
|
4284
|
+
// Data connections
|
|
4285
|
+
getDataConnections() {
|
|
4286
|
+
return HttpClient.Instance().client.get('bi/data-connection');
|
|
4287
|
+
}
|
|
4288
|
+
createDataConnection(data) {
|
|
4289
|
+
return HttpClient.Instance().client.post('bi/data-connection', data);
|
|
4290
|
+
}
|
|
4291
|
+
updateDataConnection(data) {
|
|
4292
|
+
return HttpClient.Instance().client.put(`bi/data-connection/${data.id}`, data);
|
|
4293
|
+
}
|
|
4294
|
+
deleteDataConnection(id) {
|
|
4295
|
+
return HttpClient.Instance().client.delete(`bi/data-connection/${id}`);
|
|
4296
|
+
}
|
|
4297
|
+
}
|
|
4298
|
+
|
|
4299
|
+
class BiDashboardCategoryService extends BaseCommonService {
|
|
4300
|
+
constructor() {
|
|
4301
|
+
super('bi-dashboard-category');
|
|
4302
|
+
}
|
|
4303
|
+
}
|
|
4304
|
+
|
|
4305
|
+
class BiFacade {
|
|
4306
|
+
constructor() {
|
|
4307
|
+
this._biCoreService = new BiService();
|
|
4308
|
+
this._biDashboardCategoryService = new BiDashboardCategoryService();
|
|
4309
|
+
}
|
|
4310
|
+
get core() {
|
|
4311
|
+
return this._biCoreService;
|
|
4312
|
+
}
|
|
4313
|
+
get dashboardCategory() {
|
|
4314
|
+
return this._biDashboardCategoryService;
|
|
4315
|
+
}
|
|
4316
|
+
}
|
|
4317
|
+
|
|
4318
|
+
exports.DataSourceType = void 0;
|
|
4319
|
+
(function (DataSourceType) {
|
|
4320
|
+
DataSourceType[DataSourceType["Sql"] = 1] = "Sql";
|
|
4321
|
+
DataSourceType[DataSourceType["Json"] = 2] = "Json";
|
|
4322
|
+
})(exports.DataSourceType || (exports.DataSourceType = {}));
|
|
4323
|
+
|
|
4324
|
+
exports.SqlDatasourceProvider = void 0;
|
|
4325
|
+
(function (SqlDatasourceProvider) {
|
|
4326
|
+
SqlDatasourceProvider[SqlDatasourceProvider["MsSql"] = 1] = "MsSql";
|
|
4327
|
+
SqlDatasourceProvider[SqlDatasourceProvider["MySql"] = 2] = "MySql";
|
|
4328
|
+
SqlDatasourceProvider[SqlDatasourceProvider["Postgres"] = 3] = "Postgres";
|
|
4329
|
+
})(exports.SqlDatasourceProvider || (exports.SqlDatasourceProvider = {}));
|
|
4330
|
+
|
|
4331
|
+
exports.JsonDataSourceProvider = void 0;
|
|
4332
|
+
(function (JsonDataSourceProvider) {
|
|
4333
|
+
JsonDataSourceProvider[JsonDataSourceProvider["Uri"] = 1] = "Uri";
|
|
4334
|
+
JsonDataSourceProvider[JsonDataSourceProvider["Data"] = 2] = "Data";
|
|
4335
|
+
})(exports.JsonDataSourceProvider || (exports.JsonDataSourceProvider = {}));
|
|
4336
|
+
|
|
3874
4337
|
class FluxoClientBase {
|
|
3875
4338
|
constructor() {
|
|
3876
4339
|
this._authenticationType = null;
|
|
@@ -3885,6 +4348,7 @@ class FluxoClientBase {
|
|
|
3885
4348
|
this._communicationFacade = null;
|
|
3886
4349
|
this._config = null;
|
|
3887
4350
|
this._ravify = null;
|
|
4351
|
+
this._biFacade = null;
|
|
3888
4352
|
this._modules = [];
|
|
3889
4353
|
this.getBearerToken = () => {
|
|
3890
4354
|
const jwtToken = localStorage.getItem('access-token');
|
|
@@ -3932,6 +4396,7 @@ class FluxoClientBase {
|
|
|
3932
4396
|
this._workflowService = new WorkflowService();
|
|
3933
4397
|
this._communicationFacade = new CommunicationFacade();
|
|
3934
4398
|
this._ravify = new RavifyFacade();
|
|
4399
|
+
this._biFacade = new BiFacade();
|
|
3935
4400
|
console.info('7) Sub services initialized');
|
|
3936
4401
|
if (setState) state.store.dispatch(state.setFluxoClientConfiguration(config));
|
|
3937
4402
|
console.info('-*-*-*- FluxoClient setup finished -*-*-*-');
|
|
@@ -3971,6 +4436,9 @@ class FluxoClientBase {
|
|
|
3971
4436
|
get ravify() {
|
|
3972
4437
|
return this._ravify;
|
|
3973
4438
|
}
|
|
4439
|
+
get bi() {
|
|
4440
|
+
return this._biFacade;
|
|
4441
|
+
}
|
|
3974
4442
|
}
|
|
3975
4443
|
|
|
3976
4444
|
class FluxoClientSys {
|
|
@@ -3997,15 +4465,15 @@ exports.AppMenuContextType = void 0;
|
|
|
3997
4465
|
AppMenuContextType[AppMenuContextType["User"] = 2] = "User";
|
|
3998
4466
|
})(exports.AppMenuContextType || (exports.AppMenuContextType = {}));
|
|
3999
4467
|
|
|
4000
|
-
var $$
|
|
4468
|
+
var $$3 = _export;
|
|
4001
4469
|
var DESCRIPTORS = descriptors;
|
|
4002
|
-
var global$1 = global$
|
|
4470
|
+
var global$1 = global$k;
|
|
4003
4471
|
var uncurryThis$1 = functionUncurryThis;
|
|
4004
4472
|
var hasOwn = hasOwnProperty_1;
|
|
4005
|
-
var isCallable = isCallable$
|
|
4473
|
+
var isCallable = isCallable$n;
|
|
4006
4474
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
4007
4475
|
var toString$1 = toString$4;
|
|
4008
|
-
var defineBuiltInAccessor = defineBuiltInAccessor$
|
|
4476
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$3;
|
|
4009
4477
|
var copyConstructorProperties = copyConstructorProperties$3;
|
|
4010
4478
|
|
|
4011
4479
|
var NativeSymbol = global$1.Symbol;
|
|
@@ -4049,14 +4517,14 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
|
|
|
4049
4517
|
}
|
|
4050
4518
|
});
|
|
4051
4519
|
|
|
4052
|
-
$$
|
|
4520
|
+
$$3({ global: true, constructor: true, forced: true }, {
|
|
4053
4521
|
Symbol: SymbolWrapper
|
|
4054
4522
|
});
|
|
4055
4523
|
}
|
|
4056
4524
|
|
|
4057
|
-
var $$
|
|
4525
|
+
var $$2 = _export;
|
|
4058
4526
|
var $includes = arrayIncludes.includes;
|
|
4059
|
-
var fails = fails$
|
|
4527
|
+
var fails = fails$i;
|
|
4060
4528
|
var addToUnscopables = addToUnscopables$2;
|
|
4061
4529
|
|
|
4062
4530
|
// FF99+ bug
|
|
@@ -4067,7 +4535,7 @@ var BROKEN_ON_SPARSE = fails(function () {
|
|
|
4067
4535
|
|
|
4068
4536
|
// `Array.prototype.includes` method
|
|
4069
4537
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
4070
|
-
$$
|
|
4538
|
+
$$2({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
4071
4539
|
includes: function includes(el /* , fromIndex = 0 */) {
|
|
4072
4540
|
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
4073
4541
|
}
|
|
@@ -4076,9 +4544,9 @@ $$1({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
|
4076
4544
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
4077
4545
|
addToUnscopables('includes');
|
|
4078
4546
|
|
|
4079
|
-
var isObject = isObject$
|
|
4547
|
+
var isObject = isObject$e;
|
|
4080
4548
|
var classof = classofRaw$2;
|
|
4081
|
-
var wellKnownSymbol$1 = wellKnownSymbol$
|
|
4549
|
+
var wellKnownSymbol$1 = wellKnownSymbol$h;
|
|
4082
4550
|
|
|
4083
4551
|
var MATCH$1 = wellKnownSymbol$1('match');
|
|
4084
4552
|
|
|
@@ -4099,7 +4567,7 @@ var notARegexp = function (it) {
|
|
|
4099
4567
|
} return it;
|
|
4100
4568
|
};
|
|
4101
4569
|
|
|
4102
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
4570
|
+
var wellKnownSymbol = wellKnownSymbol$h;
|
|
4103
4571
|
|
|
4104
4572
|
var MATCH = wellKnownSymbol('match');
|
|
4105
4573
|
|
|
@@ -4115,7 +4583,7 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
|
4115
4583
|
} return false;
|
|
4116
4584
|
};
|
|
4117
4585
|
|
|
4118
|
-
var
|
|
4586
|
+
var $$1 = _export;
|
|
4119
4587
|
var uncurryThis = functionUncurryThis;
|
|
4120
4588
|
var notARegExp = notARegexp;
|
|
4121
4589
|
var requireObjectCoercible = requireObjectCoercible$4;
|
|
@@ -4126,7 +4594,7 @@ var stringIndexOf = uncurryThis(''.indexOf);
|
|
|
4126
4594
|
|
|
4127
4595
|
// `String.prototype.includes` method
|
|
4128
4596
|
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
4129
|
-
|
|
4597
|
+
$$1({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
|
|
4130
4598
|
includes: function includes(searchString /* , position = 0 */) {
|
|
4131
4599
|
return !!~stringIndexOf(
|
|
4132
4600
|
toString(requireObjectCoercible(this)),
|
|
@@ -4136,6 +4604,26 @@ $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') },
|
|
|
4136
4604
|
}
|
|
4137
4605
|
});
|
|
4138
4606
|
|
|
4607
|
+
var $ = _export;
|
|
4608
|
+
var iterate = iterate$5;
|
|
4609
|
+
var aCallable = aCallable$d;
|
|
4610
|
+
var anObject = anObject$g;
|
|
4611
|
+
var getIteratorDirect = getIteratorDirect$5;
|
|
4612
|
+
|
|
4613
|
+
// `Iterator.prototype.every` method
|
|
4614
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
4615
|
+
$({ target: 'Iterator', proto: true, real: true }, {
|
|
4616
|
+
every: function every(predicate) {
|
|
4617
|
+
anObject(this);
|
|
4618
|
+
aCallable(predicate);
|
|
4619
|
+
var record = getIteratorDirect(this);
|
|
4620
|
+
var counter = 0;
|
|
4621
|
+
return !iterate(record, function (value, stop) {
|
|
4622
|
+
if (!predicate(value, counter++)) return stop();
|
|
4623
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).stopped;
|
|
4624
|
+
}
|
|
4625
|
+
});
|
|
4626
|
+
|
|
4139
4627
|
class CurrentUser {
|
|
4140
4628
|
getUserInfo() {
|
|
4141
4629
|
const user = state.store.getState().user;
|
|
@@ -4249,6 +4737,7 @@ exports.ApiKeyService = ApiKeyService;
|
|
|
4249
4737
|
exports.AppService = AppService;
|
|
4250
4738
|
exports.AppServiceService = AppServiceService;
|
|
4251
4739
|
exports.BaseCommonService = BaseCommonService;
|
|
4740
|
+
exports.BiFacade = BiFacade;
|
|
4252
4741
|
exports.CommunicationFacade = CommunicationFacade;
|
|
4253
4742
|
exports.CurrentUser = CurrentUser;
|
|
4254
4743
|
exports.DocumentationService = DocumentationService;
|