@unisphere/genie-types 1.38.7 → 1.39.1
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.esm.js
CHANGED
|
@@ -21,7 +21,7 @@ var globalThis_1 =
|
|
|
21
21
|
|
|
22
22
|
var objectGetOwnPropertyDescriptor = {};
|
|
23
23
|
|
|
24
|
-
var fails$
|
|
24
|
+
var fails$f = function (exec) {
|
|
25
25
|
try {
|
|
26
26
|
return !!exec();
|
|
27
27
|
} catch (error) {
|
|
@@ -29,29 +29,29 @@ var fails$e = function (exec) {
|
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
var fails$
|
|
32
|
+
var fails$e = fails$f;
|
|
33
33
|
|
|
34
34
|
// Detect IE8's incomplete defineProperty implementation
|
|
35
|
-
var descriptors = !fails$
|
|
35
|
+
var descriptors = !fails$e(function () {
|
|
36
36
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
37
37
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
var fails$
|
|
40
|
+
var fails$d = fails$f;
|
|
41
41
|
|
|
42
|
-
var functionBindNative = !fails$
|
|
42
|
+
var functionBindNative = !fails$d(function () {
|
|
43
43
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
44
44
|
var test = (function () { /* empty */ }).bind();
|
|
45
45
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
46
46
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
var NATIVE_BIND$
|
|
49
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
50
50
|
|
|
51
|
-
var call$
|
|
51
|
+
var call$c = Function.prototype.call;
|
|
52
52
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
53
|
-
var functionCall = NATIVE_BIND$
|
|
54
|
-
return call$
|
|
53
|
+
var functionCall = NATIVE_BIND$2 ? call$c.bind(call$c) : function () {
|
|
54
|
+
return call$c.apply(call$c, arguments);
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
var objectPropertyIsEnumerable = {};
|
|
@@ -70,7 +70,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
70
70
|
return !!descriptor && descriptor.enumerable;
|
|
71
71
|
} : $propertyIsEnumerable;
|
|
72
72
|
|
|
73
|
-
var createPropertyDescriptor$
|
|
73
|
+
var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
74
74
|
return {
|
|
75
75
|
enumerable: !(bitmap & 1),
|
|
76
76
|
configurable: !(bitmap & 2),
|
|
@@ -79,58 +79,58 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
var NATIVE_BIND = functionBindNative;
|
|
82
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
83
83
|
|
|
84
84
|
var FunctionPrototype$1 = Function.prototype;
|
|
85
|
-
var call$
|
|
85
|
+
var call$b = FunctionPrototype$1.call;
|
|
86
86
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
87
|
-
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$
|
|
87
|
+
var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$b, call$b);
|
|
88
88
|
|
|
89
|
-
var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
89
|
+
var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
|
|
90
90
|
return function () {
|
|
91
|
-
return call$
|
|
91
|
+
return call$b.apply(fn, arguments);
|
|
92
92
|
};
|
|
93
93
|
};
|
|
94
94
|
|
|
95
|
-
var uncurryThis$
|
|
95
|
+
var uncurryThis$e = functionUncurryThis;
|
|
96
96
|
|
|
97
|
-
var toString$1 = uncurryThis$
|
|
98
|
-
var stringSlice$1 = uncurryThis$
|
|
97
|
+
var toString$1 = uncurryThis$e({}.toString);
|
|
98
|
+
var stringSlice$1 = uncurryThis$e(''.slice);
|
|
99
99
|
|
|
100
|
-
var classofRaw = function (it) {
|
|
100
|
+
var classofRaw$2 = function (it) {
|
|
101
101
|
return stringSlice$1(toString$1(it), 8, -1);
|
|
102
102
|
};
|
|
103
103
|
|
|
104
|
-
var uncurryThis$
|
|
105
|
-
var fails$
|
|
106
|
-
var classof = classofRaw;
|
|
104
|
+
var uncurryThis$d = functionUncurryThis;
|
|
105
|
+
var fails$c = fails$f;
|
|
106
|
+
var classof$2 = classofRaw$2;
|
|
107
107
|
|
|
108
|
-
var $Object$
|
|
109
|
-
var split = uncurryThis$
|
|
108
|
+
var $Object$4 = Object;
|
|
109
|
+
var split = uncurryThis$d(''.split);
|
|
110
110
|
|
|
111
111
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
112
|
-
var indexedObject = fails$
|
|
112
|
+
var indexedObject = fails$c(function () {
|
|
113
113
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
114
114
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
115
|
-
return !$Object$
|
|
115
|
+
return !$Object$4('z').propertyIsEnumerable(0);
|
|
116
116
|
}) ? function (it) {
|
|
117
|
-
return classof(it) === 'String' ? split(it, '') : $Object$
|
|
118
|
-
} : $Object$
|
|
117
|
+
return classof$2(it) === 'String' ? split(it, '') : $Object$4(it);
|
|
118
|
+
} : $Object$4;
|
|
119
119
|
|
|
120
120
|
// we can't use just `it == null` since of `document.all` special case
|
|
121
121
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
122
|
-
var isNullOrUndefined$
|
|
122
|
+
var isNullOrUndefined$3 = function (it) {
|
|
123
123
|
return it === null || it === undefined;
|
|
124
124
|
};
|
|
125
125
|
|
|
126
|
-
var isNullOrUndefined$
|
|
126
|
+
var isNullOrUndefined$2 = isNullOrUndefined$3;
|
|
127
127
|
|
|
128
|
-
var $TypeError$
|
|
128
|
+
var $TypeError$b = TypeError;
|
|
129
129
|
|
|
130
130
|
// `RequireObjectCoercible` abstract operation
|
|
131
131
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
132
132
|
var requireObjectCoercible$3 = function (it) {
|
|
133
|
-
if (isNullOrUndefined$
|
|
133
|
+
if (isNullOrUndefined$2(it)) throw new $TypeError$b("Can't call method on " + it);
|
|
134
134
|
return it;
|
|
135
135
|
};
|
|
136
136
|
|
|
@@ -148,45 +148,45 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
148
148
|
// `IsCallable` abstract operation
|
|
149
149
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
150
150
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
151
|
-
var isCallable$
|
|
151
|
+
var isCallable$f = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
152
152
|
return typeof argument == 'function' || argument === documentAll;
|
|
153
153
|
} : function (argument) {
|
|
154
154
|
return typeof argument == 'function';
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
var isCallable$
|
|
157
|
+
var isCallable$e = isCallable$f;
|
|
158
158
|
|
|
159
159
|
var isObject$8 = function (it) {
|
|
160
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
160
|
+
return typeof it == 'object' ? it !== null : isCallable$e(it);
|
|
161
161
|
};
|
|
162
162
|
|
|
163
|
-
var globalThis$
|
|
164
|
-
var isCallable$
|
|
163
|
+
var globalThis$e = globalThis_1;
|
|
164
|
+
var isCallable$d = isCallable$f;
|
|
165
165
|
|
|
166
166
|
var aFunction = function (argument) {
|
|
167
|
-
return isCallable$
|
|
167
|
+
return isCallable$d(argument) ? argument : undefined;
|
|
168
168
|
};
|
|
169
169
|
|
|
170
170
|
var getBuiltIn$4 = function (namespace, method) {
|
|
171
|
-
return arguments.length < 2 ? aFunction(globalThis$
|
|
171
|
+
return arguments.length < 2 ? aFunction(globalThis$e[namespace]) : globalThis$e[namespace] && globalThis$e[namespace][method];
|
|
172
172
|
};
|
|
173
173
|
|
|
174
|
-
var uncurryThis$
|
|
174
|
+
var uncurryThis$c = functionUncurryThis;
|
|
175
175
|
|
|
176
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
176
|
+
var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
|
|
177
177
|
|
|
178
|
-
var globalThis$
|
|
178
|
+
var globalThis$d = globalThis_1;
|
|
179
179
|
|
|
180
|
-
var navigator = globalThis$
|
|
180
|
+
var navigator = globalThis$d.navigator;
|
|
181
181
|
var userAgent$1 = navigator && navigator.userAgent;
|
|
182
182
|
|
|
183
183
|
var environmentUserAgent = userAgent$1 ? String(userAgent$1) : '';
|
|
184
184
|
|
|
185
|
-
var globalThis$
|
|
185
|
+
var globalThis$c = globalThis_1;
|
|
186
186
|
var userAgent = environmentUserAgent;
|
|
187
187
|
|
|
188
|
-
var process = globalThis$
|
|
189
|
-
var Deno = globalThis$
|
|
188
|
+
var process = globalThis$c.process;
|
|
189
|
+
var Deno = globalThis$c.Deno;
|
|
190
190
|
var versions = process && process.versions || Deno && Deno.version;
|
|
191
191
|
var v8 = versions && versions.v8;
|
|
192
192
|
var match, version;
|
|
@@ -212,13 +212,13 @@ var environmentV8Version = version;
|
|
|
212
212
|
|
|
213
213
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
214
214
|
var V8_VERSION = environmentV8Version;
|
|
215
|
-
var fails$
|
|
216
|
-
var globalThis$
|
|
215
|
+
var fails$b = fails$f;
|
|
216
|
+
var globalThis$b = globalThis_1;
|
|
217
217
|
|
|
218
|
-
var $String$4 = globalThis$
|
|
218
|
+
var $String$4 = globalThis$b.String;
|
|
219
219
|
|
|
220
220
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
221
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
221
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$b(function () {
|
|
222
222
|
var symbol = Symbol('symbol detection');
|
|
223
223
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
224
224
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -237,22 +237,22 @@ var useSymbolAsUid = NATIVE_SYMBOL$1 &&
|
|
|
237
237
|
typeof Symbol.iterator == 'symbol';
|
|
238
238
|
|
|
239
239
|
var getBuiltIn$3 = getBuiltIn$4;
|
|
240
|
-
var isCallable$
|
|
241
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
240
|
+
var isCallable$c = isCallable$f;
|
|
241
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
242
242
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
243
243
|
|
|
244
|
-
var $Object$
|
|
244
|
+
var $Object$3 = Object;
|
|
245
245
|
|
|
246
246
|
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
247
247
|
return typeof it == 'symbol';
|
|
248
248
|
} : function (it) {
|
|
249
249
|
var $Symbol = getBuiltIn$3('Symbol');
|
|
250
|
-
return isCallable$
|
|
250
|
+
return isCallable$c($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$3(it));
|
|
251
251
|
};
|
|
252
252
|
|
|
253
253
|
var $String$3 = String;
|
|
254
254
|
|
|
255
|
-
var tryToString$
|
|
255
|
+
var tryToString$3 = function (argument) {
|
|
256
256
|
try {
|
|
257
257
|
return $String$3(argument);
|
|
258
258
|
} catch (error) {
|
|
@@ -260,63 +260,63 @@ var tryToString$1 = function (argument) {
|
|
|
260
260
|
}
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
var isCallable$
|
|
264
|
-
var tryToString = tryToString$
|
|
263
|
+
var isCallable$b = isCallable$f;
|
|
264
|
+
var tryToString$2 = tryToString$3;
|
|
265
265
|
|
|
266
|
-
var $TypeError$
|
|
266
|
+
var $TypeError$a = TypeError;
|
|
267
267
|
|
|
268
268
|
// `Assert: IsCallable(argument) is true`
|
|
269
|
-
var aCallable$
|
|
270
|
-
if (isCallable$
|
|
271
|
-
throw new $TypeError$
|
|
269
|
+
var aCallable$6 = function (argument) {
|
|
270
|
+
if (isCallable$b(argument)) return argument;
|
|
271
|
+
throw new $TypeError$a(tryToString$2(argument) + ' is not a function');
|
|
272
272
|
};
|
|
273
273
|
|
|
274
|
-
var aCallable$
|
|
275
|
-
var isNullOrUndefined = isNullOrUndefined$
|
|
274
|
+
var aCallable$5 = aCallable$6;
|
|
275
|
+
var isNullOrUndefined$1 = isNullOrUndefined$3;
|
|
276
276
|
|
|
277
277
|
// `GetMethod` abstract operation
|
|
278
278
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
279
|
-
var getMethod$
|
|
279
|
+
var getMethod$3 = function (V, P) {
|
|
280
280
|
var func = V[P];
|
|
281
|
-
return isNullOrUndefined(func) ? undefined : aCallable$
|
|
281
|
+
return isNullOrUndefined$1(func) ? undefined : aCallable$5(func);
|
|
282
282
|
};
|
|
283
283
|
|
|
284
|
-
var call$
|
|
285
|
-
var isCallable$
|
|
284
|
+
var call$a = functionCall;
|
|
285
|
+
var isCallable$a = isCallable$f;
|
|
286
286
|
var isObject$7 = isObject$8;
|
|
287
287
|
|
|
288
|
-
var $TypeError$
|
|
288
|
+
var $TypeError$9 = TypeError;
|
|
289
289
|
|
|
290
290
|
// `OrdinaryToPrimitive` abstract operation
|
|
291
291
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
292
292
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
293
293
|
var fn, val;
|
|
294
|
-
if (pref === 'string' && isCallable$
|
|
295
|
-
if (isCallable$
|
|
296
|
-
if (pref !== 'string' && isCallable$
|
|
297
|
-
throw new $TypeError$
|
|
294
|
+
if (pref === 'string' && isCallable$a(fn = input.toString) && !isObject$7(val = call$a(fn, input))) return val;
|
|
295
|
+
if (isCallable$a(fn = input.valueOf) && !isObject$7(val = call$a(fn, input))) return val;
|
|
296
|
+
if (pref !== 'string' && isCallable$a(fn = input.toString) && !isObject$7(val = call$a(fn, input))) return val;
|
|
297
|
+
throw new $TypeError$9("Can't convert object to primitive value");
|
|
298
298
|
};
|
|
299
299
|
|
|
300
300
|
var sharedStore = {exports: {}};
|
|
301
301
|
|
|
302
|
-
var globalThis$
|
|
302
|
+
var globalThis$a = globalThis_1;
|
|
303
303
|
|
|
304
304
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
305
|
-
var defineProperty$
|
|
305
|
+
var defineProperty$6 = Object.defineProperty;
|
|
306
306
|
|
|
307
307
|
var defineGlobalProperty$3 = function (key, value) {
|
|
308
308
|
try {
|
|
309
|
-
defineProperty$
|
|
309
|
+
defineProperty$6(globalThis$a, key, { value: value, configurable: true, writable: true });
|
|
310
310
|
} catch (error) {
|
|
311
|
-
globalThis$
|
|
311
|
+
globalThis$a[key] = value;
|
|
312
312
|
} return value;
|
|
313
313
|
};
|
|
314
314
|
|
|
315
|
-
var globalThis$
|
|
315
|
+
var globalThis$9 = globalThis_1;
|
|
316
316
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
317
317
|
|
|
318
318
|
var SHARED = '__core-js_shared__';
|
|
319
|
-
var store$3 = sharedStore.exports = globalThis$
|
|
319
|
+
var store$3 = sharedStore.exports = globalThis$9[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
320
320
|
|
|
321
321
|
(store$3.versions || (store$3.versions = [])).push({
|
|
322
322
|
version: '3.48.0',
|
|
@@ -336,18 +336,18 @@ var shared$3 = function (key, value) {
|
|
|
336
336
|
|
|
337
337
|
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
338
338
|
|
|
339
|
-
var $Object$
|
|
339
|
+
var $Object$2 = Object;
|
|
340
340
|
|
|
341
341
|
// `ToObject` abstract operation
|
|
342
342
|
// https://tc39.es/ecma262/#sec-toobject
|
|
343
343
|
var toObject$3 = function (argument) {
|
|
344
|
-
return $Object$
|
|
344
|
+
return $Object$2(requireObjectCoercible$1(argument));
|
|
345
345
|
};
|
|
346
346
|
|
|
347
|
-
var uncurryThis$
|
|
347
|
+
var uncurryThis$b = functionUncurryThis;
|
|
348
348
|
var toObject$2 = toObject$3;
|
|
349
349
|
|
|
350
|
-
var hasOwnProperty = uncurryThis$
|
|
350
|
+
var hasOwnProperty = uncurryThis$b({}.hasOwnProperty);
|
|
351
351
|
|
|
352
352
|
// `HasOwnProperty` abstract operation
|
|
353
353
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -356,56 +356,56 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
356
356
|
return hasOwnProperty(toObject$2(it), key);
|
|
357
357
|
};
|
|
358
358
|
|
|
359
|
-
var uncurryThis$
|
|
359
|
+
var uncurryThis$a = functionUncurryThis;
|
|
360
360
|
|
|
361
361
|
var id = 0;
|
|
362
362
|
var postfix = Math.random();
|
|
363
|
-
var toString = uncurryThis$
|
|
363
|
+
var toString = uncurryThis$a(1.1.toString);
|
|
364
364
|
|
|
365
365
|
var uid$2 = function (key) {
|
|
366
366
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
367
367
|
};
|
|
368
368
|
|
|
369
|
-
var globalThis$
|
|
369
|
+
var globalThis$8 = globalThis_1;
|
|
370
370
|
var shared$2 = shared$3;
|
|
371
|
-
var hasOwn$
|
|
371
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
372
372
|
var uid$1 = uid$2;
|
|
373
373
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
374
374
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
375
375
|
|
|
376
|
-
var Symbol$1 = globalThis$
|
|
376
|
+
var Symbol$1 = globalThis$8.Symbol;
|
|
377
377
|
var WellKnownSymbolsStore = shared$2('wks');
|
|
378
378
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
379
379
|
|
|
380
|
-
var wellKnownSymbol$
|
|
381
|
-
if (!hasOwn$
|
|
382
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$
|
|
380
|
+
var wellKnownSymbol$b = function (name) {
|
|
381
|
+
if (!hasOwn$9(WellKnownSymbolsStore, name)) {
|
|
382
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$9(Symbol$1, name)
|
|
383
383
|
? Symbol$1[name]
|
|
384
384
|
: createWellKnownSymbol('Symbol.' + name);
|
|
385
385
|
} return WellKnownSymbolsStore[name];
|
|
386
386
|
};
|
|
387
387
|
|
|
388
|
-
var call$
|
|
388
|
+
var call$9 = functionCall;
|
|
389
389
|
var isObject$6 = isObject$8;
|
|
390
390
|
var isSymbol$1 = isSymbol$2;
|
|
391
|
-
var getMethod$
|
|
391
|
+
var getMethod$2 = getMethod$3;
|
|
392
392
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
393
|
-
var wellKnownSymbol$
|
|
393
|
+
var wellKnownSymbol$a = wellKnownSymbol$b;
|
|
394
394
|
|
|
395
|
-
var $TypeError$
|
|
396
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
395
|
+
var $TypeError$8 = TypeError;
|
|
396
|
+
var TO_PRIMITIVE = wellKnownSymbol$a('toPrimitive');
|
|
397
397
|
|
|
398
398
|
// `ToPrimitive` abstract operation
|
|
399
399
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
400
400
|
var toPrimitive$1 = function (input, pref) {
|
|
401
401
|
if (!isObject$6(input) || isSymbol$1(input)) return input;
|
|
402
|
-
var exoticToPrim = getMethod$
|
|
402
|
+
var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
|
|
403
403
|
var result;
|
|
404
404
|
if (exoticToPrim) {
|
|
405
405
|
if (pref === undefined) pref = 'default';
|
|
406
|
-
result = call$
|
|
406
|
+
result = call$9(exoticToPrim, input, pref);
|
|
407
407
|
if (!isObject$6(result) || isSymbol$1(result)) return result;
|
|
408
|
-
throw new $TypeError$
|
|
408
|
+
throw new $TypeError$8("Can't convert object to primitive value");
|
|
409
409
|
}
|
|
410
410
|
if (pref === undefined) pref = 'number';
|
|
411
411
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -421,10 +421,10 @@ var toPropertyKey$2 = function (argument) {
|
|
|
421
421
|
return isSymbol(key) ? key : key + '';
|
|
422
422
|
};
|
|
423
423
|
|
|
424
|
-
var globalThis$
|
|
424
|
+
var globalThis$7 = globalThis_1;
|
|
425
425
|
var isObject$5 = isObject$8;
|
|
426
426
|
|
|
427
|
-
var document$1 = globalThis$
|
|
427
|
+
var document$1 = globalThis$7.document;
|
|
428
428
|
// typeof document.createElement is 'object' in old IE
|
|
429
429
|
var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);
|
|
430
430
|
|
|
@@ -432,25 +432,25 @@ var documentCreateElement$2 = function (it) {
|
|
|
432
432
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
433
433
|
};
|
|
434
434
|
|
|
435
|
-
var DESCRIPTORS$
|
|
436
|
-
var fails$
|
|
435
|
+
var DESCRIPTORS$b = descriptors;
|
|
436
|
+
var fails$a = fails$f;
|
|
437
437
|
var createElement = documentCreateElement$2;
|
|
438
438
|
|
|
439
439
|
// Thanks to IE8 for its funny defineProperty
|
|
440
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
440
|
+
var ie8DomDefine = !DESCRIPTORS$b && !fails$a(function () {
|
|
441
441
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
442
442
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
443
443
|
get: function () { return 7; }
|
|
444
444
|
}).a !== 7;
|
|
445
445
|
});
|
|
446
446
|
|
|
447
|
-
var DESCRIPTORS$
|
|
448
|
-
var call$
|
|
447
|
+
var DESCRIPTORS$a = descriptors;
|
|
448
|
+
var call$8 = functionCall;
|
|
449
449
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
450
|
-
var createPropertyDescriptor$
|
|
450
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$4;
|
|
451
451
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
452
452
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
453
|
-
var hasOwn$
|
|
453
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
454
454
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
455
455
|
|
|
456
456
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -458,23 +458,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
458
458
|
|
|
459
459
|
// `Object.getOwnPropertyDescriptor` method
|
|
460
460
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
461
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
461
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$a ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
462
462
|
O = toIndexedObject$4(O);
|
|
463
463
|
P = toPropertyKey$1(P);
|
|
464
464
|
if (IE8_DOM_DEFINE$1) try {
|
|
465
465
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
466
466
|
} catch (error) { /* empty */ }
|
|
467
|
-
if (hasOwn$
|
|
467
|
+
if (hasOwn$8(O, P)) return createPropertyDescriptor$3(!call$8(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
468
468
|
};
|
|
469
469
|
|
|
470
470
|
var objectDefineProperty = {};
|
|
471
471
|
|
|
472
|
-
var DESCRIPTORS$
|
|
473
|
-
var fails$
|
|
472
|
+
var DESCRIPTORS$9 = descriptors;
|
|
473
|
+
var fails$9 = fails$f;
|
|
474
474
|
|
|
475
475
|
// V8 ~ Chrome 36-
|
|
476
476
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
477
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
477
|
+
var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$9(function () {
|
|
478
478
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
479
479
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
480
480
|
value: 42,
|
|
@@ -485,21 +485,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$8(function () {
|
|
|
485
485
|
var isObject$4 = isObject$8;
|
|
486
486
|
|
|
487
487
|
var $String$2 = String;
|
|
488
|
-
var $TypeError$
|
|
488
|
+
var $TypeError$7 = TypeError;
|
|
489
489
|
|
|
490
490
|
// `Assert: Type(argument) is Object`
|
|
491
|
-
var anObject$
|
|
491
|
+
var anObject$a = function (argument) {
|
|
492
492
|
if (isObject$4(argument)) return argument;
|
|
493
|
-
throw new $TypeError$
|
|
493
|
+
throw new $TypeError$7($String$2(argument) + ' is not an object');
|
|
494
494
|
};
|
|
495
495
|
|
|
496
|
-
var DESCRIPTORS$
|
|
496
|
+
var DESCRIPTORS$8 = descriptors;
|
|
497
497
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
498
498
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
499
|
-
var anObject$
|
|
499
|
+
var anObject$9 = anObject$a;
|
|
500
500
|
var toPropertyKey = toPropertyKey$2;
|
|
501
501
|
|
|
502
|
-
var $TypeError$
|
|
502
|
+
var $TypeError$6 = TypeError;
|
|
503
503
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
504
504
|
var $defineProperty = Object.defineProperty;
|
|
505
505
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -510,10 +510,10 @@ var WRITABLE = 'writable';
|
|
|
510
510
|
|
|
511
511
|
// `Object.defineProperty` method
|
|
512
512
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
513
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
514
|
-
anObject$
|
|
513
|
+
objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
514
|
+
anObject$9(O);
|
|
515
515
|
P = toPropertyKey(P);
|
|
516
|
-
anObject$
|
|
516
|
+
anObject$9(Attributes);
|
|
517
517
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
518
518
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
519
519
|
if (current && current[WRITABLE]) {
|
|
@@ -526,55 +526,55 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
526
526
|
}
|
|
527
527
|
} return $defineProperty(O, P, Attributes);
|
|
528
528
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
529
|
-
anObject$
|
|
529
|
+
anObject$9(O);
|
|
530
530
|
P = toPropertyKey(P);
|
|
531
|
-
anObject$
|
|
531
|
+
anObject$9(Attributes);
|
|
532
532
|
if (IE8_DOM_DEFINE) try {
|
|
533
533
|
return $defineProperty(O, P, Attributes);
|
|
534
534
|
} catch (error) { /* empty */ }
|
|
535
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
535
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$6('Accessors not supported');
|
|
536
536
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
537
537
|
return O;
|
|
538
538
|
};
|
|
539
539
|
|
|
540
|
-
var DESCRIPTORS$
|
|
541
|
-
var definePropertyModule$
|
|
542
|
-
var createPropertyDescriptor$
|
|
540
|
+
var DESCRIPTORS$7 = descriptors;
|
|
541
|
+
var definePropertyModule$4 = objectDefineProperty;
|
|
542
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$4;
|
|
543
543
|
|
|
544
|
-
var createNonEnumerableProperty$4 = DESCRIPTORS$
|
|
545
|
-
return definePropertyModule$
|
|
544
|
+
var createNonEnumerableProperty$4 = DESCRIPTORS$7 ? function (object, key, value) {
|
|
545
|
+
return definePropertyModule$4.f(object, key, createPropertyDescriptor$2(1, value));
|
|
546
546
|
} : function (object, key, value) {
|
|
547
547
|
object[key] = value;
|
|
548
548
|
return object;
|
|
549
549
|
};
|
|
550
550
|
|
|
551
|
-
var makeBuiltIn$
|
|
551
|
+
var makeBuiltIn$3 = {exports: {}};
|
|
552
552
|
|
|
553
|
-
var DESCRIPTORS$
|
|
554
|
-
var hasOwn$
|
|
553
|
+
var DESCRIPTORS$6 = descriptors;
|
|
554
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
555
555
|
|
|
556
556
|
var FunctionPrototype = Function.prototype;
|
|
557
557
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
558
|
-
var getDescriptor = DESCRIPTORS$
|
|
558
|
+
var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
|
|
559
559
|
|
|
560
|
-
var EXISTS = hasOwn$
|
|
560
|
+
var EXISTS = hasOwn$7(FunctionPrototype, 'name');
|
|
561
561
|
// additional protection from minified / mangled / dropped function names
|
|
562
562
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
563
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
563
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
564
564
|
|
|
565
565
|
var functionName = {
|
|
566
566
|
PROPER: PROPER,
|
|
567
567
|
CONFIGURABLE: CONFIGURABLE
|
|
568
568
|
};
|
|
569
569
|
|
|
570
|
-
var uncurryThis$
|
|
571
|
-
var isCallable$
|
|
570
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
571
|
+
var isCallable$9 = isCallable$f;
|
|
572
572
|
var store$1 = sharedStoreExports;
|
|
573
573
|
|
|
574
|
-
var functionToString = uncurryThis$
|
|
574
|
+
var functionToString = uncurryThis$9(Function.toString);
|
|
575
575
|
|
|
576
576
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
577
|
-
if (!isCallable$
|
|
577
|
+
if (!isCallable$9(store$1.inspectSource)) {
|
|
578
578
|
store$1.inspectSource = function (it) {
|
|
579
579
|
return functionToString(it);
|
|
580
580
|
};
|
|
@@ -582,12 +582,12 @@ if (!isCallable$7(store$1.inspectSource)) {
|
|
|
582
582
|
|
|
583
583
|
var inspectSource$1 = store$1.inspectSource;
|
|
584
584
|
|
|
585
|
-
var globalThis$
|
|
586
|
-
var isCallable$
|
|
585
|
+
var globalThis$6 = globalThis_1;
|
|
586
|
+
var isCallable$8 = isCallable$f;
|
|
587
587
|
|
|
588
|
-
var WeakMap$1 = globalThis$
|
|
588
|
+
var WeakMap$1 = globalThis$6.WeakMap;
|
|
589
589
|
|
|
590
|
-
var weakMapBasicDetection = isCallable$
|
|
590
|
+
var weakMapBasicDetection = isCallable$8(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
591
591
|
|
|
592
592
|
var shared$1 = shared$3;
|
|
593
593
|
var uid = uid$2;
|
|
@@ -601,17 +601,17 @@ var sharedKey$3 = function (key) {
|
|
|
601
601
|
var hiddenKeys$4 = {};
|
|
602
602
|
|
|
603
603
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
604
|
-
var globalThis$
|
|
604
|
+
var globalThis$5 = globalThis_1;
|
|
605
605
|
var isObject$3 = isObject$8;
|
|
606
606
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
|
|
607
|
-
var hasOwn$
|
|
607
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
608
608
|
var shared = sharedStoreExports;
|
|
609
609
|
var sharedKey$2 = sharedKey$3;
|
|
610
610
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
611
611
|
|
|
612
612
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
613
|
-
var TypeError$1 = globalThis$
|
|
614
|
-
var WeakMap = globalThis$
|
|
613
|
+
var TypeError$1 = globalThis$5.TypeError;
|
|
614
|
+
var WeakMap = globalThis$5.WeakMap;
|
|
615
615
|
var set, get, has$6;
|
|
616
616
|
|
|
617
617
|
var enforce = function (it) {
|
|
@@ -650,16 +650,16 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
650
650
|
var STATE = sharedKey$2('state');
|
|
651
651
|
hiddenKeys$3[STATE] = true;
|
|
652
652
|
set = function (it, metadata) {
|
|
653
|
-
if (hasOwn$
|
|
653
|
+
if (hasOwn$6(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
654
654
|
metadata.facade = it;
|
|
655
655
|
createNonEnumerableProperty$3(it, STATE, metadata);
|
|
656
656
|
return metadata;
|
|
657
657
|
};
|
|
658
658
|
get = function (it) {
|
|
659
|
-
return hasOwn$
|
|
659
|
+
return hasOwn$6(it, STATE) ? it[STATE] : {};
|
|
660
660
|
};
|
|
661
661
|
has$6 = function (it) {
|
|
662
|
-
return hasOwn$
|
|
662
|
+
return hasOwn$6(it, STATE);
|
|
663
663
|
};
|
|
664
664
|
}
|
|
665
665
|
|
|
@@ -671,11 +671,11 @@ var internalState = {
|
|
|
671
671
|
getterFor: getterFor
|
|
672
672
|
};
|
|
673
673
|
|
|
674
|
-
var uncurryThis$
|
|
675
|
-
var fails$
|
|
676
|
-
var isCallable$
|
|
677
|
-
var hasOwn$
|
|
678
|
-
var DESCRIPTORS$
|
|
674
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
675
|
+
var fails$8 = fails$f;
|
|
676
|
+
var isCallable$7 = isCallable$f;
|
|
677
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
678
|
+
var DESCRIPTORS$5 = descriptors;
|
|
679
679
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
680
680
|
var inspectSource = inspectSource$1;
|
|
681
681
|
var InternalStateModule$1 = internalState;
|
|
@@ -684,60 +684,60 @@ var enforceInternalState = InternalStateModule$1.enforce;
|
|
|
684
684
|
var getInternalState$1 = InternalStateModule$1.get;
|
|
685
685
|
var $String$1 = String;
|
|
686
686
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
687
|
-
var defineProperty$
|
|
688
|
-
var stringSlice = uncurryThis$
|
|
689
|
-
var replace = uncurryThis$
|
|
690
|
-
var join = uncurryThis$
|
|
687
|
+
var defineProperty$5 = Object.defineProperty;
|
|
688
|
+
var stringSlice = uncurryThis$8(''.slice);
|
|
689
|
+
var replace = uncurryThis$8(''.replace);
|
|
690
|
+
var join = uncurryThis$8([].join);
|
|
691
691
|
|
|
692
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
693
|
-
return defineProperty$
|
|
692
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$8(function () {
|
|
693
|
+
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
694
694
|
});
|
|
695
695
|
|
|
696
696
|
var TEMPLATE = String(String).split('String');
|
|
697
697
|
|
|
698
|
-
var makeBuiltIn$
|
|
698
|
+
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
699
699
|
if (stringSlice($String$1(name), 0, 7) === 'Symbol(') {
|
|
700
700
|
name = '[' + replace($String$1(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
701
701
|
}
|
|
702
702
|
if (options && options.getter) name = 'get ' + name;
|
|
703
703
|
if (options && options.setter) name = 'set ' + name;
|
|
704
|
-
if (!hasOwn$
|
|
705
|
-
if (DESCRIPTORS$
|
|
704
|
+
if (!hasOwn$5(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
705
|
+
if (DESCRIPTORS$5) defineProperty$5(value, 'name', { value: name, configurable: true });
|
|
706
706
|
else value.name = name;
|
|
707
707
|
}
|
|
708
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
709
|
-
defineProperty$
|
|
708
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$5(options, 'arity') && value.length !== options.arity) {
|
|
709
|
+
defineProperty$5(value, 'length', { value: options.arity });
|
|
710
710
|
}
|
|
711
711
|
try {
|
|
712
|
-
if (options && hasOwn$
|
|
713
|
-
if (DESCRIPTORS$
|
|
712
|
+
if (options && hasOwn$5(options, 'constructor') && options.constructor) {
|
|
713
|
+
if (DESCRIPTORS$5) defineProperty$5(value, 'prototype', { writable: false });
|
|
714
714
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
715
715
|
} else if (value.prototype) value.prototype = undefined;
|
|
716
716
|
} catch (error) { /* empty */ }
|
|
717
717
|
var state = enforceInternalState(value);
|
|
718
|
-
if (!hasOwn$
|
|
718
|
+
if (!hasOwn$5(state, 'source')) {
|
|
719
719
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
720
720
|
} return value;
|
|
721
721
|
};
|
|
722
722
|
|
|
723
723
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
724
724
|
// eslint-disable-next-line no-extend-native -- required
|
|
725
|
-
Function.prototype.toString = makeBuiltIn$
|
|
726
|
-
return isCallable$
|
|
725
|
+
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
726
|
+
return isCallable$7(this) && getInternalState$1(this).source || inspectSource(this);
|
|
727
727
|
}, 'toString');
|
|
728
728
|
|
|
729
|
-
var makeBuiltInExports = makeBuiltIn$
|
|
729
|
+
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
730
730
|
|
|
731
|
-
var isCallable$
|
|
732
|
-
var definePropertyModule$
|
|
733
|
-
var makeBuiltIn = makeBuiltInExports;
|
|
731
|
+
var isCallable$6 = isCallable$f;
|
|
732
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
733
|
+
var makeBuiltIn$1 = makeBuiltInExports;
|
|
734
734
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
735
735
|
|
|
736
736
|
var defineBuiltIn$3 = function (O, key, value, options) {
|
|
737
737
|
if (!options) options = {};
|
|
738
738
|
var simple = options.enumerable;
|
|
739
739
|
var name = options.name !== undefined ? options.name : key;
|
|
740
|
-
if (isCallable$
|
|
740
|
+
if (isCallable$6(value)) makeBuiltIn$1(value, name, options);
|
|
741
741
|
if (options.global) {
|
|
742
742
|
if (simple) O[key] = value;
|
|
743
743
|
else defineGlobalProperty$1(key, value);
|
|
@@ -747,7 +747,7 @@ var defineBuiltIn$3 = function (O, key, value, options) {
|
|
|
747
747
|
else if (O[key]) simple = true;
|
|
748
748
|
} catch (error) { /* empty */ }
|
|
749
749
|
if (simple) O[key] = value;
|
|
750
|
-
else definePropertyModule$
|
|
750
|
+
else definePropertyModule$3.f(O, key, {
|
|
751
751
|
value: value,
|
|
752
752
|
enumerable: false,
|
|
753
753
|
configurable: !options.nonConfigurable,
|
|
@@ -807,19 +807,19 @@ var toLength = toLength$1;
|
|
|
807
807
|
|
|
808
808
|
// `LengthOfArrayLike` abstract operation
|
|
809
809
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
810
|
-
var lengthOfArrayLike$
|
|
810
|
+
var lengthOfArrayLike$2 = function (obj) {
|
|
811
811
|
return toLength(obj.length);
|
|
812
812
|
};
|
|
813
813
|
|
|
814
814
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
815
815
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
816
|
-
var lengthOfArrayLike = lengthOfArrayLike$
|
|
816
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$2;
|
|
817
817
|
|
|
818
818
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
819
819
|
var createMethod = function (IS_INCLUDES) {
|
|
820
820
|
return function ($this, el, fromIndex) {
|
|
821
821
|
var O = toIndexedObject$3($this);
|
|
822
|
-
var length = lengthOfArrayLike(O);
|
|
822
|
+
var length = lengthOfArrayLike$1(O);
|
|
823
823
|
if (length === 0) return !IS_INCLUDES && -1;
|
|
824
824
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
825
825
|
var value;
|
|
@@ -845,22 +845,22 @@ var arrayIncludes = {
|
|
|
845
845
|
indexOf: createMethod(false)
|
|
846
846
|
};
|
|
847
847
|
|
|
848
|
-
var uncurryThis$
|
|
849
|
-
var hasOwn$
|
|
848
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
849
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
850
850
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
851
851
|
var indexOf = arrayIncludes.indexOf;
|
|
852
852
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
853
853
|
|
|
854
|
-
var push = uncurryThis$
|
|
854
|
+
var push = uncurryThis$7([].push);
|
|
855
855
|
|
|
856
856
|
var objectKeysInternal = function (object, names) {
|
|
857
857
|
var O = toIndexedObject$2(object);
|
|
858
858
|
var i = 0;
|
|
859
859
|
var result = [];
|
|
860
860
|
var key;
|
|
861
|
-
for (key in O) !hasOwn$
|
|
861
|
+
for (key in O) !hasOwn$4(hiddenKeys$2, key) && hasOwn$4(O, key) && push(result, key);
|
|
862
862
|
// Don't enum bug & hidden keys
|
|
863
|
-
while (names.length > i) if (hasOwn$
|
|
863
|
+
while (names.length > i) if (hasOwn$4(O, key = names[i++])) {
|
|
864
864
|
~indexOf(result, key) || push(result, key);
|
|
865
865
|
}
|
|
866
866
|
return result;
|
|
@@ -895,39 +895,39 @@ var objectGetOwnPropertySymbols = {};
|
|
|
895
895
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
896
896
|
|
|
897
897
|
var getBuiltIn$2 = getBuiltIn$4;
|
|
898
|
-
var uncurryThis$
|
|
898
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
899
899
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
900
900
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
901
|
-
var anObject$
|
|
901
|
+
var anObject$8 = anObject$a;
|
|
902
902
|
|
|
903
|
-
var concat$1 = uncurryThis$
|
|
903
|
+
var concat$1 = uncurryThis$6([].concat);
|
|
904
904
|
|
|
905
905
|
// all object keys, includes non-enumerable and symbols
|
|
906
906
|
var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
907
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
907
|
+
var keys = getOwnPropertyNamesModule.f(anObject$8(it));
|
|
908
908
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
909
909
|
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
910
910
|
};
|
|
911
911
|
|
|
912
|
-
var hasOwn$
|
|
912
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
913
913
|
var ownKeys = ownKeys$1;
|
|
914
914
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
915
|
-
var definePropertyModule$
|
|
915
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
916
916
|
|
|
917
917
|
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
918
918
|
var keys = ownKeys(source);
|
|
919
|
-
var defineProperty = definePropertyModule$
|
|
919
|
+
var defineProperty = definePropertyModule$2.f;
|
|
920
920
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
921
921
|
for (var i = 0; i < keys.length; i++) {
|
|
922
922
|
var key = keys[i];
|
|
923
|
-
if (!hasOwn$
|
|
923
|
+
if (!hasOwn$3(target, key) && !(exceptions && hasOwn$3(exceptions, key))) {
|
|
924
924
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
925
925
|
}
|
|
926
926
|
}
|
|
927
927
|
};
|
|
928
928
|
|
|
929
|
-
var fails$
|
|
930
|
-
var isCallable$
|
|
929
|
+
var fails$7 = fails$f;
|
|
930
|
+
var isCallable$5 = isCallable$f;
|
|
931
931
|
|
|
932
932
|
var replacement = /#|\.prototype\./;
|
|
933
933
|
|
|
@@ -935,7 +935,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
935
935
|
var value = data[normalize(feature)];
|
|
936
936
|
return value === POLYFILL ? true
|
|
937
937
|
: value === NATIVE ? false
|
|
938
|
-
: isCallable$
|
|
938
|
+
: isCallable$5(detection) ? fails$7(detection)
|
|
939
939
|
: !!detection;
|
|
940
940
|
};
|
|
941
941
|
|
|
@@ -949,7 +949,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
949
949
|
|
|
950
950
|
var isForced_1 = isForced$1;
|
|
951
951
|
|
|
952
|
-
var globalThis$
|
|
952
|
+
var globalThis$4 = globalThis_1;
|
|
953
953
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
954
954
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
|
|
955
955
|
var defineBuiltIn$2 = defineBuiltIn$3;
|
|
@@ -978,11 +978,11 @@ var _export = function (options, source) {
|
|
|
978
978
|
var STATIC = options.stat;
|
|
979
979
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
980
980
|
if (GLOBAL) {
|
|
981
|
-
target = globalThis$
|
|
981
|
+
target = globalThis$4;
|
|
982
982
|
} else if (STATIC) {
|
|
983
|
-
target = globalThis$
|
|
983
|
+
target = globalThis$4[TARGET] || defineGlobalProperty(TARGET, {});
|
|
984
984
|
} else {
|
|
985
|
-
target = globalThis$
|
|
985
|
+
target = globalThis$4[TARGET] && globalThis$4[TARGET].prototype;
|
|
986
986
|
}
|
|
987
987
|
if (target) for (key in source) {
|
|
988
988
|
sourceProperty = source[key];
|
|
@@ -1014,10 +1014,10 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
1014
1014
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1015
1015
|
};
|
|
1016
1016
|
|
|
1017
|
-
var DESCRIPTORS$
|
|
1018
|
-
var uncurryThis$
|
|
1019
|
-
var call$
|
|
1020
|
-
var fails$
|
|
1017
|
+
var DESCRIPTORS$4 = descriptors;
|
|
1018
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1019
|
+
var call$7 = functionCall;
|
|
1020
|
+
var fails$6 = fails$f;
|
|
1021
1021
|
var objectKeys$1 = objectKeys$2;
|
|
1022
1022
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1023
1023
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
@@ -1027,17 +1027,17 @@ var IndexedObject = indexedObject;
|
|
|
1027
1027
|
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1028
1028
|
var $assign = Object.assign;
|
|
1029
1029
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1030
|
-
var defineProperty$
|
|
1031
|
-
var concat = uncurryThis$
|
|
1030
|
+
var defineProperty$4 = Object.defineProperty;
|
|
1031
|
+
var concat = uncurryThis$5([].concat);
|
|
1032
1032
|
|
|
1033
1033
|
// `Object.assign` method
|
|
1034
1034
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1035
|
-
var objectAssign = !$assign || fails$
|
|
1035
|
+
var objectAssign = !$assign || fails$6(function () {
|
|
1036
1036
|
// should have correct order of operations (Edge bug)
|
|
1037
|
-
if (DESCRIPTORS$
|
|
1037
|
+
if (DESCRIPTORS$4 && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', {
|
|
1038
1038
|
enumerable: true,
|
|
1039
1039
|
get: function () {
|
|
1040
|
-
defineProperty$
|
|
1040
|
+
defineProperty$4(this, 'b', {
|
|
1041
1041
|
value: 3,
|
|
1042
1042
|
enumerable: false
|
|
1043
1043
|
});
|
|
@@ -1067,18 +1067,18 @@ var objectAssign = !$assign || fails$5(function () {
|
|
|
1067
1067
|
var key;
|
|
1068
1068
|
while (length > j) {
|
|
1069
1069
|
key = keys[j++];
|
|
1070
|
-
if (!DESCRIPTORS$
|
|
1070
|
+
if (!DESCRIPTORS$4 || call$7(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1071
1071
|
}
|
|
1072
1072
|
} return T;
|
|
1073
1073
|
} : $assign;
|
|
1074
1074
|
|
|
1075
|
-
var $$
|
|
1075
|
+
var $$b = _export;
|
|
1076
1076
|
var assign = objectAssign;
|
|
1077
1077
|
|
|
1078
1078
|
// `Object.assign` method
|
|
1079
1079
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1080
1080
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1081
|
-
$$
|
|
1081
|
+
$$b({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1082
1082
|
assign: assign
|
|
1083
1083
|
});
|
|
1084
1084
|
|
|
@@ -1943,24 +1943,24 @@ const popupVisualSettingsSchema = {
|
|
|
1943
1943
|
|
|
1944
1944
|
var objectDefineProperties = {};
|
|
1945
1945
|
|
|
1946
|
-
var DESCRIPTORS$
|
|
1946
|
+
var DESCRIPTORS$3 = descriptors;
|
|
1947
1947
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1948
|
-
var definePropertyModule = objectDefineProperty;
|
|
1949
|
-
var anObject$
|
|
1948
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
1949
|
+
var anObject$7 = anObject$a;
|
|
1950
1950
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
1951
1951
|
var objectKeys = objectKeys$2;
|
|
1952
1952
|
|
|
1953
1953
|
// `Object.defineProperties` method
|
|
1954
1954
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1955
1955
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1956
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
1957
|
-
anObject$
|
|
1956
|
+
objectDefineProperties.f = DESCRIPTORS$3 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1957
|
+
anObject$7(O);
|
|
1958
1958
|
var props = toIndexedObject$1(Properties);
|
|
1959
1959
|
var keys = objectKeys(Properties);
|
|
1960
1960
|
var length = keys.length;
|
|
1961
1961
|
var index = 0;
|
|
1962
1962
|
var key;
|
|
1963
|
-
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
1963
|
+
while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
|
|
1964
1964
|
return O;
|
|
1965
1965
|
};
|
|
1966
1966
|
|
|
@@ -1969,7 +1969,7 @@ var getBuiltIn$1 = getBuiltIn$4;
|
|
|
1969
1969
|
var html$1 = getBuiltIn$1('document', 'documentElement');
|
|
1970
1970
|
|
|
1971
1971
|
/* global ActiveXObject -- old IE, WSH */
|
|
1972
|
-
var anObject$
|
|
1972
|
+
var anObject$6 = anObject$a;
|
|
1973
1973
|
var definePropertiesModule = objectDefineProperties;
|
|
1974
1974
|
var enumBugKeys = enumBugKeys$3;
|
|
1975
1975
|
var hiddenKeys = hiddenKeys$4;
|
|
@@ -2044,7 +2044,7 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
2044
2044
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
2045
2045
|
var result;
|
|
2046
2046
|
if (O !== null) {
|
|
2047
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
2047
|
+
EmptyConstructor[PROTOTYPE] = anObject$6(O);
|
|
2048
2048
|
result = new EmptyConstructor();
|
|
2049
2049
|
EmptyConstructor[PROTOTYPE] = null;
|
|
2050
2050
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -2053,17 +2053,17 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
2053
2053
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
2054
2054
|
};
|
|
2055
2055
|
|
|
2056
|
-
var wellKnownSymbol$
|
|
2056
|
+
var wellKnownSymbol$9 = wellKnownSymbol$b;
|
|
2057
2057
|
var create$1 = objectCreate;
|
|
2058
|
-
var defineProperty$
|
|
2058
|
+
var defineProperty$3 = objectDefineProperty.f;
|
|
2059
2059
|
|
|
2060
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
2061
|
-
var ArrayPrototype = Array.prototype;
|
|
2060
|
+
var UNSCOPABLES = wellKnownSymbol$9('unscopables');
|
|
2061
|
+
var ArrayPrototype$1 = Array.prototype;
|
|
2062
2062
|
|
|
2063
2063
|
// Array.prototype[@@unscopables]
|
|
2064
2064
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
2065
|
-
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
2066
|
-
defineProperty$
|
|
2065
|
+
if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
|
|
2066
|
+
defineProperty$3(ArrayPrototype$1, UNSCOPABLES, {
|
|
2067
2067
|
configurable: true,
|
|
2068
2068
|
value: create$1(null)
|
|
2069
2069
|
});
|
|
@@ -2071,23 +2071,23 @@ if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
|
2071
2071
|
|
|
2072
2072
|
// add a key to Array.prototype[@@unscopables]
|
|
2073
2073
|
var addToUnscopables$2 = function (key) {
|
|
2074
|
-
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
2074
|
+
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
|
2075
2075
|
};
|
|
2076
2076
|
|
|
2077
|
-
var $$
|
|
2077
|
+
var $$a = _export;
|
|
2078
2078
|
var $includes = arrayIncludes.includes;
|
|
2079
|
-
var fails$
|
|
2079
|
+
var fails$5 = fails$f;
|
|
2080
2080
|
var addToUnscopables$1 = addToUnscopables$2;
|
|
2081
2081
|
|
|
2082
2082
|
// FF99+ bug
|
|
2083
|
-
var BROKEN_ON_SPARSE = fails$
|
|
2083
|
+
var BROKEN_ON_SPARSE = fails$5(function () {
|
|
2084
2084
|
// eslint-disable-next-line es/no-array-prototype-includes -- detection
|
|
2085
2085
|
return !Array(1).includes();
|
|
2086
2086
|
});
|
|
2087
2087
|
|
|
2088
2088
|
// `Array.prototype.includes` method
|
|
2089
2089
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
2090
|
-
$$
|
|
2090
|
+
$$a({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
2091
2091
|
includes: function includes(el /* , fromIndex = 0 */) {
|
|
2092
2092
|
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
2093
2093
|
}
|
|
@@ -2246,11 +2246,6 @@ const avatarRuntimeSettingsSchema = {
|
|
|
2246
2246
|
type: 'primitive',
|
|
2247
2247
|
value: 'string'
|
|
2248
2248
|
},
|
|
2249
|
-
genieServerUrl: {
|
|
2250
|
-
type: 'primitive',
|
|
2251
|
-
value: 'string',
|
|
2252
|
-
optional: true
|
|
2253
|
-
},
|
|
2254
2249
|
clientId: {
|
|
2255
2250
|
type: 'primitive',
|
|
2256
2251
|
value: 'string',
|
|
@@ -2296,6 +2291,11 @@ const avatarRuntimeSettingsSchema = {
|
|
|
2296
2291
|
value: 'boolean',
|
|
2297
2292
|
optional: true
|
|
2298
2293
|
},
|
|
2294
|
+
clientToolResponseUrl: {
|
|
2295
|
+
type: 'primitive',
|
|
2296
|
+
value: 'string',
|
|
2297
|
+
optional: true
|
|
2298
|
+
},
|
|
2299
2299
|
kaltura: kalturaSchema,
|
|
2300
2300
|
features: featuresSchema
|
|
2301
2301
|
}
|
|
@@ -2313,6 +2313,16 @@ const avatarRuntimeSettingsSchema = {
|
|
|
2313
2313
|
type: 'literal',
|
|
2314
2314
|
value: 'studio'
|
|
2315
2315
|
},
|
|
2316
|
+
agenticServerUrl: {
|
|
2317
|
+
type: 'primitive',
|
|
2318
|
+
value: 'string',
|
|
2319
|
+
optional: true
|
|
2320
|
+
},
|
|
2321
|
+
clientToolResponseUrl: {
|
|
2322
|
+
type: 'primitive',
|
|
2323
|
+
value: 'string',
|
|
2324
|
+
optional: true
|
|
2325
|
+
},
|
|
2316
2326
|
kaltura: kalturaSchema,
|
|
2317
2327
|
features: featuresSchema
|
|
2318
2328
|
}
|
|
@@ -2492,50 +2502,50 @@ const avatarRuntimeFloaterVisualSettingsSchema = {
|
|
|
2492
2502
|
|
|
2493
2503
|
var iterators = {};
|
|
2494
2504
|
|
|
2495
|
-
var fails$
|
|
2505
|
+
var fails$4 = fails$f;
|
|
2496
2506
|
|
|
2497
|
-
var correctPrototypeGetter = !fails$
|
|
2507
|
+
var correctPrototypeGetter = !fails$4(function () {
|
|
2498
2508
|
function F() { /* empty */ }
|
|
2499
2509
|
F.prototype.constructor = null;
|
|
2500
2510
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
2501
2511
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
2502
2512
|
});
|
|
2503
2513
|
|
|
2504
|
-
var hasOwn$
|
|
2505
|
-
var isCallable$
|
|
2514
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
2515
|
+
var isCallable$4 = isCallable$f;
|
|
2506
2516
|
var toObject = toObject$3;
|
|
2507
2517
|
var sharedKey = sharedKey$3;
|
|
2508
2518
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
2509
2519
|
|
|
2510
2520
|
var IE_PROTO = sharedKey('IE_PROTO');
|
|
2511
|
-
var $Object = Object;
|
|
2512
|
-
var ObjectPrototype = $Object.prototype;
|
|
2521
|
+
var $Object$1 = Object;
|
|
2522
|
+
var ObjectPrototype = $Object$1.prototype;
|
|
2513
2523
|
|
|
2514
2524
|
// `Object.getPrototypeOf` method
|
|
2515
2525
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
2516
2526
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
2517
|
-
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
2527
|
+
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
2518
2528
|
var object = toObject(O);
|
|
2519
|
-
if (hasOwn$
|
|
2529
|
+
if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
|
|
2520
2530
|
var constructor = object.constructor;
|
|
2521
|
-
if (isCallable$
|
|
2531
|
+
if (isCallable$4(constructor) && object instanceof constructor) {
|
|
2522
2532
|
return constructor.prototype;
|
|
2523
|
-
} return object instanceof $Object ? ObjectPrototype : null;
|
|
2533
|
+
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
2524
2534
|
};
|
|
2525
2535
|
|
|
2526
|
-
var fails$
|
|
2527
|
-
var isCallable$
|
|
2536
|
+
var fails$3 = fails$f;
|
|
2537
|
+
var isCallable$3 = isCallable$f;
|
|
2528
2538
|
var isObject$2 = isObject$8;
|
|
2529
|
-
var getPrototypeOf$
|
|
2539
|
+
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
2530
2540
|
var defineBuiltIn$1 = defineBuiltIn$3;
|
|
2531
|
-
var wellKnownSymbol$
|
|
2541
|
+
var wellKnownSymbol$8 = wellKnownSymbol$b;
|
|
2532
2542
|
|
|
2533
|
-
var ITERATOR$
|
|
2543
|
+
var ITERATOR$5 = wellKnownSymbol$8('iterator');
|
|
2534
2544
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
2535
2545
|
|
|
2536
2546
|
// `%IteratorPrototype%` object
|
|
2537
2547
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
2538
|
-
var IteratorPrototype$
|
|
2548
|
+
var IteratorPrototype$3, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
2539
2549
|
|
|
2540
2550
|
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
2541
2551
|
if ([].keys) {
|
|
@@ -2543,68 +2553,68 @@ if ([].keys) {
|
|
|
2543
2553
|
// Safari 8 has buggy iterators w/o `next`
|
|
2544
2554
|
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
2545
2555
|
else {
|
|
2546
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$
|
|
2547
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$
|
|
2556
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$2(getPrototypeOf$2(arrayIterator));
|
|
2557
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$3 = PrototypeOfArrayIteratorPrototype;
|
|
2548
2558
|
}
|
|
2549
2559
|
}
|
|
2550
2560
|
|
|
2551
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$
|
|
2561
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$3) || fails$3(function () {
|
|
2552
2562
|
var test = {};
|
|
2553
2563
|
// FF44- legacy iterators case
|
|
2554
|
-
return IteratorPrototype$
|
|
2564
|
+
return IteratorPrototype$3[ITERATOR$5].call(test) !== test;
|
|
2555
2565
|
});
|
|
2556
2566
|
|
|
2557
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$
|
|
2567
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$3 = {};
|
|
2558
2568
|
|
|
2559
2569
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
2560
2570
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
2561
|
-
if (!isCallable$
|
|
2562
|
-
defineBuiltIn$1(IteratorPrototype$
|
|
2571
|
+
if (!isCallable$3(IteratorPrototype$3[ITERATOR$5])) {
|
|
2572
|
+
defineBuiltIn$1(IteratorPrototype$3, ITERATOR$5, function () {
|
|
2563
2573
|
return this;
|
|
2564
2574
|
});
|
|
2565
2575
|
}
|
|
2566
2576
|
|
|
2567
2577
|
var iteratorsCore = {
|
|
2568
|
-
IteratorPrototype: IteratorPrototype$
|
|
2578
|
+
IteratorPrototype: IteratorPrototype$3,
|
|
2569
2579
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
2570
2580
|
};
|
|
2571
2581
|
|
|
2572
|
-
var defineProperty$
|
|
2573
|
-
var hasOwn = hasOwnProperty_1;
|
|
2574
|
-
var wellKnownSymbol$
|
|
2582
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
2583
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
2584
|
+
var wellKnownSymbol$7 = wellKnownSymbol$b;
|
|
2575
2585
|
|
|
2576
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
2586
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$7('toStringTag');
|
|
2577
2587
|
|
|
2578
2588
|
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
2579
2589
|
if (target && !STATIC) target = target.prototype;
|
|
2580
|
-
if (target && !hasOwn(target, TO_STRING_TAG)) {
|
|
2581
|
-
defineProperty$
|
|
2590
|
+
if (target && !hasOwn$1(target, TO_STRING_TAG$3)) {
|
|
2591
|
+
defineProperty$2(target, TO_STRING_TAG$3, { configurable: true, value: TAG });
|
|
2582
2592
|
}
|
|
2583
2593
|
};
|
|
2584
2594
|
|
|
2585
|
-
var IteratorPrototype$
|
|
2595
|
+
var IteratorPrototype$2 = iteratorsCore.IteratorPrototype;
|
|
2586
2596
|
var create = objectCreate;
|
|
2587
|
-
var createPropertyDescriptor = createPropertyDescriptor$
|
|
2597
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$4;
|
|
2588
2598
|
var setToStringTag$2 = setToStringTag$3;
|
|
2589
|
-
var Iterators$
|
|
2599
|
+
var Iterators$4 = iterators;
|
|
2590
2600
|
|
|
2591
2601
|
var returnThis$1 = function () { return this; };
|
|
2592
2602
|
|
|
2593
2603
|
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
2594
2604
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2595
|
-
IteratorConstructor.prototype = create(IteratorPrototype$
|
|
2605
|
+
IteratorConstructor.prototype = create(IteratorPrototype$2, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
|
|
2596
2606
|
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
2597
|
-
Iterators$
|
|
2607
|
+
Iterators$4[TO_STRING_TAG] = returnThis$1;
|
|
2598
2608
|
return IteratorConstructor;
|
|
2599
2609
|
};
|
|
2600
2610
|
|
|
2601
|
-
var uncurryThis$
|
|
2602
|
-
var aCallable$
|
|
2611
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
2612
|
+
var aCallable$4 = aCallable$6;
|
|
2603
2613
|
|
|
2604
2614
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
2605
2615
|
try {
|
|
2606
2616
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2607
|
-
return uncurryThis$
|
|
2617
|
+
return uncurryThis$4(aCallable$4(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
2608
2618
|
} catch (error) { /* empty */ }
|
|
2609
2619
|
};
|
|
2610
2620
|
|
|
@@ -2617,11 +2627,11 @@ var isPossiblePrototype$1 = function (argument) {
|
|
|
2617
2627
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
2618
2628
|
|
|
2619
2629
|
var $String = String;
|
|
2620
|
-
var $TypeError$
|
|
2630
|
+
var $TypeError$5 = TypeError;
|
|
2621
2631
|
|
|
2622
2632
|
var aPossiblePrototype$1 = function (argument) {
|
|
2623
2633
|
if (isPossiblePrototype(argument)) return argument;
|
|
2624
|
-
throw new $TypeError$
|
|
2634
|
+
throw new $TypeError$5("Can't set " + $String(argument) + ' as a prototype');
|
|
2625
2635
|
};
|
|
2626
2636
|
|
|
2627
2637
|
/* eslint-disable no-proto -- safe */
|
|
@@ -2653,25 +2663,25 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
2653
2663
|
};
|
|
2654
2664
|
}() : undefined);
|
|
2655
2665
|
|
|
2656
|
-
var $$
|
|
2657
|
-
var call$
|
|
2666
|
+
var $$9 = _export;
|
|
2667
|
+
var call$6 = functionCall;
|
|
2658
2668
|
var FunctionName = functionName;
|
|
2659
|
-
var isCallable = isCallable$
|
|
2669
|
+
var isCallable$2 = isCallable$f;
|
|
2660
2670
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
2661
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
2671
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
2662
2672
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
2663
2673
|
var setToStringTag$1 = setToStringTag$3;
|
|
2664
2674
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
|
|
2665
2675
|
var defineBuiltIn = defineBuiltIn$3;
|
|
2666
|
-
var wellKnownSymbol$
|
|
2667
|
-
var Iterators$
|
|
2676
|
+
var wellKnownSymbol$6 = wellKnownSymbol$b;
|
|
2677
|
+
var Iterators$3 = iterators;
|
|
2668
2678
|
var IteratorsCore = iteratorsCore;
|
|
2669
2679
|
|
|
2670
2680
|
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
2671
2681
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
2672
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
2682
|
+
var IteratorPrototype$1 = IteratorsCore.IteratorPrototype;
|
|
2673
2683
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
2674
|
-
var ITERATOR$
|
|
2684
|
+
var ITERATOR$4 = wellKnownSymbol$6('iterator');
|
|
2675
2685
|
var KEYS = 'keys';
|
|
2676
2686
|
var VALUES = 'values';
|
|
2677
2687
|
var ENTRIES = 'entries';
|
|
@@ -2697,7 +2707,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2697
2707
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2698
2708
|
var INCORRECT_VALUES_NAME = false;
|
|
2699
2709
|
var IterablePrototype = Iterable.prototype;
|
|
2700
|
-
var nativeIterator = IterablePrototype[ITERATOR$
|
|
2710
|
+
var nativeIterator = IterablePrototype[ITERATOR$4]
|
|
2701
2711
|
|| IterablePrototype['@@iterator']
|
|
2702
2712
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
2703
2713
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
@@ -2706,13 +2716,13 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2706
2716
|
|
|
2707
2717
|
// fix native
|
|
2708
2718
|
if (anyNativeIterator) {
|
|
2709
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
2719
|
+
CurrentIteratorPrototype = getPrototypeOf$1(anyNativeIterator.call(new Iterable()));
|
|
2710
2720
|
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
2711
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
2721
|
+
if (getPrototypeOf$1(CurrentIteratorPrototype) !== IteratorPrototype$1) {
|
|
2712
2722
|
if (setPrototypeOf) {
|
|
2713
|
-
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
2714
|
-
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR$
|
|
2715
|
-
defineBuiltIn(CurrentIteratorPrototype, ITERATOR$
|
|
2723
|
+
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype$1);
|
|
2724
|
+
} else if (!isCallable$2(CurrentIteratorPrototype[ITERATOR$4])) {
|
|
2725
|
+
defineBuiltIn(CurrentIteratorPrototype, ITERATOR$4, returnThis);
|
|
2716
2726
|
}
|
|
2717
2727
|
}
|
|
2718
2728
|
// Set @@toStringTag to native iterators
|
|
@@ -2726,7 +2736,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2726
2736
|
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
|
2727
2737
|
} else {
|
|
2728
2738
|
INCORRECT_VALUES_NAME = true;
|
|
2729
|
-
defaultIterator = function values() { return call$
|
|
2739
|
+
defaultIterator = function values() { return call$6(nativeIterator, this); };
|
|
2730
2740
|
}
|
|
2731
2741
|
}
|
|
2732
2742
|
|
|
@@ -2741,14 +2751,14 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2741
2751
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
2742
2752
|
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
|
|
2743
2753
|
}
|
|
2744
|
-
} else $$
|
|
2754
|
+
} else $$9({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
2745
2755
|
}
|
|
2746
2756
|
|
|
2747
2757
|
// define iterator
|
|
2748
|
-
if (IterablePrototype[ITERATOR$
|
|
2749
|
-
defineBuiltIn(IterablePrototype, ITERATOR$
|
|
2758
|
+
if (IterablePrototype[ITERATOR$4] !== defaultIterator) {
|
|
2759
|
+
defineBuiltIn(IterablePrototype, ITERATOR$4, defaultIterator, { name: DEFAULT });
|
|
2750
2760
|
}
|
|
2751
|
-
Iterators$
|
|
2761
|
+
Iterators$3[NAME] = defaultIterator;
|
|
2752
2762
|
|
|
2753
2763
|
return methods;
|
|
2754
2764
|
};
|
|
@@ -2761,12 +2771,12 @@ var createIterResultObject$1 = function (value, done) {
|
|
|
2761
2771
|
|
|
2762
2772
|
var toIndexedObject = toIndexedObject$5;
|
|
2763
2773
|
var addToUnscopables = addToUnscopables$2;
|
|
2764
|
-
var Iterators = iterators;
|
|
2774
|
+
var Iterators$2 = iterators;
|
|
2765
2775
|
var InternalStateModule = internalState;
|
|
2766
|
-
var defineProperty = objectDefineProperty.f;
|
|
2776
|
+
var defineProperty$1 = objectDefineProperty.f;
|
|
2767
2777
|
var defineIterator = iteratorDefine;
|
|
2768
2778
|
var createIterResultObject = createIterResultObject$1;
|
|
2769
|
-
var DESCRIPTORS = descriptors;
|
|
2779
|
+
var DESCRIPTORS$2 = descriptors;
|
|
2770
2780
|
|
|
2771
2781
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
2772
2782
|
var setInternalState = InternalStateModule.set;
|
|
@@ -2808,7 +2818,7 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
|
2808
2818
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
2809
2819
|
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
2810
2820
|
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
2811
|
-
var values = Iterators.Arguments = Iterators.Array;
|
|
2821
|
+
var values = Iterators$2.Arguments = Iterators$2.Array;
|
|
2812
2822
|
|
|
2813
2823
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
2814
2824
|
addToUnscopables('keys');
|
|
@@ -2816,11 +2826,11 @@ addToUnscopables('values');
|
|
|
2816
2826
|
addToUnscopables('entries');
|
|
2817
2827
|
|
|
2818
2828
|
// V8 ~ Chrome 45- bug
|
|
2819
|
-
if (DESCRIPTORS && values.name !== 'values') try {
|
|
2820
|
-
defineProperty(values, 'name', { value: 'values' });
|
|
2829
|
+
if (DESCRIPTORS$2 && values.name !== 'values') try {
|
|
2830
|
+
defineProperty$1(values, 'name', { value: 'values' });
|
|
2821
2831
|
} catch (error) { /* empty */ }
|
|
2822
2832
|
|
|
2823
|
-
var uncurryThis$
|
|
2833
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
2824
2834
|
|
|
2825
2835
|
// eslint-disable-next-line es/no-set -- safe
|
|
2826
2836
|
var SetPrototype$1 = Set.prototype;
|
|
@@ -2828,9 +2838,9 @@ var SetPrototype$1 = Set.prototype;
|
|
|
2828
2838
|
var setHelpers = {
|
|
2829
2839
|
// eslint-disable-next-line es/no-set -- safe
|
|
2830
2840
|
Set: Set,
|
|
2831
|
-
add: uncurryThis$
|
|
2832
|
-
has: uncurryThis$
|
|
2833
|
-
remove: uncurryThis$
|
|
2841
|
+
add: uncurryThis$3(SetPrototype$1.add),
|
|
2842
|
+
has: uncurryThis$3(SetPrototype$1.has),
|
|
2843
|
+
remove: uncurryThis$3(SetPrototype$1['delete']),
|
|
2834
2844
|
proto: SetPrototype$1
|
|
2835
2845
|
};
|
|
2836
2846
|
|
|
@@ -2842,26 +2852,26 @@ var aSet$7 = function (it) {
|
|
|
2842
2852
|
return it;
|
|
2843
2853
|
};
|
|
2844
2854
|
|
|
2845
|
-
var call$
|
|
2855
|
+
var call$5 = functionCall;
|
|
2846
2856
|
|
|
2847
2857
|
var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
|
|
2848
2858
|
var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
|
|
2849
2859
|
var next = record.next;
|
|
2850
2860
|
var step, result;
|
|
2851
|
-
while (!(step = call$
|
|
2861
|
+
while (!(step = call$5(next, iterator)).done) {
|
|
2852
2862
|
result = fn(step.value);
|
|
2853
2863
|
if (result !== undefined) return result;
|
|
2854
2864
|
}
|
|
2855
2865
|
};
|
|
2856
2866
|
|
|
2857
|
-
var uncurryThis = functionUncurryThis;
|
|
2867
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
2858
2868
|
var iterateSimple$6 = iterateSimple$7;
|
|
2859
2869
|
var SetHelpers$5 = setHelpers;
|
|
2860
2870
|
|
|
2861
2871
|
var Set$3 = SetHelpers$5.Set;
|
|
2862
2872
|
var SetPrototype = SetHelpers$5.proto;
|
|
2863
|
-
var forEach = uncurryThis(SetPrototype.forEach);
|
|
2864
|
-
var keys = uncurryThis(SetPrototype.keys);
|
|
2873
|
+
var forEach = uncurryThis$2(SetPrototype.forEach);
|
|
2874
|
+
var keys = uncurryThis$2(SetPrototype.keys);
|
|
2865
2875
|
var next = keys(new Set$3()).next;
|
|
2866
2876
|
|
|
2867
2877
|
var setIterate = function (set, fn, interruptible) {
|
|
@@ -2869,14 +2879,14 @@ var setIterate = function (set, fn, interruptible) {
|
|
|
2869
2879
|
};
|
|
2870
2880
|
|
|
2871
2881
|
var SetHelpers$4 = setHelpers;
|
|
2872
|
-
var iterate$
|
|
2882
|
+
var iterate$3 = setIterate;
|
|
2873
2883
|
|
|
2874
2884
|
var Set$2 = SetHelpers$4.Set;
|
|
2875
2885
|
var add$3 = SetHelpers$4.add;
|
|
2876
2886
|
|
|
2877
2887
|
var setClone = function (set) {
|
|
2878
2888
|
var result = new Set$2();
|
|
2879
|
-
iterate$
|
|
2889
|
+
iterate$3(set, function (it) {
|
|
2880
2890
|
add$3(result, it);
|
|
2881
2891
|
});
|
|
2882
2892
|
return result;
|
|
@@ -2891,7 +2901,7 @@ var setSize = uncurryThisAccessor(SetHelpers$3.proto, 'size', 'get') || function
|
|
|
2891
2901
|
|
|
2892
2902
|
// `GetIteratorDirect(obj)` abstract operation
|
|
2893
2903
|
// https://tc39.es/ecma262/#sec-getiteratordirect
|
|
2894
|
-
var getIteratorDirect$
|
|
2904
|
+
var getIteratorDirect$2 = function (obj) {
|
|
2895
2905
|
return {
|
|
2896
2906
|
iterator: obj,
|
|
2897
2907
|
next: obj.next,
|
|
@@ -2899,41 +2909,41 @@ var getIteratorDirect$1 = function (obj) {
|
|
|
2899
2909
|
};
|
|
2900
2910
|
};
|
|
2901
2911
|
|
|
2902
|
-
var aCallable = aCallable$
|
|
2903
|
-
var anObject$
|
|
2904
|
-
var call$
|
|
2912
|
+
var aCallable$3 = aCallable$6;
|
|
2913
|
+
var anObject$5 = anObject$a;
|
|
2914
|
+
var call$4 = functionCall;
|
|
2905
2915
|
var toIntegerOrInfinity = toIntegerOrInfinity$3;
|
|
2906
|
-
var getIteratorDirect = getIteratorDirect$
|
|
2916
|
+
var getIteratorDirect$1 = getIteratorDirect$2;
|
|
2907
2917
|
|
|
2908
2918
|
var INVALID_SIZE = 'Invalid size';
|
|
2909
2919
|
var $RangeError = RangeError;
|
|
2910
|
-
var $TypeError = TypeError;
|
|
2920
|
+
var $TypeError$4 = TypeError;
|
|
2911
2921
|
var max = Math.max;
|
|
2912
2922
|
|
|
2913
2923
|
var SetRecord = function (set, intSize) {
|
|
2914
2924
|
this.set = set;
|
|
2915
2925
|
this.size = max(intSize, 0);
|
|
2916
|
-
this.has = aCallable(set.has);
|
|
2917
|
-
this.keys = aCallable(set.keys);
|
|
2926
|
+
this.has = aCallable$3(set.has);
|
|
2927
|
+
this.keys = aCallable$3(set.keys);
|
|
2918
2928
|
};
|
|
2919
2929
|
|
|
2920
2930
|
SetRecord.prototype = {
|
|
2921
2931
|
getIterator: function () {
|
|
2922
|
-
return getIteratorDirect(anObject$
|
|
2932
|
+
return getIteratorDirect$1(anObject$5(call$4(this.keys, this.set)));
|
|
2923
2933
|
},
|
|
2924
2934
|
includes: function (it) {
|
|
2925
|
-
return call$
|
|
2935
|
+
return call$4(this.has, this.set, it);
|
|
2926
2936
|
}
|
|
2927
2937
|
};
|
|
2928
2938
|
|
|
2929
2939
|
// `GetSetRecord` abstract operation
|
|
2930
2940
|
// https://tc39.es/proposal-set-methods/#sec-getsetrecord
|
|
2931
2941
|
var getSetRecord$7 = function (obj) {
|
|
2932
|
-
anObject$
|
|
2942
|
+
anObject$5(obj);
|
|
2933
2943
|
var numSize = +obj.size;
|
|
2934
2944
|
// NOTE: If size is undefined, then numSize will be NaN
|
|
2935
2945
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
2936
|
-
if (numSize !== numSize) throw new $TypeError(INVALID_SIZE);
|
|
2946
|
+
if (numSize !== numSize) throw new $TypeError$4(INVALID_SIZE);
|
|
2937
2947
|
var intSize = toIntegerOrInfinity(numSize);
|
|
2938
2948
|
if (intSize < 0) throw new $RangeError(INVALID_SIZE);
|
|
2939
2949
|
return new SetRecord(obj, intSize);
|
|
@@ -3023,16 +3033,16 @@ var setMethodAcceptSetLike$7 = function (name, callback) {
|
|
|
3023
3033
|
}
|
|
3024
3034
|
};
|
|
3025
3035
|
|
|
3026
|
-
var $$
|
|
3036
|
+
var $$8 = _export;
|
|
3027
3037
|
var difference = setDifference;
|
|
3028
|
-
var fails$
|
|
3038
|
+
var fails$2 = fails$f;
|
|
3029
3039
|
var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
|
|
3030
3040
|
|
|
3031
3041
|
var SET_LIKE_INCORRECT_BEHAVIOR = !setMethodAcceptSetLike$6('difference', function (result) {
|
|
3032
3042
|
return result.size === 0;
|
|
3033
3043
|
});
|
|
3034
3044
|
|
|
3035
|
-
var FORCED$
|
|
3045
|
+
var FORCED$3 = SET_LIKE_INCORRECT_BEHAVIOR || fails$2(function () {
|
|
3036
3046
|
// https://bugs.webkit.org/show_bug.cgi?id=288595
|
|
3037
3047
|
var setLike = {
|
|
3038
3048
|
size: 1,
|
|
@@ -3056,7 +3066,7 @@ var FORCED$2 = SET_LIKE_INCORRECT_BEHAVIOR || fails$1(function () {
|
|
|
3056
3066
|
|
|
3057
3067
|
// `Set.prototype.difference` method
|
|
3058
3068
|
// https://tc39.es/ecma262/#sec-set.prototype.difference
|
|
3059
|
-
$$
|
|
3069
|
+
$$8({ target: 'Set', proto: true, real: true, forced: FORCED$3 }, {
|
|
3060
3070
|
difference: difference
|
|
3061
3071
|
});
|
|
3062
3072
|
|
|
@@ -3091,45 +3101,45 @@ var setIntersection = function intersection(other) {
|
|
|
3091
3101
|
return result;
|
|
3092
3102
|
};
|
|
3093
3103
|
|
|
3094
|
-
var $$
|
|
3095
|
-
var fails = fails$
|
|
3104
|
+
var $$7 = _export;
|
|
3105
|
+
var fails$1 = fails$f;
|
|
3096
3106
|
var intersection = setIntersection;
|
|
3097
3107
|
var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
|
|
3098
3108
|
|
|
3099
3109
|
var INCORRECT$3 = !setMethodAcceptSetLike$5('intersection', function (result) {
|
|
3100
3110
|
return result.size === 2 && result.has(1) && result.has(2);
|
|
3101
|
-
}) || fails(function () {
|
|
3111
|
+
}) || fails$1(function () {
|
|
3102
3112
|
// eslint-disable-next-line es/no-array-from, es/no-set, es/no-set-prototype-intersection -- testing
|
|
3103
3113
|
return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
|
|
3104
3114
|
});
|
|
3105
3115
|
|
|
3106
3116
|
// `Set.prototype.intersection` method
|
|
3107
3117
|
// https://tc39.es/ecma262/#sec-set.prototype.intersection
|
|
3108
|
-
$$
|
|
3118
|
+
$$7({ target: 'Set', proto: true, real: true, forced: INCORRECT$3 }, {
|
|
3109
3119
|
intersection: intersection
|
|
3110
3120
|
});
|
|
3111
3121
|
|
|
3112
|
-
var call = functionCall;
|
|
3113
|
-
var anObject = anObject$
|
|
3114
|
-
var getMethod = getMethod$
|
|
3122
|
+
var call$3 = functionCall;
|
|
3123
|
+
var anObject$4 = anObject$a;
|
|
3124
|
+
var getMethod$1 = getMethod$3;
|
|
3115
3125
|
|
|
3116
|
-
var iteratorClose$
|
|
3126
|
+
var iteratorClose$4 = function (iterator, kind, value) {
|
|
3117
3127
|
var innerResult, innerError;
|
|
3118
|
-
anObject(iterator);
|
|
3128
|
+
anObject$4(iterator);
|
|
3119
3129
|
try {
|
|
3120
|
-
innerResult = getMethod(iterator, 'return');
|
|
3130
|
+
innerResult = getMethod$1(iterator, 'return');
|
|
3121
3131
|
if (!innerResult) {
|
|
3122
3132
|
if (kind === 'throw') throw value;
|
|
3123
3133
|
return value;
|
|
3124
3134
|
}
|
|
3125
|
-
innerResult = call(innerResult, iterator);
|
|
3135
|
+
innerResult = call$3(innerResult, iterator);
|
|
3126
3136
|
} catch (error) {
|
|
3127
3137
|
innerError = true;
|
|
3128
3138
|
innerResult = error;
|
|
3129
3139
|
}
|
|
3130
3140
|
if (kind === 'throw') throw value;
|
|
3131
3141
|
if (innerError) throw innerResult;
|
|
3132
|
-
anObject(innerResult);
|
|
3142
|
+
anObject$4(innerResult);
|
|
3133
3143
|
return value;
|
|
3134
3144
|
};
|
|
3135
3145
|
|
|
@@ -3139,7 +3149,7 @@ var size$2 = setSize;
|
|
|
3139
3149
|
var getSetRecord$4 = getSetRecord$7;
|
|
3140
3150
|
var iterateSet = setIterate;
|
|
3141
3151
|
var iterateSimple$3 = iterateSimple$7;
|
|
3142
|
-
var iteratorClose$
|
|
3152
|
+
var iteratorClose$3 = iteratorClose$4;
|
|
3143
3153
|
|
|
3144
3154
|
// `Set.prototype.isDisjointFrom` method
|
|
3145
3155
|
// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
|
|
@@ -3151,11 +3161,11 @@ var setIsDisjointFrom = function isDisjointFrom(other) {
|
|
|
3151
3161
|
}, true) !== false;
|
|
3152
3162
|
var iterator = otherRec.getIterator();
|
|
3153
3163
|
return iterateSimple$3(iterator, function (e) {
|
|
3154
|
-
if (has$2(O, e)) return iteratorClose$
|
|
3164
|
+
if (has$2(O, e)) return iteratorClose$3(iterator, 'normal', false);
|
|
3155
3165
|
}) !== false;
|
|
3156
3166
|
};
|
|
3157
3167
|
|
|
3158
|
-
var $$
|
|
3168
|
+
var $$6 = _export;
|
|
3159
3169
|
var isDisjointFrom = setIsDisjointFrom;
|
|
3160
3170
|
var setMethodAcceptSetLike$4 = setMethodAcceptSetLike$7;
|
|
3161
3171
|
|
|
@@ -3165,13 +3175,13 @@ var INCORRECT$2 = !setMethodAcceptSetLike$4('isDisjointFrom', function (result)
|
|
|
3165
3175
|
|
|
3166
3176
|
// `Set.prototype.isDisjointFrom` method
|
|
3167
3177
|
// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
|
|
3168
|
-
$$
|
|
3178
|
+
$$6({ target: 'Set', proto: true, real: true, forced: INCORRECT$2 }, {
|
|
3169
3179
|
isDisjointFrom: isDisjointFrom
|
|
3170
3180
|
});
|
|
3171
3181
|
|
|
3172
3182
|
var aSet$3 = aSet$7;
|
|
3173
3183
|
var size$1 = setSize;
|
|
3174
|
-
var iterate = setIterate;
|
|
3184
|
+
var iterate$2 = setIterate;
|
|
3175
3185
|
var getSetRecord$3 = getSetRecord$7;
|
|
3176
3186
|
|
|
3177
3187
|
// `Set.prototype.isSubsetOf` method
|
|
@@ -3180,12 +3190,12 @@ var setIsSubsetOf = function isSubsetOf(other) {
|
|
|
3180
3190
|
var O = aSet$3(this);
|
|
3181
3191
|
var otherRec = getSetRecord$3(other);
|
|
3182
3192
|
if (size$1(O) > otherRec.size) return false;
|
|
3183
|
-
return iterate(O, function (e) {
|
|
3193
|
+
return iterate$2(O, function (e) {
|
|
3184
3194
|
if (!otherRec.includes(e)) return false;
|
|
3185
3195
|
}, true) !== false;
|
|
3186
3196
|
};
|
|
3187
3197
|
|
|
3188
|
-
var $$
|
|
3198
|
+
var $$5 = _export;
|
|
3189
3199
|
var isSubsetOf = setIsSubsetOf;
|
|
3190
3200
|
var setMethodAcceptSetLike$3 = setMethodAcceptSetLike$7;
|
|
3191
3201
|
|
|
@@ -3195,7 +3205,7 @@ var INCORRECT$1 = !setMethodAcceptSetLike$3('isSubsetOf', function (result) {
|
|
|
3195
3205
|
|
|
3196
3206
|
// `Set.prototype.isSubsetOf` method
|
|
3197
3207
|
// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
|
|
3198
|
-
$$
|
|
3208
|
+
$$5({ target: 'Set', proto: true, real: true, forced: INCORRECT$1 }, {
|
|
3199
3209
|
isSubsetOf: isSubsetOf
|
|
3200
3210
|
});
|
|
3201
3211
|
|
|
@@ -3204,7 +3214,7 @@ var has$1 = setHelpers.has;
|
|
|
3204
3214
|
var size = setSize;
|
|
3205
3215
|
var getSetRecord$2 = getSetRecord$7;
|
|
3206
3216
|
var iterateSimple$2 = iterateSimple$7;
|
|
3207
|
-
var iteratorClose = iteratorClose$
|
|
3217
|
+
var iteratorClose$2 = iteratorClose$4;
|
|
3208
3218
|
|
|
3209
3219
|
// `Set.prototype.isSupersetOf` method
|
|
3210
3220
|
// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
|
|
@@ -3214,11 +3224,11 @@ var setIsSupersetOf = function isSupersetOf(other) {
|
|
|
3214
3224
|
if (size(O) < otherRec.size) return false;
|
|
3215
3225
|
var iterator = otherRec.getIterator();
|
|
3216
3226
|
return iterateSimple$2(iterator, function (e) {
|
|
3217
|
-
if (!has$1(O, e)) return iteratorClose(iterator, 'normal', false);
|
|
3227
|
+
if (!has$1(O, e)) return iteratorClose$2(iterator, 'normal', false);
|
|
3218
3228
|
}) !== false;
|
|
3219
3229
|
};
|
|
3220
3230
|
|
|
3221
|
-
var $$
|
|
3231
|
+
var $$4 = _export;
|
|
3222
3232
|
var isSupersetOf = setIsSupersetOf;
|
|
3223
3233
|
var setMethodAcceptSetLike$2 = setMethodAcceptSetLike$7;
|
|
3224
3234
|
|
|
@@ -3228,7 +3238,7 @@ var INCORRECT = !setMethodAcceptSetLike$2('isSupersetOf', function (result) {
|
|
|
3228
3238
|
|
|
3229
3239
|
// `Set.prototype.isSupersetOf` method
|
|
3230
3240
|
// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
|
|
3231
|
-
$$
|
|
3241
|
+
$$4({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
3232
3242
|
isSupersetOf: isSupersetOf
|
|
3233
3243
|
});
|
|
3234
3244
|
|
|
@@ -3285,16 +3295,16 @@ var setMethodGetKeysBeforeCloningDetection = function (METHOD_NAME) {
|
|
|
3285
3295
|
}
|
|
3286
3296
|
};
|
|
3287
3297
|
|
|
3288
|
-
var $$
|
|
3298
|
+
var $$3 = _export;
|
|
3289
3299
|
var symmetricDifference = setSymmetricDifference;
|
|
3290
3300
|
var setMethodGetKeysBeforeCloning$1 = setMethodGetKeysBeforeCloningDetection;
|
|
3291
3301
|
var setMethodAcceptSetLike$1 = setMethodAcceptSetLike$7;
|
|
3292
3302
|
|
|
3293
|
-
var FORCED$
|
|
3303
|
+
var FORCED$2 = !setMethodAcceptSetLike$1('symmetricDifference') || !setMethodGetKeysBeforeCloning$1('symmetricDifference');
|
|
3294
3304
|
|
|
3295
3305
|
// `Set.prototype.symmetricDifference` method
|
|
3296
3306
|
// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
|
|
3297
|
-
$$
|
|
3307
|
+
$$3({ target: 'Set', proto: true, real: true, forced: FORCED$2 }, {
|
|
3298
3308
|
symmetricDifference: symmetricDifference
|
|
3299
3309
|
});
|
|
3300
3310
|
|
|
@@ -3316,16 +3326,16 @@ var setUnion = function union(other) {
|
|
|
3316
3326
|
return result;
|
|
3317
3327
|
};
|
|
3318
3328
|
|
|
3319
|
-
var
|
|
3329
|
+
var $$2 = _export;
|
|
3320
3330
|
var union = setUnion;
|
|
3321
3331
|
var setMethodGetKeysBeforeCloning = setMethodGetKeysBeforeCloningDetection;
|
|
3322
3332
|
var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
|
|
3323
3333
|
|
|
3324
|
-
var FORCED = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeCloning('union');
|
|
3334
|
+
var FORCED$1 = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeCloning('union');
|
|
3325
3335
|
|
|
3326
3336
|
// `Set.prototype.union` method
|
|
3327
3337
|
// https://tc39.es/ecma262/#sec-set.prototype.union
|
|
3328
|
-
|
|
3338
|
+
$$2({ target: 'Set', proto: true, real: true, forced: FORCED$1 }, {
|
|
3329
3339
|
union: union
|
|
3330
3340
|
});
|
|
3331
3341
|
|
|
@@ -3373,24 +3383,24 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
3373
3383
|
|
|
3374
3384
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
3375
3385
|
|
|
3376
|
-
var globalThis$
|
|
3386
|
+
var globalThis$3 = globalThis_1;
|
|
3377
3387
|
var DOMIterables = domIterables;
|
|
3378
3388
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
3379
3389
|
var ArrayIteratorMethods = es_array_iterator;
|
|
3380
3390
|
var createNonEnumerableProperty = createNonEnumerableProperty$4;
|
|
3381
3391
|
var setToStringTag = setToStringTag$3;
|
|
3382
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
3392
|
+
var wellKnownSymbol$5 = wellKnownSymbol$b;
|
|
3383
3393
|
|
|
3384
|
-
var ITERATOR = wellKnownSymbol('iterator');
|
|
3394
|
+
var ITERATOR$3 = wellKnownSymbol$5('iterator');
|
|
3385
3395
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
3386
3396
|
|
|
3387
3397
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
3388
3398
|
if (CollectionPrototype) {
|
|
3389
3399
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
3390
|
-
if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
|
|
3391
|
-
createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
|
|
3400
|
+
if (CollectionPrototype[ITERATOR$3] !== ArrayValues) try {
|
|
3401
|
+
createNonEnumerableProperty(CollectionPrototype, ITERATOR$3, ArrayValues);
|
|
3392
3402
|
} catch (error) {
|
|
3393
|
-
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
3403
|
+
CollectionPrototype[ITERATOR$3] = ArrayValues;
|
|
3394
3404
|
}
|
|
3395
3405
|
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
3396
3406
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
@@ -3405,7 +3415,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
3405
3415
|
};
|
|
3406
3416
|
|
|
3407
3417
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
3408
|
-
handlePrototype(globalThis$
|
|
3418
|
+
handlePrototype(globalThis$3[COLLECTION_NAME] && globalThis$3[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
3409
3419
|
}
|
|
3410
3420
|
|
|
3411
3421
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
@@ -3508,4 +3518,355 @@ const chatThreadRuntimeContainedVisualSettingsSchema = {
|
|
|
3508
3518
|
}
|
|
3509
3519
|
};
|
|
3510
3520
|
|
|
3511
|
-
|
|
3521
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
3522
|
+
|
|
3523
|
+
var $TypeError$3 = TypeError;
|
|
3524
|
+
|
|
3525
|
+
var anInstance$1 = function (it, Prototype) {
|
|
3526
|
+
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
3527
|
+
throw new $TypeError$3('Incorrect invocation');
|
|
3528
|
+
};
|
|
3529
|
+
|
|
3530
|
+
var makeBuiltIn = makeBuiltInExports;
|
|
3531
|
+
var defineProperty = objectDefineProperty;
|
|
3532
|
+
|
|
3533
|
+
var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
3534
|
+
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
3535
|
+
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
3536
|
+
return defineProperty.f(target, name, descriptor);
|
|
3537
|
+
};
|
|
3538
|
+
|
|
3539
|
+
var DESCRIPTORS$1 = descriptors;
|
|
3540
|
+
var definePropertyModule = objectDefineProperty;
|
|
3541
|
+
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
3542
|
+
|
|
3543
|
+
var createProperty$1 = function (object, key, value) {
|
|
3544
|
+
if (DESCRIPTORS$1) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
|
3545
|
+
else object[key] = value;
|
|
3546
|
+
};
|
|
3547
|
+
|
|
3548
|
+
var $$1 = _export;
|
|
3549
|
+
var globalThis$2 = globalThis_1;
|
|
3550
|
+
var anInstance = anInstance$1;
|
|
3551
|
+
var anObject$3 = anObject$a;
|
|
3552
|
+
var isCallable$1 = isCallable$f;
|
|
3553
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
3554
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
3555
|
+
var createProperty = createProperty$1;
|
|
3556
|
+
var fails = fails$f;
|
|
3557
|
+
var hasOwn = hasOwnProperty_1;
|
|
3558
|
+
var wellKnownSymbol$4 = wellKnownSymbol$b;
|
|
3559
|
+
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
3560
|
+
var DESCRIPTORS = descriptors;
|
|
3561
|
+
|
|
3562
|
+
var CONSTRUCTOR = 'constructor';
|
|
3563
|
+
var ITERATOR$2 = 'Iterator';
|
|
3564
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$4('toStringTag');
|
|
3565
|
+
|
|
3566
|
+
var $TypeError$2 = TypeError;
|
|
3567
|
+
var NativeIterator = globalThis$2[ITERATOR$2];
|
|
3568
|
+
|
|
3569
|
+
// FF56- have non-standard global helper `Iterator`
|
|
3570
|
+
var FORCED = !isCallable$1(NativeIterator)
|
|
3571
|
+
|| NativeIterator.prototype !== IteratorPrototype
|
|
3572
|
+
// FF44- non-standard `Iterator` passes previous tests
|
|
3573
|
+
|| !fails(function () { NativeIterator({}); });
|
|
3574
|
+
|
|
3575
|
+
var IteratorConstructor = function Iterator() {
|
|
3576
|
+
anInstance(this, IteratorPrototype);
|
|
3577
|
+
if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError$2('Abstract class Iterator not directly constructable');
|
|
3578
|
+
};
|
|
3579
|
+
|
|
3580
|
+
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
3581
|
+
if (DESCRIPTORS) {
|
|
3582
|
+
defineBuiltInAccessor(IteratorPrototype, key, {
|
|
3583
|
+
configurable: true,
|
|
3584
|
+
get: function () {
|
|
3585
|
+
return value;
|
|
3586
|
+
},
|
|
3587
|
+
set: function (replacement) {
|
|
3588
|
+
anObject$3(this);
|
|
3589
|
+
if (this === IteratorPrototype) throw new $TypeError$2("You can't redefine this property");
|
|
3590
|
+
if (hasOwn(this, key)) this[key] = replacement;
|
|
3591
|
+
else createProperty(this, key, replacement);
|
|
3592
|
+
}
|
|
3593
|
+
});
|
|
3594
|
+
} else IteratorPrototype[key] = value;
|
|
3595
|
+
};
|
|
3596
|
+
|
|
3597
|
+
if (!hasOwn(IteratorPrototype, TO_STRING_TAG$2)) defineIteratorPrototypeAccessor(TO_STRING_TAG$2, ITERATOR$2);
|
|
3598
|
+
|
|
3599
|
+
if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
|
|
3600
|
+
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
3601
|
+
}
|
|
3602
|
+
|
|
3603
|
+
IteratorConstructor.prototype = IteratorPrototype;
|
|
3604
|
+
|
|
3605
|
+
// `Iterator` constructor
|
|
3606
|
+
// https://tc39.es/ecma262/#sec-iterator
|
|
3607
|
+
$$1({ global: true, constructor: true, forced: FORCED }, {
|
|
3608
|
+
Iterator: IteratorConstructor
|
|
3609
|
+
});
|
|
3610
|
+
|
|
3611
|
+
var classofRaw$1 = classofRaw$2;
|
|
3612
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
3613
|
+
|
|
3614
|
+
var functionUncurryThisClause = function (fn) {
|
|
3615
|
+
// Nashorn bug:
|
|
3616
|
+
// https://github.com/zloirock/core-js/issues/1128
|
|
3617
|
+
// https://github.com/zloirock/core-js/issues/1130
|
|
3618
|
+
if (classofRaw$1(fn) === 'Function') return uncurryThis$1(fn);
|
|
3619
|
+
};
|
|
3620
|
+
|
|
3621
|
+
var uncurryThis = functionUncurryThisClause;
|
|
3622
|
+
var aCallable$2 = aCallable$6;
|
|
3623
|
+
var NATIVE_BIND = functionBindNative;
|
|
3624
|
+
|
|
3625
|
+
var bind$1 = uncurryThis(uncurryThis.bind);
|
|
3626
|
+
|
|
3627
|
+
// optional / simple context binding
|
|
3628
|
+
var functionBindContext = function (fn, that) {
|
|
3629
|
+
aCallable$2(fn);
|
|
3630
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
|
|
3631
|
+
return fn.apply(that, arguments);
|
|
3632
|
+
};
|
|
3633
|
+
};
|
|
3634
|
+
|
|
3635
|
+
var wellKnownSymbol$3 = wellKnownSymbol$b;
|
|
3636
|
+
var Iterators$1 = iterators;
|
|
3637
|
+
|
|
3638
|
+
var ITERATOR$1 = wellKnownSymbol$3('iterator');
|
|
3639
|
+
var ArrayPrototype = Array.prototype;
|
|
3640
|
+
|
|
3641
|
+
// check on default Array iterator
|
|
3642
|
+
var isArrayIteratorMethod$1 = function (it) {
|
|
3643
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$1] === it);
|
|
3644
|
+
};
|
|
3645
|
+
|
|
3646
|
+
var wellKnownSymbol$2 = wellKnownSymbol$b;
|
|
3647
|
+
|
|
3648
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
|
|
3649
|
+
var test = {};
|
|
3650
|
+
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
3651
|
+
test[TO_STRING_TAG$1] = 'z';
|
|
3652
|
+
|
|
3653
|
+
var toStringTagSupport = String(test) === '[object z]';
|
|
3654
|
+
|
|
3655
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
3656
|
+
var isCallable = isCallable$f;
|
|
3657
|
+
var classofRaw = classofRaw$2;
|
|
3658
|
+
var wellKnownSymbol$1 = wellKnownSymbol$b;
|
|
3659
|
+
|
|
3660
|
+
var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
|
|
3661
|
+
var $Object = Object;
|
|
3662
|
+
|
|
3663
|
+
// ES3 wrong here
|
|
3664
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
3665
|
+
|
|
3666
|
+
// fallback for IE11 Script Access Denied error
|
|
3667
|
+
var tryGet = function (it, key) {
|
|
3668
|
+
try {
|
|
3669
|
+
return it[key];
|
|
3670
|
+
} catch (error) { /* empty */ }
|
|
3671
|
+
};
|
|
3672
|
+
|
|
3673
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
|
3674
|
+
var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
3675
|
+
var O, tag, result;
|
|
3676
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
3677
|
+
// @@toStringTag case
|
|
3678
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
3679
|
+
// builtinTag case
|
|
3680
|
+
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
3681
|
+
// ES3 arguments fallback
|
|
3682
|
+
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
3683
|
+
};
|
|
3684
|
+
|
|
3685
|
+
var classof = classof$1;
|
|
3686
|
+
var getMethod = getMethod$3;
|
|
3687
|
+
var isNullOrUndefined = isNullOrUndefined$3;
|
|
3688
|
+
var Iterators = iterators;
|
|
3689
|
+
var wellKnownSymbol = wellKnownSymbol$b;
|
|
3690
|
+
|
|
3691
|
+
var ITERATOR = wellKnownSymbol('iterator');
|
|
3692
|
+
|
|
3693
|
+
var getIteratorMethod$2 = function (it) {
|
|
3694
|
+
if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
|
|
3695
|
+
|| getMethod(it, '@@iterator')
|
|
3696
|
+
|| Iterators[classof(it)];
|
|
3697
|
+
};
|
|
3698
|
+
|
|
3699
|
+
var call$2 = functionCall;
|
|
3700
|
+
var aCallable$1 = aCallable$6;
|
|
3701
|
+
var anObject$2 = anObject$a;
|
|
3702
|
+
var tryToString$1 = tryToString$3;
|
|
3703
|
+
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
3704
|
+
|
|
3705
|
+
var $TypeError$1 = TypeError;
|
|
3706
|
+
|
|
3707
|
+
var getIterator$1 = function (argument, usingIterator) {
|
|
3708
|
+
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
3709
|
+
if (aCallable$1(iteratorMethod)) return anObject$2(call$2(iteratorMethod, argument));
|
|
3710
|
+
throw new $TypeError$1(tryToString$1(argument) + ' is not iterable');
|
|
3711
|
+
};
|
|
3712
|
+
|
|
3713
|
+
var bind = functionBindContext;
|
|
3714
|
+
var call$1 = functionCall;
|
|
3715
|
+
var anObject$1 = anObject$a;
|
|
3716
|
+
var tryToString = tryToString$3;
|
|
3717
|
+
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
3718
|
+
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
3719
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
3720
|
+
var getIterator = getIterator$1;
|
|
3721
|
+
var getIteratorMethod = getIteratorMethod$2;
|
|
3722
|
+
var iteratorClose$1 = iteratorClose$4;
|
|
3723
|
+
|
|
3724
|
+
var $TypeError = TypeError;
|
|
3725
|
+
|
|
3726
|
+
var Result = function (stopped, result) {
|
|
3727
|
+
this.stopped = stopped;
|
|
3728
|
+
this.result = result;
|
|
3729
|
+
};
|
|
3730
|
+
|
|
3731
|
+
var ResultPrototype = Result.prototype;
|
|
3732
|
+
|
|
3733
|
+
var iterate$1 = function (iterable, unboundFunction, options) {
|
|
3734
|
+
var that = options && options.that;
|
|
3735
|
+
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
3736
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
3737
|
+
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
3738
|
+
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
3739
|
+
var fn = bind(unboundFunction, that);
|
|
3740
|
+
var iterator, iterFn, index, length, result, next, step;
|
|
3741
|
+
|
|
3742
|
+
var stop = function (condition) {
|
|
3743
|
+
if (iterator) iteratorClose$1(iterator, 'normal');
|
|
3744
|
+
return new Result(true, condition);
|
|
3745
|
+
};
|
|
3746
|
+
|
|
3747
|
+
var callFn = function (value) {
|
|
3748
|
+
if (AS_ENTRIES) {
|
|
3749
|
+
anObject$1(value);
|
|
3750
|
+
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
3751
|
+
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
3752
|
+
};
|
|
3753
|
+
|
|
3754
|
+
if (IS_RECORD) {
|
|
3755
|
+
iterator = iterable.iterator;
|
|
3756
|
+
} else if (IS_ITERATOR) {
|
|
3757
|
+
iterator = iterable;
|
|
3758
|
+
} else {
|
|
3759
|
+
iterFn = getIteratorMethod(iterable);
|
|
3760
|
+
if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
|
|
3761
|
+
// optimisation for array iterators
|
|
3762
|
+
if (isArrayIteratorMethod(iterFn)) {
|
|
3763
|
+
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
3764
|
+
result = callFn(iterable[index]);
|
|
3765
|
+
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
3766
|
+
} return new Result(false);
|
|
3767
|
+
}
|
|
3768
|
+
iterator = getIterator(iterable, iterFn);
|
|
3769
|
+
}
|
|
3770
|
+
|
|
3771
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
|
3772
|
+
while (!(step = call$1(next, iterator)).done) {
|
|
3773
|
+
try {
|
|
3774
|
+
result = callFn(step.value);
|
|
3775
|
+
} catch (error) {
|
|
3776
|
+
iteratorClose$1(iterator, 'throw', error);
|
|
3777
|
+
}
|
|
3778
|
+
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
3779
|
+
} return new Result(false);
|
|
3780
|
+
};
|
|
3781
|
+
|
|
3782
|
+
var globalThis$1 = globalThis_1;
|
|
3783
|
+
|
|
3784
|
+
// https://github.com/tc39/ecma262/pull/3467
|
|
3785
|
+
var iteratorHelperWithoutClosingOnEarlyError$1 = function (METHOD_NAME, ExpectedError) {
|
|
3786
|
+
var Iterator = globalThis$1.Iterator;
|
|
3787
|
+
var IteratorPrototype = Iterator && Iterator.prototype;
|
|
3788
|
+
var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
|
|
3789
|
+
|
|
3790
|
+
var CLOSED = false;
|
|
3791
|
+
|
|
3792
|
+
if (method) try {
|
|
3793
|
+
method.call({
|
|
3794
|
+
next: function () { return { done: true }; },
|
|
3795
|
+
'return': function () { CLOSED = true; }
|
|
3796
|
+
}, -1);
|
|
3797
|
+
} catch (error) {
|
|
3798
|
+
// https://bugs.webkit.org/show_bug.cgi?id=291195
|
|
3799
|
+
if (!(error instanceof ExpectedError)) CLOSED = false;
|
|
3800
|
+
}
|
|
3801
|
+
|
|
3802
|
+
if (!CLOSED) return method;
|
|
3803
|
+
};
|
|
3804
|
+
|
|
3805
|
+
var $ = _export;
|
|
3806
|
+
var call = functionCall;
|
|
3807
|
+
var iterate = iterate$1;
|
|
3808
|
+
var aCallable = aCallable$6;
|
|
3809
|
+
var anObject = anObject$a;
|
|
3810
|
+
var getIteratorDirect = getIteratorDirect$2;
|
|
3811
|
+
var iteratorClose = iteratorClose$4;
|
|
3812
|
+
var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$1;
|
|
3813
|
+
|
|
3814
|
+
var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('some', TypeError);
|
|
3815
|
+
|
|
3816
|
+
// `Iterator.prototype.some` method
|
|
3817
|
+
// https://tc39.es/ecma262/#sec-iterator.prototype.some
|
|
3818
|
+
$({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
|
|
3819
|
+
some: function some(predicate) {
|
|
3820
|
+
anObject(this);
|
|
3821
|
+
try {
|
|
3822
|
+
aCallable(predicate);
|
|
3823
|
+
} catch (error) {
|
|
3824
|
+
iteratorClose(this, 'throw', error);
|
|
3825
|
+
}
|
|
3826
|
+
|
|
3827
|
+
if (someWithoutClosingOnEarlyError) return call(someWithoutClosingOnEarlyError, this, predicate);
|
|
3828
|
+
|
|
3829
|
+
var record = getIteratorDirect(this);
|
|
3830
|
+
var counter = 0;
|
|
3831
|
+
return iterate(record, function (value, stop) {
|
|
3832
|
+
if (predicate(value, counter++)) return stop();
|
|
3833
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).stopped;
|
|
3834
|
+
}
|
|
3835
|
+
});
|
|
3836
|
+
|
|
3837
|
+
const isFlashcardElement = element => {
|
|
3838
|
+
return (element === null || element === void 0 ? void 0 : element.type) === 'flashcards';
|
|
3839
|
+
};
|
|
3840
|
+
const isSourcesElement = element => {
|
|
3841
|
+
return (element === null || element === void 0 ? void 0 : element.type) === 'sources';
|
|
3842
|
+
};
|
|
3843
|
+
const isFollowupsElement = element => {
|
|
3844
|
+
return (element === null || element === void 0 ? void 0 : element.type) === 'followups';
|
|
3845
|
+
};
|
|
3846
|
+
const isTextFlashcard = card => {
|
|
3847
|
+
return card.type === 'text';
|
|
3848
|
+
};
|
|
3849
|
+
const isVideoGalleryFlashcard = card => {
|
|
3850
|
+
return card.type === 'videoGallery';
|
|
3851
|
+
};
|
|
3852
|
+
const isVideoSourceItem = item => {
|
|
3853
|
+
return (item === null || item === void 0 ? void 0 : item.type) === 'video';
|
|
3854
|
+
};
|
|
3855
|
+
const isPDFSourceItem = item => {
|
|
3856
|
+
return (item === null || item === void 0 ? void 0 : item.type) === 'document';
|
|
3857
|
+
};
|
|
3858
|
+
function isFlashcardBlock(b) {
|
|
3859
|
+
return b.type === 'unisphere-tool' && b.runtimeName === 'flashcards-tool' && b.status !== 'error' && typeof b.settings === 'object' && b.settings !== null && Array.isArray(b.settings.keypoints);
|
|
3860
|
+
}
|
|
3861
|
+
function isSourcesBlock(b) {
|
|
3862
|
+
return b.type === 'unisphere-tool' && b.runtimeName === 'sources-tool' && b.status !== 'error' && typeof b.settings === 'object' && b.settings !== null && Array.isArray(b.settings.sources);
|
|
3863
|
+
}
|
|
3864
|
+
function isFollowupsBlock(b) {
|
|
3865
|
+
return b.type === 'unisphere-tool' && b.runtimeName === 'followups-tool' && b.status !== 'error';
|
|
3866
|
+
}
|
|
3867
|
+
function isTextBlock(b) {
|
|
3868
|
+
return b.type === 'markdown' && b.status === 'ready' && typeof b.content === 'string';
|
|
3869
|
+
}
|
|
3870
|
+
const hasSources = blocks => blocks.some(b => b.type === 'unisphere-tool' && b.runtimeName === 'sources-tool');
|
|
3871
|
+
|
|
3872
|
+
export { AVATAR_DEFAULT_CAPABILITIES, AnswerModelEnum, AnswerTypeEnum, AvatarConnectionStatus, AvatarRuntimeName, CHAT_CONTEXT_TYPE, CHAT_CONTEXT_TYPE_GLOBAL, CHAT_DEFAULT_CAPABILITIES, ChatRuntimeName, ChatThreadRuntimeName, DeviceType, DisconnectReasons, SUPPORTED_LAYOUT_TYPES, agentModeSchema, avatarContainerModeSchema, avatarRuntimeChatVisualSettingsSchema, avatarRuntimeConnectSettingsSchema, avatarRuntimeContainedVisualSettingsSchema, avatarRuntimeFloaterVisualSettingsSchema, avatarRuntimeHeadFloaterVisualSettingsSchema, avatarRuntimeHeadlessVisualSettingsSchema, avatarRuntimeSettingsSchema, bannerVisualSettingsSchema, blockVisualContextSchema, chatContextSchema, chatCustomizationSchema, chatRuntimePlayerPluginSettingsSchema, chatRuntimeSettingsSchema, chatThreadRuntimeContainedVisualSettingsSchema, chatThreadRuntimeSettingsSchema, containedVisualSettingsSchema, dynamicVariablesSchema, floaterCTAVisualSettingsSchema, floaterVisualSettingsSchema, getAvatarDefaultCapabilities, getChatDefaultCapabilities, getResolvedRuntimeName, getResolvedWidgetName, getSourceUrlSchema, hasSources, integrationsSchema, isAvatarConnectionProxyInternalType, isFlashcardBlock, isFlashcardElement, isFollowupsBlock, isFollowupsElement, isPDFSourceItem, isSourcesBlock, isSourcesElement, isTextBlock, isTextFlashcard, isVideoGalleryFlashcard, isVideoSourceItem, pageVisualSettingsSchema, popupVisualSettingsSchema, resolveActiveContextType, schemaVersionSchema, shareUrlSchema, widgetName };
|