@dotcms/react 0.0.1-alpha.6 → 0.0.1-alpha.8

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
@@ -9,7 +9,7 @@ var check = function (it) {
9
9
  };
10
10
 
11
11
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
12
- var global$g =
12
+ var global$f =
13
13
  // eslint-disable-next-line es/no-global-this -- safe
14
14
  check(typeof globalThis == 'object' && globalThis) ||
15
15
  check(typeof window == 'object' && window) ||
@@ -22,7 +22,7 @@ var global$g =
22
22
 
23
23
  var objectGetOwnPropertyDescriptor = {};
24
24
 
25
- var fails$i = function (exec) {
25
+ var fails$h = function (exec) {
26
26
  try {
27
27
  return !!exec();
28
28
  } catch (error) {
@@ -30,17 +30,17 @@ var fails$i = function (exec) {
30
30
  }
31
31
  };
32
32
 
33
- var fails$h = fails$i;
33
+ var fails$g = fails$h;
34
34
 
35
35
  // Detect IE8's incomplete defineProperty implementation
36
- var descriptors = !fails$h(function () {
36
+ var descriptors = !fails$g(function () {
37
37
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
38
38
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
39
39
  });
40
40
 
41
- var fails$g = fails$i;
41
+ var fails$f = fails$h;
42
42
 
43
- var functionBindNative = !fails$g(function () {
43
+ var functionBindNative = !fails$f(function () {
44
44
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
45
45
  var test = (function () { /* empty */ }).bind();
46
46
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -49,10 +49,10 @@ var functionBindNative = !fails$g(function () {
49
49
 
50
50
  var NATIVE_BIND$2 = functionBindNative;
51
51
 
52
- var call$a = Function.prototype.call;
52
+ var call$b = Function.prototype.call;
53
53
 
54
- var functionCall = NATIVE_BIND$2 ? call$a.bind(call$a) : function () {
55
- return call$a.apply(call$a, arguments);
54
+ var functionCall = NATIVE_BIND$2 ? call$b.bind(call$b) : function () {
55
+ return call$b.apply(call$b, arguments);
56
56
  };
57
57
 
58
58
  var objectPropertyIsEnumerable = {};
@@ -83,38 +83,38 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
83
83
  var NATIVE_BIND$1 = functionBindNative;
84
84
 
85
85
  var FunctionPrototype$2 = Function.prototype;
86
- var call$9 = FunctionPrototype$2.call;
87
- var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$2.bind.bind(call$9, call$9);
86
+ var call$a = FunctionPrototype$2.call;
87
+ var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$2.bind.bind(call$a, call$a);
88
88
 
89
89
  var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
90
90
  return function () {
91
- return call$9.apply(fn, arguments);
91
+ return call$a.apply(fn, arguments);
92
92
  };
93
93
  };
94
94
 
95
- var uncurryThis$h = functionUncurryThis;
95
+ var uncurryThis$f = functionUncurryThis;
96
96
 
97
- var toString$6 = uncurryThis$h({}.toString);
98
- var stringSlice$5 = uncurryThis$h(''.slice);
97
+ var toString$6 = uncurryThis$f({}.toString);
98
+ var stringSlice$5 = uncurryThis$f(''.slice);
99
99
 
100
- var classofRaw$2 = function (it) {
100
+ var classofRaw$1 = function (it) {
101
101
  return stringSlice$5(toString$6(it), 8, -1);
102
102
  };
103
103
 
104
- var uncurryThis$g = functionUncurryThis;
105
- var fails$f = fails$i;
106
- var classof$5 = classofRaw$2;
104
+ var uncurryThis$e = functionUncurryThis;
105
+ var fails$e = fails$h;
106
+ var classof$4 = classofRaw$1;
107
107
 
108
108
  var $Object$4 = Object;
109
- var split = uncurryThis$g(''.split);
109
+ var split = uncurryThis$e(''.split);
110
110
 
111
111
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
112
- var indexedObject = fails$f(function () {
112
+ var indexedObject = fails$e(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
115
  return !$Object$4('z').propertyIsEnumerable(0);
116
116
  }) ? function (it) {
117
- return classof$5(it) === 'String' ? split(it, '') : $Object$4(it);
117
+ return classof$4(it) === 'String' ? split(it, '') : $Object$4(it);
118
118
  } : $Object$4;
119
119
 
120
120
  // we can't use just `it == null` since of `document.all` special case
@@ -125,21 +125,21 @@ var isNullOrUndefined$3 = function (it) {
125
125
 
126
126
  var isNullOrUndefined$2 = isNullOrUndefined$3;
127
127
 
128
- var $TypeError$9 = TypeError;
128
+ var $TypeError$8 = TypeError;
129
129
 
130
130
  // `RequireObjectCoercible` abstract operation
131
131
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
132
132
  var requireObjectCoercible$5 = function (it) {
133
- if (isNullOrUndefined$2(it)) throw new $TypeError$9("Can't call method on " + it);
133
+ if (isNullOrUndefined$2(it)) throw new $TypeError$8("Can't call method on " + it);
134
134
  return it;
135
135
  };
136
136
 
137
137
  // toObject with fallback for non-array-like ES3 strings
138
- var IndexedObject$2 = indexedObject;
138
+ var IndexedObject$1 = indexedObject;
139
139
  var requireObjectCoercible$4 = requireObjectCoercible$5;
140
140
 
141
141
  var toIndexedObject$5 = function (it) {
142
- return IndexedObject$2(requireObjectCoercible$4(it));
142
+ return IndexedObject$1(requireObjectCoercible$4(it));
143
143
  };
144
144
 
145
145
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
@@ -160,7 +160,7 @@ var isObject$8 = function (it) {
160
160
  return typeof it == 'object' ? it !== null : isCallable$f(it);
161
161
  };
162
162
 
163
- var global$f = global$g;
163
+ var global$e = global$f;
164
164
  var isCallable$e = isCallable$g;
165
165
 
166
166
  var aFunction = function (argument) {
@@ -168,20 +168,20 @@ var aFunction = function (argument) {
168
168
  };
169
169
 
170
170
  var getBuiltIn$3 = function (namespace, method) {
171
- return arguments.length < 2 ? aFunction(global$f[namespace]) : global$f[namespace] && global$f[namespace][method];
171
+ return arguments.length < 2 ? aFunction(global$e[namespace]) : global$e[namespace] && global$e[namespace][method];
172
172
  };
173
173
 
174
- var uncurryThis$f = functionUncurryThis;
174
+ var uncurryThis$d = functionUncurryThis;
175
175
 
176
- var objectIsPrototypeOf = uncurryThis$f({}.isPrototypeOf);
176
+ var objectIsPrototypeOf = uncurryThis$d({}.isPrototypeOf);
177
177
 
178
178
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
179
179
 
180
- var global$e = global$g;
180
+ var global$d = global$f;
181
181
  var userAgent = engineUserAgent;
182
182
 
183
- var process = global$e.process;
184
- var Deno = global$e.Deno;
183
+ var process = global$d.process;
184
+ var Deno = global$d.Deno;
185
185
  var versions = process && process.versions || Deno && Deno.version;
186
186
  var v8 = versions && versions.v8;
187
187
  var match, version;
@@ -207,13 +207,13 @@ var engineV8Version = version;
207
207
 
208
208
  /* eslint-disable es/no-symbol -- required for testing */
209
209
  var V8_VERSION = engineV8Version;
210
- var fails$e = fails$i;
211
- var global$d = global$g;
210
+ var fails$d = fails$h;
211
+ var global$c = global$f;
212
212
 
213
- var $String$5 = global$d.String;
213
+ var $String$5 = global$c.String;
214
214
 
215
215
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
216
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$e(function () {
216
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$d(function () {
217
217
  var symbol = Symbol('symbol detection');
218
218
  // Chrome 38 Symbol has incorrect toString conversion
219
219
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -258,60 +258,60 @@ var tryToString$1 = function (argument) {
258
258
  var isCallable$c = isCallable$g;
259
259
  var tryToString = tryToString$1;
260
260
 
261
- var $TypeError$8 = TypeError;
261
+ var $TypeError$7 = TypeError;
262
262
 
263
263
  // `Assert: IsCallable(argument) is true`
264
- var aCallable$3 = function (argument) {
264
+ var aCallable$2 = function (argument) {
265
265
  if (isCallable$c(argument)) return argument;
266
- throw new $TypeError$8(tryToString(argument) + ' is not a function');
266
+ throw new $TypeError$7(tryToString(argument) + ' is not a function');
267
267
  };
268
268
 
269
- var aCallable$2 = aCallable$3;
269
+ var aCallable$1 = aCallable$2;
270
270
  var isNullOrUndefined$1 = isNullOrUndefined$3;
271
271
 
272
272
  // `GetMethod` abstract operation
273
273
  // https://tc39.es/ecma262/#sec-getmethod
274
274
  var getMethod$2 = function (V, P) {
275
275
  var func = V[P];
276
- return isNullOrUndefined$1(func) ? undefined : aCallable$2(func);
276
+ return isNullOrUndefined$1(func) ? undefined : aCallable$1(func);
277
277
  };
278
278
 
279
- var call$8 = functionCall;
279
+ var call$9 = functionCall;
280
280
  var isCallable$b = isCallable$g;
281
281
  var isObject$7 = isObject$8;
282
282
 
283
- var $TypeError$7 = TypeError;
283
+ var $TypeError$6 = TypeError;
284
284
 
285
285
  // `OrdinaryToPrimitive` abstract operation
286
286
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
287
287
  var ordinaryToPrimitive$1 = function (input, pref) {
288
288
  var fn, val;
289
- if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$7(val = call$8(fn, input))) return val;
290
- if (isCallable$b(fn = input.valueOf) && !isObject$7(val = call$8(fn, input))) return val;
291
- if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$7(val = call$8(fn, input))) return val;
292
- throw new $TypeError$7("Can't convert object to primitive value");
289
+ if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$7(val = call$9(fn, input))) return val;
290
+ if (isCallable$b(fn = input.valueOf) && !isObject$7(val = call$9(fn, input))) return val;
291
+ if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$7(val = call$9(fn, input))) return val;
292
+ throw new $TypeError$6("Can't convert object to primitive value");
293
293
  };
294
294
 
295
295
  var shared$4 = {exports: {}};
296
296
 
297
- var global$c = global$g;
297
+ var global$b = global$f;
298
298
 
299
299
  // eslint-disable-next-line es/no-object-defineproperty -- safe
300
300
  var defineProperty$5 = Object.defineProperty;
301
301
 
302
302
  var defineGlobalProperty$3 = function (key, value) {
303
303
  try {
304
- defineProperty$5(global$c, key, { value: value, configurable: true, writable: true });
304
+ defineProperty$5(global$b, key, { value: value, configurable: true, writable: true });
305
305
  } catch (error) {
306
- global$c[key] = value;
306
+ global$b[key] = value;
307
307
  } return value;
308
308
  };
309
309
 
310
- var global$b = global$g;
310
+ var global$a = global$f;
311
311
  var defineGlobalProperty$2 = defineGlobalProperty$3;
312
312
 
313
313
  var SHARED = '__core-js_shared__';
314
- var store$3 = global$b[SHARED] || defineGlobalProperty$2(SHARED, {});
314
+ var store$3 = global$a[SHARED] || defineGlobalProperty$2(SHARED, {});
315
315
 
316
316
  var sharedStore = store$3;
317
317
 
@@ -320,10 +320,10 @@ var store$2 = sharedStore;
320
320
  (shared$4.exports = function (key, value) {
321
321
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
322
322
  })('versions', []).push({
323
- version: '3.35.0',
323
+ version: '3.35.1',
324
324
  mode: 'global',
325
- copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
326
- license: 'https://github.com/zloirock/core-js/blob/v3.35.0/LICENSE',
325
+ copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
326
+ license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE',
327
327
  source: 'https://github.com/zloirock/core-js'
328
328
  });
329
329
 
@@ -333,40 +333,40 @@ var $Object$2 = Object;
333
333
 
334
334
  // `ToObject` abstract operation
335
335
  // https://tc39.es/ecma262/#sec-toobject
336
- var toObject$5 = function (argument) {
336
+ var toObject$4 = function (argument) {
337
337
  return $Object$2(requireObjectCoercible$3(argument));
338
338
  };
339
339
 
340
- var uncurryThis$e = functionUncurryThis;
341
- var toObject$4 = toObject$5;
340
+ var uncurryThis$c = functionUncurryThis;
341
+ var toObject$3 = toObject$4;
342
342
 
343
- var hasOwnProperty = uncurryThis$e({}.hasOwnProperty);
343
+ var hasOwnProperty = uncurryThis$c({}.hasOwnProperty);
344
344
 
345
345
  // `HasOwnProperty` abstract operation
346
346
  // https://tc39.es/ecma262/#sec-hasownproperty
347
347
  // eslint-disable-next-line es/no-object-hasown -- safe
348
348
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
349
- return hasOwnProperty(toObject$4(it), key);
349
+ return hasOwnProperty(toObject$3(it), key);
350
350
  };
351
351
 
352
- var uncurryThis$d = functionUncurryThis;
352
+ var uncurryThis$b = functionUncurryThis;
353
353
 
354
354
  var id = 0;
355
355
  var postfix = Math.random();
356
- var toString$5 = uncurryThis$d(1.0.toString);
356
+ var toString$5 = uncurryThis$b(1.0.toString);
357
357
 
358
358
  var uid$2 = function (key) {
359
359
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id + postfix, 36);
360
360
  };
361
361
 
362
- var global$a = global$g;
362
+ var global$9 = global$f;
363
363
  var shared$3 = shared$4.exports;
364
364
  var hasOwn$8 = hasOwnProperty_1;
365
365
  var uid$1 = uid$2;
366
366
  var NATIVE_SYMBOL = symbolConstructorDetection;
367
367
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
368
368
 
369
- var Symbol$1 = global$a.Symbol;
369
+ var Symbol$1 = global$9.Symbol;
370
370
  var WellKnownSymbolsStore = shared$3('wks');
371
371
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
372
372
 
@@ -378,14 +378,14 @@ var wellKnownSymbol$c = function (name) {
378
378
  } return WellKnownSymbolsStore[name];
379
379
  };
380
380
 
381
- var call$7 = functionCall;
381
+ var call$8 = functionCall;
382
382
  var isObject$6 = isObject$8;
383
383
  var isSymbol$1 = isSymbol$2;
384
384
  var getMethod$1 = getMethod$2;
385
385
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
386
386
  var wellKnownSymbol$b = wellKnownSymbol$c;
387
387
 
388
- var $TypeError$6 = TypeError;
388
+ var $TypeError$5 = TypeError;
389
389
  var TO_PRIMITIVE = wellKnownSymbol$b('toPrimitive');
390
390
 
391
391
  // `ToPrimitive` abstract operation
@@ -396,9 +396,9 @@ var toPrimitive$1 = function (input, pref) {
396
396
  var result;
397
397
  if (exoticToPrim) {
398
398
  if (pref === undefined) pref = 'default';
399
- result = call$7(exoticToPrim, input, pref);
399
+ result = call$8(exoticToPrim, input, pref);
400
400
  if (!isObject$6(result) || isSymbol$1(result)) return result;
401
- throw new $TypeError$6("Can't convert object to primitive value");
401
+ throw new $TypeError$5("Can't convert object to primitive value");
402
402
  }
403
403
  if (pref === undefined) pref = 'number';
404
404
  return ordinaryToPrimitive(input, pref);
@@ -414,10 +414,10 @@ var toPropertyKey$2 = function (argument) {
414
414
  return isSymbol(key) ? key : key + '';
415
415
  };
416
416
 
417
- var global$9 = global$g;
417
+ var global$8 = global$f;
418
418
  var isObject$5 = isObject$8;
419
419
 
420
- var document$1 = global$9.document;
420
+ var document$1 = global$8.document;
421
421
  // typeof document.createElement is 'object' in old IE
422
422
  var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);
423
423
 
@@ -426,11 +426,11 @@ var documentCreateElement$2 = function (it) {
426
426
  };
427
427
 
428
428
  var DESCRIPTORS$9 = descriptors;
429
- var fails$d = fails$i;
429
+ var fails$c = fails$h;
430
430
  var createElement = documentCreateElement$2;
431
431
 
432
432
  // Thanks to IE8 for its funny defineProperty
433
- var ie8DomDefine = !DESCRIPTORS$9 && !fails$d(function () {
433
+ var ie8DomDefine = !DESCRIPTORS$9 && !fails$c(function () {
434
434
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
435
435
  return Object.defineProperty(createElement('div'), 'a', {
436
436
  get: function () { return 7; }
@@ -438,7 +438,7 @@ var ie8DomDefine = !DESCRIPTORS$9 && !fails$d(function () {
438
438
  });
439
439
 
440
440
  var DESCRIPTORS$8 = descriptors;
441
- var call$6 = functionCall;
441
+ var call$7 = functionCall;
442
442
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
443
443
  var createPropertyDescriptor$2 = createPropertyDescriptor$3;
444
444
  var toIndexedObject$4 = toIndexedObject$5;
@@ -457,17 +457,17 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 :
457
457
  if (IE8_DOM_DEFINE$1) try {
458
458
  return $getOwnPropertyDescriptor$1(O, P);
459
459
  } catch (error) { /* empty */ }
460
- if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$6(propertyIsEnumerableModule$1.f, O, P), O[P]);
460
+ if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$7(propertyIsEnumerableModule$1.f, O, P), O[P]);
461
461
  };
462
462
 
463
463
  var objectDefineProperty = {};
464
464
 
465
465
  var DESCRIPTORS$7 = descriptors;
466
- var fails$c = fails$i;
466
+ var fails$b = fails$h;
467
467
 
468
468
  // V8 ~ Chrome 36-
469
469
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
470
- var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$c(function () {
470
+ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$b(function () {
471
471
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
472
472
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
473
473
  value: 42,
@@ -478,12 +478,12 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$c(function () {
478
478
  var isObject$4 = isObject$8;
479
479
 
480
480
  var $String$3 = String;
481
- var $TypeError$5 = TypeError;
481
+ var $TypeError$4 = TypeError;
482
482
 
483
483
  // `Assert: Type(argument) is Object`
484
484
  var anObject$8 = function (argument) {
485
485
  if (isObject$4(argument)) return argument;
486
- throw new $TypeError$5($String$3(argument) + ' is not an object');
486
+ throw new $TypeError$4($String$3(argument) + ' is not an object');
487
487
  };
488
488
 
489
489
  var DESCRIPTORS$6 = descriptors;
@@ -492,7 +492,7 @@ var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
492
492
  var anObject$7 = anObject$8;
493
493
  var toPropertyKey = toPropertyKey$2;
494
494
 
495
- var $TypeError$4 = TypeError;
495
+ var $TypeError$3 = TypeError;
496
496
  // eslint-disable-next-line es/no-object-defineproperty -- safe
497
497
  var $defineProperty = Object.defineProperty;
498
498
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -525,7 +525,7 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
525
525
  if (IE8_DOM_DEFINE) try {
526
526
  return $defineProperty(O, P, Attributes);
527
527
  } catch (error) { /* empty */ }
528
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$4('Accessors not supported');
528
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$3('Accessors not supported');
529
529
  if ('value' in Attributes) O[P] = Attributes.value;
530
530
  return O;
531
531
  };
@@ -561,11 +561,11 @@ var functionName = {
561
561
  CONFIGURABLE: CONFIGURABLE
562
562
  };
563
563
 
564
- var uncurryThis$c = functionUncurryThis;
564
+ var uncurryThis$a = functionUncurryThis;
565
565
  var isCallable$a = isCallable$g;
566
566
  var store$1 = sharedStore;
567
567
 
568
- var functionToString = uncurryThis$c(Function.toString);
568
+ var functionToString = uncurryThis$a(Function.toString);
569
569
 
570
570
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
571
571
  if (!isCallable$a(store$1.inspectSource)) {
@@ -576,10 +576,10 @@ if (!isCallable$a(store$1.inspectSource)) {
576
576
 
577
577
  var inspectSource$1 = store$1.inspectSource;
578
578
 
579
- var global$8 = global$g;
579
+ var global$7 = global$f;
580
580
  var isCallable$9 = isCallable$g;
581
581
 
582
- var WeakMap$1 = global$8.WeakMap;
582
+ var WeakMap$1 = global$7.WeakMap;
583
583
 
584
584
  var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
585
585
 
@@ -595,7 +595,7 @@ var sharedKey$3 = function (key) {
595
595
  var hiddenKeys$4 = {};
596
596
 
597
597
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
598
- var global$7 = global$g;
598
+ var global$6 = global$f;
599
599
  var isObject$3 = isObject$8;
600
600
  var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
601
601
  var hasOwn$5 = hasOwnProperty_1;
@@ -604,8 +604,8 @@ var sharedKey$2 = sharedKey$3;
604
604
  var hiddenKeys$3 = hiddenKeys$4;
605
605
 
606
606
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
607
- var TypeError$1 = global$7.TypeError;
608
- var WeakMap = global$7.WeakMap;
607
+ var TypeError$1 = global$6.TypeError;
608
+ var WeakMap = global$6.WeakMap;
609
609
  var set, get, has;
610
610
 
611
611
  var enforce = function (it) {
@@ -665,8 +665,8 @@ var internalState = {
665
665
  getterFor: getterFor
666
666
  };
667
667
 
668
- var uncurryThis$b = functionUncurryThis;
669
- var fails$b = fails$i;
668
+ var uncurryThis$9 = functionUncurryThis;
669
+ var fails$a = fails$h;
670
670
  var isCallable$8 = isCallable$g;
671
671
  var hasOwn$4 = hasOwnProperty_1;
672
672
  var DESCRIPTORS$3 = descriptors;
@@ -679,11 +679,11 @@ var getInternalState$2 = InternalStateModule$1.get;
679
679
  var $String$2 = String;
680
680
  // eslint-disable-next-line es/no-object-defineproperty -- safe
681
681
  var defineProperty$4 = Object.defineProperty;
682
- var stringSlice$4 = uncurryThis$b(''.slice);
683
- var replace$2 = uncurryThis$b(''.replace);
684
- var join = uncurryThis$b([].join);
682
+ var stringSlice$4 = uncurryThis$9(''.slice);
683
+ var replace$2 = uncurryThis$9(''.replace);
684
+ var join = uncurryThis$9([].join);
685
685
 
686
- var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$b(function () {
686
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$a(function () {
687
687
  return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
688
688
  });
689
689
 
@@ -691,7 +691,7 @@ var TEMPLATE = String(String).split('String');
691
691
 
692
692
  var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
693
693
  if (stringSlice$4($String$2(name), 0, 7) === 'Symbol(') {
694
- name = '[' + replace$2($String$2(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
694
+ name = '[' + replace$2($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
695
695
  }
696
696
  if (options && options.getter) name = 'get ' + name;
697
697
  if (options && options.setter) name = 'set ' + name;
@@ -791,26 +791,27 @@ var min$1 = Math.min;
791
791
  // `ToLength` abstract operation
792
792
  // https://tc39.es/ecma262/#sec-tolength
793
793
  var toLength$2 = function (argument) {
794
- return argument > 0 ? min$1(toIntegerOrInfinity$2(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
794
+ var len = toIntegerOrInfinity$2(argument);
795
+ return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
795
796
  };
796
797
 
797
798
  var toLength$1 = toLength$2;
798
799
 
799
800
  // `LengthOfArrayLike` abstract operation
800
801
  // https://tc39.es/ecma262/#sec-lengthofarraylike
801
- var lengthOfArrayLike$2 = function (obj) {
802
+ var lengthOfArrayLike$1 = function (obj) {
802
803
  return toLength$1(obj.length);
803
804
  };
804
805
 
805
806
  var toIndexedObject$3 = toIndexedObject$5;
806
807
  var toAbsoluteIndex = toAbsoluteIndex$1;
807
- var lengthOfArrayLike$1 = lengthOfArrayLike$2;
808
+ var lengthOfArrayLike = lengthOfArrayLike$1;
808
809
 
809
810
  // `Array.prototype.{ indexOf, includes }` methods implementation
810
- var createMethod$2 = function (IS_INCLUDES) {
811
+ var createMethod$1 = function (IS_INCLUDES) {
811
812
  return function ($this, el, fromIndex) {
812
813
  var O = toIndexedObject$3($this);
813
- var length = lengthOfArrayLike$1(O);
814
+ var length = lengthOfArrayLike(O);
814
815
  var index = toAbsoluteIndex(fromIndex, length);
815
816
  var value;
816
817
  // Array#includes uses SameValueZero equality algorithm
@@ -829,19 +830,19 @@ var createMethod$2 = function (IS_INCLUDES) {
829
830
  var arrayIncludes = {
830
831
  // `Array.prototype.includes` method
831
832
  // https://tc39.es/ecma262/#sec-array.prototype.includes
832
- includes: createMethod$2(true),
833
+ includes: createMethod$1(true),
833
834
  // `Array.prototype.indexOf` method
834
835
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
835
- indexOf: createMethod$2(false)
836
+ indexOf: createMethod$1(false)
836
837
  };
837
838
 
838
- var uncurryThis$a = functionUncurryThis;
839
+ var uncurryThis$8 = functionUncurryThis;
839
840
  var hasOwn$3 = hasOwnProperty_1;
840
841
  var toIndexedObject$2 = toIndexedObject$5;
841
842
  var indexOf$1 = arrayIncludes.indexOf;
842
843
  var hiddenKeys$2 = hiddenKeys$4;
843
844
 
844
- var push$1 = uncurryThis$a([].push);
845
+ var push$1 = uncurryThis$8([].push);
845
846
 
846
847
  var objectKeysInternal = function (object, names) {
847
848
  var O = toIndexedObject$2(object);
@@ -885,12 +886,12 @@ var objectGetOwnPropertySymbols = {};
885
886
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
886
887
 
887
888
  var getBuiltIn$1 = getBuiltIn$3;
888
- var uncurryThis$9 = functionUncurryThis;
889
+ var uncurryThis$7 = functionUncurryThis;
889
890
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
890
891
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
891
892
  var anObject$6 = anObject$8;
892
893
 
893
- var concat$2 = uncurryThis$9([].concat);
894
+ var concat$2 = uncurryThis$7([].concat);
894
895
 
895
896
  // all object keys, includes non-enumerable and symbols
896
897
  var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
@@ -916,7 +917,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
916
917
  }
917
918
  };
918
919
 
919
- var fails$a = fails$i;
920
+ var fails$9 = fails$h;
920
921
  var isCallable$6 = isCallable$g;
921
922
 
922
923
  var replacement = /#|\.prototype\./;
@@ -925,7 +926,7 @@ var isForced$1 = function (feature, detection) {
925
926
  var value = data[normalize(feature)];
926
927
  return value === POLYFILL ? true
927
928
  : value === NATIVE ? false
928
- : isCallable$6(detection) ? fails$a(detection)
929
+ : isCallable$6(detection) ? fails$9(detection)
929
930
  : !!detection;
930
931
  };
931
932
 
@@ -939,7 +940,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
939
940
 
940
941
  var isForced_1 = isForced$1;
941
942
 
942
- var global$6 = global$g;
943
+ var global$5 = global$f;
943
944
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
944
945
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
945
946
  var defineBuiltIn$3 = defineBuiltIn$4;
@@ -968,11 +969,11 @@ var _export = function (options, source) {
968
969
  var STATIC = options.stat;
969
970
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
970
971
  if (GLOBAL) {
971
- target = global$6;
972
+ target = global$5;
972
973
  } else if (STATIC) {
973
- target = global$6[TARGET] || defineGlobalProperty(TARGET, {});
974
+ target = global$5[TARGET] || defineGlobalProperty(TARGET, {});
974
975
  } else {
975
- target = (global$6[TARGET] || {}).prototype;
976
+ target = global$5[TARGET] && global$5[TARGET].prototype;
976
977
  }
977
978
  if (target) for (key in source) {
978
979
  sourceProperty = source[key];
@@ -1136,20 +1137,20 @@ var addToUnscopables$2 = function (key) {
1136
1137
  ArrayPrototype[UNSCOPABLES][key] = true;
1137
1138
  };
1138
1139
 
1139
- var $$5 = _export;
1140
+ var $$4 = _export;
1140
1141
  var $includes = arrayIncludes.includes;
1141
- var fails$9 = fails$i;
1142
+ var fails$8 = fails$h;
1142
1143
  var addToUnscopables$1 = addToUnscopables$2;
1143
1144
 
1144
1145
  // FF99+ bug
1145
- var BROKEN_ON_SPARSE = fails$9(function () {
1146
+ var BROKEN_ON_SPARSE = fails$8(function () {
1146
1147
  // eslint-disable-next-line es/no-array-prototype-includes -- detection
1147
1148
  return !Array(1).includes();
1148
1149
  });
1149
1150
 
1150
1151
  // `Array.prototype.includes` method
1151
1152
  // https://tc39.es/ecma262/#sec-array.prototype.includes
1152
- $$5({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1153
+ $$4({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1153
1154
  includes: function includes(el /* , fromIndex = 0 */) {
1154
1155
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
1155
1156
  }
@@ -1159,7 +1160,7 @@ $$5({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1159
1160
  addToUnscopables$1('includes');
1160
1161
 
1161
1162
  var isObject$2 = isObject$8;
1162
- var classof$4 = classofRaw$2;
1163
+ var classof$3 = classofRaw$1;
1163
1164
  var wellKnownSymbol$9 = wellKnownSymbol$c;
1164
1165
 
1165
1166
  var MATCH$1 = wellKnownSymbol$9('match');
@@ -1168,16 +1169,16 @@ var MATCH$1 = wellKnownSymbol$9('match');
1168
1169
  // https://tc39.es/ecma262/#sec-isregexp
1169
1170
  var isRegexp = function (it) {
1170
1171
  var isRegExp;
1171
- return isObject$2(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$4(it) === 'RegExp');
1172
+ return isObject$2(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$3(it) === 'RegExp');
1172
1173
  };
1173
1174
 
1174
1175
  var isRegExp = isRegexp;
1175
1176
 
1176
- var $TypeError$3 = TypeError;
1177
+ var $TypeError$2 = TypeError;
1177
1178
 
1178
1179
  var notARegexp = function (it) {
1179
1180
  if (isRegExp(it)) {
1180
- throw new $TypeError$3("The method doesn't accept regular expressions");
1181
+ throw new $TypeError$2("The method doesn't accept regular expressions");
1181
1182
  } return it;
1182
1183
  };
1183
1184
 
@@ -1192,14 +1193,14 @@ var toStringTagSupport = String(test) === '[object z]';
1192
1193
 
1193
1194
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1194
1195
  var isCallable$5 = isCallable$g;
1195
- var classofRaw$1 = classofRaw$2;
1196
+ var classofRaw = classofRaw$1;
1196
1197
  var wellKnownSymbol$7 = wellKnownSymbol$c;
1197
1198
 
1198
1199
  var TO_STRING_TAG$1 = wellKnownSymbol$7('toStringTag');
1199
1200
  var $Object$1 = Object;
1200
1201
 
1201
1202
  // ES3 wrong here
1202
- var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
1203
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
1203
1204
 
1204
1205
  // fallback for IE11 Script Access Denied error
1205
1206
  var tryGet = function (it, key) {
@@ -1209,23 +1210,23 @@ var tryGet = function (it, key) {
1209
1210
  };
1210
1211
 
1211
1212
  // getting tag from ES6+ `Object.prototype.toString`
1212
- var classof$3 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
1213
+ var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1213
1214
  var O, tag, result;
1214
1215
  return it === undefined ? 'Undefined' : it === null ? 'Null'
1215
1216
  // @@toStringTag case
1216
1217
  : typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$1)) == 'string' ? tag
1217
1218
  // builtinTag case
1218
- : CORRECT_ARGUMENTS ? classofRaw$1(O)
1219
+ : CORRECT_ARGUMENTS ? classofRaw(O)
1219
1220
  // ES3 arguments fallback
1220
- : (result = classofRaw$1(O)) === 'Object' && isCallable$5(O.callee) ? 'Arguments' : result;
1221
+ : (result = classofRaw(O)) === 'Object' && isCallable$5(O.callee) ? 'Arguments' : result;
1221
1222
  };
1222
1223
 
1223
- var classof$2 = classof$3;
1224
+ var classof$1 = classof$2;
1224
1225
 
1225
1226
  var $String$1 = String;
1226
1227
 
1227
1228
  var toString$4 = function (argument) {
1228
- if (classof$2(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1229
+ if (classof$1(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1229
1230
  return $String$1(argument);
1230
1231
  };
1231
1232
 
@@ -1245,18 +1246,18 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
1245
1246
  } return false;
1246
1247
  };
1247
1248
 
1248
- var $$4 = _export;
1249
- var uncurryThis$8 = functionUncurryThis;
1249
+ var $$3 = _export;
1250
+ var uncurryThis$6 = functionUncurryThis;
1250
1251
  var notARegExp = notARegexp;
1251
1252
  var requireObjectCoercible$2 = requireObjectCoercible$5;
1252
1253
  var toString$3 = toString$4;
1253
1254
  var correctIsRegExpLogic = correctIsRegexpLogic;
1254
1255
 
1255
- var stringIndexOf$1 = uncurryThis$8(''.indexOf);
1256
+ var stringIndexOf$1 = uncurryThis$6(''.indexOf);
1256
1257
 
1257
1258
  // `String.prototype.includes` method
1258
1259
  // https://tc39.es/ecma262/#sec-string.prototype.includes
1259
- $$4({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
1260
+ $$3({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
1260
1261
  includes: function includes(searchString /* , position = 0 */) {
1261
1262
  return !!~stringIndexOf$1(
1262
1263
  toString$3(requireObjectCoercible$2(this)),
@@ -1268,9 +1269,9 @@ $$4({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }
1268
1269
 
1269
1270
  var iterators = {};
1270
1271
 
1271
- var fails$8 = fails$i;
1272
+ var fails$7 = fails$h;
1272
1273
 
1273
- var correctPrototypeGetter = !fails$8(function () {
1274
+ var correctPrototypeGetter = !fails$7(function () {
1274
1275
  function F() { /* empty */ }
1275
1276
  F.prototype.constructor = null;
1276
1277
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
@@ -1279,7 +1280,7 @@ var correctPrototypeGetter = !fails$8(function () {
1279
1280
 
1280
1281
  var hasOwn$1 = hasOwnProperty_1;
1281
1282
  var isCallable$4 = isCallable$g;
1282
- var toObject$3 = toObject$5;
1283
+ var toObject$2 = toObject$4;
1283
1284
  var sharedKey = sharedKey$3;
1284
1285
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1285
1286
 
@@ -1291,7 +1292,7 @@ var ObjectPrototype = $Object.prototype;
1291
1292
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1292
1293
  // eslint-disable-next-line es/no-object-getprototypeof -- safe
1293
1294
  var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
1294
- var object = toObject$3(O);
1295
+ var object = toObject$2(O);
1295
1296
  if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
1296
1297
  var constructor = object.constructor;
1297
1298
  if (isCallable$4(constructor) && object instanceof constructor) {
@@ -1299,7 +1300,7 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : f
1299
1300
  } return object instanceof $Object ? ObjectPrototype : null;
1300
1301
  };
1301
1302
 
1302
- var fails$7 = fails$i;
1303
+ var fails$6 = fails$h;
1303
1304
  var isCallable$3 = isCallable$g;
1304
1305
  var isObject$1 = isObject$8;
1305
1306
  var getPrototypeOf$1 = objectGetPrototypeOf;
@@ -1324,7 +1325,7 @@ if ([].keys) {
1324
1325
  }
1325
1326
  }
1326
1327
 
1327
- var NEW_ITERATOR_PROTOTYPE = !isObject$1(IteratorPrototype$2) || fails$7(function () {
1328
+ var NEW_ITERATOR_PROTOTYPE = !isObject$1(IteratorPrototype$2) || fails$6(function () {
1328
1329
  var test = {};
1329
1330
  // FF44- legacy iterators case
1330
1331
  return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
@@ -1374,13 +1375,13 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
1374
1375
  return IteratorConstructor;
1375
1376
  };
1376
1377
 
1377
- var uncurryThis$7 = functionUncurryThis;
1378
- var aCallable$1 = aCallable$3;
1378
+ var uncurryThis$5 = functionUncurryThis;
1379
+ var aCallable = aCallable$2;
1379
1380
 
1380
1381
  var functionUncurryThisAccessor = function (object, key, method) {
1381
1382
  try {
1382
1383
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1383
- return uncurryThis$7(aCallable$1(Object.getOwnPropertyDescriptor(object, key)[method]));
1384
+ return uncurryThis$5(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
1384
1385
  } catch (error) { /* empty */ }
1385
1386
  };
1386
1387
 
@@ -1393,11 +1394,11 @@ var isPossiblePrototype$1 = function (argument) {
1393
1394
  var isPossiblePrototype = isPossiblePrototype$1;
1394
1395
 
1395
1396
  var $String = String;
1396
- var $TypeError$2 = TypeError;
1397
+ var $TypeError$1 = TypeError;
1397
1398
 
1398
1399
  var aPossiblePrototype$1 = function (argument) {
1399
1400
  if (isPossiblePrototype(argument)) return argument;
1400
- throw new $TypeError$2("Can't set " + $String(argument) + ' as a prototype');
1401
+ throw new $TypeError$1("Can't set " + $String(argument) + ' as a prototype');
1401
1402
  };
1402
1403
 
1403
1404
  /* eslint-disable no-proto -- safe */
@@ -1427,8 +1428,8 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1427
1428
  };
1428
1429
  }() : undefined);
1429
1430
 
1430
- var $$3 = _export;
1431
- var call$5 = functionCall;
1431
+ var $$2 = _export;
1432
+ var call$6 = functionCall;
1432
1433
  var FunctionName = functionName;
1433
1434
  var isCallable$2 = isCallable$g;
1434
1435
  var createIteratorConstructor = iteratorCreateConstructor;
@@ -1500,7 +1501,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1500
1501
  createNonEnumerableProperty$2(IterablePrototype, 'name', VALUES);
1501
1502
  } else {
1502
1503
  INCORRECT_VALUES_NAME = true;
1503
- defaultIterator = function values() { return call$5(nativeIterator, this); };
1504
+ defaultIterator = function values() { return call$6(nativeIterator, this); };
1504
1505
  }
1505
1506
  }
1506
1507
 
@@ -1515,7 +1516,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1515
1516
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1516
1517
  defineBuiltIn$1(IterablePrototype, KEY, methods[KEY]);
1517
1518
  }
1518
- } else $$3({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1519
+ } else $$2({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1519
1520
  }
1520
1521
 
1521
1522
  // define iterator
@@ -1594,87 +1595,6 @@ if (DESCRIPTORS$1 && values.name !== 'values') try {
1594
1595
  defineProperty$1(values, 'name', { value: 'values' });
1595
1596
  } catch (error) { /* empty */ }
1596
1597
 
1597
- // iterable DOM collections
1598
- // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
1599
- var domIterables = {
1600
- CSSRuleList: 0,
1601
- CSSStyleDeclaration: 0,
1602
- CSSValueList: 0,
1603
- ClientRectList: 0,
1604
- DOMRectList: 0,
1605
- DOMStringList: 0,
1606
- DOMTokenList: 1,
1607
- DataTransferItemList: 0,
1608
- FileList: 0,
1609
- HTMLAllCollection: 0,
1610
- HTMLCollection: 0,
1611
- HTMLFormElement: 0,
1612
- HTMLSelectElement: 0,
1613
- MediaList: 0,
1614
- MimeTypeArray: 0,
1615
- NamedNodeMap: 0,
1616
- NodeList: 1,
1617
- PaintRequestList: 0,
1618
- Plugin: 0,
1619
- PluginArray: 0,
1620
- SVGLengthList: 0,
1621
- SVGNumberList: 0,
1622
- SVGPathSegList: 0,
1623
- SVGPointList: 0,
1624
- SVGStringList: 0,
1625
- SVGTransformList: 0,
1626
- SourceBufferList: 0,
1627
- StyleSheetList: 0,
1628
- TextTrackCueList: 0,
1629
- TextTrackList: 0,
1630
- TouchList: 0
1631
- };
1632
-
1633
- // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
1634
- var documentCreateElement = documentCreateElement$2;
1635
-
1636
- var classList = documentCreateElement('span').classList;
1637
- var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
1638
-
1639
- var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1640
-
1641
- var global$5 = global$g;
1642
- var DOMIterables = domIterables;
1643
- var DOMTokenListPrototype = domTokenListPrototype;
1644
- var ArrayIteratorMethods = es_array_iterator;
1645
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
1646
- var setToStringTag = setToStringTag$3;
1647
- var wellKnownSymbol$2 = wellKnownSymbol$c;
1648
-
1649
- var ITERATOR = wellKnownSymbol$2('iterator');
1650
- var ArrayValues = ArrayIteratorMethods.values;
1651
-
1652
- var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1653
- if (CollectionPrototype) {
1654
- // some Chrome versions have non-configurable methods on DOMTokenList
1655
- if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
1656
- createNonEnumerableProperty$1(CollectionPrototype, ITERATOR, ArrayValues);
1657
- } catch (error) {
1658
- CollectionPrototype[ITERATOR] = ArrayValues;
1659
- }
1660
- setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
1661
- if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
1662
- // some Chrome versions have non-configurable methods on DOMTokenList
1663
- if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
1664
- createNonEnumerableProperty$1(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
1665
- } catch (error) {
1666
- CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
1667
- }
1668
- }
1669
- }
1670
- };
1671
-
1672
- for (var COLLECTION_NAME in DOMIterables) {
1673
- handlePrototype(global$5[COLLECTION_NAME] && global$5[COLLECTION_NAME].prototype, COLLECTION_NAME);
1674
- }
1675
-
1676
- handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1677
-
1678
1598
  var anObject$2 = anObject$8;
1679
1599
 
1680
1600
  // `RegExp.prototype.flags` getter implementation
@@ -1693,13 +1613,13 @@ var regexpFlags$1 = function () {
1693
1613
  return result;
1694
1614
  };
1695
1615
 
1696
- var fails$6 = fails$i;
1697
- var global$4 = global$g;
1616
+ var fails$5 = fails$h;
1617
+ var global$4 = global$f;
1698
1618
 
1699
1619
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1700
1620
  var $RegExp$2 = global$4.RegExp;
1701
1621
 
1702
- var UNSUPPORTED_Y$1 = fails$6(function () {
1622
+ var UNSUPPORTED_Y$1 = fails$5(function () {
1703
1623
  var re = $RegExp$2('a', 'y');
1704
1624
  re.lastIndex = 2;
1705
1625
  return re.exec('abcd') !== null;
@@ -1707,11 +1627,11 @@ var UNSUPPORTED_Y$1 = fails$6(function () {
1707
1627
 
1708
1628
  // UC Browser bug
1709
1629
  // https://github.com/zloirock/core-js/issues/1008
1710
- var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$6(function () {
1630
+ var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$5(function () {
1711
1631
  return !$RegExp$2('a', 'y').sticky;
1712
1632
  });
1713
1633
 
1714
- var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$6(function () {
1634
+ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$5(function () {
1715
1635
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
1716
1636
  var re = $RegExp$2('^r', 'gy');
1717
1637
  re.lastIndex = 2;
@@ -1724,24 +1644,24 @@ var regexpStickyHelpers = {
1724
1644
  UNSUPPORTED_Y: UNSUPPORTED_Y$1
1725
1645
  };
1726
1646
 
1727
- var fails$5 = fails$i;
1728
- var global$3 = global$g;
1647
+ var fails$4 = fails$h;
1648
+ var global$3 = global$f;
1729
1649
 
1730
1650
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1731
1651
  var $RegExp$1 = global$3.RegExp;
1732
1652
 
1733
- var regexpUnsupportedDotAll = fails$5(function () {
1653
+ var regexpUnsupportedDotAll = fails$4(function () {
1734
1654
  var re = $RegExp$1('.', 's');
1735
1655
  return !(re.dotAll && re.test('\n') && re.flags === 's');
1736
1656
  });
1737
1657
 
1738
- var fails$4 = fails$i;
1739
- var global$2 = global$g;
1658
+ var fails$3 = fails$h;
1659
+ var global$2 = global$f;
1740
1660
 
1741
1661
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
1742
1662
  var $RegExp = global$2.RegExp;
1743
1663
 
1744
- var regexpUnsupportedNcg = fails$4(function () {
1664
+ var regexpUnsupportedNcg = fails$3(function () {
1745
1665
  var re = $RegExp('(?<a>b)', 'g');
1746
1666
  return re.exec('b').groups.a !== 'b' ||
1747
1667
  'b'.replace(re, '$<a>c') !== 'bc';
@@ -1749,8 +1669,8 @@ var regexpUnsupportedNcg = fails$4(function () {
1749
1669
 
1750
1670
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1751
1671
  /* eslint-disable regexp/no-useless-quantifier -- testing */
1752
- var call$4 = functionCall;
1753
- var uncurryThis$6 = functionUncurryThis;
1672
+ var call$5 = functionCall;
1673
+ var uncurryThis$4 = functionUncurryThis;
1754
1674
  var toString$2 = toString$4;
1755
1675
  var regexpFlags = regexpFlags$1;
1756
1676
  var stickyHelpers = regexpStickyHelpers;
@@ -1763,16 +1683,16 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
1763
1683
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
1764
1684
  var nativeExec = RegExp.prototype.exec;
1765
1685
  var patchedExec = nativeExec;
1766
- var charAt$3 = uncurryThis$6(''.charAt);
1767
- var indexOf = uncurryThis$6(''.indexOf);
1768
- var replace$1 = uncurryThis$6(''.replace);
1769
- var stringSlice$3 = uncurryThis$6(''.slice);
1686
+ var charAt$3 = uncurryThis$4(''.charAt);
1687
+ var indexOf = uncurryThis$4(''.indexOf);
1688
+ var replace$1 = uncurryThis$4(''.replace);
1689
+ var stringSlice$3 = uncurryThis$4(''.slice);
1770
1690
 
1771
1691
  var UPDATES_LAST_INDEX_WRONG = (function () {
1772
1692
  var re1 = /a/;
1773
1693
  var re2 = /b*/g;
1774
- call$4(nativeExec, re1, 'a');
1775
- call$4(nativeExec, re2, 'a');
1694
+ call$5(nativeExec, re1, 'a');
1695
+ call$5(nativeExec, re2, 'a');
1776
1696
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
1777
1697
  })();
1778
1698
 
@@ -1793,14 +1713,14 @@ if (PATCH) {
1793
1713
 
1794
1714
  if (raw) {
1795
1715
  raw.lastIndex = re.lastIndex;
1796
- result = call$4(patchedExec, raw, str);
1716
+ result = call$5(patchedExec, raw, str);
1797
1717
  re.lastIndex = raw.lastIndex;
1798
1718
  return result;
1799
1719
  }
1800
1720
 
1801
1721
  var groups = state.groups;
1802
1722
  var sticky = UNSUPPORTED_Y && re.sticky;
1803
- var flags = call$4(regexpFlags, re);
1723
+ var flags = call$5(regexpFlags, re);
1804
1724
  var source = re.source;
1805
1725
  var charsAdded = 0;
1806
1726
  var strCopy = str;
@@ -1828,7 +1748,7 @@ if (PATCH) {
1828
1748
  }
1829
1749
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
1830
1750
 
1831
- match = call$4(nativeExec, sticky ? reCopy : re, strCopy);
1751
+ match = call$5(nativeExec, sticky ? reCopy : re, strCopy);
1832
1752
 
1833
1753
  if (sticky) {
1834
1754
  if (match) {
@@ -1843,7 +1763,7 @@ if (PATCH) {
1843
1763
  if (NPCG_INCLUDED && match && match.length > 1) {
1844
1764
  // Fix browsers whose `exec` methods don't consistently return `undefined`
1845
1765
  // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
1846
- call$4(nativeReplace, match[0], reCopy, function () {
1766
+ call$5(nativeReplace, match[0], reCopy, function () {
1847
1767
  for (i = 1; i < arguments.length - 2; i++) {
1848
1768
  if (arguments[i] === undefined) match[i] = undefined;
1849
1769
  }
@@ -1864,12 +1784,12 @@ if (PATCH) {
1864
1784
 
1865
1785
  var regexpExec$2 = patchedExec;
1866
1786
 
1867
- var $$2 = _export;
1787
+ var $$1 = _export;
1868
1788
  var exec = regexpExec$2;
1869
1789
 
1870
1790
  // `RegExp.prototype.exec` method
1871
1791
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
1872
- $$2({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
1792
+ $$1({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
1873
1793
  exec: exec
1874
1794
  });
1875
1795
 
@@ -1877,46 +1797,36 @@ var NATIVE_BIND = functionBindNative;
1877
1797
 
1878
1798
  var FunctionPrototype = Function.prototype;
1879
1799
  var apply$1 = FunctionPrototype.apply;
1880
- var call$3 = FunctionPrototype.call;
1800
+ var call$4 = FunctionPrototype.call;
1881
1801
 
1882
1802
  // eslint-disable-next-line es/no-reflect -- safe
1883
- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$3.bind(apply$1) : function () {
1884
- return call$3.apply(apply$1, arguments);
1803
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$4.bind(apply$1) : function () {
1804
+ return call$4.apply(apply$1, arguments);
1885
1805
  });
1886
1806
 
1887
- var classofRaw = classofRaw$2;
1888
- var uncurryThis$5 = functionUncurryThis;
1889
-
1890
- var functionUncurryThisClause = function (fn) {
1891
- // Nashorn bug:
1892
- // https://github.com/zloirock/core-js/issues/1128
1893
- // https://github.com/zloirock/core-js/issues/1130
1894
- if (classofRaw(fn) === 'Function') return uncurryThis$5(fn);
1895
- };
1896
-
1897
1807
  // TODO: Remove from `core-js@4` since it's moved to entry points
1898
1808
 
1899
- var uncurryThis$4 = functionUncurryThisClause;
1809
+ var call$3 = functionCall;
1900
1810
  var defineBuiltIn = defineBuiltIn$4;
1901
1811
  var regexpExec$1 = regexpExec$2;
1902
- var fails$3 = fails$i;
1903
- var wellKnownSymbol$1 = wellKnownSymbol$c;
1904
- var createNonEnumerableProperty = createNonEnumerableProperty$5;
1812
+ var fails$2 = fails$h;
1813
+ var wellKnownSymbol$2 = wellKnownSymbol$c;
1814
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
1905
1815
 
1906
- var SPECIES = wellKnownSymbol$1('species');
1816
+ var SPECIES = wellKnownSymbol$2('species');
1907
1817
  var RegExpPrototype = RegExp.prototype;
1908
1818
 
1909
1819
  var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1910
- var SYMBOL = wellKnownSymbol$1(KEY);
1820
+ var SYMBOL = wellKnownSymbol$2(KEY);
1911
1821
 
1912
- var DELEGATES_TO_SYMBOL = !fails$3(function () {
1913
- // String methods call symbol-named RegEp methods
1822
+ var DELEGATES_TO_SYMBOL = !fails$2(function () {
1823
+ // String methods call symbol-named RegExp methods
1914
1824
  var O = {};
1915
1825
  O[SYMBOL] = function () { return 7; };
1916
1826
  return ''[KEY](O) !== 7;
1917
1827
  });
1918
1828
 
1919
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$3(function () {
1829
+ var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$2(function () {
1920
1830
  // Symbol-named RegExp methods call .exec
1921
1831
  var execCalled = false;
1922
1832
  var re = /a/;
@@ -1948,18 +1858,17 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1948
1858
  !DELEGATES_TO_EXEC ||
1949
1859
  FORCED
1950
1860
  ) {
1951
- var uncurriedNativeRegExpMethod = uncurryThis$4(/./[SYMBOL]);
1861
+ var nativeRegExpMethod = /./[SYMBOL];
1952
1862
  var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
1953
- var uncurriedNativeMethod = uncurryThis$4(nativeMethod);
1954
1863
  var $exec = regexp.exec;
1955
1864
  if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
1956
1865
  if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
1957
1866
  // The native String method already delegates to @@method (this
1958
1867
  // polyfilled function), leasing to infinite recursion.
1959
1868
  // We avoid it by directly calling the native @@method method.
1960
- return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
1869
+ return { done: true, value: call$3(nativeRegExpMethod, regexp, str, arg2) };
1961
1870
  }
1962
- return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
1871
+ return { done: true, value: call$3(nativeMethod, str, regexp, arg2) };
1963
1872
  }
1964
1873
  return { done: false };
1965
1874
  });
@@ -1968,7 +1877,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1968
1877
  defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
1969
1878
  }
1970
1879
 
1971
- if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
1880
+ if (SHAM) createNonEnumerableProperty$1(RegExpPrototype[SYMBOL], 'sham', true);
1972
1881
  };
1973
1882
 
1974
1883
  var uncurryThis$3 = functionUncurryThis;
@@ -1980,7 +1889,7 @@ var charAt$2 = uncurryThis$3(''.charAt);
1980
1889
  var charCodeAt = uncurryThis$3(''.charCodeAt);
1981
1890
  var stringSlice$2 = uncurryThis$3(''.slice);
1982
1891
 
1983
- var createMethod$1 = function (CONVERT_TO_STRING) {
1892
+ var createMethod = function (CONVERT_TO_STRING) {
1984
1893
  return function ($this, pos) {
1985
1894
  var S = toString$1(requireObjectCoercible$1($this));
1986
1895
  var position = toIntegerOrInfinity$1(pos);
@@ -2002,10 +1911,10 @@ var createMethod$1 = function (CONVERT_TO_STRING) {
2002
1911
  var stringMultibyte = {
2003
1912
  // `String.prototype.codePointAt` method
2004
1913
  // https://tc39.es/ecma262/#sec-string.prototype.codepointat
2005
- codeAt: createMethod$1(false),
1914
+ codeAt: createMethod(false),
2006
1915
  // `String.prototype.at` method
2007
1916
  // https://github.com/mathiasbynens/String.prototype.at
2008
- charAt: createMethod$1(true)
1917
+ charAt: createMethod(true)
2009
1918
  };
2010
1919
 
2011
1920
  var charAt$1 = stringMultibyte.charAt;
@@ -2017,7 +1926,7 @@ var advanceStringIndex$1 = function (S, index, unicode) {
2017
1926
  };
2018
1927
 
2019
1928
  var uncurryThis$2 = functionUncurryThis;
2020
- var toObject$2 = toObject$5;
1929
+ var toObject$1 = toObject$4;
2021
1930
 
2022
1931
  var floor = Math.floor;
2023
1932
  var charAt = uncurryThis$2(''.charAt);
@@ -2034,7 +1943,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
2034
1943
  var m = captures.length;
2035
1944
  var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
2036
1945
  if (namedCaptures !== undefined) {
2037
- namedCaptures = toObject$2(namedCaptures);
1946
+ namedCaptures = toObject$1(namedCaptures);
2038
1947
  symbols = SUBSTITUTION_SYMBOLS;
2039
1948
  }
2040
1949
  return replace(replacement, symbols, function (match, ch) {
@@ -2065,10 +1974,10 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
2065
1974
  var call$2 = functionCall;
2066
1975
  var anObject$1 = anObject$8;
2067
1976
  var isCallable$1 = isCallable$g;
2068
- var classof$1 = classofRaw$2;
1977
+ var classof = classofRaw$1;
2069
1978
  var regexpExec = regexpExec$2;
2070
1979
 
2071
- var $TypeError$1 = TypeError;
1980
+ var $TypeError = TypeError;
2072
1981
 
2073
1982
  // `RegExpExec` abstract operation
2074
1983
  // https://tc39.es/ecma262/#sec-regexpexec
@@ -2079,15 +1988,15 @@ var regexpExecAbstract = function (R, S) {
2079
1988
  if (result !== null) anObject$1(result);
2080
1989
  return result;
2081
1990
  }
2082
- if (classof$1(R) === 'RegExp') return call$2(regexpExec, R, S);
2083
- throw new $TypeError$1('RegExp#exec called on incompatible receiver');
1991
+ if (classof(R) === 'RegExp') return call$2(regexpExec, R, S);
1992
+ throw new $TypeError('RegExp#exec called on incompatible receiver');
2084
1993
  };
2085
1994
 
2086
1995
  var apply = functionApply;
2087
1996
  var call$1 = functionCall;
2088
1997
  var uncurryThis$1 = functionUncurryThis;
2089
1998
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
2090
- var fails$2 = fails$i;
1999
+ var fails$1 = fails$h;
2091
2000
  var anObject = anObject$8;
2092
2001
  var isCallable = isCallable$g;
2093
2002
  var isNullOrUndefined = isNullOrUndefined$3;
@@ -2099,9 +2008,9 @@ var advanceStringIndex = advanceStringIndex$1;
2099
2008
  var getMethod = getMethod$2;
2100
2009
  var getSubstitution = getSubstitution$1;
2101
2010
  var regExpExec = regexpExecAbstract;
2102
- var wellKnownSymbol = wellKnownSymbol$c;
2011
+ var wellKnownSymbol$1 = wellKnownSymbol$c;
2103
2012
 
2104
- var REPLACE = wellKnownSymbol('replace');
2013
+ var REPLACE = wellKnownSymbol$1('replace');
2105
2014
  var max = Math.max;
2106
2015
  var min = Math.min;
2107
2016
  var concat$1 = uncurryThis$1([].concat);
@@ -2128,7 +2037,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
2128
2037
  return false;
2129
2038
  })();
2130
2039
 
2131
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$2(function () {
2040
+ var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$1(function () {
2132
2041
  var re = /./;
2133
2042
  re.exec = function () {
2134
2043
  var result = [];
@@ -2225,92 +2134,95 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
2225
2134
  ];
2226
2135
  }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
2227
2136
 
2228
- var aCallable = aCallable$3;
2229
- var toObject$1 = toObject$5;
2230
- var IndexedObject$1 = indexedObject;
2231
- var lengthOfArrayLike = lengthOfArrayLike$2;
2232
-
2233
- var $TypeError = TypeError;
2234
-
2235
- // `Array.prototype.{ reduce, reduceRight }` methods implementation
2236
- var createMethod = function (IS_RIGHT) {
2237
- return function (that, callbackfn, argumentsLength, memo) {
2238
- var O = toObject$1(that);
2239
- var self = IndexedObject$1(O);
2240
- var length = lengthOfArrayLike(O);
2241
- aCallable(callbackfn);
2242
- var index = IS_RIGHT ? length - 1 : 0;
2243
- var i = IS_RIGHT ? -1 : 1;
2244
- if (argumentsLength < 2) while (true) {
2245
- if (index in self) {
2246
- memo = self[index];
2247
- index += i;
2248
- break;
2249
- }
2250
- index += i;
2251
- if (IS_RIGHT ? index < 0 : length <= index) {
2252
- throw new $TypeError('Reduce of empty array with no initial value');
2253
- }
2254
- }
2255
- for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
2256
- memo = callbackfn(memo, self[index], index, O);
2257
- }
2258
- return memo;
2259
- };
2137
+ // iterable DOM collections
2138
+ // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
2139
+ var domIterables = {
2140
+ CSSRuleList: 0,
2141
+ CSSStyleDeclaration: 0,
2142
+ CSSValueList: 0,
2143
+ ClientRectList: 0,
2144
+ DOMRectList: 0,
2145
+ DOMStringList: 0,
2146
+ DOMTokenList: 1,
2147
+ DataTransferItemList: 0,
2148
+ FileList: 0,
2149
+ HTMLAllCollection: 0,
2150
+ HTMLCollection: 0,
2151
+ HTMLFormElement: 0,
2152
+ HTMLSelectElement: 0,
2153
+ MediaList: 0,
2154
+ MimeTypeArray: 0,
2155
+ NamedNodeMap: 0,
2156
+ NodeList: 1,
2157
+ PaintRequestList: 0,
2158
+ Plugin: 0,
2159
+ PluginArray: 0,
2160
+ SVGLengthList: 0,
2161
+ SVGNumberList: 0,
2162
+ SVGPathSegList: 0,
2163
+ SVGPointList: 0,
2164
+ SVGStringList: 0,
2165
+ SVGTransformList: 0,
2166
+ SourceBufferList: 0,
2167
+ StyleSheetList: 0,
2168
+ TextTrackCueList: 0,
2169
+ TextTrackList: 0,
2170
+ TouchList: 0
2260
2171
  };
2261
2172
 
2262
- var arrayReduce = {
2263
- // `Array.prototype.reduce` method
2264
- // https://tc39.es/ecma262/#sec-array.prototype.reduce
2265
- left: createMethod(false),
2266
- // `Array.prototype.reduceRight` method
2267
- // https://tc39.es/ecma262/#sec-array.prototype.reduceright
2268
- right: createMethod(true)
2269
- };
2173
+ // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
2174
+ var documentCreateElement = documentCreateElement$2;
2270
2175
 
2271
- var fails$1 = fails$i;
2176
+ var classList = documentCreateElement('span').classList;
2177
+ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
2272
2178
 
2273
- var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
2274
- var method = [][METHOD_NAME];
2275
- return !!method && fails$1(function () {
2276
- // eslint-disable-next-line no-useless-call -- required for testing
2277
- method.call(null, argument || function () { return 1; }, 1);
2278
- });
2279
- };
2179
+ var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
2280
2180
 
2281
- var global$1 = global$g;
2282
- var classof = classofRaw$2;
2181
+ var global$1 = global$f;
2182
+ var DOMIterables = domIterables;
2183
+ var DOMTokenListPrototype = domTokenListPrototype;
2184
+ var ArrayIteratorMethods = es_array_iterator;
2185
+ var createNonEnumerableProperty = createNonEnumerableProperty$5;
2186
+ var setToStringTag = setToStringTag$3;
2187
+ var wellKnownSymbol = wellKnownSymbol$c;
2283
2188
 
2284
- var engineIsNode = classof(global$1.process) === 'process';
2189
+ var ITERATOR = wellKnownSymbol('iterator');
2190
+ var ArrayValues = ArrayIteratorMethods.values;
2285
2191
 
2286
- var $$1 = _export;
2287
- var $reduce = arrayReduce.left;
2288
- var arrayMethodIsStrict = arrayMethodIsStrict$1;
2289
- var CHROME_VERSION = engineV8Version;
2290
- var IS_NODE = engineIsNode;
2291
-
2292
- // Chrome 80-82 has a critical bug
2293
- // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
2294
- var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
2295
- var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');
2296
-
2297
- // `Array.prototype.reduce` method
2298
- // https://tc39.es/ecma262/#sec-array.prototype.reduce
2299
- $$1({ target: 'Array', proto: true, forced: FORCED }, {
2300
- reduce: function reduce(callbackfn /* , initialValue */) {
2301
- var length = arguments.length;
2302
- return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
2192
+ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
2193
+ if (CollectionPrototype) {
2194
+ // some Chrome versions have non-configurable methods on DOMTokenList
2195
+ if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
2196
+ createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
2197
+ } catch (error) {
2198
+ CollectionPrototype[ITERATOR] = ArrayValues;
2199
+ }
2200
+ setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
2201
+ if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
2202
+ // some Chrome versions have non-configurable methods on DOMTokenList
2203
+ if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
2204
+ createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
2205
+ } catch (error) {
2206
+ CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
2207
+ }
2208
+ }
2303
2209
  }
2304
- });
2210
+ };
2211
+
2212
+ for (var COLLECTION_NAME in DOMIterables) {
2213
+ handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
2214
+ }
2215
+
2216
+ handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
2305
2217
 
2306
2218
  var DESCRIPTORS = descriptors;
2307
2219
  var uncurryThis = functionUncurryThis;
2308
2220
  var call = functionCall;
2309
- var fails = fails$i;
2221
+ var fails = fails$h;
2310
2222
  var objectKeys = objectKeys$2;
2311
2223
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
2312
2224
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
2313
- var toObject = toObject$5;
2225
+ var toObject = toObject$4;
2314
2226
  var IndexedObject = indexedObject;
2315
2227
 
2316
2228
  // eslint-disable-next-line es/no-object-assign -- safe
@@ -2447,38 +2359,27 @@ function getPageElementBound(rowsNodes) {
2447
2359
  };
2448
2360
  });
2449
2361
  }
2450
- const getPageContainers = containers => {
2451
- return Object.keys(containers).reduce((acc, container) => {
2452
- const contentlets = containers[container].contentlets;
2453
- const contentletsKeys = Object.keys(contentlets);
2454
- contentletsKeys.forEach(key => {
2455
- var _containers$container;
2456
- acc.push({
2457
- identifier: (_containers$container = containers[container].container.path) != null ? _containers$container : containers[container].container.identifier,
2458
- uuid: key.replace('uuid-', ''),
2459
- contentletsId: contentlets[key].map(contentlet => contentlet.identifier)
2460
- });
2461
- });
2462
- return acc;
2463
- }, []);
2464
- };
2465
2362
  const getContainersData = (containers, containerRef) => {
2466
2363
  const {
2467
2364
  identifier,
2468
2365
  uuid
2469
2366
  } = containerRef;
2470
2367
  const {
2471
- containerStructures
2368
+ containerStructures,
2369
+ container
2472
2370
  } = containers[identifier];
2371
+ // Get the variant id
2372
+ const {
2373
+ variantId
2374
+ } = (container == null ? void 0 : container.parentPermissionable) || {};
2473
2375
  // Get accepts types of content types for this container
2474
2376
  const acceptTypes = containerStructures.map(structure => structure.contentTypeVar).join(',');
2475
2377
  // Get the contentlets for "this" container
2476
2378
  const contentlets = containers[identifier].contentlets[`uuid-${uuid}`];
2477
- const pageContainers = getPageContainers(containers);
2478
2379
  return Object.assign({}, containers[identifier].container, {
2479
2380
  acceptTypes,
2480
2381
  contentlets,
2481
- pageContainers
2382
+ variantId
2482
2383
  });
2483
2384
  };
2484
2385
  const combineClasses = classes => classes.filter(Boolean).join(' ');
@@ -2689,7 +2590,8 @@ const FAKE_CONTENLET = {
2689
2590
  title: 'TEMP_EMPTY_CONTENTLET',
2690
2591
  contentType: 'TEMP_EMPTY_CONTENTLET_TYPE',
2691
2592
  inode: 'TEMPY_EMPTY_CONTENTLET_INODE',
2692
- widgetTitle: 'TEMP_EMPTY_CONTENTLET'
2593
+ widgetTitle: 'TEMP_EMPTY_CONTENTLET',
2594
+ onNumberOfPages: 1
2693
2595
  };
2694
2596
  function EmptyContainer() {
2695
2597
  return jsx("div", {
@@ -2717,7 +2619,6 @@ function NoContent({
2717
2619
  function Container({
2718
2620
  containerRef
2719
2621
  }) {
2720
- var _viewAs$persona;
2721
2622
  const {
2722
2623
  identifier,
2723
2624
  uuid
@@ -2725,8 +2626,6 @@ function Container({
2725
2626
  // Get the containers from the global context
2726
2627
  const {
2727
2628
  containers,
2728
- page,
2729
- viewAs,
2730
2629
  components,
2731
2630
  isInsideEditor
2732
2631
  } = useContext(PageContext);
@@ -2734,24 +2633,19 @@ function Container({
2734
2633
  acceptTypes,
2735
2634
  contentlets,
2736
2635
  maxContentlets,
2737
- pageContainers,
2636
+ variantId,
2738
2637
  path
2739
2638
  } = getContainersData(containers, containerRef);
2740
2639
  const updatedContentlets = contentlets.length === 0 && isInsideEditor ? [FAKE_CONTENLET] : contentlets;
2741
- const contentletsId = updatedContentlets.map(contentlet => contentlet.identifier);
2742
2640
  const container = {
2743
2641
  acceptTypes,
2744
- contentletsId,
2745
2642
  identifier: path != null ? path : identifier,
2746
2643
  maxContentlets,
2644
+ variantId,
2747
2645
  uuid
2748
2646
  };
2749
2647
  const containerPayload = {
2750
- container,
2751
- language_id: viewAs.language.id,
2752
- pageContainers,
2753
- pageId: page.identifier,
2754
- personaTag: (_viewAs$persona = viewAs.persona) == null ? void 0 : _viewAs$persona.keyTag
2648
+ container
2755
2649
  };
2756
2650
  function onPointerEnterHandler(e) {
2757
2651
  var _target$dataset$conte;
@@ -2781,7 +2675,6 @@ function Container({
2781
2675
  });
2782
2676
  }
2783
2677
  const renderContentlets = updatedContentlets.map(contentlet => {
2784
- var _viewAs$persona2;
2785
2678
  const ContentTypeComponent = components[contentlet.contentType] || NoContent;
2786
2679
  const Component = contentlet.identifier === 'TEMP_EMPTY_CONTENTLET' ? EmptyContainer : ContentTypeComponent;
2787
2680
  const contentletPayload = {
@@ -2789,12 +2682,10 @@ function Container({
2789
2682
  contentlet: {
2790
2683
  identifier: contentlet.identifier,
2791
2684
  title: contentlet.widgetTitle || contentlet.title,
2792
- inode: contentlet.inode
2793
- },
2794
- language_id: viewAs.language.id,
2795
- pageContainers,
2796
- pageId: page.identifier,
2797
- personaTag: (_viewAs$persona2 = viewAs.persona) == null ? void 0 : _viewAs$persona2.keyTag
2685
+ inode: contentlet.inode,
2686
+ onNumberOfPages: contentlet.onNumberOfPages,
2687
+ contentType: contentlet.contentType
2688
+ }
2798
2689
  };
2799
2690
  return isInsideEditor ? jsx("div", {
2800
2691
  onPointerEnter: onPointerEnterHandler,