@royaloperahouse/chord 2.6.0 → 2.6.1

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.
@@ -2623,13 +2623,15 @@ var Icon = /*#__PURE__*/React.memo(function (_ref) {
2623
2623
  });
2624
2624
  Icon.displayName = 'Icon';
2625
2625
 
2626
+ var _excluded = ["children", "iconName", "iconDirection", "iconClassName", "color"];
2627
+
2626
2628
  var Button = function Button(_ref) {
2627
2629
  var children = _ref.children,
2628
2630
  iconName = _ref.iconName,
2629
2631
  iconDirection = _ref.iconDirection,
2630
2632
  iconClassName = _ref.iconClassName,
2631
2633
  color = _ref.color,
2632
- rest = _objectWithoutPropertiesLoose(_ref, ["children", "iconName", "iconDirection", "iconClassName", "color"]);
2634
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded);
2633
2635
 
2634
2636
  var truncatedString = children.substring(0, 30);
2635
2637
  return /*#__PURE__*/React__default.createElement(ButtonWrapper, Object.assign({}, rest, {
@@ -2740,10 +2742,12 @@ var IInformationTitleVariant;
2740
2742
  IInformationBackgroundColour["White"] = "white";
2741
2743
  })(exports.IInformationBackgroundColour || (exports.IInformationBackgroundColour = {}));
2742
2744
 
2745
+ var _excluded$1 = ["children", "disabled"];
2746
+
2743
2747
  var PrimaryButton = function PrimaryButton(_ref) {
2744
2748
  var children = _ref.children,
2745
2749
  disabled = _ref.disabled,
2746
- props = _objectWithoutPropertiesLoose(_ref, ["children", "disabled"]);
2750
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
2747
2751
 
2748
2752
  var description = 'This button is currently disabled';
2749
2753
  return disabled ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(AriaDescription, {
@@ -2767,9 +2771,11 @@ var PrimaryButtonWrapper$1 = /*#__PURE__*/styled__default(Button)(_templateObjec
2767
2771
  return color ? "var(--base-color-" + color + ")" : theme.colors.primary;
2768
2772
  });
2769
2773
 
2774
+ var _excluded$2 = ["children"];
2775
+
2770
2776
  var SecondaryButton = function SecondaryButton(_ref) {
2771
2777
  var children = _ref.children,
2772
- props = _objectWithoutPropertiesLoose(_ref, ["children"]);
2778
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
2773
2779
 
2774
2780
  return /*#__PURE__*/React__default.createElement(PrimaryButtonWrapper$1, Object.assign({
2775
2781
  color: exports.Colors.Primary
@@ -2783,10 +2789,12 @@ var TertiaryButtonWrapper = /*#__PURE__*/styled__default.a(_templateObject$6 ||
2783
2789
  });
2784
2790
  var TertiaryIconWrapper = /*#__PURE__*/styled__default.span(_templateObject2$1 || (_templateObject2$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: var(--button-icon-width);\n min-width: 20px;\n height: var(--button-icon-height);\n margin-left: var(--button-icon-margin);\n display: inline-block;\n"])));
2785
2791
 
2792
+ var _excluded$3 = ["children", "color"];
2793
+
2786
2794
  var Button$1 = function Button(_ref) {
2787
2795
  var children = _ref.children,
2788
2796
  color = _ref.color,
2789
- rest = _objectWithoutPropertiesLoose(_ref, ["children", "color"]);
2797
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$3);
2790
2798
 
2791
2799
  var truncatedString = children.substring(0, 100);
2792
2800
  return /*#__PURE__*/React__default.createElement(TertiaryButtonWrapper, Object.assign({}, rest, {
@@ -3317,6 +3325,7 @@ var ErrorLabel = /*#__PURE__*/styled__default.div(_templateObject6 || (_template
3317
3325
  return 'var(--base-color-errorstate)';
3318
3326
  });
3319
3327
 
3328
+ var _excluded$4 = ["children", "disabled", "error", "darkMode", "blackBox"];
3320
3329
  /**
3321
3330
  * A Radio component, that wraps around the native `<input type="radio"/>` element
3322
3331
  * and adds some extra styling, states and information around it (i.e. an error label,
@@ -3346,7 +3355,7 @@ var Radio2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
3346
3355
  darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
3347
3356
  _ref$blackBox = _ref.blackBox,
3348
3357
  blackBox = _ref$blackBox === void 0 ? false : _ref$blackBox,
3349
- inputProps = _objectWithoutPropertiesLoose(_ref, ["children", "disabled", "error", "darkMode", "blackBox"]);
3358
+ inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$4);
3350
3359
 
3351
3360
  return /*#__PURE__*/React__default.createElement(Container, null, /*#__PURE__*/React__default.createElement(TickboxLabel, {
3352
3361
  darkMode: darkMode,
@@ -3866,6 +3875,8 @@ var TabLinkWrapper = /*#__PURE__*/styled__default.a(_templateObject$m || (_templ
3866
3875
  });
3867
3876
  var TabLinkIconWrapper = /*#__PURE__*/styled__default.span(_templateObject2$b || (_templateObject2$b = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: var(--button-icon-width);\n height: var(--button-icon-height);\n margin-right: var(--button-icon-margin);\n"])));
3868
3877
 
3878
+ var _excluded$5 = ["children", "iconName", "iconDirection", "color", "hoverColor"];
3879
+
3869
3880
  var TabLink = function TabLink(_ref) {
3870
3881
  var children = _ref.children,
3871
3882
  iconName = _ref.iconName,
@@ -3874,7 +3885,7 @@ var TabLink = function TabLink(_ref) {
3874
3885
  color = _ref$color === void 0 ? exports.Colors.DarkGrey : _ref$color,
3875
3886
  _ref$hoverColor = _ref.hoverColor,
3876
3887
  hoverColor = _ref$hoverColor === void 0 ? exports.Colors.Primary : _ref$hoverColor,
3877
- rest = _objectWithoutPropertiesLoose(_ref, ["children", "iconName", "iconDirection", "color", "hoverColor"]);
3888
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$5);
3878
3889
 
3879
3890
  return /*#__PURE__*/React__default.createElement(TabLinkWrapper, Object.assign({
3880
3891
  color: color,
@@ -3924,6 +3935,7 @@ var TextAreaError = /*#__PURE__*/styled__default.div(_templateObject4$3 || (_tem
3924
3935
  return darkMode ? 'var(--base-color-white)' : 'var(--base-color-errorstate)';
3925
3936
  });
3926
3937
 
3938
+ var _excluded$6 = ["label", "error", "width", "darkMode", "height", "columnStartDesktop", "columnStartDevice", "columnSpanDesktop", "columnSpanDevice", "maxLength", "tabIndex"];
3927
3939
  /**
3928
3940
  * An HTML textarea component for Chord.
3929
3941
  *
@@ -3985,7 +3997,7 @@ var TextArea = function TextArea(_ref) {
3985
3997
  maxLength = _ref$maxLength === void 0 ? 950 : _ref$maxLength,
3986
3998
  _ref$tabIndex = _ref.tabIndex,
3987
3999
  tabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex,
3988
- textareaProps = _objectWithoutPropertiesLoose(_ref, ["label", "error", "width", "darkMode", "height", "columnStartDesktop", "columnStartDevice", "columnSpanDesktop", "columnSpanDevice", "maxLength", "tabIndex"]);
4000
+ textareaProps = _objectWithoutPropertiesLoose(_ref, _excluded$6);
3989
4001
 
3990
4002
  return /*#__PURE__*/React__default.createElement(GridItem, {
3991
4003
  columnStartDesktop: columnStartDesktop,
@@ -4045,6 +4057,7 @@ var ErrorLabel$1 = /*#__PURE__*/styled__default.div(_templateObject6$1 || (_temp
4045
4057
  return "var(--base-color-errorstate)";
4046
4058
  });
4047
4059
 
4060
+ var _excluded$7 = ["label", "type", "error", "darkMode", "width"];
4048
4061
  /**
4049
4062
  * A text field component, that wraps around the native `<input />` element
4050
4063
  * and adds some extra states and information around it (i.e. a text and an error labels,
@@ -4092,7 +4105,7 @@ var TextField = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
4092
4105
  _ref$darkMode = _ref.darkMode,
4093
4106
  darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
4094
4107
  width = _ref.width,
4095
- inputProps = _objectWithoutPropertiesLoose(_ref, ["label", "type", "error", "darkMode", "width"]);
4108
+ inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$7);
4096
4109
 
4097
4110
  var _useState = React.useState(false),
4098
4111
  showPassword = _useState[0],
@@ -4183,6 +4196,7 @@ var ErrorLabel$2 = /*#__PURE__*/styled__default.p(_templateObject5$3 || (_templa
4183
4196
  return darkMode ? theme.colors.white : theme.colors.error;
4184
4197
  });
4185
4198
 
4199
+ var _excluded$8 = ["label", "error", "darkMode", "width"];
4186
4200
  /**
4187
4201
  * @deprecated
4188
4202
  *
@@ -4197,7 +4211,7 @@ var TextFieldLegacy = function TextFieldLegacy(_ref) {
4197
4211
  _ref$darkMode = _ref.darkMode,
4198
4212
  darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
4199
4213
  width = _ref.width,
4200
- inputProps = _objectWithoutPropertiesLoose(_ref, ["label", "error", "darkMode", "width"]);
4214
+ inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$8);
4201
4215
 
4202
4216
  return /*#__PURE__*/React__default.createElement(TextFieldContainer, null, /*#__PURE__*/React__default.createElement("label", null, /*#__PURE__*/React__default.createElement(TextLabel$2, {
4203
4217
  darkMode: darkMode,
@@ -4224,12 +4238,14 @@ var TextLinkWrapper = /*#__PURE__*/styled__default.a(_templateObject$q || (_temp
4224
4238
  });
4225
4239
  var TextLinkIconWrapper = /*#__PURE__*/styled__default.span(_templateObject2$f || (_templateObject2$f = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: var(--button-icon-width);\n height: var(--button-icon-height);\n margin-left: var(--button-icon-margin);\n"])));
4226
4240
 
4241
+ var _excluded$9 = ["children", "iconName", "iconDirection", "color"];
4242
+
4227
4243
  var TextLink = function TextLink(_ref) {
4228
4244
  var children = _ref.children,
4229
4245
  iconName = _ref.iconName,
4230
4246
  iconDirection = _ref.iconDirection,
4231
4247
  color = _ref.color,
4232
- rest = _objectWithoutPropertiesLoose(_ref, ["children", "iconName", "iconDirection", "color"]);
4248
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$9);
4233
4249
 
4234
4250
  var truncatedString = children.substring(0, 30);
4235
4251
  return /*#__PURE__*/React__default.createElement(TextLinkWrapper, Object.assign({
@@ -4424,6 +4440,7 @@ var ErrorLabel$3 = /*#__PURE__*/styled__default.div(_templateObject6$2 || (_temp
4424
4440
  return 'var(--base-color-errorstate)';
4425
4441
  });
4426
4442
 
4443
+ var _excluded$a = ["children", "disabled", "error", "darkMode", "blackBox"];
4427
4444
  /**
4428
4445
  * A Tickbox component, that wraps around the native `<input type="checkbox"/>` element
4429
4446
  * and adds some extra styling, states and information around it (i.e. an error label,
@@ -4453,7 +4470,7 @@ var Tickbox2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
4453
4470
  darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
4454
4471
  _ref$blackBox = _ref.blackBox,
4455
4472
  blackBox = _ref$blackBox === void 0 ? false : _ref$blackBox,
4456
- inputProps = _objectWithoutPropertiesLoose(_ref, ["children", "disabled", "error", "darkMode", "blackBox"]);
4473
+ inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$a);
4457
4474
 
4458
4475
  return /*#__PURE__*/React__default.createElement(Container$2, null, /*#__PURE__*/React__default.createElement(TickboxLabel$2, {
4459
4476
  darkMode: darkMode,
@@ -4611,197 +4628,201 @@ function createCommonjsModule(fn, module) {
4611
4628
  return module = { exports: {} }, fn(module, module.exports), module.exports;
4612
4629
  }
4613
4630
 
4614
- var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
4615
- /**
4616
- * Copyright (c) 2014-present, Facebook, Inc.
4617
- *
4618
- * This source code is licensed under the MIT license found in the
4619
- * LICENSE file in the root directory of this source tree.
4620
- */
4621
- var runtime = function (exports) {
4622
-
4623
- var Op = Object.prototype;
4624
- var hasOwn = Op.hasOwnProperty;
4625
- var undefined$1; // More compressible than void 0.
4626
-
4627
- var $Symbol = typeof Symbol === "function" ? Symbol : {};
4628
- var iteratorSymbol = $Symbol.iterator || "@@iterator";
4629
- var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
4630
- var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
4631
-
4632
- function define(obj, key, value) {
4633
- Object.defineProperty(obj, key, {
4634
- value: value,
4635
- enumerable: true,
4636
- configurable: true,
4637
- writable: true
4638
- });
4639
- return obj[key];
4640
- }
4631
+ var runtime_1 = createCommonjsModule(function (module) {
4632
+ /**
4633
+ * Copyright (c) 2014-present, Facebook, Inc.
4634
+ *
4635
+ * This source code is licensed under the MIT license found in the
4636
+ * LICENSE file in the root directory of this source tree.
4637
+ */
4641
4638
 
4642
- try {
4643
- // IE 8 has a broken Object.defineProperty that only works on DOM objects.
4644
- define({}, "");
4645
- } catch (err) {
4646
- define = function define(obj, key, value) {
4647
- return obj[key] = value;
4648
- };
4649
- }
4639
+ var runtime = (function (exports) {
4640
+
4641
+ var Op = Object.prototype;
4642
+ var hasOwn = Op.hasOwnProperty;
4643
+ var undefined$1; // More compressible than void 0.
4644
+ var $Symbol = typeof Symbol === "function" ? Symbol : {};
4645
+ var iteratorSymbol = $Symbol.iterator || "@@iterator";
4646
+ var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
4647
+ var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
4648
+
4649
+ function define(obj, key, value) {
4650
+ Object.defineProperty(obj, key, {
4651
+ value: value,
4652
+ enumerable: true,
4653
+ configurable: true,
4654
+ writable: true
4655
+ });
4656
+ return obj[key];
4657
+ }
4658
+ try {
4659
+ // IE 8 has a broken Object.defineProperty that only works on DOM objects.
4660
+ define({}, "");
4661
+ } catch (err) {
4662
+ define = function(obj, key, value) {
4663
+ return obj[key] = value;
4664
+ };
4665
+ }
4650
4666
 
4651
- function wrap(innerFn, outerFn, self, tryLocsList) {
4652
- // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
4653
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
4654
- var generator = Object.create(protoGenerator.prototype);
4655
- var context = new Context(tryLocsList || []); // The ._invoke method unifies the implementations of the .next,
4656
- // .throw, and .return methods.
4667
+ function wrap(innerFn, outerFn, self, tryLocsList) {
4668
+ // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
4669
+ var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
4670
+ var generator = Object.create(protoGenerator.prototype);
4671
+ var context = new Context(tryLocsList || []);
4657
4672
 
4658
- generator._invoke = makeInvokeMethod(innerFn, self, context);
4659
- return generator;
4660
- }
4673
+ // The ._invoke method unifies the implementations of the .next,
4674
+ // .throw, and .return methods.
4675
+ generator._invoke = makeInvokeMethod(innerFn, self, context);
4661
4676
 
4662
- exports.wrap = wrap; // Try/catch helper to minimize deoptimizations. Returns a completion
4663
- // record like context.tryEntries[i].completion. This interface could
4664
- // have been (and was previously) designed to take a closure to be
4665
- // invoked without arguments, but in all the cases we care about we
4666
- // already have an existing method we want to call, so there's no need
4667
- // to create a new function object. We can even get away with assuming
4668
- // the method takes exactly one argument, since that happens to be true
4669
- // in every case, so we don't have to touch the arguments object. The
4670
- // only additional allocation required is the completion record, which
4671
- // has a stable shape and so hopefully should be cheap to allocate.
4672
-
4673
- function tryCatch(fn, obj, arg) {
4674
- try {
4675
- return {
4676
- type: "normal",
4677
- arg: fn.call(obj, arg)
4678
- };
4679
- } catch (err) {
4680
- return {
4681
- type: "throw",
4682
- arg: err
4683
- };
4684
- }
4677
+ return generator;
4678
+ }
4679
+ exports.wrap = wrap;
4680
+
4681
+ // Try/catch helper to minimize deoptimizations. Returns a completion
4682
+ // record like context.tryEntries[i].completion. This interface could
4683
+ // have been (and was previously) designed to take a closure to be
4684
+ // invoked without arguments, but in all the cases we care about we
4685
+ // already have an existing method we want to call, so there's no need
4686
+ // to create a new function object. We can even get away with assuming
4687
+ // the method takes exactly one argument, since that happens to be true
4688
+ // in every case, so we don't have to touch the arguments object. The
4689
+ // only additional allocation required is the completion record, which
4690
+ // has a stable shape and so hopefully should be cheap to allocate.
4691
+ function tryCatch(fn, obj, arg) {
4692
+ try {
4693
+ return { type: "normal", arg: fn.call(obj, arg) };
4694
+ } catch (err) {
4695
+ return { type: "throw", arg: err };
4685
4696
  }
4697
+ }
4686
4698
 
4687
- var GenStateSuspendedStart = "suspendedStart";
4688
- var GenStateSuspendedYield = "suspendedYield";
4689
- var GenStateExecuting = "executing";
4690
- var GenStateCompleted = "completed"; // Returning this object from the innerFn has the same effect as
4691
- // breaking out of the dispatch switch statement.
4692
-
4693
- var ContinueSentinel = {}; // Dummy constructor functions that we use as the .constructor and
4694
- // .constructor.prototype properties for functions that return Generator
4695
- // objects. For full spec compliance, you may wish to configure your
4696
- // minifier not to mangle the names of these two functions.
4697
-
4698
- function Generator() {}
4699
-
4700
- function GeneratorFunction() {}
4701
-
4702
- function GeneratorFunctionPrototype() {} // This is a polyfill for %IteratorPrototype% for environments that
4703
- // don't natively support it.
4699
+ var GenStateSuspendedStart = "suspendedStart";
4700
+ var GenStateSuspendedYield = "suspendedYield";
4701
+ var GenStateExecuting = "executing";
4702
+ var GenStateCompleted = "completed";
4703
+
4704
+ // Returning this object from the innerFn has the same effect as
4705
+ // breaking out of the dispatch switch statement.
4706
+ var ContinueSentinel = {};
4707
+
4708
+ // Dummy constructor functions that we use as the .constructor and
4709
+ // .constructor.prototype properties for functions that return Generator
4710
+ // objects. For full spec compliance, you may wish to configure your
4711
+ // minifier not to mangle the names of these two functions.
4712
+ function Generator() {}
4713
+ function GeneratorFunction() {}
4714
+ function GeneratorFunctionPrototype() {}
4715
+
4716
+ // This is a polyfill for %IteratorPrototype% for environments that
4717
+ // don't natively support it.
4718
+ var IteratorPrototype = {};
4719
+ define(IteratorPrototype, iteratorSymbol, function () {
4720
+ return this;
4721
+ });
4704
4722
 
4723
+ var getProto = Object.getPrototypeOf;
4724
+ var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
4725
+ if (NativeIteratorPrototype &&
4726
+ NativeIteratorPrototype !== Op &&
4727
+ hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
4728
+ // This environment has a native %IteratorPrototype%; use it instead
4729
+ // of the polyfill.
4730
+ IteratorPrototype = NativeIteratorPrototype;
4731
+ }
4705
4732
 
4706
- var IteratorPrototype = {};
4707
- define(IteratorPrototype, iteratorSymbol, function () {
4708
- return this;
4733
+ var Gp = GeneratorFunctionPrototype.prototype =
4734
+ Generator.prototype = Object.create(IteratorPrototype);
4735
+ GeneratorFunction.prototype = GeneratorFunctionPrototype;
4736
+ define(Gp, "constructor", GeneratorFunctionPrototype);
4737
+ define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
4738
+ GeneratorFunction.displayName = define(
4739
+ GeneratorFunctionPrototype,
4740
+ toStringTagSymbol,
4741
+ "GeneratorFunction"
4742
+ );
4743
+
4744
+ // Helper for defining the .next, .throw, and .return methods of the
4745
+ // Iterator interface in terms of a single ._invoke method.
4746
+ function defineIteratorMethods(prototype) {
4747
+ ["next", "throw", "return"].forEach(function(method) {
4748
+ define(prototype, method, function(arg) {
4749
+ return this._invoke(method, arg);
4750
+ });
4709
4751
  });
4710
- var getProto = Object.getPrototypeOf;
4711
- var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
4752
+ }
4712
4753
 
4713
- if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
4714
- // This environment has a native %IteratorPrototype%; use it instead
4715
- // of the polyfill.
4716
- IteratorPrototype = NativeIteratorPrototype;
4717
- }
4754
+ exports.isGeneratorFunction = function(genFun) {
4755
+ var ctor = typeof genFun === "function" && genFun.constructor;
4756
+ return ctor
4757
+ ? ctor === GeneratorFunction ||
4758
+ // For the native GeneratorFunction constructor, the best we can
4759
+ // do is to check its .name property.
4760
+ (ctor.displayName || ctor.name) === "GeneratorFunction"
4761
+ : false;
4762
+ };
4718
4763
 
4719
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
4720
- GeneratorFunction.prototype = GeneratorFunctionPrototype;
4721
- define(Gp, "constructor", GeneratorFunctionPrototype);
4722
- define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
4723
- GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"); // Helper for defining the .next, .throw, and .return methods of the
4724
- // Iterator interface in terms of a single ._invoke method.
4725
-
4726
- function defineIteratorMethods(prototype) {
4727
- ["next", "throw", "return"].forEach(function (method) {
4728
- define(prototype, method, function (arg) {
4729
- return this._invoke(method, arg);
4730
- });
4731
- });
4764
+ exports.mark = function(genFun) {
4765
+ if (Object.setPrototypeOf) {
4766
+ Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
4767
+ } else {
4768
+ genFun.__proto__ = GeneratorFunctionPrototype;
4769
+ define(genFun, toStringTagSymbol, "GeneratorFunction");
4732
4770
  }
4771
+ genFun.prototype = Object.create(Gp);
4772
+ return genFun;
4773
+ };
4733
4774
 
4734
- exports.isGeneratorFunction = function (genFun) {
4735
- var ctor = typeof genFun === "function" && genFun.constructor;
4736
- return ctor ? ctor === GeneratorFunction || // For the native GeneratorFunction constructor, the best we can
4737
- // do is to check its .name property.
4738
- (ctor.displayName || ctor.name) === "GeneratorFunction" : false;
4739
- };
4775
+ // Within the body of any async function, `await x` is transformed to
4776
+ // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
4777
+ // `hasOwn.call(value, "__await")` to determine if the yielded value is
4778
+ // meant to be awaited.
4779
+ exports.awrap = function(arg) {
4780
+ return { __await: arg };
4781
+ };
4740
4782
 
4741
- exports.mark = function (genFun) {
4742
- if (Object.setPrototypeOf) {
4743
- Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
4783
+ function AsyncIterator(generator, PromiseImpl) {
4784
+ function invoke(method, arg, resolve, reject) {
4785
+ var record = tryCatch(generator[method], generator, arg);
4786
+ if (record.type === "throw") {
4787
+ reject(record.arg);
4744
4788
  } else {
4745
- genFun.__proto__ = GeneratorFunctionPrototype;
4746
- define(genFun, toStringTagSymbol, "GeneratorFunction");
4747
- }
4748
-
4749
- genFun.prototype = Object.create(Gp);
4750
- return genFun;
4751
- }; // Within the body of any async function, `await x` is transformed to
4752
- // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
4753
- // `hasOwn.call(value, "__await")` to determine if the yielded value is
4754
- // meant to be awaited.
4755
-
4756
-
4757
- exports.awrap = function (arg) {
4758
- return {
4759
- __await: arg
4760
- };
4761
- };
4762
-
4763
- function AsyncIterator(generator, PromiseImpl) {
4764
- function invoke(method, arg, resolve, reject) {
4765
- var record = tryCatch(generator[method], generator, arg);
4766
-
4767
- if (record.type === "throw") {
4768
- reject(record.arg);
4769
- } else {
4770
- var result = record.arg;
4771
- var value = result.value;
4772
-
4773
- if (value && typeof value === "object" && hasOwn.call(value, "__await")) {
4774
- return PromiseImpl.resolve(value.__await).then(function (value) {
4775
- invoke("next", value, resolve, reject);
4776
- }, function (err) {
4777
- invoke("throw", err, resolve, reject);
4778
- });
4779
- }
4780
-
4781
- return PromiseImpl.resolve(value).then(function (unwrapped) {
4782
- // When a yielded Promise is resolved, its final value becomes
4783
- // the .value of the Promise<{value,done}> result for the
4784
- // current iteration.
4785
- result.value = unwrapped;
4786
- resolve(result);
4787
- }, function (error) {
4788
- // If a rejected Promise was yielded, throw the rejection back
4789
- // into the async generator function so it can be handled there.
4790
- return invoke("throw", error, resolve, reject);
4789
+ var result = record.arg;
4790
+ var value = result.value;
4791
+ if (value &&
4792
+ typeof value === "object" &&
4793
+ hasOwn.call(value, "__await")) {
4794
+ return PromiseImpl.resolve(value.__await).then(function(value) {
4795
+ invoke("next", value, resolve, reject);
4796
+ }, function(err) {
4797
+ invoke("throw", err, resolve, reject);
4791
4798
  });
4792
4799
  }
4800
+
4801
+ return PromiseImpl.resolve(value).then(function(unwrapped) {
4802
+ // When a yielded Promise is resolved, its final value becomes
4803
+ // the .value of the Promise<{value,done}> result for the
4804
+ // current iteration.
4805
+ result.value = unwrapped;
4806
+ resolve(result);
4807
+ }, function(error) {
4808
+ // If a rejected Promise was yielded, throw the rejection back
4809
+ // into the async generator function so it can be handled there.
4810
+ return invoke("throw", error, resolve, reject);
4811
+ });
4793
4812
  }
4813
+ }
4794
4814
 
4795
- var previousPromise;
4815
+ var previousPromise;
4796
4816
 
4797
- function enqueue(method, arg) {
4798
- function callInvokeWithMethodAndArg() {
4799
- return new PromiseImpl(function (resolve, reject) {
4800
- invoke(method, arg, resolve, reject);
4801
- });
4802
- }
4817
+ function enqueue(method, arg) {
4818
+ function callInvokeWithMethodAndArg() {
4819
+ return new PromiseImpl(function(resolve, reject) {
4820
+ invoke(method, arg, resolve, reject);
4821
+ });
4822
+ }
4803
4823
 
4804
- return previousPromise = // If enqueue has been called before, then we want to wait until
4824
+ return previousPromise =
4825
+ // If enqueue has been called before, then we want to wait until
4805
4826
  // all previous Promises have been resolved before calling invoke,
4806
4827
  // so that results are always delivered in the correct order. If
4807
4828
  // enqueue has not been called before, then it is important to
@@ -4813,527 +4834,554 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
4813
4834
  // execute code before the first await. Since we implement simple
4814
4835
  // async functions in terms of async generators, it is especially
4815
4836
  // important to get this right, even though it requires care.
4816
- previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, // Avoid propagating failures to Promises returned by later
4817
- // invocations of the iterator.
4818
- callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
4819
- } // Define the unified helper method that is used to implement .next,
4820
- // .throw, and .return (see defineIteratorMethods).
4821
-
4822
-
4823
- this._invoke = enqueue;
4837
+ previousPromise ? previousPromise.then(
4838
+ callInvokeWithMethodAndArg,
4839
+ // Avoid propagating failures to Promises returned by later
4840
+ // invocations of the iterator.
4841
+ callInvokeWithMethodAndArg
4842
+ ) : callInvokeWithMethodAndArg();
4824
4843
  }
4825
4844
 
4826
- defineIteratorMethods(AsyncIterator.prototype);
4827
- define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
4828
- return this;
4829
- });
4830
- exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of
4831
- // AsyncIterator objects; they just return a Promise for the value of
4832
- // the final result produced by the iterator.
4833
-
4834
- exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
4835
- if (PromiseImpl === void 0) PromiseImpl = Promise;
4836
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
4837
- return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator.
4838
- : iter.next().then(function (result) {
4839
- return result.done ? result.value : iter.next();
4840
- });
4841
- };
4845
+ // Define the unified helper method that is used to implement .next,
4846
+ // .throw, and .return (see defineIteratorMethods).
4847
+ this._invoke = enqueue;
4848
+ }
4842
4849
 
4843
- function makeInvokeMethod(innerFn, self, context) {
4844
- var state = GenStateSuspendedStart;
4845
- return function invoke(method, arg) {
4846
- if (state === GenStateExecuting) {
4847
- throw new Error("Generator is already running");
4848
- }
4850
+ defineIteratorMethods(AsyncIterator.prototype);
4851
+ define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
4852
+ return this;
4853
+ });
4854
+ exports.AsyncIterator = AsyncIterator;
4855
+
4856
+ // Note that simple async functions are implemented on top of
4857
+ // AsyncIterator objects; they just return a Promise for the value of
4858
+ // the final result produced by the iterator.
4859
+ exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
4860
+ if (PromiseImpl === void 0) PromiseImpl = Promise;
4861
+
4862
+ var iter = new AsyncIterator(
4863
+ wrap(innerFn, outerFn, self, tryLocsList),
4864
+ PromiseImpl
4865
+ );
4866
+
4867
+ return exports.isGeneratorFunction(outerFn)
4868
+ ? iter // If outerFn is a generator, return the full iterator.
4869
+ : iter.next().then(function(result) {
4870
+ return result.done ? result.value : iter.next();
4871
+ });
4872
+ };
4849
4873
 
4850
- if (state === GenStateCompleted) {
4851
- if (method === "throw") {
4852
- throw arg;
4853
- } // Be forgiving, per 25.3.3.3.3 of the spec:
4854
- // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
4874
+ function makeInvokeMethod(innerFn, self, context) {
4875
+ var state = GenStateSuspendedStart;
4855
4876
 
4877
+ return function invoke(method, arg) {
4878
+ if (state === GenStateExecuting) {
4879
+ throw new Error("Generator is already running");
4880
+ }
4856
4881
 
4857
- return doneResult();
4882
+ if (state === GenStateCompleted) {
4883
+ if (method === "throw") {
4884
+ throw arg;
4858
4885
  }
4859
4886
 
4860
- context.method = method;
4861
- context.arg = arg;
4862
-
4863
- while (true) {
4864
- var delegate = context.delegate;
4887
+ // Be forgiving, per 25.3.3.3.3 of the spec:
4888
+ // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
4889
+ return doneResult();
4890
+ }
4865
4891
 
4866
- if (delegate) {
4867
- var delegateResult = maybeInvokeDelegate(delegate, context);
4892
+ context.method = method;
4893
+ context.arg = arg;
4868
4894
 
4869
- if (delegateResult) {
4870
- if (delegateResult === ContinueSentinel) continue;
4871
- return delegateResult;
4872
- }
4895
+ while (true) {
4896
+ var delegate = context.delegate;
4897
+ if (delegate) {
4898
+ var delegateResult = maybeInvokeDelegate(delegate, context);
4899
+ if (delegateResult) {
4900
+ if (delegateResult === ContinueSentinel) continue;
4901
+ return delegateResult;
4873
4902
  }
4903
+ }
4874
4904
 
4875
- if (context.method === "next") {
4876
- // Setting context._sent for legacy support of Babel's
4877
- // function.sent implementation.
4878
- context.sent = context._sent = context.arg;
4879
- } else if (context.method === "throw") {
4880
- if (state === GenStateSuspendedStart) {
4881
- state = GenStateCompleted;
4882
- throw context.arg;
4883
- }
4905
+ if (context.method === "next") {
4906
+ // Setting context._sent for legacy support of Babel's
4907
+ // function.sent implementation.
4908
+ context.sent = context._sent = context.arg;
4884
4909
 
4885
- context.dispatchException(context.arg);
4886
- } else if (context.method === "return") {
4887
- context.abrupt("return", context.arg);
4910
+ } else if (context.method === "throw") {
4911
+ if (state === GenStateSuspendedStart) {
4912
+ state = GenStateCompleted;
4913
+ throw context.arg;
4888
4914
  }
4889
4915
 
4890
- state = GenStateExecuting;
4891
- var record = tryCatch(innerFn, self, context);
4916
+ context.dispatchException(context.arg);
4892
4917
 
4893
- if (record.type === "normal") {
4894
- // If an exception is thrown from innerFn, we leave state ===
4895
- // GenStateExecuting and loop back for another invocation.
4896
- state = context.done ? GenStateCompleted : GenStateSuspendedYield;
4918
+ } else if (context.method === "return") {
4919
+ context.abrupt("return", context.arg);
4920
+ }
4897
4921
 
4898
- if (record.arg === ContinueSentinel) {
4899
- continue;
4900
- }
4922
+ state = GenStateExecuting;
4901
4923
 
4902
- return {
4903
- value: record.arg,
4904
- done: context.done
4905
- };
4906
- } else if (record.type === "throw") {
4907
- state = GenStateCompleted; // Dispatch the exception by looping back around to the
4908
- // context.dispatchException(context.arg) call above.
4924
+ var record = tryCatch(innerFn, self, context);
4925
+ if (record.type === "normal") {
4926
+ // If an exception is thrown from innerFn, we leave state ===
4927
+ // GenStateExecuting and loop back for another invocation.
4928
+ state = context.done
4929
+ ? GenStateCompleted
4930
+ : GenStateSuspendedYield;
4909
4931
 
4910
- context.method = "throw";
4911
- context.arg = record.arg;
4912
- }
4913
- }
4914
- };
4915
- } // Call delegate.iterator[context.method](context.arg) and handle the
4916
- // result, either by returning a { value, done } result from the
4917
- // delegate iterator, or by modifying context.method and context.arg,
4918
- // setting context.delegate to null, and returning the ContinueSentinel.
4919
-
4920
-
4921
- function maybeInvokeDelegate(delegate, context) {
4922
- var method = delegate.iterator[context.method];
4923
-
4924
- if (method === undefined$1) {
4925
- // A .throw or .return when the delegate iterator has no .throw
4926
- // method always terminates the yield* loop.
4927
- context.delegate = null;
4928
-
4929
- if (context.method === "throw") {
4930
- // Note: ["return"] must be used for ES3 parsing compatibility.
4931
- if (delegate.iterator["return"]) {
4932
- // If the delegate iterator has a return method, give it a
4933
- // chance to clean up.
4934
- context.method = "return";
4935
- context.arg = undefined$1;
4936
- maybeInvokeDelegate(delegate, context);
4937
-
4938
- if (context.method === "throw") {
4939
- // If maybeInvokeDelegate(context) changed context.method from
4940
- // "return" to "throw", let that override the TypeError below.
4941
- return ContinueSentinel;
4942
- }
4932
+ if (record.arg === ContinueSentinel) {
4933
+ continue;
4943
4934
  }
4944
4935
 
4936
+ return {
4937
+ value: record.arg,
4938
+ done: context.done
4939
+ };
4940
+
4941
+ } else if (record.type === "throw") {
4942
+ state = GenStateCompleted;
4943
+ // Dispatch the exception by looping back around to the
4944
+ // context.dispatchException(context.arg) call above.
4945
4945
  context.method = "throw";
4946
- context.arg = new TypeError("The iterator does not provide a 'throw' method");
4946
+ context.arg = record.arg;
4947
4947
  }
4948
-
4949
- return ContinueSentinel;
4950
4948
  }
4949
+ };
4950
+ }
4951
4951
 
4952
- var record = tryCatch(method, delegate.iterator, context.arg);
4952
+ // Call delegate.iterator[context.method](context.arg) and handle the
4953
+ // result, either by returning a { value, done } result from the
4954
+ // delegate iterator, or by modifying context.method and context.arg,
4955
+ // setting context.delegate to null, and returning the ContinueSentinel.
4956
+ function maybeInvokeDelegate(delegate, context) {
4957
+ var method = delegate.iterator[context.method];
4958
+ if (method === undefined$1) {
4959
+ // A .throw or .return when the delegate iterator has no .throw
4960
+ // method always terminates the yield* loop.
4961
+ context.delegate = null;
4953
4962
 
4954
- if (record.type === "throw") {
4955
- context.method = "throw";
4956
- context.arg = record.arg;
4957
- context.delegate = null;
4958
- return ContinueSentinel;
4959
- }
4963
+ if (context.method === "throw") {
4964
+ // Note: ["return"] must be used for ES3 parsing compatibility.
4965
+ if (delegate.iterator["return"]) {
4966
+ // If the delegate iterator has a return method, give it a
4967
+ // chance to clean up.
4968
+ context.method = "return";
4969
+ context.arg = undefined$1;
4970
+ maybeInvokeDelegate(delegate, context);
4960
4971
 
4961
- var info = record.arg;
4972
+ if (context.method === "throw") {
4973
+ // If maybeInvokeDelegate(context) changed context.method from
4974
+ // "return" to "throw", let that override the TypeError below.
4975
+ return ContinueSentinel;
4976
+ }
4977
+ }
4962
4978
 
4963
- if (!info) {
4964
4979
  context.method = "throw";
4965
- context.arg = new TypeError("iterator result is not an object");
4966
- context.delegate = null;
4967
- return ContinueSentinel;
4980
+ context.arg = new TypeError(
4981
+ "The iterator does not provide a 'throw' method");
4968
4982
  }
4969
4983
 
4970
- if (info.done) {
4971
- // Assign the result of the finished delegate to the temporary
4972
- // variable specified by delegate.resultName (see delegateYield).
4973
- context[delegate.resultName] = info.value; // Resume execution at the desired location (see delegateYield).
4974
-
4975
- context.next = delegate.nextLoc; // If context.method was "throw" but the delegate handled the
4976
- // exception, let the outer generator proceed normally. If
4977
- // context.method was "next", forget context.arg since it has been
4978
- // "consumed" by the delegate iterator. If context.method was
4979
- // "return", allow the original .return call to continue in the
4980
- // outer generator.
4981
-
4982
- if (context.method !== "return") {
4983
- context.method = "next";
4984
- context.arg = undefined$1;
4985
- }
4986
- } else {
4987
- // Re-yield the result returned by the delegate method.
4988
- return info;
4989
- } // The delegate iterator is finished, so forget it and continue with
4990
- // the outer generator.
4984
+ return ContinueSentinel;
4985
+ }
4991
4986
 
4987
+ var record = tryCatch(method, delegate.iterator, context.arg);
4992
4988
 
4989
+ if (record.type === "throw") {
4990
+ context.method = "throw";
4991
+ context.arg = record.arg;
4993
4992
  context.delegate = null;
4994
4993
  return ContinueSentinel;
4995
- } // Define Generator.prototype.{next,throw,return} in terms of the
4996
- // unified ._invoke helper method.
4997
-
4998
-
4999
- defineIteratorMethods(Gp);
5000
- define(Gp, toStringTagSymbol, "Generator"); // A Generator should always return itself as the iterator object when the
5001
- // @@iterator function is called on it. Some browsers' implementations of the
5002
- // iterator prototype chain incorrectly implement this, causing the Generator
5003
- // object to not be returned from this call. This ensures that doesn't happen.
5004
- // See https://github.com/facebook/regenerator/issues/274 for more details.
5005
-
5006
- define(Gp, iteratorSymbol, function () {
5007
- return this;
5008
- });
5009
- define(Gp, "toString", function () {
5010
- return "[object Generator]";
5011
- });
4994
+ }
5012
4995
 
5013
- function pushTryEntry(locs) {
5014
- var entry = {
5015
- tryLoc: locs[0]
5016
- };
4996
+ var info = record.arg;
5017
4997
 
5018
- if (1 in locs) {
5019
- entry.catchLoc = locs[1];
5020
- }
4998
+ if (! info) {
4999
+ context.method = "throw";
5000
+ context.arg = new TypeError("iterator result is not an object");
5001
+ context.delegate = null;
5002
+ return ContinueSentinel;
5003
+ }
5021
5004
 
5022
- if (2 in locs) {
5023
- entry.finallyLoc = locs[2];
5024
- entry.afterLoc = locs[3];
5005
+ if (info.done) {
5006
+ // Assign the result of the finished delegate to the temporary
5007
+ // variable specified by delegate.resultName (see delegateYield).
5008
+ context[delegate.resultName] = info.value;
5009
+
5010
+ // Resume execution at the desired location (see delegateYield).
5011
+ context.next = delegate.nextLoc;
5012
+
5013
+ // If context.method was "throw" but the delegate handled the
5014
+ // exception, let the outer generator proceed normally. If
5015
+ // context.method was "next", forget context.arg since it has been
5016
+ // "consumed" by the delegate iterator. If context.method was
5017
+ // "return", allow the original .return call to continue in the
5018
+ // outer generator.
5019
+ if (context.method !== "return") {
5020
+ context.method = "next";
5021
+ context.arg = undefined$1;
5025
5022
  }
5026
5023
 
5027
- this.tryEntries.push(entry);
5024
+ } else {
5025
+ // Re-yield the result returned by the delegate method.
5026
+ return info;
5028
5027
  }
5029
5028
 
5030
- function resetTryEntry(entry) {
5031
- var record = entry.completion || {};
5032
- record.type = "normal";
5033
- delete record.arg;
5034
- entry.completion = record;
5035
- }
5029
+ // The delegate iterator is finished, so forget it and continue with
5030
+ // the outer generator.
5031
+ context.delegate = null;
5032
+ return ContinueSentinel;
5033
+ }
5036
5034
 
5037
- function Context(tryLocsList) {
5038
- // The root entry object (effectively a try statement without a catch
5039
- // or a finally block) gives us a place to store values thrown from
5040
- // locations where there is no enclosing try statement.
5041
- this.tryEntries = [{
5042
- tryLoc: "root"
5043
- }];
5044
- tryLocsList.forEach(pushTryEntry, this);
5045
- this.reset(true);
5046
- }
5035
+ // Define Generator.prototype.{next,throw,return} in terms of the
5036
+ // unified ._invoke helper method.
5037
+ defineIteratorMethods(Gp);
5047
5038
 
5048
- exports.keys = function (object) {
5049
- var keys = [];
5039
+ define(Gp, toStringTagSymbol, "Generator");
5050
5040
 
5051
- for (var key in object) {
5052
- keys.push(key);
5053
- }
5041
+ // A Generator should always return itself as the iterator object when the
5042
+ // @@iterator function is called on it. Some browsers' implementations of the
5043
+ // iterator prototype chain incorrectly implement this, causing the Generator
5044
+ // object to not be returned from this call. This ensures that doesn't happen.
5045
+ // See https://github.com/facebook/regenerator/issues/274 for more details.
5046
+ define(Gp, iteratorSymbol, function() {
5047
+ return this;
5048
+ });
5054
5049
 
5055
- keys.reverse(); // Rather than returning an object with a next method, we keep
5056
- // things simple and return the next function itself.
5050
+ define(Gp, "toString", function() {
5051
+ return "[object Generator]";
5052
+ });
5057
5053
 
5058
- return function next() {
5059
- while (keys.length) {
5060
- var key = keys.pop();
5054
+ function pushTryEntry(locs) {
5055
+ var entry = { tryLoc: locs[0] };
5061
5056
 
5062
- if (key in object) {
5063
- next.value = key;
5064
- next.done = false;
5065
- return next;
5066
- }
5067
- } // To avoid creating an additional object, we just hang the .value
5068
- // and .done properties off the next function object itself. This
5069
- // also ensures that the minifier will not anonymize the function.
5057
+ if (1 in locs) {
5058
+ entry.catchLoc = locs[1];
5059
+ }
5070
5060
 
5061
+ if (2 in locs) {
5062
+ entry.finallyLoc = locs[2];
5063
+ entry.afterLoc = locs[3];
5064
+ }
5071
5065
 
5072
- next.done = true;
5073
- return next;
5074
- };
5075
- };
5066
+ this.tryEntries.push(entry);
5067
+ }
5076
5068
 
5077
- function values(iterable) {
5078
- if (iterable) {
5079
- var iteratorMethod = iterable[iteratorSymbol];
5069
+ function resetTryEntry(entry) {
5070
+ var record = entry.completion || {};
5071
+ record.type = "normal";
5072
+ delete record.arg;
5073
+ entry.completion = record;
5074
+ }
5080
5075
 
5081
- if (iteratorMethod) {
5082
- return iteratorMethod.call(iterable);
5083
- }
5076
+ function Context(tryLocsList) {
5077
+ // The root entry object (effectively a try statement without a catch
5078
+ // or a finally block) gives us a place to store values thrown from
5079
+ // locations where there is no enclosing try statement.
5080
+ this.tryEntries = [{ tryLoc: "root" }];
5081
+ tryLocsList.forEach(pushTryEntry, this);
5082
+ this.reset(true);
5083
+ }
5084
5084
 
5085
- if (typeof iterable.next === "function") {
5086
- return iterable;
5085
+ exports.keys = function(object) {
5086
+ var keys = [];
5087
+ for (var key in object) {
5088
+ keys.push(key);
5089
+ }
5090
+ keys.reverse();
5091
+
5092
+ // Rather than returning an object with a next method, we keep
5093
+ // things simple and return the next function itself.
5094
+ return function next() {
5095
+ while (keys.length) {
5096
+ var key = keys.pop();
5097
+ if (key in object) {
5098
+ next.value = key;
5099
+ next.done = false;
5100
+ return next;
5087
5101
  }
5102
+ }
5088
5103
 
5089
- if (!isNaN(iterable.length)) {
5090
- var i = -1,
5091
- next = function next() {
5092
- while (++i < iterable.length) {
5093
- if (hasOwn.call(iterable, i)) {
5094
- next.value = iterable[i];
5095
- next.done = false;
5096
- return next;
5097
- }
5098
- }
5104
+ // To avoid creating an additional object, we just hang the .value
5105
+ // and .done properties off the next function object itself. This
5106
+ // also ensures that the minifier will not anonymize the function.
5107
+ next.done = true;
5108
+ return next;
5109
+ };
5110
+ };
5099
5111
 
5100
- next.value = undefined$1;
5101
- next.done = true;
5102
- return next;
5103
- };
5112
+ function values(iterable) {
5113
+ if (iterable) {
5114
+ var iteratorMethod = iterable[iteratorSymbol];
5115
+ if (iteratorMethod) {
5116
+ return iteratorMethod.call(iterable);
5117
+ }
5104
5118
 
5105
- return next.next = next;
5106
- }
5107
- } // Return an iterator with no values.
5119
+ if (typeof iterable.next === "function") {
5120
+ return iterable;
5121
+ }
5108
5122
 
5123
+ if (!isNaN(iterable.length)) {
5124
+ var i = -1, next = function next() {
5125
+ while (++i < iterable.length) {
5126
+ if (hasOwn.call(iterable, i)) {
5127
+ next.value = iterable[i];
5128
+ next.done = false;
5129
+ return next;
5130
+ }
5131
+ }
5109
5132
 
5110
- return {
5111
- next: doneResult
5112
- };
5113
- }
5133
+ next.value = undefined$1;
5134
+ next.done = true;
5114
5135
 
5115
- exports.values = values;
5136
+ return next;
5137
+ };
5116
5138
 
5117
- function doneResult() {
5118
- return {
5119
- value: undefined$1,
5120
- done: true
5121
- };
5139
+ return next.next = next;
5140
+ }
5122
5141
  }
5123
5142
 
5124
- Context.prototype = {
5125
- constructor: Context,
5126
- reset: function reset(skipTempReset) {
5127
- this.prev = 0;
5128
- this.next = 0; // Resetting context._sent for legacy support of Babel's
5129
- // function.sent implementation.
5143
+ // Return an iterator with no values.
5144
+ return { next: doneResult };
5145
+ }
5146
+ exports.values = values;
5130
5147
 
5131
- this.sent = this._sent = undefined$1;
5132
- this.done = false;
5133
- this.delegate = null;
5134
- this.method = "next";
5135
- this.arg = undefined$1;
5136
- this.tryEntries.forEach(resetTryEntry);
5148
+ function doneResult() {
5149
+ return { value: undefined$1, done: true };
5150
+ }
5137
5151
 
5138
- if (!skipTempReset) {
5139
- for (var name in this) {
5140
- // Not sure about the optimal order of these conditions:
5141
- if (name.charAt(0) === "t" && hasOwn.call(this, name) && !isNaN(+name.slice(1))) {
5142
- this[name] = undefined$1;
5143
- }
5152
+ Context.prototype = {
5153
+ constructor: Context,
5154
+
5155
+ reset: function(skipTempReset) {
5156
+ this.prev = 0;
5157
+ this.next = 0;
5158
+ // Resetting context._sent for legacy support of Babel's
5159
+ // function.sent implementation.
5160
+ this.sent = this._sent = undefined$1;
5161
+ this.done = false;
5162
+ this.delegate = null;
5163
+
5164
+ this.method = "next";
5165
+ this.arg = undefined$1;
5166
+
5167
+ this.tryEntries.forEach(resetTryEntry);
5168
+
5169
+ if (!skipTempReset) {
5170
+ for (var name in this) {
5171
+ // Not sure about the optimal order of these conditions:
5172
+ if (name.charAt(0) === "t" &&
5173
+ hasOwn.call(this, name) &&
5174
+ !isNaN(+name.slice(1))) {
5175
+ this[name] = undefined$1;
5144
5176
  }
5145
5177
  }
5146
- },
5147
- stop: function stop() {
5148
- this.done = true;
5149
- var rootEntry = this.tryEntries[0];
5150
- var rootRecord = rootEntry.completion;
5178
+ }
5179
+ },
5151
5180
 
5152
- if (rootRecord.type === "throw") {
5153
- throw rootRecord.arg;
5154
- }
5181
+ stop: function() {
5182
+ this.done = true;
5155
5183
 
5156
- return this.rval;
5157
- },
5158
- dispatchException: function dispatchException(exception) {
5159
- if (this.done) {
5160
- throw exception;
5161
- }
5184
+ var rootEntry = this.tryEntries[0];
5185
+ var rootRecord = rootEntry.completion;
5186
+ if (rootRecord.type === "throw") {
5187
+ throw rootRecord.arg;
5188
+ }
5162
5189
 
5163
- var context = this;
5190
+ return this.rval;
5191
+ },
5164
5192
 
5165
- function handle(loc, caught) {
5166
- record.type = "throw";
5167
- record.arg = exception;
5168
- context.next = loc;
5193
+ dispatchException: function(exception) {
5194
+ if (this.done) {
5195
+ throw exception;
5196
+ }
5169
5197
 
5170
- if (caught) {
5171
- // If the dispatched exception was caught by a catch block,
5172
- // then let that catch block handle the exception normally.
5173
- context.method = "next";
5174
- context.arg = undefined$1;
5175
- }
5198
+ var context = this;
5199
+ function handle(loc, caught) {
5200
+ record.type = "throw";
5201
+ record.arg = exception;
5202
+ context.next = loc;
5176
5203
 
5177
- return !!caught;
5204
+ if (caught) {
5205
+ // If the dispatched exception was caught by a catch block,
5206
+ // then let that catch block handle the exception normally.
5207
+ context.method = "next";
5208
+ context.arg = undefined$1;
5178
5209
  }
5179
5210
 
5180
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
5181
- var entry = this.tryEntries[i];
5182
- var record = entry.completion;
5211
+ return !! caught;
5212
+ }
5183
5213
 
5184
- if (entry.tryLoc === "root") {
5185
- // Exception thrown outside of any try block that could handle
5186
- // it, so set the completion value of the entire function to
5187
- // throw the exception.
5188
- return handle("end");
5189
- }
5214
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
5215
+ var entry = this.tryEntries[i];
5216
+ var record = entry.completion;
5190
5217
 
5191
- if (entry.tryLoc <= this.prev) {
5192
- var hasCatch = hasOwn.call(entry, "catchLoc");
5193
- var hasFinally = hasOwn.call(entry, "finallyLoc");
5194
-
5195
- if (hasCatch && hasFinally) {
5196
- if (this.prev < entry.catchLoc) {
5197
- return handle(entry.catchLoc, true);
5198
- } else if (this.prev < entry.finallyLoc) {
5199
- return handle(entry.finallyLoc);
5200
- }
5201
- } else if (hasCatch) {
5202
- if (this.prev < entry.catchLoc) {
5203
- return handle(entry.catchLoc, true);
5204
- }
5205
- } else if (hasFinally) {
5206
- if (this.prev < entry.finallyLoc) {
5207
- return handle(entry.finallyLoc);
5208
- }
5209
- } else {
5210
- throw new Error("try statement without catch or finally");
5211
- }
5212
- }
5218
+ if (entry.tryLoc === "root") {
5219
+ // Exception thrown outside of any try block that could handle
5220
+ // it, so set the completion value of the entire function to
5221
+ // throw the exception.
5222
+ return handle("end");
5213
5223
  }
5214
- },
5215
- abrupt: function abrupt(type, arg) {
5216
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
5217
- var entry = this.tryEntries[i];
5218
5224
 
5219
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
5220
- var finallyEntry = entry;
5221
- break;
5222
- }
5223
- }
5225
+ if (entry.tryLoc <= this.prev) {
5226
+ var hasCatch = hasOwn.call(entry, "catchLoc");
5227
+ var hasFinally = hasOwn.call(entry, "finallyLoc");
5224
5228
 
5225
- if (finallyEntry && (type === "break" || type === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) {
5226
- // Ignore the finally entry if control is not jumping to a
5227
- // location outside the try/catch block.
5228
- finallyEntry = null;
5229
- }
5229
+ if (hasCatch && hasFinally) {
5230
+ if (this.prev < entry.catchLoc) {
5231
+ return handle(entry.catchLoc, true);
5232
+ } else if (this.prev < entry.finallyLoc) {
5233
+ return handle(entry.finallyLoc);
5234
+ }
5230
5235
 
5231
- var record = finallyEntry ? finallyEntry.completion : {};
5232
- record.type = type;
5233
- record.arg = arg;
5236
+ } else if (hasCatch) {
5237
+ if (this.prev < entry.catchLoc) {
5238
+ return handle(entry.catchLoc, true);
5239
+ }
5234
5240
 
5235
- if (finallyEntry) {
5236
- this.method = "next";
5237
- this.next = finallyEntry.finallyLoc;
5238
- return ContinueSentinel;
5239
- }
5241
+ } else if (hasFinally) {
5242
+ if (this.prev < entry.finallyLoc) {
5243
+ return handle(entry.finallyLoc);
5244
+ }
5240
5245
 
5241
- return this.complete(record);
5242
- },
5243
- complete: function complete(record, afterLoc) {
5244
- if (record.type === "throw") {
5245
- throw record.arg;
5246
+ } else {
5247
+ throw new Error("try statement without catch or finally");
5248
+ }
5246
5249
  }
5250
+ }
5251
+ },
5247
5252
 
5248
- if (record.type === "break" || record.type === "continue") {
5249
- this.next = record.arg;
5250
- } else if (record.type === "return") {
5251
- this.rval = this.arg = record.arg;
5252
- this.method = "return";
5253
- this.next = "end";
5254
- } else if (record.type === "normal" && afterLoc) {
5255
- this.next = afterLoc;
5253
+ abrupt: function(type, arg) {
5254
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
5255
+ var entry = this.tryEntries[i];
5256
+ if (entry.tryLoc <= this.prev &&
5257
+ hasOwn.call(entry, "finallyLoc") &&
5258
+ this.prev < entry.finallyLoc) {
5259
+ var finallyEntry = entry;
5260
+ break;
5256
5261
  }
5262
+ }
5257
5263
 
5258
- return ContinueSentinel;
5259
- },
5260
- finish: function finish(finallyLoc) {
5261
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
5262
- var entry = this.tryEntries[i];
5264
+ if (finallyEntry &&
5265
+ (type === "break" ||
5266
+ type === "continue") &&
5267
+ finallyEntry.tryLoc <= arg &&
5268
+ arg <= finallyEntry.finallyLoc) {
5269
+ // Ignore the finally entry if control is not jumping to a
5270
+ // location outside the try/catch block.
5271
+ finallyEntry = null;
5272
+ }
5263
5273
 
5264
- if (entry.finallyLoc === finallyLoc) {
5265
- this.complete(entry.completion, entry.afterLoc);
5266
- resetTryEntry(entry);
5267
- return ContinueSentinel;
5268
- }
5269
- }
5270
- },
5271
- "catch": function _catch(tryLoc) {
5272
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
5273
- var entry = this.tryEntries[i];
5274
+ var record = finallyEntry ? finallyEntry.completion : {};
5275
+ record.type = type;
5276
+ record.arg = arg;
5274
5277
 
5275
- if (entry.tryLoc === tryLoc) {
5276
- var record = entry.completion;
5278
+ if (finallyEntry) {
5279
+ this.method = "next";
5280
+ this.next = finallyEntry.finallyLoc;
5281
+ return ContinueSentinel;
5282
+ }
5277
5283
 
5278
- if (record.type === "throw") {
5279
- var thrown = record.arg;
5280
- resetTryEntry(entry);
5281
- }
5284
+ return this.complete(record);
5285
+ },
5282
5286
 
5283
- return thrown;
5284
- }
5285
- } // The context.catch method must only be called with a location
5286
- // argument that corresponds to a known catch block.
5287
+ complete: function(record, afterLoc) {
5288
+ if (record.type === "throw") {
5289
+ throw record.arg;
5290
+ }
5287
5291
 
5292
+ if (record.type === "break" ||
5293
+ record.type === "continue") {
5294
+ this.next = record.arg;
5295
+ } else if (record.type === "return") {
5296
+ this.rval = this.arg = record.arg;
5297
+ this.method = "return";
5298
+ this.next = "end";
5299
+ } else if (record.type === "normal" && afterLoc) {
5300
+ this.next = afterLoc;
5301
+ }
5288
5302
 
5289
- throw new Error("illegal catch attempt");
5290
- },
5291
- delegateYield: function delegateYield(iterable, resultName, nextLoc) {
5292
- this.delegate = {
5293
- iterator: values(iterable),
5294
- resultName: resultName,
5295
- nextLoc: nextLoc
5296
- };
5303
+ return ContinueSentinel;
5304
+ },
5305
+
5306
+ finish: function(finallyLoc) {
5307
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
5308
+ var entry = this.tryEntries[i];
5309
+ if (entry.finallyLoc === finallyLoc) {
5310
+ this.complete(entry.completion, entry.afterLoc);
5311
+ resetTryEntry(entry);
5312
+ return ContinueSentinel;
5313
+ }
5314
+ }
5315
+ },
5297
5316
 
5298
- if (this.method === "next") {
5299
- // Deliberately forget the last sent value so that we don't
5300
- // accidentally pass it on to the delegate.
5301
- this.arg = undefined$1;
5317
+ "catch": function(tryLoc) {
5318
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
5319
+ var entry = this.tryEntries[i];
5320
+ if (entry.tryLoc === tryLoc) {
5321
+ var record = entry.completion;
5322
+ if (record.type === "throw") {
5323
+ var thrown = record.arg;
5324
+ resetTryEntry(entry);
5325
+ }
5326
+ return thrown;
5302
5327
  }
5328
+ }
5303
5329
 
5304
- return ContinueSentinel;
5330
+ // The context.catch method must only be called with a location
5331
+ // argument that corresponds to a known catch block.
5332
+ throw new Error("illegal catch attempt");
5333
+ },
5334
+
5335
+ delegateYield: function(iterable, resultName, nextLoc) {
5336
+ this.delegate = {
5337
+ iterator: values(iterable),
5338
+ resultName: resultName,
5339
+ nextLoc: nextLoc
5340
+ };
5341
+
5342
+ if (this.method === "next") {
5343
+ // Deliberately forget the last sent value so that we don't
5344
+ // accidentally pass it on to the delegate.
5345
+ this.arg = undefined$1;
5305
5346
  }
5306
- }; // Regardless of whether this script is executing as a CommonJS module
5307
- // or not, return the runtime object so that we can declare the variable
5308
- // regeneratorRuntime in the outer scope, which allows this module to be
5309
- // injected easily by `bin/regenerator --include-runtime script.js`.
5310
5347
 
5311
- return exports;
5312
- }( // If this script is executing as a CommonJS module, use module.exports
5348
+ return ContinueSentinel;
5349
+ }
5350
+ };
5351
+
5352
+ // Regardless of whether this script is executing as a CommonJS module
5353
+ // or not, return the runtime object so that we can declare the variable
5354
+ // regeneratorRuntime in the outer scope, which allows this module to be
5355
+ // injected easily by `bin/regenerator --include-runtime script.js`.
5356
+ return exports;
5357
+
5358
+ }(
5359
+ // If this script is executing as a CommonJS module, use module.exports
5313
5360
  // as the regeneratorRuntime namespace. Otherwise create a new empty
5314
5361
  // object. Either way, the resulting object will be used to initialize
5315
5362
  // the regeneratorRuntime variable at the top of this file.
5316
- module.exports );
5317
-
5318
- try {
5319
- regeneratorRuntime = runtime;
5320
- } catch (accidentalStrictMode) {
5321
- // This module should not be running in strict mode, so the above
5322
- // assignment should always work unless something is misconfigured. Just
5323
- // in case runtime.js accidentally runs in strict mode, in modern engines
5324
- // we can explicitly access globalThis. In older engines we can escape
5325
- // strict mode using a global Function call. This could conceivably fail
5326
- // if a Content Security Policy forbids using Function, but in that case
5327
- // the proper solution is to fix the accidental strict mode problem. If
5328
- // you've misconfigured your bundler to force strict mode and applied a
5329
- // CSP to forbid Function, and you're not willing to fix either of those
5330
- // problems, please detail your unique predicament in a GitHub issue.
5331
- if (typeof globalThis === "object") {
5332
- globalThis.regeneratorRuntime = runtime;
5333
- } else {
5334
- Function("r", "regeneratorRuntime = r")(runtime);
5335
- }
5363
+ module.exports
5364
+ ));
5365
+
5366
+ try {
5367
+ regeneratorRuntime = runtime;
5368
+ } catch (accidentalStrictMode) {
5369
+ // This module should not be running in strict mode, so the above
5370
+ // assignment should always work unless something is misconfigured. Just
5371
+ // in case runtime.js accidentally runs in strict mode, in modern engines
5372
+ // we can explicitly access globalThis. In older engines we can escape
5373
+ // strict mode using a global Function call. This could conceivably fail
5374
+ // if a Content Security Policy forbids using Function, but in that case
5375
+ // the proper solution is to fix the accidental strict mode problem. If
5376
+ // you've misconfigured your bundler to force strict mode and applied a
5377
+ // CSP to forbid Function, and you're not willing to fix either of those
5378
+ // problems, please detail your unique predicament in a GitHub issue.
5379
+ if (typeof globalThis === "object") {
5380
+ globalThis.regeneratorRuntime = runtime;
5381
+ } else {
5382
+ Function("r", "regeneratorRuntime = r")(runtime);
5336
5383
  }
5384
+ }
5337
5385
  });
5338
5386
 
5339
5387
  var _templateObject$v, _templateObject2$j, _templateObject3$c, _templateObject4$9, _templateObject5$6, _templateObject6$4, _templateObject7$1, _templateObject8$1, _templateObject9, _templateObject10;
@@ -6016,7 +6064,7 @@ var useBasket = function useBasket(expiryUnixTimestamp, numItems, numVirtualItem
6016
6064
  if (!expiryUnixTimestamp || numItems === 0) return function () {
6017
6065
  return undefined;
6018
6066
  };
6019
- var interval = setInterval(function () {
6067
+ var interval = window.setInterval(function () {
6020
6068
  setSeconds(getSecondsUntil(expiryUnixTimestamp));
6021
6069
  }, 1000);
6022
6070
  setTimer(interval);
@@ -6191,7 +6239,7 @@ var Dropdown = function Dropdown(_ref) {
6191
6239
  clearTimeout(timerCloseOptions);
6192
6240
  }
6193
6241
 
6194
- timerCloseOptions = setTimeout(function () {
6242
+ timerCloseOptions = window.setTimeout(function () {
6195
6243
  setOpen(false);
6196
6244
  setLockOpen(false);
6197
6245
  setTitleSelected(false);
@@ -6831,6 +6879,8 @@ var ContactNewsletter = function ContactNewsletter(_ref) {
6831
6879
  }, contact.title))));
6832
6880
  };
6833
6881
 
6882
+ var _excluded$b = ["dataRoh"];
6883
+
6834
6884
  var Footer = function Footer(_ref) {
6835
6885
  var data = _ref.data;
6836
6886
  var policyLinks = data.policyLinks;
@@ -6840,7 +6890,7 @@ var Footer = function Footer(_ref) {
6840
6890
 
6841
6891
  var _data$artsLogo = data.artsLogo,
6842
6892
  artsDataRoh = _data$artsLogo.dataRoh,
6843
- artsLogo = _objectWithoutPropertiesLoose(_data$artsLogo, ["dataRoh"]);
6893
+ artsLogo = _objectWithoutPropertiesLoose(_data$artsLogo, _excluded$b);
6844
6894
 
6845
6895
  var additionalInfo = data.additionalInfo;
6846
6896
  return /*#__PURE__*/React__default.createElement(FooterSection, null, /*#__PURE__*/React__default.createElement(Grid, null, /*#__PURE__*/React__default.createElement(GridItem, {
@@ -6895,6 +6945,8 @@ var ArrowsContainer = /*#__PURE__*/styled__default.div(_templateObject5$c || (_t
6895
6945
  });
6896
6946
  var ArrowWrapper = /*#__PURE__*/styled__default.div(_templateObject6$9 || (_templateObject6$9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 24px;\n height: 24px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: flex-center;\n\n :hover {\n && svg path {\n fill: var(--base-color-primary);\n }\n }\n"])));
6897
6947
 
6948
+ var _excluded$c = ["id", "text"];
6949
+
6898
6950
  var AnchorTabBar = function AnchorTabBar(_ref) {
6899
6951
  var tabs = _ref.tabs,
6900
6952
  onTabClick = _ref.onTabClick,
@@ -6974,7 +7026,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
6974
7026
  }
6975
7027
 
6976
7028
  if (timer !== null) clearTimeout(timer);
6977
- timer = setTimeout(function () {
7029
+ timer = window.setTimeout(function () {
6978
7030
  if (window.pageYOffset > topOffset + navigationHeight && wrapperRef.current) {
6979
7031
  changeWrapperVisibility(true, window.pageYOffset - navigationHeight);
6980
7032
  }
@@ -7109,7 +7161,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
7109
7161
  }, tabs.map(function (_ref4) {
7110
7162
  var id = _ref4.id,
7111
7163
  text = _ref4.text,
7112
- rest = _objectWithoutPropertiesLoose(_ref4, ["id", "text"]);
7164
+ rest = _objectWithoutPropertiesLoose(_ref4, _excluded$c);
7113
7165
 
7114
7166
  return /*#__PURE__*/React__default.createElement("li", {
7115
7167
  key: id
@@ -7165,6 +7217,9 @@ var PrimaryButtonReverse = /*#__PURE__*/styled__default(PrimaryButton)(_template
7165
7217
  var MessageWrapper = /*#__PURE__*/styled__default.div(_templateObject9$2 || (_templateObject9$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n margin-right: var(--grid-outer-margin);\n height: var(--button-height);\n\n h6 {\n margin: 0;\n padding: 0;\n }\n\n @media ", " {\n & {\n margin-right: var(--grid-margin);\n }\n }\n\n @media ", " {\n & {\n display: none;\n }\n }\n"])), devices.tablet, devices.mobile);
7166
7218
  var MessageWrapperMobile = /*#__PURE__*/styled__default.div(_templateObject10$2 || (_templateObject10$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n h6 {\n margin: 0;\n padding: 0;\n }\n display: none;\n\n @media ", " {\n & {\n display: flex;\n align-items: center;\n margin-left: var(--grid-margin);\n padding: 12px 0;\n }\n }\n"])), devices.mobile);
7167
7219
 
7220
+ var _excluded$d = ["text"],
7221
+ _excluded2 = ["text"];
7222
+
7168
7223
  var TitleWithCTA = function TitleWithCTA(_ref) {
7169
7224
  var title = _ref.title,
7170
7225
  links = _ref.links,
@@ -7174,11 +7229,11 @@ var TitleWithCTA = function TitleWithCTA(_ref) {
7174
7229
 
7175
7230
  var _ref2 = (links == null ? void 0 : links[0]) || {},
7176
7231
  primaryButtonText = _ref2.text,
7177
- primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, ["text"]);
7232
+ primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$d);
7178
7233
 
7179
7234
  var _ref3 = (links == null ? void 0 : links[1]) || {},
7180
7235
  secondaryButtonText = _ref3.text,
7181
- secondaryButtonProps = _objectWithoutPropertiesLoose(_ref3, ["text"]);
7236
+ secondaryButtonProps = _objectWithoutPropertiesLoose(_ref3, _excluded2);
7182
7237
 
7183
7238
  return /*#__PURE__*/React__default.createElement(TitleCTAGridWrapper, {
7184
7239
  sticky: sticky
@@ -7520,11 +7575,13 @@ var AuxiliaryButtonWrapper = /*#__PURE__*/styled__default(Button)(_templateObjec
7520
7575
  return color;
7521
7576
  });
7522
7577
 
7578
+ var _excluded$e = ["children"];
7579
+
7523
7580
  var AuxiliaryButton = function AuxiliaryButton(_ref) {
7524
7581
  var _props$color;
7525
7582
 
7526
7583
  var children = _ref.children,
7527
- props = _objectWithoutPropertiesLoose(_ref, ["children"]);
7584
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
7528
7585
 
7529
7586
  return /*#__PURE__*/React__default.createElement(AuxiliaryButtonWrapper, Object.assign({}, props, {
7530
7587
  color: (_props$color = props.color) != null ? _props$color : exports.Colors.Black,
@@ -7690,6 +7747,9 @@ var truncateReactNodeString = function truncateReactNodeString(node, resultLengt
7690
7747
  return truncateHtmlString(nodeString, resultLength, addDots);
7691
7748
  };
7692
7749
 
7750
+ var _excluded$f = ["text"],
7751
+ _excluded2$1 = ["text"];
7752
+
7693
7753
  var _buttonTypeToButton;
7694
7754
  var LENGTH_LARGE_TEXT$1 = 28;
7695
7755
  var LENGTH_SMALL_TEXT$2 = 19;
@@ -7743,7 +7803,7 @@ var Card = function Card(_ref) {
7743
7803
  var _ref2 = firstButton || {},
7744
7804
  _ref2$text = _ref2.text,
7745
7805
  firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
7746
- restFirstButton = _objectWithoutPropertiesLoose(_ref2, ["text"]);
7806
+ restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$f);
7747
7807
 
7748
7808
  var primaryButtonTextTruncate = size === 'small' ? truncate(firstButtonText, LENGTH_SMALL_TEXT$2) : truncate(firstButtonText, LENGTH_LARGE_TEXT$1);
7749
7809
  var secondButton = links == null ? void 0 : links[1];
@@ -7751,7 +7811,7 @@ var Card = function Card(_ref) {
7751
7811
  var _ref3 = secondButton || {},
7752
7812
  _ref3$text = _ref3.text,
7753
7813
  secondButtonText = _ref3$text === void 0 ? '' : _ref3$text,
7754
- restSecondButton = _objectWithoutPropertiesLoose(_ref3, ["text"]);
7814
+ restSecondButton = _objectWithoutPropertiesLoose(_ref3, _excluded2$1);
7755
7815
 
7756
7816
  var tertiaryButtonTextTruncate = size === 'small' ? truncate(secondButtonText, LENGTH_SMALL_TEXT$2) : truncate(secondButtonText, LENGTH_LARGE_TEXT$1);
7757
7817
 
@@ -8240,6 +8300,8 @@ var LogoWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject6$f || (_tem
8240
8300
  var ButtonWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject7$9 || (_templateObject7$9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: button;\n justify-self: end;\n align-self: end;\n\n @media ", " {\n & {\n justify-self: center;\n align-self: center;\n width: 100%;\n margin-top: 16px;\n }\n }\n"])), devices.mobile);
8241
8301
  var PageHeadingText = /*#__PURE__*/styled__default.div(_templateObject8$7 || (_templateObject8$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-size: var(--font-size-altHeader-6);\n font-weight: var(--font-weight-altHeader-6);\n letter-spacing: var(--letter-spacing-altHeader-6);\n line-height: var(--line-height-altHeader-6);\n font-feature-settings: var(--font-feature-settings-altHeader);\n font-family: var(--font-family-altHeader);\n text-transform: var(--text-transform-altHeader);\n word-break: var(--word-break-altHeader);\n"])));
8242
8302
 
8303
+ var _excluded$g = ["text"];
8304
+
8243
8305
  var PageHeading = function PageHeading(_ref) {
8244
8306
  var title = _ref.title,
8245
8307
  text = _ref.text,
@@ -8256,7 +8318,7 @@ var PageHeading = function PageHeading(_ref) {
8256
8318
 
8257
8319
  var _ref2 = link || {},
8258
8320
  linkText = _ref2.text,
8259
- restLink = _objectWithoutPropertiesLoose(_ref2, ["text"]);
8321
+ restLink = _objectWithoutPropertiesLoose(_ref2, _excluded$g);
8260
8322
 
8261
8323
  var truncatedText = text == null ? void 0 : text.substring(0, copyCharLimit);
8262
8324
  var truncatedTitle = title && title.substring(0, titleCharLimit);
@@ -8285,9 +8347,11 @@ var PageHeading = function PageHeading(_ref) {
8285
8347
  }, /*#__PURE__*/React__default.createElement(PrimaryButton, Object.assign({}, restLink), linkText)) : null));
8286
8348
  };
8287
8349
 
8350
+ var _excluded$h = ["link"];
8351
+
8288
8352
  var PageHeadingCore = function PageHeadingCore(_ref) {
8289
8353
  var link = _ref.link,
8290
- rest = _objectWithoutPropertiesLoose(_ref, ["link"]);
8354
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$h);
8291
8355
 
8292
8356
  var coreLink = link && _extends({}, link, {
8293
8357
  color: exports.Colors.White,
@@ -8301,9 +8365,11 @@ var PageHeadingCore = function PageHeadingCore(_ref) {
8301
8365
  })));
8302
8366
  };
8303
8367
 
8368
+ var _excluded$i = ["link"];
8369
+
8304
8370
  var PageHeadingCinema = function PageHeadingCinema(_ref) {
8305
8371
  var link = _ref.link,
8306
- rest = _objectWithoutPropertiesLoose(_ref, ["link"]);
8372
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$i);
8307
8373
 
8308
8374
  var cinemaLink = link && _extends({}, link, {
8309
8375
  color: exports.Colors.Black,
@@ -8329,6 +8395,8 @@ var TextWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject6$g || (_tem
8329
8395
  var ButtonWrapper$2 = /*#__PURE__*/styled__default.div(_templateObject7$a || (_templateObject7$a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: button;\n align-self: end;\n display: flex;\n justify-content: center;\n margin-top: 40px;\n\n @media ", " {\n & {\n margin-top: 0px;\n margin-bottom: 20px;\n }\n }\n"])), devices.mobile);
8330
8396
  var ScrollDownWrapper = /*#__PURE__*/styled__default.div(_templateObject8$8 || (_templateObject8$8 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 20px;\n left: var(--grid-outer-margin);\n width: fit-content;\n z-index: ", ";\n\n @keyframes UpDown {\n 0%,\n 100% {\n transform: translateY(0);\n }\n 50% {\n transform: translateY(8px);\n }\n }\n\n a {\n font-size: var(--font-size-overline-1);\n font-weight: var(--font-weight-overline-1);\n letter-spacing: var(--letter-spacing-overline-1);\n border: none;\n padding: 0;\n :hover {\n border: none;\n\n > span {\n animation: UpDown 1500ms linear infinite;\n }\n }\n }\n\n @media ", " {\n & {\n display: none;\n }\n }\n\n @media ", " {\n & {\n display: none;\n }\n }\n"])), zIndexes.contentOverlay, devices.mobile, devices.tablet);
8331
8397
 
8398
+ var _excluded$j = ["text"];
8399
+
8332
8400
  var PageHeadingImpact = function PageHeadingImpact(_ref) {
8333
8401
  var children = _ref.children,
8334
8402
  text = _ref.text,
@@ -8347,7 +8415,7 @@ var PageHeadingImpact = function PageHeadingImpact(_ref) {
8347
8415
 
8348
8416
  var _ref2 = link || {},
8349
8417
  linkText = _ref2.text,
8350
- restLink = _objectWithoutPropertiesLoose(_ref2, ["text"]);
8418
+ restLink = _objectWithoutPropertiesLoose(_ref2, _excluded$j);
8351
8419
 
8352
8420
  return /*#__PURE__*/React__default.createElement(ImpactWrapper, {
8353
8421
  bgUrlDesktop: bgUrlDesktop,
@@ -8441,9 +8509,11 @@ var PageHeadingPanel = function PageHeadingPanel(_ref) {
8441
8509
  var _templateObject$_;
8442
8510
  var StreamWrapper = /*#__PURE__*/styled__default.div(_templateObject$_ || (_templateObject$_ = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n h2::selection,\n div::selection {\n color: #1866dc;\n background-color: #fff;\n }\n"])));
8443
8511
 
8512
+ var _excluded$k = ["link"];
8513
+
8444
8514
  var PageHeadingStream = function PageHeadingStream(_ref) {
8445
8515
  var link = _ref.link,
8446
- rest = _objectWithoutPropertiesLoose(_ref, ["link"]);
8516
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$k);
8447
8517
 
8448
8518
  var streamLink = link && _extends({}, link, {
8449
8519
  color: exports.Colors.Black,
@@ -8635,6 +8705,8 @@ var useMobile = function useMobile() {
8635
8705
  return mobile;
8636
8706
  };
8637
8707
 
8708
+ var _excluded$l = ["text"];
8709
+
8638
8710
  var useResponsiveVideo = function useResponsiveVideo(video, poster) {
8639
8711
  var mobileVideo = video.mobile || video.desktop;
8640
8712
  var desktopVideo = video.desktop || video.mobile;
@@ -8753,7 +8825,7 @@ var PageHeadingCompact = function PageHeadingCompact(_ref4) {
8753
8825
 
8754
8826
  var _ref5 = link || {},
8755
8827
  linkText = _ref5.text,
8756
- restLink = _objectWithoutPropertiesLoose(_ref5, ["text"]);
8828
+ restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$l);
8757
8829
 
8758
8830
  var titleSize = title && title.length > 20 ? 4 : 3;
8759
8831
  var video = {
@@ -9100,6 +9172,10 @@ var PromoWithTagsContainer = /*#__PURE__*/styled__default.div(_templateObject19
9100
9172
  var TimerWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject20 || (_templateObject20 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: 32px;\n"])));
9101
9173
  var EndDateText = /*#__PURE__*/styled__default.div(_templateObject21 || (_templateObject21 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n border-bottom: 1px solid var(--base-color-black);\n padding-bottom: 32px;\n margin-bottom: 32px;\n\n @media ", " {\n padding-bottom: 20px;\n margin-bottom: 20px;\n }\n"])), devices.mobile);
9102
9174
 
9175
+ var _excluded$m = ["text"],
9176
+ _excluded2$2 = ["text"],
9177
+ _excluded3 = ["text"];
9178
+
9103
9179
  var _buttonTypeToButton$1;
9104
9180
  var LENGTH_TEXT$1 = 28;
9105
9181
  var LENGTH_TEXT_PARAGRAPH = 130;
@@ -9170,7 +9246,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
9170
9246
  var _ref2 = firstButton || {},
9171
9247
  _ref2$text = _ref2.text,
9172
9248
  firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
9173
- restFirstButton = _objectWithoutPropertiesLoose(_ref2, ["text"]);
9249
+ restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$m);
9174
9250
 
9175
9251
  var primaryButtonTextTruncate = truncate(firstButtonText, LENGTH_TEXT$1);
9176
9252
  var secondButton = links == null ? void 0 : links[1];
@@ -9178,7 +9254,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
9178
9254
  var _ref3 = secondButton || {},
9179
9255
  _ref3$text = _ref3.text,
9180
9256
  secondButtonText = _ref3$text === void 0 ? '' : _ref3$text,
9181
- restSecondButton = _objectWithoutPropertiesLoose(_ref3, ["text"]);
9257
+ restSecondButton = _objectWithoutPropertiesLoose(_ref3, _excluded2$2);
9182
9258
 
9183
9259
  var secondButtonTextTruncate = truncate(secondButtonText, LENGTH_TEXT$1);
9184
9260
  var textTruncate = asCard ? truncate(text || '', LENGTH_TEXT_PARAGRAPH) : text;
@@ -9187,7 +9263,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
9187
9263
  var textLinkItems = textLinks ? textLinks.map(function (link, index) {
9188
9264
  var _link$text = link.text,
9189
9265
  textLinkText = _link$text === void 0 ? '' : _link$text,
9190
- restTextLink = _objectWithoutPropertiesLoose(link, ["text"]);
9266
+ restTextLink = _objectWithoutPropertiesLoose(link, _excluded3);
9191
9267
 
9192
9268
  return /*#__PURE__*/React__default.createElement(TextLinkWrapper$2, {
9193
9269
  key: index
@@ -9482,6 +9558,8 @@ var PromoChild = function PromoChild(_ref) {
9482
9558
  }));
9483
9559
  };
9484
9560
 
9561
+ var _excluded$n = ["text"],
9562
+ _excluded2$3 = ["text"];
9485
9563
  var LENGTH_TEXT$3 = 28;
9486
9564
 
9487
9565
  var PromoWithTitle = function PromoWithTitle(_ref) {
@@ -9509,7 +9587,7 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
9509
9587
  var _ref2 = primaryButton || {},
9510
9588
  _ref2$text = _ref2.text,
9511
9589
  primaryButtonText = _ref2$text === void 0 ? '' : _ref2$text,
9512
- restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, ["text"]);
9590
+ restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$n);
9513
9591
 
9514
9592
  var primaryButtonTextTruncate = truncate(primaryButtonText, LENGTH_TEXT$3);
9515
9593
  var tertiaryButton = links == null ? void 0 : links[1];
@@ -9517,7 +9595,7 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
9517
9595
  var _ref3 = tertiaryButton || {},
9518
9596
  _ref3$text = _ref3.text,
9519
9597
  tertiaryButtonText = _ref3$text === void 0 ? '' : _ref3$text,
9520
- restTertiaryButton = _objectWithoutPropertiesLoose(_ref3, ["text"]);
9598
+ restTertiaryButton = _objectWithoutPropertiesLoose(_ref3, _excluded2$3);
9521
9599
 
9522
9600
  var tertiaryButtonTextTruncate = truncate(tertiaryButtonText, LENGTH_TEXT$3);
9523
9601
  var defaultVideoSettings = {
@@ -10246,6 +10324,7 @@ var ErrorLabel$5 = /*#__PURE__*/styled__default.div(_templateObject4$y || (_temp
10246
10324
  return "var(--base-color-errorstate)";
10247
10325
  });
10248
10326
 
10327
+ var _excluded$o = ["label", "error", "width", "darkMode", "isSearchable", "components"];
10249
10328
  var DropdownIndicator = function DropdownIndicator(props) {
10250
10329
  return /*#__PURE__*/React__default.createElement(Select$1.components.DropdownIndicator, Object.assign({}, props), /*#__PURE__*/React__default.createElement(Icon, {
10251
10330
  iconName: "DropdownArrow"
@@ -10297,7 +10376,7 @@ var SelectComponent = function SelectComponent(_ref2) {
10297
10376
  _ref2$isSearchable = _ref2.isSearchable,
10298
10377
  isSearchable = _ref2$isSearchable === void 0 ? false : _ref2$isSearchable,
10299
10378
  components = _ref2.components,
10300
- selectProps = _objectWithoutPropertiesLoose(_ref2, ["label", "error", "width", "darkMode", "isSearchable", "components"]);
10379
+ selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$o);
10301
10380
 
10302
10381
  return /*#__PURE__*/React__default.createElement(WrapperComponent, {
10303
10382
  label: label,
@@ -10316,6 +10395,7 @@ var SelectComponent = function SelectComponent(_ref2) {
10316
10395
  })));
10317
10396
  };
10318
10397
 
10398
+ var _excluded$p = ["label", "error", "width", "darkMode", "components"];
10319
10399
  /**
10320
10400
  * The Select2Async component is similar to Select 2, but uses react-select async
10321
10401
  * component for select instead of regular react-select component. This can be used
@@ -10338,7 +10418,7 @@ var SelectComponent$1 = function SelectComponent(_ref) {
10338
10418
  _ref$darkMode = _ref.darkMode,
10339
10419
  darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
10340
10420
  components = _ref.components,
10341
- selectProps = _objectWithoutPropertiesLoose(_ref, ["label", "error", "width", "darkMode", "components"]);
10421
+ selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$p);
10342
10422
 
10343
10423
  return /*#__PURE__*/React__default.createElement(WrapperComponent, {
10344
10424
  label: label,
@@ -11114,58 +11194,6 @@ var UpsellSection = function UpsellSection(_ref) {
11114
11194
  })))));
11115
11195
  };
11116
11196
 
11117
- var SCRIPT_SRC = 'https://talkdeskchatsdk.talkdeskapp.com/talkdeskchatsdk.js?t=';
11118
- var DATA_BIND = '5ea4b1ad-1a17-11ec-af32-06f09e0065e0';
11119
- var DATA_ORG = '';
11120
- var DIV_ID = 'tdWebchat';
11121
- var THEME_ICON = 'https://static.roh.org.uk/logos/crest.svg';
11122
- var THEME_FONT_BODY = fontFamilies.sansSerifFallback;
11123
- var THEME_COLOR = core.colors.core;
11124
- var THEME_COLOR_LIGHT = core.colors.core + '80';
11125
- var THEME_COLOR_BLACK = core.colors.black;
11126
- var THEME_COLOR_LIGHTGREY = core.colors.lightgrey;
11127
- var THEME_COLOR_WHITE = core.colors.white;
11128
- var THEME_COLOR_MIDGREY = core.colors.midgrey;
11129
- var SCRIPT_CONTENT = "var webchat;\n((window, document, node, props, configs) => {\n if (window.TalkdeskChatSDK) {\n console.error(\"TalkdeskChatSDK already included\");\n return;\n }\n var divContainer = document.createElement(\"div\");\n divContainer.id = node;\n document.body.appendChild(divContainer);\n var currentDate = new Date().getTime();\n var src = \"" + SCRIPT_SRC + "\" + currentDate;\n var script = document.createElement(\"script\");\n var firstScriptTag = document.getElementsByTagName(\"script\")[0];\n script.type = \"text/javascript\";\n script.charset = \"UTF-8\";\n script.id = \"tdwebchatscript\";\n script.src = src;\n script.async = true;\n firstScriptTag.parentNode.insertBefore(script, firstScriptTag);\n script.onload = () => {\n webchat = TalkdeskChatSDK(node, props);\n webchat.init(configs);\n };\n})(\n window,\n document,\n \"" + DIV_ID + "\",\n { flowId: \"cd19d348b5fb4a0ab0d3277686f28d1e\", accountId: \"\", region: \"td-us-1\" },\n { enableEmoji: true, enableUserInput: true, styles :{\n \"botIcon\": \"" + THEME_ICON + "\",\n \"botBackgroundColor\":\"" + THEME_COLOR_LIGHTGREY + "\",\n \"botTextColor\": \"" + THEME_COLOR_BLACK + "\",\n \"chatTitle\": \"Royal Opera House\",\n \"chatThemeColor\": \"" + THEME_COLOR + "\",\n \"chatTitleIcon\": \"" + THEME_ICON + "\",\n \"customButtonBackgroundColor\": \"" + THEME_COLOR + "\",\n \"customButtonBorderColor\": \"" + THEME_COLOR + "\",\n \"customButtonColor\": \"" + THEME_COLOR_WHITE + "\",\n \"userBackgroundColor\":\"" + THEME_COLOR_LIGHTGREY + "\",\n \"userTextColor\": \"" + THEME_COLOR_BLACK + "\",\n \"userBackgroundColor\":\"" + THEME_COLOR_MIDGREY + "\",\n \"userTextColor\": \"" + THEME_COLOR_BLACK + "\",\n \"welcomeMessageBackgroundColor\": \"" + THEME_COLOR_LIGHT + "\",\n \"welcomeMessageContentFontSize\": \"18px\",\n \"welcomeMessageTitleFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"welcomeMessageContentFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"customMessageFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"customMessageNoBubbleFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"customButtonFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"customFieldLabelFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"customFieldInputFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"customDropdownLabelFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"customDropdownInputFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"startChatButtonBackgroundColor\": \"" + THEME_COLOR + "\",\n \"startChatButtonBorderColor\": \"" + THEME_COLOR + "\",\n \"startChatButtonTextColor\": \"" + THEME_COLOR_WHITE + "\",\n \"startChatButtonHoverBackgroundColor\": \"" + THEME_COLOR + "\",\n \"startChatButtonHoverBorderColor\": \"" + THEME_COLOR + "\",\n \"startChatButtonHoverTextColor\": \"" + THEME_COLOR_WHITE + "\",\n \"startChatButtonFontFamily\": \"" + THEME_FONT_BODY + "\",\n }}\n);";
11130
-
11131
- var loadLiveChatScript = function loadLiveChatScript(callback) {
11132
- var existingScript = document.getElementById(DIV_ID);
11133
-
11134
- if (!existingScript) {
11135
- var liveChatDiv = document.createElement('div');
11136
- liveChatDiv.id = DIV_ID;
11137
- liveChatDiv.setAttribute('data-bind', DATA_BIND);
11138
- liveChatDiv.setAttribute('data-org', DATA_ORG);
11139
- var script = document.createElement('script');
11140
- var scriptBody = document.createTextNode(SCRIPT_CONTENT);
11141
- script.appendChild(scriptBody);
11142
- document.body.appendChild(liveChatDiv);
11143
- document.body.appendChild(script);
11144
-
11145
- script.onload = function () {
11146
- if (callback) callback();
11147
- };
11148
- }
11149
-
11150
- if (existingScript && callback) callback();
11151
- };
11152
-
11153
- var LiveChat = function LiveChat() {
11154
- // eslint-disable-next-line
11155
- var _React$useState = React.useState(false),
11156
- loaded = _React$useState[0],
11157
- setLoaded = _React$useState[1];
11158
-
11159
- React.useEffect(function () {
11160
- loadLiveChatScript(function () {
11161
- setLoaded(true);
11162
- });
11163
- });
11164
- return /*#__PURE__*/React.createElement("span", {
11165
- "data-loaded": loaded
11166
- });
11167
- };
11168
-
11169
11197
  var _templateObject$1k, _templateObject2$Z;
11170
11198
  var StickyBarWrapper = /*#__PURE__*/styled__default.div(_templateObject$1k || (_templateObject$1k = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n top: 0;\n position: sticky;\n z-index: ", ";\n background-color: var(--base-color-white);\n"])), zIndexes.anchor);
11171
11199
  var StickyBarGrid = /*#__PURE__*/styled__default(Grid)(_templateObject2$Z || (_templateObject2$Z = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n padding: 28px 0 26px;\n\n @media ", " {\n padding: 24px 0 28px;\n }\n\n @media ", " {\n border-bottom: none;\n }\n"])), function (_ref) {
@@ -11202,6 +11230,7 @@ var CloseButton = /*#__PURE__*/styled__default.button(_templateObject2$_ || (_te
11202
11230
  var ContentWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject3$P || (_templateObject3$P = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
11203
11231
  var Overlay = /*#__PURE__*/styled__default(Grid)(_templateObject4$E || (_templateObject4$E = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100vh;\n align-content: center;\n background-color: rgba(0, 0, 0, 0.4);\n"])));
11204
11232
 
11233
+ var _excluded$q = ["isOpen", "setIsOpen", "children", "appElementId"];
11205
11234
  var MAX_Z_INDEX = 9999999999;
11206
11235
 
11207
11236
  if (Modal.defaultStyles.content) {
@@ -11278,7 +11307,7 @@ var ModalWindow = function ModalWindow(_ref) {
11278
11307
  setIsOpen = _ref.setIsOpen,
11279
11308
  children = _ref.children,
11280
11309
  appElementId = _ref.appElementId,
11281
- modalProps = _objectWithoutPropertiesLoose(_ref, ["isOpen", "setIsOpen", "children", "appElementId"]);
11310
+ modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$q);
11282
11311
 
11283
11312
  var isMobile = useMobile();
11284
11313
  var customStyles = {
@@ -12353,7 +12382,6 @@ exports.Icon = Icon;
12353
12382
  exports.ImageAspectRatioWrapper = ImageAspectRatioWrapper;
12354
12383
  exports.ImageWithCaption = ImageWithCaption;
12355
12384
  exports.Information = Information;
12356
- exports.LiveChat = LiveChat;
12357
12385
  exports.MiniCard = MiniCard;
12358
12386
  exports.ModalWindow = ModalWindow;
12359
12387
  exports.Navigation = Navigation;