@sebgroup/green-react 1.0.0-beta.1 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/react.esm.js CHANGED
@@ -9,7 +9,7 @@ var check = function (it) {
9
9
  };
10
10
 
11
11
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
12
- var global$p =
12
+ var global$r =
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) ||
@@ -21,7 +21,7 @@ var global$p =
21
21
 
22
22
  var objectGetOwnPropertyDescriptor = {};
23
23
 
24
- var fails$a = function (exec) {
24
+ var fails$9 = function (exec) {
25
25
  try {
26
26
  return !!exec();
27
27
  } catch (error) {
@@ -29,18 +29,18 @@ var fails$a = function (exec) {
29
29
  }
30
30
  };
31
31
 
32
- var fails$9 = fails$a;
32
+ var fails$8 = fails$9;
33
33
 
34
34
  // Detect IE8's incomplete defineProperty implementation
35
- var descriptors = !fails$9(function () {
35
+ var descriptors = !fails$8(function () {
36
36
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
37
37
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
38
38
  });
39
39
 
40
- var call$5 = Function.prototype.call;
40
+ var call$6 = Function.prototype.call;
41
41
 
42
- var functionCall = call$5.bind ? call$5.bind(call$5) : function () {
43
- return call$5.apply(call$5, arguments);
42
+ var functionCall = call$6.bind ? call$6.bind(call$6) : function () {
43
+ return call$6.apply(call$6, arguments);
44
44
  };
45
45
 
46
46
  var objectPropertyIsEnumerable = {};
@@ -59,7 +59,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
59
59
  return !!descriptor && descriptor.enumerable;
60
60
  } : $propertyIsEnumerable;
61
61
 
62
- var createPropertyDescriptor$2 = function (bitmap, value) {
62
+ var createPropertyDescriptor$3 = function (bitmap, value) {
63
63
  return {
64
64
  enumerable: !(bitmap & 1),
65
65
  configurable: !(bitmap & 2),
@@ -69,99 +69,99 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
69
69
  };
70
70
 
71
71
  var FunctionPrototype$1 = Function.prototype;
72
- var bind$2 = FunctionPrototype$1.bind;
73
- var call$4 = FunctionPrototype$1.call;
74
- var callBind = bind$2 && bind$2.bind(call$4);
72
+ var bind = FunctionPrototype$1.bind;
73
+ var call$5 = FunctionPrototype$1.call;
74
+ var callBind = bind && bind.bind(call$5);
75
75
 
76
- var functionUncurryThis = bind$2 ? function (fn) {
77
- return fn && callBind(call$4, fn);
76
+ var functionUncurryThis = bind ? function (fn) {
77
+ return fn && callBind(call$5, fn);
78
78
  } : function (fn) {
79
79
  return fn && function () {
80
- return call$4.apply(fn, arguments);
80
+ return call$5.apply(fn, arguments);
81
81
  };
82
82
  };
83
83
 
84
- var uncurryThis$f = functionUncurryThis;
84
+ var uncurryThis$c = functionUncurryThis;
85
85
 
86
- var toString$4 = uncurryThis$f({}.toString);
87
- var stringSlice = uncurryThis$f(''.slice);
86
+ var toString$4 = uncurryThis$c({}.toString);
87
+ var stringSlice = uncurryThis$c(''.slice);
88
88
 
89
89
  var classofRaw$1 = function (it) {
90
90
  return stringSlice(toString$4(it), 8, -1);
91
91
  };
92
92
 
93
- var global$o = global$p;
94
- var uncurryThis$e = functionUncurryThis;
95
- var fails$8 = fails$a;
96
- var classof$4 = classofRaw$1;
93
+ var global$q = global$r;
94
+ var uncurryThis$b = functionUncurryThis;
95
+ var fails$7 = fails$9;
96
+ var classof$2 = classofRaw$1;
97
97
 
98
- var Object$4 = global$o.Object;
99
- var split = uncurryThis$e(''.split);
98
+ var Object$5 = global$q.Object;
99
+ var split = uncurryThis$b(''.split);
100
100
 
101
101
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
102
- var indexedObject = fails$8(function () {
102
+ var indexedObject = fails$7(function () {
103
103
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
104
104
  // eslint-disable-next-line no-prototype-builtins -- safe
105
- return !Object$4('z').propertyIsEnumerable(0);
105
+ return !Object$5('z').propertyIsEnumerable(0);
106
106
  }) ? function (it) {
107
- return classof$4(it) == 'String' ? split(it, '') : Object$4(it);
108
- } : Object$4;
107
+ return classof$2(it) == 'String' ? split(it, '') : Object$5(it);
108
+ } : Object$5;
109
109
 
110
- var global$n = global$p;
110
+ var global$p = global$r;
111
111
 
112
- var TypeError$7 = global$n.TypeError;
112
+ var TypeError$8 = global$p.TypeError;
113
113
 
114
114
  // `RequireObjectCoercible` abstract operation
115
115
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
116
116
  var requireObjectCoercible$3 = function (it) {
117
- if (it == undefined) throw TypeError$7("Can't call method on " + it);
117
+ if (it == undefined) throw TypeError$8("Can't call method on " + it);
118
118
  return it;
119
119
  };
120
120
 
121
121
  // toObject with fallback for non-array-like ES3 strings
122
- var IndexedObject$3 = indexedObject;
122
+ var IndexedObject$1 = indexedObject;
123
123
  var requireObjectCoercible$2 = requireObjectCoercible$3;
124
124
 
125
- var toIndexedObject$4 = function (it) {
126
- return IndexedObject$3(requireObjectCoercible$2(it));
125
+ var toIndexedObject$5 = function (it) {
126
+ return IndexedObject$1(requireObjectCoercible$2(it));
127
127
  };
128
128
 
129
129
  // `IsCallable` abstract operation
130
130
  // https://tc39.es/ecma262/#sec-iscallable
131
- var isCallable$b = function (argument) {
131
+ var isCallable$e = function (argument) {
132
132
  return typeof argument == 'function';
133
133
  };
134
134
 
135
- var isCallable$a = isCallable$b;
135
+ var isCallable$d = isCallable$e;
136
136
 
137
- var isObject$6 = function (it) {
138
- return typeof it == 'object' ? it !== null : isCallable$a(it);
137
+ var isObject$5 = function (it) {
138
+ return typeof it == 'object' ? it !== null : isCallable$d(it);
139
139
  };
140
140
 
141
- var global$m = global$p;
142
- var isCallable$9 = isCallable$b;
141
+ var global$o = global$r;
142
+ var isCallable$c = isCallable$e;
143
143
 
144
144
  var aFunction = function (argument) {
145
- return isCallable$9(argument) ? argument : undefined;
145
+ return isCallable$c(argument) ? argument : undefined;
146
146
  };
147
147
 
148
148
  var getBuiltIn$4 = function (namespace, method) {
149
- return arguments.length < 2 ? aFunction(global$m[namespace]) : global$m[namespace] && global$m[namespace][method];
149
+ return arguments.length < 2 ? aFunction(global$o[namespace]) : global$o[namespace] && global$o[namespace][method];
150
150
  };
151
151
 
152
- var uncurryThis$d = functionUncurryThis;
152
+ var uncurryThis$a = functionUncurryThis;
153
153
 
154
- var objectIsPrototypeOf = uncurryThis$d({}.isPrototypeOf);
154
+ var objectIsPrototypeOf = uncurryThis$a({}.isPrototypeOf);
155
155
 
156
156
  var getBuiltIn$3 = getBuiltIn$4;
157
157
 
158
158
  var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
159
159
 
160
- var global$l = global$p;
160
+ var global$n = global$r;
161
161
  var userAgent = engineUserAgent;
162
162
 
163
- var process = global$l.process;
164
- var Deno = global$l.Deno;
163
+ var process = global$n.process;
164
+ var Deno = global$n.Deno;
165
165
  var versions = process && process.versions || Deno && Deno.version;
166
166
  var v8 = versions && versions.v8;
167
167
  var match, version;
@@ -187,17 +187,17 @@ var engineV8Version = version;
187
187
 
188
188
  /* eslint-disable es/no-symbol -- required for testing */
189
189
 
190
- var V8_VERSION$1 = engineV8Version;
191
- var fails$7 = fails$a;
190
+ var V8_VERSION = engineV8Version;
191
+ var fails$6 = fails$9;
192
192
 
193
193
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
194
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$7(function () {
194
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$6(function () {
195
195
  var symbol = Symbol();
196
196
  // Chrome 38 Symbol has incorrect toString conversion
197
197
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
198
198
  return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
199
199
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
200
- !Symbol.sham && V8_VERSION$1 && V8_VERSION$1 < 41;
200
+ !Symbol.sham && V8_VERSION && V8_VERSION < 41;
201
201
  });
202
202
 
203
203
  /* eslint-disable es/no-symbol -- required for testing */
@@ -208,91 +208,91 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
208
208
  && !Symbol.sham
209
209
  && typeof Symbol.iterator == 'symbol';
210
210
 
211
- var global$k = global$p;
211
+ var global$m = global$r;
212
212
  var getBuiltIn$2 = getBuiltIn$4;
213
- var isCallable$8 = isCallable$b;
213
+ var isCallable$b = isCallable$e;
214
214
  var isPrototypeOf = objectIsPrototypeOf;
215
215
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
216
216
 
217
- var Object$3 = global$k.Object;
217
+ var Object$4 = global$m.Object;
218
218
 
219
219
  var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
220
220
  return typeof it == 'symbol';
221
221
  } : function (it) {
222
222
  var $Symbol = getBuiltIn$2('Symbol');
223
- return isCallable$8($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it));
223
+ return isCallable$b($Symbol) && isPrototypeOf($Symbol.prototype, Object$4(it));
224
224
  };
225
225
 
226
- var global$j = global$p;
226
+ var global$l = global$r;
227
227
 
228
- var String$3 = global$j.String;
228
+ var String$4 = global$l.String;
229
229
 
230
230
  var tryToString$1 = function (argument) {
231
231
  try {
232
- return String$3(argument);
232
+ return String$4(argument);
233
233
  } catch (error) {
234
234
  return 'Object';
235
235
  }
236
236
  };
237
237
 
238
- var global$i = global$p;
239
- var isCallable$7 = isCallable$b;
238
+ var global$k = global$r;
239
+ var isCallable$a = isCallable$e;
240
240
  var tryToString = tryToString$1;
241
241
 
242
- var TypeError$6 = global$i.TypeError;
242
+ var TypeError$7 = global$k.TypeError;
243
243
 
244
244
  // `Assert: IsCallable(argument) is true`
245
- var aCallable$2 = function (argument) {
246
- if (isCallable$7(argument)) return argument;
247
- throw TypeError$6(tryToString(argument) + ' is not a function');
245
+ var aCallable$1 = function (argument) {
246
+ if (isCallable$a(argument)) return argument;
247
+ throw TypeError$7(tryToString(argument) + ' is not a function');
248
248
  };
249
249
 
250
- var aCallable$1 = aCallable$2;
250
+ var aCallable = aCallable$1;
251
251
 
252
252
  // `GetMethod` abstract operation
253
253
  // https://tc39.es/ecma262/#sec-getmethod
254
254
  var getMethod$1 = function (V, P) {
255
255
  var func = V[P];
256
- return func == null ? undefined : aCallable$1(func);
256
+ return func == null ? undefined : aCallable(func);
257
257
  };
258
258
 
259
- var global$h = global$p;
260
- var call$3 = functionCall;
261
- var isCallable$6 = isCallable$b;
262
- var isObject$5 = isObject$6;
259
+ var global$j = global$r;
260
+ var call$4 = functionCall;
261
+ var isCallable$9 = isCallable$e;
262
+ var isObject$4 = isObject$5;
263
263
 
264
- var TypeError$5 = global$h.TypeError;
264
+ var TypeError$6 = global$j.TypeError;
265
265
 
266
266
  // `OrdinaryToPrimitive` abstract operation
267
267
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
268
268
  var ordinaryToPrimitive$1 = function (input, pref) {
269
269
  var fn, val;
270
- if (pref === 'string' && isCallable$6(fn = input.toString) && !isObject$5(val = call$3(fn, input))) return val;
271
- if (isCallable$6(fn = input.valueOf) && !isObject$5(val = call$3(fn, input))) return val;
272
- if (pref !== 'string' && isCallable$6(fn = input.toString) && !isObject$5(val = call$3(fn, input))) return val;
273
- throw TypeError$5("Can't convert object to primitive value");
270
+ if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$4(val = call$4(fn, input))) return val;
271
+ if (isCallable$9(fn = input.valueOf) && !isObject$4(val = call$4(fn, input))) return val;
272
+ if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$4(val = call$4(fn, input))) return val;
273
+ throw TypeError$6("Can't convert object to primitive value");
274
274
  };
275
275
 
276
276
  var shared$3 = {exports: {}};
277
277
 
278
- var global$g = global$p;
278
+ var global$i = global$r;
279
279
 
280
280
  // eslint-disable-next-line es/no-object-defineproperty -- safe
281
- var defineProperty$1 = Object.defineProperty;
281
+ var defineProperty$2 = Object.defineProperty;
282
282
 
283
283
  var setGlobal$3 = function (key, value) {
284
284
  try {
285
- defineProperty$1(global$g, key, { value: value, configurable: true, writable: true });
285
+ defineProperty$2(global$i, key, { value: value, configurable: true, writable: true });
286
286
  } catch (error) {
287
- global$g[key] = value;
287
+ global$i[key] = value;
288
288
  } return value;
289
289
  };
290
290
 
291
- var global$f = global$p;
291
+ var global$h = global$r;
292
292
  var setGlobal$2 = setGlobal$3;
293
293
 
294
294
  var SHARED = '__core-js_shared__';
295
- var store$3 = global$f[SHARED] || setGlobal$2(SHARED, {});
295
+ var store$3 = global$h[SHARED] || setGlobal$2(SHARED, {});
296
296
 
297
297
  var sharedStore = store$3;
298
298
 
@@ -306,21 +306,21 @@ var store$2 = sharedStore;
306
306
  copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
307
307
  });
308
308
 
309
- var global$e = global$p;
309
+ var global$g = global$r;
310
310
  var requireObjectCoercible$1 = requireObjectCoercible$3;
311
311
 
312
- var Object$2 = global$e.Object;
312
+ var Object$3 = global$g.Object;
313
313
 
314
314
  // `ToObject` abstract operation
315
315
  // https://tc39.es/ecma262/#sec-toobject
316
316
  var toObject$3 = function (argument) {
317
- return Object$2(requireObjectCoercible$1(argument));
317
+ return Object$3(requireObjectCoercible$1(argument));
318
318
  };
319
319
 
320
- var uncurryThis$c = functionUncurryThis;
320
+ var uncurryThis$9 = functionUncurryThis;
321
321
  var toObject$2 = toObject$3;
322
322
 
323
- var hasOwnProperty = uncurryThis$c({}.hasOwnProperty);
323
+ var hasOwnProperty = uncurryThis$9({}.hasOwnProperty);
324
324
 
325
325
  // `HasOwnProperty` abstract operation
326
326
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -328,32 +328,32 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
328
328
  return hasOwnProperty(toObject$2(it), key);
329
329
  };
330
330
 
331
- var uncurryThis$b = functionUncurryThis;
331
+ var uncurryThis$8 = functionUncurryThis;
332
332
 
333
333
  var id = 0;
334
334
  var postfix = Math.random();
335
- var toString$3 = uncurryThis$b(1.0.toString);
335
+ var toString$3 = uncurryThis$8(1.0.toString);
336
336
 
337
337
  var uid$2 = function (key) {
338
338
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
339
339
  };
340
340
 
341
- var global$d = global$p;
341
+ var global$f = global$r;
342
342
  var shared$2 = shared$3.exports;
343
- var hasOwn$6 = hasOwnProperty_1;
343
+ var hasOwn$8 = hasOwnProperty_1;
344
344
  var uid$1 = uid$2;
345
345
  var NATIVE_SYMBOL = nativeSymbol;
346
346
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
347
347
 
348
348
  var WellKnownSymbolsStore = shared$2('wks');
349
- var Symbol$2 = global$d.Symbol;
349
+ var Symbol$2 = global$f.Symbol;
350
350
  var symbolFor = Symbol$2 && Symbol$2['for'];
351
351
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
352
352
 
353
- var wellKnownSymbol$5 = function (name) {
354
- if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
353
+ var wellKnownSymbol$8 = function (name) {
354
+ if (!hasOwn$8(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
355
355
  var description = 'Symbol.' + name;
356
- if (NATIVE_SYMBOL && hasOwn$6(Symbol$2, name)) {
356
+ if (NATIVE_SYMBOL && hasOwn$8(Symbol$2, name)) {
357
357
  WellKnownSymbolsStore[name] = Symbol$2[name];
358
358
  } else if (USE_SYMBOL_AS_UID && symbolFor) {
359
359
  WellKnownSymbolsStore[name] = symbolFor(description);
@@ -363,28 +363,28 @@ var wellKnownSymbol$5 = function (name) {
363
363
  } return WellKnownSymbolsStore[name];
364
364
  };
365
365
 
366
- var global$c = global$p;
367
- var call$2 = functionCall;
368
- var isObject$4 = isObject$6;
366
+ var global$e = global$r;
367
+ var call$3 = functionCall;
368
+ var isObject$3 = isObject$5;
369
369
  var isSymbol$1 = isSymbol$2;
370
370
  var getMethod = getMethod$1;
371
371
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
372
- var wellKnownSymbol$4 = wellKnownSymbol$5;
372
+ var wellKnownSymbol$7 = wellKnownSymbol$8;
373
373
 
374
- var TypeError$4 = global$c.TypeError;
375
- var TO_PRIMITIVE = wellKnownSymbol$4('toPrimitive');
374
+ var TypeError$5 = global$e.TypeError;
375
+ var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
376
376
 
377
377
  // `ToPrimitive` abstract operation
378
378
  // https://tc39.es/ecma262/#sec-toprimitive
379
379
  var toPrimitive$1 = function (input, pref) {
380
- if (!isObject$4(input) || isSymbol$1(input)) return input;
380
+ if (!isObject$3(input) || isSymbol$1(input)) return input;
381
381
  var exoticToPrim = getMethod(input, TO_PRIMITIVE);
382
382
  var result;
383
383
  if (exoticToPrim) {
384
384
  if (pref === undefined) pref = 'default';
385
- result = call$2(exoticToPrim, input, pref);
386
- if (!isObject$4(result) || isSymbol$1(result)) return result;
387
- throw TypeError$4("Can't convert object to primitive value");
385
+ result = call$3(exoticToPrim, input, pref);
386
+ if (!isObject$3(result) || isSymbol$1(result)) return result;
387
+ throw TypeError$5("Can't convert object to primitive value");
388
388
  }
389
389
  if (pref === undefined) pref = 'number';
390
390
  return ordinaryToPrimitive(input, pref);
@@ -400,36 +400,36 @@ var toPropertyKey$2 = function (argument) {
400
400
  return isSymbol(key) ? key : key + '';
401
401
  };
402
402
 
403
- var global$b = global$p;
404
- var isObject$3 = isObject$6;
403
+ var global$d = global$r;
404
+ var isObject$2 = isObject$5;
405
405
 
406
- var document = global$b.document;
406
+ var document$1 = global$d.document;
407
407
  // typeof document.createElement is 'object' in old IE
408
- var EXISTS$1 = isObject$3(document) && isObject$3(document.createElement);
408
+ var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
409
409
 
410
- var documentCreateElement = function (it) {
411
- return EXISTS$1 ? document.createElement(it) : {};
410
+ var documentCreateElement$2 = function (it) {
411
+ return EXISTS$1 ? document$1.createElement(it) : {};
412
412
  };
413
413
 
414
- var DESCRIPTORS$5 = descriptors;
415
- var fails$6 = fails$a;
416
- var createElement = documentCreateElement;
414
+ var DESCRIPTORS$6 = descriptors;
415
+ var fails$5 = fails$9;
416
+ var createElement = documentCreateElement$2;
417
417
 
418
418
  // Thank's IE8 for his funny defineProperty
419
- var ie8DomDefine = !DESCRIPTORS$5 && !fails$6(function () {
419
+ var ie8DomDefine = !DESCRIPTORS$6 && !fails$5(function () {
420
420
  // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
421
421
  return Object.defineProperty(createElement('div'), 'a', {
422
422
  get: function () { return 7; }
423
423
  }).a != 7;
424
424
  });
425
425
 
426
- var DESCRIPTORS$4 = descriptors;
427
- var call$1 = functionCall;
426
+ var DESCRIPTORS$5 = descriptors;
427
+ var call$2 = functionCall;
428
428
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
429
- var createPropertyDescriptor$1 = createPropertyDescriptor$2;
430
- var toIndexedObject$3 = toIndexedObject$4;
429
+ var createPropertyDescriptor$2 = createPropertyDescriptor$3;
430
+ var toIndexedObject$4 = toIndexedObject$5;
431
431
  var toPropertyKey$1 = toPropertyKey$2;
432
- var hasOwn$5 = hasOwnProperty_1;
432
+ var hasOwn$7 = hasOwnProperty_1;
433
433
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
434
434
 
435
435
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -437,113 +437,113 @@ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
437
437
 
438
438
  // `Object.getOwnPropertyDescriptor` method
439
439
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
440
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$4 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
441
- O = toIndexedObject$3(O);
440
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$5 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
441
+ O = toIndexedObject$4(O);
442
442
  P = toPropertyKey$1(P);
443
443
  if (IE8_DOM_DEFINE$1) try {
444
444
  return $getOwnPropertyDescriptor(O, P);
445
445
  } catch (error) { /* empty */ }
446
- if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);
446
+ if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$2(propertyIsEnumerableModule$1.f, O, P), O[P]);
447
447
  };
448
448
 
449
449
  var objectDefineProperty = {};
450
450
 
451
- var global$a = global$p;
452
- var isObject$2 = isObject$6;
451
+ var global$c = global$r;
452
+ var isObject$1 = isObject$5;
453
453
 
454
- var String$2 = global$a.String;
455
- var TypeError$3 = global$a.TypeError;
454
+ var String$3 = global$c.String;
455
+ var TypeError$4 = global$c.TypeError;
456
456
 
457
457
  // `Assert: Type(argument) is Object`
458
- var anObject$2 = function (argument) {
459
- if (isObject$2(argument)) return argument;
460
- throw TypeError$3(String$2(argument) + ' is not an object');
458
+ var anObject$5 = function (argument) {
459
+ if (isObject$1(argument)) return argument;
460
+ throw TypeError$4(String$3(argument) + ' is not an object');
461
461
  };
462
462
 
463
- var global$9 = global$p;
464
- var DESCRIPTORS$3 = descriptors;
463
+ var global$b = global$r;
464
+ var DESCRIPTORS$4 = descriptors;
465
465
  var IE8_DOM_DEFINE = ie8DomDefine;
466
- var anObject$1 = anObject$2;
466
+ var anObject$4 = anObject$5;
467
467
  var toPropertyKey = toPropertyKey$2;
468
468
 
469
- var TypeError$2 = global$9.TypeError;
469
+ var TypeError$3 = global$b.TypeError;
470
470
  // eslint-disable-next-line es/no-object-defineproperty -- safe
471
471
  var $defineProperty = Object.defineProperty;
472
472
 
473
473
  // `Object.defineProperty` method
474
474
  // https://tc39.es/ecma262/#sec-object.defineproperty
475
- objectDefineProperty.f = DESCRIPTORS$3 ? $defineProperty : function defineProperty(O, P, Attributes) {
476
- anObject$1(O);
475
+ objectDefineProperty.f = DESCRIPTORS$4 ? $defineProperty : function defineProperty(O, P, Attributes) {
476
+ anObject$4(O);
477
477
  P = toPropertyKey(P);
478
- anObject$1(Attributes);
478
+ anObject$4(Attributes);
479
479
  if (IE8_DOM_DEFINE) try {
480
480
  return $defineProperty(O, P, Attributes);
481
481
  } catch (error) { /* empty */ }
482
- if ('get' in Attributes || 'set' in Attributes) throw TypeError$2('Accessors not supported');
482
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$3('Accessors not supported');
483
483
  if ('value' in Attributes) O[P] = Attributes.value;
484
484
  return O;
485
485
  };
486
486
 
487
- var DESCRIPTORS$2 = descriptors;
488
- var definePropertyModule$1 = objectDefineProperty;
489
- var createPropertyDescriptor = createPropertyDescriptor$2;
487
+ var DESCRIPTORS$3 = descriptors;
488
+ var definePropertyModule$3 = objectDefineProperty;
489
+ var createPropertyDescriptor$1 = createPropertyDescriptor$3;
490
490
 
491
- var createNonEnumerableProperty$3 = DESCRIPTORS$2 ? function (object, key, value) {
492
- return definePropertyModule$1.f(object, key, createPropertyDescriptor(1, value));
491
+ var createNonEnumerableProperty$5 = DESCRIPTORS$3 ? function (object, key, value) {
492
+ return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
493
493
  } : function (object, key, value) {
494
494
  object[key] = value;
495
495
  return object;
496
496
  };
497
497
 
498
- var redefine$1 = {exports: {}};
498
+ var redefine$3 = {exports: {}};
499
499
 
500
- var uncurryThis$a = functionUncurryThis;
501
- var isCallable$5 = isCallable$b;
500
+ var uncurryThis$7 = functionUncurryThis;
501
+ var isCallable$8 = isCallable$e;
502
502
  var store$1 = sharedStore;
503
503
 
504
- var functionToString = uncurryThis$a(Function.toString);
504
+ var functionToString = uncurryThis$7(Function.toString);
505
505
 
506
506
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
507
- if (!isCallable$5(store$1.inspectSource)) {
507
+ if (!isCallable$8(store$1.inspectSource)) {
508
508
  store$1.inspectSource = function (it) {
509
509
  return functionToString(it);
510
510
  };
511
511
  }
512
512
 
513
- var inspectSource$3 = store$1.inspectSource;
513
+ var inspectSource$2 = store$1.inspectSource;
514
514
 
515
- var global$8 = global$p;
516
- var isCallable$4 = isCallable$b;
517
- var inspectSource$2 = inspectSource$3;
515
+ var global$a = global$r;
516
+ var isCallable$7 = isCallable$e;
517
+ var inspectSource$1 = inspectSource$2;
518
518
 
519
- var WeakMap$1 = global$8.WeakMap;
519
+ var WeakMap$1 = global$a.WeakMap;
520
520
 
521
- var nativeWeakMap = isCallable$4(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));
521
+ var nativeWeakMap = isCallable$7(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
522
522
 
523
523
  var shared$1 = shared$3.exports;
524
524
  var uid = uid$2;
525
525
 
526
526
  var keys = shared$1('keys');
527
527
 
528
- var sharedKey$1 = function (key) {
528
+ var sharedKey$3 = function (key) {
529
529
  return keys[key] || (keys[key] = uid(key));
530
530
  };
531
531
 
532
- var hiddenKeys$3 = {};
532
+ var hiddenKeys$4 = {};
533
533
 
534
534
  var NATIVE_WEAK_MAP = nativeWeakMap;
535
- var global$7 = global$p;
536
- var uncurryThis$9 = functionUncurryThis;
537
- var isObject$1 = isObject$6;
538
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
539
- var hasOwn$4 = hasOwnProperty_1;
535
+ var global$9 = global$r;
536
+ var uncurryThis$6 = functionUncurryThis;
537
+ var isObject = isObject$5;
538
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
539
+ var hasOwn$6 = hasOwnProperty_1;
540
540
  var shared = sharedStore;
541
- var sharedKey = sharedKey$1;
542
- var hiddenKeys$2 = hiddenKeys$3;
541
+ var sharedKey$2 = sharedKey$3;
542
+ var hiddenKeys$3 = hiddenKeys$4;
543
543
 
544
544
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
545
- var TypeError$1 = global$7.TypeError;
546
- var WeakMap = global$7.WeakMap;
545
+ var TypeError$2 = global$9.TypeError;
546
+ var WeakMap = global$9.WeakMap;
547
547
  var set, get, has;
548
548
 
549
549
  var enforce = function (it) {
@@ -553,19 +553,19 @@ var enforce = function (it) {
553
553
  var getterFor = function (TYPE) {
554
554
  return function (it) {
555
555
  var state;
556
- if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
557
- throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
556
+ if (!isObject(it) || (state = get(it)).type !== TYPE) {
557
+ throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
558
558
  } return state;
559
559
  };
560
560
  };
561
561
 
562
562
  if (NATIVE_WEAK_MAP || shared.state) {
563
563
  var store = shared.state || (shared.state = new WeakMap());
564
- var wmget = uncurryThis$9(store.get);
565
- var wmhas = uncurryThis$9(store.has);
566
- var wmset = uncurryThis$9(store.set);
564
+ var wmget = uncurryThis$6(store.get);
565
+ var wmhas = uncurryThis$6(store.has);
566
+ var wmset = uncurryThis$6(store.set);
567
567
  set = function (it, metadata) {
568
- if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
568
+ if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
569
569
  metadata.facade = it;
570
570
  wmset(store, it, metadata);
571
571
  return metadata;
@@ -577,19 +577,19 @@ if (NATIVE_WEAK_MAP || shared.state) {
577
577
  return wmhas(store, it);
578
578
  };
579
579
  } else {
580
- var STATE = sharedKey('state');
581
- hiddenKeys$2[STATE] = true;
580
+ var STATE = sharedKey$2('state');
581
+ hiddenKeys$3[STATE] = true;
582
582
  set = function (it, metadata) {
583
- if (hasOwn$4(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
583
+ if (hasOwn$6(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
584
584
  metadata.facade = it;
585
- createNonEnumerableProperty$2(it, STATE, metadata);
585
+ createNonEnumerableProperty$4(it, STATE, metadata);
586
586
  return metadata;
587
587
  };
588
588
  get = function (it) {
589
- return hasOwn$4(it, STATE) ? it[STATE] : {};
589
+ return hasOwn$6(it, STATE) ? it[STATE] : {};
590
590
  };
591
591
  has = function (it) {
592
- return hasOwn$4(it, STATE);
592
+ return hasOwn$6(it, STATE);
593
593
  };
594
594
  }
595
595
 
@@ -601,17 +601,17 @@ var internalState = {
601
601
  getterFor: getterFor
602
602
  };
603
603
 
604
- var DESCRIPTORS$1 = descriptors;
605
- var hasOwn$3 = hasOwnProperty_1;
604
+ var DESCRIPTORS$2 = descriptors;
605
+ var hasOwn$5 = hasOwnProperty_1;
606
606
 
607
607
  var FunctionPrototype = Function.prototype;
608
608
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
609
- var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
609
+ var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
610
610
 
611
- var EXISTS = hasOwn$3(FunctionPrototype, 'name');
611
+ var EXISTS = hasOwn$5(FunctionPrototype, 'name');
612
612
  // additional protection from minified / mangled / dropped function names
613
613
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
614
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || (DESCRIPTORS$1 && getDescriptor(FunctionPrototype, 'name').configurable));
614
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
615
615
 
616
616
  var functionName = {
617
617
  EXISTS: EXISTS,
@@ -619,38 +619,38 @@ var functionName = {
619
619
  CONFIGURABLE: CONFIGURABLE
620
620
  };
621
621
 
622
- var global$6 = global$p;
623
- var isCallable$3 = isCallable$b;
624
- var hasOwn$2 = hasOwnProperty_1;
625
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
622
+ var global$8 = global$r;
623
+ var isCallable$6 = isCallable$e;
624
+ var hasOwn$4 = hasOwnProperty_1;
625
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
626
626
  var setGlobal$1 = setGlobal$3;
627
- var inspectSource$1 = inspectSource$3;
628
- var InternalStateModule = internalState;
629
- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
627
+ var inspectSource = inspectSource$2;
628
+ var InternalStateModule$1 = internalState;
629
+ var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
630
630
 
631
- var getInternalState = InternalStateModule.get;
632
- var enforceInternalState = InternalStateModule.enforce;
631
+ var getInternalState$1 = InternalStateModule$1.get;
632
+ var enforceInternalState = InternalStateModule$1.enforce;
633
633
  var TEMPLATE = String(String).split('String');
634
634
 
635
- (redefine$1.exports = function (O, key, value, options) {
635
+ (redefine$3.exports = function (O, key, value, options) {
636
636
  var unsafe = options ? !!options.unsafe : false;
637
637
  var simple = options ? !!options.enumerable : false;
638
638
  var noTargetGet = options ? !!options.noTargetGet : false;
639
639
  var name = options && options.name !== undefined ? options.name : key;
640
640
  var state;
641
- if (isCallable$3(value)) {
641
+ if (isCallable$6(value)) {
642
642
  if (String(name).slice(0, 7) === 'Symbol(') {
643
643
  name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
644
644
  }
645
- if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
646
- createNonEnumerableProperty$1(value, 'name', name);
645
+ if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
646
+ createNonEnumerableProperty$3(value, 'name', name);
647
647
  }
648
648
  state = enforceInternalState(value);
649
649
  if (!state.source) {
650
650
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
651
651
  }
652
652
  }
653
- if (O === global$6) {
653
+ if (O === global$8) {
654
654
  if (simple) O[key] = value;
655
655
  else setGlobal$1(key, value);
656
656
  return;
@@ -660,10 +660,10 @@ var TEMPLATE = String(String).split('String');
660
660
  simple = true;
661
661
  }
662
662
  if (simple) O[key] = value;
663
- else createNonEnumerableProperty$1(O, key, value);
663
+ else createNonEnumerableProperty$3(O, key, value);
664
664
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
665
665
  })(Function.prototype, 'toString', function toString() {
666
- return isCallable$3(this) && getInternalState(this).source || inspectSource$1(this);
666
+ return isCallable$6(this) && getInternalState$1(this).source || inspectSource(this);
667
667
  });
668
668
 
669
669
  var objectGetOwnPropertyNames = {};
@@ -706,19 +706,19 @@ var toLength = toLength$1;
706
706
 
707
707
  // `LengthOfArrayLike` abstract operation
708
708
  // https://tc39.es/ecma262/#sec-lengthofarraylike
709
- var lengthOfArrayLike$2 = function (obj) {
709
+ var lengthOfArrayLike$1 = function (obj) {
710
710
  return toLength(obj.length);
711
711
  };
712
712
 
713
- var toIndexedObject$2 = toIndexedObject$4;
713
+ var toIndexedObject$3 = toIndexedObject$5;
714
714
  var toAbsoluteIndex = toAbsoluteIndex$1;
715
- var lengthOfArrayLike$1 = lengthOfArrayLike$2;
715
+ var lengthOfArrayLike = lengthOfArrayLike$1;
716
716
 
717
717
  // `Array.prototype.{ indexOf, includes }` methods implementation
718
- var createMethod$2 = function (IS_INCLUDES) {
718
+ var createMethod$1 = function (IS_INCLUDES) {
719
719
  return function ($this, el, fromIndex) {
720
- var O = toIndexedObject$2($this);
721
- var length = lengthOfArrayLike$1(O);
720
+ var O = toIndexedObject$3($this);
721
+ var length = lengthOfArrayLike(O);
722
722
  var index = toAbsoluteIndex(fromIndex, length);
723
723
  var value;
724
724
  // Array#includes uses SameValueZero equality algorithm
@@ -737,35 +737,35 @@ var createMethod$2 = function (IS_INCLUDES) {
737
737
  var arrayIncludes = {
738
738
  // `Array.prototype.includes` method
739
739
  // https://tc39.es/ecma262/#sec-array.prototype.includes
740
- includes: createMethod$2(true),
740
+ includes: createMethod$1(true),
741
741
  // `Array.prototype.indexOf` method
742
742
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
743
- indexOf: createMethod$2(false)
743
+ indexOf: createMethod$1(false)
744
744
  };
745
745
 
746
- var uncurryThis$8 = functionUncurryThis;
747
- var hasOwn$1 = hasOwnProperty_1;
748
- var toIndexedObject$1 = toIndexedObject$4;
746
+ var uncurryThis$5 = functionUncurryThis;
747
+ var hasOwn$3 = hasOwnProperty_1;
748
+ var toIndexedObject$2 = toIndexedObject$5;
749
749
  var indexOf = arrayIncludes.indexOf;
750
- var hiddenKeys$1 = hiddenKeys$3;
750
+ var hiddenKeys$2 = hiddenKeys$4;
751
751
 
752
- var push$1 = uncurryThis$8([].push);
752
+ var push = uncurryThis$5([].push);
753
753
 
754
754
  var objectKeysInternal = function (object, names) {
755
- var O = toIndexedObject$1(object);
755
+ var O = toIndexedObject$2(object);
756
756
  var i = 0;
757
757
  var result = [];
758
758
  var key;
759
- for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push$1(result, key);
759
+ for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push(result, key);
760
760
  // Don't enum bug & hidden keys
761
- while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
762
- ~indexOf(result, key) || push$1(result, key);
761
+ while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
762
+ ~indexOf(result, key) || push(result, key);
763
763
  }
764
764
  return result;
765
765
  };
766
766
 
767
767
  // IE8- don't enum bug keys
768
- var enumBugKeys$2 = [
768
+ var enumBugKeys$3 = [
769
769
  'constructor',
770
770
  'hasOwnProperty',
771
771
  'isPrototypeOf',
@@ -776,15 +776,15 @@ var enumBugKeys$2 = [
776
776
  ];
777
777
 
778
778
  var internalObjectKeys$1 = objectKeysInternal;
779
- var enumBugKeys$1 = enumBugKeys$2;
779
+ var enumBugKeys$2 = enumBugKeys$3;
780
780
 
781
- var hiddenKeys = enumBugKeys$1.concat('length', 'prototype');
781
+ var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
782
782
 
783
783
  // `Object.getOwnPropertyNames` method
784
784
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
785
785
  // eslint-disable-next-line es/no-object-getownpropertynames -- safe
786
786
  objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
787
- return internalObjectKeys$1(O, hiddenKeys);
787
+ return internalObjectKeys$1(O, hiddenKeys$1);
788
788
  };
789
789
 
790
790
  var objectGetOwnPropertySymbols = {};
@@ -793,37 +793,37 @@ var objectGetOwnPropertySymbols = {};
793
793
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
794
794
 
795
795
  var getBuiltIn$1 = getBuiltIn$4;
796
- var uncurryThis$7 = functionUncurryThis;
796
+ var uncurryThis$4 = functionUncurryThis;
797
797
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
798
798
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
799
- var anObject = anObject$2;
799
+ var anObject$3 = anObject$5;
800
800
 
801
- var concat$1 = uncurryThis$7([].concat);
801
+ var concat$1 = uncurryThis$4([].concat);
802
802
 
803
803
  // all object keys, includes non-enumerable and symbols
804
804
  var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
805
- var keys = getOwnPropertyNamesModule.f(anObject(it));
805
+ var keys = getOwnPropertyNamesModule.f(anObject$3(it));
806
806
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
807
807
  return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
808
808
  };
809
809
 
810
- var hasOwn = hasOwnProperty_1;
810
+ var hasOwn$2 = hasOwnProperty_1;
811
811
  var ownKeys = ownKeys$1;
812
812
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
813
- var definePropertyModule = objectDefineProperty;
813
+ var definePropertyModule$2 = objectDefineProperty;
814
814
 
815
815
  var copyConstructorProperties$1 = function (target, source) {
816
816
  var keys = ownKeys(source);
817
- var defineProperty = definePropertyModule.f;
817
+ var defineProperty = definePropertyModule$2.f;
818
818
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
819
819
  for (var i = 0; i < keys.length; i++) {
820
820
  var key = keys[i];
821
- if (!hasOwn(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
821
+ if (!hasOwn$2(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
822
822
  }
823
823
  };
824
824
 
825
- var fails$5 = fails$a;
826
- var isCallable$2 = isCallable$b;
825
+ var fails$4 = fails$9;
826
+ var isCallable$5 = isCallable$e;
827
827
 
828
828
  var replacement = /#|\.prototype\./;
829
829
 
@@ -831,7 +831,7 @@ var isForced$1 = function (feature, detection) {
831
831
  var value = data[normalize(feature)];
832
832
  return value == POLYFILL ? true
833
833
  : value == NATIVE ? false
834
- : isCallable$2(detection) ? fails$5(detection)
834
+ : isCallable$5(detection) ? fails$4(detection)
835
835
  : !!detection;
836
836
  };
837
837
 
@@ -845,10 +845,10 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
845
845
 
846
846
  var isForced_1 = isForced$1;
847
847
 
848
- var global$5 = global$p;
848
+ var global$7 = global$r;
849
849
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
850
- var createNonEnumerableProperty = createNonEnumerableProperty$3;
851
- var redefine = redefine$1.exports;
850
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
851
+ var redefine$2 = redefine$3.exports;
852
852
  var setGlobal = setGlobal$3;
853
853
  var copyConstructorProperties = copyConstructorProperties$1;
854
854
  var isForced = isForced_1;
@@ -874,11 +874,11 @@ var _export = function (options, source) {
874
874
  var STATIC = options.stat;
875
875
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
876
876
  if (GLOBAL) {
877
- target = global$5;
877
+ target = global$7;
878
878
  } else if (STATIC) {
879
- target = global$5[TARGET] || setGlobal(TARGET, {});
879
+ target = global$7[TARGET] || setGlobal(TARGET, {});
880
880
  } else {
881
- target = (global$5[TARGET] || {}).prototype;
881
+ target = (global$7[TARGET] || {}).prototype;
882
882
  }
883
883
  if (target) for (key in source) {
884
884
  sourceProperty = source[key];
@@ -894,47 +894,47 @@ var _export = function (options, source) {
894
894
  }
895
895
  // add a flag to not completely full polyfills
896
896
  if (options.sham || (targetProperty && targetProperty.sham)) {
897
- createNonEnumerableProperty(sourceProperty, 'sham', true);
897
+ createNonEnumerableProperty$2(sourceProperty, 'sham', true);
898
898
  }
899
899
  // extend global
900
- redefine(target, key, sourceProperty, options);
900
+ redefine$2(target, key, sourceProperty, options);
901
901
  }
902
902
  };
903
903
 
904
904
  var internalObjectKeys = objectKeysInternal;
905
- var enumBugKeys = enumBugKeys$2;
905
+ var enumBugKeys$1 = enumBugKeys$3;
906
906
 
907
907
  // `Object.keys` method
908
908
  // https://tc39.es/ecma262/#sec-object.keys
909
909
  // eslint-disable-next-line es/no-object-keys -- safe
910
- var objectKeys$1 = Object.keys || function keys(O) {
911
- return internalObjectKeys(O, enumBugKeys);
910
+ var objectKeys$2 = Object.keys || function keys(O) {
911
+ return internalObjectKeys(O, enumBugKeys$1);
912
912
  };
913
913
 
914
- var DESCRIPTORS = descriptors;
915
- var uncurryThis$6 = functionUncurryThis;
916
- var call = functionCall;
917
- var fails$4 = fails$a;
918
- var objectKeys = objectKeys$1;
914
+ var DESCRIPTORS$1 = descriptors;
915
+ var uncurryThis$3 = functionUncurryThis;
916
+ var call$1 = functionCall;
917
+ var fails$3 = fails$9;
918
+ var objectKeys$1 = objectKeys$2;
919
919
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
920
920
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
921
921
  var toObject$1 = toObject$3;
922
- var IndexedObject$2 = indexedObject;
922
+ var IndexedObject = indexedObject;
923
923
 
924
924
  // eslint-disable-next-line es/no-object-assign -- safe
925
925
  var $assign = Object.assign;
926
926
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
927
- var defineProperty = Object.defineProperty;
928
- var concat = uncurryThis$6([].concat);
927
+ var defineProperty$1 = Object.defineProperty;
928
+ var concat = uncurryThis$3([].concat);
929
929
 
930
930
  // `Object.assign` method
931
931
  // https://tc39.es/ecma262/#sec-object.assign
932
- var objectAssign = !$assign || fails$4(function () {
932
+ var objectAssign = !$assign || fails$3(function () {
933
933
  // should have correct order of operations (Edge bug)
934
- if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
934
+ if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {
935
935
  enumerable: true,
936
936
  get: function () {
937
- defineProperty(this, 'b', {
937
+ defineProperty$1(this, 'b', {
938
938
  value: 3,
939
939
  enumerable: false
940
940
  });
@@ -948,7 +948,7 @@ var objectAssign = !$assign || fails$4(function () {
948
948
  var alphabet = 'abcdefghijklmnopqrst';
949
949
  A[symbol] = 7;
950
950
  alphabet.split('').forEach(function (chr) { B[chr] = chr; });
951
- return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
951
+ return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;
952
952
  }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
953
953
  var T = toObject$1(target);
954
954
  var argumentsLength = arguments.length;
@@ -956,25 +956,25 @@ var objectAssign = !$assign || fails$4(function () {
956
956
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
957
957
  var propertyIsEnumerable = propertyIsEnumerableModule.f;
958
958
  while (argumentsLength > index) {
959
- var S = IndexedObject$2(arguments[index++]);
960
- var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
959
+ var S = IndexedObject(arguments[index++]);
960
+ var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S);
961
961
  var length = keys.length;
962
962
  var j = 0;
963
963
  var key;
964
964
  while (length > j) {
965
965
  key = keys[j++];
966
- if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
966
+ if (!DESCRIPTORS$1 || call$1(propertyIsEnumerable, S, key)) T[key] = S[key];
967
967
  }
968
968
  } return T;
969
969
  } : $assign;
970
970
 
971
- var $$4 = _export;
971
+ var $$2 = _export;
972
972
  var assign = objectAssign;
973
973
 
974
974
  // `Object.assign` method
975
975
  // https://tc39.es/ecma262/#sec-object.assign
976
976
  // eslint-disable-next-line es/no-object-assign -- required for testing
977
- $$4({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
977
+ $$2({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
978
978
  assign: assign
979
979
  });
980
980
 
@@ -1005,47 +1005,17 @@ function __rest(s, e) {
1005
1005
  return t;
1006
1006
  }
1007
1007
 
1008
- var fails$3 = fails$a;
1009
-
1010
- var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
1011
- var method = [][METHOD_NAME];
1012
- return !!method && fails$3(function () {
1013
- // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
1014
- method.call(null, argument || function () { throw 1; }, 1);
1015
- });
1016
- };
1017
-
1018
- var $$3 = _export;
1019
- var uncurryThis$5 = functionUncurryThis;
1020
- var IndexedObject$1 = indexedObject;
1021
- var toIndexedObject = toIndexedObject$4;
1022
- var arrayMethodIsStrict = arrayMethodIsStrict$1;
1023
-
1024
- var un$Join = uncurryThis$5([].join);
1025
-
1026
- var ES3_STRINGS = IndexedObject$1 != Object;
1027
- var STRICT_METHOD = arrayMethodIsStrict('join', ',');
1028
-
1029
- // `Array.prototype.join` method
1030
- // https://tc39.es/ecma262/#sec-array.prototype.join
1031
- $$3({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {
1032
- join: function join(separator) {
1033
- return un$Join(toIndexedObject(this), separator === undefined ? ',' : separator);
1034
- }
1035
- });
1036
-
1037
- function Button(_ref) {
1038
- var children = _ref.children,
1039
- variant = _ref.variant,
1040
- onClick = _ref.onClick,
1041
- _ref$active = _ref.active,
1042
- active = _ref$active === void 0 ? false : _ref$active,
1043
- _ref$type = _ref.type,
1044
- type = _ref$type === void 0 ? 'button' : _ref$type;
1045
- var props = {
1046
- type: type
1008
+ function Button({
1009
+ children,
1010
+ variant,
1011
+ onClick,
1012
+ active = false,
1013
+ type = 'button'
1014
+ }) {
1015
+ const props = {
1016
+ type
1047
1017
  };
1048
- var classNames = [];
1018
+ const classNames = [];
1049
1019
  if (variant) classNames.push(variant);
1050
1020
  if (active) classNames.push('active');
1051
1021
  if (classNames.length) props.className = classNames.join(' ');
@@ -1055,12 +1025,11 @@ function Button(_ref) {
1055
1025
  }), void 0);
1056
1026
  }
1057
1027
 
1058
- var ModalHeader = function ModalHeader(_ref) {
1059
- var _ref$header = _ref.header,
1060
- header = _ref$header === void 0 ? '' : _ref$header,
1061
- onClose = _ref.onClose;
1062
-
1063
- var handleClose = function handleClose(event) {
1028
+ const ModalHeader = ({
1029
+ header: _header = '',
1030
+ onClose
1031
+ }) => {
1032
+ const handleClose = event => {
1064
1033
  if (onClose) onClose(event);
1065
1034
  };
1066
1035
 
@@ -1068,7 +1037,7 @@ var ModalHeader = function ModalHeader(_ref) {
1068
1037
  className: "header"
1069
1038
  }, {
1070
1039
  children: [jsx("h3", {
1071
- children: header
1040
+ children: _header
1072
1041
  }, void 0), jsx("button", Object.assign({
1073
1042
  className: "close",
1074
1043
  onClick: handleClose
@@ -1082,8 +1051,9 @@ var ModalHeader = function ModalHeader(_ref) {
1082
1051
  }), void 0);
1083
1052
  };
1084
1053
 
1085
- var ModalBody = function ModalBody(_ref2) {
1086
- var children = _ref2.children;
1054
+ const ModalBody = ({
1055
+ children
1056
+ }) => {
1087
1057
  return jsx("div", Object.assign({
1088
1058
  className: "body"
1089
1059
  }, {
@@ -1091,19 +1061,19 @@ var ModalBody = function ModalBody(_ref2) {
1091
1061
  }), void 0);
1092
1062
  };
1093
1063
 
1094
- var ModalFooter = function ModalFooter(_ref3) {
1095
- var confirm = _ref3.confirm,
1096
- dismiss = _ref3.dismiss,
1097
- onClose = _ref3.onClose,
1098
- onConfirm = _ref3.onConfirm,
1099
- onDismiss = _ref3.onDismiss;
1100
-
1101
- var handleConfirm = function handleConfirm(event) {
1064
+ const ModalFooter = ({
1065
+ confirm,
1066
+ dismiss,
1067
+ onClose,
1068
+ onConfirm,
1069
+ onDismiss
1070
+ }) => {
1071
+ const handleConfirm = event => {
1102
1072
  if (onConfirm) onConfirm(event);
1103
1073
  if (onClose) onClose(event);
1104
1074
  };
1105
1075
 
1106
- var handleDismiss = function handleDismiss(event) {
1076
+ const handleDismiss = event => {
1107
1077
  if (onDismiss) onDismiss(event);
1108
1078
  if (onClose) onClose(event);
1109
1079
  };
@@ -1125,9 +1095,10 @@ var ModalFooter = function ModalFooter(_ref3) {
1125
1095
  }), void 0);
1126
1096
  };
1127
1097
 
1128
- var Modal = function Modal(_a) {
1129
- var _a$type = _a.type,
1130
- type = _a$type === void 0 ? 'default' : _a$type,
1098
+ const Modal = _a => {
1099
+ var {
1100
+ type = 'default'
1101
+ } = _a,
1131
1102
  props = __rest(_a, ["type"]);
1132
1103
 
1133
1104
  return jsxs("section", Object.assign({
@@ -1137,8 +1108,9 @@ var Modal = function Modal(_a) {
1137
1108
  }), void 0);
1138
1109
  };
1139
1110
 
1140
- function Group(_ref) {
1141
- var children = _ref.children;
1111
+ function Group({
1112
+ children
1113
+ }) {
1142
1114
  return jsx("div", Object.assign({
1143
1115
  className: "group"
1144
1116
  }, {
@@ -1146,10 +1118,11 @@ function Group(_ref) {
1146
1118
  }), void 0);
1147
1119
  }
1148
1120
 
1149
- function Card(_ref) {
1150
- var children = _ref.children,
1151
- headline = _ref.headline,
1152
- buttons = _ref.buttons;
1121
+ function Card({
1122
+ children,
1123
+ headline,
1124
+ buttons
1125
+ }) {
1153
1126
  return jsx("section", Object.assign({
1154
1127
  className: "card"
1155
1128
  }, {
@@ -1167,326 +1140,560 @@ function Card(_ref) {
1167
1140
  }), void 0);
1168
1141
  }
1169
1142
 
1170
- function Alert(_ref) {
1171
- var type = _ref.type,
1172
- heading = _ref.heading,
1173
- children = _ref.children,
1174
- closeText = _ref.closeText,
1175
- _ref$isCloseable = _ref.isCloseable,
1176
- isCloseable = _ref$isCloseable === void 0 ? true : _ref$isCloseable;
1143
+ var DESCRIPTORS = descriptors;
1144
+ var definePropertyModule$1 = objectDefineProperty;
1145
+ var anObject$2 = anObject$5;
1146
+ var toIndexedObject$1 = toIndexedObject$5;
1147
+ var objectKeys = objectKeys$2;
1148
+
1149
+ // `Object.defineProperties` method
1150
+ // https://tc39.es/ecma262/#sec-object.defineproperties
1151
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
1152
+ var objectDefineProperties = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {
1153
+ anObject$2(O);
1154
+ var props = toIndexedObject$1(Properties);
1155
+ var keys = objectKeys(Properties);
1156
+ var length = keys.length;
1157
+ var index = 0;
1158
+ var key;
1159
+ while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
1160
+ return O;
1161
+ };
1177
1162
 
1178
- var _useState = useState(),
1179
- closeButton = _useState[0],
1180
- setCloseButton = _useState[1];
1163
+ var getBuiltIn = getBuiltIn$4;
1181
1164
 
1182
- useEffect(function () {
1183
- if (!isCloseable) {
1184
- setCloseButton(null);
1185
- } else {
1186
- if (closeText) setCloseButton(jsx(Button, {
1187
- children: closeText
1188
- }, void 0));else setCloseButton(jsx("button", {
1189
- className: "close"
1190
- }, void 0));
1191
- }
1192
- }, [isCloseable, closeText]);
1193
- return jsxs("div", Object.assign({
1194
- role: "alert",
1195
- className: type
1196
- }, {
1197
- children: [heading && jsx("h3", {
1198
- children: heading
1199
- }, void 0), jsx("p", {
1200
- children: children
1201
- }, void 0), closeButton]
1202
- }), void 0);
1203
- }
1165
+ var html$1 = getBuiltIn('document', 'documentElement');
1166
+
1167
+ /* global ActiveXObject -- old IE, WSH */
1168
+
1169
+ var anObject$1 = anObject$5;
1170
+ var defineProperties = objectDefineProperties;
1171
+ var enumBugKeys = enumBugKeys$3;
1172
+ var hiddenKeys = hiddenKeys$4;
1173
+ var html = html$1;
1174
+ var documentCreateElement$1 = documentCreateElement$2;
1175
+ var sharedKey$1 = sharedKey$3;
1176
+
1177
+ var GT = '>';
1178
+ var LT = '<';
1179
+ var PROTOTYPE = 'prototype';
1180
+ var SCRIPT = 'script';
1181
+ var IE_PROTO$1 = sharedKey$1('IE_PROTO');
1182
+
1183
+ var EmptyConstructor = function () { /* empty */ };
1184
+
1185
+ var scriptTag = function (content) {
1186
+ return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1187
+ };
1188
+
1189
+ // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1190
+ var NullProtoObjectViaActiveX = function (activeXDocument) {
1191
+ activeXDocument.write(scriptTag(''));
1192
+ activeXDocument.close();
1193
+ var temp = activeXDocument.parentWindow.Object;
1194
+ activeXDocument = null; // avoid memory leak
1195
+ return temp;
1196
+ };
1197
+
1198
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
1199
+ var NullProtoObjectViaIFrame = function () {
1200
+ // Thrash, waste and sodomy: IE GC bug
1201
+ var iframe = documentCreateElement$1('iframe');
1202
+ var JS = 'java' + SCRIPT + ':';
1203
+ var iframeDocument;
1204
+ iframe.style.display = 'none';
1205
+ html.appendChild(iframe);
1206
+ // https://github.com/zloirock/core-js/issues/475
1207
+ iframe.src = String(JS);
1208
+ iframeDocument = iframe.contentWindow.document;
1209
+ iframeDocument.open();
1210
+ iframeDocument.write(scriptTag('document.F=Object'));
1211
+ iframeDocument.close();
1212
+ return iframeDocument.F;
1213
+ };
1214
+
1215
+ // Check for document.domain and active x support
1216
+ // No need to use active x approach when document.domain is not set
1217
+ // see https://github.com/es-shims/es5-shim/issues/150
1218
+ // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1219
+ // avoid IE GC bug
1220
+ var activeXDocument;
1221
+ var NullProtoObject = function () {
1222
+ try {
1223
+ activeXDocument = new ActiveXObject('htmlfile');
1224
+ } catch (error) { /* ignore */ }
1225
+ NullProtoObject = typeof document != 'undefined'
1226
+ ? document.domain && activeXDocument
1227
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1228
+ : NullProtoObjectViaIFrame()
1229
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
1230
+ var length = enumBugKeys.length;
1231
+ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1232
+ return NullProtoObject();
1233
+ };
1234
+
1235
+ hiddenKeys[IE_PROTO$1] = true;
1236
+
1237
+ // `Object.create` method
1238
+ // https://tc39.es/ecma262/#sec-object.create
1239
+ var objectCreate = Object.create || function create(O, Properties) {
1240
+ var result;
1241
+ if (O !== null) {
1242
+ EmptyConstructor[PROTOTYPE] = anObject$1(O);
1243
+ result = new EmptyConstructor();
1244
+ EmptyConstructor[PROTOTYPE] = null;
1245
+ // add "__proto__" for Object.getPrototypeOf polyfill
1246
+ result[IE_PROTO$1] = O;
1247
+ } else result = NullProtoObject();
1248
+ return Properties === undefined ? result : defineProperties(result, Properties);
1249
+ };
1250
+
1251
+ var wellKnownSymbol$6 = wellKnownSymbol$8;
1252
+ var create$1 = objectCreate;
1253
+ var definePropertyModule = objectDefineProperty;
1204
1254
 
1205
- var uncurryThis$4 = functionUncurryThis;
1206
- var aCallable = aCallable$2;
1255
+ var UNSCOPABLES = wellKnownSymbol$6('unscopables');
1256
+ var ArrayPrototype = Array.prototype;
1207
1257
 
1208
- var bind$1 = uncurryThis$4(uncurryThis$4.bind);
1258
+ // Array.prototype[@@unscopables]
1259
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1260
+ if (ArrayPrototype[UNSCOPABLES] == undefined) {
1261
+ definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
1262
+ configurable: true,
1263
+ value: create$1(null)
1264
+ });
1265
+ }
1209
1266
 
1210
- // optional / simple context binding
1211
- var functionBindContext = function (fn, that) {
1212
- aCallable(fn);
1213
- return that === undefined ? fn : bind$1 ? bind$1(fn, that) : function (/* ...args */) {
1214
- return fn.apply(that, arguments);
1215
- };
1267
+ // add a key to Array.prototype[@@unscopables]
1268
+ var addToUnscopables$1 = function (key) {
1269
+ ArrayPrototype[UNSCOPABLES][key] = true;
1216
1270
  };
1217
1271
 
1218
- var classof$3 = classofRaw$1;
1272
+ var iterators = {};
1219
1273
 
1220
- // `IsArray` abstract operation
1221
- // https://tc39.es/ecma262/#sec-isarray
1222
- // eslint-disable-next-line es/no-array-isarray -- safe
1223
- var isArray$1 = Array.isArray || function isArray(argument) {
1224
- return classof$3(argument) == 'Array';
1225
- };
1274
+ var fails$2 = fails$9;
1226
1275
 
1227
- var wellKnownSymbol$3 = wellKnownSymbol$5;
1276
+ var correctPrototypeGetter = !fails$2(function () {
1277
+ function F() { /* empty */ }
1278
+ F.prototype.constructor = null;
1279
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1280
+ return Object.getPrototypeOf(new F()) !== F.prototype;
1281
+ });
1228
1282
 
1229
- var TO_STRING_TAG$1 = wellKnownSymbol$3('toStringTag');
1230
- var test = {};
1283
+ var global$6 = global$r;
1284
+ var hasOwn$1 = hasOwnProperty_1;
1285
+ var isCallable$4 = isCallable$e;
1286
+ var toObject = toObject$3;
1287
+ var sharedKey = sharedKey$3;
1288
+ var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1289
+
1290
+ var IE_PROTO = sharedKey('IE_PROTO');
1291
+ var Object$2 = global$6.Object;
1292
+ var ObjectPrototype = Object$2.prototype;
1293
+
1294
+ // `Object.getPrototypeOf` method
1295
+ // https://tc39.es/ecma262/#sec-object.getprototypeof
1296
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$2.getPrototypeOf : function (O) {
1297
+ var object = toObject(O);
1298
+ if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
1299
+ var constructor = object.constructor;
1300
+ if (isCallable$4(constructor) && object instanceof constructor) {
1301
+ return constructor.prototype;
1302
+ } return object instanceof Object$2 ? ObjectPrototype : null;
1303
+ };
1304
+
1305
+ var fails$1 = fails$9;
1306
+ var isCallable$3 = isCallable$e;
1307
+ var getPrototypeOf$1 = objectGetPrototypeOf;
1308
+ var redefine$1 = redefine$3.exports;
1309
+ var wellKnownSymbol$5 = wellKnownSymbol$8;
1310
+
1311
+ var ITERATOR$3 = wellKnownSymbol$5('iterator');
1312
+ var BUGGY_SAFARI_ITERATORS$1 = false;
1313
+
1314
+ // `%IteratorPrototype%` object
1315
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
1316
+ var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
1317
+
1318
+ /* eslint-disable es/no-array-prototype-keys -- safe */
1319
+ if ([].keys) {
1320
+ arrayIterator = [].keys();
1321
+ // Safari 8 has buggy iterators w/o `next`
1322
+ if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
1323
+ else {
1324
+ PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
1325
+ if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
1326
+ }
1327
+ }
1231
1328
 
1232
- test[TO_STRING_TAG$1] = 'z';
1329
+ var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails$1(function () {
1330
+ var test = {};
1331
+ // FF44- legacy iterators case
1332
+ return IteratorPrototype$2[ITERATOR$3].call(test) !== test;
1333
+ });
1233
1334
 
1234
- var toStringTagSupport = String(test) === '[object z]';
1335
+ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1235
1336
 
1236
- var global$4 = global$p;
1237
- var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1238
- var isCallable$1 = isCallable$b;
1239
- var classofRaw = classofRaw$1;
1240
- var wellKnownSymbol$2 = wellKnownSymbol$5;
1337
+ // `%IteratorPrototype%[@@iterator]()` method
1338
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1339
+ if (!isCallable$3(IteratorPrototype$2[ITERATOR$3])) {
1340
+ redefine$1(IteratorPrototype$2, ITERATOR$3, function () {
1341
+ return this;
1342
+ });
1343
+ }
1241
1344
 
1242
- var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
1243
- var Object$1 = global$4.Object;
1345
+ var iteratorsCore = {
1346
+ IteratorPrototype: IteratorPrototype$2,
1347
+ BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1348
+ };
1244
1349
 
1245
- // ES3 wrong here
1246
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
1350
+ var defineProperty = objectDefineProperty.f;
1351
+ var hasOwn = hasOwnProperty_1;
1352
+ var wellKnownSymbol$4 = wellKnownSymbol$8;
1247
1353
 
1248
- // fallback for IE11 Script Access Denied error
1249
- var tryGet = function (it, key) {
1250
- try {
1251
- return it[key];
1252
- } catch (error) { /* empty */ }
1253
- };
1354
+ var TO_STRING_TAG$3 = wellKnownSymbol$4('toStringTag');
1254
1355
 
1255
- // getting tag from ES6+ `Object.prototype.toString`
1256
- var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1257
- var O, tag, result;
1258
- return it === undefined ? 'Undefined' : it === null ? 'Null'
1259
- // @@toStringTag case
1260
- : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
1261
- // builtinTag case
1262
- : CORRECT_ARGUMENTS ? classofRaw(O)
1263
- // ES3 arguments fallback
1264
- : (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
1356
+ var setToStringTag$2 = function (it, TAG, STATIC) {
1357
+ if (it && !hasOwn(it = STATIC ? it : it.prototype, TO_STRING_TAG$3)) {
1358
+ defineProperty(it, TO_STRING_TAG$3, { configurable: true, value: TAG });
1359
+ }
1265
1360
  };
1266
1361
 
1267
- var uncurryThis$3 = functionUncurryThis;
1268
- var fails$2 = fails$a;
1269
- var isCallable = isCallable$b;
1270
- var classof$1 = classof$2;
1271
- var getBuiltIn = getBuiltIn$4;
1272
- var inspectSource = inspectSource$3;
1362
+ var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1363
+ var create = objectCreate;
1364
+ var createPropertyDescriptor = createPropertyDescriptor$3;
1365
+ var setToStringTag$1 = setToStringTag$2;
1366
+ var Iterators$2 = iterators;
1273
1367
 
1274
- var noop = function () { /* empty */ };
1275
- var empty = [];
1276
- var construct = getBuiltIn('Reflect', 'construct');
1277
- var constructorRegExp = /^\s*(?:class|function)\b/;
1278
- var exec$1 = uncurryThis$3(constructorRegExp.exec);
1279
- var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
1368
+ var returnThis$1 = function () { return this; };
1280
1369
 
1281
- var isConstructorModern = function (argument) {
1282
- if (!isCallable(argument)) return false;
1283
- try {
1284
- construct(noop, empty, argument);
1285
- return true;
1286
- } catch (error) {
1287
- return false;
1288
- }
1370
+ var createIteratorConstructor$1 = function (IteratorConstructor, NAME, next) {
1371
+ var TO_STRING_TAG = NAME + ' Iterator';
1372
+ IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(1, next) });
1373
+ setToStringTag$1(IteratorConstructor, TO_STRING_TAG, false);
1374
+ Iterators$2[TO_STRING_TAG] = returnThis$1;
1375
+ return IteratorConstructor;
1289
1376
  };
1290
1377
 
1291
- var isConstructorLegacy = function (argument) {
1292
- if (!isCallable(argument)) return false;
1293
- switch (classof$1(argument)) {
1294
- case 'AsyncFunction':
1295
- case 'GeneratorFunction':
1296
- case 'AsyncGeneratorFunction': return false;
1297
- // we can't check .prototype since constructors produced by .bind haven't it
1298
- } return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument));
1299
- };
1300
-
1301
- // `IsConstructor` abstract operation
1302
- // https://tc39.es/ecma262/#sec-isconstructor
1303
- var isConstructor$1 = !construct || fails$2(function () {
1304
- var called;
1305
- return isConstructorModern(isConstructorModern.call)
1306
- || !isConstructorModern(Object)
1307
- || !isConstructorModern(function () { called = true; })
1308
- || called;
1309
- }) ? isConstructorLegacy : isConstructorModern;
1310
-
1311
- var global$3 = global$p;
1312
- var isArray = isArray$1;
1313
- var isConstructor = isConstructor$1;
1314
- var isObject = isObject$6;
1315
- var wellKnownSymbol$1 = wellKnownSymbol$5;
1316
-
1317
- var SPECIES$1 = wellKnownSymbol$1('species');
1318
- var Array$1 = global$3.Array;
1319
-
1320
- // a part of `ArraySpeciesCreate` abstract operation
1321
- // https://tc39.es/ecma262/#sec-arrayspeciescreate
1322
- var arraySpeciesConstructor$1 = function (originalArray) {
1323
- var C;
1324
- if (isArray(originalArray)) {
1325
- C = originalArray.constructor;
1326
- // cross-realm fallback
1327
- if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
1328
- else if (isObject(C)) {
1329
- C = C[SPECIES$1];
1330
- if (C === null) C = undefined;
1331
- }
1332
- } return C === undefined ? Array$1 : C;
1333
- };
1378
+ var global$5 = global$r;
1379
+ var isCallable$2 = isCallable$e;
1334
1380
 
1335
- var arraySpeciesConstructor = arraySpeciesConstructor$1;
1381
+ var String$2 = global$5.String;
1382
+ var TypeError$1 = global$5.TypeError;
1336
1383
 
1337
- // `ArraySpeciesCreate` abstract operation
1338
- // https://tc39.es/ecma262/#sec-arrayspeciescreate
1339
- var arraySpeciesCreate$1 = function (originalArray, length) {
1340
- return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
1384
+ var aPossiblePrototype$1 = function (argument) {
1385
+ if (typeof argument == 'object' || isCallable$2(argument)) return argument;
1386
+ throw TypeError$1("Can't set " + String$2(argument) + ' as a prototype');
1341
1387
  };
1342
1388
 
1343
- var bind = functionBindContext;
1389
+ /* eslint-disable no-proto -- safe */
1390
+
1344
1391
  var uncurryThis$2 = functionUncurryThis;
1345
- var IndexedObject = indexedObject;
1346
- var toObject = toObject$3;
1347
- var lengthOfArrayLike = lengthOfArrayLike$2;
1348
- var arraySpeciesCreate = arraySpeciesCreate$1;
1349
-
1350
- var push = uncurryThis$2([].push);
1351
-
1352
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
1353
- var createMethod$1 = function (TYPE) {
1354
- var IS_MAP = TYPE == 1;
1355
- var IS_FILTER = TYPE == 2;
1356
- var IS_SOME = TYPE == 3;
1357
- var IS_EVERY = TYPE == 4;
1358
- var IS_FIND_INDEX = TYPE == 6;
1359
- var IS_FILTER_REJECT = TYPE == 7;
1360
- var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
1361
- return function ($this, callbackfn, that, specificCreate) {
1362
- var O = toObject($this);
1363
- var self = IndexedObject(O);
1364
- var boundFunction = bind(callbackfn, that);
1365
- var length = lengthOfArrayLike(self);
1366
- var index = 0;
1367
- var create = specificCreate || arraySpeciesCreate;
1368
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
1369
- var value, result;
1370
- for (;length > index; index++) if (NO_HOLES || index in self) {
1371
- value = self[index];
1372
- result = boundFunction(value, index, O);
1373
- if (TYPE) {
1374
- if (IS_MAP) target[index] = result; // map
1375
- else if (result) switch (TYPE) {
1376
- case 3: return true; // some
1377
- case 5: return value; // find
1378
- case 6: return index; // findIndex
1379
- case 2: push(target, value); // filter
1380
- } else switch (TYPE) {
1381
- case 4: return false; // every
1382
- case 7: push(target, value); // filterReject
1392
+ var anObject = anObject$5;
1393
+ var aPossiblePrototype = aPossiblePrototype$1;
1394
+
1395
+ // `Object.setPrototypeOf` method
1396
+ // https://tc39.es/ecma262/#sec-object.setprototypeof
1397
+ // Works with __proto__ only. Old v8 can't work with null proto objects.
1398
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
1399
+ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
1400
+ var CORRECT_SETTER = false;
1401
+ var test = {};
1402
+ var setter;
1403
+ try {
1404
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1405
+ setter = uncurryThis$2(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1406
+ setter(test, []);
1407
+ CORRECT_SETTER = test instanceof Array;
1408
+ } catch (error) { /* empty */ }
1409
+ return function setPrototypeOf(O, proto) {
1410
+ anObject(O);
1411
+ aPossiblePrototype(proto);
1412
+ if (CORRECT_SETTER) setter(O, proto);
1413
+ else O.__proto__ = proto;
1414
+ return O;
1415
+ };
1416
+ }() : undefined);
1417
+
1418
+ var $$1 = _export;
1419
+ var call = functionCall;
1420
+ var FunctionName = functionName;
1421
+ var isCallable$1 = isCallable$e;
1422
+ var createIteratorConstructor = createIteratorConstructor$1;
1423
+ var getPrototypeOf = objectGetPrototypeOf;
1424
+ var setPrototypeOf = objectSetPrototypeOf;
1425
+ var setToStringTag = setToStringTag$2;
1426
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
1427
+ var redefine = redefine$3.exports;
1428
+ var wellKnownSymbol$3 = wellKnownSymbol$8;
1429
+ var Iterators$1 = iterators;
1430
+ var IteratorsCore = iteratorsCore;
1431
+
1432
+ var PROPER_FUNCTION_NAME = FunctionName.PROPER;
1433
+ var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1434
+ var IteratorPrototype = IteratorsCore.IteratorPrototype;
1435
+ var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1436
+ var ITERATOR$2 = wellKnownSymbol$3('iterator');
1437
+ var KEYS = 'keys';
1438
+ var VALUES = 'values';
1439
+ var ENTRIES = 'entries';
1440
+
1441
+ var returnThis = function () { return this; };
1442
+
1443
+ var defineIterator$1 = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
1444
+ createIteratorConstructor(IteratorConstructor, NAME, next);
1445
+
1446
+ var getIterationMethod = function (KIND) {
1447
+ if (KIND === DEFAULT && defaultIterator) return defaultIterator;
1448
+ if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
1449
+ switch (KIND) {
1450
+ case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
1451
+ case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
1452
+ case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
1453
+ } return function () { return new IteratorConstructor(this); };
1454
+ };
1455
+
1456
+ var TO_STRING_TAG = NAME + ' Iterator';
1457
+ var INCORRECT_VALUES_NAME = false;
1458
+ var IterablePrototype = Iterable.prototype;
1459
+ var nativeIterator = IterablePrototype[ITERATOR$2]
1460
+ || IterablePrototype['@@iterator']
1461
+ || DEFAULT && IterablePrototype[DEFAULT];
1462
+ var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
1463
+ var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
1464
+ var CurrentIteratorPrototype, methods, KEY;
1465
+
1466
+ // fix native
1467
+ if (anyNativeIterator) {
1468
+ CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
1469
+ if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
1470
+ if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
1471
+ if (setPrototypeOf) {
1472
+ setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
1473
+ } else if (!isCallable$1(CurrentIteratorPrototype[ITERATOR$2])) {
1474
+ redefine(CurrentIteratorPrototype, ITERATOR$2, returnThis);
1383
1475
  }
1384
1476
  }
1477
+ // Set @@toStringTag to native iterators
1478
+ setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true);
1385
1479
  }
1386
- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
1387
- };
1388
- };
1480
+ }
1389
1481
 
1390
- var arrayIteration = {
1391
- // `Array.prototype.forEach` method
1392
- // https://tc39.es/ecma262/#sec-array.prototype.foreach
1393
- forEach: createMethod$1(0),
1394
- // `Array.prototype.map` method
1395
- // https://tc39.es/ecma262/#sec-array.prototype.map
1396
- map: createMethod$1(1),
1397
- // `Array.prototype.filter` method
1398
- // https://tc39.es/ecma262/#sec-array.prototype.filter
1399
- filter: createMethod$1(2),
1400
- // `Array.prototype.some` method
1401
- // https://tc39.es/ecma262/#sec-array.prototype.some
1402
- some: createMethod$1(3),
1403
- // `Array.prototype.every` method
1404
- // https://tc39.es/ecma262/#sec-array.prototype.every
1405
- every: createMethod$1(4),
1406
- // `Array.prototype.find` method
1407
- // https://tc39.es/ecma262/#sec-array.prototype.find
1408
- find: createMethod$1(5),
1409
- // `Array.prototype.findIndex` method
1410
- // https://tc39.es/ecma262/#sec-array.prototype.findIndex
1411
- findIndex: createMethod$1(6),
1412
- // `Array.prototype.filterReject` method
1413
- // https://github.com/tc39/proposal-array-filtering
1414
- filterReject: createMethod$1(7)
1415
- };
1416
-
1417
- var fails$1 = fails$a;
1418
- var wellKnownSymbol = wellKnownSymbol$5;
1419
- var V8_VERSION = engineV8Version;
1482
+ // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
1483
+ if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1484
+ if (CONFIGURABLE_FUNCTION_NAME) {
1485
+ createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
1486
+ } else {
1487
+ INCORRECT_VALUES_NAME = true;
1488
+ defaultIterator = function values() { return call(nativeIterator, this); };
1489
+ }
1490
+ }
1420
1491
 
1421
- var SPECIES = wellKnownSymbol('species');
1422
-
1423
- var arrayMethodHasSpeciesSupport$2 = function (METHOD_NAME) {
1424
- // We can't use this feature detection in V8 since it causes
1425
- // deoptimization and serious performance degradation
1426
- // https://github.com/zloirock/core-js/issues/677
1427
- return V8_VERSION >= 51 || !fails$1(function () {
1428
- var array = [];
1429
- var constructor = array.constructor = {};
1430
- constructor[SPECIES] = function () {
1431
- return { foo: 1 };
1492
+ // export additional methods
1493
+ if (DEFAULT) {
1494
+ methods = {
1495
+ values: getIterationMethod(VALUES),
1496
+ keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
1497
+ entries: getIterationMethod(ENTRIES)
1432
1498
  };
1433
- return array[METHOD_NAME](Boolean).foo !== 1;
1434
- });
1435
- };
1499
+ if (FORCED) for (KEY in methods) {
1500
+ if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1501
+ redefine(IterablePrototype, KEY, methods[KEY]);
1502
+ }
1503
+ } else $$1({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1504
+ }
1436
1505
 
1437
- var $$2 = _export;
1438
- var $map = arrayIteration.map;
1439
- var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$2;
1506
+ // define iterator
1507
+ if (IterablePrototype[ITERATOR$2] !== defaultIterator) {
1508
+ redefine(IterablePrototype, ITERATOR$2, defaultIterator, { name: DEFAULT });
1509
+ }
1510
+ Iterators$1[NAME] = defaultIterator;
1440
1511
 
1441
- var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('map');
1512
+ return methods;
1513
+ };
1442
1514
 
1443
- // `Array.prototype.map` method
1444
- // https://tc39.es/ecma262/#sec-array.prototype.map
1445
- // with adding support of @@species
1446
- $$2({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
1447
- map: function map(callbackfn /* , thisArg */) {
1448
- return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1515
+ var toIndexedObject = toIndexedObject$5;
1516
+ var addToUnscopables = addToUnscopables$1;
1517
+ var Iterators = iterators;
1518
+ var InternalStateModule = internalState;
1519
+ var defineIterator = defineIterator$1;
1520
+
1521
+ var ARRAY_ITERATOR = 'Array Iterator';
1522
+ var setInternalState = InternalStateModule.set;
1523
+ var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
1524
+
1525
+ // `Array.prototype.entries` method
1526
+ // https://tc39.es/ecma262/#sec-array.prototype.entries
1527
+ // `Array.prototype.keys` method
1528
+ // https://tc39.es/ecma262/#sec-array.prototype.keys
1529
+ // `Array.prototype.values` method
1530
+ // https://tc39.es/ecma262/#sec-array.prototype.values
1531
+ // `Array.prototype[@@iterator]` method
1532
+ // https://tc39.es/ecma262/#sec-array.prototype-@@iterator
1533
+ // `CreateArrayIterator` internal method
1534
+ // https://tc39.es/ecma262/#sec-createarrayiterator
1535
+ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
1536
+ setInternalState(this, {
1537
+ type: ARRAY_ITERATOR,
1538
+ target: toIndexedObject(iterated), // target
1539
+ index: 0, // next index
1540
+ kind: kind // kind
1541
+ });
1542
+ // `%ArrayIteratorPrototype%.next` method
1543
+ // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
1544
+ }, function () {
1545
+ var state = getInternalState(this);
1546
+ var target = state.target;
1547
+ var kind = state.kind;
1548
+ var index = state.index++;
1549
+ if (!target || index >= target.length) {
1550
+ state.target = undefined;
1551
+ return { value: undefined, done: true };
1449
1552
  }
1450
- });
1451
-
1452
- var $$1 = _export;
1453
- var $filter = arrayIteration.filter;
1454
- var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$2;
1553
+ if (kind == 'keys') return { value: index, done: false };
1554
+ if (kind == 'values') return { value: target[index], done: false };
1555
+ return { value: [index, target[index]], done: false };
1556
+ }, 'values');
1557
+
1558
+ // argumentsList[@@iterator] is %ArrayProto_values%
1559
+ // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
1560
+ // https://tc39.es/ecma262/#sec-createmappedargumentsobject
1561
+ Iterators.Arguments = Iterators.Array;
1562
+
1563
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1564
+ addToUnscopables('keys');
1565
+ addToUnscopables('values');
1566
+ addToUnscopables('entries');
1567
+
1568
+ // iterable DOM collections
1569
+ // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
1570
+ var domIterables = {
1571
+ CSSRuleList: 0,
1572
+ CSSStyleDeclaration: 0,
1573
+ CSSValueList: 0,
1574
+ ClientRectList: 0,
1575
+ DOMRectList: 0,
1576
+ DOMStringList: 0,
1577
+ DOMTokenList: 1,
1578
+ DataTransferItemList: 0,
1579
+ FileList: 0,
1580
+ HTMLAllCollection: 0,
1581
+ HTMLCollection: 0,
1582
+ HTMLFormElement: 0,
1583
+ HTMLSelectElement: 0,
1584
+ MediaList: 0,
1585
+ MimeTypeArray: 0,
1586
+ NamedNodeMap: 0,
1587
+ NodeList: 1,
1588
+ PaintRequestList: 0,
1589
+ Plugin: 0,
1590
+ PluginArray: 0,
1591
+ SVGLengthList: 0,
1592
+ SVGNumberList: 0,
1593
+ SVGPathSegList: 0,
1594
+ SVGPointList: 0,
1595
+ SVGStringList: 0,
1596
+ SVGTransformList: 0,
1597
+ SourceBufferList: 0,
1598
+ StyleSheetList: 0,
1599
+ TextTrackCueList: 0,
1600
+ TextTrackList: 0,
1601
+ TouchList: 0
1602
+ };
1603
+
1604
+ // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
1605
+ var documentCreateElement = documentCreateElement$2;
1606
+
1607
+ var classList = documentCreateElement('span').classList;
1608
+ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
1609
+
1610
+ var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1611
+
1612
+ var global$4 = global$r;
1613
+ var DOMIterables = domIterables;
1614
+ var DOMTokenListPrototype = domTokenListPrototype;
1615
+ var ArrayIteratorMethods = es_array_iterator;
1616
+ var createNonEnumerableProperty = createNonEnumerableProperty$5;
1617
+ var wellKnownSymbol$2 = wellKnownSymbol$8;
1618
+
1619
+ var ITERATOR$1 = wellKnownSymbol$2('iterator');
1620
+ var TO_STRING_TAG$2 = wellKnownSymbol$2('toStringTag');
1621
+ var ArrayValues = ArrayIteratorMethods.values;
1622
+
1623
+ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1624
+ if (CollectionPrototype) {
1625
+ // some Chrome versions have non-configurable methods on DOMTokenList
1626
+ if (CollectionPrototype[ITERATOR$1] !== ArrayValues) try {
1627
+ createNonEnumerableProperty(CollectionPrototype, ITERATOR$1, ArrayValues);
1628
+ } catch (error) {
1629
+ CollectionPrototype[ITERATOR$1] = ArrayValues;
1630
+ }
1631
+ if (!CollectionPrototype[TO_STRING_TAG$2]) {
1632
+ createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG$2, COLLECTION_NAME);
1633
+ }
1634
+ if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
1635
+ // some Chrome versions have non-configurable methods on DOMTokenList
1636
+ if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
1637
+ createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
1638
+ } catch (error) {
1639
+ CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
1640
+ }
1641
+ }
1642
+ }
1643
+ };
1455
1644
 
1456
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
1645
+ for (var COLLECTION_NAME in DOMIterables) {
1646
+ handlePrototype(global$4[COLLECTION_NAME] && global$4[COLLECTION_NAME].prototype, COLLECTION_NAME);
1647
+ }
1457
1648
 
1458
- // `Array.prototype.filter` method
1459
- // https://tc39.es/ecma262/#sec-array.prototype.filter
1460
- // with adding support of @@species
1461
- $$1({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
1462
- filter: function filter(callbackfn /* , thisArg */) {
1463
- return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1464
- }
1465
- });
1649
+ handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1650
+
1651
+ function Alert({
1652
+ type,
1653
+ heading,
1654
+ children,
1655
+ closeText,
1656
+ isCloseable = true
1657
+ }) {
1658
+ const [closeButton, setCloseButton] = useState();
1659
+ useEffect(() => {
1660
+ if (!isCloseable) {
1661
+ setCloseButton(null);
1662
+ } else {
1663
+ if (closeText) setCloseButton(jsx(Button, {
1664
+ children: closeText
1665
+ }, void 0));else setCloseButton(jsx("button", {
1666
+ className: "close"
1667
+ }, void 0));
1668
+ }
1669
+ }, [isCloseable, closeText]);
1670
+ return jsxs("div", Object.assign({
1671
+ role: "alert",
1672
+ className: type
1673
+ }, {
1674
+ children: [heading && jsx("h3", {
1675
+ children: heading
1676
+ }, void 0), jsx("p", {
1677
+ children: children
1678
+ }, void 0), closeButton]
1679
+ }), void 0);
1680
+ }
1466
1681
 
1467
- var ButtonGroup = function ButtonGroup(_ref) {
1468
- var children = _ref.children,
1469
- selectedIndex = _ref.selectedIndex,
1470
- variant = _ref.variant;
1471
-
1472
- var _useState = useState(selectedIndex),
1473
- selected = _useState[0],
1474
- setSelected = _useState[1];
1475
-
1476
- var _useState2 = useState([]),
1477
- buttons = _useState2[0],
1478
- setButtons = _useState2[1];
1479
-
1480
- useEffect(function () {
1481
- var buttonProps = (children instanceof Array ? children : [children]).filter(function (b) {
1482
- return b && b.props;
1483
- }).map(function (b, ix) {
1484
- var bp = b.props;
1485
- var props = Object.assign(Object.assign({}, bp), {
1486
- variant: variant,
1487
- key: bp.key || "btn_" + ix,
1682
+ const ButtonGroup = ({
1683
+ children,
1684
+ selectedIndex,
1685
+ variant
1686
+ }) => {
1687
+ const [selected, setSelected] = useState(selectedIndex);
1688
+ const [buttons, setButtons] = useState([]);
1689
+ useEffect(() => {
1690
+ const buttonProps = (children instanceof Array ? children : [children]).filter(b => b && b.props).map((b, ix) => {
1691
+ const bp = b.props;
1692
+ const props = Object.assign(Object.assign({}, bp), {
1693
+ variant,
1694
+ key: bp.key || `btn_${ix}`,
1488
1695
  active: ix === selected,
1489
- onClick: function onClick(e) {
1696
+ onClick: e => {
1490
1697
  setSelected(ix);
1491
1698
  if (bp.onClick) bp.onClick(e);
1492
1699
  }
@@ -1496,27 +1703,64 @@ var ButtonGroup = function ButtonGroup(_ref) {
1496
1703
  setButtons(buttonProps);
1497
1704
  }, [children, selected, variant]);
1498
1705
  return jsx(Group, {
1499
- children: buttons.map(function (props) {
1500
- return jsx(Button, Object.assign({}, props), props.key);
1501
- })
1706
+ children: buttons.map(props => jsx(Button, Object.assign({}, props), props.key))
1502
1707
  }, void 0);
1503
1708
  };
1504
1709
 
1505
- function Form(_ref) {
1506
- var children = _ref.children,
1507
- _ref$direction = _ref.direction,
1508
- direction = _ref$direction === void 0 ? 'vertical' : _ref$direction,
1509
- _ref$size = _ref.size,
1510
- size = _ref$size === void 0 ? 'md' : _ref$size;
1710
+ function Form({
1711
+ children,
1712
+ direction = 'vertical',
1713
+ size = 'md'
1714
+ }) {
1511
1715
  return jsx("form", Object.assign({
1512
- className: [direction, "size-" + size].join(' ')
1716
+ className: [direction, `size-${size}`].join(' ')
1513
1717
  }, {
1514
1718
  children: children
1515
1719
  }), void 0);
1516
1720
  }
1517
1721
 
1518
- var global$2 = global$p;
1519
- var classof = classof$2;
1722
+ var wellKnownSymbol$1 = wellKnownSymbol$8;
1723
+
1724
+ var TO_STRING_TAG$1 = wellKnownSymbol$1('toStringTag');
1725
+ var test = {};
1726
+
1727
+ test[TO_STRING_TAG$1] = 'z';
1728
+
1729
+ var toStringTagSupport = String(test) === '[object z]';
1730
+
1731
+ var global$3 = global$r;
1732
+ var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1733
+ var isCallable = isCallable$e;
1734
+ var classofRaw = classofRaw$1;
1735
+ var wellKnownSymbol = wellKnownSymbol$8;
1736
+
1737
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
1738
+ var Object$1 = global$3.Object;
1739
+
1740
+ // ES3 wrong here
1741
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
1742
+
1743
+ // fallback for IE11 Script Access Denied error
1744
+ var tryGet = function (it, key) {
1745
+ try {
1746
+ return it[key];
1747
+ } catch (error) { /* empty */ }
1748
+ };
1749
+
1750
+ // getting tag from ES6+ `Object.prototype.toString`
1751
+ var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1752
+ var O, tag, result;
1753
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
1754
+ // @@toStringTag case
1755
+ : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
1756
+ // builtinTag case
1757
+ : CORRECT_ARGUMENTS ? classofRaw(O)
1758
+ // ES3 arguments fallback
1759
+ : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
1760
+ };
1761
+
1762
+ var global$2 = global$r;
1763
+ var classof = classof$1;
1520
1764
 
1521
1765
  var String$1 = global$2.String;
1522
1766
 
@@ -1561,8 +1805,8 @@ var stringTrim = {
1561
1805
  trim: createMethod(3)
1562
1806
  };
1563
1807
 
1564
- var global$1 = global$p;
1565
- var fails = fails$a;
1808
+ var global$1 = global$r;
1809
+ var fails = fails$9;
1566
1810
  var uncurryThis = functionUncurryThis;
1567
1811
  var toString = toString$2;
1568
1812
  var trim = stringTrim.trim;
@@ -1593,60 +1837,51 @@ $({ global: true, forced: parseInt != $parseInt }, {
1593
1837
  parseInt: $parseInt
1594
1838
  });
1595
1839
 
1596
- var useInput = function useInput(props, evaluator, notify) {
1597
- var id = useMemo(function () {
1598
- return props.id || randomId();
1599
- }, [props.id]);
1600
- var ref = useRef(null);
1601
-
1602
- var _useState = useState(props.value),
1603
- value = _useState[0],
1604
- setValue = _useState[1];
1605
-
1606
- var _useState2 = useState(props.checked),
1607
- checked = _useState2[0],
1608
- setChecked = _useState2[1];
1609
-
1610
- useEffect(function () {
1840
+ const useInput = (props, evaluator, notify) => {
1841
+ const id = useMemo(() => props.id || randomId(), [props.id]);
1842
+ const ref = useRef(null);
1843
+ const [value, setValue] = useState(props.value);
1844
+ const [checked, setChecked] = useState(props.checked);
1845
+ useEffect(() => {
1611
1846
  if (ref.current && ref.current.form) {
1612
- var resetListener = function resetListener() {
1847
+ const resetListener = () => {
1613
1848
  setValue(props.value);
1614
1849
  setChecked(props.checked);
1615
1850
  };
1616
1851
 
1617
- var form = ref.current.form;
1852
+ const form = ref.current.form;
1618
1853
  form.addEventListener('reset', resetListener);
1619
- return function () {
1620
- return form.removeEventListener('reset', resetListener);
1621
- };
1854
+ return () => form.removeEventListener('reset', resetListener);
1622
1855
  } else {
1623
1856
  // eslint-disable-next-line @typescript-eslint/no-empty-function
1624
- return function () {};
1857
+ return () => {};
1625
1858
  }
1626
1859
  }, [props]);
1627
1860
 
1628
- var onChange = function onChange(event) {
1861
+ const onChange = event => {
1629
1862
  setValue(event.target.value);
1630
1863
  setChecked(event.target.checked);
1631
1864
  if (notify) notify(evaluator(event.target));
1632
1865
  };
1633
1866
 
1634
1867
  return Object.assign(Object.assign({}, props), {
1635
- id: id,
1636
- ref: ref,
1637
- value: value,
1638
- checked: checked,
1639
- onChange: onChange
1868
+ id,
1869
+ ref,
1870
+ value,
1871
+ checked,
1872
+ onChange
1640
1873
  });
1641
1874
  };
1642
1875
 
1643
- var RenderInput = function RenderInput(type, props, evaluator, label, info, listener) {
1644
- var _a = useInput(props, evaluator, listener),
1645
- value = _a.value,
1646
- inputProps = __rest(_a, ["value"]);
1876
+ const RenderInput = (type, props, evaluator, label, info, listener) => {
1877
+ const _a = useInput(props, evaluator, listener),
1878
+ {
1879
+ value
1880
+ } = _a,
1881
+ inputProps = __rest(_a, ["value"]);
1647
1882
 
1648
- var propsWithDescription = info ? Object.assign(Object.assign({}, inputProps), {
1649
- 'aria-describedby': inputProps.id + "_info"
1883
+ const propsWithDescription = info ? Object.assign(Object.assign({}, inputProps), {
1884
+ 'aria-describedby': `${inputProps.id}_info`
1650
1885
  }) : inputProps;
1651
1886
  return jsxs("div", Object.assign({
1652
1887
  className: "form-field"
@@ -1667,44 +1902,44 @@ var RenderInput = function RenderInput(type, props, evaluator, label, info, list
1667
1902
  }), void 0);
1668
1903
  };
1669
1904
 
1670
- var TextInput = function TextInput(_a) {
1671
- var label = _a.label,
1672
- info = _a.info,
1673
- onChangeText = _a.onChangeText,
1905
+ const TextInput = _a => {
1906
+ var {
1907
+ label,
1908
+ info,
1909
+ onChangeText
1910
+ } = _a,
1674
1911
  props = __rest(_a, ["label", "info", "onChangeText"]);
1675
1912
 
1676
- return RenderInput('text', props, function (e) {
1677
- return e.value;
1678
- }, label, info, onChangeText);
1913
+ return RenderInput('text', props, e => e.value, label, info, onChangeText);
1679
1914
  };
1680
- var EmailInput = function EmailInput(_a) {
1681
- var label = _a.label,
1682
- info = _a.info,
1683
- onChangeText = _a.onChangeText,
1915
+ const EmailInput = _a => {
1916
+ var {
1917
+ label,
1918
+ info,
1919
+ onChangeText
1920
+ } = _a,
1684
1921
  props = __rest(_a, ["label", "info", "onChangeText"]);
1685
1922
 
1686
- return RenderInput('email', props, function (e) {
1687
- return e.value;
1688
- }, label, info, onChangeText);
1923
+ return RenderInput('email', props, e => e.value, label, info, onChangeText);
1689
1924
  };
1690
- var NumberInput = function NumberInput(_a) {
1691
- var label = _a.label,
1692
- info = _a.info,
1693
- onChangeText = _a.onChangeText,
1925
+ const NumberInput = _a => {
1926
+ var {
1927
+ label,
1928
+ info,
1929
+ onChangeText
1930
+ } = _a,
1694
1931
  props = __rest(_a, ["label", "info", "onChangeText"]);
1695
1932
 
1696
- return RenderInput('number', props, function (e) {
1697
- return e.value.length ? parseInt(e.value, 10) : undefined;
1698
- }, label, info, onChangeText);
1933
+ return RenderInput('number', props, e => e.value.length ? parseInt(e.value, 10) : undefined, label, info, onChangeText);
1699
1934
  };
1700
- var Checkbox = function Checkbox(_a) {
1701
- var label = _a.label,
1702
- onChecked = _a.onChecked,
1935
+ const Checkbox = _a => {
1936
+ var {
1937
+ label,
1938
+ onChecked
1939
+ } = _a,
1703
1940
  props = __rest(_a, ["label", "onChecked"]);
1704
1941
 
1705
- var inputProps = useInput(props, function (e) {
1706
- return e.checked;
1707
- }, onChecked);
1942
+ const inputProps = useInput(props, e => e.checked, onChecked);
1708
1943
  return jsxs("label", Object.assign({
1709
1944
  htmlFor: inputProps.id,
1710
1945
  className: "form-control"