@janiscommerce/ui-web 1.5.0-beta.2 → 1.5.0-beta.4

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/dist/index.umd.js CHANGED
@@ -207,6 +207,61 @@
207
207
  }
208
208
  }
209
209
 
210
+ function _construct(Parent, args, Class) {
211
+ if (_isNativeReflectConstruct()) {
212
+ _construct = Reflect.construct;
213
+ } else {
214
+ _construct = function _construct(Parent, args, Class) {
215
+ var a = [null];
216
+ a.push.apply(a, args);
217
+ var Constructor = Function.bind.apply(Parent, a);
218
+ var instance = new Constructor();
219
+ if (Class) _setPrototypeOf(instance, Class.prototype);
220
+ return instance;
221
+ };
222
+ }
223
+
224
+ return _construct.apply(null, arguments);
225
+ }
226
+
227
+ function _isNativeFunction(fn) {
228
+ return Function.toString.call(fn).indexOf("[native code]") !== -1;
229
+ }
230
+
231
+ function _wrapNativeSuper(Class) {
232
+ var _cache = typeof Map === "function" ? new Map() : undefined;
233
+
234
+ _wrapNativeSuper = function _wrapNativeSuper(Class) {
235
+ if (Class === null || !_isNativeFunction(Class)) return Class;
236
+
237
+ if (typeof Class !== "function") {
238
+ throw new TypeError("Super expression must either be null or a function");
239
+ }
240
+
241
+ if (typeof _cache !== "undefined") {
242
+ if (_cache.has(Class)) return _cache.get(Class);
243
+
244
+ _cache.set(Class, Wrapper);
245
+ }
246
+
247
+ function Wrapper() {
248
+ return _construct(Class, arguments, _getPrototypeOf(this).constructor);
249
+ }
250
+
251
+ Wrapper.prototype = Object.create(Class.prototype, {
252
+ constructor: {
253
+ value: Wrapper,
254
+ enumerable: false,
255
+ writable: true,
256
+ configurable: true
257
+ }
258
+ });
259
+ return _setPrototypeOf(Wrapper, Class);
260
+ };
261
+
262
+ return _wrapNativeSuper(Class);
263
+ }
264
+
210
265
  function _objectWithoutPropertiesLoose(source, excluded) {
211
266
  if (source == null) return {};
212
267
  var target = {};
@@ -378,7 +433,7 @@
378
433
  };
379
434
 
380
435
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
381
- var global$T =
436
+ var global$R =
382
437
  // eslint-disable-next-line es/no-global-this -- safe
383
438
  check(typeof globalThis == 'object' && globalThis) ||
384
439
  check(typeof window == 'object' && window) ||
@@ -390,7 +445,7 @@
390
445
 
391
446
  var objectGetOwnPropertyDescriptor = {};
392
447
 
393
- var fails$q = function (exec) {
448
+ var fails$p = function (exec) {
394
449
  try {
395
450
  return !!exec();
396
451
  } catch (error) {
@@ -398,17 +453,17 @@
398
453
  }
399
454
  };
400
455
 
401
- var fails$p = fails$q;
456
+ var fails$o = fails$p;
402
457
 
403
458
  // Detect IE8's incomplete defineProperty implementation
404
- var descriptors = !fails$p(function () {
459
+ var descriptors = !fails$o(function () {
405
460
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
406
461
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
407
462
  });
408
463
 
409
- var fails$o = fails$q;
464
+ var fails$n = fails$p;
410
465
 
411
- var functionBindNative = !fails$o(function () {
466
+ var functionBindNative = !fails$n(function () {
412
467
  var test = (function () { /* empty */ }).bind();
413
468
  // eslint-disable-next-line no-prototype-builtins -- safe
414
469
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -452,35 +507,35 @@
452
507
  var FunctionPrototype$3 = Function.prototype;
453
508
  var bind$a = FunctionPrototype$3.bind;
454
509
  var call$g = FunctionPrototype$3.call;
455
- var uncurryThis$v = NATIVE_BIND$2 && bind$a.bind(call$g, call$g);
510
+ var uncurryThis$t = NATIVE_BIND$2 && bind$a.bind(call$g, call$g);
456
511
 
457
512
  var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
458
- return fn && uncurryThis$v(fn);
513
+ return fn && uncurryThis$t(fn);
459
514
  } : function (fn) {
460
515
  return fn && function () {
461
516
  return call$g.apply(fn, arguments);
462
517
  };
463
518
  };
464
519
 
465
- var uncurryThis$u = functionUncurryThis;
520
+ var uncurryThis$s = functionUncurryThis;
466
521
 
467
- var toString$c = uncurryThis$u({}.toString);
468
- var stringSlice$5 = uncurryThis$u(''.slice);
522
+ var toString$b = uncurryThis$s({}.toString);
523
+ var stringSlice$5 = uncurryThis$s(''.slice);
469
524
 
470
525
  var classofRaw$1 = function (it) {
471
- return stringSlice$5(toString$c(it), 8, -1);
526
+ return stringSlice$5(toString$b(it), 8, -1);
472
527
  };
473
528
 
474
- var global$S = global$T;
475
- var uncurryThis$t = functionUncurryThis;
476
- var fails$n = fails$q;
529
+ var global$Q = global$R;
530
+ var uncurryThis$r = functionUncurryThis;
531
+ var fails$m = fails$p;
477
532
  var classof$a = classofRaw$1;
478
533
 
479
- var Object$5 = global$S.Object;
480
- var split$3 = uncurryThis$t(''.split);
534
+ var Object$5 = global$Q.Object;
535
+ var split$3 = uncurryThis$r(''.split);
481
536
 
482
537
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
483
- var indexedObject = fails$n(function () {
538
+ var indexedObject = fails$m(function () {
484
539
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
485
540
  // eslint-disable-next-line no-prototype-builtins -- safe
486
541
  return !Object$5('z').propertyIsEnumerable(0);
@@ -488,23 +543,23 @@
488
543
  return classof$a(it) == 'String' ? split$3(it, '') : Object$5(it);
489
544
  } : Object$5;
490
545
 
491
- var global$R = global$T;
546
+ var global$P = global$R;
492
547
 
493
- var TypeError$m = global$R.TypeError;
548
+ var TypeError$l = global$P.TypeError;
494
549
 
495
550
  // `RequireObjectCoercible` abstract operation
496
551
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
497
552
  var requireObjectCoercible$8 = function (it) {
498
- if (it == undefined) throw TypeError$m("Can't call method on " + it);
553
+ if (it == undefined) throw TypeError$l("Can't call method on " + it);
499
554
  return it;
500
555
  };
501
556
 
502
557
  // toObject with fallback for non-array-like ES3 strings
503
- var IndexedObject$3 = indexedObject;
558
+ var IndexedObject$2 = indexedObject;
504
559
  var requireObjectCoercible$7 = requireObjectCoercible$8;
505
560
 
506
561
  var toIndexedObject$5 = function (it) {
507
- return IndexedObject$3(requireObjectCoercible$7(it));
562
+ return IndexedObject$2(requireObjectCoercible$7(it));
508
563
  };
509
564
 
510
565
  // `IsCallable` abstract operation
@@ -519,7 +574,7 @@
519
574
  return typeof it == 'object' ? it !== null : isCallable$j(it);
520
575
  };
521
576
 
522
- var global$Q = global$T;
577
+ var global$O = global$R;
523
578
  var isCallable$i = isCallable$k;
524
579
 
525
580
  var aFunction = function (argument) {
@@ -527,22 +582,22 @@
527
582
  };
528
583
 
529
584
  var getBuiltIn$8 = function (namespace, method) {
530
- return arguments.length < 2 ? aFunction(global$Q[namespace]) : global$Q[namespace] && global$Q[namespace][method];
585
+ return arguments.length < 2 ? aFunction(global$O[namespace]) : global$O[namespace] && global$O[namespace][method];
531
586
  };
532
587
 
533
- var uncurryThis$s = functionUncurryThis;
588
+ var uncurryThis$q = functionUncurryThis;
534
589
 
535
- var objectIsPrototypeOf = uncurryThis$s({}.isPrototypeOf);
590
+ var objectIsPrototypeOf = uncurryThis$q({}.isPrototypeOf);
536
591
 
537
592
  var getBuiltIn$7 = getBuiltIn$8;
538
593
 
539
594
  var engineUserAgent = getBuiltIn$7('navigator', 'userAgent') || '';
540
595
 
541
- var global$P = global$T;
596
+ var global$N = global$R;
542
597
  var userAgent$3 = engineUserAgent;
543
598
 
544
- var process$4 = global$P.process;
545
- var Deno = global$P.Deno;
599
+ var process$4 = global$N.process;
600
+ var Deno = global$N.Deno;
546
601
  var versions = process$4 && process$4.versions || Deno && Deno.version;
547
602
  var v8 = versions && versions.v8;
548
603
  var match, version;
@@ -569,10 +624,10 @@
569
624
  /* eslint-disable es/no-symbol -- required for testing */
570
625
 
571
626
  var V8_VERSION$3 = engineV8Version;
572
- var fails$m = fails$q;
627
+ var fails$l = fails$p;
573
628
 
574
629
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
575
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$m(function () {
630
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$l(function () {
576
631
  var symbol = Symbol();
577
632
  // Chrome 38 Symbol has incorrect toString conversion
578
633
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -589,13 +644,13 @@
589
644
  && !Symbol.sham
590
645
  && typeof Symbol.iterator == 'symbol';
591
646
 
592
- var global$O = global$T;
647
+ var global$M = global$R;
593
648
  var getBuiltIn$6 = getBuiltIn$8;
594
649
  var isCallable$h = isCallable$k;
595
650
  var isPrototypeOf$4 = objectIsPrototypeOf;
596
651
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
597
652
 
598
- var Object$4 = global$O.Object;
653
+ var Object$4 = global$M.Object;
599
654
 
600
655
  var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
601
656
  return typeof it == 'symbol';
@@ -604,9 +659,9 @@
604
659
  return isCallable$h($Symbol) && isPrototypeOf$4($Symbol.prototype, Object$4(it));
605
660
  };
606
661
 
607
- var global$N = global$T;
662
+ var global$L = global$R;
608
663
 
609
- var String$5 = global$N.String;
664
+ var String$5 = global$L.String;
610
665
 
611
666
  var tryToString$4 = function (argument) {
612
667
  try {
@@ -616,33 +671,33 @@
616
671
  }
617
672
  };
618
673
 
619
- var global$M = global$T;
674
+ var global$K = global$R;
620
675
  var isCallable$g = isCallable$k;
621
676
  var tryToString$3 = tryToString$4;
622
677
 
623
- var TypeError$l = global$M.TypeError;
678
+ var TypeError$k = global$K.TypeError;
624
679
 
625
680
  // `Assert: IsCallable(argument) is true`
626
- var aCallable$7 = function (argument) {
681
+ var aCallable$6 = function (argument) {
627
682
  if (isCallable$g(argument)) return argument;
628
- throw TypeError$l(tryToString$3(argument) + ' is not a function');
683
+ throw TypeError$k(tryToString$3(argument) + ' is not a function');
629
684
  };
630
685
 
631
- var aCallable$6 = aCallable$7;
686
+ var aCallable$5 = aCallable$6;
632
687
 
633
688
  // `GetMethod` abstract operation
634
689
  // https://tc39.es/ecma262/#sec-getmethod
635
690
  var getMethod$5 = function (V, P) {
636
691
  var func = V[P];
637
- return func == null ? undefined : aCallable$6(func);
692
+ return func == null ? undefined : aCallable$5(func);
638
693
  };
639
694
 
640
- var global$L = global$T;
695
+ var global$J = global$R;
641
696
  var call$f = functionCall;
642
697
  var isCallable$f = isCallable$k;
643
698
  var isObject$c = isObject$d;
644
699
 
645
- var TypeError$k = global$L.TypeError;
700
+ var TypeError$j = global$J.TypeError;
646
701
 
647
702
  // `OrdinaryToPrimitive` abstract operation
648
703
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
@@ -651,31 +706,31 @@
651
706
  if (pref === 'string' && isCallable$f(fn = input.toString) && !isObject$c(val = call$f(fn, input))) return val;
652
707
  if (isCallable$f(fn = input.valueOf) && !isObject$c(val = call$f(fn, input))) return val;
653
708
  if (pref !== 'string' && isCallable$f(fn = input.toString) && !isObject$c(val = call$f(fn, input))) return val;
654
- throw TypeError$k("Can't convert object to primitive value");
709
+ throw TypeError$j("Can't convert object to primitive value");
655
710
  };
656
711
 
657
712
  var shared$4 = {exports: {}};
658
713
 
659
714
  var isPure = false;
660
715
 
661
- var global$K = global$T;
716
+ var global$I = global$R;
662
717
 
663
718
  // eslint-disable-next-line es/no-object-defineproperty -- safe
664
719
  var defineProperty$5 = Object.defineProperty;
665
720
 
666
721
  var setGlobal$3 = function (key, value) {
667
722
  try {
668
- defineProperty$5(global$K, key, { value: value, configurable: true, writable: true });
723
+ defineProperty$5(global$I, key, { value: value, configurable: true, writable: true });
669
724
  } catch (error) {
670
- global$K[key] = value;
725
+ global$I[key] = value;
671
726
  } return value;
672
727
  };
673
728
 
674
- var global$J = global$T;
729
+ var global$H = global$R;
675
730
  var setGlobal$2 = setGlobal$3;
676
731
 
677
732
  var SHARED = '__core-js_shared__';
678
- var store$4 = global$J[SHARED] || setGlobal$2(SHARED, {});
733
+ var store$4 = global$H[SHARED] || setGlobal$2(SHARED, {});
679
734
 
680
735
  var sharedStore = store$4;
681
736
 
@@ -691,39 +746,39 @@
691
746
  source: 'https://github.com/zloirock/core-js'
692
747
  });
693
748
 
694
- var global$I = global$T;
749
+ var global$G = global$R;
695
750
  var requireObjectCoercible$6 = requireObjectCoercible$8;
696
751
 
697
- var Object$3 = global$I.Object;
752
+ var Object$3 = global$G.Object;
698
753
 
699
754
  // `ToObject` abstract operation
700
755
  // https://tc39.es/ecma262/#sec-toobject
701
- var toObject$9 = function (argument) {
756
+ var toObject$8 = function (argument) {
702
757
  return Object$3(requireObjectCoercible$6(argument));
703
758
  };
704
759
 
705
- var uncurryThis$r = functionUncurryThis;
706
- var toObject$8 = toObject$9;
760
+ var uncurryThis$p = functionUncurryThis;
761
+ var toObject$7 = toObject$8;
707
762
 
708
- var hasOwnProperty = uncurryThis$r({}.hasOwnProperty);
763
+ var hasOwnProperty = uncurryThis$p({}.hasOwnProperty);
709
764
 
710
765
  // `HasOwnProperty` abstract operation
711
766
  // https://tc39.es/ecma262/#sec-hasownproperty
712
767
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
713
- return hasOwnProperty(toObject$8(it), key);
768
+ return hasOwnProperty(toObject$7(it), key);
714
769
  };
715
770
 
716
- var uncurryThis$q = functionUncurryThis;
771
+ var uncurryThis$o = functionUncurryThis;
717
772
 
718
773
  var id$1 = 0;
719
774
  var postfix = Math.random();
720
- var toString$b = uncurryThis$q(1.0.toString);
775
+ var toString$a = uncurryThis$o(1.0.toString);
721
776
 
722
777
  var uid$2 = function (key) {
723
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$b(++id$1 + postfix, 36);
778
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$a(++id$1 + postfix, 36);
724
779
  };
725
780
 
726
- var global$H = global$T;
781
+ var global$F = global$R;
727
782
  var shared$3 = shared$4.exports;
728
783
  var hasOwn$c = hasOwnProperty_1;
729
784
  var uid$1 = uid$2;
@@ -731,15 +786,15 @@
731
786
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
732
787
 
733
788
  var WellKnownSymbolsStore = shared$3('wks');
734
- var Symbol$2 = global$H.Symbol;
735
- var symbolFor = Symbol$2 && Symbol$2['for'];
736
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
789
+ var Symbol$1 = global$F.Symbol;
790
+ var symbolFor = Symbol$1 && Symbol$1['for'];
791
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
737
792
 
738
793
  var wellKnownSymbol$m = function (name) {
739
794
  if (!hasOwn$c(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
740
795
  var description = 'Symbol.' + name;
741
- if (NATIVE_SYMBOL && hasOwn$c(Symbol$2, name)) {
742
- WellKnownSymbolsStore[name] = Symbol$2[name];
796
+ if (NATIVE_SYMBOL && hasOwn$c(Symbol$1, name)) {
797
+ WellKnownSymbolsStore[name] = Symbol$1[name];
743
798
  } else if (USE_SYMBOL_AS_UID && symbolFor) {
744
799
  WellKnownSymbolsStore[name] = symbolFor(description);
745
800
  } else {
@@ -748,7 +803,7 @@
748
803
  } return WellKnownSymbolsStore[name];
749
804
  };
750
805
 
751
- var global$G = global$T;
806
+ var global$E = global$R;
752
807
  var call$e = functionCall;
753
808
  var isObject$b = isObject$d;
754
809
  var isSymbol$2 = isSymbol$3;
@@ -756,7 +811,7 @@
756
811
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
757
812
  var wellKnownSymbol$l = wellKnownSymbol$m;
758
813
 
759
- var TypeError$j = global$G.TypeError;
814
+ var TypeError$i = global$E.TypeError;
760
815
  var TO_PRIMITIVE = wellKnownSymbol$l('toPrimitive');
761
816
 
762
817
  // `ToPrimitive` abstract operation
@@ -769,7 +824,7 @@
769
824
  if (pref === undefined) pref = 'default';
770
825
  result = call$e(exoticToPrim, input, pref);
771
826
  if (!isObject$b(result) || isSymbol$2(result)) return result;
772
- throw TypeError$j("Can't convert object to primitive value");
827
+ throw TypeError$i("Can't convert object to primitive value");
773
828
  }
774
829
  if (pref === undefined) pref = 'number';
775
830
  return ordinaryToPrimitive(input, pref);
@@ -785,10 +840,10 @@
785
840
  return isSymbol$1(key) ? key : key + '';
786
841
  };
787
842
 
788
- var global$F = global$T;
843
+ var global$D = global$R;
789
844
  var isObject$a = isObject$d;
790
845
 
791
- var document$3 = global$F.document;
846
+ var document$3 = global$D.document;
792
847
  // typeof document.createElement is 'object' in old IE
793
848
  var EXISTS$1 = isObject$a(document$3) && isObject$a(document$3.createElement);
794
849
 
@@ -797,11 +852,11 @@
797
852
  };
798
853
 
799
854
  var DESCRIPTORS$c = descriptors;
800
- var fails$l = fails$q;
855
+ var fails$k = fails$p;
801
856
  var createElement$1 = documentCreateElement$2;
802
857
 
803
858
  // Thanks to IE8 for its funny defineProperty
804
- var ie8DomDefine = !DESCRIPTORS$c && !fails$l(function () {
859
+ var ie8DomDefine = !DESCRIPTORS$c && !fails$k(function () {
805
860
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
806
861
  return Object.defineProperty(createElement$1('div'), 'a', {
807
862
  get: function () { return 7; }
@@ -834,11 +889,11 @@
834
889
  var objectDefineProperty = {};
835
890
 
836
891
  var DESCRIPTORS$a = descriptors;
837
- var fails$k = fails$q;
892
+ var fails$j = fails$p;
838
893
 
839
894
  // V8 ~ Chrome 36-
840
895
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
841
- var v8PrototypeDefineBug = DESCRIPTORS$a && fails$k(function () {
896
+ var v8PrototypeDefineBug = DESCRIPTORS$a && fails$j(function () {
842
897
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
843
898
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
844
899
  value: 42,
@@ -846,26 +901,26 @@
846
901
  }).prototype != 42;
847
902
  });
848
903
 
849
- var global$E = global$T;
904
+ var global$C = global$R;
850
905
  var isObject$9 = isObject$d;
851
906
 
852
- var String$4 = global$E.String;
853
- var TypeError$i = global$E.TypeError;
907
+ var String$4 = global$C.String;
908
+ var TypeError$h = global$C.TypeError;
854
909
 
855
910
  // `Assert: Type(argument) is Object`
856
911
  var anObject$h = function (argument) {
857
912
  if (isObject$9(argument)) return argument;
858
- throw TypeError$i(String$4(argument) + ' is not an object');
913
+ throw TypeError$h(String$4(argument) + ' is not an object');
859
914
  };
860
915
 
861
- var global$D = global$T;
916
+ var global$B = global$R;
862
917
  var DESCRIPTORS$9 = descriptors;
863
918
  var IE8_DOM_DEFINE = ie8DomDefine;
864
919
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
865
920
  var anObject$g = anObject$h;
866
921
  var toPropertyKey$1 = toPropertyKey$3;
867
922
 
868
- var TypeError$h = global$D.TypeError;
923
+ var TypeError$g = global$B.TypeError;
869
924
  // eslint-disable-next-line es/no-object-defineproperty -- safe
870
925
  var $defineProperty = Object.defineProperty;
871
926
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -898,7 +953,7 @@
898
953
  if (IE8_DOM_DEFINE) try {
899
954
  return $defineProperty(O, P, Attributes);
900
955
  } catch (error) { /* empty */ }
901
- if ('get' in Attributes || 'set' in Attributes) throw TypeError$h('Accessors not supported');
956
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$g('Accessors not supported');
902
957
  if ('value' in Attributes) O[P] = Attributes.value;
903
958
  return O;
904
959
  };
@@ -916,11 +971,11 @@
916
971
 
917
972
  var redefine$b = {exports: {}};
918
973
 
919
- var uncurryThis$p = functionUncurryThis;
974
+ var uncurryThis$n = functionUncurryThis;
920
975
  var isCallable$e = isCallable$k;
921
976
  var store$2 = sharedStore;
922
977
 
923
- var functionToString$1 = uncurryThis$p(Function.toString);
978
+ var functionToString$1 = uncurryThis$n(Function.toString);
924
979
 
925
980
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
926
981
  if (!isCallable$e(store$2.inspectSource)) {
@@ -931,11 +986,11 @@
931
986
 
932
987
  var inspectSource$4 = store$2.inspectSource;
933
988
 
934
- var global$C = global$T;
989
+ var global$A = global$R;
935
990
  var isCallable$d = isCallable$k;
936
991
  var inspectSource$3 = inspectSource$4;
937
992
 
938
- var WeakMap$1 = global$C.WeakMap;
993
+ var WeakMap$1 = global$A.WeakMap;
939
994
 
940
995
  var nativeWeakMap = isCallable$d(WeakMap$1) && /native code/.test(inspectSource$3(WeakMap$1));
941
996
 
@@ -951,8 +1006,8 @@
951
1006
  var hiddenKeys$4 = {};
952
1007
 
953
1008
  var NATIVE_WEAK_MAP = nativeWeakMap;
954
- var global$B = global$T;
955
- var uncurryThis$o = functionUncurryThis;
1009
+ var global$z = global$R;
1010
+ var uncurryThis$m = functionUncurryThis;
956
1011
  var isObject$8 = isObject$d;
957
1012
  var createNonEnumerableProperty$6 = createNonEnumerableProperty$7;
958
1013
  var hasOwn$a = hasOwnProperty_1;
@@ -961,8 +1016,8 @@
961
1016
  var hiddenKeys$3 = hiddenKeys$4;
962
1017
 
963
1018
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
964
- var TypeError$g = global$B.TypeError;
965
- var WeakMap = global$B.WeakMap;
1019
+ var TypeError$f = global$z.TypeError;
1020
+ var WeakMap = global$z.WeakMap;
966
1021
  var set$1, get, has;
967
1022
 
968
1023
  var enforce = function (it) {
@@ -973,18 +1028,18 @@
973
1028
  return function (it) {
974
1029
  var state;
975
1030
  if (!isObject$8(it) || (state = get(it)).type !== TYPE) {
976
- throw TypeError$g('Incompatible receiver, ' + TYPE + ' required');
1031
+ throw TypeError$f('Incompatible receiver, ' + TYPE + ' required');
977
1032
  } return state;
978
1033
  };
979
1034
  };
980
1035
 
981
1036
  if (NATIVE_WEAK_MAP || shared$1.state) {
982
1037
  var store$1 = shared$1.state || (shared$1.state = new WeakMap());
983
- var wmget = uncurryThis$o(store$1.get);
984
- var wmhas = uncurryThis$o(store$1.has);
985
- var wmset = uncurryThis$o(store$1.set);
1038
+ var wmget = uncurryThis$m(store$1.get);
1039
+ var wmhas = uncurryThis$m(store$1.has);
1040
+ var wmset = uncurryThis$m(store$1.set);
986
1041
  set$1 = function (it, metadata) {
987
- if (wmhas(store$1, it)) throw new TypeError$g(OBJECT_ALREADY_INITIALIZED);
1042
+ if (wmhas(store$1, it)) throw new TypeError$f(OBJECT_ALREADY_INITIALIZED);
988
1043
  metadata.facade = it;
989
1044
  wmset(store$1, it, metadata);
990
1045
  return metadata;
@@ -999,7 +1054,7 @@
999
1054
  var STATE = sharedKey$2('state');
1000
1055
  hiddenKeys$3[STATE] = true;
1001
1056
  set$1 = function (it, metadata) {
1002
- if (hasOwn$a(it, STATE)) throw new TypeError$g(OBJECT_ALREADY_INITIALIZED);
1057
+ if (hasOwn$a(it, STATE)) throw new TypeError$f(OBJECT_ALREADY_INITIALIZED);
1003
1058
  metadata.facade = it;
1004
1059
  createNonEnumerableProperty$6(it, STATE, metadata);
1005
1060
  return metadata;
@@ -1038,7 +1093,7 @@
1038
1093
  CONFIGURABLE: CONFIGURABLE
1039
1094
  };
1040
1095
 
1041
- var global$A = global$T;
1096
+ var global$y = global$R;
1042
1097
  var isCallable$c = isCallable$k;
1043
1098
  var hasOwn$8 = hasOwnProperty_1;
1044
1099
  var createNonEnumerableProperty$5 = createNonEnumerableProperty$7;
@@ -1069,7 +1124,7 @@
1069
1124
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
1070
1125
  }
1071
1126
  }
1072
- if (O === global$A) {
1127
+ if (O === global$y) {
1073
1128
  if (simple) O[key] = value;
1074
1129
  else setGlobal$1(key, value);
1075
1130
  return;
@@ -1125,19 +1180,19 @@
1125
1180
 
1126
1181
  // `LengthOfArrayLike` abstract operation
1127
1182
  // https://tc39.es/ecma262/#sec-lengthofarraylike
1128
- var lengthOfArrayLike$9 = function (obj) {
1183
+ var lengthOfArrayLike$8 = function (obj) {
1129
1184
  return toLength$2(obj.length);
1130
1185
  };
1131
1186
 
1132
1187
  var toIndexedObject$3 = toIndexedObject$5;
1133
1188
  var toAbsoluteIndex$1 = toAbsoluteIndex$2;
1134
- var lengthOfArrayLike$8 = lengthOfArrayLike$9;
1189
+ var lengthOfArrayLike$7 = lengthOfArrayLike$8;
1135
1190
 
1136
1191
  // `Array.prototype.{ indexOf, includes }` methods implementation
1137
- var createMethod$4 = function (IS_INCLUDES) {
1192
+ var createMethod$3 = function (IS_INCLUDES) {
1138
1193
  return function ($this, el, fromIndex) {
1139
1194
  var O = toIndexedObject$3($this);
1140
- var length = lengthOfArrayLike$8(O);
1195
+ var length = lengthOfArrayLike$7(O);
1141
1196
  var index = toAbsoluteIndex$1(fromIndex, length);
1142
1197
  var value;
1143
1198
  // Array#includes uses SameValueZero equality algorithm
@@ -1156,19 +1211,19 @@
1156
1211
  var arrayIncludes = {
1157
1212
  // `Array.prototype.includes` method
1158
1213
  // https://tc39.es/ecma262/#sec-array.prototype.includes
1159
- includes: createMethod$4(true),
1214
+ includes: createMethod$3(true),
1160
1215
  // `Array.prototype.indexOf` method
1161
1216
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
1162
- indexOf: createMethod$4(false)
1217
+ indexOf: createMethod$3(false)
1163
1218
  };
1164
1219
 
1165
- var uncurryThis$n = functionUncurryThis;
1220
+ var uncurryThis$l = functionUncurryThis;
1166
1221
  var hasOwn$7 = hasOwnProperty_1;
1167
1222
  var toIndexedObject$2 = toIndexedObject$5;
1168
1223
  var indexOf$1 = arrayIncludes.indexOf;
1169
1224
  var hiddenKeys$2 = hiddenKeys$4;
1170
1225
 
1171
- var push$5 = uncurryThis$n([].push);
1226
+ var push$5 = uncurryThis$l([].push);
1172
1227
 
1173
1228
  var objectKeysInternal = function (object, names) {
1174
1229
  var O = toIndexedObject$2(object);
@@ -1212,12 +1267,12 @@
1212
1267
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1213
1268
 
1214
1269
  var getBuiltIn$5 = getBuiltIn$8;
1215
- var uncurryThis$m = functionUncurryThis;
1270
+ var uncurryThis$k = functionUncurryThis;
1216
1271
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1217
1272
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1218
1273
  var anObject$f = anObject$h;
1219
1274
 
1220
- var concat$1 = uncurryThis$m([].concat);
1275
+ var concat$1 = uncurryThis$k([].concat);
1221
1276
 
1222
1277
  // all object keys, includes non-enumerable and symbols
1223
1278
  var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
@@ -1243,7 +1298,7 @@
1243
1298
  }
1244
1299
  };
1245
1300
 
1246
- var fails$j = fails$q;
1301
+ var fails$i = fails$p;
1247
1302
  var isCallable$b = isCallable$k;
1248
1303
 
1249
1304
  var replacement = /#|\.prototype\./;
@@ -1252,7 +1307,7 @@
1252
1307
  var value = data[normalize(feature)];
1253
1308
  return value == POLYFILL ? true
1254
1309
  : value == NATIVE ? false
1255
- : isCallable$b(detection) ? fails$j(detection)
1310
+ : isCallable$b(detection) ? fails$i(detection)
1256
1311
  : !!detection;
1257
1312
  };
1258
1313
 
@@ -1266,7 +1321,7 @@
1266
1321
 
1267
1322
  var isForced_1 = isForced$3;
1268
1323
 
1269
- var global$z = global$T;
1324
+ var global$x = global$R;
1270
1325
  var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
1271
1326
  var createNonEnumerableProperty$4 = createNonEnumerableProperty$7;
1272
1327
  var redefine$a = redefine$b.exports;
@@ -1295,11 +1350,11 @@
1295
1350
  var STATIC = options.stat;
1296
1351
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1297
1352
  if (GLOBAL) {
1298
- target = global$z;
1353
+ target = global$x;
1299
1354
  } else if (STATIC) {
1300
- target = global$z[TARGET] || setGlobal(TARGET, {});
1355
+ target = global$x[TARGET] || setGlobal(TARGET, {});
1301
1356
  } else {
1302
- target = (global$z[TARGET] || {}).prototype;
1357
+ target = (global$x[TARGET] || {}).prototype;
1303
1358
  }
1304
1359
  if (target) for (key in source) {
1305
1360
  sourceProperty = source[key];
@@ -1350,14 +1405,14 @@
1350
1405
 
1351
1406
  var toStringTagSupport = String(test) === '[object z]';
1352
1407
 
1353
- var global$y = global$T;
1408
+ var global$w = global$R;
1354
1409
  var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
1355
1410
  var isCallable$a = isCallable$k;
1356
1411
  var classofRaw = classofRaw$1;
1357
1412
  var wellKnownSymbol$j = wellKnownSymbol$m;
1358
1413
 
1359
1414
  var TO_STRING_TAG$2 = wellKnownSymbol$j('toStringTag');
1360
- var Object$2 = global$y.Object;
1415
+ var Object$2 = global$w.Object;
1361
1416
 
1362
1417
  // ES3 wrong here
1363
1418
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
@@ -1381,8 +1436,8 @@
1381
1436
  : (result = classofRaw(O)) == 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
1382
1437
  };
1383
1438
 
1384
- var uncurryThis$l = functionUncurryThis;
1385
- var fails$i = fails$q;
1439
+ var uncurryThis$j = functionUncurryThis;
1440
+ var fails$h = fails$p;
1386
1441
  var isCallable$9 = isCallable$k;
1387
1442
  var classof$7 = classof$8;
1388
1443
  var getBuiltIn$4 = getBuiltIn$8;
@@ -1392,7 +1447,7 @@
1392
1447
  var empty = [];
1393
1448
  var construct = getBuiltIn$4('Reflect', 'construct');
1394
1449
  var constructorRegExp = /^\s*(?:class|function)\b/;
1395
- var exec$5 = uncurryThis$l(constructorRegExp.exec);
1450
+ var exec$4 = uncurryThis$j(constructorRegExp.exec);
1396
1451
  var INCORRECT_TO_STRING = !constructorRegExp.exec(noop$1);
1397
1452
 
1398
1453
  var isConstructorModern = function isConstructor(argument) {
@@ -1416,7 +1471,7 @@
1416
1471
  // we can't check .prototype since constructors produced by .bind haven't it
1417
1472
  // `Function#toString` throws on some built-it function in some legacy engines
1418
1473
  // (for example, `DOMQuad` and similar in FF41-)
1419
- return INCORRECT_TO_STRING || !!exec$5(constructorRegExp, inspectSource$1(argument));
1474
+ return INCORRECT_TO_STRING || !!exec$4(constructorRegExp, inspectSource$1(argument));
1420
1475
  } catch (error) {
1421
1476
  return true;
1422
1477
  }
@@ -1426,7 +1481,7 @@
1426
1481
 
1427
1482
  // `IsConstructor` abstract operation
1428
1483
  // https://tc39.es/ecma262/#sec-isconstructor
1429
- var isConstructor$3 = !construct || fails$i(function () {
1484
+ var isConstructor$3 = !construct || fails$h(function () {
1430
1485
  var called;
1431
1486
  return isConstructorModern(isConstructorModern.call)
1432
1487
  || !isConstructorModern(Object)
@@ -1434,14 +1489,14 @@
1434
1489
  || called;
1435
1490
  }) ? isConstructorLegacy : isConstructorModern;
1436
1491
 
1437
- var global$x = global$T;
1492
+ var global$v = global$R;
1438
1493
  var isArray$2 = isArray$3;
1439
1494
  var isConstructor$2 = isConstructor$3;
1440
1495
  var isObject$7 = isObject$d;
1441
1496
  var wellKnownSymbol$i = wellKnownSymbol$m;
1442
1497
 
1443
1498
  var SPECIES$5 = wellKnownSymbol$i('species');
1444
- var Array$3 = global$x.Array;
1499
+ var Array$3 = global$v.Array;
1445
1500
 
1446
1501
  // a part of `ArraySpeciesCreate` abstract operation
1447
1502
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
@@ -1466,7 +1521,7 @@
1466
1521
  return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
1467
1522
  };
1468
1523
 
1469
- var fails$h = fails$q;
1524
+ var fails$g = fails$p;
1470
1525
  var wellKnownSymbol$h = wellKnownSymbol$m;
1471
1526
  var V8_VERSION$2 = engineV8Version;
1472
1527
 
@@ -1476,7 +1531,7 @@
1476
1531
  // We can't use this feature detection in V8 since it causes
1477
1532
  // deoptimization and serious performance degradation
1478
1533
  // https://github.com/zloirock/core-js/issues/677
1479
- return V8_VERSION$2 >= 51 || !fails$h(function () {
1534
+ return V8_VERSION$2 >= 51 || !fails$g(function () {
1480
1535
  var array = [];
1481
1536
  var constructor = array.constructor = {};
1482
1537
  constructor[SPECIES$4] = function () {
@@ -1486,13 +1541,13 @@
1486
1541
  });
1487
1542
  };
1488
1543
 
1489
- var $$i = _export;
1490
- var global$w = global$T;
1491
- var fails$g = fails$q;
1544
+ var $$f = _export;
1545
+ var global$u = global$R;
1546
+ var fails$f = fails$p;
1492
1547
  var isArray$1 = isArray$3;
1493
1548
  var isObject$6 = isObject$d;
1494
- var toObject$7 = toObject$9;
1495
- var lengthOfArrayLike$7 = lengthOfArrayLike$9;
1549
+ var toObject$6 = toObject$8;
1550
+ var lengthOfArrayLike$6 = lengthOfArrayLike$8;
1496
1551
  var createProperty$2 = createProperty$3;
1497
1552
  var arraySpeciesCreate$2 = arraySpeciesCreate$3;
1498
1553
  var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$2;
@@ -1502,12 +1557,12 @@
1502
1557
  var IS_CONCAT_SPREADABLE = wellKnownSymbol$g('isConcatSpreadable');
1503
1558
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
1504
1559
  var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
1505
- var TypeError$f = global$w.TypeError;
1560
+ var TypeError$e = global$u.TypeError;
1506
1561
 
1507
1562
  // We can't use this feature detection in V8 since it causes
1508
1563
  // deoptimization and serious performance degradation
1509
1564
  // https://github.com/zloirock/core-js/issues/679
1510
- var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION$1 >= 51 || !fails$g(function () {
1565
+ var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION$1 >= 51 || !fails$f(function () {
1511
1566
  var array = [];
1512
1567
  array[IS_CONCAT_SPREADABLE] = false;
1513
1568
  return array.concat()[0] !== array;
@@ -1521,26 +1576,26 @@
1521
1576
  return spreadable !== undefined ? !!spreadable : isArray$1(O);
1522
1577
  };
1523
1578
 
1524
- var FORCED$2 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
1579
+ var FORCED$1 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
1525
1580
 
1526
1581
  // `Array.prototype.concat` method
1527
1582
  // https://tc39.es/ecma262/#sec-array.prototype.concat
1528
1583
  // with adding support of @@isConcatSpreadable and @@species
1529
- $$i({ target: 'Array', proto: true, forced: FORCED$2 }, {
1584
+ $$f({ target: 'Array', proto: true, forced: FORCED$1 }, {
1530
1585
  // eslint-disable-next-line no-unused-vars -- required for `.length`
1531
1586
  concat: function concat(arg) {
1532
- var O = toObject$7(this);
1587
+ var O = toObject$6(this);
1533
1588
  var A = arraySpeciesCreate$2(O, 0);
1534
1589
  var n = 0;
1535
1590
  var i, k, length, len, E;
1536
1591
  for (i = -1, length = arguments.length; i < length; i++) {
1537
1592
  E = i === -1 ? O : arguments[i];
1538
1593
  if (isConcatSpreadable(E)) {
1539
- len = lengthOfArrayLike$7(E);
1540
- if (n + len > MAX_SAFE_INTEGER) throw TypeError$f(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1594
+ len = lengthOfArrayLike$6(E);
1595
+ if (n + len > MAX_SAFE_INTEGER) throw TypeError$e(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1541
1596
  for (k = 0; k < len; k++, n++) if (k in E) createProperty$2(A, n, E[k]);
1542
1597
  } else {
1543
- if (n >= MAX_SAFE_INTEGER) throw TypeError$f(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1598
+ if (n >= MAX_SAFE_INTEGER) throw TypeError$e(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1544
1599
  createProperty$2(A, n++, E);
1545
1600
  }
1546
1601
  }
@@ -1783,30 +1838,30 @@
1783
1838
 
1784
1839
  var iterators = {};
1785
1840
 
1786
- var fails$f = fails$q;
1841
+ var fails$e = fails$p;
1787
1842
 
1788
- var correctPrototypeGetter = !fails$f(function () {
1843
+ var correctPrototypeGetter = !fails$e(function () {
1789
1844
  function F() { /* empty */ }
1790
1845
  F.prototype.constructor = null;
1791
1846
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1792
1847
  return Object.getPrototypeOf(new F()) !== F.prototype;
1793
1848
  });
1794
1849
 
1795
- var global$v = global$T;
1850
+ var global$t = global$R;
1796
1851
  var hasOwn$5 = hasOwnProperty_1;
1797
1852
  var isCallable$8 = isCallable$k;
1798
- var toObject$6 = toObject$9;
1853
+ var toObject$5 = toObject$8;
1799
1854
  var sharedKey = sharedKey$3;
1800
1855
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1801
1856
 
1802
1857
  var IE_PROTO = sharedKey('IE_PROTO');
1803
- var Object$1 = global$v.Object;
1858
+ var Object$1 = global$t.Object;
1804
1859
  var ObjectPrototype = Object$1.prototype;
1805
1860
 
1806
1861
  // `Object.getPrototypeOf` method
1807
1862
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1808
1863
  var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$1.getPrototypeOf : function (O) {
1809
- var object = toObject$6(O);
1864
+ var object = toObject$5(O);
1810
1865
  if (hasOwn$5(object, IE_PROTO)) return object[IE_PROTO];
1811
1866
  var constructor = object.constructor;
1812
1867
  if (isCallable$8(constructor) && object instanceof constructor) {
@@ -1814,13 +1869,13 @@
1814
1869
  } return object instanceof Object$1 ? ObjectPrototype : null;
1815
1870
  };
1816
1871
 
1817
- var fails$e = fails$q;
1872
+ var fails$d = fails$p;
1818
1873
  var isCallable$7 = isCallable$k;
1819
1874
  var getPrototypeOf$1 = objectGetPrototypeOf;
1820
1875
  var redefine$9 = redefine$b.exports;
1821
1876
  var wellKnownSymbol$e = wellKnownSymbol$m;
1822
1877
 
1823
- var ITERATOR$8 = wellKnownSymbol$e('iterator');
1878
+ var ITERATOR$7 = wellKnownSymbol$e('iterator');
1824
1879
  var BUGGY_SAFARI_ITERATORS$1 = false;
1825
1880
 
1826
1881
  // `%IteratorPrototype%` object
@@ -1838,18 +1893,18 @@
1838
1893
  }
1839
1894
  }
1840
1895
 
1841
- var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails$e(function () {
1896
+ var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails$d(function () {
1842
1897
  var test = {};
1843
1898
  // FF44- legacy iterators case
1844
- return IteratorPrototype$2[ITERATOR$8].call(test) !== test;
1899
+ return IteratorPrototype$2[ITERATOR$7].call(test) !== test;
1845
1900
  });
1846
1901
 
1847
1902
  if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1848
1903
 
1849
1904
  // `%IteratorPrototype%[@@iterator]()` method
1850
1905
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1851
- if (!isCallable$7(IteratorPrototype$2[ITERATOR$8])) {
1852
- redefine$9(IteratorPrototype$2, ITERATOR$8, function () {
1906
+ if (!isCallable$7(IteratorPrototype$2[ITERATOR$7])) {
1907
+ redefine$9(IteratorPrototype$2, ITERATOR$7, function () {
1853
1908
  return this;
1854
1909
  });
1855
1910
  }
@@ -1888,20 +1943,20 @@
1888
1943
  return IteratorConstructor;
1889
1944
  };
1890
1945
 
1891
- var global$u = global$T;
1946
+ var global$s = global$R;
1892
1947
  var isCallable$6 = isCallable$k;
1893
1948
 
1894
- var String$3 = global$u.String;
1895
- var TypeError$e = global$u.TypeError;
1949
+ var String$3 = global$s.String;
1950
+ var TypeError$d = global$s.TypeError;
1896
1951
 
1897
1952
  var aPossiblePrototype$1 = function (argument) {
1898
1953
  if (typeof argument == 'object' || isCallable$6(argument)) return argument;
1899
- throw TypeError$e("Can't set " + String$3(argument) + ' as a prototype');
1954
+ throw TypeError$d("Can't set " + String$3(argument) + ' as a prototype');
1900
1955
  };
1901
1956
 
1902
1957
  /* eslint-disable no-proto -- safe */
1903
1958
 
1904
- var uncurryThis$k = functionUncurryThis;
1959
+ var uncurryThis$i = functionUncurryThis;
1905
1960
  var anObject$c = anObject$h;
1906
1961
  var aPossiblePrototype = aPossiblePrototype$1;
1907
1962
 
@@ -1915,7 +1970,7 @@
1915
1970
  var setter;
1916
1971
  try {
1917
1972
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1918
- setter = uncurryThis$k(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1973
+ setter = uncurryThis$i(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1919
1974
  setter(test, []);
1920
1975
  CORRECT_SETTER = test instanceof Array;
1921
1976
  } catch (error) { /* empty */ }
@@ -1928,7 +1983,7 @@
1928
1983
  };
1929
1984
  }() : undefined);
1930
1985
 
1931
- var $$h = _export;
1986
+ var $$e = _export;
1932
1987
  var call$c = functionCall;
1933
1988
  var FunctionName = functionName;
1934
1989
  var isCallable$5 = isCallable$k;
@@ -1946,7 +2001,7 @@
1946
2001
  var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1947
2002
  var IteratorPrototype = IteratorsCore.IteratorPrototype;
1948
2003
  var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1949
- var ITERATOR$7 = wellKnownSymbol$c('iterator');
2004
+ var ITERATOR$6 = wellKnownSymbol$c('iterator');
1950
2005
  var KEYS = 'keys';
1951
2006
  var VALUES = 'values';
1952
2007
  var ENTRIES = 'entries';
@@ -1969,7 +2024,7 @@
1969
2024
  var TO_STRING_TAG = NAME + ' Iterator';
1970
2025
  var INCORRECT_VALUES_NAME = false;
1971
2026
  var IterablePrototype = Iterable.prototype;
1972
- var nativeIterator = IterablePrototype[ITERATOR$7]
2027
+ var nativeIterator = IterablePrototype[ITERATOR$6]
1973
2028
  || IterablePrototype['@@iterator']
1974
2029
  || DEFAULT && IterablePrototype[DEFAULT];
1975
2030
  var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
@@ -1983,8 +2038,8 @@
1983
2038
  if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
1984
2039
  if (setPrototypeOf$2) {
1985
2040
  setPrototypeOf$2(CurrentIteratorPrototype, IteratorPrototype);
1986
- } else if (!isCallable$5(CurrentIteratorPrototype[ITERATOR$7])) {
1987
- redefine$8(CurrentIteratorPrototype, ITERATOR$7, returnThis);
2041
+ } else if (!isCallable$5(CurrentIteratorPrototype[ITERATOR$6])) {
2042
+ redefine$8(CurrentIteratorPrototype, ITERATOR$6, returnThis);
1988
2043
  }
1989
2044
  }
1990
2045
  // Set @@toStringTag to native iterators
@@ -2013,12 +2068,12 @@
2013
2068
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
2014
2069
  redefine$8(IterablePrototype, KEY, methods[KEY]);
2015
2070
  }
2016
- } else $$h({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
2071
+ } else $$e({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
2017
2072
  }
2018
2073
 
2019
2074
  // define iterator
2020
- if (IterablePrototype[ITERATOR$7] !== defaultIterator) {
2021
- redefine$8(IterablePrototype, ITERATOR$7, defaultIterator, { name: DEFAULT });
2075
+ if (IterablePrototype[ITERATOR$6] !== defaultIterator) {
2076
+ redefine$8(IterablePrototype, ITERATOR$6, defaultIterator, { name: DEFAULT });
2022
2077
  }
2023
2078
  Iterators$3[NAME] = defaultIterator;
2024
2079
 
@@ -2096,12 +2151,12 @@
2096
2151
 
2097
2152
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
2098
2153
  var redefine$7 = redefine$b.exports;
2099
- var toString$a = objectToString;
2154
+ var toString$9 = objectToString;
2100
2155
 
2101
2156
  // `Object.prototype.toString` method
2102
2157
  // https://tc39.es/ecma262/#sec-object.prototype.tostring
2103
2158
  if (!TO_STRING_TAG_SUPPORT) {
2104
- redefine$7(Object.prototype, 'toString', toString$a, { unsafe: true });
2159
+ redefine$7(Object.prototype, 'toString', toString$9, { unsafe: true });
2105
2160
  }
2106
2161
 
2107
2162
  // iterable DOM collections
@@ -2148,24 +2203,24 @@
2148
2203
 
2149
2204
  var domTokenListPrototype = DOMTokenListPrototype$2 === Object.prototype ? undefined : DOMTokenListPrototype$2;
2150
2205
 
2151
- var global$t = global$T;
2206
+ var global$r = global$R;
2152
2207
  var DOMIterables$1 = domIterables;
2153
2208
  var DOMTokenListPrototype$1 = domTokenListPrototype;
2154
2209
  var ArrayIteratorMethods = es_array_iterator;
2155
2210
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$7;
2156
2211
  var wellKnownSymbol$b = wellKnownSymbol$m;
2157
2212
 
2158
- var ITERATOR$6 = wellKnownSymbol$b('iterator');
2213
+ var ITERATOR$5 = wellKnownSymbol$b('iterator');
2159
2214
  var TO_STRING_TAG = wellKnownSymbol$b('toStringTag');
2160
2215
  var ArrayValues = ArrayIteratorMethods.values;
2161
2216
 
2162
2217
  var handlePrototype$1 = function (CollectionPrototype, COLLECTION_NAME) {
2163
2218
  if (CollectionPrototype) {
2164
2219
  // some Chrome versions have non-configurable methods on DOMTokenList
2165
- if (CollectionPrototype[ITERATOR$6] !== ArrayValues) try {
2166
- createNonEnumerableProperty$2(CollectionPrototype, ITERATOR$6, ArrayValues);
2220
+ if (CollectionPrototype[ITERATOR$5] !== ArrayValues) try {
2221
+ createNonEnumerableProperty$2(CollectionPrototype, ITERATOR$5, ArrayValues);
2167
2222
  } catch (error) {
2168
- CollectionPrototype[ITERATOR$6] = ArrayValues;
2223
+ CollectionPrototype[ITERATOR$5] = ArrayValues;
2169
2224
  }
2170
2225
  if (!CollectionPrototype[TO_STRING_TAG]) {
2171
2226
  createNonEnumerableProperty$2(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
@@ -2182,17 +2237,17 @@
2182
2237
  };
2183
2238
 
2184
2239
  for (var COLLECTION_NAME$1 in DOMIterables$1) {
2185
- handlePrototype$1(global$t[COLLECTION_NAME$1] && global$t[COLLECTION_NAME$1].prototype, COLLECTION_NAME$1);
2240
+ handlePrototype$1(global$r[COLLECTION_NAME$1] && global$r[COLLECTION_NAME$1].prototype, COLLECTION_NAME$1);
2186
2241
  }
2187
2242
 
2188
2243
  handlePrototype$1(DOMTokenListPrototype$1, 'DOMTokenList');
2189
2244
 
2190
- var global$s = global$T;
2245
+ var global$q = global$R;
2191
2246
  var classof$5 = classof$8;
2192
2247
 
2193
- var String$2 = global$s.String;
2248
+ var String$2 = global$q.String;
2194
2249
 
2195
- var toString$9 = function (argument) {
2250
+ var toString$8 = function (argument) {
2196
2251
  if (classof$5(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
2197
2252
  return String$2(argument);
2198
2253
  };
@@ -2213,13 +2268,13 @@
2213
2268
  return result;
2214
2269
  };
2215
2270
 
2216
- var fails$d = fails$q;
2217
- var global$r = global$T;
2271
+ var fails$c = fails$p;
2272
+ var global$p = global$R;
2218
2273
 
2219
2274
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
2220
- var $RegExp$2 = global$r.RegExp;
2275
+ var $RegExp$2 = global$p.RegExp;
2221
2276
 
2222
- var UNSUPPORTED_Y$2 = fails$d(function () {
2277
+ var UNSUPPORTED_Y$2 = fails$c(function () {
2223
2278
  var re = $RegExp$2('a', 'y');
2224
2279
  re.lastIndex = 2;
2225
2280
  return re.exec('abcd') != null;
@@ -2227,11 +2282,11 @@
2227
2282
 
2228
2283
  // UC Browser bug
2229
2284
  // https://github.com/zloirock/core-js/issues/1008
2230
- var MISSED_STICKY = UNSUPPORTED_Y$2 || fails$d(function () {
2285
+ var MISSED_STICKY = UNSUPPORTED_Y$2 || fails$c(function () {
2231
2286
  return !$RegExp$2('a', 'y').sticky;
2232
2287
  });
2233
2288
 
2234
- var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$d(function () {
2289
+ var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$c(function () {
2235
2290
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
2236
2291
  var re = $RegExp$2('^r', 'gy');
2237
2292
  re.lastIndex = 2;
@@ -2244,24 +2299,24 @@
2244
2299
  UNSUPPORTED_Y: UNSUPPORTED_Y$2
2245
2300
  };
2246
2301
 
2247
- var fails$c = fails$q;
2248
- var global$q = global$T;
2302
+ var fails$b = fails$p;
2303
+ var global$o = global$R;
2249
2304
 
2250
2305
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
2251
- var $RegExp$1 = global$q.RegExp;
2306
+ var $RegExp$1 = global$o.RegExp;
2252
2307
 
2253
- var regexpUnsupportedDotAll = fails$c(function () {
2308
+ var regexpUnsupportedDotAll = fails$b(function () {
2254
2309
  var re = $RegExp$1('.', 's');
2255
2310
  return !(re.dotAll && re.exec('\n') && re.flags === 's');
2256
2311
  });
2257
2312
 
2258
- var fails$b = fails$q;
2259
- var global$p = global$T;
2313
+ var fails$a = fails$p;
2314
+ var global$n = global$R;
2260
2315
 
2261
2316
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
2262
- var $RegExp = global$p.RegExp;
2317
+ var $RegExp = global$n.RegExp;
2263
2318
 
2264
- var regexpUnsupportedNcg = fails$b(function () {
2319
+ var regexpUnsupportedNcg = fails$a(function () {
2265
2320
  var re = $RegExp('(?<a>b)', 'g');
2266
2321
  return re.exec('b').groups.a !== 'b' ||
2267
2322
  'b'.replace(re, '$<a>c') !== 'bc';
@@ -2270,8 +2325,8 @@
2270
2325
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
2271
2326
  /* eslint-disable regexp/no-useless-quantifier -- testing */
2272
2327
  var call$b = functionCall;
2273
- var uncurryThis$j = functionUncurryThis;
2274
- var toString$8 = toString$9;
2328
+ var uncurryThis$h = functionUncurryThis;
2329
+ var toString$7 = toString$8;
2275
2330
  var regexpFlags = regexpFlags$1;
2276
2331
  var stickyHelpers$1 = regexpStickyHelpers;
2277
2332
  var shared = shared$4.exports;
@@ -2283,10 +2338,10 @@
2283
2338
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
2284
2339
  var nativeExec = RegExp.prototype.exec;
2285
2340
  var patchedExec = nativeExec;
2286
- var charAt$5 = uncurryThis$j(''.charAt);
2287
- var indexOf = uncurryThis$j(''.indexOf);
2288
- var replace$5 = uncurryThis$j(''.replace);
2289
- var stringSlice$4 = uncurryThis$j(''.slice);
2341
+ var charAt$5 = uncurryThis$h(''.charAt);
2342
+ var indexOf = uncurryThis$h(''.indexOf);
2343
+ var replace$5 = uncurryThis$h(''.replace);
2344
+ var stringSlice$4 = uncurryThis$h(''.slice);
2290
2345
 
2291
2346
  var UPDATES_LAST_INDEX_WRONG = (function () {
2292
2347
  var re1 = /a/;
@@ -2307,7 +2362,7 @@
2307
2362
  patchedExec = function exec(string) {
2308
2363
  var re = this;
2309
2364
  var state = getInternalState$2(re);
2310
- var str = toString$8(string);
2365
+ var str = toString$7(string);
2311
2366
  var raw = state.raw;
2312
2367
  var result, reCopy, lastIndex, match, i, object, group;
2313
2368
 
@@ -2384,21 +2439,21 @@
2384
2439
 
2385
2440
  var regexpExec$3 = patchedExec;
2386
2441
 
2387
- var $$g = _export;
2388
- var exec$4 = regexpExec$3;
2442
+ var $$d = _export;
2443
+ var exec$3 = regexpExec$3;
2389
2444
 
2390
2445
  // `RegExp.prototype.exec` method
2391
2446
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
2392
- $$g({ target: 'RegExp', proto: true, forced: /./.exec !== exec$4 }, {
2393
- exec: exec$4
2447
+ $$d({ target: 'RegExp', proto: true, forced: /./.exec !== exec$3 }, {
2448
+ exec: exec$3
2394
2449
  });
2395
2450
 
2396
2451
  // TODO: Remove from `core-js@4` since it's moved to entry points
2397
2452
 
2398
- var uncurryThis$i = functionUncurryThis;
2453
+ var uncurryThis$g = functionUncurryThis;
2399
2454
  var redefine$6 = redefine$b.exports;
2400
2455
  var regexpExec$2 = regexpExec$3;
2401
- var fails$a = fails$q;
2456
+ var fails$9 = fails$p;
2402
2457
  var wellKnownSymbol$a = wellKnownSymbol$m;
2403
2458
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$7;
2404
2459
 
@@ -2408,14 +2463,14 @@
2408
2463
  var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2409
2464
  var SYMBOL = wellKnownSymbol$a(KEY);
2410
2465
 
2411
- var DELEGATES_TO_SYMBOL = !fails$a(function () {
2466
+ var DELEGATES_TO_SYMBOL = !fails$9(function () {
2412
2467
  // String methods call symbol-named RegEp methods
2413
2468
  var O = {};
2414
2469
  O[SYMBOL] = function () { return 7; };
2415
2470
  return ''[KEY](O) != 7;
2416
2471
  });
2417
2472
 
2418
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$a(function () {
2473
+ var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$9(function () {
2419
2474
  // Symbol-named RegExp methods call .exec
2420
2475
  var execCalled = false;
2421
2476
  var re = /a/;
@@ -2444,9 +2499,9 @@
2444
2499
  !DELEGATES_TO_EXEC ||
2445
2500
  FORCED
2446
2501
  ) {
2447
- var uncurriedNativeRegExpMethod = uncurryThis$i(/./[SYMBOL]);
2502
+ var uncurriedNativeRegExpMethod = uncurryThis$g(/./[SYMBOL]);
2448
2503
  var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
2449
- var uncurriedNativeMethod = uncurryThis$i(nativeMethod);
2504
+ var uncurriedNativeMethod = uncurryThis$g(nativeMethod);
2450
2505
  var $exec = regexp.exec;
2451
2506
  if ($exec === regexpExec$2 || $exec === RegExpPrototype$1.exec) {
2452
2507
  if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
@@ -2467,18 +2522,18 @@
2467
2522
  if (SHAM) createNonEnumerableProperty$1(RegExpPrototype$1[SYMBOL], 'sham', true);
2468
2523
  };
2469
2524
 
2470
- var uncurryThis$h = functionUncurryThis;
2525
+ var uncurryThis$f = functionUncurryThis;
2471
2526
  var toIntegerOrInfinity = toIntegerOrInfinity$3;
2472
- var toString$7 = toString$9;
2527
+ var toString$6 = toString$8;
2473
2528
  var requireObjectCoercible$5 = requireObjectCoercible$8;
2474
2529
 
2475
- var charAt$4 = uncurryThis$h(''.charAt);
2476
- var charCodeAt$2 = uncurryThis$h(''.charCodeAt);
2477
- var stringSlice$3 = uncurryThis$h(''.slice);
2530
+ var charAt$4 = uncurryThis$f(''.charAt);
2531
+ var charCodeAt$2 = uncurryThis$f(''.charCodeAt);
2532
+ var stringSlice$3 = uncurryThis$f(''.slice);
2478
2533
 
2479
- var createMethod$3 = function (CONVERT_TO_STRING) {
2534
+ var createMethod$2 = function (CONVERT_TO_STRING) {
2480
2535
  return function ($this, pos) {
2481
- var S = toString$7(requireObjectCoercible$5($this));
2536
+ var S = toString$6(requireObjectCoercible$5($this));
2482
2537
  var position = toIntegerOrInfinity(pos);
2483
2538
  var size = S.length;
2484
2539
  var first, second;
@@ -2498,10 +2553,10 @@
2498
2553
  var stringMultibyte = {
2499
2554
  // `String.prototype.codePointAt` method
2500
2555
  // https://tc39.es/ecma262/#sec-string.prototype.codepointat
2501
- codeAt: createMethod$3(false),
2556
+ codeAt: createMethod$2(false),
2502
2557
  // `String.prototype.at` method
2503
2558
  // https://github.com/mathiasbynens/String.prototype.at
2504
- charAt: createMethod$3(true)
2559
+ charAt: createMethod$2(true)
2505
2560
  };
2506
2561
 
2507
2562
  var charAt$3 = stringMultibyte.charAt;
@@ -2512,14 +2567,14 @@
2512
2567
  return index + (unicode ? charAt$3(S, index).length : 1);
2513
2568
  };
2514
2569
 
2515
- var global$o = global$T;
2570
+ var global$m = global$R;
2516
2571
  var call$a = functionCall;
2517
2572
  var anObject$a = anObject$h;
2518
2573
  var isCallable$4 = isCallable$k;
2519
2574
  var classof$4 = classofRaw$1;
2520
2575
  var regexpExec$1 = regexpExec$3;
2521
2576
 
2522
- var TypeError$d = global$o.TypeError;
2577
+ var TypeError$c = global$m.TypeError;
2523
2578
 
2524
2579
  // `RegExpExec` abstract operation
2525
2580
  // https://tc39.es/ecma262/#sec-regexpexec
@@ -2531,14 +2586,14 @@
2531
2586
  return result;
2532
2587
  }
2533
2588
  if (classof$4(R) === 'RegExp') return call$a(regexpExec$1, R, S);
2534
- throw TypeError$d('RegExp#exec called on incompatible receiver');
2589
+ throw TypeError$c('RegExp#exec called on incompatible receiver');
2535
2590
  };
2536
2591
 
2537
2592
  var call$9 = functionCall;
2538
2593
  var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
2539
2594
  var anObject$9 = anObject$h;
2540
2595
  var toLength$1 = toLength$3;
2541
- var toString$6 = toString$9;
2596
+ var toString$5 = toString$8;
2542
2597
  var requireObjectCoercible$4 = requireObjectCoercible$8;
2543
2598
  var getMethod$3 = getMethod$5;
2544
2599
  var advanceStringIndex$1 = advanceStringIndex$2;
@@ -2552,13 +2607,13 @@
2552
2607
  function match(regexp) {
2553
2608
  var O = requireObjectCoercible$4(this);
2554
2609
  var matcher = regexp == undefined ? undefined : getMethod$3(regexp, MATCH);
2555
- return matcher ? call$9(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$6(O));
2610
+ return matcher ? call$9(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$5(O));
2556
2611
  },
2557
2612
  // `RegExp.prototype[@@match]` method
2558
2613
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@match
2559
2614
  function (string) {
2560
2615
  var rx = anObject$9(this);
2561
- var S = toString$6(string);
2616
+ var S = toString$5(string);
2562
2617
  var res = maybeCallNative(nativeMatch, rx, S);
2563
2618
 
2564
2619
  if (res.done) return res.value;
@@ -2571,7 +2626,7 @@
2571
2626
  var n = 0;
2572
2627
  var result;
2573
2628
  while ((result = regExpExec$1(rx, S)) !== null) {
2574
- var matchStr = toString$6(result[0]);
2629
+ var matchStr = toString$5(result[0]);
2575
2630
  A[n] = matchStr;
2576
2631
  if (matchStr === '') rx.lastIndex = advanceStringIndex$1(S, toLength$1(rx.lastIndex), fullUnicode);
2577
2632
  n++;
@@ -2582,7 +2637,7 @@
2582
2637
  });
2583
2638
 
2584
2639
  var charAt$2 = stringMultibyte.charAt;
2585
- var toString$5 = toString$9;
2640
+ var toString$4 = toString$8;
2586
2641
  var InternalStateModule$3 = internalState;
2587
2642
  var defineIterator = defineIterator$2;
2588
2643
 
@@ -2595,7 +2650,7 @@
2595
2650
  defineIterator(String, 'String', function (iterated) {
2596
2651
  setInternalState$3(this, {
2597
2652
  type: STRING_ITERATOR,
2598
- string: toString$5(iterated),
2653
+ string: toString$4(iterated),
2599
2654
  index: 0
2600
2655
  });
2601
2656
  // `%StringIteratorPrototype%.next` method
@@ -2611,13 +2666,13 @@
2611
2666
  return { value: point, done: false };
2612
2667
  });
2613
2668
 
2614
- var fails$9 = fails$q;
2669
+ var fails$8 = fails$p;
2615
2670
  var wellKnownSymbol$9 = wellKnownSymbol$m;
2616
2671
  var IS_PURE = isPure;
2617
2672
 
2618
- var ITERATOR$5 = wellKnownSymbol$9('iterator');
2673
+ var ITERATOR$4 = wellKnownSymbol$9('iterator');
2619
2674
 
2620
- var nativeUrl = !fails$9(function () {
2675
+ var nativeUrl = !fails$8(function () {
2621
2676
  // eslint-disable-next-line unicorn/relative-url-style -- required for testing
2622
2677
  var url = new URL('b?a=1&b=2&c=3', 'http://a');
2623
2678
  var searchParams = url.searchParams;
@@ -2632,7 +2687,7 @@
2632
2687
  || url.href !== 'http://a/c%20d?a=1&c=3'
2633
2688
  || searchParams.get('c') !== '3'
2634
2689
  || String(new URLSearchParams('?a=1')) !== 'a=1'
2635
- || !searchParams[ITERATOR$5]
2690
+ || !searchParams[ITERATOR$4]
2636
2691
  // throws in Edge
2637
2692
  || new URL('https://a@b').username !== 'a'
2638
2693
  || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'
@@ -2646,49 +2701,49 @@
2646
2701
  || new URL('http://x', undefined).host !== 'x';
2647
2702
  });
2648
2703
 
2649
- var uncurryThis$g = functionUncurryThis;
2650
- var aCallable$5 = aCallable$7;
2704
+ var uncurryThis$e = functionUncurryThis;
2705
+ var aCallable$4 = aCallable$6;
2651
2706
  var NATIVE_BIND$1 = functionBindNative;
2652
2707
 
2653
- var bind$9 = uncurryThis$g(uncurryThis$g.bind);
2708
+ var bind$9 = uncurryThis$e(uncurryThis$e.bind);
2654
2709
 
2655
2710
  // optional / simple context binding
2656
2711
  var functionBindContext = function (fn, that) {
2657
- aCallable$5(fn);
2712
+ aCallable$4(fn);
2658
2713
  return that === undefined ? fn : NATIVE_BIND$1 ? bind$9(fn, that) : function (/* ...args */) {
2659
2714
  return fn.apply(that, arguments);
2660
2715
  };
2661
2716
  };
2662
2717
 
2663
- var global$n = global$T;
2718
+ var global$l = global$R;
2664
2719
  var isPrototypeOf$3 = objectIsPrototypeOf;
2665
2720
 
2666
- var TypeError$c = global$n.TypeError;
2721
+ var TypeError$b = global$l.TypeError;
2667
2722
 
2668
2723
  var anInstance$3 = function (it, Prototype) {
2669
2724
  if (isPrototypeOf$3(Prototype, it)) return it;
2670
- throw TypeError$c('Incorrect invocation');
2725
+ throw TypeError$b('Incorrect invocation');
2671
2726
  };
2672
2727
 
2673
2728
  var DESCRIPTORS$4 = descriptors;
2674
- var uncurryThis$f = functionUncurryThis;
2729
+ var uncurryThis$d = functionUncurryThis;
2675
2730
  var call$8 = functionCall;
2676
- var fails$8 = fails$q;
2731
+ var fails$7 = fails$p;
2677
2732
  var objectKeys = objectKeys$2;
2678
2733
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
2679
2734
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
2680
- var toObject$5 = toObject$9;
2681
- var IndexedObject$2 = indexedObject;
2735
+ var toObject$4 = toObject$8;
2736
+ var IndexedObject$1 = indexedObject;
2682
2737
 
2683
2738
  // eslint-disable-next-line es/no-object-assign -- safe
2684
2739
  var $assign = Object.assign;
2685
2740
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
2686
2741
  var defineProperty$2 = Object.defineProperty;
2687
- var concat = uncurryThis$f([].concat);
2742
+ var concat = uncurryThis$d([].concat);
2688
2743
 
2689
2744
  // `Object.assign` method
2690
2745
  // https://tc39.es/ecma262/#sec-object.assign
2691
- var objectAssign = !$assign || fails$8(function () {
2746
+ var objectAssign = !$assign || fails$7(function () {
2692
2747
  // should have correct order of operations (Edge bug)
2693
2748
  if (DESCRIPTORS$4 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
2694
2749
  enumerable: true,
@@ -2709,13 +2764,13 @@
2709
2764
  alphabet.split('').forEach(function (chr) { B[chr] = chr; });
2710
2765
  return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
2711
2766
  }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
2712
- var T = toObject$5(target);
2767
+ var T = toObject$4(target);
2713
2768
  var argumentsLength = arguments.length;
2714
2769
  var index = 1;
2715
2770
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
2716
2771
  var propertyIsEnumerable = propertyIsEnumerableModule.f;
2717
2772
  while (argumentsLength > index) {
2718
- var S = IndexedObject$2(arguments[index++]);
2773
+ var S = IndexedObject$1(arguments[index++]);
2719
2774
  var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
2720
2775
  var length = keys.length;
2721
2776
  var j = 0;
@@ -2766,12 +2821,12 @@
2766
2821
  var wellKnownSymbol$8 = wellKnownSymbol$m;
2767
2822
  var Iterators$1 = iterators;
2768
2823
 
2769
- var ITERATOR$4 = wellKnownSymbol$8('iterator');
2824
+ var ITERATOR$3 = wellKnownSymbol$8('iterator');
2770
2825
  var ArrayPrototype = Array.prototype;
2771
2826
 
2772
2827
  // check on default Array iterator
2773
2828
  var isArrayIteratorMethod$2 = function (it) {
2774
- return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$4] === it);
2829
+ return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$3] === it);
2775
2830
  };
2776
2831
 
2777
2832
  var classof$3 = classof$8;
@@ -2779,47 +2834,47 @@
2779
2834
  var Iterators = iterators;
2780
2835
  var wellKnownSymbol$7 = wellKnownSymbol$m;
2781
2836
 
2782
- var ITERATOR$3 = wellKnownSymbol$7('iterator');
2837
+ var ITERATOR$2 = wellKnownSymbol$7('iterator');
2783
2838
 
2784
2839
  var getIteratorMethod$4 = function (it) {
2785
- if (it != undefined) return getMethod$1(it, ITERATOR$3)
2840
+ if (it != undefined) return getMethod$1(it, ITERATOR$2)
2786
2841
  || getMethod$1(it, '@@iterator')
2787
2842
  || Iterators[classof$3(it)];
2788
2843
  };
2789
2844
 
2790
- var global$m = global$T;
2845
+ var global$k = global$R;
2791
2846
  var call$6 = functionCall;
2792
- var aCallable$4 = aCallable$7;
2847
+ var aCallable$3 = aCallable$6;
2793
2848
  var anObject$6 = anObject$h;
2794
2849
  var tryToString$2 = tryToString$4;
2795
2850
  var getIteratorMethod$3 = getIteratorMethod$4;
2796
2851
 
2797
- var TypeError$b = global$m.TypeError;
2852
+ var TypeError$a = global$k.TypeError;
2798
2853
 
2799
2854
  var getIterator$3 = function (argument, usingIterator) {
2800
2855
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
2801
- if (aCallable$4(iteratorMethod)) return anObject$6(call$6(iteratorMethod, argument));
2802
- throw TypeError$b(tryToString$2(argument) + ' is not iterable');
2856
+ if (aCallable$3(iteratorMethod)) return anObject$6(call$6(iteratorMethod, argument));
2857
+ throw TypeError$a(tryToString$2(argument) + ' is not iterable');
2803
2858
  };
2804
2859
 
2805
- var global$l = global$T;
2860
+ var global$j = global$R;
2806
2861
  var bind$8 = functionBindContext;
2807
2862
  var call$5 = functionCall;
2808
- var toObject$4 = toObject$9;
2863
+ var toObject$3 = toObject$8;
2809
2864
  var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
2810
2865
  var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
2811
2866
  var isConstructor$1 = isConstructor$3;
2812
- var lengthOfArrayLike$6 = lengthOfArrayLike$9;
2867
+ var lengthOfArrayLike$5 = lengthOfArrayLike$8;
2813
2868
  var createProperty$1 = createProperty$3;
2814
2869
  var getIterator$2 = getIterator$3;
2815
2870
  var getIteratorMethod$2 = getIteratorMethod$4;
2816
2871
 
2817
- var Array$2 = global$l.Array;
2872
+ var Array$2 = global$j.Array;
2818
2873
 
2819
2874
  // `Array.from` method implementation
2820
2875
  // https://tc39.es/ecma262/#sec-array.from
2821
2876
  var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
2822
- var O = toObject$4(arrayLike);
2877
+ var O = toObject$3(arrayLike);
2823
2878
  var IS_CONSTRUCTOR = isConstructor$1(this);
2824
2879
  var argumentsLength = arguments.length;
2825
2880
  var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
@@ -2838,7 +2893,7 @@
2838
2893
  createProperty$1(result, index, value);
2839
2894
  }
2840
2895
  } else {
2841
- length = lengthOfArrayLike$6(O);
2896
+ length = lengthOfArrayLike$5(O);
2842
2897
  result = IS_CONSTRUCTOR ? new this(length) : Array$2(length);
2843
2898
  for (;length > index; index++) {
2844
2899
  value = mapping ? mapfn(O[index], index) : O[index];
@@ -2849,16 +2904,16 @@
2849
2904
  return result;
2850
2905
  };
2851
2906
 
2852
- var global$k = global$T;
2907
+ var global$i = global$R;
2853
2908
  var toAbsoluteIndex = toAbsoluteIndex$2;
2854
- var lengthOfArrayLike$5 = lengthOfArrayLike$9;
2909
+ var lengthOfArrayLike$4 = lengthOfArrayLike$8;
2855
2910
  var createProperty = createProperty$3;
2856
2911
 
2857
- var Array$1 = global$k.Array;
2912
+ var Array$1 = global$i.Array;
2858
2913
  var max = Math.max;
2859
2914
 
2860
2915
  var arraySliceSimple = function (O, start, end) {
2861
- var length = lengthOfArrayLike$5(O);
2916
+ var length = lengthOfArrayLike$4(O);
2862
2917
  var k = toAbsoluteIndex(start, length);
2863
2918
  var fin = toAbsoluteIndex(end === undefined ? length : end, length);
2864
2919
  var result = Array$1(max(fin - k, 0));
@@ -2868,8 +2923,8 @@
2868
2923
  };
2869
2924
 
2870
2925
  // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
2871
- var global$j = global$T;
2872
- var uncurryThis$e = functionUncurryThis;
2926
+ var global$h = global$R;
2927
+ var uncurryThis$c = functionUncurryThis;
2873
2928
 
2874
2929
  var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
2875
2930
  var base = 36;
@@ -2885,16 +2940,16 @@
2885
2940
  var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
2886
2941
  var baseMinusTMin = base - tMin;
2887
2942
 
2888
- var RangeError$1 = global$j.RangeError;
2889
- var exec$3 = uncurryThis$e(regexSeparators.exec);
2943
+ var RangeError$1 = global$h.RangeError;
2944
+ var exec$2 = uncurryThis$c(regexSeparators.exec);
2890
2945
  var floor$2 = Math.floor;
2891
2946
  var fromCharCode = String.fromCharCode;
2892
- var charCodeAt$1 = uncurryThis$e(''.charCodeAt);
2893
- var join$2 = uncurryThis$e([].join);
2894
- var push$4 = uncurryThis$e([].push);
2895
- var replace$4 = uncurryThis$e(''.replace);
2896
- var split$2 = uncurryThis$e(''.split);
2897
- var toLowerCase$1 = uncurryThis$e(''.toLowerCase);
2947
+ var charCodeAt$1 = uncurryThis$c(''.charCodeAt);
2948
+ var join$2 = uncurryThis$c([].join);
2949
+ var push$4 = uncurryThis$c([].push);
2950
+ var replace$4 = uncurryThis$c(''.replace);
2951
+ var split$2 = uncurryThis$c(''.split);
2952
+ var toLowerCase$1 = uncurryThis$c(''.toLowerCase);
2898
2953
 
2899
2954
  /**
2900
2955
  * Creates an array containing the numeric code points of each Unicode
@@ -3044,17 +3099,17 @@
3044
3099
  var i, label;
3045
3100
  for (i = 0; i < labels.length; i++) {
3046
3101
  label = labels[i];
3047
- push$4(encoded, exec$3(regexNonASCII, label) ? 'xn--' + encode(label) : label);
3102
+ push$4(encoded, exec$2(regexNonASCII, label) ? 'xn--' + encode(label) : label);
3048
3103
  }
3049
3104
  return join$2(encoded, '.');
3050
3105
  };
3051
3106
 
3052
- var global$i = global$T;
3107
+ var global$g = global$R;
3053
3108
 
3054
- var TypeError$a = global$i.TypeError;
3109
+ var TypeError$9 = global$g.TypeError;
3055
3110
 
3056
3111
  var validateArgumentsLength$3 = function (passed, required) {
3057
- if (passed < required) throw TypeError$a('Not enough arguments');
3112
+ if (passed < required) throw TypeError$9('Not enough arguments');
3058
3113
  return passed;
3059
3114
  };
3060
3115
 
@@ -3112,11 +3167,11 @@
3112
3167
 
3113
3168
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
3114
3169
 
3115
- var $$f = _export;
3116
- var global$h = global$T;
3170
+ var $$c = _export;
3171
+ var global$f = global$R;
3117
3172
  var getBuiltIn$2 = getBuiltIn$8;
3118
3173
  var call$4 = functionCall;
3119
- var uncurryThis$d = functionUncurryThis;
3174
+ var uncurryThis$b = functionUncurryThis;
3120
3175
  var USE_NATIVE_URL$1 = nativeUrl;
3121
3176
  var redefine$4 = redefine$b.exports;
3122
3177
  var redefineAll$1 = redefineAll$2;
@@ -3130,7 +3185,7 @@
3130
3185
  var classof$2 = classof$8;
3131
3186
  var anObject$5 = anObject$h;
3132
3187
  var isObject$5 = isObject$d;
3133
- var $toString$2 = toString$9;
3188
+ var $toString$2 = toString$8;
3134
3189
  var create = objectCreate;
3135
3190
  var createPropertyDescriptor = createPropertyDescriptor$5;
3136
3191
  var getIterator$1 = getIterator$3;
@@ -3139,7 +3194,7 @@
3139
3194
  var wellKnownSymbol$6 = wellKnownSymbol$m;
3140
3195
  var arraySort = arraySort$1;
3141
3196
 
3142
- var ITERATOR$2 = wellKnownSymbol$6('iterator');
3197
+ var ITERATOR$1 = wellKnownSymbol$6('iterator');
3143
3198
  var URL_SEARCH_PARAMS = 'URLSearchParams';
3144
3199
  var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';
3145
3200
  var setInternalState$2 = InternalStateModule$2.set;
@@ -3151,18 +3206,18 @@
3151
3206
  var Headers = getBuiltIn$2('Headers');
3152
3207
  var RequestPrototype = N$Request && N$Request.prototype;
3153
3208
  var HeadersPrototype = Headers && Headers.prototype;
3154
- var RegExp$1 = global$h.RegExp;
3155
- var TypeError$9 = global$h.TypeError;
3156
- var decodeURIComponent = global$h.decodeURIComponent;
3157
- var encodeURIComponent$1 = global$h.encodeURIComponent;
3158
- var charAt$1 = uncurryThis$d(''.charAt);
3159
- var join$1 = uncurryThis$d([].join);
3160
- var push$3 = uncurryThis$d([].push);
3161
- var replace$3 = uncurryThis$d(''.replace);
3162
- var shift$1 = uncurryThis$d([].shift);
3163
- var splice = uncurryThis$d([].splice);
3164
- var split$1 = uncurryThis$d(''.split);
3165
- var stringSlice$2 = uncurryThis$d(''.slice);
3209
+ var RegExp$1 = global$f.RegExp;
3210
+ var TypeError$8 = global$f.TypeError;
3211
+ var decodeURIComponent = global$f.decodeURIComponent;
3212
+ var encodeURIComponent$1 = global$f.encodeURIComponent;
3213
+ var charAt$1 = uncurryThis$b(''.charAt);
3214
+ var join$1 = uncurryThis$b([].join);
3215
+ var push$3 = uncurryThis$b([].push);
3216
+ var replace$3 = uncurryThis$b(''.replace);
3217
+ var shift$1 = uncurryThis$b([].shift);
3218
+ var splice = uncurryThis$b([].splice);
3219
+ var split$1 = uncurryThis$b(''.split);
3220
+ var stringSlice$2 = uncurryThis$b(''.slice);
3166
3221
 
3167
3222
  var plus = /\+/g;
3168
3223
  var sequences = Array(4);
@@ -3257,7 +3312,7 @@
3257
3312
  (first = call$4(entryNext, entryIterator)).done ||
3258
3313
  (second = call$4(entryNext, entryIterator)).done ||
3259
3314
  !call$4(entryNext, entryIterator).done
3260
- ) throw TypeError$9('Expected sequence with length 2');
3315
+ ) throw TypeError$8('Expected sequence with length 2');
3261
3316
  push$3(this.entries, { key: $toString$2(first.value), value: $toString$2(second.value) });
3262
3317
  }
3263
3318
  } else for (var key in object) if (hasOwn$3(object, key)) {
@@ -3429,7 +3484,7 @@
3429
3484
  }, { enumerable: true });
3430
3485
 
3431
3486
  // `URLSearchParams.prototype[@@iterator]` method
3432
- redefine$4(URLSearchParamsPrototype, ITERATOR$2, URLSearchParamsPrototype.entries, { name: 'entries' });
3487
+ redefine$4(URLSearchParamsPrototype, ITERATOR$1, URLSearchParamsPrototype.entries, { name: 'entries' });
3433
3488
 
3434
3489
  // `URLSearchParams.prototype.toString` method
3435
3490
  // https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior
@@ -3439,14 +3494,14 @@
3439
3494
 
3440
3495
  setToStringTag$2(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
3441
3496
 
3442
- $$f({ global: true, forced: !USE_NATIVE_URL$1 }, {
3497
+ $$c({ global: true, forced: !USE_NATIVE_URL$1 }, {
3443
3498
  URLSearchParams: URLSearchParamsConstructor
3444
3499
  });
3445
3500
 
3446
3501
  // Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`
3447
3502
  if (!USE_NATIVE_URL$1 && isCallable$3(Headers)) {
3448
- var headersHas = uncurryThis$d(HeadersPrototype.has);
3449
- var headersSet = uncurryThis$d(HeadersPrototype.set);
3503
+ var headersHas = uncurryThis$b(HeadersPrototype.has);
3504
+ var headersSet = uncurryThis$b(HeadersPrototype.set);
3450
3505
 
3451
3506
  var wrapRequestOptions = function (init) {
3452
3507
  if (isObject$5(init)) {
@@ -3466,7 +3521,7 @@
3466
3521
  };
3467
3522
 
3468
3523
  if (isCallable$3(n$Fetch)) {
3469
- $$f({ global: true, enumerable: true, forced: true }, {
3524
+ $$c({ global: true, enumerable: true, forced: true }, {
3470
3525
  fetch: function fetch(input /* , init */) {
3471
3526
  return n$Fetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
3472
3527
  }
@@ -3482,7 +3537,7 @@
3482
3537
  RequestPrototype.constructor = RequestConstructor;
3483
3538
  RequestConstructor.prototype = RequestPrototype;
3484
3539
 
3485
- $$f({ global: true, forced: true }, {
3540
+ $$c({ global: true, forced: true }, {
3486
3541
  Request: RequestConstructor
3487
3542
  });
3488
3543
  }
@@ -3495,12 +3550,12 @@
3495
3550
 
3496
3551
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
3497
3552
 
3498
- var $$e = _export;
3553
+ var $$b = _export;
3499
3554
  var DESCRIPTORS$3 = descriptors;
3500
3555
  var USE_NATIVE_URL = nativeUrl;
3501
- var global$g = global$T;
3556
+ var global$e = global$R;
3502
3557
  var bind$6 = functionBindContext;
3503
- var uncurryThis$c = functionUncurryThis;
3558
+ var uncurryThis$a = functionUncurryThis;
3504
3559
  var defineProperties = objectDefineProperties.f;
3505
3560
  var redefine$3 = redefine$b.exports;
3506
3561
  var anInstance$1 = anInstance$3;
@@ -3510,7 +3565,7 @@
3510
3565
  var arraySlice$4 = arraySliceSimple;
3511
3566
  var codeAt = stringMultibyte.codeAt;
3512
3567
  var toASCII = stringPunycodeToAscii;
3513
- var $toString$1 = toString$9;
3568
+ var $toString$1 = toString$8;
3514
3569
  var setToStringTag$1 = setToStringTag$5;
3515
3570
  var validateArgumentsLength$1 = validateArgumentsLength$3;
3516
3571
  var URLSearchParamsModule = web_urlSearchParams;
@@ -3521,23 +3576,23 @@
3521
3576
  var URLSearchParams$1 = URLSearchParamsModule.URLSearchParams;
3522
3577
  var getInternalSearchParamsState = URLSearchParamsModule.getState;
3523
3578
 
3524
- var NativeURL = global$g.URL;
3525
- var TypeError$8 = global$g.TypeError;
3526
- var parseInt$1 = global$g.parseInt;
3579
+ var NativeURL = global$e.URL;
3580
+ var TypeError$7 = global$e.TypeError;
3581
+ var parseInt$1 = global$e.parseInt;
3527
3582
  var floor = Math.floor;
3528
3583
  var pow = Math.pow;
3529
- var charAt = uncurryThis$c(''.charAt);
3530
- var exec$2 = uncurryThis$c(/./.exec);
3531
- var join = uncurryThis$c([].join);
3532
- var numberToString = uncurryThis$c(1.0.toString);
3533
- var pop = uncurryThis$c([].pop);
3534
- var push$2 = uncurryThis$c([].push);
3535
- var replace$2 = uncurryThis$c(''.replace);
3536
- var shift = uncurryThis$c([].shift);
3537
- var split = uncurryThis$c(''.split);
3538
- var stringSlice$1 = uncurryThis$c(''.slice);
3539
- var toLowerCase = uncurryThis$c(''.toLowerCase);
3540
- var unshift = uncurryThis$c([].unshift);
3584
+ var charAt = uncurryThis$a(''.charAt);
3585
+ var exec$1 = uncurryThis$a(/./.exec);
3586
+ var join = uncurryThis$a([].join);
3587
+ var numberToString = uncurryThis$a(1.0.toString);
3588
+ var pop = uncurryThis$a([].pop);
3589
+ var push$2 = uncurryThis$a([].push);
3590
+ var replace$2 = uncurryThis$a(''.replace);
3591
+ var shift = uncurryThis$a([].shift);
3592
+ var split = uncurryThis$a(''.split);
3593
+ var stringSlice$1 = uncurryThis$a(''.slice);
3594
+ var toLowerCase = uncurryThis$a(''.toLowerCase);
3595
+ var unshift = uncurryThis$a([].unshift);
3541
3596
 
3542
3597
  var INVALID_AUTHORITY = 'Invalid authority';
3543
3598
  var INVALID_SCHEME = 'Invalid scheme';
@@ -3575,13 +3630,13 @@
3575
3630
  if (part == '') return input;
3576
3631
  radix = 10;
3577
3632
  if (part.length > 1 && charAt(part, 0) == '0') {
3578
- radix = exec$2(HEX_START, part) ? 16 : 8;
3633
+ radix = exec$1(HEX_START, part) ? 16 : 8;
3579
3634
  part = stringSlice$1(part, radix == 8 ? 1 : 2);
3580
3635
  }
3581
3636
  if (part === '') {
3582
3637
  number = 0;
3583
3638
  } else {
3584
- if (!exec$2(radix == 10 ? DEC : radix == 8 ? OCT : HEX, part)) return input;
3639
+ if (!exec$1(radix == 10 ? DEC : radix == 8 ? OCT : HEX, part)) return input;
3585
3640
  number = parseInt$1(part, radix);
3586
3641
  }
3587
3642
  push$2(numbers, number);
@@ -3628,7 +3683,7 @@
3628
3683
  continue;
3629
3684
  }
3630
3685
  value = length = 0;
3631
- while (length < 4 && exec$2(HEX, chr())) {
3686
+ while (length < 4 && exec$1(HEX, chr())) {
3632
3687
  value = value * 16 + parseInt$1(chr(), 16);
3633
3688
  pointer++;
3634
3689
  length++;
@@ -3644,8 +3699,8 @@
3644
3699
  if (chr() == '.' && numbersSeen < 4) pointer++;
3645
3700
  else return;
3646
3701
  }
3647
- if (!exec$2(DIGIT, chr())) return;
3648
- while (exec$2(DIGIT, chr())) {
3702
+ if (!exec$1(DIGIT, chr())) return;
3703
+ while (exec$1(DIGIT, chr())) {
3649
3704
  number = parseInt$1(chr(), 10);
3650
3705
  if (ipv4Piece === null) ipv4Piece = number;
3651
3706
  else if (ipv4Piece == 0) return;
@@ -3761,7 +3816,7 @@
3761
3816
  // https://url.spec.whatwg.org/#windows-drive-letter
3762
3817
  var isWindowsDriveLetter = function (string, normalized) {
3763
3818
  var second;
3764
- return string.length == 2 && exec$2(ALPHA, charAt(string, 0))
3819
+ return string.length == 2 && exec$1(ALPHA, charAt(string, 0))
3765
3820
  && ((second = charAt(string, 1)) == ':' || (!normalized && second == '|'));
3766
3821
  };
3767
3822
 
@@ -3813,12 +3868,12 @@
3813
3868
  var baseState, failure, searchParams;
3814
3869
  if (isBase) {
3815
3870
  failure = this.parse(urlString);
3816
- if (failure) throw TypeError$8(failure);
3871
+ if (failure) throw TypeError$7(failure);
3817
3872
  this.searchParams = null;
3818
3873
  } else {
3819
3874
  if (base !== undefined) baseState = new URLState(base, true);
3820
3875
  failure = this.parse(urlString, null, baseState);
3821
- if (failure) throw TypeError$8(failure);
3876
+ if (failure) throw TypeError$7(failure);
3822
3877
  searchParams = getInternalSearchParamsState(new URLSearchParams$1());
3823
3878
  searchParams.bindURL(this);
3824
3879
  this.searchParams = searchParams;
@@ -3862,7 +3917,7 @@
3862
3917
  chr = codePoints[pointer];
3863
3918
  switch (state) {
3864
3919
  case SCHEME_START:
3865
- if (chr && exec$2(ALPHA, chr)) {
3920
+ if (chr && exec$1(ALPHA, chr)) {
3866
3921
  buffer += toLowerCase(chr);
3867
3922
  state = SCHEME;
3868
3923
  } else if (!stateOverride) {
@@ -3872,7 +3927,7 @@
3872
3927
  break;
3873
3928
 
3874
3929
  case SCHEME:
3875
- if (chr && (exec$2(ALPHANUMERIC, chr) || chr == '+' || chr == '-' || chr == '.')) {
3930
+ if (chr && (exec$1(ALPHANUMERIC, chr) || chr == '+' || chr == '-' || chr == '.')) {
3876
3931
  buffer += toLowerCase(chr);
3877
3932
  } else if (chr == ':') {
3878
3933
  if (stateOverride && (
@@ -4063,7 +4118,7 @@
4063
4118
  } break;
4064
4119
 
4065
4120
  case PORT:
4066
- if (exec$2(DIGIT, chr)) {
4121
+ if (exec$1(DIGIT, chr)) {
4067
4122
  buffer += chr;
4068
4123
  } else if (
4069
4124
  chr == EOF || chr == '/' || chr == '?' || chr == '#' ||
@@ -4239,7 +4294,7 @@
4239
4294
  this.host = result;
4240
4295
  // opaque host
4241
4296
  } else if (!this.isSpecial()) {
4242
- if (exec$2(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input)) return INVALID_HOST;
4297
+ if (exec$1(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input)) return INVALID_HOST;
4243
4298
  result = '';
4244
4299
  codePoints = arrayFrom(input);
4245
4300
  for (index = 0; index < codePoints.length; index++) {
@@ -4248,7 +4303,7 @@
4248
4303
  this.host = result;
4249
4304
  } else {
4250
4305
  input = toASCII(input);
4251
- if (exec$2(FORBIDDEN_HOST_CODE_POINT, input)) return INVALID_HOST;
4306
+ if (exec$1(FORBIDDEN_HOST_CODE_POINT, input)) return INVALID_HOST;
4252
4307
  result = parseIPv4(input);
4253
4308
  if (result === null) return INVALID_HOST;
4254
4309
  this.host = result;
@@ -4302,7 +4357,7 @@
4302
4357
  // https://url.spec.whatwg.org/#dom-url-href
4303
4358
  setHref: function (href) {
4304
4359
  var failure = this.parse(href);
4305
- if (failure) throw TypeError$8(failure);
4360
+ if (failure) throw TypeError$7(failure);
4306
4361
  this.searchParams.update();
4307
4362
  },
4308
4363
  // https://url.spec.whatwg.org/#dom-url-origin
@@ -4533,7 +4588,7 @@
4533
4588
 
4534
4589
  setToStringTag$1(URLConstructor, 'URL');
4535
4590
 
4536
- $$e({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS$3 }, {
4591
+ $$b({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS$3 }, {
4537
4592
  URL: URLConstructor
4538
4593
  });
4539
4594
 
@@ -4561,16 +4616,16 @@
4561
4616
  return isObject$4(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$1(it) == 'RegExp');
4562
4617
  };
4563
4618
 
4564
- var global$f = global$T;
4619
+ var global$d = global$R;
4565
4620
  var isConstructor = isConstructor$3;
4566
4621
  var tryToString$1 = tryToString$4;
4567
4622
 
4568
- var TypeError$7 = global$f.TypeError;
4623
+ var TypeError$6 = global$d.TypeError;
4569
4624
 
4570
4625
  // `Assert: IsConstructor(argument) is true`
4571
4626
  var aConstructor$1 = function (argument) {
4572
4627
  if (isConstructor(argument)) return argument;
4573
- throw TypeError$7(tryToString$1(argument) + ' is not a constructor');
4628
+ throw TypeError$6(tryToString$1(argument) + ' is not a constructor');
4574
4629
  };
4575
4630
 
4576
4631
  var anObject$4 = anObject$h;
@@ -4589,7 +4644,7 @@
4589
4644
 
4590
4645
  var apply$1 = functionApply;
4591
4646
  var call$2 = functionCall;
4592
- var uncurryThis$b = functionUncurryThis;
4647
+ var uncurryThis$9 = functionUncurryThis;
4593
4648
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
4594
4649
  var isRegExp$1 = isRegexp;
4595
4650
  var anObject$3 = anObject$h;
@@ -4597,25 +4652,25 @@
4597
4652
  var speciesConstructor$1 = speciesConstructor$2;
4598
4653
  var advanceStringIndex = advanceStringIndex$2;
4599
4654
  var toLength = toLength$3;
4600
- var toString$4 = toString$9;
4655
+ var toString$3 = toString$8;
4601
4656
  var getMethod = getMethod$5;
4602
4657
  var arraySlice$3 = arraySliceSimple;
4603
4658
  var callRegExpExec = regexpExecAbstract;
4604
4659
  var regexpExec = regexpExec$3;
4605
4660
  var stickyHelpers = regexpStickyHelpers;
4606
- var fails$7 = fails$q;
4661
+ var fails$6 = fails$p;
4607
4662
 
4608
4663
  var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
4609
4664
  var MAX_UINT32 = 0xFFFFFFFF;
4610
4665
  var min = Math.min;
4611
4666
  var $push = [].push;
4612
- var exec$1 = uncurryThis$b(/./.exec);
4613
- var push$1 = uncurryThis$b($push);
4614
- var stringSlice = uncurryThis$b(''.slice);
4667
+ var exec = uncurryThis$9(/./.exec);
4668
+ var push$1 = uncurryThis$9($push);
4669
+ var stringSlice = uncurryThis$9(''.slice);
4615
4670
 
4616
4671
  // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
4617
4672
  // Weex JS has frozen built-in prototypes, so use try / catch wrapper
4618
- var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails$7(function () {
4673
+ var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails$6(function () {
4619
4674
  // eslint-disable-next-line regexp/no-empty-group -- required for testing
4620
4675
  var re = /(?:)/;
4621
4676
  var originalExec = re.exec;
@@ -4639,7 +4694,7 @@
4639
4694
  ) {
4640
4695
  // based on es5-shim implementation, need to rework it
4641
4696
  internalSplit = function (separator, limit) {
4642
- var string = toString$4(requireObjectCoercible$3(this));
4697
+ var string = toString$3(requireObjectCoercible$3(this));
4643
4698
  var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
4644
4699
  if (lim === 0) return [];
4645
4700
  if (separator === undefined) return [string];
@@ -4668,7 +4723,7 @@
4668
4723
  if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop
4669
4724
  }
4670
4725
  if (lastLastIndex === string.length) {
4671
- if (lastLength || !exec$1(separatorCopy, '')) push$1(output, '');
4726
+ if (lastLength || !exec(separatorCopy, '')) push$1(output, '');
4672
4727
  } else push$1(output, stringSlice(string, lastLastIndex));
4673
4728
  return output.length > lim ? arraySlice$3(output, 0, lim) : output;
4674
4729
  };
@@ -4687,7 +4742,7 @@
4687
4742
  var splitter = separator == undefined ? undefined : getMethod(separator, SPLIT);
4688
4743
  return splitter
4689
4744
  ? call$2(splitter, separator, O, limit)
4690
- : call$2(internalSplit, toString$4(O), separator, limit);
4745
+ : call$2(internalSplit, toString$3(O), separator, limit);
4691
4746
  },
4692
4747
  // `RegExp.prototype[@@split]` method
4693
4748
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@split
@@ -4696,7 +4751,7 @@
4696
4751
  // the 'y' flag.
4697
4752
  function (string, limit) {
4698
4753
  var rx = anObject$3(this);
4699
- var S = toString$4(string);
4754
+ var S = toString$3(string);
4700
4755
  var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);
4701
4756
 
4702
4757
  if (res.done) return res.value;
@@ -4743,11 +4798,11 @@
4743
4798
  ];
4744
4799
  }, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
4745
4800
 
4746
- var $$d = _export;
4801
+ var $$a = _export;
4747
4802
 
4748
4803
  // `Number.isNaN` method
4749
4804
  // https://tc39.es/ecma262/#sec-number.isnan
4750
- $$d({ target: 'Number', stat: true }, {
4805
+ $$a({ target: 'Number', stat: true }, {
4751
4806
  isNaN: function isNaN(number) {
4752
4807
  // eslint-disable-next-line no-self-compare -- NaN check
4753
4808
  return number != number;
@@ -4773,30 +4828,30 @@
4773
4828
  return $this;
4774
4829
  };
4775
4830
 
4776
- var uncurryThis$a = functionUncurryThis;
4831
+ var uncurryThis$8 = functionUncurryThis;
4777
4832
 
4778
4833
  // `thisNumberValue` abstract operation
4779
4834
  // https://tc39.es/ecma262/#sec-thisnumbervalue
4780
- var thisNumberValue$1 = uncurryThis$a(1.0.valueOf);
4835
+ var thisNumberValue$1 = uncurryThis$8(1.0.valueOf);
4781
4836
 
4782
4837
  // a string of all valid unicode whitespaces
4783
- var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
4838
+ var whitespaces$1 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
4784
4839
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
4785
4840
 
4786
- var uncurryThis$9 = functionUncurryThis;
4841
+ var uncurryThis$7 = functionUncurryThis;
4787
4842
  var requireObjectCoercible$2 = requireObjectCoercible$8;
4788
- var toString$3 = toString$9;
4789
- var whitespaces$1 = whitespaces$2;
4843
+ var toString$2 = toString$8;
4844
+ var whitespaces = whitespaces$1;
4790
4845
 
4791
- var replace$1 = uncurryThis$9(''.replace);
4792
- var whitespace = '[' + whitespaces$1 + ']';
4846
+ var replace$1 = uncurryThis$7(''.replace);
4847
+ var whitespace = '[' + whitespaces + ']';
4793
4848
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
4794
4849
  var rtrim = RegExp(whitespace + whitespace + '*$');
4795
4850
 
4796
4851
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
4797
- var createMethod$2 = function (TYPE) {
4852
+ var createMethod$1 = function (TYPE) {
4798
4853
  return function ($this) {
4799
- var string = toString$3(requireObjectCoercible$2($this));
4854
+ var string = toString$2(requireObjectCoercible$2($this));
4800
4855
  if (TYPE & 1) string = replace$1(string, ltrim, '');
4801
4856
  if (TYPE & 2) string = replace$1(string, rtrim, '');
4802
4857
  return string;
@@ -4806,18 +4861,18 @@
4806
4861
  var stringTrim = {
4807
4862
  // `String.prototype.{ trimLeft, trimStart }` methods
4808
4863
  // https://tc39.es/ecma262/#sec-string.prototype.trimstart
4809
- start: createMethod$2(1),
4864
+ start: createMethod$1(1),
4810
4865
  // `String.prototype.{ trimRight, trimEnd }` methods
4811
4866
  // https://tc39.es/ecma262/#sec-string.prototype.trimend
4812
- end: createMethod$2(2),
4867
+ end: createMethod$1(2),
4813
4868
  // `String.prototype.trim` method
4814
4869
  // https://tc39.es/ecma262/#sec-string.prototype.trim
4815
- trim: createMethod$2(3)
4870
+ trim: createMethod$1(3)
4816
4871
  };
4817
4872
 
4818
4873
  var DESCRIPTORS$2 = descriptors;
4819
- var global$e = global$T;
4820
- var uncurryThis$8 = functionUncurryThis;
4874
+ var global$c = global$R;
4875
+ var uncurryThis$6 = functionUncurryThis;
4821
4876
  var isForced$1 = isForced_1;
4822
4877
  var redefine$2 = redefine$b.exports;
4823
4878
  var hasOwn$1 = hasOwnProperty_1;
@@ -4825,19 +4880,19 @@
4825
4880
  var isPrototypeOf$2 = objectIsPrototypeOf;
4826
4881
  var isSymbol = isSymbol$3;
4827
4882
  var toPrimitive = toPrimitive$2;
4828
- var fails$6 = fails$q;
4883
+ var fails$5 = fails$p;
4829
4884
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
4830
4885
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
4831
4886
  var defineProperty$1 = objectDefineProperty.f;
4832
4887
  var thisNumberValue = thisNumberValue$1;
4833
- var trim$1 = stringTrim.trim;
4888
+ var trim = stringTrim.trim;
4834
4889
 
4835
4890
  var NUMBER = 'Number';
4836
- var NativeNumber = global$e[NUMBER];
4891
+ var NativeNumber = global$c[NUMBER];
4837
4892
  var NumberPrototype = NativeNumber.prototype;
4838
- var TypeError$6 = global$e.TypeError;
4839
- var arraySlice$2 = uncurryThis$8(''.slice);
4840
- var charCodeAt = uncurryThis$8(''.charCodeAt);
4893
+ var TypeError$5 = global$c.TypeError;
4894
+ var arraySlice$2 = uncurryThis$6(''.slice);
4895
+ var charCodeAt = uncurryThis$6(''.charCodeAt);
4841
4896
 
4842
4897
  // `ToNumeric` abstract operation
4843
4898
  // https://tc39.es/ecma262/#sec-tonumeric
@@ -4851,9 +4906,9 @@
4851
4906
  var toNumber = function (argument) {
4852
4907
  var it = toPrimitive(argument, 'number');
4853
4908
  var first, third, radix, maxCode, digits, length, index, code;
4854
- if (isSymbol(it)) throw TypeError$6('Cannot convert a Symbol value to a number');
4909
+ if (isSymbol(it)) throw TypeError$5('Cannot convert a Symbol value to a number');
4855
4910
  if (typeof it == 'string' && it.length > 2) {
4856
- it = trim$1(it);
4911
+ it = trim(it);
4857
4912
  first = charCodeAt(it, 0);
4858
4913
  if (first === 43 || first === 45) {
4859
4914
  third = charCodeAt(it, 2);
@@ -4883,7 +4938,7 @@
4883
4938
  var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));
4884
4939
  var dummy = this;
4885
4940
  // check on 1..constructor(foo) case
4886
- return isPrototypeOf$2(NumberPrototype, dummy) && fails$6(function () { thisNumberValue(dummy); })
4941
+ return isPrototypeOf$2(NumberPrototype, dummy) && fails$5(function () { thisNumberValue(dummy); })
4887
4942
  ? inheritIfRequired(Object(n), dummy, NumberWrapper) : n;
4888
4943
  };
4889
4944
  for (var keys = DESCRIPTORS$2 ? getOwnPropertyNames(NativeNumber) : (
@@ -4900,7 +4955,7 @@
4900
4955
  }
4901
4956
  NumberWrapper.prototype = NumberPrototype;
4902
4957
  NumberPrototype.constructor = NumberWrapper;
4903
- redefine$2(global$e, NUMBER, NumberWrapper);
4958
+ redefine$2(global$c, NUMBER, NumberWrapper);
4904
4959
  }
4905
4960
 
4906
4961
  /**
@@ -5142,40 +5197,40 @@
5142
5197
  yellowPressed: '#FFBA0C'
5143
5198
  };
5144
5199
 
5145
- var uncurryThis$7 = functionUncurryThis;
5200
+ var uncurryThis$5 = functionUncurryThis;
5146
5201
  var requireObjectCoercible$1 = requireObjectCoercible$8;
5147
- var toString$2 = toString$9;
5202
+ var toString$1 = toString$8;
5148
5203
 
5149
5204
  var quot = /"/g;
5150
- var replace = uncurryThis$7(''.replace);
5205
+ var replace = uncurryThis$5(''.replace);
5151
5206
 
5152
5207
  // `CreateHTML` abstract operation
5153
5208
  // https://tc39.es/ecma262/#sec-createhtml
5154
5209
  var createHtml = function (string, tag, attribute, value) {
5155
- var S = toString$2(requireObjectCoercible$1(string));
5210
+ var S = toString$1(requireObjectCoercible$1(string));
5156
5211
  var p1 = '<' + tag;
5157
- if (attribute !== '') p1 += ' ' + attribute + '="' + replace(toString$2(value), quot, '&quot;') + '"';
5212
+ if (attribute !== '') p1 += ' ' + attribute + '="' + replace(toString$1(value), quot, '&quot;') + '"';
5158
5213
  return p1 + '>' + S + '</' + tag + '>';
5159
5214
  };
5160
5215
 
5161
- var fails$5 = fails$q;
5216
+ var fails$4 = fails$p;
5162
5217
 
5163
5218
  // check the existence of a method, lowercase
5164
5219
  // of a tag and escaping quotes in arguments
5165
5220
  var stringHtmlForced = function (METHOD_NAME) {
5166
- return fails$5(function () {
5221
+ return fails$4(function () {
5167
5222
  var test = ''[METHOD_NAME]('"');
5168
5223
  return test !== test.toLowerCase() || test.split('"').length > 3;
5169
5224
  });
5170
5225
  };
5171
5226
 
5172
- var $$c = _export;
5227
+ var $$9 = _export;
5173
5228
  var createHTML = createHtml;
5174
5229
  var forcedStringHTMLMethod = stringHtmlForced;
5175
5230
 
5176
5231
  // `String.prototype.small` method
5177
5232
  // https://tc39.es/ecma262/#sec-string.prototype.small
5178
- $$c({ target: 'String', proto: true, forced: forcedStringHTMLMethod('small') }, {
5233
+ $$9({ target: 'String', proto: true, forced: forcedStringHTMLMethod('small') }, {
5179
5234
  small: function small() {
5180
5235
  return createHTML(this, 'small', '', '');
5181
5236
  }
@@ -5223,7 +5278,7 @@
5223
5278
 
5224
5279
  var wellKnownSymbol$3 = wellKnownSymbol$m;
5225
5280
 
5226
- var ITERATOR$1 = wellKnownSymbol$3('iterator');
5281
+ var ITERATOR = wellKnownSymbol$3('iterator');
5227
5282
  var SAFE_CLOSING = false;
5228
5283
 
5229
5284
  try {
@@ -5236,7 +5291,7 @@
5236
5291
  SAFE_CLOSING = true;
5237
5292
  }
5238
5293
  };
5239
- iteratorWithReturn[ITERATOR$1] = function () {
5294
+ iteratorWithReturn[ITERATOR] = function () {
5240
5295
  return this;
5241
5296
  };
5242
5297
  // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
@@ -5248,7 +5303,7 @@
5248
5303
  var ITERATION_SUPPORT = false;
5249
5304
  try {
5250
5305
  var object = {};
5251
- object[ITERATOR$1] = function () {
5306
+ object[ITERATOR] = function () {
5252
5307
  return {
5253
5308
  next: function () {
5254
5309
  return { done: ITERATION_SUPPORT = true };
@@ -5260,7 +5315,7 @@
5260
5315
  return ITERATION_SUPPORT;
5261
5316
  };
5262
5317
 
5263
- var $$b = _export;
5318
+ var $$8 = _export;
5264
5319
  var from = arrayFrom$1;
5265
5320
  var checkCorrectnessOfIteration$1 = checkCorrectnessOfIteration$2;
5266
5321
 
@@ -5271,7 +5326,7 @@
5271
5326
 
5272
5327
  // `Array.from` method
5273
5328
  // https://tc39.es/ecma262/#sec-array.from
5274
- $$b({ target: 'Array', stat: true, forced: INCORRECT_ITERATION$1 }, {
5329
+ $$8({ target: 'Array', stat: true, forced: INCORRECT_ITERATION$1 }, {
5275
5330
  from: from
5276
5331
  });
5277
5332
 
@@ -5339,13 +5394,13 @@
5339
5394
  })
5340
5395
  };
5341
5396
 
5342
- var $$a = _export;
5397
+ var $$7 = _export;
5343
5398
  var $includes = arrayIncludes.includes;
5344
5399
  var addToUnscopables$2 = addToUnscopables$4;
5345
5400
 
5346
5401
  // `Array.prototype.includes` method
5347
5402
  // https://tc39.es/ecma262/#sec-array.prototype.includes
5348
- $$a({ target: 'Array', proto: true }, {
5403
+ $$7({ target: 'Array', proto: true }, {
5349
5404
  includes: function includes(el /* , fromIndex = 0 */) {
5350
5405
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
5351
5406
  }
@@ -5354,14 +5409,14 @@
5354
5409
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
5355
5410
  addToUnscopables$2('includes');
5356
5411
 
5357
- var global$d = global$T;
5412
+ var global$b = global$R;
5358
5413
  var isRegExp = isRegexp;
5359
5414
 
5360
- var TypeError$5 = global$d.TypeError;
5415
+ var TypeError$4 = global$b.TypeError;
5361
5416
 
5362
5417
  var notARegexp = function (it) {
5363
5418
  if (isRegExp(it)) {
5364
- throw TypeError$5("The method doesn't accept regular expressions");
5419
+ throw TypeError$4("The method doesn't accept regular expressions");
5365
5420
  } return it;
5366
5421
  };
5367
5422
 
@@ -5381,22 +5436,22 @@
5381
5436
  } return false;
5382
5437
  };
5383
5438
 
5384
- var $$9 = _export;
5385
- var uncurryThis$6 = functionUncurryThis;
5439
+ var $$6 = _export;
5440
+ var uncurryThis$4 = functionUncurryThis;
5386
5441
  var notARegExp = notARegexp;
5387
5442
  var requireObjectCoercible = requireObjectCoercible$8;
5388
- var toString$1 = toString$9;
5443
+ var toString = toString$8;
5389
5444
  var correctIsRegExpLogic = correctIsRegexpLogic;
5390
5445
 
5391
- var stringIndexOf = uncurryThis$6(''.indexOf);
5446
+ var stringIndexOf = uncurryThis$4(''.indexOf);
5392
5447
 
5393
5448
  // `String.prototype.includes` method
5394
5449
  // https://tc39.es/ecma262/#sec-string.prototype.includes
5395
- $$9({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
5450
+ $$6({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
5396
5451
  includes: function includes(searchString /* , position = 0 */) {
5397
5452
  return !!~stringIndexOf(
5398
- toString$1(requireObjectCoercible(this)),
5399
- toString$1(notARegExp(searchString)),
5453
+ toString(requireObjectCoercible(this)),
5454
+ toString(notARegExp(searchString)),
5400
5455
  arguments.length > 1 ? arguments[1] : undefined
5401
5456
  );
5402
5457
  }
@@ -5456,85 +5511,6 @@
5456
5511
  }, initials);
5457
5512
  };
5458
5513
 
5459
- var global$c = global$T;
5460
- var aCallable$3 = aCallable$7;
5461
- var toObject$3 = toObject$9;
5462
- var IndexedObject$1 = indexedObject;
5463
- var lengthOfArrayLike$4 = lengthOfArrayLike$9;
5464
-
5465
- var TypeError$4 = global$c.TypeError;
5466
-
5467
- // `Array.prototype.{ reduce, reduceRight }` methods implementation
5468
- var createMethod$1 = function (IS_RIGHT) {
5469
- return function (that, callbackfn, argumentsLength, memo) {
5470
- aCallable$3(callbackfn);
5471
- var O = toObject$3(that);
5472
- var self = IndexedObject$1(O);
5473
- var length = lengthOfArrayLike$4(O);
5474
- var index = IS_RIGHT ? length - 1 : 0;
5475
- var i = IS_RIGHT ? -1 : 1;
5476
- if (argumentsLength < 2) while (true) {
5477
- if (index in self) {
5478
- memo = self[index];
5479
- index += i;
5480
- break;
5481
- }
5482
- index += i;
5483
- if (IS_RIGHT ? index < 0 : length <= index) {
5484
- throw TypeError$4('Reduce of empty array with no initial value');
5485
- }
5486
- }
5487
- for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
5488
- memo = callbackfn(memo, self[index], index, O);
5489
- }
5490
- return memo;
5491
- };
5492
- };
5493
-
5494
- var arrayReduce = {
5495
- // `Array.prototype.reduce` method
5496
- // https://tc39.es/ecma262/#sec-array.prototype.reduce
5497
- left: createMethod$1(false),
5498
- // `Array.prototype.reduceRight` method
5499
- // https://tc39.es/ecma262/#sec-array.prototype.reduceright
5500
- right: createMethod$1(true)
5501
- };
5502
-
5503
- var fails$4 = fails$q;
5504
-
5505
- var arrayMethodIsStrict$3 = function (METHOD_NAME, argument) {
5506
- var method = [][METHOD_NAME];
5507
- return !!method && fails$4(function () {
5508
- // eslint-disable-next-line no-useless-call -- required for testing
5509
- method.call(null, argument || function () { return 1; }, 1);
5510
- });
5511
- };
5512
-
5513
- var classof = classofRaw$1;
5514
- var global$b = global$T;
5515
-
5516
- var engineIsNode = classof(global$b.process) == 'process';
5517
-
5518
- var $$8 = _export;
5519
- var $reduce = arrayReduce.left;
5520
- var arrayMethodIsStrict$2 = arrayMethodIsStrict$3;
5521
- var CHROME_VERSION = engineV8Version;
5522
- var IS_NODE$3 = engineIsNode;
5523
-
5524
- var STRICT_METHOD$2 = arrayMethodIsStrict$2('reduce');
5525
- // Chrome 80-82 has a critical bug
5526
- // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
5527
- var CHROME_BUG = !IS_NODE$3 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
5528
-
5529
- // `Array.prototype.reduce` method
5530
- // https://tc39.es/ecma262/#sec-array.prototype.reduce
5531
- $$8({ target: 'Array', proto: true, forced: !STRICT_METHOD$2 || CHROME_BUG }, {
5532
- reduce: function reduce(callbackfn /* , initialValue */) {
5533
- var length = arguments.length;
5534
- return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
5535
- }
5536
- });
5537
-
5538
5514
  /**
5539
5515
  * Checks if the name provided is single or compound and returns either the first two letters,
5540
5516
  * or the initials of the two first names.
@@ -5642,16 +5618,16 @@
5642
5618
  mainColor: palette.grey
5643
5619
  };
5644
5620
 
5645
- var $$7 = _export;
5646
- var toObject$2 = toObject$9;
5621
+ var $$5 = _export;
5622
+ var toObject$2 = toObject$8;
5647
5623
  var nativeKeys = objectKeys$2;
5648
- var fails$3 = fails$q;
5624
+ var fails$3 = fails$p;
5649
5625
 
5650
5626
  var FAILS_ON_PRIMITIVES = fails$3(function () { nativeKeys(1); });
5651
5627
 
5652
5628
  // `Object.keys` method
5653
5629
  // https://tc39.es/ecma262/#sec-object.keys
5654
- $$7({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
5630
+ $$5({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
5655
5631
  keys: function keys(it) {
5656
5632
  return nativeKeys(toObject$2(it));
5657
5633
  }
@@ -7064,13 +7040,13 @@
7064
7040
 
7065
7041
  var DESCRIPTORS$1 = descriptors;
7066
7042
  var FUNCTION_NAME_EXISTS = functionName.EXISTS;
7067
- var uncurryThis$5 = functionUncurryThis;
7043
+ var uncurryThis$3 = functionUncurryThis;
7068
7044
  var defineProperty = objectDefineProperty.f;
7069
7045
 
7070
7046
  var FunctionPrototype = Function.prototype;
7071
- var functionToString = uncurryThis$5(FunctionPrototype.toString);
7047
+ var functionToString = uncurryThis$3(FunctionPrototype.toString);
7072
7048
  var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/;
7073
- var regExpExec = uncurryThis$5(nameRE.exec);
7049
+ var regExpExec = uncurryThis$3(nameRE.exec);
7074
7050
  var NAME = 'name';
7075
7051
 
7076
7052
  // Function instances `.name` property
@@ -7088,7 +7064,7 @@
7088
7064
  });
7089
7065
  }
7090
7066
 
7091
- var _excluded$a = ["color", "name", "size", "styles", "pathStyles", "width", "height", "viewBox"];
7067
+ var _excluded$b = ["color", "name", "size", "styles", "pathStyles", "width", "height", "viewBox"];
7092
7068
 
7093
7069
  var Icon = function Icon(_ref) {
7094
7070
  var color = _ref.color,
@@ -7099,7 +7075,7 @@
7099
7075
  width = _ref.width,
7100
7076
  height = _ref.height,
7101
7077
  viewBox = _ref.viewBox,
7102
- props = _objectWithoutProperties(_ref, _excluded$a);
7078
+ props = _objectWithoutProperties(_ref, _excluded$b);
7103
7079
 
7104
7080
  if (!icons[name]) return null;
7105
7081
  var _icons$name = icons[name],
@@ -7185,7 +7161,7 @@
7185
7161
  })(["text-overflow:ellipsis;overflow:hidden;"])
7186
7162
  };
7187
7163
 
7188
- var _excluded$9 = ["backgroundColor", "borderColor", "children", "disabled", "icon", "iconColor", "iconSize", "onClick", "onDelete", "selected", "textColor", "variant", "hasLink"];
7164
+ var _excluded$a = ["backgroundColor", "borderColor", "children", "disabled", "icon", "iconColor", "iconSize", "onClick", "onDelete", "selected", "textColor", "variant", "hasLink"];
7189
7165
 
7190
7166
  var Chip = function Chip(_ref) {
7191
7167
  var backgroundColor = _ref.backgroundColor,
@@ -7201,7 +7177,7 @@
7201
7177
  textColor = _ref.textColor,
7202
7178
  variant = _ref.variant,
7203
7179
  hasLink = _ref.hasLink,
7204
- props = _objectWithoutProperties(_ref, _excluded$9);
7180
+ props = _objectWithoutProperties(_ref, _excluded$a);
7205
7181
 
7206
7182
  if (!children && !icon) return null;
7207
7183
  return /*#__PURE__*/React__default["default"].createElement(styled$g.Chip, _extends$1({
@@ -7262,13 +7238,13 @@
7262
7238
  };
7263
7239
 
7264
7240
  var bind$5 = functionBindContext;
7265
- var uncurryThis$4 = functionUncurryThis;
7241
+ var uncurryThis$2 = functionUncurryThis;
7266
7242
  var IndexedObject = indexedObject;
7267
- var toObject$1 = toObject$9;
7268
- var lengthOfArrayLike$3 = lengthOfArrayLike$9;
7243
+ var toObject$1 = toObject$8;
7244
+ var lengthOfArrayLike$3 = lengthOfArrayLike$8;
7269
7245
  var arraySpeciesCreate$1 = arraySpeciesCreate$3;
7270
7246
 
7271
- var push = uncurryThis$4([].push);
7247
+ var push = uncurryThis$2([].push);
7272
7248
 
7273
7249
  // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
7274
7250
  var createMethod = function (TYPE) {
@@ -7335,7 +7311,7 @@
7335
7311
  filterReject: createMethod(7)
7336
7312
  };
7337
7313
 
7338
- var $$6 = _export;
7314
+ var $$4 = _export;
7339
7315
  var $map = arrayIteration.map;
7340
7316
  var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$2;
7341
7317
 
@@ -7344,7 +7320,7 @@
7344
7320
  // `Array.prototype.map` method
7345
7321
  // https://tc39.es/ecma262/#sec-array.prototype.map
7346
7322
  // with adding support of @@species
7347
- $$6({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
7323
+ $$4({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
7348
7324
  map: function map(callbackfn /* , thisArg */) {
7349
7325
  return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
7350
7326
  }
@@ -7504,7 +7480,7 @@
7504
7480
  })
7505
7481
  };
7506
7482
 
7507
- var _excluded$8 = ["children", "color", "hideLabel", "icon", "iconColor", "iconSize", "fontColor", "rounded", "styles", "variant", "disabled"];
7483
+ var _excluded$9 = ["children", "color", "hideLabel", "icon", "iconColor", "iconSize", "fontColor", "rounded", "styles", "variant", "disabled"];
7508
7484
 
7509
7485
  var Button = function Button(_ref) {
7510
7486
  var children = _ref.children,
@@ -7518,7 +7494,7 @@
7518
7494
  styles = _ref.styles,
7519
7495
  variant = _ref.variant,
7520
7496
  disabled = _ref.disabled,
7521
- props = _objectWithoutProperties(_ref, _excluded$8);
7497
+ props = _objectWithoutProperties(_ref, _excluded$9);
7522
7498
 
7523
7499
  return /*#__PURE__*/React__default["default"].createElement(styled$e.Button, _extends$1({
7524
7500
  color: color,
@@ -7567,7 +7543,7 @@
7567
7543
  })
7568
7544
  };
7569
7545
 
7570
- var _excluded$7 = ["autoComplete", "disabled", "defaultChecked", "onChange", "rounded", "styles", "value"];
7546
+ var _excluded$8 = ["autoComplete", "disabled", "defaultChecked", "onChange", "rounded", "styles", "value"];
7571
7547
 
7572
7548
  var Checkbox = function Checkbox(_ref) {
7573
7549
  var autoComplete = _ref.autoComplete,
@@ -7577,7 +7553,7 @@
7577
7553
  rounded = _ref.rounded,
7578
7554
  styles = _ref.styles,
7579
7555
  value = _ref.value,
7580
- props = _objectWithoutProperties(_ref, _excluded$7);
7556
+ props = _objectWithoutProperties(_ref, _excluded$8);
7581
7557
 
7582
7558
  var _useState = React.useState(!!value || defaultChecked),
7583
7559
  _useState2 = _slicedToArray(_useState, 2),
@@ -7693,7 +7669,7 @@
7693
7669
  iconCheckStyles: iconCheckStyles
7694
7670
  };
7695
7671
 
7696
- var _excluded$6 = ["autoComplete", "defaultChecked", "disabled", "id", "name", "onChange", "value"];
7672
+ var _excluded$7 = ["autoComplete", "defaultChecked", "disabled", "id", "name", "onChange", "value"];
7697
7673
 
7698
7674
  var Switch = function Switch(_ref) {
7699
7675
  var autoComplete = _ref.autoComplete,
@@ -7703,7 +7679,7 @@
7703
7679
  name = _ref.name,
7704
7680
  onChange = _ref.onChange,
7705
7681
  value = _ref.value,
7706
- props = _objectWithoutProperties(_ref, _excluded$6);
7682
+ props = _objectWithoutProperties(_ref, _excluded$7);
7707
7683
 
7708
7684
  var _useState = React.useState(!!value || defaultChecked),
7709
7685
  _useState2 = _slicedToArray(_useState, 2),
@@ -7753,19 +7729,19 @@
7753
7729
  }
7754
7730
  };
7755
7731
 
7756
- var uncurryThis$3 = functionUncurryThis;
7732
+ var uncurryThis$1 = functionUncurryThis;
7757
7733
  var PROPER_FUNCTION_NAME = functionName.PROPER;
7758
7734
  var redefine$1 = redefine$b.exports;
7759
7735
  var anObject$2 = anObject$h;
7760
7736
  var isPrototypeOf$1 = objectIsPrototypeOf;
7761
- var $toString = toString$9;
7762
- var fails$2 = fails$q;
7737
+ var $toString = toString$8;
7738
+ var fails$2 = fails$p;
7763
7739
  var regExpFlags = regexpFlags$1;
7764
7740
 
7765
7741
  var TO_STRING = 'toString';
7766
7742
  var RegExpPrototype = RegExp.prototype;
7767
7743
  var n$ToString = RegExpPrototype[TO_STRING];
7768
- var getFlags = uncurryThis$3(regExpFlags);
7744
+ var getFlags = uncurryThis$1(regExpFlags);
7769
7745
 
7770
7746
  var NOT_GENERIC = fails$2(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
7771
7747
  // FF44- RegExp#toString has a wrong name
@@ -7875,7 +7851,7 @@
7875
7851
  })(["position:absolute;flex-shrink:0;flex-grow:0;margin-right:8px;height:100%;"])
7876
7852
  };
7877
7853
 
7878
- var _excluded$5 = ["icon", "error", "disabled", "placeholder", "errorMessage", "autoComplete", "hasFloatingLabel", "value", "isTranslateActive", "defaultValue"];
7854
+ var _excluded$6 = ["icon", "error", "disabled", "placeholder", "errorMessage", "autoComplete", "hasFloatingLabel", "value", "isTranslateActive", "defaultValue"];
7879
7855
 
7880
7856
  var Input = /*#__PURE__*/function (_PureComponent) {
7881
7857
  _inherits$2(Input, _PureComponent);
@@ -7971,7 +7947,7 @@
7971
7947
  value = _this$props$value === void 0 ? stateValue : _this$props$value,
7972
7948
  isTranslateActive = _this$props.isTranslateActive;
7973
7949
  _this$props.defaultValue;
7974
- var props = _objectWithoutProperties(_this$props, _excluded$5);
7950
+ var props = _objectWithoutProperties(_this$props, _excluded$6);
7975
7951
 
7976
7952
  var autoCompleteOff = props.type === 'password' ? 'new-password' : 'off';
7977
7953
  var isFloating = isFocused || !!value.toString();
@@ -8084,7 +8060,7 @@
8084
8060
  })(["color:", ";font-size:12px;line-height:14px;display:block;word-break:break-word;"], palette.statusRed)
8085
8061
  };
8086
8062
 
8087
- var _excluded$4 = ["label", "error", "disabled", "placeholder", "autoComplete", "errorMessage", "hasFloatingLabel", "isTranslateActive", "value", "defaultValue"];
8063
+ var _excluded$5 = ["label", "error", "disabled", "placeholder", "autoComplete", "errorMessage", "hasFloatingLabel", "isTranslateActive", "value", "defaultValue"];
8088
8064
 
8089
8065
  var Textarea = /*#__PURE__*/function (_PureComponent) {
8090
8066
  _inherits$2(Textarea, _PureComponent);
@@ -8186,7 +8162,7 @@
8186
8162
  _this$props$value = _this$props.value,
8187
8163
  value = _this$props$value === void 0 ? stateValue : _this$props$value;
8188
8164
  _this$props.defaultValue;
8189
- var props = _objectWithoutProperties(_this$props, _excluded$4);
8165
+ var props = _objectWithoutProperties(_this$props, _excluded$5);
8190
8166
 
8191
8167
  var isFloating = isFocused || !!value;
8192
8168
  return /*#__PURE__*/React__default["default"].createElement(styled$9.Container, {
@@ -8237,38 +8213,6 @@
8237
8213
  hasFloatingLabel: false
8238
8214
  };
8239
8215
 
8240
- var global$a = global$T;
8241
- var fails$1 = fails$q;
8242
- var uncurryThis$2 = functionUncurryThis;
8243
- var toString = toString$9;
8244
- var trim = stringTrim.trim;
8245
- var whitespaces = whitespaces$2;
8246
-
8247
- var $parseInt$1 = global$a.parseInt;
8248
- var Symbol$1 = global$a.Symbol;
8249
- var ITERATOR = Symbol$1 && Symbol$1.iterator;
8250
- var hex = /^[+-]?0x/i;
8251
- var exec = uncurryThis$2(hex.exec);
8252
- var FORCED$1 = $parseInt$1(whitespaces + '08') !== 8 || $parseInt$1(whitespaces + '0x16') !== 22
8253
- // MS Edge 18- broken with boxed symbols
8254
- || (ITERATOR && !fails$1(function () { $parseInt$1(Object(ITERATOR)); }));
8255
-
8256
- // `parseInt` method
8257
- // https://tc39.es/ecma262/#sec-parseint-string-radix
8258
- var numberParseInt = FORCED$1 ? function parseInt(string, radix) {
8259
- var S = trim(toString(string));
8260
- return $parseInt$1(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
8261
- } : $parseInt$1;
8262
-
8263
- var $$5 = _export;
8264
- var $parseInt = numberParseInt;
8265
-
8266
- // `parseInt` method
8267
- // https://tc39.es/ecma262/#sec-parseint-string-radix
8268
- $$5({ global: true, forced: parseInt != $parseInt }, {
8269
- parseInt: $parseInt
8270
- });
8271
-
8272
8216
  var setSize = function setSize(value) {
8273
8217
  return value && !Number.isNaN(parseInt(value, 10)) ? "".concat(value, "px") : 'auto';
8274
8218
  };
@@ -9130,7 +9074,7 @@
9130
9074
  size: 100
9131
9075
  };
9132
9076
 
9133
- function u(){return (u=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);}return e}).apply(this,arguments)}function c(e,r){if(null==e)return {};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r.indexOf(t=a[n])>=0||(o[t]=e[t]);return o}function i(e){var t=React.useRef(e),n=React.useRef(function(e){t.current&&t.current(e);});return t.current=e,n.current}var s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e<r?r:e},f=function(e){return "touches"in e},v=function(e){return e&&e.ownerDocument.defaultView||self},d=function(e,r,t){var n=e.getBoundingClientRect(),o=f(r)?function(e,r){for(var t=0;t<e.length;t++)if(e[t].identifier===r)return e[t];return e[0]}(r.touches,t):r;return {left:s((o.pageX-(n.left+v(e).pageXOffset))/n.width),top:s((o.pageY-(n.top+v(e).pageYOffset))/n.height)}},h=function(e){!f(e)&&e.preventDefault();},m=React__default["default"].memo(function(o){var a=o.onMove,l=o.onKey,s=c(o,["onMove","onKey"]),m=React.useRef(null),g=i(a),p=i(l),b=React.useRef(null),_=React.useRef(!1),x=React.useMemo(function(){var e=function(e){h(e),(f(e)?e.touches.length>0:e.buttons>0)&&m.current?g(d(m.current,e,b.current)):t(!1);},r=function(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",r);}return [function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier);}n.focus(),g(d(n,r,b.current)),t(!0);}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}));},t]},[p,g]),C=x[0],E=x[1],H=x[2];return React.useEffect(function(){return H},[H]),React__default["default"].createElement("div",u({},s,{onTouchStart:C,onMouseDown:C,className:"react-colorful__interactive",ref:m,onKeyDown:E,tabIndex:0,role:"slider"}))}),g=function(e){return e.filter(Boolean).join(" ")},p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g(["react-colorful__pointer",r.className]);return React__default["default"].createElement("div",{className:l,style:{top:100*a+"%",left:100*n+"%"}},React__default["default"].createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},x=function(e){return "#"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},N=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return {h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},w=function(e){var r=N(e);return "hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},q=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return {r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},z=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},B=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return {h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},K=React__default["default"].memo(function(r){var t=r.hue,n=r.onChange,o=g(["react-colorful__hue",r.className]);return React__default["default"].createElement("div",{className:o},React__default["default"].createElement(m,{onMove:function(e){n({h:360*e.left});},onKey:function(e){n({h:s(t+360*e.left,0,360)});},"aria-label":"Hue","aria-valuetext":b(t)},React__default["default"].createElement(p,{className:"react-colorful__hue-pointer",left:t/360,color:w({h:t,s:100,v:100,a:1})})))}),L=React__default["default"].memo(function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:w({h:t.h,s:100,v:100,a:1})};return React__default["default"].createElement("div",{className:"react-colorful__saturation",style:o},React__default["default"].createElement(m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top});},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)});},"aria-label":"Color","aria-valuetext":"Saturation "+b(t.s)+"%, Brightness "+b(t.v)+"%"},React__default["default"].createElement(p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:w(t)})))}),A=function(e,r){if(e===r)return !0;for(var t in e)if(e[t]!==r[t])return !1;return !0};function T(e,t,l){var u=i(l),c=React.useState(function(){return e.toHsva(t)}),s=c[0],f=c[1],v=React.useRef({color:t,hsva:s});React.useEffect(function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r);}},[t,e]),React.useEffect(function(){var r;A(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r));},[s,e,u]);var d=React.useCallback(function(e){f(function(r){return Object.assign({},r,e)});},[]);return [s,d]}var P="undefined"!=typeof window?React.useLayoutEffect:React.useEffect,X=function(){return ("undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0)},R=new Map,V=function(e){P(function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!R.has(r)){var t=r.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',R.set(r,t);var n=X();n&&t.setAttribute("nonce",n),r.head.appendChild(t);}},[]);},$$4=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=React.useRef(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return React__default["default"].createElement("div",u({},s,{ref:f,className:m}),React__default["default"].createElement(L,{hsva:d,onChange:h}),React__default["default"].createElement(K,{hue:d.h,onChange:h,className:"react-colorful__last-control"}))},G={defaultColor:"000",toHsva:function(e){return B(x(e))},fromHsva:function(e){return t=(r=q(e)).g,n=r.b,"#"+z(r.r)+z(t)+z(n);var r,t,n;},equal:function(e,r){return e.toLowerCase()===r.toLowerCase()||A(x(e),x(r))}},J=function(r){return React__default["default"].createElement($$4,u({},r,{colorModel:G}))};
9077
+ function u(){return (u=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);}return e}).apply(this,arguments)}function c(e,r){if(null==e)return {};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r.indexOf(t=a[n])>=0||(o[t]=e[t]);return o}function i(e){var t=React.useRef(e),n=React.useRef(function(e){t.current&&t.current(e);});return t.current=e,n.current}var s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e<r?r:e},f=function(e){return "touches"in e},v=function(e){return e&&e.ownerDocument.defaultView||self},d=function(e,r,t){var n=e.getBoundingClientRect(),o=f(r)?function(e,r){for(var t=0;t<e.length;t++)if(e[t].identifier===r)return e[t];return e[0]}(r.touches,t):r;return {left:s((o.pageX-(n.left+v(e).pageXOffset))/n.width),top:s((o.pageY-(n.top+v(e).pageYOffset))/n.height)}},h=function(e){!f(e)&&e.preventDefault();},m=React__default["default"].memo(function(o){var a=o.onMove,l=o.onKey,s=c(o,["onMove","onKey"]),m=React.useRef(null),g=i(a),p=i(l),b=React.useRef(null),_=React.useRef(!1),x=React.useMemo(function(){var e=function(e){h(e),(f(e)?e.touches.length>0:e.buttons>0)&&m.current?g(d(m.current,e,b.current)):t(!1);},r=function(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",r);}return [function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier);}n.focus(),g(d(n,r,b.current)),t(!0);}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}));},t]},[p,g]),C=x[0],E=x[1],H=x[2];return React.useEffect(function(){return H},[H]),React__default["default"].createElement("div",u({},s,{onTouchStart:C,onMouseDown:C,className:"react-colorful__interactive",ref:m,onKeyDown:E,tabIndex:0,role:"slider"}))}),g=function(e){return e.filter(Boolean).join(" ")},p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g(["react-colorful__pointer",r.className]);return React__default["default"].createElement("div",{className:l,style:{top:100*a+"%",left:100*n+"%"}},React__default["default"].createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},x=function(e){return "#"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},N=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return {h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},w=function(e){var r=N(e);return "hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},q=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return {r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},z=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},B=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return {h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},K=React__default["default"].memo(function(r){var t=r.hue,n=r.onChange,o=g(["react-colorful__hue",r.className]);return React__default["default"].createElement("div",{className:o},React__default["default"].createElement(m,{onMove:function(e){n({h:360*e.left});},onKey:function(e){n({h:s(t+360*e.left,0,360)});},"aria-label":"Hue","aria-valuetext":b(t)},React__default["default"].createElement(p,{className:"react-colorful__hue-pointer",left:t/360,color:w({h:t,s:100,v:100,a:1})})))}),L=React__default["default"].memo(function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:w({h:t.h,s:100,v:100,a:1})};return React__default["default"].createElement("div",{className:"react-colorful__saturation",style:o},React__default["default"].createElement(m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top});},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)});},"aria-label":"Color","aria-valuetext":"Saturation "+b(t.s)+"%, Brightness "+b(t.v)+"%"},React__default["default"].createElement(p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:w(t)})))}),A=function(e,r){if(e===r)return !0;for(var t in e)if(e[t]!==r[t])return !1;return !0};function T(e,t,l){var u=i(l),c=React.useState(function(){return e.toHsva(t)}),s=c[0],f=c[1],v=React.useRef({color:t,hsva:s});React.useEffect(function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r);}},[t,e]),React.useEffect(function(){var r;A(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r));},[s,e,u]);var d=React.useCallback(function(e){f(function(r){return Object.assign({},r,e)});},[]);return [s,d]}var P="undefined"!=typeof window?React.useLayoutEffect:React.useEffect,X=function(){return ("undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0)},R=new Map,V=function(e){P(function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!R.has(r)){var t=r.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',R.set(r,t);var n=X();n&&t.setAttribute("nonce",n),r.head.appendChild(t);}},[]);},$$3=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=React.useRef(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return React__default["default"].createElement("div",u({},s,{ref:f,className:m}),React__default["default"].createElement(L,{hsva:d,onChange:h}),React__default["default"].createElement(K,{hue:d.h,onChange:h,className:"react-colorful__last-control"}))},G={defaultColor:"000",toHsva:function(e){return B(x(e))},fromHsva:function(e){return t=(r=q(e)).g,n=r.b,"#"+z(r.r)+z(t)+z(n);var r,t,n;},equal:function(e,r){return e.toLowerCase()===r.toLowerCase()||A(x(e),x(r))}},J=function(r){return React__default["default"].createElement($$3,u({},r,{colorModel:G}))};
9134
9078
 
9135
9079
  var styled$7 = {
9136
9080
  ClickableWrapper: styled__default["default"].div.withConfig({
@@ -9715,14 +9659,14 @@
9715
9659
  })(["margin-right:8px;"])
9716
9660
  };
9717
9661
 
9718
- var _excluded$3 = ["href", "children", "target", "icon"];
9662
+ var _excluded$4 = ["href", "children", "target", "icon"];
9719
9663
 
9720
9664
  var Link = function Link(_ref) {
9721
9665
  var href = _ref.href,
9722
9666
  children = _ref.children,
9723
9667
  target = _ref.target,
9724
9668
  icon = _ref.icon,
9725
- props = _objectWithoutProperties(_ref, _excluded$3);
9669
+ props = _objectWithoutProperties(_ref, _excluded$4);
9726
9670
 
9727
9671
  var renderIcon = function renderIcon() {
9728
9672
  return icon ? /*#__PURE__*/React__default["default"].createElement(styled$5.StyledIcon, {
@@ -9846,7 +9790,7 @@
9846
9790
  Overlay: Overlay
9847
9791
  };
9848
9792
 
9849
- var _excluded$2 = ["open", "position", "handleClose", "transitionDuration", "fullScreen", "closeOnClickAway", "children"];
9793
+ var _excluded$3 = ["open", "position", "handleClose", "transitionDuration", "fullScreen", "closeOnClickAway", "children"];
9850
9794
 
9851
9795
  var Drawer = function Drawer(_ref) {
9852
9796
  var open = _ref.open,
@@ -9856,7 +9800,7 @@
9856
9800
  fullScreen = _ref.fullScreen,
9857
9801
  closeOnClickAway = _ref.closeOnClickAway,
9858
9802
  children = _ref.children,
9859
- props = _objectWithoutProperties(_ref, _excluded$2);
9803
+ props = _objectWithoutProperties(_ref, _excluded$3);
9860
9804
 
9861
9805
  var drawerRef = React.useRef(null);
9862
9806
  return /*#__PURE__*/React__default["default"].createElement(ClickAwayListener, {
@@ -15997,10 +15941,10 @@
15997
15941
  return hasEqualLat && hasEqualLng;
15998
15942
  };
15999
15943
  var isValidAnimation = function isValidAnimation() {
16000
- var _window$google, _window$google$maps;
15944
+ var _window$google;
16001
15945
 
16002
15946
  var animation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
16003
- var validAnimations = (_window$google = window.google) === null || _window$google === void 0 ? void 0 : (_window$google$maps = _window$google.maps) === null || _window$google$maps === void 0 ? void 0 : _window$google$maps.Animation;
15947
+ var validAnimations = (_window$google = window.google) === null || _window$google === void 0 || (_window$google = _window$google.maps) === null || _window$google === void 0 ? void 0 : _window$google.Animation;
16004
15948
  if (!animation || !isObject$2(animation)) return false;
16005
15949
  return (animation === null || animation === void 0 ? void 0 : animation.name) && validAnimations && validAnimations[animation === null || animation === void 0 ? void 0 : animation.name] !== undefined;
16006
15950
  };
@@ -16231,7 +16175,7 @@
16231
16175
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, markers.map(function (marker, idx) {
16232
16176
  var _marker$position, _marker$position2;
16233
16177
 
16234
- var uniqueId = "".concat(marker === null || marker === void 0 ? void 0 : (_marker$position = marker.position) === null || _marker$position === void 0 ? void 0 : _marker$position.lat, "-").concat(marker === null || marker === void 0 ? void 0 : (_marker$position2 = marker.position) === null || _marker$position2 === void 0 ? void 0 : _marker$position2.lng, "/").concat(idx.toString());
16178
+ var uniqueId = "".concat(marker === null || marker === void 0 || (_marker$position = marker.position) === null || _marker$position === void 0 ? void 0 : _marker$position.lat, "-").concat(marker === null || marker === void 0 || (_marker$position2 = marker.position) === null || _marker$position2 === void 0 ? void 0 : _marker$position2.lng, "/").concat(idx.toString());
16235
16179
  return /*#__PURE__*/React__default["default"].createElement(Marker$1, {
16236
16180
  markerData: _objectSpread2(_objectSpread2({}, marker), {}, {
16237
16181
  infoWindowOpen: (marker === null || marker === void 0 ? void 0 : marker.showInfoWindow) || activeMarkerId === uniqueId
@@ -17064,29 +17008,6 @@
17064
17008
  }
17065
17009
  }(runtime));
17066
17010
 
17067
- /* eslint-disable es/no-array-prototype-indexof -- required for testing */
17068
- var $$3 = _export;
17069
- var uncurryThis$1 = functionUncurryThis;
17070
- var $IndexOf = arrayIncludes.indexOf;
17071
- var arrayMethodIsStrict$1 = arrayMethodIsStrict$3;
17072
-
17073
- var un$IndexOf = uncurryThis$1([].indexOf);
17074
-
17075
- var NEGATIVE_ZERO = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0;
17076
- var STRICT_METHOD$1 = arrayMethodIsStrict$1('indexOf');
17077
-
17078
- // `Array.prototype.indexOf` method
17079
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
17080
- $$3({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD$1 }, {
17081
- indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
17082
- var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
17083
- return NEGATIVE_ZERO
17084
- // convert -0 to +0
17085
- ? un$IndexOf(this, searchElement, fromIndex) || 0
17086
- : $IndexOf(this, searchElement, fromIndex);
17087
- }
17088
- });
17089
-
17090
17011
  /**
17091
17012
  * Maps every marker to extend the map's bounds so they can all be initially shown
17092
17013
  * @param {Array} markers Array of markers
@@ -17103,12 +17024,12 @@
17103
17024
  return bounds;
17104
17025
  });
17105
17026
 
17106
- var global$9 = global$T;
17027
+ var global$a = global$R;
17107
17028
  var isArray = isArray$3;
17108
- var lengthOfArrayLike$2 = lengthOfArrayLike$9;
17029
+ var lengthOfArrayLike$2 = lengthOfArrayLike$8;
17109
17030
  var bind$4 = functionBindContext;
17110
17031
 
17111
- var TypeError$3 = global$9.TypeError;
17032
+ var TypeError$3 = global$a.TypeError;
17112
17033
 
17113
17034
  // `FlattenIntoArray` abstract operation
17114
17035
  // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray
@@ -17141,9 +17062,9 @@
17141
17062
 
17142
17063
  var $$2 = _export;
17143
17064
  var flattenIntoArray = flattenIntoArray_1;
17144
- var aCallable$2 = aCallable$7;
17145
- var toObject = toObject$9;
17146
- var lengthOfArrayLike$1 = lengthOfArrayLike$9;
17065
+ var aCallable$2 = aCallable$6;
17066
+ var toObject = toObject$8;
17067
+ var lengthOfArrayLike$1 = lengthOfArrayLike$8;
17147
17068
  var arraySpeciesCreate = arraySpeciesCreate$3;
17148
17069
 
17149
17070
  // `Array.prototype.flatMap` method
@@ -17246,8 +17167,18 @@
17246
17167
  });
17247
17168
  });
17248
17169
 
17170
+ var fails$1 = fails$p;
17171
+
17172
+ var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
17173
+ var method = [][METHOD_NAME];
17174
+ return !!method && fails$1(function () {
17175
+ // eslint-disable-next-line no-useless-call -- required for testing
17176
+ method.call(null, argument || function () { return 1; }, 1);
17177
+ });
17178
+ };
17179
+
17249
17180
  var $forEach = arrayIteration.forEach;
17250
- var arrayMethodIsStrict = arrayMethodIsStrict$3;
17181
+ var arrayMethodIsStrict = arrayMethodIsStrict$1;
17251
17182
 
17252
17183
  var STRICT_METHOD = arrayMethodIsStrict('forEach');
17253
17184
 
@@ -17258,7 +17189,7 @@
17258
17189
  // eslint-disable-next-line es/no-array-prototype-foreach -- safe
17259
17190
  } : [].forEach;
17260
17191
 
17261
- var global$8 = global$T;
17192
+ var global$9 = global$R;
17262
17193
  var DOMIterables = domIterables;
17263
17194
  var DOMTokenListPrototype = domTokenListPrototype;
17264
17195
  var forEach = arrayForEach;
@@ -17275,7 +17206,7 @@
17275
17206
 
17276
17207
  for (var COLLECTION_NAME in DOMIterables) {
17277
17208
  if (DOMIterables[COLLECTION_NAME]) {
17278
- handlePrototype(global$8[COLLECTION_NAME] && global$8[COLLECTION_NAME].prototype);
17209
+ handlePrototype(global$9[COLLECTION_NAME] && global$9[COLLECTION_NAME].prototype);
17279
17210
  }
17280
17211
  }
17281
17212
 
@@ -17361,9 +17292,9 @@
17361
17292
  });
17362
17293
  });
17363
17294
 
17364
- var global$7 = global$T;
17295
+ var global$8 = global$R;
17365
17296
 
17366
- var nativePromiseConstructor = global$7.Promise;
17297
+ var nativePromiseConstructor = global$8.Promise;
17367
17298
 
17368
17299
  var getBuiltIn$1 = getBuiltIn$8;
17369
17300
  var definePropertyModule = objectDefineProperty;
@@ -17384,19 +17315,19 @@
17384
17315
  }
17385
17316
  };
17386
17317
 
17387
- var global$6 = global$T;
17318
+ var global$7 = global$R;
17388
17319
  var bind$3 = functionBindContext;
17389
17320
  var call$1 = functionCall;
17390
17321
  var anObject$1 = anObject$h;
17391
17322
  var tryToString = tryToString$4;
17392
17323
  var isArrayIteratorMethod = isArrayIteratorMethod$2;
17393
- var lengthOfArrayLike = lengthOfArrayLike$9;
17324
+ var lengthOfArrayLike = lengthOfArrayLike$8;
17394
17325
  var isPrototypeOf = objectIsPrototypeOf;
17395
17326
  var getIterator = getIterator$3;
17396
17327
  var getIteratorMethod = getIteratorMethod$4;
17397
17328
  var iteratorClose = iteratorClose$2;
17398
17329
 
17399
- var TypeError$2 = global$6.TypeError;
17330
+ var TypeError$2 = global$7.TypeError;
17400
17331
 
17401
17332
  var Result = function (stopped, result) {
17402
17333
  this.stopped = stopped;
@@ -17459,12 +17390,17 @@
17459
17390
 
17460
17391
  var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
17461
17392
 
17462
- var global$5 = global$T;
17393
+ var classof = classofRaw$1;
17394
+ var global$6 = global$R;
17395
+
17396
+ var engineIsNode = classof(global$6.process) == 'process';
17397
+
17398
+ var global$5 = global$R;
17463
17399
  var apply = functionApply;
17464
17400
  var bind$2 = functionBindContext;
17465
17401
  var isCallable$1 = isCallable$k;
17466
17402
  var hasOwn = hasOwnProperty_1;
17467
- var fails = fails$q;
17403
+ var fails = fails$p;
17468
17404
  var html = html$2;
17469
17405
  var arraySlice = arraySlice$1;
17470
17406
  var createElement = documentCreateElement$2;
@@ -17577,7 +17513,7 @@
17577
17513
  };
17578
17514
 
17579
17515
  var userAgent$1 = engineUserAgent;
17580
- var global$4 = global$T;
17516
+ var global$4 = global$R;
17581
17517
 
17582
17518
  var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$4.Pebble !== undefined;
17583
17519
 
@@ -17585,7 +17521,7 @@
17585
17521
 
17586
17522
  var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
17587
17523
 
17588
- var global$3 = global$T;
17524
+ var global$3 = global$R;
17589
17525
  var bind$1 = functionBindContext;
17590
17526
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
17591
17527
  var macrotask = task$1.set;
@@ -17673,7 +17609,7 @@
17673
17609
 
17674
17610
  var newPromiseCapability$2 = {};
17675
17611
 
17676
- var aCallable$1 = aCallable$7;
17612
+ var aCallable$1 = aCallable$6;
17677
17613
 
17678
17614
  var PromiseCapability = function (C) {
17679
17615
  var resolve, reject;
@@ -17705,7 +17641,7 @@
17705
17641
  return promiseCapability.promise;
17706
17642
  };
17707
17643
 
17708
- var global$2 = global$T;
17644
+ var global$2 = global$R;
17709
17645
 
17710
17646
  var hostReportErrors$1 = function (a, b) {
17711
17647
  var console = global$2.console;
@@ -17749,7 +17685,7 @@
17749
17685
  var engineIsBrowser = typeof window == 'object';
17750
17686
 
17751
17687
  var $$1 = _export;
17752
- var global$1 = global$T;
17688
+ var global$1 = global$R;
17753
17689
  var getBuiltIn = getBuiltIn$8;
17754
17690
  var call = functionCall;
17755
17691
  var NativePromise = nativePromiseConstructor;
@@ -17758,7 +17694,7 @@
17758
17694
  var setPrototypeOf = objectSetPrototypeOf;
17759
17695
  var setToStringTag = setToStringTag$5;
17760
17696
  var setSpecies = setSpecies$1;
17761
- var aCallable = aCallable$7;
17697
+ var aCallable = aCallable$6;
17762
17698
  var isCallable = isCallable$k;
17763
17699
  var isObject = isObject$d;
17764
17700
  var anInstance = anInstance$3;
@@ -35492,7 +35428,7 @@
35492
35428
  })(["z-index:0;position:relative;right:0px;top:0px;background:", ";margin:10px;padding:4px 8px 6px;border-radius:2px;width:auto;box-shadow:rgba(0,0,0,0.3) 0px 1px 4px -1px;"], palette.white)
35493
35429
  };
35494
35430
 
35495
- var _excluded$1 = ["formattedAddress"];
35431
+ var _excluded$2 = ["formattedAddress"];
35496
35432
 
35497
35433
  var SearchBox = function SearchBox(_ref) {
35498
35434
  var updateMarker = _ref.updateMarker;
@@ -35513,7 +35449,7 @@
35513
35449
 
35514
35450
  case 4:
35515
35451
  addressData = _context.sent;
35516
- formattedAddress = addressData.formattedAddress, addressComponents = _objectWithoutProperties(addressData, _excluded$1);
35452
+ formattedAddress = addressData.formattedAddress, addressComponents = _objectWithoutProperties(addressData, _excluded$2);
35517
35453
  if (updateMarker) updateMarker({
35518
35454
  lat: newLat(),
35519
35455
  lng: newLng(),
@@ -35547,7 +35483,7 @@
35547
35483
  })));
35548
35484
  };
35549
35485
 
35550
- var _excluded = ["googleMapsApiKey", "width", "height", "center", "zoom", "markers", "markerOptions", "options", "callbackOnSuccessDirections", "callbackOnErrorDirections"];
35486
+ var _excluded$1 = ["googleMapsApiKey", "width", "height", "center", "zoom", "markers", "markerOptions", "options", "callbackOnSuccessDirections", "callbackOnErrorDirections"];
35551
35487
  var Map$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
35552
35488
  var _mapRef$current;
35553
35489
 
@@ -35570,7 +35506,7 @@
35570
35506
  callbackOnSuccessDirections = _ref$callbackOnSucces === void 0 ? function () {} : _ref$callbackOnSucces,
35571
35507
  _ref$callbackOnErrorD = _ref.callbackOnErrorDirections,
35572
35508
  callbackOnErrorDirections = _ref$callbackOnErrorD === void 0 ? function () {} : _ref$callbackOnErrorD,
35573
- props = _objectWithoutProperties(_ref, _excluded);
35509
+ props = _objectWithoutProperties(_ref, _excluded$1);
35574
35510
 
35575
35511
  var _useJsApiLoader = useJsApiLoader({
35576
35512
  googleMapsApiKey: googleMapsApiKey,
@@ -35825,131 +35761,185 @@
35825
35761
  }));
35826
35762
  };
35827
35763
 
35764
+ var isProduction = "production" === 'production';
35828
35765
  function warning(condition, message) {
35766
+ if (!isProduction) {
35767
+ if (condition) {
35768
+ return;
35769
+ }
35770
+
35771
+ var text = "Warning: " + message;
35772
+
35773
+ if (typeof console !== 'undefined') {
35774
+ console.warn(text);
35775
+ }
35776
+
35777
+ try {
35778
+ throw Error(text);
35779
+ } catch (x) {}
35780
+ }
35829
35781
  }
35830
35782
 
35831
- /**
35832
- * react-collapsed v4.2.0
35833
- *
35834
- * Copyright (c) 2019-2024, Rogin Farrer
35835
- *
35836
- * This source code is licensed under the MIT license found in the
35837
- * LICENSE.md file in the root directory of this source tree.
35838
- *
35839
- * @license MIT
35840
- */
35841
- var CollapseError = class extends Error {
35842
- constructor(message) {
35843
- super(`react-collapsed: ${message}`);
35783
+ var _excluded = ["duration", "easing", "onTransitionStateChange", "isExpanded", "defaultExpanded", "hasDisabledAnimation", "id"],
35784
+ _excluded2 = ["disabled", "onClick", "refKey"];
35785
+
35786
+ var CollapseError = /*#__PURE__*/function (_Error) {
35787
+ _inherits$2(CollapseError, _Error);
35788
+
35789
+ var _super = _createSuper(CollapseError);
35790
+
35791
+ function CollapseError(message) {
35792
+ _classCallCheck$2(this, CollapseError);
35793
+
35794
+ return _super.call(this, "react-collapsed: ".concat(message));
35844
35795
  }
35845
- };
35846
- var collapseWarning = (...args) => {
35847
- return warning(args[0], `[react-collapsed] -- ${args[1]}`);
35848
- };
35796
+
35797
+ return _createClass$2(CollapseError);
35798
+ }( /*#__PURE__*/_wrapNativeSuper(Error));
35799
+
35800
+ var collapseWarning = function collapseWarning() {
35801
+ return warning(arguments.length <= 0 ? undefined : arguments[0], "[react-collapsed] -- ".concat(arguments.length <= 1 ? undefined : arguments[1]));
35802
+ }; // src/utils/useEvent.ts
35803
+
35849
35804
  function useEvent(callback) {
35850
- const ref = React.useRef(callback);
35851
- React.useEffect(() => {
35805
+ var ref = React.useRef(callback);
35806
+ React.useEffect(function () {
35852
35807
  ref.current = callback;
35853
35808
  });
35854
- return React.useCallback((...args) => ref.current?.(...args), []);
35855
- }
35809
+ return React.useCallback(function () {
35810
+ var _ref$current;
35811
+
35812
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
35813
+ args[_key] = arguments[_key];
35814
+ }
35815
+
35816
+ return (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.call.apply(_ref$current, [ref].concat(args));
35817
+ }, []);
35818
+ } // src/utils/useControlledState.ts
35819
+
35856
35820
  function useControlledState(value, defaultValue, callback) {
35857
- const [state, setState] = React.useState(defaultValue);
35858
- const initiallyControlled = React.useRef(typeof value !== "undefined");
35859
- const effectiveValue = initiallyControlled.current ? value : state;
35860
- const cb = useEvent(callback);
35861
- const onChange = React.useCallback(
35862
- (update) => {
35863
- const setter = update;
35864
- const newValue = typeof update === "function" ? setter(effectiveValue) : update;
35865
- if (!initiallyControlled.current) {
35866
- setState(newValue);
35867
- }
35868
- cb?.(newValue);
35869
- },
35870
- [cb, effectiveValue]
35871
- );
35872
- React.useEffect(() => {
35873
- collapseWarning(
35874
- !(initiallyControlled.current && value == null),
35875
- "`isExpanded` state is changing from controlled to uncontrolled. useCollapse should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled collapse for the lifetime of the component. Check the `isExpanded` prop."
35876
- );
35877
- collapseWarning(
35878
- !(!initiallyControlled.current && value != null),
35879
- "`isExpanded` state is changing from uncontrolled to controlled. useCollapse should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled collapse for the lifetime of the component. Check the `isExpanded` prop."
35880
- );
35821
+ var _useState = React.useState(defaultValue),
35822
+ _useState2 = _slicedToArray(_useState, 2),
35823
+ state = _useState2[0],
35824
+ setState = _useState2[1];
35825
+
35826
+ var initiallyControlled = React.useRef(typeof value !== "undefined");
35827
+ var effectiveValue = initiallyControlled.current ? value : state;
35828
+ var cb = useEvent(callback);
35829
+ var onChange = React.useCallback(function (update) {
35830
+ var setter = update;
35831
+ var newValue = typeof update === "function" ? setter(effectiveValue) : update;
35832
+
35833
+ if (!initiallyControlled.current) {
35834
+ setState(newValue);
35835
+ }
35836
+
35837
+ cb === null || cb === void 0 || cb(newValue);
35838
+ }, [cb, effectiveValue]);
35839
+ React.useEffect(function () {
35840
+ collapseWarning(!(initiallyControlled.current && value == null), "`isExpanded` state is changing from controlled to uncontrolled. useCollapse should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled collapse for the lifetime of the component. Check the `isExpanded` prop.");
35841
+ collapseWarning(!(!initiallyControlled.current && value != null), "`isExpanded` state is changing from uncontrolled to controlled. useCollapse should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled collapse for the lifetime of the component. Check the `isExpanded` prop.");
35881
35842
  }, [value]);
35882
35843
  return [effectiveValue, onChange];
35883
- }
35844
+ } // src/utils/usePrefersReducedMotion.ts
35884
35845
  var QUERY = "(prefers-reduced-motion: reduce)";
35846
+
35885
35847
  function usePrefersReducedMotion() {
35886
- const [prefersReducedMotion, setPrefersReducedMotion] = React.useState(false);
35887
- React.useEffect(() => {
35848
+ var _useState3 = React.useState(false),
35849
+ _useState4 = _slicedToArray(_useState3, 2),
35850
+ prefersReducedMotion = _useState4[0],
35851
+ setPrefersReducedMotion = _useState4[1];
35852
+
35853
+ React.useEffect(function () {
35888
35854
  if (typeof window === "undefined" || typeof window.matchMedia !== "function") {
35889
35855
  return;
35890
35856
  }
35891
- const mediaQueryList = window.matchMedia(QUERY);
35857
+
35858
+ var mediaQueryList = window.matchMedia(QUERY);
35892
35859
  setPrefersReducedMotion(mediaQueryList.matches);
35893
- const listener = (event) => {
35860
+
35861
+ var listener = function listener(event) {
35894
35862
  setPrefersReducedMotion(event.matches);
35895
35863
  };
35864
+
35896
35865
  if (mediaQueryList.addEventListener) {
35897
35866
  mediaQueryList.addEventListener("change", listener);
35898
- return () => {
35867
+ return function () {
35899
35868
  mediaQueryList.removeEventListener("change", listener);
35900
35869
  };
35901
35870
  } else if (mediaQueryList.addListener) {
35902
35871
  mediaQueryList.addListener(listener);
35903
- return () => {
35872
+ return function () {
35904
35873
  mediaQueryList.removeListener(listener);
35905
35874
  };
35906
35875
  }
35876
+
35907
35877
  return void 0;
35908
35878
  }, []);
35909
35879
  return prefersReducedMotion;
35910
- }
35911
- var __useId = React__namespace["useId".toString()] || (() => void 0);
35880
+ } // src/utils/useId.ts
35881
+
35882
+ var __useId = React__namespace["useId".toString()] || function () {
35883
+ return void 0;
35884
+ };
35885
+
35912
35886
  function useReactId() {
35913
- const id2 = __useId();
35914
- return id2 ?? "";
35887
+ var id2 = __useId();
35888
+
35889
+ return id2 !== null && id2 !== void 0 ? id2 : "";
35915
35890
  }
35891
+
35916
35892
  var useIsomorphicLayoutEffect = typeof window !== "undefined" ? React__namespace.useLayoutEffect : React__namespace.useEffect;
35917
35893
  var serverHandoffComplete = false;
35918
35894
  var id = 0;
35919
- var genId = () => ++id;
35895
+
35896
+ var genId = function genId() {
35897
+ return ++id;
35898
+ };
35899
+
35920
35900
  function useUniqueId(idFromProps) {
35921
- const initialId = idFromProps || (serverHandoffComplete ? genId() : null);
35922
- const [id2, setId] = React__namespace.useState(initialId);
35923
- useIsomorphicLayoutEffect(() => {
35901
+ var initialId = idFromProps || (serverHandoffComplete ? genId() : null);
35902
+
35903
+ var _React$useState = React__namespace.useState(initialId),
35904
+ _React$useState2 = _slicedToArray(_React$useState, 2),
35905
+ id2 = _React$useState2[0],
35906
+ setId = _React$useState2[1];
35907
+
35908
+ useIsomorphicLayoutEffect(function () {
35924
35909
  if (id2 === null) {
35925
35910
  setId(genId());
35926
35911
  }
35927
35912
  }, []);
35928
- React__namespace.useEffect(() => {
35913
+ React__namespace.useEffect(function () {
35929
35914
  if (serverHandoffComplete === false) {
35930
35915
  serverHandoffComplete = true;
35931
35916
  }
35932
35917
  }, []);
35933
35918
  return id2 != null ? String(id2) : void 0;
35934
35919
  }
35920
+
35935
35921
  function useId(idOverride) {
35936
- const reactId = useReactId();
35937
- const uniqueId = useUniqueId(idOverride);
35922
+ var reactId = useReactId();
35923
+ var uniqueId = useUniqueId(idOverride);
35924
+
35938
35925
  if (typeof idOverride === "string") {
35939
35926
  return idOverride;
35940
35927
  }
35928
+
35941
35929
  if (typeof reactId === "string") {
35942
35930
  return reactId;
35943
35931
  }
35932
+
35944
35933
  return uniqueId;
35945
- }
35934
+ } // src/utils/setAnimationTimeout.ts
35935
+
35946
35936
 
35947
- // src/utils/setAnimationTimeout.ts
35948
35937
  function setAnimationTimeout(callback, timeout) {
35949
- const startTime = performance.now();
35950
- const frame = {};
35938
+ var startTime = performance.now();
35939
+ var frame = {};
35940
+
35951
35941
  function call() {
35952
- frame.id = requestAnimationFrame((now) => {
35942
+ frame.id = requestAnimationFrame(function (now) {
35953
35943
  if (now - startTime > timeout) {
35954
35944
  callback();
35955
35945
  } else {
@@ -35957,121 +35947,142 @@
35957
35947
  }
35958
35948
  });
35959
35949
  }
35950
+
35960
35951
  call();
35961
35952
  return frame;
35962
35953
  }
35954
+
35963
35955
  function clearAnimationTimeout(frame) {
35964
- if (frame.id)
35965
- cancelAnimationFrame(frame.id);
35966
- }
35956
+ if (frame.id) cancelAnimationFrame(frame.id);
35957
+ } // src/utils/index.ts
35967
35958
 
35968
- // src/utils/index.ts
35969
- function getElementHeight(el) {
35970
- if (!el?.current) {
35971
- collapseWarning(
35972
- true,
35973
- `Was not able to find a ref to the collapse element via \`getCollapseProps\`. Ensure that the element exposes its \`ref\` prop. If it exposes the ref prop under a different name (like \`innerRef\`), use the \`refKey\` property to change it. Example:
35974
35959
 
35975
- const collapseProps = getCollapseProps({refKey: 'innerRef'})`
35976
- );
35960
+ function getElementHeight(el) {
35961
+ if (!(el !== null && el !== void 0 && el.current)) {
35962
+ collapseWarning(true, "Was not able to find a ref to the collapse element via `getCollapseProps`. Ensure that the element exposes its `ref` prop. If it exposes the ref prop under a different name (like `innerRef`), use the `refKey` property to change it. Example:\n\nconst collapseProps = getCollapseProps({refKey: 'innerRef'})");
35977
35963
  return 0;
35978
35964
  }
35965
+
35979
35966
  return el.current.scrollHeight;
35980
35967
  }
35968
+
35981
35969
  function getAutoHeightDuration(height) {
35982
35970
  if (!height || typeof height === "string") {
35983
35971
  return 0;
35984
35972
  }
35985
- const constant = height / 36;
35986
- return Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10);
35973
+
35974
+ var constant = height / 36;
35975
+ return Math.round((4 + 15 * Math.pow(constant, 0.25) + constant / 5) * 10);
35987
35976
  }
35977
+
35988
35978
  function assignRef(ref, value) {
35989
- if (ref == null)
35990
- return;
35979
+ if (ref == null) return;
35980
+
35991
35981
  if (typeof ref === "function") {
35992
35982
  ref(value);
35993
35983
  } else {
35994
35984
  try {
35995
35985
  ref.current = value;
35996
35986
  } catch (error) {
35997
- throw new CollapseError(`Cannot assign value "${value}" to ref "${ref}"`);
35987
+ throw new CollapseError("Cannot assign value \"".concat(value, "\" to ref \"").concat(ref, "\""));
35998
35988
  }
35999
35989
  }
36000
35990
  }
36001
- function mergeRefs(...refs) {
36002
- if (refs.every((ref) => ref == null)) {
35991
+
35992
+ function mergeRefs() {
35993
+ for (var _len2 = arguments.length, refs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
35994
+ refs[_key2] = arguments[_key2];
35995
+ }
35996
+
35997
+ if (refs.every(function (ref) {
35998
+ return ref == null;
35999
+ })) {
36003
36000
  return null;
36004
36001
  }
36005
- return (node) => {
36006
- refs.forEach((ref) => {
36002
+
36003
+ return function (node) {
36004
+ refs.forEach(function (ref) {
36007
36005
  assignRef(ref, node);
36008
36006
  });
36009
36007
  };
36010
36008
  }
36009
+
36011
36010
  function usePaddingWarning(element) {
36012
- let warn = (el) => {
36013
- };
36011
+ var warn = function warn(el) {};
36012
+
36014
36013
  {
36015
- warn = (el) => {
36016
- if (!el?.current) {
36014
+ warn = function warn(el) {
36015
+ if (!(el !== null && el !== void 0 && el.current)) {
36017
36016
  return;
36018
36017
  }
36019
- const { paddingTop, paddingBottom } = window.getComputedStyle(el.current);
36020
- const hasPadding = paddingTop && paddingTop !== "0px" || paddingBottom && paddingBottom !== "0px";
36021
- collapseWarning(
36022
- !hasPadding,
36023
- `Padding applied to the collapse element will cause the animation to break and not perform as expected. To fix, apply equivalent padding to the direct descendent of the collapse element. Example:
36024
36018
 
36025
- Before: <div {...getCollapseProps({style: {padding: 10}})}>{children}</div>
36019
+ var _window$getComputedSt = window.getComputedStyle(el.current),
36020
+ paddingTop = _window$getComputedSt.paddingTop,
36021
+ paddingBottom = _window$getComputedSt.paddingBottom;
36026
36022
 
36027
- After: <div {...getCollapseProps()}>
36028
- <div style={{padding: 10}}>
36029
- {children}
36030
- </div>
36031
- </div>`
36032
- );
36023
+ var hasPadding = paddingTop && paddingTop !== "0px" || paddingBottom && paddingBottom !== "0px";
36024
+ collapseWarning(!hasPadding, "Padding applied to the collapse element will cause the animation to break and not perform as expected. To fix, apply equivalent padding to the direct descendent of the collapse element. Example:\n\nBefore: <div {...getCollapseProps({style: {padding: 10}})}>{children}</div>\n\nAfter: <div {...getCollapseProps()}>\n <div style={{padding: 10}}>\n {children}\n </div>\n </div>");
36033
36025
  };
36034
36026
  }
36035
- React.useEffect(() => {
36027
+
36028
+ React.useEffect(function () {
36036
36029
  warn(element);
36037
36030
  }, [element]);
36038
- }
36031
+ } // src/index.ts
36032
+
36039
36033
 
36040
- // src/index.ts
36041
36034
  var useLayoutEffect2 = typeof window === "undefined" ? React.useEffect : React.useLayoutEffect;
36042
- function useCollapse({
36043
- duration,
36044
- easing = "cubic-bezier(0.4, 0, 0.2, 1)",
36045
- onTransitionStateChange: propOnTransitionStateChange = () => {
36046
- },
36047
- isExpanded: configIsExpanded,
36048
- defaultExpanded = false,
36049
- hasDisabledAnimation,
36050
- id: id2,
36051
- ...initialConfig
36052
- } = {}) {
36053
- const onTransitionStateChange = useEvent(propOnTransitionStateChange);
36054
- const uniqueId = useId(id2 ? `${id2}` : void 0);
36055
- const [isExpanded, setExpanded] = useControlledState(
36056
- configIsExpanded,
36057
- defaultExpanded
36058
- );
36059
- const prevExpanded = React.useRef(isExpanded);
36060
- const [isAnimating, setIsAnimating] = React.useState(false);
36061
- const prefersReducedMotion = usePrefersReducedMotion();
36062
- const disableAnimation = hasDisabledAnimation ?? prefersReducedMotion;
36063
- const frameId = React.useRef();
36064
- const endFrameId = React.useRef();
36065
- const collapseElRef = React.useRef(null);
36066
- const [toggleEl, setToggleEl] = React.useState(null);
36035
+
36036
+ function useCollapse() {
36037
+ var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
36038
+ duration = _ref.duration,
36039
+ _ref$easing = _ref.easing,
36040
+ easing = _ref$easing === void 0 ? "cubic-bezier(0.4, 0, 0.2, 1)" : _ref$easing,
36041
+ _ref$onTransitionStat = _ref.onTransitionStateChange,
36042
+ propOnTransitionStateChange = _ref$onTransitionStat === void 0 ? function () {} : _ref$onTransitionStat,
36043
+ configIsExpanded = _ref.isExpanded,
36044
+ _ref$defaultExpanded = _ref.defaultExpanded,
36045
+ defaultExpanded = _ref$defaultExpanded === void 0 ? false : _ref$defaultExpanded,
36046
+ hasDisabledAnimation = _ref.hasDisabledAnimation,
36047
+ id2 = _ref.id,
36048
+ initialConfig = _objectWithoutProperties(_ref, _excluded);
36049
+
36050
+ var onTransitionStateChange = useEvent(propOnTransitionStateChange);
36051
+ var uniqueId = useId(id2 ? "".concat(id2) : void 0);
36052
+
36053
+ var _useControlledState = useControlledState(configIsExpanded, defaultExpanded),
36054
+ _useControlledState2 = _slicedToArray(_useControlledState, 2),
36055
+ isExpanded = _useControlledState2[0],
36056
+ setExpanded = _useControlledState2[1];
36057
+
36058
+ var prevExpanded = React.useRef(isExpanded);
36059
+
36060
+ var _useState5 = React.useState(false),
36061
+ _useState6 = _slicedToArray(_useState5, 2),
36062
+ isAnimating = _useState6[0],
36063
+ setIsAnimating = _useState6[1];
36064
+
36065
+ var prefersReducedMotion = usePrefersReducedMotion();
36066
+ var disableAnimation = hasDisabledAnimation !== null && hasDisabledAnimation !== void 0 ? hasDisabledAnimation : prefersReducedMotion;
36067
+ var frameId = React.useRef();
36068
+ var endFrameId = React.useRef();
36069
+ var collapseElRef = React.useRef(null);
36070
+
36071
+ var _useState7 = React.useState(null),
36072
+ _useState8 = _slicedToArray(_useState7, 2),
36073
+ toggleEl = _useState8[0],
36074
+ setToggleEl = _useState8[1];
36075
+
36067
36076
  usePaddingWarning(collapseElRef);
36068
- const collapsedHeight = `${initialConfig.collapsedHeight || 0}px`;
36077
+ var collapsedHeight = "".concat(initialConfig.collapsedHeight || 0, "px");
36078
+
36069
36079
  function setStyles(newStyles) {
36070
- if (!collapseElRef.current)
36071
- return;
36072
- const target = collapseElRef.current;
36073
- for (const property in newStyles) {
36074
- const value = newStyles[property];
36080
+ if (!collapseElRef.current) return;
36081
+ var target = collapseElRef.current;
36082
+
36083
+ for (var property in newStyles) {
36084
+ var value = newStyles[property];
36085
+
36075
36086
  if (value) {
36076
36087
  target.style[property] = value;
36077
36088
  } else {
@@ -36079,21 +36090,26 @@ After: <div {...getCollapseProps()}>
36079
36090
  }
36080
36091
  }
36081
36092
  }
36082
- useLayoutEffect2(() => {
36083
- const collapse = collapseElRef.current;
36084
- if (!collapse)
36085
- return;
36086
- if (isExpanded === prevExpanded.current)
36087
- return;
36093
+
36094
+ useLayoutEffect2(function () {
36095
+ var collapse = collapseElRef.current;
36096
+ if (!collapse) return;
36097
+ if (isExpanded === prevExpanded.current) return;
36088
36098
  prevExpanded.current = isExpanded;
36099
+
36089
36100
  function getDuration(height) {
36090
36101
  if (disableAnimation) {
36091
36102
  return 0;
36092
36103
  }
36093
- return duration ?? getAutoHeightDuration(height);
36104
+
36105
+ return duration !== null && duration !== void 0 ? duration : getAutoHeightDuration(height);
36094
36106
  }
36095
- const getTransitionStyles = (height) => `height ${getDuration(height)}ms ${easing}`;
36096
- const setTransitionEndTimeout = (duration2) => {
36107
+
36108
+ var getTransitionStyles = function getTransitionStyles(height) {
36109
+ return "height ".concat(getDuration(height), "ms ").concat(easing);
36110
+ };
36111
+
36112
+ var setTransitionEndTimeout = function setTransitionEndTimeout(duration2) {
36097
36113
  function endTransition() {
36098
36114
  if (isExpanded) {
36099
36115
  setStyles({
@@ -36104,45 +36120,53 @@ After: <div {...getCollapseProps()}>
36104
36120
  });
36105
36121
  onTransitionStateChange("expandEnd");
36106
36122
  } else {
36107
- setStyles({ transition: "" });
36123
+ setStyles({
36124
+ transition: ""
36125
+ });
36108
36126
  onTransitionStateChange("collapseEnd");
36109
36127
  }
36128
+
36110
36129
  setIsAnimating(false);
36111
36130
  }
36131
+
36112
36132
  if (endFrameId.current) {
36113
36133
  clearAnimationTimeout(endFrameId.current);
36114
36134
  }
36135
+
36115
36136
  endFrameId.current = setAnimationTimeout(endTransition, duration2);
36116
36137
  };
36138
+
36117
36139
  setIsAnimating(true);
36140
+
36118
36141
  if (isExpanded) {
36119
- frameId.current = requestAnimationFrame(() => {
36142
+ frameId.current = requestAnimationFrame(function () {
36120
36143
  onTransitionStateChange("expandStart");
36121
36144
  setStyles({
36122
36145
  display: "block",
36123
36146
  overflow: "hidden",
36124
36147
  height: collapsedHeight
36125
36148
  });
36126
- frameId.current = requestAnimationFrame(() => {
36149
+ frameId.current = requestAnimationFrame(function () {
36127
36150
  onTransitionStateChange("expanding");
36128
- const height = getElementHeight(collapseElRef);
36151
+ var height = getElementHeight(collapseElRef);
36129
36152
  setTransitionEndTimeout(getDuration(height));
36153
+
36130
36154
  if (collapseElRef.current) {
36131
36155
  collapseElRef.current.style.transition = getTransitionStyles(height);
36132
- collapseElRef.current.style.height = `${height}px`;
36156
+ collapseElRef.current.style.height = "".concat(height, "px");
36133
36157
  }
36134
36158
  });
36135
36159
  });
36136
36160
  } else {
36137
- frameId.current = requestAnimationFrame(() => {
36161
+ frameId.current = requestAnimationFrame(function () {
36138
36162
  onTransitionStateChange("collapseStart");
36139
- const height = getElementHeight(collapseElRef);
36163
+ var height = getElementHeight(collapseElRef);
36140
36164
  setTransitionEndTimeout(getDuration(height));
36141
36165
  setStyles({
36142
36166
  transition: getTransitionStyles(height),
36143
- height: `${height}px`
36167
+ height: "".concat(height, "px")
36144
36168
  });
36145
- frameId.current = requestAnimationFrame(() => {
36169
+ frameId.current = requestAnimationFrame(function () {
36146
36170
  onTransitionStateChange("collapsing");
36147
36171
  setStyles({
36148
36172
  height: collapsedHeight,
@@ -36151,89 +36175,84 @@ After: <div {...getCollapseProps()}>
36151
36175
  });
36152
36176
  });
36153
36177
  }
36154
- return () => {
36155
- if (frameId.current)
36156
- cancelAnimationFrame(frameId.current);
36157
- if (endFrameId.current)
36158
- clearAnimationTimeout(endFrameId.current);
36178
+
36179
+ return function () {
36180
+ if (frameId.current) cancelAnimationFrame(frameId.current);
36181
+ if (endFrameId.current) clearAnimationTimeout(endFrameId.current);
36159
36182
  };
36160
- }, [
36161
- isExpanded,
36162
- collapsedHeight,
36163
- disableAnimation,
36164
- duration,
36165
- easing,
36166
- onTransitionStateChange
36167
- ]);
36183
+ }, [isExpanded, collapsedHeight, disableAnimation, duration, easing, onTransitionStateChange]);
36168
36184
  return {
36169
- isExpanded,
36170
- setExpanded,
36171
- getToggleProps(args) {
36172
- const { disabled, onClick, refKey, ...rest } = {
36185
+ isExpanded: isExpanded,
36186
+ setExpanded: setExpanded,
36187
+ getToggleProps: function getToggleProps(args) {
36188
+ var _refKey$onClick$disab = _objectSpread2({
36173
36189
  refKey: "ref",
36174
- onClick() {
36175
- },
36176
- disabled: false,
36177
- ...args
36178
- };
36179
- const isButton = toggleEl ? toggleEl.tagName === "BUTTON" : void 0;
36180
- const theirRef = args?.[refKey || "ref"];
36181
- const props = {
36182
- id: `react-collapsed-toggle-${uniqueId}`,
36183
- "aria-controls": `react-collapsed-panel-${uniqueId}`,
36190
+ onClick: function onClick() {},
36191
+ disabled: false
36192
+ }, args),
36193
+ disabled = _refKey$onClick$disab.disabled,
36194
+ _onClick = _refKey$onClick$disab.onClick,
36195
+ refKey = _refKey$onClick$disab.refKey,
36196
+ rest = _objectWithoutProperties(_refKey$onClick$disab, _excluded2);
36197
+
36198
+ var isButton = toggleEl ? toggleEl.tagName === "BUTTON" : void 0;
36199
+ var theirRef = args === null || args === void 0 ? void 0 : args[refKey || "ref"];
36200
+
36201
+ var props = _defineProperty({
36202
+ id: "react-collapsed-toggle-".concat(uniqueId),
36203
+ "aria-controls": "react-collapsed-panel-".concat(uniqueId),
36184
36204
  "aria-expanded": isExpanded,
36185
- onClick(evt) {
36186
- if (disabled)
36187
- return;
36188
- onClick?.(evt);
36189
- setExpanded((n) => !n);
36190
- },
36191
- [refKey || "ref"]: mergeRefs(theirRef, setToggleEl)
36192
- };
36193
- const buttonProps = {
36205
+ onClick: function onClick(evt) {
36206
+ if (disabled) return;
36207
+ _onClick === null || _onClick === void 0 || _onClick(evt);
36208
+ setExpanded(function (n) {
36209
+ return !n;
36210
+ });
36211
+ }
36212
+ }, refKey || "ref", mergeRefs(theirRef, setToggleEl));
36213
+
36214
+ var buttonProps = {
36194
36215
  type: "button",
36195
36216
  disabled: disabled ? true : void 0
36196
36217
  };
36197
- const fakeButtonProps = {
36218
+ var fakeButtonProps = {
36198
36219
  "aria-disabled": disabled ? true : void 0,
36199
36220
  role: "button",
36200
36221
  tabIndex: disabled ? -1 : 0
36201
36222
  };
36223
+
36202
36224
  if (isButton === false) {
36203
- return { ...props, ...fakeButtonProps, ...rest };
36225
+ return _objectSpread2(_objectSpread2(_objectSpread2({}, props), fakeButtonProps), rest);
36204
36226
  } else if (isButton === true) {
36205
- return { ...props, ...buttonProps, ...rest };
36227
+ return _objectSpread2(_objectSpread2(_objectSpread2({}, props), buttonProps), rest);
36206
36228
  } else {
36207
- return {
36208
- ...props,
36209
- ...buttonProps,
36210
- ...fakeButtonProps,
36211
- ...rest
36212
- };
36229
+ return _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, props), buttonProps), fakeButtonProps), rest);
36213
36230
  }
36214
36231
  },
36215
- getCollapseProps(args) {
36216
- const { style, refKey } = { refKey: "ref", style: {}, ...args };
36217
- const theirRef = args?.[refKey || "ref"];
36218
- return {
36219
- id: `react-collapsed-panel-${uniqueId}`,
36232
+ getCollapseProps: function getCollapseProps(args) {
36233
+ var _objectSpread2$1;
36234
+
36235
+ var _refKey$style$args = _objectSpread2({
36236
+ refKey: "ref",
36237
+ style: {}
36238
+ }, args),
36239
+ style = _refKey$style$args.style,
36240
+ refKey = _refKey$style$args.refKey;
36241
+
36242
+ var theirRef = args === null || args === void 0 ? void 0 : args[refKey || "ref"];
36243
+ return _objectSpread2(_objectSpread2({
36244
+ id: "react-collapsed-panel-".concat(uniqueId),
36220
36245
  "aria-hidden": !isExpanded,
36221
- "aria-labelledby": `react-collapsed-toggle-${uniqueId}`,
36222
- role: "region",
36223
- ...args,
36224
- [refKey || "ref"]: mergeRefs(collapseElRef, theirRef),
36225
- style: {
36226
- boxSizing: "border-box",
36227
- ...!isAnimating && !isExpanded ? {
36228
- // collapsed and not animating
36229
- display: collapsedHeight === "0px" ? "none" : "block",
36230
- height: collapsedHeight,
36231
- overflow: "hidden"
36232
- } : {},
36233
- // additional styles passed, e.g. getCollapseProps({style: {}})
36234
- ...style
36235
- }
36236
- };
36246
+ "aria-labelledby": "react-collapsed-toggle-".concat(uniqueId),
36247
+ role: "region"
36248
+ }, args), {}, (_objectSpread2$1 = {}, _defineProperty(_objectSpread2$1, refKey || "ref", mergeRefs(collapseElRef, theirRef)), _defineProperty(_objectSpread2$1, "style", _objectSpread2(_objectSpread2({
36249
+ boxSizing: "border-box"
36250
+ }, !isAnimating && !isExpanded ? {
36251
+ // collapsed and not animating
36252
+ display: collapsedHeight === "0px" ? "none" : "block",
36253
+ height: collapsedHeight,
36254
+ overflow: "hidden"
36255
+ } : {}), style)), _objectSpread2$1));
36237
36256
  }
36238
36257
  };
36239
36258
  }