@vonage/vivid 3.0.0-next.20 → 3.0.0-next.21

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.
@@ -0,0 +1,972 @@
1
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
+
3
+ var fails$8 = function (exec) {
4
+ try {
5
+ return !!exec();
6
+ } catch (error) {
7
+ return true;
8
+ }
9
+ };
10
+
11
+ var fails$7 = fails$8;
12
+
13
+ var functionBindNative = !fails$7(function () {
14
+ // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
15
+ var test = (function () { /* empty */ }).bind();
16
+ // eslint-disable-next-line no-prototype-builtins -- safe
17
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
18
+ });
19
+
20
+ var NATIVE_BIND$1 = functionBindNative;
21
+
22
+ var FunctionPrototype$1 = Function.prototype;
23
+ var bind = FunctionPrototype$1.bind;
24
+ var call$4 = FunctionPrototype$1.call;
25
+ var uncurryThis$9 = NATIVE_BIND$1 && bind.bind(call$4, call$4);
26
+
27
+ var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
28
+ return fn && uncurryThis$9(fn);
29
+ } : function (fn) {
30
+ return fn && function () {
31
+ return call$4.apply(fn, arguments);
32
+ };
33
+ };
34
+
35
+ var uncurryThis$8 = functionUncurryThis;
36
+
37
+ var toString$1 = uncurryThis$8({}.toString);
38
+ var stringSlice = uncurryThis$8(''.slice);
39
+
40
+ var classofRaw = function (it) {
41
+ return stringSlice(toString$1(it), 8, -1);
42
+ };
43
+
44
+ var uncurryThis$7 = functionUncurryThis;
45
+ var fails$6 = fails$8;
46
+ var classof = classofRaw;
47
+
48
+ var $Object$2 = Object;
49
+ var split = uncurryThis$7(''.split);
50
+
51
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
52
+ var indexedObject = fails$6(function () {
53
+ // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
54
+ // eslint-disable-next-line no-prototype-builtins -- safe
55
+ return !$Object$2('z').propertyIsEnumerable(0);
56
+ }) ? function (it) {
57
+ return classof(it) == 'String' ? split(it, '') : $Object$2(it);
58
+ } : $Object$2;
59
+
60
+ var $TypeError$5 = TypeError;
61
+
62
+ // `RequireObjectCoercible` abstract operation
63
+ // https://tc39.es/ecma262/#sec-requireobjectcoercible
64
+ var requireObjectCoercible$2 = function (it) {
65
+ if (it == undefined) throw $TypeError$5("Can't call method on " + it);
66
+ return it;
67
+ };
68
+
69
+ // toObject with fallback for non-array-like ES3 strings
70
+ var IndexedObject = indexedObject;
71
+ var requireObjectCoercible$1 = requireObjectCoercible$2;
72
+
73
+ var toIndexedObject$3 = function (it) {
74
+ return IndexedObject(requireObjectCoercible$1(it));
75
+ };
76
+
77
+ var check = function (it) {
78
+ return it && it.Math == Math && it;
79
+ };
80
+
81
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
82
+ var global$a =
83
+ // eslint-disable-next-line es-x/no-global-this -- safe
84
+ check(typeof globalThis == 'object' && globalThis) ||
85
+ check(typeof window == 'object' && window) ||
86
+ // eslint-disable-next-line no-restricted-globals -- safe
87
+ check(typeof self == 'object' && self) ||
88
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
89
+ // eslint-disable-next-line no-new-func -- fallback
90
+ (function () { return this; })() || Function('return this')();
91
+
92
+ var shared$3 = {exports: {}};
93
+
94
+ var global$9 = global$a;
95
+
96
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
97
+ var defineProperty$1 = Object.defineProperty;
98
+
99
+ var defineGlobalProperty$3 = function (key, value) {
100
+ try {
101
+ defineProperty$1(global$9, key, { value: value, configurable: true, writable: true });
102
+ } catch (error) {
103
+ global$9[key] = value;
104
+ } return value;
105
+ };
106
+
107
+ var global$8 = global$a;
108
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
109
+
110
+ var SHARED = '__core-js_shared__';
111
+ var store$3 = global$8[SHARED] || defineGlobalProperty$2(SHARED, {});
112
+
113
+ var sharedStore = store$3;
114
+
115
+ var store$2 = sharedStore;
116
+
117
+ (shared$3.exports = function (key, value) {
118
+ return store$2[key] || (store$2[key] = value !== undefined ? value : {});
119
+ })('versions', []).push({
120
+ version: '3.22.8',
121
+ mode: 'global',
122
+ copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
123
+ license: 'https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE',
124
+ source: 'https://github.com/zloirock/core-js'
125
+ });
126
+
127
+ var requireObjectCoercible = requireObjectCoercible$2;
128
+
129
+ var $Object$1 = Object;
130
+
131
+ // `ToObject` abstract operation
132
+ // https://tc39.es/ecma262/#sec-toobject
133
+ var toObject$1 = function (argument) {
134
+ return $Object$1(requireObjectCoercible(argument));
135
+ };
136
+
137
+ var uncurryThis$6 = functionUncurryThis;
138
+ var toObject = toObject$1;
139
+
140
+ var hasOwnProperty = uncurryThis$6({}.hasOwnProperty);
141
+
142
+ // `HasOwnProperty` abstract operation
143
+ // https://tc39.es/ecma262/#sec-hasownproperty
144
+ // eslint-disable-next-line es-x/no-object-hasown -- safe
145
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
146
+ return hasOwnProperty(toObject(it), key);
147
+ };
148
+
149
+ var uncurryThis$5 = functionUncurryThis;
150
+
151
+ var id = 0;
152
+ var postfix = Math.random();
153
+ var toString = uncurryThis$5(1.0.toString);
154
+
155
+ var uid$2 = function (key) {
156
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
157
+ };
158
+
159
+ // `IsCallable` abstract operation
160
+ // https://tc39.es/ecma262/#sec-iscallable
161
+ var isCallable$a = function (argument) {
162
+ return typeof argument == 'function';
163
+ };
164
+
165
+ var global$7 = global$a;
166
+ var isCallable$9 = isCallable$a;
167
+
168
+ var aFunction = function (argument) {
169
+ return isCallable$9(argument) ? argument : undefined;
170
+ };
171
+
172
+ var getBuiltIn$3 = function (namespace, method) {
173
+ return arguments.length < 2 ? aFunction(global$7[namespace]) : global$7[namespace] && global$7[namespace][method];
174
+ };
175
+
176
+ var getBuiltIn$2 = getBuiltIn$3;
177
+
178
+ var engineUserAgent = getBuiltIn$2('navigator', 'userAgent') || '';
179
+
180
+ var global$6 = global$a;
181
+ var userAgent = engineUserAgent;
182
+
183
+ var process = global$6.process;
184
+ var Deno = global$6.Deno;
185
+ var versions = process && process.versions || Deno && Deno.version;
186
+ var v8 = versions && versions.v8;
187
+ var match, version;
188
+
189
+ if (v8) {
190
+ match = v8.split('.');
191
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
192
+ // but their correct versions are not interesting for us
193
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
194
+ }
195
+
196
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
197
+ // so check `userAgent` even if `.v8` exists, but 0
198
+ if (!version && userAgent) {
199
+ match = userAgent.match(/Edge\/(\d+)/);
200
+ if (!match || match[1] >= 74) {
201
+ match = userAgent.match(/Chrome\/(\d+)/);
202
+ if (match) version = +match[1];
203
+ }
204
+ }
205
+
206
+ var engineV8Version = version;
207
+
208
+ /* eslint-disable es-x/no-symbol -- required for testing */
209
+
210
+ var V8_VERSION = engineV8Version;
211
+ var fails$5 = fails$8;
212
+
213
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
214
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$5(function () {
215
+ var symbol = Symbol();
216
+ // Chrome 38 Symbol has incorrect toString conversion
217
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
218
+ return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
219
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
220
+ !Symbol.sham && V8_VERSION && V8_VERSION < 41;
221
+ });
222
+
223
+ /* eslint-disable es-x/no-symbol -- required for testing */
224
+
225
+ var NATIVE_SYMBOL$1 = nativeSymbol;
226
+
227
+ var useSymbolAsUid = NATIVE_SYMBOL$1
228
+ && !Symbol.sham
229
+ && typeof Symbol.iterator == 'symbol';
230
+
231
+ var global$5 = global$a;
232
+ var shared$2 = shared$3.exports;
233
+ var hasOwn$6 = hasOwnProperty_1;
234
+ var uid$1 = uid$2;
235
+ var NATIVE_SYMBOL = nativeSymbol;
236
+ var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
237
+
238
+ var WellKnownSymbolsStore = shared$2('wks');
239
+ var Symbol$1 = global$5.Symbol;
240
+ var symbolFor = Symbol$1 && Symbol$1['for'];
241
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
242
+
243
+ var wellKnownSymbol$1 = function (name) {
244
+ if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
245
+ var description = 'Symbol.' + name;
246
+ if (NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)) {
247
+ WellKnownSymbolsStore[name] = Symbol$1[name];
248
+ } else if (USE_SYMBOL_AS_UID$1 && symbolFor) {
249
+ WellKnownSymbolsStore[name] = symbolFor(description);
250
+ } else {
251
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
252
+ }
253
+ } return WellKnownSymbolsStore[name];
254
+ };
255
+
256
+ var isCallable$8 = isCallable$a;
257
+
258
+ var isObject$5 = function (it) {
259
+ return typeof it == 'object' ? it !== null : isCallable$8(it);
260
+ };
261
+
262
+ var isObject$4 = isObject$5;
263
+
264
+ var $String$1 = String;
265
+ var $TypeError$4 = TypeError;
266
+
267
+ // `Assert: Type(argument) is Object`
268
+ var anObject$2 = function (argument) {
269
+ if (isObject$4(argument)) return argument;
270
+ throw $TypeError$4($String$1(argument) + ' is not an object');
271
+ };
272
+
273
+ var fails$4 = fails$8;
274
+
275
+ // Detect IE8's incomplete defineProperty implementation
276
+ var descriptors = !fails$4(function () {
277
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
278
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
279
+ });
280
+
281
+ var DESCRIPTORS$6 = descriptors;
282
+ var fails$3 = fails$8;
283
+
284
+ // V8 ~ Chrome 36-
285
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
286
+ var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$3(function () {
287
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
288
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
289
+ value: 42,
290
+ writable: false
291
+ }).prototype != 42;
292
+ });
293
+
294
+ var objectDefineProperty = {};
295
+
296
+ var global$4 = global$a;
297
+ var isObject$3 = isObject$5;
298
+
299
+ var document = global$4.document;
300
+ // typeof document.createElement is 'object' in old IE
301
+ var EXISTS$1 = isObject$3(document) && isObject$3(document.createElement);
302
+
303
+ var documentCreateElement = function (it) {
304
+ return EXISTS$1 ? document.createElement(it) : {};
305
+ };
306
+
307
+ var DESCRIPTORS$5 = descriptors;
308
+ var fails$2 = fails$8;
309
+ var createElement = documentCreateElement;
310
+
311
+ // Thanks to IE8 for its funny defineProperty
312
+ var ie8DomDefine = !DESCRIPTORS$5 && !fails$2(function () {
313
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
314
+ return Object.defineProperty(createElement('div'), 'a', {
315
+ get: function () { return 7; }
316
+ }).a != 7;
317
+ });
318
+
319
+ var NATIVE_BIND = functionBindNative;
320
+
321
+ var call$3 = Function.prototype.call;
322
+
323
+ var functionCall = NATIVE_BIND ? call$3.bind(call$3) : function () {
324
+ return call$3.apply(call$3, arguments);
325
+ };
326
+
327
+ var uncurryThis$4 = functionUncurryThis;
328
+
329
+ var objectIsPrototypeOf = uncurryThis$4({}.isPrototypeOf);
330
+
331
+ var getBuiltIn$1 = getBuiltIn$3;
332
+ var isCallable$7 = isCallable$a;
333
+ var isPrototypeOf = objectIsPrototypeOf;
334
+ var USE_SYMBOL_AS_UID = useSymbolAsUid;
335
+
336
+ var $Object = Object;
337
+
338
+ var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
339
+ return typeof it == 'symbol';
340
+ } : function (it) {
341
+ var $Symbol = getBuiltIn$1('Symbol');
342
+ return isCallable$7($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
343
+ };
344
+
345
+ var $String = String;
346
+
347
+ var tryToString$1 = function (argument) {
348
+ try {
349
+ return $String(argument);
350
+ } catch (error) {
351
+ return 'Object';
352
+ }
353
+ };
354
+
355
+ var isCallable$6 = isCallable$a;
356
+ var tryToString = tryToString$1;
357
+
358
+ var $TypeError$3 = TypeError;
359
+
360
+ // `Assert: IsCallable(argument) is true`
361
+ var aCallable$1 = function (argument) {
362
+ if (isCallable$6(argument)) return argument;
363
+ throw $TypeError$3(tryToString(argument) + ' is not a function');
364
+ };
365
+
366
+ var aCallable = aCallable$1;
367
+
368
+ // `GetMethod` abstract operation
369
+ // https://tc39.es/ecma262/#sec-getmethod
370
+ var getMethod$1 = function (V, P) {
371
+ var func = V[P];
372
+ return func == null ? undefined : aCallable(func);
373
+ };
374
+
375
+ var call$2 = functionCall;
376
+ var isCallable$5 = isCallable$a;
377
+ var isObject$2 = isObject$5;
378
+
379
+ var $TypeError$2 = TypeError;
380
+
381
+ // `OrdinaryToPrimitive` abstract operation
382
+ // https://tc39.es/ecma262/#sec-ordinarytoprimitive
383
+ var ordinaryToPrimitive$1 = function (input, pref) {
384
+ var fn, val;
385
+ if (pref === 'string' && isCallable$5(fn = input.toString) && !isObject$2(val = call$2(fn, input))) return val;
386
+ if (isCallable$5(fn = input.valueOf) && !isObject$2(val = call$2(fn, input))) return val;
387
+ if (pref !== 'string' && isCallable$5(fn = input.toString) && !isObject$2(val = call$2(fn, input))) return val;
388
+ throw $TypeError$2("Can't convert object to primitive value");
389
+ };
390
+
391
+ var call$1 = functionCall;
392
+ var isObject$1 = isObject$5;
393
+ var isSymbol$1 = isSymbol$2;
394
+ var getMethod = getMethod$1;
395
+ var ordinaryToPrimitive = ordinaryToPrimitive$1;
396
+ var wellKnownSymbol = wellKnownSymbol$1;
397
+
398
+ var $TypeError$1 = TypeError;
399
+ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
400
+
401
+ // `ToPrimitive` abstract operation
402
+ // https://tc39.es/ecma262/#sec-toprimitive
403
+ var toPrimitive$1 = function (input, pref) {
404
+ if (!isObject$1(input) || isSymbol$1(input)) return input;
405
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
406
+ var result;
407
+ if (exoticToPrim) {
408
+ if (pref === undefined) pref = 'default';
409
+ result = call$1(exoticToPrim, input, pref);
410
+ if (!isObject$1(result) || isSymbol$1(result)) return result;
411
+ throw $TypeError$1("Can't convert object to primitive value");
412
+ }
413
+ if (pref === undefined) pref = 'number';
414
+ return ordinaryToPrimitive(input, pref);
415
+ };
416
+
417
+ var toPrimitive = toPrimitive$1;
418
+ var isSymbol = isSymbol$2;
419
+
420
+ // `ToPropertyKey` abstract operation
421
+ // https://tc39.es/ecma262/#sec-topropertykey
422
+ var toPropertyKey$2 = function (argument) {
423
+ var key = toPrimitive(argument, 'string');
424
+ return isSymbol(key) ? key : key + '';
425
+ };
426
+
427
+ var DESCRIPTORS$4 = descriptors;
428
+ var IE8_DOM_DEFINE$1 = ie8DomDefine;
429
+ var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
430
+ var anObject$1 = anObject$2;
431
+ var toPropertyKey$1 = toPropertyKey$2;
432
+
433
+ var $TypeError = TypeError;
434
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
435
+ var $defineProperty = Object.defineProperty;
436
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
437
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
438
+ var ENUMERABLE = 'enumerable';
439
+ var CONFIGURABLE$1 = 'configurable';
440
+ var WRITABLE = 'writable';
441
+
442
+ // `Object.defineProperty` method
443
+ // https://tc39.es/ecma262/#sec-object.defineproperty
444
+ objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
445
+ anObject$1(O);
446
+ P = toPropertyKey$1(P);
447
+ anObject$1(Attributes);
448
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
449
+ var current = $getOwnPropertyDescriptor$1(O, P);
450
+ if (current && current[WRITABLE]) {
451
+ O[P] = Attributes.value;
452
+ Attributes = {
453
+ configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
454
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
455
+ writable: false
456
+ };
457
+ }
458
+ } return $defineProperty(O, P, Attributes);
459
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
460
+ anObject$1(O);
461
+ P = toPropertyKey$1(P);
462
+ anObject$1(Attributes);
463
+ if (IE8_DOM_DEFINE$1) try {
464
+ return $defineProperty(O, P, Attributes);
465
+ } catch (error) { /* empty */ }
466
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
467
+ if ('value' in Attributes) O[P] = Attributes.value;
468
+ return O;
469
+ };
470
+
471
+ var ceil = Math.ceil;
472
+ var floor = Math.floor;
473
+
474
+ // `Math.trunc` method
475
+ // https://tc39.es/ecma262/#sec-math.trunc
476
+ // eslint-disable-next-line es-x/no-math-trunc -- safe
477
+ var mathTrunc = Math.trunc || function trunc(x) {
478
+ var n = +x;
479
+ return (n > 0 ? floor : ceil)(n);
480
+ };
481
+
482
+ var trunc = mathTrunc;
483
+
484
+ // `ToIntegerOrInfinity` abstract operation
485
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
486
+ var toIntegerOrInfinity$2 = function (argument) {
487
+ var number = +argument;
488
+ // eslint-disable-next-line no-self-compare -- NaN check
489
+ return number !== number || number === 0 ? 0 : trunc(number);
490
+ };
491
+
492
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
493
+
494
+ var max = Math.max;
495
+ var min$1 = Math.min;
496
+
497
+ // Helper for a popular repeating case of the spec:
498
+ // Let integer be ? ToInteger(index).
499
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
500
+ var toAbsoluteIndex$1 = function (index, length) {
501
+ var integer = toIntegerOrInfinity$1(index);
502
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
503
+ };
504
+
505
+ var toIntegerOrInfinity = toIntegerOrInfinity$2;
506
+
507
+ var min = Math.min;
508
+
509
+ // `ToLength` abstract operation
510
+ // https://tc39.es/ecma262/#sec-tolength
511
+ var toLength$1 = function (argument) {
512
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
513
+ };
514
+
515
+ var toLength = toLength$1;
516
+
517
+ // `LengthOfArrayLike` abstract operation
518
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
519
+ var lengthOfArrayLike$1 = function (obj) {
520
+ return toLength(obj.length);
521
+ };
522
+
523
+ var toIndexedObject$2 = toIndexedObject$3;
524
+ var toAbsoluteIndex = toAbsoluteIndex$1;
525
+ var lengthOfArrayLike = lengthOfArrayLike$1;
526
+
527
+ // `Array.prototype.{ indexOf, includes }` methods implementation
528
+ var createMethod = function (IS_INCLUDES) {
529
+ return function ($this, el, fromIndex) {
530
+ var O = toIndexedObject$2($this);
531
+ var length = lengthOfArrayLike(O);
532
+ var index = toAbsoluteIndex(fromIndex, length);
533
+ var value;
534
+ // Array#includes uses SameValueZero equality algorithm
535
+ // eslint-disable-next-line no-self-compare -- NaN check
536
+ if (IS_INCLUDES && el != el) while (length > index) {
537
+ value = O[index++];
538
+ // eslint-disable-next-line no-self-compare -- NaN check
539
+ if (value != value) return true;
540
+ // Array#indexOf ignores holes, Array#includes - not
541
+ } else for (;length > index; index++) {
542
+ if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
543
+ } return !IS_INCLUDES && -1;
544
+ };
545
+ };
546
+
547
+ var arrayIncludes = {
548
+ // `Array.prototype.includes` method
549
+ // https://tc39.es/ecma262/#sec-array.prototype.includes
550
+ includes: createMethod(true),
551
+ // `Array.prototype.indexOf` method
552
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
553
+ indexOf: createMethod(false)
554
+ };
555
+
556
+ var hiddenKeys$3 = {};
557
+
558
+ var uncurryThis$3 = functionUncurryThis;
559
+ var hasOwn$5 = hasOwnProperty_1;
560
+ var toIndexedObject$1 = toIndexedObject$3;
561
+ var indexOf = arrayIncludes.indexOf;
562
+ var hiddenKeys$2 = hiddenKeys$3;
563
+
564
+ var push = uncurryThis$3([].push);
565
+
566
+ var objectKeysInternal = function (object, names) {
567
+ var O = toIndexedObject$1(object);
568
+ var i = 0;
569
+ var result = [];
570
+ var key;
571
+ for (key in O) !hasOwn$5(hiddenKeys$2, key) && hasOwn$5(O, key) && push(result, key);
572
+ // Don't enum bug & hidden keys
573
+ while (names.length > i) if (hasOwn$5(O, key = names[i++])) {
574
+ ~indexOf(result, key) || push(result, key);
575
+ }
576
+ return result;
577
+ };
578
+
579
+ // IE8- don't enum bug keys
580
+ var enumBugKeys$1 = [
581
+ 'constructor',
582
+ 'hasOwnProperty',
583
+ 'isPrototypeOf',
584
+ 'propertyIsEnumerable',
585
+ 'toLocaleString',
586
+ 'toString',
587
+ 'valueOf'
588
+ ];
589
+
590
+ var shared$1 = shared$3.exports;
591
+ var uid = uid$2;
592
+
593
+ var keys = shared$1('keys');
594
+
595
+ var sharedKey$1 = function (key) {
596
+ return keys[key] || (keys[key] = uid(key));
597
+ };
598
+
599
+ var uncurryThis$2 = functionUncurryThis;
600
+ var isCallable$4 = isCallable$a;
601
+ var store$1 = sharedStore;
602
+
603
+ var functionToString = uncurryThis$2(Function.toString);
604
+
605
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
606
+ if (!isCallable$4(store$1.inspectSource)) {
607
+ store$1.inspectSource = function (it) {
608
+ return functionToString(it);
609
+ };
610
+ }
611
+
612
+ var inspectSource$2 = store$1.inspectSource;
613
+
614
+ var global$3 = global$a;
615
+ var isCallable$3 = isCallable$a;
616
+ var inspectSource$1 = inspectSource$2;
617
+
618
+ var WeakMap$1 = global$3.WeakMap;
619
+
620
+ var nativeWeakMap = isCallable$3(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
621
+
622
+ var createPropertyDescriptor$2 = function (bitmap, value) {
623
+ return {
624
+ enumerable: !(bitmap & 1),
625
+ configurable: !(bitmap & 2),
626
+ writable: !(bitmap & 4),
627
+ value: value
628
+ };
629
+ };
630
+
631
+ var DESCRIPTORS$3 = descriptors;
632
+ var definePropertyModule$1 = objectDefineProperty;
633
+ var createPropertyDescriptor$1 = createPropertyDescriptor$2;
634
+
635
+ var createNonEnumerableProperty$3 = DESCRIPTORS$3 ? function (object, key, value) {
636
+ return definePropertyModule$1.f(object, key, createPropertyDescriptor$1(1, value));
637
+ } : function (object, key, value) {
638
+ object[key] = value;
639
+ return object;
640
+ };
641
+
642
+ var NATIVE_WEAK_MAP = nativeWeakMap;
643
+ var global$2 = global$a;
644
+ var uncurryThis$1 = functionUncurryThis;
645
+ var isObject = isObject$5;
646
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
647
+ var hasOwn$4 = hasOwnProperty_1;
648
+ var shared = sharedStore;
649
+ var sharedKey = sharedKey$1;
650
+ var hiddenKeys$1 = hiddenKeys$3;
651
+
652
+ var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
653
+ var TypeError$1 = global$2.TypeError;
654
+ var WeakMap = global$2.WeakMap;
655
+ var set, get, has;
656
+
657
+ var enforce = function (it) {
658
+ return has(it) ? get(it) : set(it, {});
659
+ };
660
+
661
+ var getterFor = function (TYPE) {
662
+ return function (it) {
663
+ var state;
664
+ if (!isObject(it) || (state = get(it)).type !== TYPE) {
665
+ throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
666
+ } return state;
667
+ };
668
+ };
669
+
670
+ if (NATIVE_WEAK_MAP || shared.state) {
671
+ var store = shared.state || (shared.state = new WeakMap());
672
+ var wmget = uncurryThis$1(store.get);
673
+ var wmhas = uncurryThis$1(store.has);
674
+ var wmset = uncurryThis$1(store.set);
675
+ set = function (it, metadata) {
676
+ if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
677
+ metadata.facade = it;
678
+ wmset(store, it, metadata);
679
+ return metadata;
680
+ };
681
+ get = function (it) {
682
+ return wmget(store, it) || {};
683
+ };
684
+ has = function (it) {
685
+ return wmhas(store, it);
686
+ };
687
+ } else {
688
+ var STATE = sharedKey('state');
689
+ hiddenKeys$1[STATE] = true;
690
+ set = function (it, metadata) {
691
+ if (hasOwn$4(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
692
+ metadata.facade = it;
693
+ createNonEnumerableProperty$2(it, STATE, metadata);
694
+ return metadata;
695
+ };
696
+ get = function (it) {
697
+ return hasOwn$4(it, STATE) ? it[STATE] : {};
698
+ };
699
+ has = function (it) {
700
+ return hasOwn$4(it, STATE);
701
+ };
702
+ }
703
+
704
+ var internalState = {
705
+ set: set,
706
+ get: get,
707
+ has: has,
708
+ enforce: enforce,
709
+ getterFor: getterFor
710
+ };
711
+
712
+ var objectGetOwnPropertyDescriptor = {};
713
+
714
+ var objectPropertyIsEnumerable = {};
715
+
716
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
717
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
718
+ var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
719
+
720
+ // Nashorn ~ JDK8 bug
721
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
722
+
723
+ // `Object.prototype.propertyIsEnumerable` method implementation
724
+ // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
725
+ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
726
+ var descriptor = getOwnPropertyDescriptor$1(this, V);
727
+ return !!descriptor && descriptor.enumerable;
728
+ } : $propertyIsEnumerable;
729
+
730
+ var DESCRIPTORS$2 = descriptors;
731
+ var call = functionCall;
732
+ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
733
+ var createPropertyDescriptor = createPropertyDescriptor$2;
734
+ var toIndexedObject = toIndexedObject$3;
735
+ var toPropertyKey = toPropertyKey$2;
736
+ var hasOwn$3 = hasOwnProperty_1;
737
+ var IE8_DOM_DEFINE = ie8DomDefine;
738
+
739
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
740
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
741
+
742
+ // `Object.getOwnPropertyDescriptor` method
743
+ // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
744
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$2 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
745
+ O = toIndexedObject(O);
746
+ P = toPropertyKey(P);
747
+ if (IE8_DOM_DEFINE) try {
748
+ return $getOwnPropertyDescriptor(O, P);
749
+ } catch (error) { /* empty */ }
750
+ if (hasOwn$3(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
751
+ };
752
+
753
+ var makeBuiltIn$2 = {exports: {}};
754
+
755
+ var DESCRIPTORS$1 = descriptors;
756
+ var hasOwn$2 = hasOwnProperty_1;
757
+
758
+ var FunctionPrototype = Function.prototype;
759
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
760
+ var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
761
+
762
+ var EXISTS = hasOwn$2(FunctionPrototype, 'name');
763
+ // additional protection from minified / mangled / dropped function names
764
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
765
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || (DESCRIPTORS$1 && getDescriptor(FunctionPrototype, 'name').configurable));
766
+
767
+ var functionName = {
768
+ EXISTS: EXISTS,
769
+ PROPER: PROPER,
770
+ CONFIGURABLE: CONFIGURABLE
771
+ };
772
+
773
+ var fails$1 = fails$8;
774
+ var isCallable$2 = isCallable$a;
775
+ var hasOwn$1 = hasOwnProperty_1;
776
+ var DESCRIPTORS = descriptors;
777
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
778
+ var inspectSource = inspectSource$2;
779
+ var InternalStateModule = internalState;
780
+
781
+ var enforceInternalState = InternalStateModule.enforce;
782
+ var getInternalState = InternalStateModule.get;
783
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
784
+ var defineProperty = Object.defineProperty;
785
+
786
+ var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails$1(function () {
787
+ return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
788
+ });
789
+
790
+ var TEMPLATE = String(String).split('String');
791
+
792
+ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
793
+ if (String(name).slice(0, 7) === 'Symbol(') {
794
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
795
+ }
796
+ if (options && options.getter) name = 'get ' + name;
797
+ if (options && options.setter) name = 'set ' + name;
798
+ if (!hasOwn$1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
799
+ defineProperty(value, 'name', { value: name, configurable: true });
800
+ }
801
+ if (CONFIGURABLE_LENGTH && options && hasOwn$1(options, 'arity') && value.length !== options.arity) {
802
+ defineProperty(value, 'length', { value: options.arity });
803
+ }
804
+ try {
805
+ if (options && hasOwn$1(options, 'constructor') && options.constructor) {
806
+ if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
807
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
808
+ } else if (value.prototype) value.prototype = undefined;
809
+ } catch (error) { /* empty */ }
810
+ var state = enforceInternalState(value);
811
+ if (!hasOwn$1(state, 'source')) {
812
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
813
+ } return value;
814
+ };
815
+
816
+ // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
817
+ // eslint-disable-next-line no-extend-native -- required
818
+ Function.prototype.toString = makeBuiltIn$1(function toString() {
819
+ return isCallable$2(this) && getInternalState(this).source || inspectSource(this);
820
+ }, 'toString');
821
+
822
+ var isCallable$1 = isCallable$a;
823
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
824
+ var makeBuiltIn = makeBuiltIn$2.exports;
825
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
826
+
827
+ var defineBuiltIn$1 = function (O, key, value, options) {
828
+ if (!options) options = {};
829
+ var simple = options.enumerable;
830
+ var name = options.name !== undefined ? options.name : key;
831
+ if (isCallable$1(value)) makeBuiltIn(value, name, options);
832
+ if (options.global) {
833
+ if (simple) O[key] = value;
834
+ else defineGlobalProperty$1(key, value);
835
+ } else {
836
+ if (!options.unsafe) delete O[key];
837
+ else if (O[key]) simple = true;
838
+ if (simple) O[key] = value;
839
+ else createNonEnumerableProperty$1(O, key, value);
840
+ } return O;
841
+ };
842
+
843
+ var objectGetOwnPropertyNames = {};
844
+
845
+ var internalObjectKeys = objectKeysInternal;
846
+ var enumBugKeys = enumBugKeys$1;
847
+
848
+ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
849
+
850
+ // `Object.getOwnPropertyNames` method
851
+ // https://tc39.es/ecma262/#sec-object.getownpropertynames
852
+ // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
853
+ objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
854
+ return internalObjectKeys(O, hiddenKeys);
855
+ };
856
+
857
+ var objectGetOwnPropertySymbols = {};
858
+
859
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
860
+ objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
861
+
862
+ var getBuiltIn = getBuiltIn$3;
863
+ var uncurryThis = functionUncurryThis;
864
+ var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
865
+ var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
866
+ var anObject = anObject$2;
867
+
868
+ var concat = uncurryThis([].concat);
869
+
870
+ // all object keys, includes non-enumerable and symbols
871
+ var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
872
+ var keys = getOwnPropertyNamesModule.f(anObject(it));
873
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
874
+ return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
875
+ };
876
+
877
+ var hasOwn = hasOwnProperty_1;
878
+ var ownKeys = ownKeys$1;
879
+ var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
880
+ var definePropertyModule = objectDefineProperty;
881
+
882
+ var copyConstructorProperties$1 = function (target, source, exceptions) {
883
+ var keys = ownKeys(source);
884
+ var defineProperty = definePropertyModule.f;
885
+ var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
886
+ for (var i = 0; i < keys.length; i++) {
887
+ var key = keys[i];
888
+ if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
889
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
890
+ }
891
+ }
892
+ };
893
+
894
+ var fails = fails$8;
895
+ var isCallable = isCallable$a;
896
+
897
+ var replacement = /#|\.prototype\./;
898
+
899
+ var isForced$1 = function (feature, detection) {
900
+ var value = data[normalize(feature)];
901
+ return value == POLYFILL ? true
902
+ : value == NATIVE ? false
903
+ : isCallable(detection) ? fails(detection)
904
+ : !!detection;
905
+ };
906
+
907
+ var normalize = isForced$1.normalize = function (string) {
908
+ return String(string).replace(replacement, '.').toLowerCase();
909
+ };
910
+
911
+ var data = isForced$1.data = {};
912
+ var NATIVE = isForced$1.NATIVE = 'N';
913
+ var POLYFILL = isForced$1.POLYFILL = 'P';
914
+
915
+ var isForced_1 = isForced$1;
916
+
917
+ var global$1 = global$a;
918
+ var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
919
+ var createNonEnumerableProperty = createNonEnumerableProperty$3;
920
+ var defineBuiltIn = defineBuiltIn$1;
921
+ var defineGlobalProperty = defineGlobalProperty$3;
922
+ var copyConstructorProperties = copyConstructorProperties$1;
923
+ var isForced = isForced_1;
924
+
925
+ /*
926
+ options.target - name of the target object
927
+ options.global - target is the global object
928
+ options.stat - export as static methods of target
929
+ options.proto - export as prototype methods of target
930
+ options.real - real prototype method for the `pure` version
931
+ options.forced - export even if the native feature is available
932
+ options.bind - bind methods to the target, required for the `pure` version
933
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
934
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
935
+ options.sham - add a flag to not completely full polyfills
936
+ options.enumerable - export as enumerable property
937
+ options.dontCallGetSet - prevent calling a getter on target
938
+ options.name - the .name of the function if it does not match the key
939
+ */
940
+ var _export = function (options, source) {
941
+ var TARGET = options.target;
942
+ var GLOBAL = options.global;
943
+ var STATIC = options.stat;
944
+ var FORCED, target, key, targetProperty, sourceProperty, descriptor;
945
+ if (GLOBAL) {
946
+ target = global$1;
947
+ } else if (STATIC) {
948
+ target = global$1[TARGET] || defineGlobalProperty(TARGET, {});
949
+ } else {
950
+ target = (global$1[TARGET] || {}).prototype;
951
+ }
952
+ if (target) for (key in source) {
953
+ sourceProperty = source[key];
954
+ if (options.dontCallGetSet) {
955
+ descriptor = getOwnPropertyDescriptor(target, key);
956
+ targetProperty = descriptor && descriptor.value;
957
+ } else targetProperty = target[key];
958
+ FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
959
+ // contained in target
960
+ if (!FORCED && targetProperty !== undefined) {
961
+ if (typeof sourceProperty == typeof targetProperty) continue;
962
+ copyConstructorProperties(sourceProperty, targetProperty);
963
+ }
964
+ // add a flag to not completely full polyfills
965
+ if (options.sham || (targetProperty && targetProperty.sham)) {
966
+ createNonEnumerableProperty(sourceProperty, 'sham', true);
967
+ }
968
+ defineBuiltIn(target, key, sourceProperty, options);
969
+ }
970
+ };
971
+
972
+ export { tryToString$1 as A, functionBindNative as B, aCallable$1 as C, engineUserAgent as D, objectGetOwnPropertyDescriptor as E, isForced_1 as F, engineV8Version as G, isObject$5 as H, getMethod$1 as I, lengthOfArrayLike$1 as J, requireObjectCoercible$2 as K, objectKeysInternal as L, indexedObject as M, objectGetOwnPropertySymbols as N, objectPropertyIsEnumerable as O, copyConstructorProperties$1 as P, shared$3 as Q, toIntegerOrInfinity$2 as R, toPropertyKey$2 as S, toAbsoluteIndex$1 as T, toLength$1 as U, _export as _, anObject$2 as a, documentCreateElement as b, hasOwnProperty_1 as c, descriptors as d, enumBugKeys$1 as e, fails$8 as f, toObject$1 as g, hiddenKeys$3 as h, isCallable$a as i, defineBuiltIn$1 as j, createPropertyDescriptor$2 as k, createNonEnumerableProperty$3 as l, functionCall as m, functionName as n, objectDefineProperty as o, internalState as p, global$a as q, classofRaw as r, sharedKey$1 as s, toIndexedObject$3 as t, getBuiltIn$3 as u, v8PrototypeDefineBug as v, wellKnownSymbol$1 as w, objectIsPrototypeOf as x, functionUncurryThis as y, inspectSource$2 as z };