@dotcms/react 0.0.1-alpha.1 → 0.0.1-alpha.3

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.
@@ -1,5 +1,5 @@
1
- import { jsx, jsxs } from 'react/jsx-runtime';
2
- import { useRef, useEffect, createContext, useContext, forwardRef } from 'react';
1
+ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
2
+ import { useRef, useState, useEffect, createContext, useContext, createElement as createElement$1, forwardRef } from 'react';
3
3
  import { postMessageToEditor, CUSTOMER_ACTIONS } from '@dotcms/client';
4
4
 
5
5
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -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$f =
12
+ var global$g =
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$f =
22
22
 
23
23
  var objectGetOwnPropertyDescriptor = {};
24
24
 
25
- var fails$g = function (exec) {
25
+ var fails$i = function (exec) {
26
26
  try {
27
27
  return !!exec();
28
28
  } catch (error) {
@@ -30,17 +30,17 @@ var fails$g = function (exec) {
30
30
  }
31
31
  };
32
32
 
33
- var fails$f = fails$g;
33
+ var fails$h = fails$i;
34
34
 
35
35
  // Detect IE8's incomplete defineProperty implementation
36
- var descriptors = !fails$f(function () {
36
+ var descriptors = !fails$h(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$e = fails$g;
41
+ var fails$g = fails$i;
42
42
 
43
- var functionBindNative = !fails$e(function () {
43
+ var functionBindNative = !fails$g(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$e(function () {
49
49
 
50
50
  var NATIVE_BIND$2 = functionBindNative;
51
51
 
52
- var call$9 = Function.prototype.call;
52
+ var call$a = Function.prototype.call;
53
53
 
54
- var functionCall = NATIVE_BIND$2 ? call$9.bind(call$9) : function () {
55
- return call$9.apply(call$9, arguments);
54
+ var functionCall = NATIVE_BIND$2 ? call$a.bind(call$a) : function () {
55
+ return call$a.apply(call$a, arguments);
56
56
  };
57
57
 
58
58
  var objectPropertyIsEnumerable = {};
@@ -71,7 +71,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
71
71
  return !!descriptor && descriptor.enumerable;
72
72
  } : $propertyIsEnumerable;
73
73
 
74
- var createPropertyDescriptor$2 = function (bitmap, value) {
74
+ var createPropertyDescriptor$3 = function (bitmap, value) {
75
75
  return {
76
76
  enumerable: !(bitmap & 1),
77
77
  configurable: !(bitmap & 2),
@@ -83,39 +83,39 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
83
83
  var NATIVE_BIND$1 = functionBindNative;
84
84
 
85
85
  var FunctionPrototype$2 = Function.prototype;
86
- var call$8 = FunctionPrototype$2.call;
87
- var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$2.bind.bind(call$8, call$8);
86
+ var call$9 = FunctionPrototype$2.call;
87
+ var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$2.bind.bind(call$9, call$9);
88
88
 
89
89
  var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
90
90
  return function () {
91
- return call$8.apply(fn, arguments);
91
+ return call$9.apply(fn, arguments);
92
92
  };
93
93
  };
94
94
 
95
- var uncurryThis$g = functionUncurryThis;
95
+ var uncurryThis$h = functionUncurryThis;
96
96
 
97
- var toString$6 = uncurryThis$g({}.toString);
98
- var stringSlice$5 = uncurryThis$g(''.slice);
97
+ var toString$6 = uncurryThis$h({}.toString);
98
+ var stringSlice$5 = uncurryThis$h(''.slice);
99
99
 
100
100
  var classofRaw$2 = function (it) {
101
101
  return stringSlice$5(toString$6(it), 8, -1);
102
102
  };
103
103
 
104
- var uncurryThis$f = functionUncurryThis;
105
- var fails$d = fails$g;
104
+ var uncurryThis$g = functionUncurryThis;
105
+ var fails$f = fails$i;
106
106
  var classof$5 = classofRaw$2;
107
107
 
108
- var $Object$3 = Object;
109
- var split = uncurryThis$f(''.split);
108
+ var $Object$4 = Object;
109
+ var split = uncurryThis$g(''.split);
110
110
 
111
111
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
112
- var indexedObject = fails$d(function () {
112
+ var indexedObject = fails$f(function () {
113
113
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
114
114
  // eslint-disable-next-line no-prototype-builtins -- safe
115
- return !$Object$3('z').propertyIsEnumerable(0);
115
+ return !$Object$4('z').propertyIsEnumerable(0);
116
116
  }) ? function (it) {
117
- return classof$5(it) === 'String' ? split(it, '') : $Object$3(it);
118
- } : $Object$3;
117
+ return classof$5(it) === 'String' ? split(it, '') : $Object$4(it);
118
+ } : $Object$4;
119
119
 
120
120
  // we can't use just `it == null` since of `document.all` special case
121
121
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
@@ -125,12 +125,12 @@ var isNullOrUndefined$3 = function (it) {
125
125
 
126
126
  var isNullOrUndefined$2 = isNullOrUndefined$3;
127
127
 
128
- var $TypeError$8 = TypeError;
128
+ var $TypeError$9 = 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$8("Can't call method on " + it);
133
+ if (isNullOrUndefined$2(it)) throw new $TypeError$9("Can't call method on " + it);
134
134
  return it;
135
135
  };
136
136
 
@@ -138,66 +138,50 @@ var requireObjectCoercible$5 = function (it) {
138
138
  var IndexedObject$2 = indexedObject;
139
139
  var requireObjectCoercible$4 = requireObjectCoercible$5;
140
140
 
141
- var toIndexedObject$4 = function (it) {
141
+ var toIndexedObject$5 = function (it) {
142
142
  return IndexedObject$2(requireObjectCoercible$4(it));
143
143
  };
144
144
 
145
- var documentAll$2 = typeof document == 'object' && document.all;
146
-
147
145
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
148
- // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
149
- var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
150
-
151
- var documentAll_1 = {
152
- all: documentAll$2,
153
- IS_HTMLDDA: IS_HTMLDDA
154
- };
155
-
156
- var $documentAll$1 = documentAll_1;
157
-
158
- var documentAll$1 = $documentAll$1.all;
146
+ var documentAll = typeof document == 'object' && document.all;
159
147
 
160
148
  // `IsCallable` abstract operation
161
149
  // https://tc39.es/ecma262/#sec-iscallable
162
- var isCallable$d = $documentAll$1.IS_HTMLDDA ? function (argument) {
163
- return typeof argument == 'function' || argument === documentAll$1;
150
+ // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
151
+ var isCallable$g = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
152
+ return typeof argument == 'function' || argument === documentAll;
164
153
  } : function (argument) {
165
154
  return typeof argument == 'function';
166
155
  };
167
156
 
168
- var isCallable$c = isCallable$d;
169
- var $documentAll = documentAll_1;
157
+ var isCallable$f = isCallable$g;
170
158
 
171
- var documentAll = $documentAll.all;
172
-
173
- var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) {
174
- return typeof it == 'object' ? it !== null : isCallable$c(it) || it === documentAll;
175
- } : function (it) {
176
- return typeof it == 'object' ? it !== null : isCallable$c(it);
159
+ var isObject$8 = function (it) {
160
+ return typeof it == 'object' ? it !== null : isCallable$f(it);
177
161
  };
178
162
 
179
- var global$e = global$f;
180
- var isCallable$b = isCallable$d;
163
+ var global$f = global$g;
164
+ var isCallable$e = isCallable$g;
181
165
 
182
166
  var aFunction = function (argument) {
183
- return isCallable$b(argument) ? argument : undefined;
167
+ return isCallable$e(argument) ? argument : undefined;
184
168
  };
185
169
 
186
170
  var getBuiltIn$3 = function (namespace, method) {
187
- return arguments.length < 2 ? aFunction(global$e[namespace]) : global$e[namespace] && global$e[namespace][method];
171
+ return arguments.length < 2 ? aFunction(global$f[namespace]) : global$f[namespace] && global$f[namespace][method];
188
172
  };
189
173
 
190
- var uncurryThis$e = functionUncurryThis;
174
+ var uncurryThis$f = functionUncurryThis;
191
175
 
192
- var objectIsPrototypeOf = uncurryThis$e({}.isPrototypeOf);
176
+ var objectIsPrototypeOf = uncurryThis$f({}.isPrototypeOf);
193
177
 
194
178
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
195
179
 
196
- var global$d = global$f;
180
+ var global$e = global$g;
197
181
  var userAgent = engineUserAgent;
198
182
 
199
- var process = global$d.process;
200
- var Deno = global$d.Deno;
183
+ var process = global$e.process;
184
+ var Deno = global$e.Deno;
201
185
  var versions = process && process.versions || Deno && Deno.version;
202
186
  var v8 = versions && versions.v8;
203
187
  var match, version;
@@ -223,19 +207,19 @@ var engineV8Version = version;
223
207
 
224
208
  /* eslint-disable es/no-symbol -- required for testing */
225
209
  var V8_VERSION = engineV8Version;
226
- var fails$c = fails$g;
227
- var global$c = global$f;
210
+ var fails$e = fails$i;
211
+ var global$d = global$g;
228
212
 
229
- var $String$4 = global$c.String;
213
+ var $String$5 = global$d.String;
230
214
 
231
215
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
232
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$c(function () {
216
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$e(function () {
233
217
  var symbol = Symbol('symbol detection');
234
218
  // Chrome 38 Symbol has incorrect toString conversion
235
219
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
236
220
  // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
237
221
  // of course, fail.
238
- return !$String$4(symbol) || !(Object(symbol) instanceof Symbol) ||
222
+ return !$String$5(symbol) || !(Object(symbol) instanceof Symbol) ||
239
223
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
240
224
  !Symbol.sham && V8_VERSION && V8_VERSION < 41;
241
225
  });
@@ -248,86 +232,86 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
248
232
  && typeof Symbol.iterator == 'symbol';
249
233
 
250
234
  var getBuiltIn$2 = getBuiltIn$3;
251
- var isCallable$a = isCallable$d;
235
+ var isCallable$d = isCallable$g;
252
236
  var isPrototypeOf = objectIsPrototypeOf;
253
237
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
254
238
 
255
- var $Object$2 = Object;
239
+ var $Object$3 = Object;
256
240
 
257
241
  var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
258
242
  return typeof it == 'symbol';
259
243
  } : function (it) {
260
244
  var $Symbol = getBuiltIn$2('Symbol');
261
- return isCallable$a($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
245
+ return isCallable$d($Symbol) && isPrototypeOf($Symbol.prototype, $Object$3(it));
262
246
  };
263
247
 
264
- var $String$3 = String;
248
+ var $String$4 = String;
265
249
 
266
250
  var tryToString$1 = function (argument) {
267
251
  try {
268
- return $String$3(argument);
252
+ return $String$4(argument);
269
253
  } catch (error) {
270
254
  return 'Object';
271
255
  }
272
256
  };
273
257
 
274
- var isCallable$9 = isCallable$d;
258
+ var isCallable$c = isCallable$g;
275
259
  var tryToString = tryToString$1;
276
260
 
277
- var $TypeError$7 = TypeError;
261
+ var $TypeError$8 = TypeError;
278
262
 
279
263
  // `Assert: IsCallable(argument) is true`
280
- var aCallable$2 = function (argument) {
281
- if (isCallable$9(argument)) return argument;
282
- throw new $TypeError$7(tryToString(argument) + ' is not a function');
264
+ var aCallable$3 = function (argument) {
265
+ if (isCallable$c(argument)) return argument;
266
+ throw new $TypeError$8(tryToString(argument) + ' is not a function');
283
267
  };
284
268
 
285
- var aCallable$1 = aCallable$2;
269
+ var aCallable$2 = aCallable$3;
286
270
  var isNullOrUndefined$1 = isNullOrUndefined$3;
287
271
 
288
272
  // `GetMethod` abstract operation
289
273
  // https://tc39.es/ecma262/#sec-getmethod
290
274
  var getMethod$2 = function (V, P) {
291
275
  var func = V[P];
292
- return isNullOrUndefined$1(func) ? undefined : aCallable$1(func);
276
+ return isNullOrUndefined$1(func) ? undefined : aCallable$2(func);
293
277
  };
294
278
 
295
- var call$7 = functionCall;
296
- var isCallable$8 = isCallable$d;
297
- var isObject$5 = isObject$6;
279
+ var call$8 = functionCall;
280
+ var isCallable$b = isCallable$g;
281
+ var isObject$7 = isObject$8;
298
282
 
299
- var $TypeError$6 = TypeError;
283
+ var $TypeError$7 = TypeError;
300
284
 
301
285
  // `OrdinaryToPrimitive` abstract operation
302
286
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
303
287
  var ordinaryToPrimitive$1 = function (input, pref) {
304
288
  var fn, val;
305
- if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$5(val = call$7(fn, input))) return val;
306
- if (isCallable$8(fn = input.valueOf) && !isObject$5(val = call$7(fn, input))) return val;
307
- if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$5(val = call$7(fn, input))) return val;
308
- throw new $TypeError$6("Can't convert object to primitive value");
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");
309
293
  };
310
294
 
311
295
  var shared$4 = {exports: {}};
312
296
 
313
- var global$b = global$f;
297
+ var global$c = global$g;
314
298
 
315
299
  // eslint-disable-next-line es/no-object-defineproperty -- safe
316
- var defineProperty$3 = Object.defineProperty;
300
+ var defineProperty$5 = Object.defineProperty;
317
301
 
318
302
  var defineGlobalProperty$3 = function (key, value) {
319
303
  try {
320
- defineProperty$3(global$b, key, { value: value, configurable: true, writable: true });
304
+ defineProperty$5(global$c, key, { value: value, configurable: true, writable: true });
321
305
  } catch (error) {
322
- global$b[key] = value;
306
+ global$c[key] = value;
323
307
  } return value;
324
308
  };
325
309
 
326
- var global$a = global$f;
310
+ var global$b = global$g;
327
311
  var defineGlobalProperty$2 = defineGlobalProperty$3;
328
312
 
329
313
  var SHARED = '__core-js_shared__';
330
- var store$3 = global$a[SHARED] || defineGlobalProperty$2(SHARED, {});
314
+ var store$3 = global$b[SHARED] || defineGlobalProperty$2(SHARED, {});
331
315
 
332
316
  var sharedStore = store$3;
333
317
 
@@ -336,85 +320,85 @@ var store$2 = sharedStore;
336
320
  (shared$4.exports = function (key, value) {
337
321
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
338
322
  })('versions', []).push({
339
- version: '3.34.0',
323
+ version: '3.35.0',
340
324
  mode: 'global',
341
325
  copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
342
- license: 'https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE',
326
+ license: 'https://github.com/zloirock/core-js/blob/v3.35.0/LICENSE',
343
327
  source: 'https://github.com/zloirock/core-js'
344
328
  });
345
329
 
346
330
  var requireObjectCoercible$3 = requireObjectCoercible$5;
347
331
 
348
- var $Object$1 = Object;
332
+ var $Object$2 = Object;
349
333
 
350
334
  // `ToObject` abstract operation
351
335
  // https://tc39.es/ecma262/#sec-toobject
352
- var toObject$4 = function (argument) {
353
- return $Object$1(requireObjectCoercible$3(argument));
336
+ var toObject$5 = function (argument) {
337
+ return $Object$2(requireObjectCoercible$3(argument));
354
338
  };
355
339
 
356
- var uncurryThis$d = functionUncurryThis;
357
- var toObject$3 = toObject$4;
340
+ var uncurryThis$e = functionUncurryThis;
341
+ var toObject$4 = toObject$5;
358
342
 
359
- var hasOwnProperty = uncurryThis$d({}.hasOwnProperty);
343
+ var hasOwnProperty = uncurryThis$e({}.hasOwnProperty);
360
344
 
361
345
  // `HasOwnProperty` abstract operation
362
346
  // https://tc39.es/ecma262/#sec-hasownproperty
363
347
  // eslint-disable-next-line es/no-object-hasown -- safe
364
348
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
365
- return hasOwnProperty(toObject$3(it), key);
349
+ return hasOwnProperty(toObject$4(it), key);
366
350
  };
367
351
 
368
- var uncurryThis$c = functionUncurryThis;
352
+ var uncurryThis$d = functionUncurryThis;
369
353
 
370
354
  var id = 0;
371
355
  var postfix = Math.random();
372
- var toString$5 = uncurryThis$c(1.0.toString);
356
+ var toString$5 = uncurryThis$d(1.0.toString);
373
357
 
374
358
  var uid$2 = function (key) {
375
359
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id + postfix, 36);
376
360
  };
377
361
 
378
- var global$9 = global$f;
362
+ var global$a = global$g;
379
363
  var shared$3 = shared$4.exports;
380
- var hasOwn$6 = hasOwnProperty_1;
364
+ var hasOwn$8 = hasOwnProperty_1;
381
365
  var uid$1 = uid$2;
382
366
  var NATIVE_SYMBOL = symbolConstructorDetection;
383
367
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
384
368
 
385
- var Symbol$1 = global$9.Symbol;
369
+ var Symbol$1 = global$a.Symbol;
386
370
  var WellKnownSymbolsStore = shared$3('wks');
387
371
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
388
372
 
389
- var wellKnownSymbol$8 = function (name) {
390
- if (!hasOwn$6(WellKnownSymbolsStore, name)) {
391
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)
373
+ var wellKnownSymbol$c = function (name) {
374
+ if (!hasOwn$8(WellKnownSymbolsStore, name)) {
375
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)
392
376
  ? Symbol$1[name]
393
377
  : createWellKnownSymbol('Symbol.' + name);
394
378
  } return WellKnownSymbolsStore[name];
395
379
  };
396
380
 
397
- var call$6 = functionCall;
398
- var isObject$4 = isObject$6;
381
+ var call$7 = functionCall;
382
+ var isObject$6 = isObject$8;
399
383
  var isSymbol$1 = isSymbol$2;
400
384
  var getMethod$1 = getMethod$2;
401
385
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
402
- var wellKnownSymbol$7 = wellKnownSymbol$8;
386
+ var wellKnownSymbol$b = wellKnownSymbol$c;
403
387
 
404
- var $TypeError$5 = TypeError;
405
- var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
388
+ var $TypeError$6 = TypeError;
389
+ var TO_PRIMITIVE = wellKnownSymbol$b('toPrimitive');
406
390
 
407
391
  // `ToPrimitive` abstract operation
408
392
  // https://tc39.es/ecma262/#sec-toprimitive
409
393
  var toPrimitive$1 = function (input, pref) {
410
- if (!isObject$4(input) || isSymbol$1(input)) return input;
394
+ if (!isObject$6(input) || isSymbol$1(input)) return input;
411
395
  var exoticToPrim = getMethod$1(input, TO_PRIMITIVE);
412
396
  var result;
413
397
  if (exoticToPrim) {
414
398
  if (pref === undefined) pref = 'default';
415
- result = call$6(exoticToPrim, input, pref);
416
- if (!isObject$4(result) || isSymbol$1(result)) return result;
417
- throw new $TypeError$5("Can't convert object to primitive value");
399
+ result = call$7(exoticToPrim, input, pref);
400
+ if (!isObject$6(result) || isSymbol$1(result)) return result;
401
+ throw new $TypeError$6("Can't convert object to primitive value");
418
402
  }
419
403
  if (pref === undefined) pref = 'number';
420
404
  return ordinaryToPrimitive(input, pref);
@@ -430,36 +414,36 @@ var toPropertyKey$2 = function (argument) {
430
414
  return isSymbol(key) ? key : key + '';
431
415
  };
432
416
 
433
- var global$8 = global$f;
434
- var isObject$3 = isObject$6;
417
+ var global$9 = global$g;
418
+ var isObject$5 = isObject$8;
435
419
 
436
- var document$1 = global$8.document;
420
+ var document$1 = global$9.document;
437
421
  // typeof document.createElement is 'object' in old IE
438
- var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
422
+ var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);
439
423
 
440
- var documentCreateElement$1 = function (it) {
424
+ var documentCreateElement$2 = function (it) {
441
425
  return EXISTS$1 ? document$1.createElement(it) : {};
442
426
  };
443
427
 
444
- var DESCRIPTORS$8 = descriptors;
445
- var fails$b = fails$g;
446
- var createElement = documentCreateElement$1;
428
+ var DESCRIPTORS$9 = descriptors;
429
+ var fails$d = fails$i;
430
+ var createElement = documentCreateElement$2;
447
431
 
448
432
  // Thanks to IE8 for its funny defineProperty
449
- var ie8DomDefine = !DESCRIPTORS$8 && !fails$b(function () {
433
+ var ie8DomDefine = !DESCRIPTORS$9 && !fails$d(function () {
450
434
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
451
435
  return Object.defineProperty(createElement('div'), 'a', {
452
436
  get: function () { return 7; }
453
437
  }).a !== 7;
454
438
  });
455
439
 
456
- var DESCRIPTORS$7 = descriptors;
457
- var call$5 = functionCall;
440
+ var DESCRIPTORS$8 = descriptors;
441
+ var call$6 = functionCall;
458
442
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
459
- var createPropertyDescriptor$1 = createPropertyDescriptor$2;
460
- var toIndexedObject$3 = toIndexedObject$4;
443
+ var createPropertyDescriptor$2 = createPropertyDescriptor$3;
444
+ var toIndexedObject$4 = toIndexedObject$5;
461
445
  var toPropertyKey$1 = toPropertyKey$2;
462
- var hasOwn$5 = hasOwnProperty_1;
446
+ var hasOwn$7 = hasOwnProperty_1;
463
447
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
464
448
 
465
449
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -467,23 +451,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
467
451
 
468
452
  // `Object.getOwnPropertyDescriptor` method
469
453
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
470
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
471
- O = toIndexedObject$3(O);
454
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
455
+ O = toIndexedObject$4(O);
472
456
  P = toPropertyKey$1(P);
473
457
  if (IE8_DOM_DEFINE$1) try {
474
458
  return $getOwnPropertyDescriptor$1(O, P);
475
459
  } catch (error) { /* empty */ }
476
- if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$5(propertyIsEnumerableModule$1.f, O, P), O[P]);
460
+ if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$6(propertyIsEnumerableModule$1.f, O, P), O[P]);
477
461
  };
478
462
 
479
463
  var objectDefineProperty = {};
480
464
 
481
- var DESCRIPTORS$6 = descriptors;
482
- var fails$a = fails$g;
465
+ var DESCRIPTORS$7 = descriptors;
466
+ var fails$c = fails$i;
483
467
 
484
468
  // V8 ~ Chrome 36-
485
469
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
486
- var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$a(function () {
470
+ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$c(function () {
487
471
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
488
472
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
489
473
  value: 42,
@@ -491,24 +475,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$a(function () {
491
475
  }).prototype !== 42;
492
476
  });
493
477
 
494
- var isObject$2 = isObject$6;
478
+ var isObject$4 = isObject$8;
495
479
 
496
- var $String$2 = String;
497
- var $TypeError$4 = TypeError;
480
+ var $String$3 = String;
481
+ var $TypeError$5 = TypeError;
498
482
 
499
483
  // `Assert: Type(argument) is Object`
500
- var anObject$7 = function (argument) {
501
- if (isObject$2(argument)) return argument;
502
- throw new $TypeError$4($String$2(argument) + ' is not an object');
484
+ var anObject$8 = function (argument) {
485
+ if (isObject$4(argument)) return argument;
486
+ throw new $TypeError$5($String$3(argument) + ' is not an object');
503
487
  };
504
488
 
505
- var DESCRIPTORS$5 = descriptors;
489
+ var DESCRIPTORS$6 = descriptors;
506
490
  var IE8_DOM_DEFINE = ie8DomDefine;
507
491
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
508
- var anObject$6 = anObject$7;
492
+ var anObject$7 = anObject$8;
509
493
  var toPropertyKey = toPropertyKey$2;
510
494
 
511
- var $TypeError$3 = TypeError;
495
+ var $TypeError$4 = TypeError;
512
496
  // eslint-disable-next-line es/no-object-defineproperty -- safe
513
497
  var $defineProperty = Object.defineProperty;
514
498
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -519,10 +503,10 @@ var WRITABLE = 'writable';
519
503
 
520
504
  // `Object.defineProperty` method
521
505
  // https://tc39.es/ecma262/#sec-object.defineproperty
522
- objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
523
- anObject$6(O);
506
+ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
507
+ anObject$7(O);
524
508
  P = toPropertyKey(P);
525
- anObject$6(Attributes);
509
+ anObject$7(Attributes);
526
510
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
527
511
  var current = $getOwnPropertyDescriptor(O, P);
528
512
  if (current && current[WRITABLE]) {
@@ -535,23 +519,23 @@ objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
535
519
  }
536
520
  } return $defineProperty(O, P, Attributes);
537
521
  } : $defineProperty : function defineProperty(O, P, Attributes) {
538
- anObject$6(O);
522
+ anObject$7(O);
539
523
  P = toPropertyKey(P);
540
- anObject$6(Attributes);
524
+ anObject$7(Attributes);
541
525
  if (IE8_DOM_DEFINE) try {
542
526
  return $defineProperty(O, P, Attributes);
543
527
  } catch (error) { /* empty */ }
544
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$3('Accessors not supported');
528
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$4('Accessors not supported');
545
529
  if ('value' in Attributes) O[P] = Attributes.value;
546
530
  return O;
547
531
  };
548
532
 
549
- var DESCRIPTORS$4 = descriptors;
533
+ var DESCRIPTORS$5 = descriptors;
550
534
  var definePropertyModule$3 = objectDefineProperty;
551
- var createPropertyDescriptor = createPropertyDescriptor$2;
535
+ var createPropertyDescriptor$1 = createPropertyDescriptor$3;
552
536
 
553
- var createNonEnumerableProperty$3 = DESCRIPTORS$4 ? function (object, key, value) {
554
- return definePropertyModule$3.f(object, key, createPropertyDescriptor(1, value));
537
+ var createNonEnumerableProperty$5 = DESCRIPTORS$5 ? function (object, key, value) {
538
+ return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
555
539
  } : function (object, key, value) {
556
540
  object[key] = value;
557
541
  return object;
@@ -559,17 +543,17 @@ var createNonEnumerableProperty$3 = DESCRIPTORS$4 ? function (object, key, value
559
543
 
560
544
  var makeBuiltIn$2 = {exports: {}};
561
545
 
562
- var DESCRIPTORS$3 = descriptors;
563
- var hasOwn$4 = hasOwnProperty_1;
546
+ var DESCRIPTORS$4 = descriptors;
547
+ var hasOwn$6 = hasOwnProperty_1;
564
548
 
565
549
  var FunctionPrototype$1 = Function.prototype;
566
550
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
567
- var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;
551
+ var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
568
552
 
569
- var EXISTS = hasOwn$4(FunctionPrototype$1, 'name');
553
+ var EXISTS = hasOwn$6(FunctionPrototype$1, 'name');
570
554
  // additional protection from minified / mangled / dropped function names
571
555
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
572
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype$1, 'name').configurable));
556
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype$1, 'name').configurable));
573
557
 
574
558
  var functionName = {
575
559
  EXISTS: EXISTS,
@@ -577,14 +561,14 @@ var functionName = {
577
561
  CONFIGURABLE: CONFIGURABLE
578
562
  };
579
563
 
580
- var uncurryThis$b = functionUncurryThis;
581
- var isCallable$7 = isCallable$d;
564
+ var uncurryThis$c = functionUncurryThis;
565
+ var isCallable$a = isCallable$g;
582
566
  var store$1 = sharedStore;
583
567
 
584
- var functionToString = uncurryThis$b(Function.toString);
568
+ var functionToString = uncurryThis$c(Function.toString);
585
569
 
586
570
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
587
- if (!isCallable$7(store$1.inspectSource)) {
571
+ if (!isCallable$a(store$1.inspectSource)) {
588
572
  store$1.inspectSource = function (it) {
589
573
  return functionToString(it);
590
574
  };
@@ -592,36 +576,36 @@ if (!isCallable$7(store$1.inspectSource)) {
592
576
 
593
577
  var inspectSource$1 = store$1.inspectSource;
594
578
 
595
- var global$7 = global$f;
596
- var isCallable$6 = isCallable$d;
579
+ var global$8 = global$g;
580
+ var isCallable$9 = isCallable$g;
597
581
 
598
- var WeakMap$1 = global$7.WeakMap;
582
+ var WeakMap$1 = global$8.WeakMap;
599
583
 
600
- var weakMapBasicDetection = isCallable$6(WeakMap$1) && /native code/.test(String(WeakMap$1));
584
+ var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
601
585
 
602
586
  var shared$2 = shared$4.exports;
603
587
  var uid = uid$2;
604
588
 
605
589
  var keys = shared$2('keys');
606
590
 
607
- var sharedKey$2 = function (key) {
591
+ var sharedKey$3 = function (key) {
608
592
  return keys[key] || (keys[key] = uid(key));
609
593
  };
610
594
 
611
595
  var hiddenKeys$4 = {};
612
596
 
613
597
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
614
- var global$6 = global$f;
615
- var isObject$1 = isObject$6;
616
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
617
- var hasOwn$3 = hasOwnProperty_1;
598
+ var global$7 = global$g;
599
+ var isObject$3 = isObject$8;
600
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
601
+ var hasOwn$5 = hasOwnProperty_1;
618
602
  var shared$1 = sharedStore;
619
- var sharedKey$1 = sharedKey$2;
603
+ var sharedKey$2 = sharedKey$3;
620
604
  var hiddenKeys$3 = hiddenKeys$4;
621
605
 
622
606
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
623
- var TypeError$1 = global$6.TypeError;
624
- var WeakMap = global$6.WeakMap;
607
+ var TypeError$1 = global$7.TypeError;
608
+ var WeakMap = global$7.WeakMap;
625
609
  var set, get, has;
626
610
 
627
611
  var enforce = function (it) {
@@ -631,7 +615,7 @@ var enforce = function (it) {
631
615
  var getterFor = function (TYPE) {
632
616
  return function (it) {
633
617
  var state;
634
- if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
618
+ if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
635
619
  throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
636
620
  } return state;
637
621
  };
@@ -657,19 +641,19 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
657
641
  return store.has(it);
658
642
  };
659
643
  } else {
660
- var STATE = sharedKey$1('state');
644
+ var STATE = sharedKey$2('state');
661
645
  hiddenKeys$3[STATE] = true;
662
646
  set = function (it, metadata) {
663
- if (hasOwn$3(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
647
+ if (hasOwn$5(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
664
648
  metadata.facade = it;
665
- createNonEnumerableProperty$2(it, STATE, metadata);
649
+ createNonEnumerableProperty$4(it, STATE, metadata);
666
650
  return metadata;
667
651
  };
668
652
  get = function (it) {
669
- return hasOwn$3(it, STATE) ? it[STATE] : {};
653
+ return hasOwn$5(it, STATE) ? it[STATE] : {};
670
654
  };
671
655
  has = function (it) {
672
- return hasOwn$3(it, STATE);
656
+ return hasOwn$5(it, STATE);
673
657
  };
674
658
  }
675
659
 
@@ -681,51 +665,51 @@ var internalState = {
681
665
  getterFor: getterFor
682
666
  };
683
667
 
684
- var uncurryThis$a = functionUncurryThis;
685
- var fails$9 = fails$g;
686
- var isCallable$5 = isCallable$d;
687
- var hasOwn$2 = hasOwnProperty_1;
688
- var DESCRIPTORS$2 = descriptors;
689
- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
668
+ var uncurryThis$b = functionUncurryThis;
669
+ var fails$b = fails$i;
670
+ var isCallable$8 = isCallable$g;
671
+ var hasOwn$4 = hasOwnProperty_1;
672
+ var DESCRIPTORS$3 = descriptors;
673
+ var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
690
674
  var inspectSource = inspectSource$1;
691
- var InternalStateModule = internalState;
675
+ var InternalStateModule$1 = internalState;
692
676
 
693
- var enforceInternalState = InternalStateModule.enforce;
694
- var getInternalState$1 = InternalStateModule.get;
695
- var $String$1 = String;
677
+ var enforceInternalState = InternalStateModule$1.enforce;
678
+ var getInternalState$2 = InternalStateModule$1.get;
679
+ var $String$2 = String;
696
680
  // eslint-disable-next-line es/no-object-defineproperty -- safe
697
- var defineProperty$2 = Object.defineProperty;
698
- var stringSlice$4 = uncurryThis$a(''.slice);
699
- var replace$2 = uncurryThis$a(''.replace);
700
- var join = uncurryThis$a([].join);
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);
701
685
 
702
- var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$9(function () {
703
- return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
686
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$b(function () {
687
+ return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
704
688
  });
705
689
 
706
690
  var TEMPLATE = String(String).split('String');
707
691
 
708
692
  var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
709
- if (stringSlice$4($String$1(name), 0, 7) === 'Symbol(') {
710
- name = '[' + replace$2($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
693
+ if (stringSlice$4($String$2(name), 0, 7) === 'Symbol(') {
694
+ name = '[' + replace$2($String$2(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
711
695
  }
712
696
  if (options && options.getter) name = 'get ' + name;
713
697
  if (options && options.setter) name = 'set ' + name;
714
- if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
715
- if (DESCRIPTORS$2) defineProperty$2(value, 'name', { value: name, configurable: true });
698
+ if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
699
+ if (DESCRIPTORS$3) defineProperty$4(value, 'name', { value: name, configurable: true });
716
700
  else value.name = name;
717
701
  }
718
- if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
719
- defineProperty$2(value, 'length', { value: options.arity });
702
+ if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
703
+ defineProperty$4(value, 'length', { value: options.arity });
720
704
  }
721
705
  try {
722
- if (options && hasOwn$2(options, 'constructor') && options.constructor) {
723
- if (DESCRIPTORS$2) defineProperty$2(value, 'prototype', { writable: false });
706
+ if (options && hasOwn$4(options, 'constructor') && options.constructor) {
707
+ if (DESCRIPTORS$3) defineProperty$4(value, 'prototype', { writable: false });
724
708
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
725
709
  } else if (value.prototype) value.prototype = undefined;
726
710
  } catch (error) { /* empty */ }
727
711
  var state = enforceInternalState(value);
728
- if (!hasOwn$2(state, 'source')) {
712
+ if (!hasOwn$4(state, 'source')) {
729
713
  state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
730
714
  } return value;
731
715
  };
@@ -733,19 +717,19 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
733
717
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
734
718
  // eslint-disable-next-line no-extend-native -- required
735
719
  Function.prototype.toString = makeBuiltIn$1(function toString() {
736
- return isCallable$5(this) && getInternalState$1(this).source || inspectSource(this);
720
+ return isCallable$8(this) && getInternalState$2(this).source || inspectSource(this);
737
721
  }, 'toString');
738
722
 
739
- var isCallable$4 = isCallable$d;
723
+ var isCallable$7 = isCallable$g;
740
724
  var definePropertyModule$2 = objectDefineProperty;
741
725
  var makeBuiltIn = makeBuiltIn$2.exports;
742
726
  var defineGlobalProperty$1 = defineGlobalProperty$3;
743
727
 
744
- var defineBuiltIn$2 = function (O, key, value, options) {
728
+ var defineBuiltIn$4 = function (O, key, value, options) {
745
729
  if (!options) options = {};
746
730
  var simple = options.enumerable;
747
731
  var name = options.name !== undefined ? options.name : key;
748
- if (isCallable$4(value)) makeBuiltIn(value, name, options);
732
+ if (isCallable$7(value)) makeBuiltIn(value, name, options);
749
733
  if (options.global) {
750
734
  if (simple) O[key] = value;
751
735
  else defineGlobalProperty$1(key, value);
@@ -818,14 +802,14 @@ var lengthOfArrayLike$2 = function (obj) {
818
802
  return toLength$1(obj.length);
819
803
  };
820
804
 
821
- var toIndexedObject$2 = toIndexedObject$4;
805
+ var toIndexedObject$3 = toIndexedObject$5;
822
806
  var toAbsoluteIndex = toAbsoluteIndex$1;
823
807
  var lengthOfArrayLike$1 = lengthOfArrayLike$2;
824
808
 
825
809
  // `Array.prototype.{ indexOf, includes }` methods implementation
826
810
  var createMethod$2 = function (IS_INCLUDES) {
827
811
  return function ($this, el, fromIndex) {
828
- var O = toIndexedObject$2($this);
812
+ var O = toIndexedObject$3($this);
829
813
  var length = lengthOfArrayLike$1(O);
830
814
  var index = toAbsoluteIndex(fromIndex, length);
831
815
  var value;
@@ -851,22 +835,22 @@ var arrayIncludes = {
851
835
  indexOf: createMethod$2(false)
852
836
  };
853
837
 
854
- var uncurryThis$9 = functionUncurryThis;
855
- var hasOwn$1 = hasOwnProperty_1;
856
- var toIndexedObject$1 = toIndexedObject$4;
838
+ var uncurryThis$a = functionUncurryThis;
839
+ var hasOwn$3 = hasOwnProperty_1;
840
+ var toIndexedObject$2 = toIndexedObject$5;
857
841
  var indexOf$1 = arrayIncludes.indexOf;
858
842
  var hiddenKeys$2 = hiddenKeys$4;
859
843
 
860
- var push$1 = uncurryThis$9([].push);
844
+ var push$1 = uncurryThis$a([].push);
861
845
 
862
846
  var objectKeysInternal = function (object, names) {
863
- var O = toIndexedObject$1(object);
847
+ var O = toIndexedObject$2(object);
864
848
  var i = 0;
865
849
  var result = [];
866
850
  var key;
867
- for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push$1(result, key);
851
+ for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push$1(result, key);
868
852
  // Don't enum bug & hidden keys
869
- while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
853
+ while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
870
854
  ~indexOf$1(result, key) || push$1(result, key);
871
855
  }
872
856
  return result;
@@ -901,21 +885,21 @@ var objectGetOwnPropertySymbols = {};
901
885
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
902
886
 
903
887
  var getBuiltIn$1 = getBuiltIn$3;
904
- var uncurryThis$8 = functionUncurryThis;
888
+ var uncurryThis$9 = functionUncurryThis;
905
889
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
906
890
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
907
- var anObject$5 = anObject$7;
891
+ var anObject$6 = anObject$8;
908
892
 
909
- var concat$2 = uncurryThis$8([].concat);
893
+ var concat$2 = uncurryThis$9([].concat);
910
894
 
911
895
  // all object keys, includes non-enumerable and symbols
912
896
  var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
913
- var keys = getOwnPropertyNamesModule.f(anObject$5(it));
897
+ var keys = getOwnPropertyNamesModule.f(anObject$6(it));
914
898
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
915
899
  return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
916
900
  };
917
901
 
918
- var hasOwn = hasOwnProperty_1;
902
+ var hasOwn$2 = hasOwnProperty_1;
919
903
  var ownKeys = ownKeys$1;
920
904
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
921
905
  var definePropertyModule$1 = objectDefineProperty;
@@ -926,14 +910,14 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
926
910
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
927
911
  for (var i = 0; i < keys.length; i++) {
928
912
  var key = keys[i];
929
- if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
913
+ if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
930
914
  defineProperty(target, key, getOwnPropertyDescriptor(source, key));
931
915
  }
932
916
  }
933
917
  };
934
918
 
935
- var fails$8 = fails$g;
936
- var isCallable$3 = isCallable$d;
919
+ var fails$a = fails$i;
920
+ var isCallable$6 = isCallable$g;
937
921
 
938
922
  var replacement = /#|\.prototype\./;
939
923
 
@@ -941,7 +925,7 @@ var isForced$1 = function (feature, detection) {
941
925
  var value = data[normalize(feature)];
942
926
  return value === POLYFILL ? true
943
927
  : value === NATIVE ? false
944
- : isCallable$3(detection) ? fails$8(detection)
928
+ : isCallable$6(detection) ? fails$a(detection)
945
929
  : !!detection;
946
930
  };
947
931
 
@@ -955,10 +939,10 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
955
939
 
956
940
  var isForced_1 = isForced$1;
957
941
 
958
- var global$5 = global$f;
942
+ var global$6 = global$g;
959
943
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
960
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
961
- var defineBuiltIn$1 = defineBuiltIn$2;
944
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
945
+ var defineBuiltIn$3 = defineBuiltIn$4;
962
946
  var defineGlobalProperty = defineGlobalProperty$3;
963
947
  var copyConstructorProperties = copyConstructorProperties$1;
964
948
  var isForced = isForced_1;
@@ -984,11 +968,11 @@ var _export = function (options, source) {
984
968
  var STATIC = options.stat;
985
969
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
986
970
  if (GLOBAL) {
987
- target = global$5;
971
+ target = global$6;
988
972
  } else if (STATIC) {
989
- target = global$5[TARGET] || defineGlobalProperty(TARGET, {});
973
+ target = global$6[TARGET] || defineGlobalProperty(TARGET, {});
990
974
  } else {
991
- target = (global$5[TARGET] || {}).prototype;
975
+ target = (global$6[TARGET] || {}).prototype;
992
976
  }
993
977
  if (target) for (key in source) {
994
978
  sourceProperty = source[key];
@@ -1004,9 +988,9 @@ var _export = function (options, source) {
1004
988
  }
1005
989
  // add a flag to not completely full polyfills
1006
990
  if (options.sham || (targetProperty && targetProperty.sham)) {
1007
- createNonEnumerableProperty$1(sourceProperty, 'sham', true);
991
+ createNonEnumerableProperty$3(sourceProperty, 'sham', true);
1008
992
  }
1009
- defineBuiltIn$1(target, key, sourceProperty, options);
993
+ defineBuiltIn$3(target, key, sourceProperty, options);
1010
994
  }
1011
995
  };
1012
996
 
@@ -1022,19 +1006,19 @@ var objectKeys$2 = Object.keys || function keys(O) {
1022
1006
  return internalObjectKeys(O, enumBugKeys$1);
1023
1007
  };
1024
1008
 
1025
- var DESCRIPTORS$1 = descriptors;
1009
+ var DESCRIPTORS$2 = descriptors;
1026
1010
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1027
1011
  var definePropertyModule = objectDefineProperty;
1028
- var anObject$4 = anObject$7;
1029
- var toIndexedObject = toIndexedObject$4;
1012
+ var anObject$5 = anObject$8;
1013
+ var toIndexedObject$1 = toIndexedObject$5;
1030
1014
  var objectKeys$1 = objectKeys$2;
1031
1015
 
1032
1016
  // `Object.defineProperties` method
1033
1017
  // https://tc39.es/ecma262/#sec-object.defineproperties
1034
1018
  // eslint-disable-next-line es/no-object-defineproperties -- safe
1035
- objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1036
- anObject$4(O);
1037
- var props = toIndexedObject(Properties);
1019
+ objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1020
+ anObject$5(O);
1021
+ var props = toIndexedObject$1(Properties);
1038
1022
  var keys = objectKeys$1(Properties);
1039
1023
  var length = keys.length;
1040
1024
  var index = 0;
@@ -1048,19 +1032,19 @@ var getBuiltIn = getBuiltIn$3;
1048
1032
  var html$1 = getBuiltIn('document', 'documentElement');
1049
1033
 
1050
1034
  /* global ActiveXObject -- old IE, WSH */
1051
- var anObject$3 = anObject$7;
1035
+ var anObject$4 = anObject$8;
1052
1036
  var definePropertiesModule = objectDefineProperties;
1053
1037
  var enumBugKeys = enumBugKeys$3;
1054
1038
  var hiddenKeys = hiddenKeys$4;
1055
1039
  var html = html$1;
1056
- var documentCreateElement = documentCreateElement$1;
1057
- var sharedKey = sharedKey$2;
1040
+ var documentCreateElement$1 = documentCreateElement$2;
1041
+ var sharedKey$1 = sharedKey$3;
1058
1042
 
1059
1043
  var GT = '>';
1060
1044
  var LT = '<';
1061
1045
  var PROTOTYPE = 'prototype';
1062
1046
  var SCRIPT = 'script';
1063
- var IE_PROTO = sharedKey('IE_PROTO');
1047
+ var IE_PROTO$1 = sharedKey$1('IE_PROTO');
1064
1048
 
1065
1049
  var EmptyConstructor = function () { /* empty */ };
1066
1050
 
@@ -1080,7 +1064,7 @@ var NullProtoObjectViaActiveX = function (activeXDocument) {
1080
1064
  // Create object with fake `null` prototype: use iframe Object with cleared prototype
1081
1065
  var NullProtoObjectViaIFrame = function () {
1082
1066
  // Thrash, waste and sodomy: IE GC bug
1083
- var iframe = documentCreateElement('iframe');
1067
+ var iframe = documentCreateElement$1('iframe');
1084
1068
  var JS = 'java' + SCRIPT + ':';
1085
1069
  var iframeDocument;
1086
1070
  iframe.style.display = 'none';
@@ -1114,7 +1098,7 @@ var NullProtoObject = function () {
1114
1098
  return NullProtoObject();
1115
1099
  };
1116
1100
 
1117
- hiddenKeys[IE_PROTO] = true;
1101
+ hiddenKeys[IE_PROTO$1] = true;
1118
1102
 
1119
1103
  // `Object.create` method
1120
1104
  // https://tc39.es/ecma262/#sec-object.create
@@ -1122,97 +1106,97 @@ hiddenKeys[IE_PROTO] = true;
1122
1106
  var objectCreate = Object.create || function create(O, Properties) {
1123
1107
  var result;
1124
1108
  if (O !== null) {
1125
- EmptyConstructor[PROTOTYPE] = anObject$3(O);
1109
+ EmptyConstructor[PROTOTYPE] = anObject$4(O);
1126
1110
  result = new EmptyConstructor();
1127
1111
  EmptyConstructor[PROTOTYPE] = null;
1128
1112
  // add "__proto__" for Object.getPrototypeOf polyfill
1129
- result[IE_PROTO] = O;
1113
+ result[IE_PROTO$1] = O;
1130
1114
  } else result = NullProtoObject();
1131
1115
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1132
1116
  };
1133
1117
 
1134
- var wellKnownSymbol$6 = wellKnownSymbol$8;
1135
- var create$1 = objectCreate;
1136
- var defineProperty$1 = objectDefineProperty.f;
1118
+ var wellKnownSymbol$a = wellKnownSymbol$c;
1119
+ var create$2 = objectCreate;
1120
+ var defineProperty$3 = objectDefineProperty.f;
1137
1121
 
1138
- var UNSCOPABLES = wellKnownSymbol$6('unscopables');
1122
+ var UNSCOPABLES = wellKnownSymbol$a('unscopables');
1139
1123
  var ArrayPrototype = Array.prototype;
1140
1124
 
1141
1125
  // Array.prototype[@@unscopables]
1142
1126
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1143
1127
  if (ArrayPrototype[UNSCOPABLES] === undefined) {
1144
- defineProperty$1(ArrayPrototype, UNSCOPABLES, {
1128
+ defineProperty$3(ArrayPrototype, UNSCOPABLES, {
1145
1129
  configurable: true,
1146
- value: create$1(null)
1130
+ value: create$2(null)
1147
1131
  });
1148
1132
  }
1149
1133
 
1150
1134
  // add a key to Array.prototype[@@unscopables]
1151
- var addToUnscopables$1 = function (key) {
1135
+ var addToUnscopables$2 = function (key) {
1152
1136
  ArrayPrototype[UNSCOPABLES][key] = true;
1153
1137
  };
1154
1138
 
1155
- var $$4 = _export;
1139
+ var $$5 = _export;
1156
1140
  var $includes = arrayIncludes.includes;
1157
- var fails$7 = fails$g;
1158
- var addToUnscopables = addToUnscopables$1;
1141
+ var fails$9 = fails$i;
1142
+ var addToUnscopables$1 = addToUnscopables$2;
1159
1143
 
1160
1144
  // FF99+ bug
1161
- var BROKEN_ON_SPARSE = fails$7(function () {
1145
+ var BROKEN_ON_SPARSE = fails$9(function () {
1162
1146
  // eslint-disable-next-line es/no-array-prototype-includes -- detection
1163
1147
  return !Array(1).includes();
1164
1148
  });
1165
1149
 
1166
1150
  // `Array.prototype.includes` method
1167
1151
  // https://tc39.es/ecma262/#sec-array.prototype.includes
1168
- $$4({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1152
+ $$5({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1169
1153
  includes: function includes(el /* , fromIndex = 0 */) {
1170
1154
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
1171
1155
  }
1172
1156
  });
1173
1157
 
1174
1158
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1175
- addToUnscopables('includes');
1159
+ addToUnscopables$1('includes');
1176
1160
 
1177
- var isObject = isObject$6;
1161
+ var isObject$2 = isObject$8;
1178
1162
  var classof$4 = classofRaw$2;
1179
- var wellKnownSymbol$5 = wellKnownSymbol$8;
1163
+ var wellKnownSymbol$9 = wellKnownSymbol$c;
1180
1164
 
1181
- var MATCH$1 = wellKnownSymbol$5('match');
1165
+ var MATCH$1 = wellKnownSymbol$9('match');
1182
1166
 
1183
1167
  // `IsRegExp` abstract operation
1184
1168
  // https://tc39.es/ecma262/#sec-isregexp
1185
1169
  var isRegexp = function (it) {
1186
1170
  var isRegExp;
1187
- return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$4(it) === 'RegExp');
1171
+ return isObject$2(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$4(it) === 'RegExp');
1188
1172
  };
1189
1173
 
1190
1174
  var isRegExp = isRegexp;
1191
1175
 
1192
- var $TypeError$2 = TypeError;
1176
+ var $TypeError$3 = TypeError;
1193
1177
 
1194
1178
  var notARegexp = function (it) {
1195
1179
  if (isRegExp(it)) {
1196
- throw new $TypeError$2("The method doesn't accept regular expressions");
1180
+ throw new $TypeError$3("The method doesn't accept regular expressions");
1197
1181
  } return it;
1198
1182
  };
1199
1183
 
1200
- var wellKnownSymbol$4 = wellKnownSymbol$8;
1184
+ var wellKnownSymbol$8 = wellKnownSymbol$c;
1201
1185
 
1202
- var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag');
1186
+ var TO_STRING_TAG$2 = wellKnownSymbol$8('toStringTag');
1203
1187
  var test = {};
1204
1188
 
1205
- test[TO_STRING_TAG$1] = 'z';
1189
+ test[TO_STRING_TAG$2] = 'z';
1206
1190
 
1207
1191
  var toStringTagSupport = String(test) === '[object z]';
1208
1192
 
1209
1193
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1210
- var isCallable$2 = isCallable$d;
1194
+ var isCallable$5 = isCallable$g;
1211
1195
  var classofRaw$1 = classofRaw$2;
1212
- var wellKnownSymbol$3 = wellKnownSymbol$8;
1196
+ var wellKnownSymbol$7 = wellKnownSymbol$c;
1213
1197
 
1214
- var TO_STRING_TAG = wellKnownSymbol$3('toStringTag');
1215
- var $Object = Object;
1198
+ var TO_STRING_TAG$1 = wellKnownSymbol$7('toStringTag');
1199
+ var $Object$1 = Object;
1216
1200
 
1217
1201
  // ES3 wrong here
1218
1202
  var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
@@ -1229,25 +1213,25 @@ var classof$3 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
1229
1213
  var O, tag, result;
1230
1214
  return it === undefined ? 'Undefined' : it === null ? 'Null'
1231
1215
  // @@toStringTag case
1232
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
1216
+ : typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$1)) == 'string' ? tag
1233
1217
  // builtinTag case
1234
1218
  : CORRECT_ARGUMENTS ? classofRaw$1(O)
1235
1219
  // ES3 arguments fallback
1236
- : (result = classofRaw$1(O)) === 'Object' && isCallable$2(O.callee) ? 'Arguments' : result;
1220
+ : (result = classofRaw$1(O)) === 'Object' && isCallable$5(O.callee) ? 'Arguments' : result;
1237
1221
  };
1238
1222
 
1239
1223
  var classof$2 = classof$3;
1240
1224
 
1241
- var $String = String;
1225
+ var $String$1 = String;
1242
1226
 
1243
1227
  var toString$4 = function (argument) {
1244
1228
  if (classof$2(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1245
- return $String(argument);
1229
+ return $String$1(argument);
1246
1230
  };
1247
1231
 
1248
- var wellKnownSymbol$2 = wellKnownSymbol$8;
1232
+ var wellKnownSymbol$6 = wellKnownSymbol$c;
1249
1233
 
1250
- var MATCH = wellKnownSymbol$2('match');
1234
+ var MATCH = wellKnownSymbol$6('match');
1251
1235
 
1252
1236
  var correctIsRegexpLogic = function (METHOD_NAME) {
1253
1237
  var regexp = /./;
@@ -1261,18 +1245,18 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
1261
1245
  } return false;
1262
1246
  };
1263
1247
 
1264
- var $$3 = _export;
1265
- var uncurryThis$7 = functionUncurryThis;
1248
+ var $$4 = _export;
1249
+ var uncurryThis$8 = functionUncurryThis;
1266
1250
  var notARegExp = notARegexp;
1267
1251
  var requireObjectCoercible$2 = requireObjectCoercible$5;
1268
1252
  var toString$3 = toString$4;
1269
1253
  var correctIsRegExpLogic = correctIsRegexpLogic;
1270
1254
 
1271
- var stringIndexOf$1 = uncurryThis$7(''.indexOf);
1255
+ var stringIndexOf$1 = uncurryThis$8(''.indexOf);
1272
1256
 
1273
1257
  // `String.prototype.includes` method
1274
1258
  // https://tc39.es/ecma262/#sec-string.prototype.includes
1275
- $$3({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
1259
+ $$4({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
1276
1260
  includes: function includes(searchString /* , position = 0 */) {
1277
1261
  return !!~stringIndexOf$1(
1278
1262
  toString$3(requireObjectCoercible$2(this)),
@@ -1282,74 +1266,416 @@ $$3({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }
1282
1266
  }
1283
1267
  });
1284
1268
 
1285
- var DESCRIPTORS = descriptors;
1286
- var uncurryThis$6 = functionUncurryThis;
1287
- var call$4 = functionCall;
1288
- var fails$6 = fails$g;
1289
- var objectKeys = objectKeys$2;
1290
- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1291
- var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1292
- var toObject$2 = toObject$4;
1293
- var IndexedObject$1 = indexedObject;
1269
+ var iterators = {};
1294
1270
 
1295
- // eslint-disable-next-line es/no-object-assign -- safe
1296
- var $assign = Object.assign;
1297
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1298
- var defineProperty = Object.defineProperty;
1299
- var concat$1 = uncurryThis$6([].concat);
1271
+ var fails$8 = fails$i;
1300
1272
 
1301
- // `Object.assign` method
1302
- // https://tc39.es/ecma262/#sec-object.assign
1303
- var objectAssign = !$assign || fails$6(function () {
1304
- // should have correct order of operations (Edge bug)
1305
- if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1306
- enumerable: true,
1307
- get: function () {
1308
- defineProperty(this, 'b', {
1309
- value: 3,
1310
- enumerable: false
1311
- });
1273
+ var correctPrototypeGetter = !fails$8(function () {
1274
+ function F() { /* empty */ }
1275
+ F.prototype.constructor = null;
1276
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1277
+ return Object.getPrototypeOf(new F()) !== F.prototype;
1278
+ });
1279
+
1280
+ var hasOwn$1 = hasOwnProperty_1;
1281
+ var isCallable$4 = isCallable$g;
1282
+ var toObject$3 = toObject$5;
1283
+ var sharedKey = sharedKey$3;
1284
+ var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1285
+
1286
+ var IE_PROTO = sharedKey('IE_PROTO');
1287
+ var $Object = Object;
1288
+ var ObjectPrototype = $Object.prototype;
1289
+
1290
+ // `Object.getPrototypeOf` method
1291
+ // https://tc39.es/ecma262/#sec-object.getprototypeof
1292
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
1293
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
1294
+ var object = toObject$3(O);
1295
+ if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
1296
+ var constructor = object.constructor;
1297
+ if (isCallable$4(constructor) && object instanceof constructor) {
1298
+ return constructor.prototype;
1299
+ } return object instanceof $Object ? ObjectPrototype : null;
1300
+ };
1301
+
1302
+ var fails$7 = fails$i;
1303
+ var isCallable$3 = isCallable$g;
1304
+ var isObject$1 = isObject$8;
1305
+ var getPrototypeOf$1 = objectGetPrototypeOf;
1306
+ var defineBuiltIn$2 = defineBuiltIn$4;
1307
+ var wellKnownSymbol$5 = wellKnownSymbol$c;
1308
+
1309
+ var ITERATOR$2 = wellKnownSymbol$5('iterator');
1310
+ var BUGGY_SAFARI_ITERATORS$1 = false;
1311
+
1312
+ // `%IteratorPrototype%` object
1313
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
1314
+ var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
1315
+
1316
+ /* eslint-disable es/no-array-prototype-keys -- safe */
1317
+ if ([].keys) {
1318
+ arrayIterator = [].keys();
1319
+ // Safari 8 has buggy iterators w/o `next`
1320
+ if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
1321
+ else {
1322
+ PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
1323
+ if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
1324
+ }
1325
+ }
1326
+
1327
+ var NEW_ITERATOR_PROTOTYPE = !isObject$1(IteratorPrototype$2) || fails$7(function () {
1328
+ var test = {};
1329
+ // FF44- legacy iterators case
1330
+ return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
1331
+ });
1332
+
1333
+ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1334
+
1335
+ // `%IteratorPrototype%[@@iterator]()` method
1336
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1337
+ if (!isCallable$3(IteratorPrototype$2[ITERATOR$2])) {
1338
+ defineBuiltIn$2(IteratorPrototype$2, ITERATOR$2, function () {
1339
+ return this;
1340
+ });
1341
+ }
1342
+
1343
+ var iteratorsCore = {
1344
+ IteratorPrototype: IteratorPrototype$2,
1345
+ BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1346
+ };
1347
+
1348
+ var defineProperty$2 = objectDefineProperty.f;
1349
+ var hasOwn = hasOwnProperty_1;
1350
+ var wellKnownSymbol$4 = wellKnownSymbol$c;
1351
+
1352
+ var TO_STRING_TAG = wellKnownSymbol$4('toStringTag');
1353
+
1354
+ var setToStringTag$3 = function (target, TAG, STATIC) {
1355
+ if (target && !STATIC) target = target.prototype;
1356
+ if (target && !hasOwn(target, TO_STRING_TAG)) {
1357
+ defineProperty$2(target, TO_STRING_TAG, { configurable: true, value: TAG });
1358
+ }
1359
+ };
1360
+
1361
+ var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1362
+ var create$1 = objectCreate;
1363
+ var createPropertyDescriptor = createPropertyDescriptor$3;
1364
+ var setToStringTag$2 = setToStringTag$3;
1365
+ var Iterators$2 = iterators;
1366
+
1367
+ var returnThis$1 = function () { return this; };
1368
+
1369
+ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
1370
+ var TO_STRING_TAG = NAME + ' Iterator';
1371
+ IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
1372
+ setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
1373
+ Iterators$2[TO_STRING_TAG] = returnThis$1;
1374
+ return IteratorConstructor;
1375
+ };
1376
+
1377
+ var uncurryThis$7 = functionUncurryThis;
1378
+ var aCallable$1 = aCallable$3;
1379
+
1380
+ var functionUncurryThisAccessor = function (object, key, method) {
1381
+ try {
1382
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1383
+ return uncurryThis$7(aCallable$1(Object.getOwnPropertyDescriptor(object, key)[method]));
1384
+ } catch (error) { /* empty */ }
1385
+ };
1386
+
1387
+ var isObject = isObject$8;
1388
+
1389
+ var isPossiblePrototype$1 = function (argument) {
1390
+ return isObject(argument) || argument === null;
1391
+ };
1392
+
1393
+ var isPossiblePrototype = isPossiblePrototype$1;
1394
+
1395
+ var $String = String;
1396
+ var $TypeError$2 = TypeError;
1397
+
1398
+ var aPossiblePrototype$1 = function (argument) {
1399
+ if (isPossiblePrototype(argument)) return argument;
1400
+ throw new $TypeError$2("Can't set " + $String(argument) + ' as a prototype');
1401
+ };
1402
+
1403
+ /* eslint-disable no-proto -- safe */
1404
+ var uncurryThisAccessor = functionUncurryThisAccessor;
1405
+ var anObject$3 = anObject$8;
1406
+ var aPossiblePrototype = aPossiblePrototype$1;
1407
+
1408
+ // `Object.setPrototypeOf` method
1409
+ // https://tc39.es/ecma262/#sec-object.setprototypeof
1410
+ // Works with __proto__ only. Old v8 can't work with null proto objects.
1411
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
1412
+ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
1413
+ var CORRECT_SETTER = false;
1414
+ var test = {};
1415
+ var setter;
1416
+ try {
1417
+ setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
1418
+ setter(test, []);
1419
+ CORRECT_SETTER = test instanceof Array;
1420
+ } catch (error) { /* empty */ }
1421
+ return function setPrototypeOf(O, proto) {
1422
+ anObject$3(O);
1423
+ aPossiblePrototype(proto);
1424
+ if (CORRECT_SETTER) setter(O, proto);
1425
+ else O.__proto__ = proto;
1426
+ return O;
1427
+ };
1428
+ }() : undefined);
1429
+
1430
+ var $$3 = _export;
1431
+ var call$5 = functionCall;
1432
+ var FunctionName = functionName;
1433
+ var isCallable$2 = isCallable$g;
1434
+ var createIteratorConstructor = iteratorCreateConstructor;
1435
+ var getPrototypeOf = objectGetPrototypeOf;
1436
+ var setPrototypeOf = objectSetPrototypeOf;
1437
+ var setToStringTag$1 = setToStringTag$3;
1438
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
1439
+ var defineBuiltIn$1 = defineBuiltIn$4;
1440
+ var wellKnownSymbol$3 = wellKnownSymbol$c;
1441
+ var Iterators$1 = iterators;
1442
+ var IteratorsCore = iteratorsCore;
1443
+
1444
+ var PROPER_FUNCTION_NAME = FunctionName.PROPER;
1445
+ var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1446
+ var IteratorPrototype = IteratorsCore.IteratorPrototype;
1447
+ var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1448
+ var ITERATOR$1 = wellKnownSymbol$3('iterator');
1449
+ var KEYS = 'keys';
1450
+ var VALUES = 'values';
1451
+ var ENTRIES = 'entries';
1452
+
1453
+ var returnThis = function () { return this; };
1454
+
1455
+ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
1456
+ createIteratorConstructor(IteratorConstructor, NAME, next);
1457
+
1458
+ var getIterationMethod = function (KIND) {
1459
+ if (KIND === DEFAULT && defaultIterator) return defaultIterator;
1460
+ if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
1461
+
1462
+ switch (KIND) {
1463
+ case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
1464
+ case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
1465
+ case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
1312
1466
  }
1313
- }), { b: 2 })).b !== 1) return true;
1314
- // should work with symbols and should have deterministic property order (V8 bug)
1315
- var A = {};
1316
- var B = {};
1317
- // eslint-disable-next-line es/no-symbol -- safe
1318
- var symbol = Symbol('assign detection');
1319
- var alphabet = 'abcdefghijklmnopqrst';
1320
- A[symbol] = 7;
1321
- alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1322
- return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
1323
- }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1324
- var T = toObject$2(target);
1325
- var argumentsLength = arguments.length;
1326
- var index = 1;
1327
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1328
- var propertyIsEnumerable = propertyIsEnumerableModule.f;
1329
- while (argumentsLength > index) {
1330
- var S = IndexedObject$1(arguments[index++]);
1331
- var keys = getOwnPropertySymbols ? concat$1(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1332
- var length = keys.length;
1333
- var j = 0;
1334
- var key;
1335
- while (length > j) {
1336
- key = keys[j++];
1337
- if (!DESCRIPTORS || call$4(propertyIsEnumerable, S, key)) T[key] = S[key];
1467
+
1468
+ return function () { return new IteratorConstructor(this); };
1469
+ };
1470
+
1471
+ var TO_STRING_TAG = NAME + ' Iterator';
1472
+ var INCORRECT_VALUES_NAME = false;
1473
+ var IterablePrototype = Iterable.prototype;
1474
+ var nativeIterator = IterablePrototype[ITERATOR$1]
1475
+ || IterablePrototype['@@iterator']
1476
+ || DEFAULT && IterablePrototype[DEFAULT];
1477
+ var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
1478
+ var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
1479
+ var CurrentIteratorPrototype, methods, KEY;
1480
+
1481
+ // fix native
1482
+ if (anyNativeIterator) {
1483
+ CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
1484
+ if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
1485
+ if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
1486
+ if (setPrototypeOf) {
1487
+ setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
1488
+ } else if (!isCallable$2(CurrentIteratorPrototype[ITERATOR$1])) {
1489
+ defineBuiltIn$1(CurrentIteratorPrototype, ITERATOR$1, returnThis);
1490
+ }
1491
+ }
1492
+ // Set @@toStringTag to native iterators
1493
+ setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true);
1338
1494
  }
1339
- } return T;
1340
- } : $assign;
1495
+ }
1341
1496
 
1342
- var $$2 = _export;
1343
- var assign = objectAssign;
1497
+ // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
1498
+ if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1499
+ if (CONFIGURABLE_FUNCTION_NAME) {
1500
+ createNonEnumerableProperty$2(IterablePrototype, 'name', VALUES);
1501
+ } else {
1502
+ INCORRECT_VALUES_NAME = true;
1503
+ defaultIterator = function values() { return call$5(nativeIterator, this); };
1504
+ }
1505
+ }
1344
1506
 
1345
- // `Object.assign` method
1346
- // https://tc39.es/ecma262/#sec-object.assign
1347
- // eslint-disable-next-line es/no-object-assign -- required for testing
1348
- $$2({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1349
- assign: assign
1350
- });
1507
+ // export additional methods
1508
+ if (DEFAULT) {
1509
+ methods = {
1510
+ values: getIterationMethod(VALUES),
1511
+ keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
1512
+ entries: getIterationMethod(ENTRIES)
1513
+ };
1514
+ if (FORCED) for (KEY in methods) {
1515
+ if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1516
+ defineBuiltIn$1(IterablePrototype, KEY, methods[KEY]);
1517
+ }
1518
+ } else $$3({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1519
+ }
1520
+
1521
+ // define iterator
1522
+ if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
1523
+ defineBuiltIn$1(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
1524
+ }
1525
+ Iterators$1[NAME] = defaultIterator;
1526
+
1527
+ return methods;
1528
+ };
1529
+
1530
+ // `CreateIterResultObject` abstract operation
1531
+ // https://tc39.es/ecma262/#sec-createiterresultobject
1532
+ var createIterResultObject$1 = function (value, done) {
1533
+ return { value: value, done: done };
1534
+ };
1351
1535
 
1352
- var anObject$2 = anObject$7;
1536
+ var toIndexedObject = toIndexedObject$5;
1537
+ var addToUnscopables = addToUnscopables$2;
1538
+ var Iterators = iterators;
1539
+ var InternalStateModule = internalState;
1540
+ var defineProperty$1 = objectDefineProperty.f;
1541
+ var defineIterator = iteratorDefine;
1542
+ var createIterResultObject = createIterResultObject$1;
1543
+ var DESCRIPTORS$1 = descriptors;
1544
+
1545
+ var ARRAY_ITERATOR = 'Array Iterator';
1546
+ var setInternalState = InternalStateModule.set;
1547
+ var getInternalState$1 = InternalStateModule.getterFor(ARRAY_ITERATOR);
1548
+
1549
+ // `Array.prototype.entries` method
1550
+ // https://tc39.es/ecma262/#sec-array.prototype.entries
1551
+ // `Array.prototype.keys` method
1552
+ // https://tc39.es/ecma262/#sec-array.prototype.keys
1553
+ // `Array.prototype.values` method
1554
+ // https://tc39.es/ecma262/#sec-array.prototype.values
1555
+ // `Array.prototype[@@iterator]` method
1556
+ // https://tc39.es/ecma262/#sec-array.prototype-@@iterator
1557
+ // `CreateArrayIterator` internal method
1558
+ // https://tc39.es/ecma262/#sec-createarrayiterator
1559
+ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
1560
+ setInternalState(this, {
1561
+ type: ARRAY_ITERATOR,
1562
+ target: toIndexedObject(iterated), // target
1563
+ index: 0, // next index
1564
+ kind: kind // kind
1565
+ });
1566
+ // `%ArrayIteratorPrototype%.next` method
1567
+ // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
1568
+ }, function () {
1569
+ var state = getInternalState$1(this);
1570
+ var target = state.target;
1571
+ var index = state.index++;
1572
+ if (!target || index >= target.length) {
1573
+ state.target = undefined;
1574
+ return createIterResultObject(undefined, true);
1575
+ }
1576
+ switch (state.kind) {
1577
+ case 'keys': return createIterResultObject(index, false);
1578
+ case 'values': return createIterResultObject(target[index], false);
1579
+ } return createIterResultObject([index, target[index]], false);
1580
+ }, 'values');
1581
+
1582
+ // argumentsList[@@iterator] is %ArrayProto_values%
1583
+ // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
1584
+ // https://tc39.es/ecma262/#sec-createmappedargumentsobject
1585
+ var values = Iterators.Arguments = Iterators.Array;
1586
+
1587
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1588
+ addToUnscopables('keys');
1589
+ addToUnscopables('values');
1590
+ addToUnscopables('entries');
1591
+
1592
+ // V8 ~ Chrome 45- bug
1593
+ if (DESCRIPTORS$1 && values.name !== 'values') try {
1594
+ defineProperty$1(values, 'name', { value: 'values' });
1595
+ } catch (error) { /* empty */ }
1596
+
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
+ var anObject$2 = anObject$8;
1353
1679
 
1354
1680
  // `RegExp.prototype.flags` getter implementation
1355
1681
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
@@ -1367,13 +1693,13 @@ var regexpFlags$1 = function () {
1367
1693
  return result;
1368
1694
  };
1369
1695
 
1370
- var fails$5 = fails$g;
1371
- var global$4 = global$f;
1696
+ var fails$6 = fails$i;
1697
+ var global$4 = global$g;
1372
1698
 
1373
1699
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1374
1700
  var $RegExp$2 = global$4.RegExp;
1375
1701
 
1376
- var UNSUPPORTED_Y$1 = fails$5(function () {
1702
+ var UNSUPPORTED_Y$1 = fails$6(function () {
1377
1703
  var re = $RegExp$2('a', 'y');
1378
1704
  re.lastIndex = 2;
1379
1705
  return re.exec('abcd') !== null;
@@ -1381,11 +1707,11 @@ var UNSUPPORTED_Y$1 = fails$5(function () {
1381
1707
 
1382
1708
  // UC Browser bug
1383
1709
  // https://github.com/zloirock/core-js/issues/1008
1384
- var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$5(function () {
1710
+ var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$6(function () {
1385
1711
  return !$RegExp$2('a', 'y').sticky;
1386
1712
  });
1387
1713
 
1388
- var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$5(function () {
1714
+ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$6(function () {
1389
1715
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
1390
1716
  var re = $RegExp$2('^r', 'gy');
1391
1717
  re.lastIndex = 2;
@@ -1398,24 +1724,24 @@ var regexpStickyHelpers = {
1398
1724
  UNSUPPORTED_Y: UNSUPPORTED_Y$1
1399
1725
  };
1400
1726
 
1401
- var fails$4 = fails$g;
1402
- var global$3 = global$f;
1727
+ var fails$5 = fails$i;
1728
+ var global$3 = global$g;
1403
1729
 
1404
1730
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1405
1731
  var $RegExp$1 = global$3.RegExp;
1406
1732
 
1407
- var regexpUnsupportedDotAll = fails$4(function () {
1733
+ var regexpUnsupportedDotAll = fails$5(function () {
1408
1734
  var re = $RegExp$1('.', 's');
1409
1735
  return !(re.dotAll && re.test('\n') && re.flags === 's');
1410
1736
  });
1411
1737
 
1412
- var fails$3 = fails$g;
1413
- var global$2 = global$f;
1738
+ var fails$4 = fails$i;
1739
+ var global$2 = global$g;
1414
1740
 
1415
1741
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
1416
1742
  var $RegExp = global$2.RegExp;
1417
1743
 
1418
- var regexpUnsupportedNcg = fails$3(function () {
1744
+ var regexpUnsupportedNcg = fails$4(function () {
1419
1745
  var re = $RegExp('(?<a>b)', 'g');
1420
1746
  return re.exec('b').groups.a !== 'b' ||
1421
1747
  'b'.replace(re, '$<a>c') !== 'bc';
@@ -1423,8 +1749,8 @@ var regexpUnsupportedNcg = fails$3(function () {
1423
1749
 
1424
1750
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1425
1751
  /* eslint-disable regexp/no-useless-quantifier -- testing */
1426
- var call$3 = functionCall;
1427
- var uncurryThis$5 = functionUncurryThis;
1752
+ var call$4 = functionCall;
1753
+ var uncurryThis$6 = functionUncurryThis;
1428
1754
  var toString$2 = toString$4;
1429
1755
  var regexpFlags = regexpFlags$1;
1430
1756
  var stickyHelpers = regexpStickyHelpers;
@@ -1437,16 +1763,16 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
1437
1763
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
1438
1764
  var nativeExec = RegExp.prototype.exec;
1439
1765
  var patchedExec = nativeExec;
1440
- var charAt$3 = uncurryThis$5(''.charAt);
1441
- var indexOf = uncurryThis$5(''.indexOf);
1442
- var replace$1 = uncurryThis$5(''.replace);
1443
- var stringSlice$3 = uncurryThis$5(''.slice);
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);
1444
1770
 
1445
1771
  var UPDATES_LAST_INDEX_WRONG = (function () {
1446
1772
  var re1 = /a/;
1447
1773
  var re2 = /b*/g;
1448
- call$3(nativeExec, re1, 'a');
1449
- call$3(nativeExec, re2, 'a');
1774
+ call$4(nativeExec, re1, 'a');
1775
+ call$4(nativeExec, re2, 'a');
1450
1776
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
1451
1777
  })();
1452
1778
 
@@ -1467,14 +1793,14 @@ if (PATCH) {
1467
1793
 
1468
1794
  if (raw) {
1469
1795
  raw.lastIndex = re.lastIndex;
1470
- result = call$3(patchedExec, raw, str);
1796
+ result = call$4(patchedExec, raw, str);
1471
1797
  re.lastIndex = raw.lastIndex;
1472
1798
  return result;
1473
1799
  }
1474
1800
 
1475
1801
  var groups = state.groups;
1476
1802
  var sticky = UNSUPPORTED_Y && re.sticky;
1477
- var flags = call$3(regexpFlags, re);
1803
+ var flags = call$4(regexpFlags, re);
1478
1804
  var source = re.source;
1479
1805
  var charsAdded = 0;
1480
1806
  var strCopy = str;
@@ -1502,7 +1828,7 @@ if (PATCH) {
1502
1828
  }
1503
1829
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
1504
1830
 
1505
- match = call$3(nativeExec, sticky ? reCopy : re, strCopy);
1831
+ match = call$4(nativeExec, sticky ? reCopy : re, strCopy);
1506
1832
 
1507
1833
  if (sticky) {
1508
1834
  if (match) {
@@ -1517,7 +1843,7 @@ if (PATCH) {
1517
1843
  if (NPCG_INCLUDED && match && match.length > 1) {
1518
1844
  // Fix browsers whose `exec` methods don't consistently return `undefined`
1519
1845
  // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
1520
- call$3(nativeReplace, match[0], reCopy, function () {
1846
+ call$4(nativeReplace, match[0], reCopy, function () {
1521
1847
  for (i = 1; i < arguments.length - 2; i++) {
1522
1848
  if (arguments[i] === undefined) match[i] = undefined;
1523
1849
  }
@@ -1538,12 +1864,12 @@ if (PATCH) {
1538
1864
 
1539
1865
  var regexpExec$2 = patchedExec;
1540
1866
 
1541
- var $$1 = _export;
1867
+ var $$2 = _export;
1542
1868
  var exec = regexpExec$2;
1543
1869
 
1544
1870
  // `RegExp.prototype.exec` method
1545
1871
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
1546
- $$1({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
1872
+ $$2({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
1547
1873
  exec: exec
1548
1874
  });
1549
1875
 
@@ -1551,31 +1877,31 @@ var NATIVE_BIND = functionBindNative;
1551
1877
 
1552
1878
  var FunctionPrototype = Function.prototype;
1553
1879
  var apply$1 = FunctionPrototype.apply;
1554
- var call$2 = FunctionPrototype.call;
1880
+ var call$3 = FunctionPrototype.call;
1555
1881
 
1556
1882
  // eslint-disable-next-line es/no-reflect -- safe
1557
- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$2.bind(apply$1) : function () {
1558
- return call$2.apply(apply$1, arguments);
1883
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$3.bind(apply$1) : function () {
1884
+ return call$3.apply(apply$1, arguments);
1559
1885
  });
1560
1886
 
1561
1887
  var classofRaw = classofRaw$2;
1562
- var uncurryThis$4 = functionUncurryThis;
1888
+ var uncurryThis$5 = functionUncurryThis;
1563
1889
 
1564
1890
  var functionUncurryThisClause = function (fn) {
1565
1891
  // Nashorn bug:
1566
1892
  // https://github.com/zloirock/core-js/issues/1128
1567
1893
  // https://github.com/zloirock/core-js/issues/1130
1568
- if (classofRaw(fn) === 'Function') return uncurryThis$4(fn);
1894
+ if (classofRaw(fn) === 'Function') return uncurryThis$5(fn);
1569
1895
  };
1570
1896
 
1571
1897
  // TODO: Remove from `core-js@4` since it's moved to entry points
1572
1898
 
1573
- var uncurryThis$3 = functionUncurryThisClause;
1574
- var defineBuiltIn = defineBuiltIn$2;
1899
+ var uncurryThis$4 = functionUncurryThisClause;
1900
+ var defineBuiltIn = defineBuiltIn$4;
1575
1901
  var regexpExec$1 = regexpExec$2;
1576
- var fails$2 = fails$g;
1577
- var wellKnownSymbol$1 = wellKnownSymbol$8;
1578
- var createNonEnumerableProperty = createNonEnumerableProperty$3;
1902
+ var fails$3 = fails$i;
1903
+ var wellKnownSymbol$1 = wellKnownSymbol$c;
1904
+ var createNonEnumerableProperty = createNonEnumerableProperty$5;
1579
1905
 
1580
1906
  var SPECIES = wellKnownSymbol$1('species');
1581
1907
  var RegExpPrototype = RegExp.prototype;
@@ -1583,14 +1909,14 @@ var RegExpPrototype = RegExp.prototype;
1583
1909
  var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1584
1910
  var SYMBOL = wellKnownSymbol$1(KEY);
1585
1911
 
1586
- var DELEGATES_TO_SYMBOL = !fails$2(function () {
1912
+ var DELEGATES_TO_SYMBOL = !fails$3(function () {
1587
1913
  // String methods call symbol-named RegEp methods
1588
1914
  var O = {};
1589
1915
  O[SYMBOL] = function () { return 7; };
1590
1916
  return ''[KEY](O) !== 7;
1591
1917
  });
1592
1918
 
1593
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$2(function () {
1919
+ var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$3(function () {
1594
1920
  // Symbol-named RegExp methods call .exec
1595
1921
  var execCalled = false;
1596
1922
  var re = /a/;
@@ -1622,9 +1948,9 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1622
1948
  !DELEGATES_TO_EXEC ||
1623
1949
  FORCED
1624
1950
  ) {
1625
- var uncurriedNativeRegExpMethod = uncurryThis$3(/./[SYMBOL]);
1951
+ var uncurriedNativeRegExpMethod = uncurryThis$4(/./[SYMBOL]);
1626
1952
  var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
1627
- var uncurriedNativeMethod = uncurryThis$3(nativeMethod);
1953
+ var uncurriedNativeMethod = uncurryThis$4(nativeMethod);
1628
1954
  var $exec = regexp.exec;
1629
1955
  if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
1630
1956
  if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
@@ -1645,14 +1971,14 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1645
1971
  if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
1646
1972
  };
1647
1973
 
1648
- var uncurryThis$2 = functionUncurryThis;
1974
+ var uncurryThis$3 = functionUncurryThis;
1649
1975
  var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
1650
1976
  var toString$1 = toString$4;
1651
1977
  var requireObjectCoercible$1 = requireObjectCoercible$5;
1652
1978
 
1653
- var charAt$2 = uncurryThis$2(''.charAt);
1654
- var charCodeAt = uncurryThis$2(''.charCodeAt);
1655
- var stringSlice$2 = uncurryThis$2(''.slice);
1979
+ var charAt$2 = uncurryThis$3(''.charAt);
1980
+ var charCodeAt = uncurryThis$3(''.charCodeAt);
1981
+ var stringSlice$2 = uncurryThis$3(''.slice);
1656
1982
 
1657
1983
  var createMethod$1 = function (CONVERT_TO_STRING) {
1658
1984
  return function ($this, pos) {
@@ -1690,13 +2016,13 @@ var advanceStringIndex$1 = function (S, index, unicode) {
1690
2016
  return index + (unicode ? charAt$1(S, index).length : 1);
1691
2017
  };
1692
2018
 
1693
- var uncurryThis$1 = functionUncurryThis;
1694
- var toObject$1 = toObject$4;
2019
+ var uncurryThis$2 = functionUncurryThis;
2020
+ var toObject$2 = toObject$5;
1695
2021
 
1696
2022
  var floor = Math.floor;
1697
- var charAt = uncurryThis$1(''.charAt);
1698
- var replace = uncurryThis$1(''.replace);
1699
- var stringSlice$1 = uncurryThis$1(''.slice);
2023
+ var charAt = uncurryThis$2(''.charAt);
2024
+ var replace = uncurryThis$2(''.replace);
2025
+ var stringSlice$1 = uncurryThis$2(''.slice);
1700
2026
  // eslint-disable-next-line redos/no-vulnerable -- safe
1701
2027
  var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
1702
2028
  var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
@@ -1708,7 +2034,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
1708
2034
  var m = captures.length;
1709
2035
  var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
1710
2036
  if (namedCaptures !== undefined) {
1711
- namedCaptures = toObject$1(namedCaptures);
2037
+ namedCaptures = toObject$2(namedCaptures);
1712
2038
  symbols = SUBSTITUTION_SYMBOLS;
1713
2039
  }
1714
2040
  return replace(replacement, symbols, function (match, ch) {
@@ -1736,9 +2062,9 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
1736
2062
  });
1737
2063
  };
1738
2064
 
1739
- var call$1 = functionCall;
1740
- var anObject$1 = anObject$7;
1741
- var isCallable$1 = isCallable$d;
2065
+ var call$2 = functionCall;
2066
+ var anObject$1 = anObject$8;
2067
+ var isCallable$1 = isCallable$g;
1742
2068
  var classof$1 = classofRaw$2;
1743
2069
  var regexpExec = regexpExec$2;
1744
2070
 
@@ -1749,21 +2075,21 @@ var $TypeError$1 = TypeError;
1749
2075
  var regexpExecAbstract = function (R, S) {
1750
2076
  var exec = R.exec;
1751
2077
  if (isCallable$1(exec)) {
1752
- var result = call$1(exec, R, S);
2078
+ var result = call$2(exec, R, S);
1753
2079
  if (result !== null) anObject$1(result);
1754
2080
  return result;
1755
2081
  }
1756
- if (classof$1(R) === 'RegExp') return call$1(regexpExec, R, S);
2082
+ if (classof$1(R) === 'RegExp') return call$2(regexpExec, R, S);
1757
2083
  throw new $TypeError$1('RegExp#exec called on incompatible receiver');
1758
2084
  };
1759
2085
 
1760
2086
  var apply = functionApply;
1761
- var call = functionCall;
1762
- var uncurryThis = functionUncurryThis;
2087
+ var call$1 = functionCall;
2088
+ var uncurryThis$1 = functionUncurryThis;
1763
2089
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
1764
- var fails$1 = fails$g;
1765
- var anObject = anObject$7;
1766
- var isCallable = isCallable$d;
2090
+ var fails$2 = fails$i;
2091
+ var anObject = anObject$8;
2092
+ var isCallable = isCallable$g;
1767
2093
  var isNullOrUndefined = isNullOrUndefined$3;
1768
2094
  var toIntegerOrInfinity = toIntegerOrInfinity$4;
1769
2095
  var toLength = toLength$2;
@@ -1773,15 +2099,15 @@ var advanceStringIndex = advanceStringIndex$1;
1773
2099
  var getMethod = getMethod$2;
1774
2100
  var getSubstitution = getSubstitution$1;
1775
2101
  var regExpExec = regexpExecAbstract;
1776
- var wellKnownSymbol = wellKnownSymbol$8;
2102
+ var wellKnownSymbol = wellKnownSymbol$c;
1777
2103
 
1778
2104
  var REPLACE = wellKnownSymbol('replace');
1779
2105
  var max = Math.max;
1780
2106
  var min = Math.min;
1781
- var concat = uncurryThis([].concat);
1782
- var push = uncurryThis([].push);
1783
- var stringIndexOf = uncurryThis(''.indexOf);
1784
- var stringSlice = uncurryThis(''.slice);
2107
+ var concat$1 = uncurryThis$1([].concat);
2108
+ var push = uncurryThis$1([].push);
2109
+ var stringIndexOf = uncurryThis$1(''.indexOf);
2110
+ var stringSlice = uncurryThis$1(''.slice);
1785
2111
 
1786
2112
  var maybeToString = function (it) {
1787
2113
  return it === undefined ? it : String(it);
@@ -1802,7 +2128,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
1802
2128
  return false;
1803
2129
  })();
1804
2130
 
1805
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$1(function () {
2131
+ var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$2(function () {
1806
2132
  var re = /./;
1807
2133
  re.exec = function () {
1808
2134
  var result = [];
@@ -1824,8 +2150,8 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
1824
2150
  var O = requireObjectCoercible(this);
1825
2151
  var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);
1826
2152
  return replacer
1827
- ? call(replacer, searchValue, O, replaceValue)
1828
- : call(nativeReplace, toString(O), searchValue, replaceValue);
2153
+ ? call$1(replacer, searchValue, O, replaceValue)
2154
+ : call$1(nativeReplace, toString(O), searchValue, replaceValue);
1829
2155
  },
1830
2156
  // `RegExp.prototype[@@replace]` method
1831
2157
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
@@ -1882,7 +2208,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
1882
2208
  for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));
1883
2209
  var namedCaptures = result.groups;
1884
2210
  if (functionalReplace) {
1885
- var replacerArgs = concat([matched], captures, position, S);
2211
+ var replacerArgs = concat$1([matched], captures, position, S);
1886
2212
  if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
1887
2213
  replacement = toString(apply(replaceValue, undefined, replacerArgs));
1888
2214
  } else {
@@ -1899,9 +2225,9 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
1899
2225
  ];
1900
2226
  }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
1901
2227
 
1902
- var aCallable = aCallable$2;
1903
- var toObject = toObject$4;
1904
- var IndexedObject = indexedObject;
2228
+ var aCallable = aCallable$3;
2229
+ var toObject$1 = toObject$5;
2230
+ var IndexedObject$1 = indexedObject;
1905
2231
  var lengthOfArrayLike = lengthOfArrayLike$2;
1906
2232
 
1907
2233
  var $TypeError = TypeError;
@@ -1909,8 +2235,8 @@ var $TypeError = TypeError;
1909
2235
  // `Array.prototype.{ reduce, reduceRight }` methods implementation
1910
2236
  var createMethod = function (IS_RIGHT) {
1911
2237
  return function (that, callbackfn, argumentsLength, memo) {
1912
- var O = toObject(that);
1913
- var self = IndexedObject(O);
2238
+ var O = toObject$1(that);
2239
+ var self = IndexedObject$1(O);
1914
2240
  var length = lengthOfArrayLike(O);
1915
2241
  aCallable(callbackfn);
1916
2242
  var index = IS_RIGHT ? length - 1 : 0;
@@ -1942,22 +2268,22 @@ var arrayReduce = {
1942
2268
  right: createMethod(true)
1943
2269
  };
1944
2270
 
1945
- var fails = fails$g;
2271
+ var fails$1 = fails$i;
1946
2272
 
1947
2273
  var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
1948
2274
  var method = [][METHOD_NAME];
1949
- return !!method && fails(function () {
2275
+ return !!method && fails$1(function () {
1950
2276
  // eslint-disable-next-line no-useless-call -- required for testing
1951
2277
  method.call(null, argument || function () { return 1; }, 1);
1952
2278
  });
1953
2279
  };
1954
2280
 
1955
- var global$1 = global$f;
2281
+ var global$1 = global$g;
1956
2282
  var classof = classofRaw$2;
1957
2283
 
1958
2284
  var engineIsNode = classof(global$1.process) === 'process';
1959
2285
 
1960
- var $ = _export;
2286
+ var $$1 = _export;
1961
2287
  var $reduce = arrayReduce.left;
1962
2288
  var arrayMethodIsStrict = arrayMethodIsStrict$1;
1963
2289
  var CHROME_VERSION = engineV8Version;
@@ -1970,13 +2296,108 @@ var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');
1970
2296
 
1971
2297
  // `Array.prototype.reduce` method
1972
2298
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
1973
- $({ target: 'Array', proto: true, forced: FORCED }, {
2299
+ $$1({ target: 'Array', proto: true, forced: FORCED }, {
1974
2300
  reduce: function reduce(callbackfn /* , initialValue */) {
1975
2301
  var length = arguments.length;
1976
2302
  return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
1977
2303
  }
1978
2304
  });
1979
2305
 
2306
+ var DESCRIPTORS = descriptors;
2307
+ var uncurryThis = functionUncurryThis;
2308
+ var call = functionCall;
2309
+ var fails = fails$i;
2310
+ var objectKeys = objectKeys$2;
2311
+ var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
2312
+ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
2313
+ var toObject = toObject$5;
2314
+ var IndexedObject = indexedObject;
2315
+
2316
+ // eslint-disable-next-line es/no-object-assign -- safe
2317
+ var $assign = Object.assign;
2318
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
2319
+ var defineProperty = Object.defineProperty;
2320
+ var concat = uncurryThis([].concat);
2321
+
2322
+ // `Object.assign` method
2323
+ // https://tc39.es/ecma262/#sec-object.assign
2324
+ var objectAssign = !$assign || fails(function () {
2325
+ // should have correct order of operations (Edge bug)
2326
+ if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
2327
+ enumerable: true,
2328
+ get: function () {
2329
+ defineProperty(this, 'b', {
2330
+ value: 3,
2331
+ enumerable: false
2332
+ });
2333
+ }
2334
+ }), { b: 2 })).b !== 1) return true;
2335
+ // should work with symbols and should have deterministic property order (V8 bug)
2336
+ var A = {};
2337
+ var B = {};
2338
+ // eslint-disable-next-line es/no-symbol -- safe
2339
+ var symbol = Symbol('assign detection');
2340
+ var alphabet = 'abcdefghijklmnopqrst';
2341
+ A[symbol] = 7;
2342
+ alphabet.split('').forEach(function (chr) { B[chr] = chr; });
2343
+ return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
2344
+ }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
2345
+ var T = toObject(target);
2346
+ var argumentsLength = arguments.length;
2347
+ var index = 1;
2348
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
2349
+ var propertyIsEnumerable = propertyIsEnumerableModule.f;
2350
+ while (argumentsLength > index) {
2351
+ var S = IndexedObject(arguments[index++]);
2352
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
2353
+ var length = keys.length;
2354
+ var j = 0;
2355
+ var key;
2356
+ while (length > j) {
2357
+ key = keys[j++];
2358
+ if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
2359
+ }
2360
+ } return T;
2361
+ } : $assign;
2362
+
2363
+ var $ = _export;
2364
+ var assign = objectAssign;
2365
+
2366
+ // `Object.assign` method
2367
+ // https://tc39.es/ecma262/#sec-object.assign
2368
+ // eslint-disable-next-line es/no-object-assign -- required for testing
2369
+ $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
2370
+ assign: assign
2371
+ });
2372
+
2373
+ const widthClassMap = {
2374
+ 1: 'col-span-1',
2375
+ 2: 'col-span-2',
2376
+ 3: 'col-span-3',
2377
+ 4: 'col-span-4',
2378
+ 5: 'col-span-5',
2379
+ 6: 'col-span-6',
2380
+ 7: 'col-span-7',
2381
+ 8: 'col-span-8',
2382
+ 9: 'col-span-9',
2383
+ 10: 'col-span-10',
2384
+ 11: 'col-span-11',
2385
+ 12: 'col-span-12'
2386
+ };
2387
+ const statrClassMap = {
2388
+ 1: 'col-start-1',
2389
+ 2: 'col-start-2',
2390
+ 3: 'col-start-3',
2391
+ 4: 'col-start-4',
2392
+ 5: 'col-start-5',
2393
+ 6: 'col-start-6',
2394
+ 7: 'col-start-7',
2395
+ 8: 'col-start-8',
2396
+ 9: 'col-start-9',
2397
+ 10: 'col-start-10',
2398
+ 11: 'col-start-11',
2399
+ 12: 'col-start-12'
2400
+ };
1980
2401
  function getPageElementBound(rowsNodes) {
1981
2402
  if (!rowsNodes) {
1982
2403
  return [];
@@ -2030,9 +2451,9 @@ const getPageContainers = containers => {
2030
2451
  const contentlets = containers[container].contentlets;
2031
2452
  const contentletsKeys = Object.keys(contentlets);
2032
2453
  contentletsKeys.forEach(key => {
2033
- var _a;
2454
+ var _containers$container;
2034
2455
  acc.push({
2035
- identifier: (_a = containers[container].container.path) !== null && _a !== void 0 ? _a : containers[container].container.identifier,
2456
+ identifier: (_containers$container = containers[container].container.path) != null ? _containers$container : containers[container].container.identifier,
2036
2457
  uuid: key.replace('uuid-', ''),
2037
2458
  contentletsId: contentlets[key].map(contentlet => contentlet.identifier)
2038
2459
  });
@@ -2053,24 +2474,33 @@ const getContainersData = (containers, containerRef) => {
2053
2474
  // Get the contentlets for "this" container
2054
2475
  const contentlets = containers[identifier].contentlets[`uuid-${uuid}`];
2055
2476
  const pageContainers = getPageContainers(containers);
2056
- return Object.assign(Object.assign({}, containers[identifier].container), {
2477
+ return Object.assign({}, containers[identifier].container, {
2057
2478
  acceptTypes,
2058
2479
  contentlets,
2059
2480
  pageContainers
2060
2481
  });
2061
2482
  };
2483
+ const combineClasses = classes => classes.filter(Boolean).join(' ');
2484
+ const getPositionStyleClasses = (width, leftOffset) => {
2485
+ const widthClass = widthClassMap[width];
2486
+ const startClass = statrClassMap[leftOffset];
2487
+ return {
2488
+ widthClass,
2489
+ startClass
2490
+ };
2491
+ };
2062
2492
 
2063
- /**
2064
- * `usePageEditor` is a custom React hook that sets up the page editor for a DotCMS page.
2065
- * It takes a `PageEditorOptions` object as a parameter and returns a reference to the rows of the page.
2066
- *
2067
- * This hook is the main brigde between your webapp and the dotcms page editor.
2068
- *
2069
- *
2070
- * @category Hooks
2071
- * @param {PageEditorOptions} props - The options for the page editor. Includes a `reloadFunction` and a `pathname`.
2072
- * @returns {React.RefObject<HTMLDivElement>[]} - A reference to the rows of the page.
2073
- * @throws {Error} - Throws an error if the `pathname` is not provided.
2493
+ /**
2494
+ * `usePageEditor` is a custom React hook that sets up the page editor for a DotCMS page.
2495
+ * It takes a `PageEditorOptions` object as a parameter and returns a reference to the rows of the page.
2496
+ *
2497
+ * This hook is the main brigde between your webapp and the dotcms page editor.
2498
+ *
2499
+ *
2500
+ * @category Hooks
2501
+ * @param {PageEditorOptions} props - The options for the page editor. Includes a `reloadFunction` and a `pathname`.
2502
+ * @returns {{rowsRef: React.RefObject<HTMLDivElement>[], isInsideEditor: boolean}} - Returns a reference to the rows of the page and a boolean that indicates if the page is inside the editor.
2503
+ * @throws {Error} - Throws an error if the `pathname` is not provided.
2074
2504
  */
2075
2505
  const usePageEditor = props => {
2076
2506
  const {
@@ -2080,33 +2510,70 @@ const usePageEditor = props => {
2080
2510
  if (!pathname) {
2081
2511
  throw new Error('Dotcms page editor required the pathname of your webapp');
2082
2512
  }
2083
- usePostUrlToEditor(pathname);
2084
- useScrollEvent();
2085
- useReloadPage(reloadFunction);
2086
- const rowsRef = useRequestBounds();
2087
- return rowsRef;
2513
+ const {
2514
+ rowsRef,
2515
+ isInsideEditor
2516
+ } = useEventMessageHandler({
2517
+ reload: reloadFunction
2518
+ });
2519
+ usePostUrlToEditor(pathname, isInsideEditor);
2520
+ useScrollEvent(isInsideEditor);
2521
+ return {
2522
+ rowsRef,
2523
+ isInsideEditor
2524
+ };
2088
2525
  };
2089
- function useRequestBounds() {
2526
+ function useEventMessageHandler({
2527
+ reload = window.location.reload
2528
+ }) {
2090
2529
  const rows = useRef([]);
2530
+ const [isInsideEditor, setIsInsideEditor] = useState(false);
2531
+ useEffect(() => {
2532
+ // If the page is not inside an iframe we do nothing.
2533
+ if (window.parent === window) return;
2534
+ postMessageToEditor({
2535
+ action: CUSTOMER_ACTIONS.PING_EDITOR // This is to let the editor know that the page is ready
2536
+ });
2537
+ }, []);
2091
2538
  useEffect(() => {
2092
2539
  function eventMessageHandler(event) {
2093
- if (event.data === 'ema-request-bounds') {
2094
- const positionData = getPageElementBound(rows.current);
2095
- postMessageToEditor({
2096
- action: CUSTOMER_ACTIONS.SET_BOUNDS,
2097
- payload: positionData
2098
- });
2540
+ if (!isInsideEditor) {
2541
+ // Editor is telling us that we can set ourselves into edit mode
2542
+ if (event.data === 'ema-editor-pong') {
2543
+ setIsInsideEditor(true);
2544
+ }
2545
+ return;
2546
+ }
2547
+ switch (event.data) {
2548
+ case 'ema-request-bounds':
2549
+ {
2550
+ const positionData = getPageElementBound(rows.current);
2551
+ postMessageToEditor({
2552
+ action: CUSTOMER_ACTIONS.SET_BOUNDS,
2553
+ payload: positionData
2554
+ });
2555
+ break;
2556
+ }
2557
+ case 'ema-reload-page':
2558
+ {
2559
+ reload();
2560
+ break;
2561
+ }
2099
2562
  }
2100
2563
  }
2101
2564
  window.addEventListener('message', eventMessageHandler);
2102
2565
  return () => {
2103
2566
  window.removeEventListener('message', eventMessageHandler);
2104
2567
  };
2105
- }, [rows]);
2106
- return rows;
2568
+ }, [rows, reload, isInsideEditor]);
2569
+ return {
2570
+ rowsRef: rows,
2571
+ isInsideEditor
2572
+ };
2107
2573
  }
2108
- function useScrollEvent() {
2574
+ function useScrollEvent(isInsideEditor) {
2109
2575
  useEffect(() => {
2576
+ if (!isInsideEditor) return;
2110
2577
  function eventScrollHandler() {
2111
2578
  postMessageToEditor({
2112
2579
  action: CUSTOMER_ACTIONS.IFRAME_SCROLL
@@ -2116,52 +2583,39 @@ function useScrollEvent() {
2116
2583
  return () => {
2117
2584
  window.removeEventListener('scroll', eventScrollHandler);
2118
2585
  };
2119
- }, []);
2120
- }
2121
- function useReloadPage(reload = window.location.reload) {
2122
- useEffect(() => {
2123
- function eventMessageHandler(event) {
2124
- if (event.data === 'ema-reload-page') {
2125
- reload();
2126
- }
2127
- }
2128
- window.addEventListener('message', eventMessageHandler);
2129
- return () => {
2130
- window.removeEventListener('message', eventMessageHandler);
2131
- };
2132
- }, [reload]);
2586
+ }, [isInsideEditor]);
2133
2587
  }
2134
- function usePostUrlToEditor(pathname) {
2588
+ function usePostUrlToEditor(pathname, isInsideEditor) {
2135
2589
  useEffect(() => {
2590
+ if (!isInsideEditor) return;
2136
2591
  postMessageToEditor({
2137
2592
  action: CUSTOMER_ACTIONS.SET_URL,
2138
2593
  payload: {
2139
- url: pathname === '/' ? 'index' : pathname === null || pathname === void 0 ? void 0 : pathname.replace('/', '')
2594
+ url: pathname === '/' ? 'index' : pathname == null ? void 0 : pathname.replace('/', '')
2140
2595
  }
2141
2596
  });
2142
- }, [pathname]);
2597
+ }, [pathname, isInsideEditor]);
2143
2598
  }
2144
2599
 
2145
2600
  const PageContext = /*#__PURE__*/createContext(null);
2146
2601
 
2147
- /**
2148
- * `PageProvider` is a functional component that provides a context for a DotCMS page.
2149
- * It takes a `PageProviderProps` object as a parameter and returns a JSX element.
2150
- *
2151
- * @category Components
2152
- * @param {PageProviderProps} props - The properties for the PageProvider. Includes an `entity` and `children`.
2153
- * @returns {JSX.Element} - A JSX element that provides a context for a DotCMS page.
2602
+ /**
2603
+ * `PageProvider` is a functional component that provides a context for a DotCMS page.
2604
+ * It takes a `PageProviderProps` object as a parameter and returns a JSX element.
2605
+ *
2606
+ * @category Components
2607
+ * @param {PageProviderProps} props - The properties for the PageProvider. Includes an `entity` and `children`.
2608
+ * @returns {JSX.Element} - A JSX element that provides a context for a DotCMS page.
2154
2609
  */
2155
2610
  function PageProvider(props) {
2156
2611
  const {
2157
2612
  entity,
2158
2613
  children
2159
2614
  } = props;
2160
- return jsx(PageContext.Provider, Object.assign({
2161
- value: entity
2162
- }, {
2615
+ return jsx(PageContext.Provider, {
2616
+ value: entity,
2163
2617
  children: children
2164
- }));
2618
+ });
2165
2619
  }
2166
2620
 
2167
2621
  function styleInject(css, ref) {
@@ -2202,16 +2656,15 @@ styleInject(css_248z);
2202
2656
  function NoContent({
2203
2657
  contentType
2204
2658
  }) {
2205
- return jsxs("div", Object.assign({
2206
- "data-testid": "no-component"
2207
- }, {
2659
+ return jsxs("div", {
2660
+ "data-testid": "no-component",
2208
2661
  children: ["No Component for ", contentType]
2209
- }));
2662
+ });
2210
2663
  }
2211
2664
  function Container({
2212
2665
  containerRef
2213
2666
  }) {
2214
- var _a;
2667
+ var _viewAs$persona;
2215
2668
  const {
2216
2669
  identifier,
2217
2670
  uuid
@@ -2221,7 +2674,8 @@ function Container({
2221
2674
  containers,
2222
2675
  page,
2223
2676
  viewAs,
2224
- components
2677
+ components,
2678
+ isInsideEditor
2225
2679
  } = useContext(PageContext);
2226
2680
  const {
2227
2681
  acceptTypes,
@@ -2234,7 +2688,7 @@ function Container({
2234
2688
  const container = {
2235
2689
  acceptTypes,
2236
2690
  contentletsId,
2237
- identifier: path !== null && path !== void 0 ? path : identifier,
2691
+ identifier: path != null ? path : identifier,
2238
2692
  maxContentlets,
2239
2693
  uuid
2240
2694
  };
@@ -2243,10 +2697,10 @@ function Container({
2243
2697
  language_id: viewAs.language.id,
2244
2698
  pageContainers,
2245
2699
  pageId: page.identifier,
2246
- personaTag: (_a = viewAs.persona) === null || _a === void 0 ? void 0 : _a.keyTag
2700
+ personaTag: (_viewAs$persona = viewAs.persona) == null ? void 0 : _viewAs$persona.keyTag
2247
2701
  };
2248
2702
  function onPointerEnterHandler(e) {
2249
- var _a;
2703
+ var _target$dataset$conte;
2250
2704
  let target = e.target;
2251
2705
  if (target.dataset.dot !== 'contentlet') {
2252
2706
  target = target.closest('[data-dot="contentlet"]');
@@ -2260,7 +2714,7 @@ function Container({
2260
2714
  width,
2261
2715
  height
2262
2716
  } = target.getBoundingClientRect();
2263
- const contentletPayload = JSON.parse((_a = target.dataset.content) !== null && _a !== void 0 ? _a : '{}');
2717
+ const contentletPayload = JSON.parse((_target$dataset$conte = target.dataset.content) != null ? _target$dataset$conte : '{}');
2264
2718
  postMessageToEditor({
2265
2719
  action: CUSTOMER_ACTIONS.SET_CONTENTLET,
2266
2720
  payload: {
@@ -2272,139 +2726,129 @@ function Container({
2272
2726
  }
2273
2727
  });
2274
2728
  }
2275
- return jsx("div", Object.assign({
2729
+ const renderContentlets = contentlets.map(contentlet => {
2730
+ var _viewAs$persona2;
2731
+ const Component = components[contentlet.contentType] || NoContent;
2732
+ const contentletPayload = {
2733
+ container,
2734
+ contentlet: {
2735
+ identifier: contentlet.identifier,
2736
+ title: contentlet.widgetTitle || contentlet.title,
2737
+ inode: contentlet.inode
2738
+ },
2739
+ language_id: viewAs.language.id,
2740
+ pageContainers,
2741
+ pageId: page.identifier,
2742
+ personaTag: (_viewAs$persona2 = viewAs.persona) == null ? void 0 : _viewAs$persona2.keyTag
2743
+ };
2744
+ return isInsideEditor ? jsx("div", {
2745
+ onPointerEnter: onPointerEnterHandler,
2746
+ "data-dot": "contentlet",
2747
+ "data-content": JSON.stringify(contentletPayload),
2748
+ children: jsx(Component, Object.assign({}, contentlet))
2749
+ }, contentlet.identifier) : ( /*#__PURE__*/createElement$1(Component, Object.assign({}, contentlet, {
2750
+ key: contentlet.identifier
2751
+ })));
2752
+ });
2753
+ return isInsideEditor ? jsx("div", {
2276
2754
  "data-dot": "container",
2277
- "data-content": JSON.stringify(containerPayload)
2278
- }, {
2279
- children: contentlets.map(contentlet => {
2280
- var _a;
2281
- const Component = components[contentlet.contentType] || NoContent;
2282
- const contentletPayload = {
2283
- container,
2284
- contentlet: {
2285
- identifier: contentlet.identifier,
2286
- title: contentlet.widgetTitle || contentlet.title,
2287
- inode: contentlet.inode
2288
- },
2289
- language_id: viewAs.language.id,
2290
- pageContainers,
2291
- pageId: page.identifier,
2292
- personaTag: (_a = viewAs.persona) === null || _a === void 0 ? void 0 : _a.keyTag
2293
- };
2294
- return jsx("div", Object.assign({
2295
- onPointerEnter: onPointerEnterHandler,
2296
- "data-dot": "contentlet",
2297
- "data-content": JSON.stringify(contentletPayload)
2298
- }, {
2299
- children: jsx(Component, Object.assign({}, contentlet))
2300
- }), contentlet.identifier);
2301
- })
2302
- }));
2755
+ "data-content": JSON.stringify(containerPayload),
2756
+ children: renderContentlets
2757
+ }) :
2758
+ // eslint-disable-next-line react/jsx-no-useless-fragment
2759
+ jsx(Fragment, {
2760
+ children: renderContentlets
2761
+ });
2303
2762
  }
2304
2763
 
2305
2764
  function Column({
2306
2765
  column
2307
2766
  }) {
2308
- const widthClassMap = {
2309
- 1: 'col-span-1',
2310
- 2: 'col-span-2',
2311
- 3: 'col-span-3',
2312
- 4: 'col-span-4',
2313
- 5: 'col-span-5',
2314
- 6: 'col-span-6',
2315
- 7: 'col-span-7',
2316
- 8: 'col-span-8',
2317
- 9: 'col-span-9',
2318
- 10: 'col-span-10',
2319
- 11: 'col-span-11',
2320
- 12: 'col-span-12'
2321
- };
2322
- const statrClassMap = {
2323
- 1: 'col-start-1',
2324
- 2: 'col-start-2',
2325
- 3: 'col-start-3',
2326
- 4: 'col-start-4',
2327
- 5: 'col-start-5',
2328
- 6: 'col-start-6',
2329
- 7: 'col-start-7',
2330
- 8: 'col-start-8',
2331
- 9: 'col-start-9',
2332
- 10: 'col-start-10',
2333
- 11: 'col-start-11',
2334
- 12: 'col-start-12'
2335
- };
2336
- const widthClass = widthClassMap[column.width];
2337
- const startClass = statrClassMap[column.leftOffset];
2338
- const combinedClasses = [styles[widthClass], styles[startClass], column.styleClass].filter(Boolean).join(' ');
2339
- return jsx("div", Object.assign({
2340
- "data-dot": "column",
2341
- "data-testid": "column",
2342
- className: combinedClasses
2343
- }, {
2767
+ const {
2768
+ isInsideEditor
2769
+ } = useContext(PageContext);
2770
+ const {
2771
+ widthClass,
2772
+ startClass
2773
+ } = getPositionStyleClasses(column.width, column.leftOffset);
2774
+ const combinedClasses = combineClasses([styles[widthClass], styles[startClass], column.styleClass]);
2775
+ const columnProps = isInsideEditor ? {
2776
+ 'data-dot': 'column',
2777
+ 'data-testid': 'column'
2778
+ } : {};
2779
+ return jsx("div", Object.assign({}, columnProps, {
2780
+ className: combinedClasses,
2344
2781
  children: column.containers.map(container => jsx(Container, {
2345
2782
  containerRef: container
2346
2783
  }, `${container.identifier}-${container.uuid}`))
2347
2784
  }));
2348
2785
  }
2349
2786
 
2350
- /**
2351
- * Renders a row
2352
- *
2353
- * @category Components
2354
- * @param {React.ForwardedRef<HTMLDivElement, RowProps>} ref
2355
- * @return {*}
2787
+ /**
2788
+ * Renders a row
2789
+ *
2790
+ * @category Components
2791
+ * @param {React.ForwardedRef<HTMLDivElement, RowProps>} ref
2792
+ * @return {*}
2356
2793
  */
2357
2794
  const Row = /*#__PURE__*/forwardRef((props, ref) => {
2795
+ const {
2796
+ isInsideEditor
2797
+ } = useContext(PageContext);
2358
2798
  const {
2359
2799
  row
2360
2800
  } = props;
2361
- const combinedClasses = [styles$1.row, row.styleClass].filter(Boolean).join(' ');
2362
- return jsx("div", Object.assign({
2363
- "data-testid": "row",
2364
- "data-dot": "row",
2365
- ref: ref,
2366
- className: combinedClasses
2367
- }, {
2801
+ const combinedClasses = combineClasses([styles$1.row, row.styleClass]);
2802
+ const rowProps = isInsideEditor ? {
2803
+ 'data-dot': 'row',
2804
+ 'data-testid': 'row',
2805
+ ref
2806
+ } : {};
2807
+ return jsx("div", Object.assign({}, rowProps, {
2808
+ className: combinedClasses,
2368
2809
  children: row.columns.map((column, index) => jsx(Column, {
2369
2810
  column: column
2370
2811
  }, index))
2371
2812
  }));
2372
2813
  });
2373
2814
 
2374
- /**
2375
- * `DotcmsLayout` is a functional component that renders a layout for a DotCMS page.
2376
- * It takes a `DotcmsPageProps` object as a parameter and returns a JSX element.
2377
- *
2378
- * @category Components
2379
- * @param {DotcmsPageProps} props - The properties for the DotCMS page.
2380
- * @returns {JSX.Element} - A JSX element that represents the layout for a DotCMS page.
2815
+ /**
2816
+ * `DotcmsLayout` is a functional component that renders a layout for a DotCMS page.
2817
+ * It takes a `DotcmsPageProps` object as a parameter and returns a JSX element.
2818
+ *
2819
+ * @category Components
2820
+ * @param {DotcmsPageProps} props - The properties for the DotCMS page.
2821
+ * @returns {JSX.Element} - A JSX element that represents the layout for a DotCMS page.
2381
2822
  */
2382
2823
  function DotcmsLayout(props) {
2383
2824
  const {
2384
2825
  entity
2385
2826
  } = props;
2386
- const rowsRef = usePageEditor({});
2827
+ const {
2828
+ rowsRef,
2829
+ isInsideEditor
2830
+ } = usePageEditor({});
2387
2831
  const addRowRef = el => {
2388
2832
  if (el && !rowsRef.current.includes(el)) {
2389
2833
  rowsRef.current.push(el);
2390
2834
  }
2391
2835
  };
2392
- return jsx(PageProvider, Object.assign({
2393
- entity: entity
2394
- }, {
2836
+ entity.isInsideEditor = isInsideEditor;
2837
+ return jsx(PageProvider, {
2838
+ entity: entity,
2395
2839
  children: entity.layout.body.rows.map((row, index) => jsx(Row, {
2396
2840
  ref: addRowRef,
2397
2841
  row: row
2398
2842
  }, index))
2399
- }));
2843
+ });
2400
2844
  }
2401
2845
 
2402
- /**
2403
- * `useDotcmsPageContext` is a custom React hook that provides access to the `PageProviderContext`.
2404
- * It takes no parameters and returns the context value or `null` if it's not available.
2405
- *
2406
- * @category Hooks
2407
- * @returns {PageProviderContext | null} - The context value or `null` if it's not available.
2846
+ /**
2847
+ * `useDotcmsPageContext` is a custom React hook that provides access to the `PageProviderContext`.
2848
+ * It takes no parameters and returns the context value or `null` if it's not available.
2849
+ *
2850
+ * @category Hooks
2851
+ * @returns {PageProviderContext | null} - The context value or `null` if it's not available.
2408
2852
  */
2409
2853
  function useDotcmsPageContext() {
2410
2854
  return useContext(PageContext);