@useblu/ocean-react 1.58.0 → 1.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.es.js CHANGED
@@ -16,18 +16,18 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16
16
  PERFORMANCE OF THIS SOFTWARE.
17
17
  ***************************************************************************** */
18
18
 
19
- var __assign$1 = function() {
20
- __assign$1 = Object.assign || function __assign(t) {
19
+ var __assign$2 = function() {
20
+ __assign$2 = Object.assign || function __assign(t) {
21
21
  for (var s, i = 1, n = arguments.length; i < n; i++) {
22
22
  s = arguments[i];
23
23
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
24
24
  }
25
25
  return t;
26
26
  };
27
- return __assign$1.apply(this, arguments);
27
+ return __assign$2.apply(this, arguments);
28
28
  };
29
29
 
30
- function __rest$1(s, e) {
30
+ function __rest$2(s, e) {
31
31
  var t = {};
32
32
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
33
33
  t[p] = s[p];
@@ -39,7 +39,7 @@ function __rest$1(s, e) {
39
39
  return t;
40
40
  }
41
41
 
42
- function __spreadArray$1(to, from, pack) {
42
+ function __spreadArray$2(to, from, pack) {
43
43
  if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
44
44
  if (ar || !(i in from)) {
45
45
  if (!ar) ar = Array.prototype.slice.call(from, 0, i);
@@ -150,24 +150,24 @@ var defaultTypesMapping = {
150
150
  caption: 'p'
151
151
  };
152
152
  var Typography = e.forwardRef(function (_a, ref) {
153
- var children = _a.children, variant = _a.variant, className = _a.className, _b = _a.inverse, inverse = _b === void 0 ? false : _b, rest = __rest$1(_a, ["children", "variant", "className", "inverse"]);
153
+ var children = _a.children, variant = _a.variant, className = _a.className, _b = _a.inverse, inverse = _b === void 0 ? false : _b, rest = __rest$2(_a, ["children", "variant", "className", "inverse"]);
154
154
  var Component = defaultTypesMapping[variant];
155
- return (e.createElement(Component, __assign$1({ ref: ref, className: classNames("ods-typography ods-typography__".concat(variant), inverse && 'ods-typography--inverse', className) }, rest), children));
155
+ return (e.createElement(Component, __assign$2({ ref: ref, className: classNames("ods-typography ods-typography__".concat(variant), inverse && 'ods-typography--inverse', className) }, rest), children));
156
156
  });
157
157
  Typography.displayName = 'Typography';
158
158
 
159
159
  var Container = e.forwardRef(function (_a, ref) {
160
- var children = _a.children, _b = _a.fluid, fluid = _b === void 0 ? false : _b, className = _a.className, rest = __rest$1(_a, ["children", "fluid", "className"]);
160
+ var children = _a.children, _b = _a.fluid, fluid = _b === void 0 ? false : _b, className = _a.className, rest = __rest$2(_a, ["children", "fluid", "className"]);
161
161
  var prefix = 'ods-container';
162
162
  var suffix = typeof fluid === 'string' ? "-".concat(fluid) : '-fluid';
163
- return (e.createElement("div", __assign$1({ ref: ref, className: classNames(fluid ? "".concat(prefix).concat(suffix) : prefix, className) }, rest), children));
163
+ return (e.createElement("div", __assign$2({ ref: ref, className: classNames(fluid ? "".concat(prefix).concat(suffix) : prefix, className) }, rest), children));
164
164
  });
165
165
  Container.displayName = 'Container';
166
166
 
167
167
  var Row$1 = e.forwardRef(function (_a, ref) {
168
168
  var _b;
169
- var children = _a.children, className = _a.className, _c = _a.noGutters, noGutters = _c === void 0 ? false : _c, xs = _a.xs, sm = _a.sm, md = _a.md, lg = _a.lg, xl = _a.xl, rest = __rest$1(_a, ["children", "className", "noGutters", "xs", "sm", "md", "lg", "xl"]);
170
- return (e.createElement("div", __assign$1({ ref: ref, className: classNames('ods-row', noGutters && 'ods-no-gutters', (_b = {},
169
+ var children = _a.children, className = _a.className, _c = _a.noGutters, noGutters = _c === void 0 ? false : _c, xs = _a.xs, sm = _a.sm, md = _a.md, lg = _a.lg, xl = _a.xl, rest = __rest$2(_a, ["children", "className", "noGutters", "xs", "sm", "md", "lg", "xl"]);
170
+ return (e.createElement("div", __assign$2({ ref: ref, className: classNames('ods-row', noGutters && 'ods-no-gutters', (_b = {},
171
171
  _b["ods-row-cols-".concat(xs)] = xs,
172
172
  _b["ods-row-cols-sm-".concat(sm)] = sm,
173
173
  _b["ods-row-cols-md-".concat(md)] = md,
@@ -185,7 +185,7 @@ var DEVICE_SIZES = [
185
185
  'xl',
186
186
  ];
187
187
  var Col = e.forwardRef(function (_a, ref) {
188
- var children = _a.children, className = _a.className, rest = __rest$1(_a, ["children", "className"]);
188
+ var children = _a.children, className = _a.className, rest = __rest$2(_a, ["children", "className"]);
189
189
  var prefix = 'ods-col';
190
190
  var classes = [];
191
191
  var hasAnySpan = false;
@@ -211,7 +211,7 @@ var Col = e.forwardRef(function (_a, ref) {
211
211
  });
212
212
  if (!hasAnySpan)
213
213
  classes.unshift(prefix);
214
- return (e.createElement("div", __assign$1({ ref: ref, className: classNames(classes, className) }, rest), children));
214
+ return (e.createElement("div", __assign$2({ ref: ref, className: classNames(classes, className) }, rest), children));
215
215
  });
216
216
  Col.displayName = 'Col';
217
217
 
@@ -253,30 +253,30 @@ var TagIcon = e.memo(function (_a) {
253
253
  TagIcon.displayName = 'TagIcon';
254
254
 
255
255
  var Tag = e.forwardRef(function (_a, ref) {
256
- var children = _a.children, _b = _a.type, type = _b === void 0 ? 'default' : _b, className = _a.className, icon = _a.icon, _c = _a.setIconOff, setIconOff = _c === void 0 ? false : _c, rest = __rest$1(_a, ["children", "type", "className", "icon", "setIconOff"]);
257
- return (e.createElement("div", __assign$1({ ref: ref, role: "Tag", className: classNames('ods-tag', "ods-tag--".concat(type), className) }, rest),
256
+ var children = _a.children, _b = _a.type, type = _b === void 0 ? 'default' : _b, className = _a.className, icon = _a.icon, _c = _a.setIconOff, setIconOff = _c === void 0 ? false : _c, rest = __rest$2(_a, ["children", "type", "className", "icon", "setIconOff"]);
257
+ return (e.createElement("div", __assign$2({ ref: ref, role: "Tag", className: classNames('ods-tag', "ods-tag--".concat(type), className) }, rest),
258
258
  !setIconOff && e.createElement(TagIcon, { type: type, icon: icon }),
259
259
  e.createElement("div", { className: "ods-tag__content" }, children)));
260
260
  });
261
261
  Tag.displayName = 'Tag';
262
262
 
263
263
  var List = e.forwardRef(function (_a, ref) {
264
- var children = _a.children, className = _a.className, rest = __rest$1(_a, ["children", "className"]);
265
- return (e.createElement("div", __assign$1({ ref: ref, className: classNames('ods-list', className) }, rest), children));
264
+ var children = _a.children, className = _a.className, rest = __rest$2(_a, ["children", "className"]);
265
+ return (e.createElement("div", __assign$2({ ref: ref, className: classNames('ods-list', className) }, rest), children));
266
266
  });
267
267
  List.displayName = 'List';
268
268
 
269
269
  var SubHeader = e.forwardRef(function (_a, ref) {
270
- var children = _a.children, subtitle = _a.subtitle, className = _a.className, rest = __rest$1(_a, ["children", "subtitle", "className"]);
271
- return (e.createElement("div", __assign$1({ ref: ref, className: classNames('ods-sub-header', className) }, rest),
270
+ var children = _a.children, subtitle = _a.subtitle, className = _a.className, rest = __rest$2(_a, ["children", "subtitle", "className"]);
271
+ return (e.createElement("div", __assign$2({ ref: ref, className: classNames('ods-sub-header', className) }, rest),
272
272
  e.createElement("div", { className: "ods-sub-header__title" }, children),
273
273
  subtitle && e.createElement("div", { className: "ods-sub-header__subtitle" }, subtitle)));
274
274
  });
275
275
  SubHeader.displayName = 'SubHeader';
276
276
 
277
277
  var TransactionListItem = e.forwardRef(function (_a, ref) {
278
- var children = _a.children, level2 = _a.level2, level3 = _a.level3, level4 = _a.level4, icon = _a.icon, value = _a.value, positive = _a.positive, tags = _a.tags, time = _a.time, subItens = _a.subItens, className = _a.className, rest = __rest$1(_a, ["children", "level2", "level3", "level4", "icon", "value", "positive", "tags", "time", "subItens", "className"]);
279
- return (e.createElement("div", __assign$1({ ref: ref, className: classNames('ods-transaction-list-item', className) }, rest),
278
+ var children = _a.children, level2 = _a.level2, level3 = _a.level3, level4 = _a.level4, icon = _a.icon, value = _a.value, positive = _a.positive, tags = _a.tags, time = _a.time, subItens = _a.subItens, className = _a.className, rest = __rest$2(_a, ["children", "level2", "level3", "level4", "icon", "value", "positive", "tags", "time", "subItens", "className"]);
279
+ return (e.createElement("div", __assign$2({ ref: ref, className: classNames('ods-transaction-list-item', className) }, rest),
280
280
  e.createElement("div", { className: "ods-transaction-list-item__content" },
281
281
  icon && e.createElement("div", { className: "ods-transaction-list-item__icon" }, icon),
282
282
  e.createElement("div", { className: "ods-transaction-list-item__information" },
@@ -295,8 +295,8 @@ var TransactionListItem = e.forwardRef(function (_a, ref) {
295
295
  TransactionListItem.displayName = 'TransactionListItem';
296
296
 
297
297
  var UnorderedListItem = e.forwardRef(function (_a, ref) {
298
- var description = _a.description, Icon = _a.icon, title = _a.title, className = _a.className, iconVariant = _a.iconVariant, rest = __rest$1(_a, ["description", "icon", "title", "className", "iconVariant"]);
299
- return (e.createElement("div", __assign$1({ ref: ref, className: classNames('ods-unordered-list-item', className) }, rest),
298
+ var description = _a.description, Icon = _a.icon, title = _a.title, className = _a.className, iconVariant = _a.iconVariant, rest = __rest$2(_a, ["description", "icon", "title", "className", "iconVariant"]);
299
+ return (e.createElement("div", __assign$2({ ref: ref, className: classNames('ods-unordered-list-item', className) }, rest),
300
300
  Icon && iconVariant !== 'chevron' ? (e.createElement(Icon, { size: iconVariant === 'solid' ? 20 : 24, className: classNames('ods-unordered-list-item__icon', iconVariant === 'solid' && 'ods-unordered-list-item__icon--solid') })) : (e.createElement("span", { className: "ods-unordered-list-item__icon-container" },
301
301
  e.createElement(ee, { size: 16 }))),
302
302
  e.createElement("span", null,
@@ -334,8 +334,8 @@ var IconLg = function () { return (e.createElement("svg", { width: "32", height:
334
334
  e.createElement("path", { d: "M16 2C17.8385 2 19.659 2.36212 21.3576 3.06569C23.0561 3.76925 24.5995 4.80049 25.8995 6.10051C27.1995 7.40053 28.2307 8.94388 28.9343 10.6424C29.6379 12.341 30 14.1615 30 16", stroke: "#0025E0", strokeWidth: "4", strokeLinecap: "round", strokeLinejoin: "round" }))); };
335
335
 
336
336
  var Progress = e.forwardRef(function (_a, ref) {
337
- var _b = _a.onColor, onColor = _b === void 0 ? false : _b, _c = _a.size, size = _c === void 0 ? 'md' : _c, className = _a.className, rest = __rest$1(_a, ["onColor", "size", "className"]);
338
- return (e.createElement("div", __assign$1({ ref: ref, className: classNames('ods-progress', "ods-progress--".concat(size), className, {
337
+ var _b = _a.onColor, onColor = _b === void 0 ? false : _b, _c = _a.size, size = _c === void 0 ? 'md' : _c, className = _a.className, rest = __rest$2(_a, ["onColor", "size", "className"]);
338
+ return (e.createElement("div", __assign$2({ ref: ref, className: classNames('ods-progress', "ods-progress--".concat(size), className, {
339
339
  'ods-progress--on-color': onColor
340
340
  }) }, rest),
341
341
  size === 'sm' && e.createElement(IconSm, null),
@@ -345,9 +345,9 @@ var Progress = e.forwardRef(function (_a, ref) {
345
345
  Progress.displayName = 'Progress';
346
346
 
347
347
  function ButtonBase(_a, ref) {
348
- var children = _a.children, className = _a.className, _b = _a.size, size = _b === void 0 ? 'md' : _b, _c = _a.variant, variant = _c === void 0 ? 'primary' : _c, _d = _a.blocked, blocked = _d === void 0 ? false : _d, _e = _a.loading, loading = _e === void 0 ? false : _e, component = _a.component, rest = __rest$1(_a, ["children", "className", "size", "variant", "blocked", "loading", "component"]);
348
+ var children = _a.children, className = _a.className, _b = _a.size, size = _b === void 0 ? 'md' : _b, _c = _a.variant, variant = _c === void 0 ? 'primary' : _c, _d = _a.blocked, blocked = _d === void 0 ? false : _d, _e = _a.loading, loading = _e === void 0 ? false : _e, component = _a.component, rest = __rest$2(_a, ["children", "className", "size", "variant", "blocked", "loading", "component"]);
349
349
  var onColor = ['primary', 'primaryCritical', 'inverse'].includes(variant);
350
- return e.createElement(component || 'button', __assign$1(__assign$1({ ref: ref, className: classNames('ods-btn', "ods-btn--".concat(size), "ods-btn--".concat(variant.replace(/[A-Z]/g, function (m) { return "-".concat(m.toLowerCase()); })), blocked && 'ods-btn--blocked', className, { 'ods-btn--loading': loading }) }, rest), { onClick: loading ? function () { return false; } : rest.onClick }), loading ? (e.createElement(e.Fragment, null,
350
+ return e.createElement(component || 'button', __assign$2(__assign$2({ ref: ref, className: classNames('ods-btn', "ods-btn--".concat(size), "ods-btn--".concat(variant.replace(/[A-Z]/g, function (m) { return "-".concat(m.toLowerCase()); })), blocked && 'ods-btn--blocked', className, { 'ods-btn--loading': loading }) }, rest), { onClick: loading ? function () { return false; } : rest.onClick }), loading ? (e.createElement(e.Fragment, null,
351
351
  e.createElement(Progress, { size: size, onColor: onColor }),
352
352
  e.createElement("span", null, children))) : (children));
353
353
  }
@@ -368,19 +368,19 @@ var LinkIcons = e.memo(function (_a) {
368
368
  LinkIcons.displayName = 'LinkIcons';
369
369
 
370
370
  var Link = forwardRef(function (_a, ref) {
371
- var children = _a.children, className = _a.className, _b = _a.variant, variant = _b === void 0 ? 'primary' : _b, _c = _a.size, size = _c === void 0 ? 'md' : _c, icon = _a.icon, rest = __rest$1(_a, ["children", "className", "variant", "size", "icon"]);
372
- return (e.createElement("a", __assign$1({ ref: ref, className: classNames('ods-link', "ods-link--".concat(size), "ods-link--".concat(variant), icon ? 'ods-link--with-icon' : '', className) }, rest),
371
+ var children = _a.children, className = _a.className, _b = _a.variant, variant = _b === void 0 ? 'primary' : _b, _c = _a.size, size = _c === void 0 ? 'md' : _c, icon = _a.icon, rest = __rest$2(_a, ["children", "className", "variant", "size", "icon"]);
372
+ return (e.createElement("a", __assign$2({ ref: ref, className: classNames('ods-link', "ods-link--".concat(size), "ods-link--".concat(variant), icon ? 'ods-link--with-icon' : '', className) }, rest),
373
373
  e.createElement("span", { className: "ods-link__content" }, children),
374
374
  e.createElement(LinkIcons, { icon: icon })));
375
375
  });
376
376
  Link.displayName = 'Link';
377
377
 
378
378
  var Alert = e.forwardRef(function (_a, ref) {
379
- var children = _a.children, _b = _a.type, type = _b === void 0 ? 'default' : _b, title = _a.title, className = _a.className, icon = _a.icon, _c = _a.size, size = _c === void 0 ? 'long' : _c, button = _a.button, buttonAction = _a.buttonAction, rest = __rest$1(_a, ["children", "type", "title", "className", "icon", "size", "button", "buttonAction"]);
379
+ var children = _a.children, _b = _a.type, type = _b === void 0 ? 'default' : _b, title = _a.title, className = _a.className, icon = _a.icon, _c = _a.size, size = _c === void 0 ? 'long' : _c, button = _a.button, buttonAction = _a.buttonAction, rest = __rest$2(_a, ["children", "type", "title", "className", "icon", "size", "button", "buttonAction"]);
380
380
  var alertIcon = e.createElement(AlertIcon, { type: type, icon: icon });
381
381
  var longSize = size === 'long' && !button;
382
382
  var marginHeader = longSize && children && title;
383
- return (e.createElement("div", __assign$1({ ref: ref, role: "alert", className: classNames('ods-alert', "ods-alert--".concat(type), longSize && 'ods-alert--long', className) }, rest), longSize ? (e.createElement(e.Fragment, null,
383
+ return (e.createElement("div", __assign$2({ ref: ref, role: "alert", className: classNames('ods-alert', "ods-alert--".concat(type), longSize && 'ods-alert--long', className) }, rest), longSize ? (e.createElement(e.Fragment, null,
384
384
  e.createElement("div", { className: classNames('ods-alert__header', marginHeader && 'ods-alert__header--margin') },
385
385
  alertIcon,
386
386
  title ? (e.createElement("div", { className: "ods-alert__title" }, title)) : (e.createElement("div", { className: "alert__content" }, children))),
@@ -397,7 +397,7 @@ var Alert = e.forwardRef(function (_a, ref) {
397
397
  });
398
398
  Alert.displayName = 'Alert';
399
399
 
400
- var lib$1 = {};
400
+ var lib$3 = {};
401
401
 
402
402
  var slider = {};
403
403
 
@@ -2495,7 +2495,7 @@ var MapShim = (function () {
2495
2495
  /**
2496
2496
  * Detects whether window and document objects are available in current environment.
2497
2497
  */
2498
- var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document;
2498
+ var isBrowser$1 = typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document;
2499
2499
 
2500
2500
  // Returns global object of a current environment.
2501
2501
  var global$1 = (function () {
@@ -2714,7 +2714,7 @@ var ResizeObserverController = /** @class */ (function () {
2714
2714
  ResizeObserverController.prototype.connect_ = function () {
2715
2715
  // Do nothing if running in a non-browser environment or if listeners
2716
2716
  // have been already added.
2717
- if (!isBrowser || this.connected_) {
2717
+ if (!isBrowser$1 || this.connected_) {
2718
2718
  return;
2719
2719
  }
2720
2720
  // Subscription to the "Transitionend" event is used as a workaround for
@@ -2746,7 +2746,7 @@ var ResizeObserverController = /** @class */ (function () {
2746
2746
  ResizeObserverController.prototype.disconnect_ = function () {
2747
2747
  // Do nothing if running in a non-browser environment or if listeners
2748
2748
  // have been already removed.
2749
- if (!isBrowser || !this.connected_) {
2749
+ if (!isBrowser$1 || !this.connected_) {
2750
2750
  return;
2751
2751
  }
2752
2752
  document.removeEventListener('transitionend', this.onTransitionEnd_);
@@ -2994,7 +2994,7 @@ function isDocumentElement(target) {
2994
2994
  * @returns {DOMRectInit}
2995
2995
  */
2996
2996
  function getContentRect(target) {
2997
- if (!isBrowser) {
2997
+ if (!isBrowser$1) {
2998
2998
  return emptyRect;
2999
2999
  }
3000
3000
  if (isSVGGraphicsElement(target)) {
@@ -4981,9 +4981,9 @@ function requireSrc () {
4981
4981
 
4982
4982
  var _default = _slider["default"];
4983
4983
  exports["default"] = _default;
4984
- } (lib$1));
4984
+ } (lib$3));
4985
4985
 
4986
- var Slider = /*@__PURE__*/getDefaultExportFromCjs(lib$1);
4986
+ var Slider = /*@__PURE__*/getDefaultExportFromCjs(lib$3);
4987
4987
 
4988
4988
  var CarouselDotList = function (_a) {
4989
4989
  var dots = _a.dots;
@@ -5011,7 +5011,7 @@ var Carousel = function (_a) {
5011
5011
  autoplaySpeed: 8000
5012
5012
  };
5013
5013
  return (e.createElement("div", { className: classNames('ods-carousel', "columns-".concat(columnsAsNumber)) },
5014
- e.createElement(Slider, __assign$1({}, settings), Children.toArray(children).map(function (child, index) { return (e.createElement("div", { key: index }, child)); }))));
5014
+ e.createElement(Slider, __assign$2({}, settings), Children.toArray(children).map(function (child, index) { return (e.createElement("div", { key: index }, child)); }))));
5015
5015
  };
5016
5016
 
5017
5017
  function useInputFilled(_a) {
@@ -5035,8 +5035,8 @@ function useInputFilled(_a) {
5035
5035
  }
5036
5036
 
5037
5037
  function FormLabelBase(_a, ref) {
5038
- var children = _a.children, className = _a.className, component = _a.component, disabled = _a.disabled, rest = __rest$1(_a, ["children", "className", "component", "disabled"]);
5039
- return e.createElement(component || 'label', __assign$1({ ref: ref, className: classNames('ods-form-label', disabled && 'ods-form-label--disabled', className) }, rest), children);
5038
+ var children = _a.children, className = _a.className, component = _a.component, disabled = _a.disabled, rest = __rest$2(_a, ["children", "className", "component", "disabled"]);
5039
+ return e.createElement(component || 'label', __assign$2({ ref: ref, className: classNames('ods-form-label', disabled && 'ods-form-label--disabled', className) }, rest), children);
5040
5040
  }
5041
5041
  var FormLabel = e.forwardRef(FormLabelBase);
5042
5042
 
@@ -5058,7 +5058,7 @@ var FormControl = function (_a) {
5058
5058
  };
5059
5059
 
5060
5060
  var Input = e.forwardRef(function (_a, ref) {
5061
- var type = _a.type, label = _a.label, helperText = _a.helperText, error = _a.error, disabled = _a.disabled, defaultValue = _a.defaultValue, placeholder = _a.placeholder, tooltipMessage = _a.tooltipMessage, position = _a.position, adornment = _a.adornment, className = _a.className, id = _a.id, onChange = _a.onChange, value = _a.value, rest = __rest$1(_a, ["type", "label", "helperText", "error", "disabled", "defaultValue", "placeholder", "tooltipMessage", "position", "adornment", "className", "id", "onChange", "value"]);
5061
+ var type = _a.type, label = _a.label, helperText = _a.helperText, error = _a.error, disabled = _a.disabled, defaultValue = _a.defaultValue, placeholder = _a.placeholder, tooltipMessage = _a.tooltipMessage, position = _a.position, adornment = _a.adornment, className = _a.className, id = _a.id, onChange = _a.onChange, value = _a.value, rest = __rest$2(_a, ["type", "label", "helperText", "error", "disabled", "defaultValue", "placeholder", "tooltipMessage", "position", "adornment", "className", "id", "onChange", "value"]);
5062
5062
  var _b = useInputFilled({
5063
5063
  defaultValue: defaultValue,
5064
5064
  value: value,
@@ -5066,7 +5066,7 @@ var Input = e.forwardRef(function (_a, ref) {
5066
5066
  }), filled = _b.filled, handleChange = _b.handleChange;
5067
5067
  return (e.createElement(FormControl, { label: label, tooltipMessage: tooltipMessage, htmlFor: id, helperText: helperText, error: error, disabled: disabled },
5068
5068
  e.createElement("div", { className: classNames('ods-input', filled && 'ods-input--filled', disabled && 'ods-input--disabled', error && 'ods-input--error', position === 'left' && 'ods-input--left', adornment && !filled ? 'ods-input--disabled--text' : '', className) },
5069
- e.createElement("input", __assign$1({ ref: ref, type: type || 'text', id: id, disabled: disabled, onChange: handleChange, defaultValue: defaultValue, placeholder: placeholder, value: value }, rest)),
5069
+ e.createElement("input", __assign$2({ ref: ref, type: type || 'text', id: id, disabled: disabled, onChange: handleChange, defaultValue: defaultValue, placeholder: placeholder, value: value }, rest)),
5070
5070
  adornment && (e.createElement("div", { className: classNames('ods-input__adornment', {
5071
5071
  'ods-input__adornment--placeholder': !filled
5072
5072
  }) }, adornment)))));
@@ -5074,39 +5074,39 @@ var Input = e.forwardRef(function (_a, ref) {
5074
5074
  Input.displayName = 'Input';
5075
5075
 
5076
5076
  var Checkbox = e.forwardRef(function (_a, ref) {
5077
- var error = _a.error, className = _a.className, label = _a.label, id = _a.id, indeterminate = _a.indeterminate, rest = __rest$1(_a, ["error", "className", "label", "id", "indeterminate"]);
5077
+ var error = _a.error, className = _a.className, label = _a.label, id = _a.id, indeterminate = _a.indeterminate, rest = __rest$2(_a, ["error", "className", "label", "id", "indeterminate"]);
5078
5078
  return (e.createElement("label", { className: "ods-checkbox__root", htmlFor: id },
5079
- e.createElement("input", __assign$1({ ref: ref, id: id, className: classNames('ods-checkbox', className) }, rest, { type: "checkbox", "data-indeterminate": indeterminate })),
5079
+ e.createElement("input", __assign$2({ ref: ref, id: id, className: classNames('ods-checkbox', className) }, rest, { type: "checkbox", "data-indeterminate": indeterminate })),
5080
5080
  e.createElement("span", { className: classNames('ods-checkbox__checkmark', indeterminate && 'ods-checkbox__checkmark--indeterminate', error && 'ods-checkbox__checkmark--error') }),
5081
5081
  label && (e.createElement("span", { className: "ods-typography ods-typography__description ods-checkbox__label" }, label))));
5082
5082
  });
5083
5083
  Checkbox.displayName = 'Checkbox';
5084
5084
 
5085
5085
  var Radio = e.forwardRef(function (_a, ref) {
5086
- var className = _a.className, label = _a.label, id = _a.id, rest = __rest$1(_a, ["className", "label", "id"]);
5086
+ var className = _a.className, label = _a.label, id = _a.id, rest = __rest$2(_a, ["className", "label", "id"]);
5087
5087
  return (e.createElement("label", { className: "ods-radio__root", htmlFor: id },
5088
- e.createElement("input", __assign$1({ ref: ref, id: id, className: classNames('ods-radio', className) }, rest, { type: "radio" })),
5088
+ e.createElement("input", __assign$2({ ref: ref, id: id, className: classNames('ods-radio', className) }, rest, { type: "radio" })),
5089
5089
  e.createElement("span", { className: "ods-radio__checkmark" }),
5090
5090
  label && (e.createElement("span", { className: "ods-typography ods-typography__description ods-radio__label" }, label))));
5091
5091
  });
5092
5092
  Radio.displayName = 'Radio';
5093
5093
 
5094
5094
  var TextArea = e.forwardRef(function (_a, ref) {
5095
- var className = _a.className, label = _a.label, placeholder = _a.placeholder, helperText = _a.helperText, error = _a.error, id = _a.id, disabled = _a.disabled, onChange = _a.onChange, value = _a.value, defaultValue = _a.defaultValue, rest = __rest$1(_a, ["className", "label", "placeholder", "helperText", "error", "id", "disabled", "onChange", "value", "defaultValue"]);
5095
+ var className = _a.className, label = _a.label, placeholder = _a.placeholder, helperText = _a.helperText, error = _a.error, id = _a.id, disabled = _a.disabled, onChange = _a.onChange, value = _a.value, defaultValue = _a.defaultValue, rest = __rest$2(_a, ["className", "label", "placeholder", "helperText", "error", "id", "disabled", "onChange", "value", "defaultValue"]);
5096
5096
  var _b = useInputFilled({
5097
5097
  defaultValue: defaultValue,
5098
5098
  value: value,
5099
5099
  onChange: onChange
5100
5100
  }), filled = _b.filled, handleChange = _b.handleChange;
5101
5101
  return (e.createElement(FormControl, { label: label, htmlFor: id, helperText: helperText, error: error, disabled: disabled },
5102
- e.createElement("textarea", __assign$1({ ref: ref, id: id, className: classNames('ods-textarea', filled && 'ods-textarea--filled', error && 'ods-textarea--error', className), disabled: disabled, onChange: handleChange, placeholder: placeholder, defaultValue: defaultValue, value: value }, rest))));
5102
+ e.createElement("textarea", __assign$2({ ref: ref, id: id, className: classNames('ods-textarea', filled && 'ods-textarea--filled', error && 'ods-textarea--error', className), disabled: disabled, onChange: handleChange, placeholder: placeholder, defaultValue: defaultValue, value: value }, rest))));
5103
5103
  });
5104
5104
  TextArea.displayName = 'TextArea';
5105
5105
 
5106
5106
  var Context = e.createContext({});
5107
5107
 
5108
5108
  var Option = e.memo(function (option) {
5109
- var label = option.label, className = option.className, id = option.id, index = option.index, rest = __rest$1(option, ["label", "className", "id", "index"]);
5109
+ var label = option.label, className = option.className, id = option.id, index = option.index, rest = __rest$2(option, ["label", "className", "id", "index"]);
5110
5110
  var _a = useContext(Context), selected = _a.selected, onSelect = _a.onSelect, setIsExpanded = _a.setIsExpanded, refSelControl = _a.refSelControl;
5111
5111
  var isSelected = useMemo(function () { return (selected === null || selected === void 0 ? void 0 : selected.index) === index; }, [selected, index]);
5112
5112
  var refOption = useRef(null);
@@ -5123,7 +5123,7 @@ var Option = e.memo(function (option) {
5123
5123
  refSelControl.current.focus();
5124
5124
  setIsExpanded(false);
5125
5125
  }, [onSelect, option, refSelControl, setIsExpanded]);
5126
- return (e.createElement("li", __assign$1({}, rest, { ref: refOption, id: id, role: "option", className: classNames('ods-select__option', isSelected && 'ods-select__option--selected', className), onClick: handleClick, "aria-selected": isSelected || undefined }),
5126
+ return (e.createElement("li", __assign$2({}, rest, { ref: refOption, id: id, role: "option", className: classNames('ods-select__option', isSelected && 'ods-select__option--selected', className), onClick: handleClick, "aria-selected": isSelected || undefined }),
5127
5127
  e.createElement("span", null, label)));
5128
5128
  });
5129
5129
  Option.displayName = 'Option';
@@ -5137,8 +5137,8 @@ var Listbox = e.memo(function (_a) {
5137
5137
  }, []);
5138
5138
  return (e.createElement("div", { className: "ods-select__listbox-wrapper" },
5139
5139
  e.createElement("ul", { ref: refListbox, id: id, tabIndex: -1, role: "listbox", "aria-activedescendant": (selected === null || selected === void 0 ? void 0 : selected.id) || undefined, className: "ods-select__listbox", onKeyDown: onKeyDown }, options.map(function (_a) {
5140
- var value = _a.value, index = _a.index, rest = __rest$1(_a, ["value", "index"]);
5141
- return (e.createElement(Option, __assign$1({ key: value, value: value, index: index }, rest)));
5140
+ var value = _a.value, index = _a.index, rest = __rest$2(_a, ["value", "index"]);
5141
+ return (e.createElement(Option, __assign$2({ key: value, value: value, index: index }, rest)));
5142
5142
  }))));
5143
5143
  });
5144
5144
  Listbox.displayName = 'Listbox';
@@ -5303,7 +5303,7 @@ var useSelect = function (_a) {
5303
5303
  var _d = useState(''), search = _d[0], setSearch = _d[1];
5304
5304
  var currentIndex = selected ? selected.index : -1;
5305
5305
  var optionsMemo = useMemo(function () {
5306
- return options.map(function (opt, index) { return (__assign$1(__assign$1({}, opt), { index: index, id: makeId("option-".concat(opt.value), listboxId) })); });
5306
+ return options.map(function (opt, index) { return (__assign$2(__assign$2({}, opt), { index: index, id: makeId("option-".concat(opt.value), listboxId) })); });
5307
5307
  }, [listboxId, options]);
5308
5308
  var onSelect = useCallback(function (option, canEmitChangeEvent) {
5309
5309
  if (canEmitChangeEvent === void 0) { canEmitChangeEvent = true; }
@@ -5341,7 +5341,7 @@ var useSelect = function (_a) {
5341
5341
  var timer;
5342
5342
  if (search) {
5343
5343
  timer = setTimeout(function () {
5344
- var optionList = __spreadArray$1(__spreadArray$1([], optionsMemo.slice(currentIndex + 1), true), optionsMemo.slice(0, currentIndex + 1), true);
5344
+ var optionList = __spreadArray$2(__spreadArray$2([], optionsMemo.slice(currentIndex + 1), true), optionsMemo.slice(0, currentIndex + 1), true);
5345
5345
  var option = optionList.find(function (o) {
5346
5346
  return o.label.toLowerCase().startsWith(search.toLowerCase());
5347
5347
  });
@@ -5367,7 +5367,7 @@ var useSelect = function (_a) {
5367
5367
  };
5368
5368
 
5369
5369
  var Select = function (_a) {
5370
- var label = _a.label, id = _a.id, helperText = _a.helperText, error = _a.error, optionsProp = _a.options, name = _a.name, value = _a.value, defaultValue = _a.defaultValue, disabled = _a.disabled, ariaLabel = _a.ariaLabel, onChange = _a.onChange, className = _a.className, placeholder = _a.placeholder, rest = __rest$1(_a, ["label", "id", "helperText", "error", "options", "name", "value", "defaultValue", "disabled", "ariaLabel", "onChange", "className", "placeholder"]);
5370
+ var label = _a.label, id = _a.id, helperText = _a.helperText, error = _a.error, optionsProp = _a.options, name = _a.name, value = _a.value, defaultValue = _a.defaultValue, disabled = _a.disabled, ariaLabel = _a.ariaLabel, onChange = _a.onChange, className = _a.className, placeholder = _a.placeholder, rest = __rest$2(_a, ["label", "id", "helperText", "error", "options", "name", "value", "defaultValue", "disabled", "ariaLabel", "onChange", "className", "placeholder"]);
5371
5371
  var _b = useSelect({
5372
5372
  options: optionsProp,
5373
5373
  id: id,
@@ -5421,7 +5421,7 @@ var Select = function (_a) {
5421
5421
  refSelControl: refSelControl
5422
5422
  } },
5423
5423
  e.createElement("div", { className: "ods-select__root", onBlur: onBlurHandler, onFocus: onFocusHandler },
5424
- e.createElement("button", __assign$1({}, rest, { ref: refSelControl, id: controlId, type: "button", className: classNames('ods-select__control', isExpanded && 'ods-select__control--expanded', !isExpanded && selected && 'ods-select__control--filled', error && 'ods-select__control--error', className), disabled: disabled, onClick: function () { return setIsExpanded(!isExpanded); }, onKeyDown: handleKeyDown, "aria-expanded": isExpanded || undefined, "aria-haspopup": "listbox", "aria-labelledby": ariaLabel
5424
+ e.createElement("button", __assign$2({}, rest, { ref: refSelControl, id: controlId, type: "button", className: classNames('ods-select__control', isExpanded && 'ods-select__control--expanded', !isExpanded && selected && 'ods-select__control--filled', error && 'ods-select__control--error', className), disabled: disabled, onClick: function () { return setIsExpanded(!isExpanded); }, onKeyDown: handleKeyDown, "aria-expanded": isExpanded || undefined, "aria-haspopup": "listbox", "aria-labelledby": ariaLabel
5425
5425
  ? undefined
5426
5426
  : [labelId, controlId].filter(Boolean).join(' '), "aria-label": ariaLabel }),
5427
5427
  e.createElement("span", { className: classNames('ods-select__value', {
@@ -5438,14 +5438,14 @@ var Select = function (_a) {
5438
5438
  };
5439
5439
 
5440
5440
  var Switch = e.forwardRef(function (_a, ref) {
5441
- var className = _a.className, id = _a.id, rest = __rest$1(_a, ["className", "id"]);
5441
+ var className = _a.className, id = _a.id, rest = __rest$2(_a, ["className", "id"]);
5442
5442
  return (e.createElement("label", { className: "ods-switch__root", htmlFor: id },
5443
- e.createElement("input", __assign$1({ ref: ref, id: id, className: classNames('ods-switch', className) }, rest, { type: "checkbox" })),
5443
+ e.createElement("input", __assign$2({ ref: ref, id: id, className: classNames('ods-switch', className) }, rest, { type: "checkbox" })),
5444
5444
  e.createElement("span", { className: "ods-switch__slider" })));
5445
5445
  });
5446
5446
  Switch.displayName = 'Switch';
5447
5447
 
5448
- var lib = {exports: {}};
5448
+ var lib$2 = {exports: {}};
5449
5449
 
5450
5450
  var Modal$2 = {};
5451
5451
 
@@ -8252,14 +8252,14 @@ Modal$2.default = Modal$1;
8252
8252
 
8253
8253
  exports.default = _Modal2.default;
8254
8254
  module.exports = exports["default"];
8255
- } (lib, lib.exports));
8255
+ } (lib$2, lib$2.exports));
8256
8256
 
8257
- var ReactModal = /*@__PURE__*/getDefaultExportFromCjs(lib.exports);
8257
+ var ReactModal = /*@__PURE__*/getDefaultExportFromCjs(lib$2.exports);
8258
8258
 
8259
8259
  var Modal = function (_a) {
8260
8260
  var _b;
8261
- var children = _a.children, _c = _a.maxWidth, maxWidth = _c === void 0 ? false : _c, _d = _a.disableClose, disableClose = _d === void 0 ? false : _d, _e = _a.blocked, blocked = _e === void 0 ? false : _e, onRequestClose = _a.onRequestClose, rest = __rest$1(_a, ["children", "maxWidth", "disableClose", "blocked", "onRequestClose"]);
8262
- return (e.createElement(ReactModal, __assign$1({ closeTimeoutMS: 150, portalClassName: "ods-modal", overlayClassName: {
8261
+ var children = _a.children, _c = _a.maxWidth, maxWidth = _c === void 0 ? false : _c, _d = _a.disableClose, disableClose = _d === void 0 ? false : _d, _e = _a.blocked, blocked = _e === void 0 ? false : _e, onRequestClose = _a.onRequestClose, rest = __rest$2(_a, ["children", "maxWidth", "disableClose", "blocked", "onRequestClose"]);
8262
+ return (e.createElement(ReactModal, __assign$2({ closeTimeoutMS: 150, portalClassName: "ods-modal", overlayClassName: {
8263
8263
  base: 'ods-modal__overlay',
8264
8264
  afterOpen: 'ods-modal__overlay--after-open',
8265
8265
  beforeClose: 'ods-modal__overlay--before-close'
@@ -8277,19 +8277,19 @@ var Modal = function (_a) {
8277
8277
  };
8278
8278
 
8279
8279
  var Divider = e.forwardRef(function (_a, ref) {
8280
- var className = _a.className, rest = __rest$1(_a, ["className"]);
8281
- return (e.createElement("hr", __assign$1({ ref: ref, className: classNames('ods-divider', className) }, rest)));
8280
+ var className = _a.className, rest = __rest$2(_a, ["className"]);
8281
+ return (e.createElement("hr", __assign$2({ ref: ref, className: classNames('ods-divider', className) }, rest)));
8282
8282
  });
8283
8283
  Divider.displayName = 'Divider';
8284
8284
 
8285
8285
  function IconButtonBase(_a, ref) {
8286
- var children = _a.children, className = _a.className, _b = _a.size, size = _b === void 0 ? 'md' : _b, _c = _a.disabled, disabled = _c === void 0 ? false : _c, component = _a.component, rest = __rest$1(_a, ["children", "className", "size", "disabled", "component"]);
8287
- return e.createElement(component || 'button', __assign$1({ ref: ref, className: classNames('ods-icon-btn', "ods-icon-btn--".concat(size), disabled && 'ods-icon-btn--disabled', className) }, rest), children);
8286
+ var children = _a.children, className = _a.className, _b = _a.size, size = _b === void 0 ? 'md' : _b, _c = _a.disabled, disabled = _c === void 0 ? false : _c, component = _a.component, rest = __rest$2(_a, ["children", "className", "size", "disabled", "component"]);
8287
+ return e.createElement(component || 'button', __assign$2({ ref: ref, className: classNames('ods-icon-btn', "ods-icon-btn--".concat(size), disabled && 'ods-icon-btn--disabled', className) }, rest), children);
8288
8288
  }
8289
8289
  var IconButton = e.forwardRef(IconButtonBase);
8290
8290
 
8291
8291
  var Search = e.forwardRef(function (_a, ref) {
8292
- var className = _a.className, id = _a.id, disabled = _a.disabled, value = _a.value, defaultValue = _a.defaultValue, placeholder = _a.placeholder, onChange = _a.onChange, rest = __rest$1(_a, ["className", "id", "disabled", "value", "defaultValue", "placeholder", "onChange"]);
8292
+ var className = _a.className, id = _a.id, disabled = _a.disabled, value = _a.value, defaultValue = _a.defaultValue, placeholder = _a.placeholder, onChange = _a.onChange, rest = __rest$2(_a, ["className", "id", "disabled", "value", "defaultValue", "placeholder", "onChange"]);
8293
8293
  var _b = useInputFilled({
8294
8294
  defaultValue: defaultValue,
8295
8295
  value: value,
@@ -8299,7 +8299,7 @@ var Search = e.forwardRef(function (_a, ref) {
8299
8299
  e.createElement("div", { className: classNames('ods-search', filled && 'ods-search--filled', disabled && 'ods-search--disabled', className) },
8300
8300
  e.createElement("div", { className: "ods-search__adornment" },
8301
8301
  e.createElement(jt, null)),
8302
- e.createElement("input", __assign$1({ ref: ref, type: "text", id: id, disabled: disabled, onChange: handleChange, placeholder: placeholder, defaultValue: defaultValue, value: value }, rest)),
8302
+ e.createElement("input", __assign$2({ ref: ref, type: "text", id: id, disabled: disabled, onChange: handleChange, placeholder: placeholder, defaultValue: defaultValue, value: value }, rest)),
8303
8303
  filled && (e.createElement(IconButton, { "data-testid": "close", onClick: function () {
8304
8304
  var e = {
8305
8305
  target: { value: '' }
@@ -25534,7 +25534,7 @@ var lodash = {exports: {}};
25534
25534
  } (lodash, lodash.exports));
25535
25535
 
25536
25536
  var Stepper = e.forwardRef(function (_a, ref) {
25537
- var className = _a.className, label = _a.label, helperText = _a.helperText, error = _a.error, id = _a.id, disabled = _a.disabled, onChange = _a.onChange, value = _a.value, defaultValue = _a.defaultValue, _b = _a.min, min = _b === void 0 ? 0 : _b, max = _a.max, rest = __rest$1(_a, ["className", "label", "helperText", "error", "id", "disabled", "onChange", "value", "defaultValue", "min", "max"]);
25537
+ var className = _a.className, label = _a.label, helperText = _a.helperText, error = _a.error, id = _a.id, disabled = _a.disabled, onChange = _a.onChange, value = _a.value, defaultValue = _a.defaultValue, _b = _a.min, min = _b === void 0 ? 0 : _b, max = _a.max, rest = __rest$2(_a, ["className", "label", "helperText", "error", "id", "disabled", "onChange", "value", "defaultValue", "min", "max"]);
25538
25538
  var _c = useInputFilled({
25539
25539
  defaultValue: defaultValue,
25540
25540
  value: value,
@@ -25587,7 +25587,7 @@ var Stepper = e.forwardRef(function (_a, ref) {
25587
25587
  e.createElement("div", { className: "ods-input--amount__stepper-controls ods-input--amount__stepper-controls_minus" },
25588
25588
  e.createElement(IconButton, { size: "sm", disabled: amount <= min || disabled, type: "button", onClick: deduceFromAmount },
25589
25589
  e.createElement(Fr, { size: 24 }))),
25590
- e.createElement("input", __assign$1({ ref: ref, type: "text", id: id, disabled: disabled, onKeyDown: handleListboxKeyDown, onChange: function (e) {
25590
+ e.createElement("input", __assign$2({ ref: ref, type: "text", id: id, disabled: disabled, onKeyDown: handleListboxKeyDown, onChange: function (e) {
25591
25591
  handleChange(e);
25592
25592
  var target = e.target;
25593
25593
  var inputedValue = parseFloat(target.value);
@@ -25629,9 +25629,9 @@ var Steps = function (_a) {
25629
25629
  };
25630
25630
 
25631
25631
  var Badge = e.forwardRef(function (_a, ref) {
25632
- var children = _a.children, _b = _a.variation, variation = _b === void 0 ? 'small' : _b, className = _a.className, count = _a.count, color = _a.color, rest = __rest$1(_a, ["children", "variation", "className", "count", "color"]);
25632
+ var children = _a.children, _b = _a.variation, variation = _b === void 0 ? 'small' : _b, className = _a.className, count = _a.count, color = _a.color, rest = __rest$2(_a, ["children", "variation", "className", "count", "color"]);
25633
25633
  var countToShow = count && count > 99 ? "99+" : count;
25634
- return (e.createElement("div", __assign$1({ ref: ref, role: "tag", className: classNames('ods-badge', "ods-badge--".concat(variation), "ods-badge--".concat(color), className, {
25634
+ return (e.createElement("div", __assign$2({ ref: ref, role: "tag", className: classNames('ods-badge', "ods-badge--".concat(variation), "ods-badge--".concat(color), className, {
25635
25635
  'ods-badge--overflow': count && count > 9
25636
25636
  }) }, rest),
25637
25637
  variation !== 'tiny' && typeof count !== 'undefined' && (e.createElement("div", { className: "ods-badge__content ods-badge__count" }, countToShow)),
@@ -25641,8 +25641,8 @@ var Badge = e.forwardRef(function (_a, ref) {
25641
25641
  Badge.displayName = 'Badge';
25642
25642
 
25643
25643
  var CrossSellCard = e.forwardRef(function (_a, ref) {
25644
- var title = _a.title, className = _a.className, description = _a.description, imageSrc = _a.imageSrc, ctaText = _a.ctaText, ctaAction = _a.ctaAction, customIcon = _a.customIcon, rest = __rest$1(_a, ["title", "className", "description", "imageSrc", "ctaText", "ctaAction", "customIcon"]);
25645
- return (e.createElement("div", __assign$1({ ref: ref }, rest, { className: classNames('ods-cross-sell-card', className) }),
25644
+ var title = _a.title, className = _a.className, description = _a.description, imageSrc = _a.imageSrc, ctaText = _a.ctaText, ctaAction = _a.ctaAction, customIcon = _a.customIcon, rest = __rest$2(_a, ["title", "className", "description", "imageSrc", "ctaText", "ctaAction", "customIcon"]);
25645
+ return (e.createElement("div", __assign$2({ ref: ref }, rest, { className: classNames('ods-cross-sell-card', className) }),
25646
25646
  e.createElement("a", { className: "ods-cross-sell-card__content" },
25647
25647
  e.createElement("div", { className: "ods-cross-sell-card__information" },
25648
25648
  e.createElement("div", { className: "ods-cross-sell-card__title" }, title),
@@ -31531,18 +31531,18 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
31531
31531
  PERFORMANCE OF THIS SOFTWARE.
31532
31532
  ***************************************************************************** */
31533
31533
 
31534
- var __assign = function() {
31535
- __assign = Object.assign || function __assign(t) {
31534
+ var __assign$1 = function() {
31535
+ __assign$1 = Object.assign || function __assign(t) {
31536
31536
  for (var s, i = 1, n = arguments.length; i < n; i++) {
31537
31537
  s = arguments[i];
31538
31538
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
31539
31539
  }
31540
31540
  return t;
31541
31541
  };
31542
- return __assign.apply(this, arguments);
31542
+ return __assign$1.apply(this, arguments);
31543
31543
  };
31544
31544
 
31545
- function __rest(s, e) {
31545
+ function __rest$1(s, e) {
31546
31546
  var t = {};
31547
31547
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31548
31548
  t[p] = s[p];
@@ -31554,7 +31554,7 @@ function __rest(s, e) {
31554
31554
  return t;
31555
31555
  }
31556
31556
 
31557
- function __spreadArray(to, from, pack) {
31557
+ function __spreadArray$1(to, from, pack) {
31558
31558
  if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
31559
31559
  if (ar || !(i in from)) {
31560
31560
  if (!ar) ar = Array.prototype.slice.call(from, 0, i);
@@ -31939,24 +31939,24 @@ function DayPickerProvider(props) {
31939
31939
  var value = {
31940
31940
  captionLayout: captionLayout,
31941
31941
  className: initialProps.className,
31942
- classNames: __assign(__assign({}, defaults.classNames), initialProps.classNames),
31943
- components: __assign(__assign({}, defaults.components), initialProps.components),
31942
+ classNames: __assign$1(__assign$1({}, defaults.classNames), initialProps.classNames),
31943
+ components: __assign$1(__assign$1({}, defaults.components), initialProps.components),
31944
31944
  defaultMonth: initialProps.defaultMonth,
31945
31945
  dir: initialProps.dir,
31946
31946
  disabled: initialProps.disabled,
31947
31947
  disableNavigation: initialProps.disableNavigation,
31948
31948
  fixedWeeks: initialProps.fixedWeeks,
31949
31949
  footer: initialProps.footer,
31950
- formatters: __assign(__assign({}, defaults.formatters), initialProps.formatters),
31950
+ formatters: __assign$1(__assign$1({}, defaults.formatters), initialProps.formatters),
31951
31951
  fromDate: fromDate,
31952
31952
  hidden: initialProps.hidden,
31953
31953
  hideHead: initialProps.hideHead,
31954
31954
  initialFocus: initialProps.initialFocus,
31955
- labels: __assign(__assign({}, defaults.labels), initialProps.labels),
31955
+ labels: __assign$1(__assign$1({}, defaults.labels), initialProps.labels),
31956
31956
  locale: (_b = initialProps.locale) !== null && _b !== void 0 ? _b : defaults.locale,
31957
31957
  mode: initialProps.mode || 'default',
31958
- modifiers: __assign(__assign({}, defaults.modifiers), initialProps.modifiers),
31959
- modifiersClassNames: __assign(__assign({}, defaults.modifiersClassNames), initialProps.modifiersClassNames),
31958
+ modifiers: __assign$1(__assign$1({}, defaults.modifiers), initialProps.modifiers),
31959
+ modifiersClassNames: __assign$1(__assign$1({}, defaults.modifiersClassNames), initialProps.modifiersClassNames),
31960
31960
  modifiersStyles: initialProps.modifiersStyles,
31961
31961
  month: initialProps.month,
31962
31962
  numberOfMonths: (_c = initialProps.numberOfMonths) !== null && _c !== void 0 ? _c : defaults.numberOfMonths,
@@ -31982,7 +31982,7 @@ function DayPickerProvider(props) {
31982
31982
  showOutsideDays: initialProps.showOutsideDays,
31983
31983
  showWeekNumber: initialProps.showWeekNumber,
31984
31984
  style: initialProps.style,
31985
- styles: __assign(__assign({}, defaults.styles), initialProps.styles),
31985
+ styles: __assign$1(__assign$1({}, defaults.styles), initialProps.styles),
31986
31986
  toDate: toDate,
31987
31987
  today: (_d = initialProps.today) !== null && _d !== void 0 ? _d : defaults.today,
31988
31988
  weekStartsOn: initialProps.weekStartsOn
@@ -32014,7 +32014,7 @@ function CaptionLabel(props) {
32014
32014
  * Render the icon in the styled drop-down.
32015
32015
  */
32016
32016
  function IconDropdown(props) {
32017
- return (e.createElement("svg", __assign({ width: "8px", height: "8px", viewBox: "0 0 120 120", "data-testid": "iconDropdown" }, props),
32017
+ return (e.createElement("svg", __assign$1({ width: "8px", height: "8px", viewBox: "0 0 120 120", "data-testid": "iconDropdown" }, props),
32018
32018
  e.createElement("path", { d: "M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z", fill: "currentColor", fillRule: "nonzero" })));
32019
32019
  }
32020
32020
 
@@ -32289,7 +32289,7 @@ function CaptionDropdowns(props) {
32289
32289
  * Render the "previous month" button in the navigation.
32290
32290
  */
32291
32291
  function IconLeft(props) {
32292
- return (e.createElement("svg", __assign({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, props),
32292
+ return (e.createElement("svg", __assign$1({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, props),
32293
32293
  e.createElement("path", { d: "M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z", fill: "currentColor", fillRule: "nonzero" })));
32294
32294
  }
32295
32295
 
@@ -32297,7 +32297,7 @@ function IconLeft(props) {
32297
32297
  * Render the "next month" button in the navigation.
32298
32298
  */
32299
32299
  function IconRight(props) {
32300
- return (e.createElement("svg", __assign({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, props),
32300
+ return (e.createElement("svg", __assign$1({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, props),
32301
32301
  e.createElement("path", { d: "M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z", fill: "currentColor" })));
32302
32302
  }
32303
32303
 
@@ -32311,11 +32311,11 @@ var Button = forwardRef(function (props, ref) {
32311
32311
  classNamesArr.push(props.className);
32312
32312
  }
32313
32313
  var className = classNamesArr.join(' ');
32314
- var style = __assign(__assign({}, styles.button_reset), styles.button);
32314
+ var style = __assign$1(__assign$1({}, styles.button_reset), styles.button);
32315
32315
  if (props.style) {
32316
32316
  Object.assign(style, props.style);
32317
32317
  }
32318
- return (e.createElement("button", __assign({}, props, { ref: ref, type: "button", className: className, style: style })));
32318
+ return (e.createElement("button", __assign$1({}, props, { ref: ref, type: "button", className: className, style: style })));
32319
32319
  });
32320
32320
 
32321
32321
  /** A component rendering the navigation buttons or the drop-downs. */
@@ -32489,7 +32489,7 @@ function SelectMultipleProviderInternal(_a) {
32489
32489
  if (isMaxSelected) {
32490
32490
  return;
32491
32491
  }
32492
- var selectedDays = selected ? __spreadArray([], selected, true) : [];
32492
+ var selectedDays = selected ? __spreadArray$1([], selected, true) : [];
32493
32493
  if (activeModifiers.selected) {
32494
32494
  var index = selectedDays.findIndex(function (selectedDay) {
32495
32495
  return isSameDay(day, selectedDay);
@@ -32748,7 +32748,7 @@ function ModifiersProvider(props) {
32748
32748
  var selectRange = useSelectRange();
32749
32749
  var internalModifiers = getInternalModifiers(dayPicker, selectMultiple, selectRange);
32750
32750
  var customModifiers = getCustomModifiers(dayPicker.modifiers);
32751
- var modifiers = __assign(__assign({}, internalModifiers), customModifiers);
32751
+ var modifiers = __assign$1(__assign$1({}, internalModifiers), customModifiers);
32752
32752
  return (e.createElement(ModifiersContext.Provider, { value: modifiers }, props.children));
32753
32753
  }
32754
32754
 
@@ -33296,10 +33296,10 @@ function getDayClassNames(dayPicker, activeModifiers) {
33296
33296
 
33297
33297
  /** Return the style for the Day element, according to the given active modifiers. */
33298
33298
  function getDayStyle(dayPicker, activeModifiers) {
33299
- var style = __assign({}, dayPicker.styles.day);
33299
+ var style = __assign$1({}, dayPicker.styles.day);
33300
33300
  Object.keys(activeModifiers).forEach(function (modifier) {
33301
33301
  var _a;
33302
- style = __assign(__assign({}, style), (_a = dayPicker.modifiersStyles) === null || _a === void 0 ? void 0 : _a[modifier]);
33302
+ style = __assign$1(__assign$1({}, style), (_a = dayPicker.modifiersStyles) === null || _a === void 0 ? void 0 : _a[modifier]);
33303
33303
  });
33304
33304
  return style;
33305
33305
  }
@@ -33363,7 +33363,7 @@ function useDayRender(day, displayMonth, buttonRef) {
33363
33363
  children: children
33364
33364
  };
33365
33365
  var isFocusTarget = Boolean(focusContext.focusTarget && isSameDay(focusContext.focusTarget, day));
33366
- var buttonProps = __assign(__assign(__assign({}, divProps), (_a = {}, _a['aria-disabled'] = activeModifiers.disabled, _a['aria-pressed'] = activeModifiers.selected, _a.tabIndex = isFocusTarget ? 0 : -1, _a)), eventHandlers);
33366
+ var buttonProps = __assign$1(__assign$1(__assign$1({}, divProps), (_a = {}, _a['aria-disabled'] = activeModifiers.disabled, _a['aria-pressed'] = activeModifiers.selected, _a.tabIndex = isFocusTarget ? 0 : -1, _a)), eventHandlers);
33367
33367
  var dayRender = {
33368
33368
  isButton: isButton,
33369
33369
  isHidden: isHidden,
@@ -33386,9 +33386,9 @@ function Day(props) {
33386
33386
  return e.createElement(e.Fragment, null);
33387
33387
  }
33388
33388
  if (!dayRender.isButton) {
33389
- return e.createElement("div", __assign({}, dayRender.divProps));
33389
+ return e.createElement("div", __assign$1({}, dayRender.divProps));
33390
33390
  }
33391
- return e.createElement(Button, __assign({ ref: buttonRef }, dayRender.buttonProps));
33391
+ return e.createElement(Button, __assign$1({ ref: buttonRef }, dayRender.buttonProps));
33392
33392
  }
33393
33393
 
33394
33394
  /**
@@ -33509,15 +33509,15 @@ function Month(props) {
33509
33509
  }
33510
33510
  if (isStart) {
33511
33511
  className.push(classNames.caption_start);
33512
- style = __assign(__assign({}, style), styles.caption_start);
33512
+ style = __assign$1(__assign$1({}, style), styles.caption_start);
33513
33513
  }
33514
33514
  if (isEnd) {
33515
33515
  className.push(classNames.caption_end);
33516
- style = __assign(__assign({}, style), styles.caption_end);
33516
+ style = __assign$1(__assign$1({}, style), styles.caption_end);
33517
33517
  }
33518
33518
  if (isCenter) {
33519
33519
  className.push(classNames.caption_between);
33520
- style = __assign(__assign({}, style), styles.caption_between);
33520
+ style = __assign$1(__assign$1({}, style), styles.caption_between);
33521
33521
  }
33522
33522
  var CaptionComponent = (_b = components === null || components === void 0 ? void 0 : components.Caption) !== null && _b !== void 0 ? _b : Caption;
33523
33523
  return (e.createElement("div", { key: props.displayIndex, className: className.join(' '), style: style },
@@ -33557,14 +33557,14 @@ function Root() {
33557
33557
  if (dayPicker.showWeekNumber) {
33558
33558
  classNames.push(dayPicker.classNames.with_weeknumber);
33559
33559
  }
33560
- var style = __assign(__assign({}, dayPicker.styles.root), dayPicker.style);
33560
+ var style = __assign$1(__assign$1({}, dayPicker.styles.root), dayPicker.style);
33561
33561
  return (e.createElement("div", { className: classNames.join(' '), style: style, dir: dayPicker.dir },
33562
33562
  e.createElement("div", { className: dayPicker.classNames.months, style: dayPicker.styles.months }, navigation.displayMonths.map(function (month, i) { return (e.createElement(Month, { key: i, displayIndex: i, displayMonth: month })); }))));
33563
33563
  }
33564
33564
 
33565
33565
  /** Provide the value for all the context providers. */
33566
33566
  function RootProvider(props) {
33567
- var children = props.children, initialProps = __rest(props, ["children"]);
33567
+ var children = props.children, initialProps = __rest$1(props, ["children"]);
33568
33568
  return (e.createElement(DayPickerProvider, { initialProps: initialProps },
33569
33569
  e.createElement(NavigationProvider, null,
33570
33570
  e.createElement(SelectSingleProvider, { initialProps: initialProps },
@@ -33575,7 +33575,7 @@ function RootProvider(props) {
33575
33575
  }
33576
33576
 
33577
33577
  function DayPicker(props) {
33578
- return (e.createElement(RootProvider, __assign({}, props),
33578
+ return (e.createElement(RootProvider, __assign$1({}, props),
33579
33579
  e.createElement(Root, null)));
33580
33580
  }
33581
33581
 
@@ -34118,11 +34118,11 @@ var DatePickerHeader = function (_a) {
34118
34118
  };
34119
34119
 
34120
34120
  var DatePickerSingle = e.forwardRef(function (_a, ref) {
34121
- var label = _a.label, value = _a.value, onSelect = _a.onSelect, editable = _a.editable, disabled = _a.disabled, error = _a.error, helperText = _a.helperText, startsToday = _a.startsToday, className = _a.className, locale = _a.locale, rest = __rest$1(_a, ["label", "value", "onSelect", "editable", "disabled", "error", "helperText", "startsToday", "className", "locale"]);
34121
+ var label = _a.label, value = _a.value, onSelect = _a.onSelect, editable = _a.editable, disabled = _a.disabled, error = _a.error, helperText = _a.helperText, startsToday = _a.startsToday, className = _a.className, locale = _a.locale, rest = __rest$2(_a, ["label", "value", "onSelect", "editable", "disabled", "error", "helperText", "startsToday", "className", "locale"]);
34122
34122
  var _b = useDatePickerSingle({ value: value, onSelect: onSelect, startsToday: startsToday, locale: locale }), input1Ref = _b.input1Ref, showDayPicker = _b.showDayPicker, selectedDay = _b.selectedDay, CustomStyles = _b.CustomStyles, localeOption = _b.localeOption, currentField = _b.currentField, inputPlaceholder = _b.inputPlaceholder, handleDayClick = _b.handleDayClick, inputChange = _b.inputChange, createHandleToggleClick = _b.createHandleToggleClick, disabledDays = _b.disabledDays, formatDay = _b.formatDay, handleCloseByOutside = _b.handleCloseByOutside, currentMonthToDisplay = _b.currentMonthToDisplay;
34123
34123
  return (e.createElement("div", null,
34124
34124
  showDayPicker && (e.createElement("div", { className: "ods-date-background", "data-testid": "date-picker-outside", onClick: handleCloseByOutside })),
34125
- e.createElement("div", __assign$1({ className: classNames('ods-date', className), ref: ref }, rest),
34125
+ e.createElement("div", __assign$2({ className: classNames('ods-date', className), ref: ref }, rest),
34126
34126
  e.createElement("div", { className: "ods-date__form-row-datepicker" },
34127
34127
  e.createElement("div", { className: "ods-date__form-controls", "data-testid": "date-picker-first-field-wrapper", onClick: function () { return createHandleToggleClick('start-date'); } },
34128
34128
  label && e.createElement("label", { htmlFor: "start-date" }, label),
@@ -34321,11 +34321,11 @@ function useDatePicker(_a) {
34321
34321
  }
34322
34322
 
34323
34323
  var DatePickerRange = e.forwardRef(function (_a, ref) {
34324
- var labels = _a.labels, values = _a.values, onSelect = _a.onSelect, editable = _a.editable, disabled = _a.disabled, error = _a.error, helperText = _a.helperText, startsToday = _a.startsToday, className = _a.className, locale = _a.locale, rest = __rest$1(_a, ["labels", "values", "onSelect", "editable", "disabled", "error", "helperText", "startsToday", "className", "locale"]);
34324
+ var labels = _a.labels, values = _a.values, onSelect = _a.onSelect, editable = _a.editable, disabled = _a.disabled, error = _a.error, helperText = _a.helperText, startsToday = _a.startsToday, className = _a.className, locale = _a.locale, rest = __rest$2(_a, ["labels", "values", "onSelect", "editable", "disabled", "error", "helperText", "startsToday", "className", "locale"]);
34325
34325
  var _b = useDatePicker({ values: values, onSelect: onSelect, startsToday: startsToday, locale: locale }), input1Ref = _b.input1Ref, input2Ref = _b.input2Ref, showDayPicker = _b.showDayPicker, selectedDays = _b.selectedDays, CustomStyles = _b.CustomStyles, localeOption = _b.localeOption, currentField = _b.currentField, inputPlaceholder = _b.inputPlaceholder, handleDayMouseEnter = _b.handleDayMouseEnter, handleDayClick = _b.handleDayClick, handleDisplayMonth = _b.handleDisplayMonth, inputChange = _b.inputChange, createHandleToggleClick = _b.createHandleToggleClick, disabledDays = _b.disabledDays, formatDay = _b.formatDay, handleCloseByOutside = _b.handleCloseByOutside, currentMonthToDisplay = _b.currentMonthToDisplay;
34326
34326
  return (e.createElement("div", null,
34327
34327
  showDayPicker && (e.createElement("div", { className: "ods-date-background", "data-testid": "date-picker-outside", onClick: handleCloseByOutside })),
34328
- e.createElement("div", __assign$1({ className: classNames('ods-date', className), ref: ref }, rest),
34328
+ e.createElement("div", __assign$2({ className: classNames('ods-date', className), ref: ref }, rest),
34329
34329
  e.createElement("div", { className: "ods-date__form-row" },
34330
34330
  e.createElement("div", { className: "ods-date__form-controls", "data-testid": "date-picker-first-field-wrapper", onClick: function () { return createHandleToggleClick('start-date'); } },
34331
34331
  labels && labels.from && (e.createElement("label", { htmlFor: "start-date" }, labels.from)),
@@ -46259,7 +46259,7 @@ const Doughnut = /* #__PURE__ */ createTypedChart('doughnut', DoughnutController
46259
46259
 
46260
46260
  Chart$1.register(ArcElement);
46261
46261
  var DoughnutChart = function (_a) {
46262
- var title = _a.title, subtitle = _a.subtitle, className = _a.className, centerChartLabel = _a.centerChartLabel, centerChartValue = _a.centerChartValue, data = _a.data, rest = __rest$1(_a, ["title", "subtitle", "className", "centerChartLabel", "centerChartValue", "data"]);
46262
+ var title = _a.title, subtitle = _a.subtitle, className = _a.className, centerChartLabel = _a.centerChartLabel, centerChartValue = _a.centerChartValue, data = _a.data, rest = __rest$2(_a, ["title", "subtitle", "className", "centerChartLabel", "centerChartValue", "data"]);
46263
46263
  var formatedData = {
46264
46264
  datasets: [
46265
46265
  {
@@ -46278,12 +46278,12 @@ var DoughnutChart = function (_a) {
46278
46278
  borderWidth: 0,
46279
46279
  cutout: '64%'
46280
46280
  };
46281
- return (e.createElement("div", __assign$1({ className: classNames('ods-chart', className) }, rest),
46281
+ return (e.createElement("div", __assign$2({ className: classNames('ods-chart', className) }, rest),
46282
46282
  e.createElement("div", { className: "ods-chart__title-and-subtitle" },
46283
46283
  e.createElement("div", { className: "ods-typography ods-typography__heading4" }, title),
46284
46284
  e.createElement("div", { className: "ods-typography ods-typography__caption" }, subtitle)),
46285
46285
  e.createElement("div", { className: "ods-chart__canvas" },
46286
- e.createElement(Doughnut, { height: 180, width: 180, data: __assign$1({}, formatedData), options: options }),
46286
+ e.createElement(Doughnut, { height: 180, width: 180, data: __assign$2({}, formatedData), options: options }),
46287
46287
  e.createElement("div", { className: "ods-chart__canvas__center-legend" },
46288
46288
  e.createElement("div", { className: "ods-typography ods-typography__heading2" }, centerChartValue),
46289
46289
  e.createElement("p", { className: "ods-typography ods-typography__description" }, centerChartLabel))),
@@ -46300,17 +46300,1436 @@ var DoughnutChart = function (_a) {
46300
46300
  "%"))); }))));
46301
46301
  };
46302
46302
 
46303
+ /******************************************************************************
46304
+ Copyright (c) Microsoft Corporation.
46305
+
46306
+ Permission to use, copy, modify, and/or distribute this software for any
46307
+ purpose with or without fee is hereby granted.
46308
+
46309
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
46310
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
46311
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
46312
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
46313
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
46314
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
46315
+ PERFORMANCE OF THIS SOFTWARE.
46316
+ ***************************************************************************** */
46317
+ /* global Reflect, Promise, SuppressedError, Symbol */
46318
+
46319
+ var extendStatics = function(d, b) {
46320
+ extendStatics = Object.setPrototypeOf ||
46321
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
46322
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
46323
+ return extendStatics(d, b);
46324
+ };
46325
+
46326
+ function __extends(d, b) {
46327
+ if (typeof b !== "function" && b !== null)
46328
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
46329
+ extendStatics(d, b);
46330
+ function __() { this.constructor = d; }
46331
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
46332
+ }
46333
+
46334
+ var __assign = function() {
46335
+ __assign = Object.assign || function __assign(t) {
46336
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
46337
+ s = arguments[i];
46338
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
46339
+ }
46340
+ return t;
46341
+ };
46342
+ return __assign.apply(this, arguments);
46343
+ };
46344
+
46345
+ function __rest(s, e) {
46346
+ var t = {};
46347
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
46348
+ t[p] = s[p];
46349
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
46350
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
46351
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
46352
+ t[p[i]] = s[p[i]];
46353
+ }
46354
+ return t;
46355
+ }
46356
+
46357
+ function __decorate(decorators, target, key, desc) {
46358
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
46359
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
46360
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
46361
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
46362
+ }
46363
+
46364
+ function __param(paramIndex, decorator) {
46365
+ return function (target, key) { decorator(target, key, paramIndex); }
46366
+ }
46367
+
46368
+ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
46369
+ function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
46370
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
46371
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
46372
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
46373
+ var _, done = false;
46374
+ for (var i = decorators.length - 1; i >= 0; i--) {
46375
+ var context = {};
46376
+ for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
46377
+ for (var p in contextIn.access) context.access[p] = contextIn.access[p];
46378
+ context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
46379
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
46380
+ if (kind === "accessor") {
46381
+ if (result === void 0) continue;
46382
+ if (result === null || typeof result !== "object") throw new TypeError("Object expected");
46383
+ if (_ = accept(result.get)) descriptor.get = _;
46384
+ if (_ = accept(result.set)) descriptor.set = _;
46385
+ if (_ = accept(result.init)) initializers.unshift(_);
46386
+ }
46387
+ else if (_ = accept(result)) {
46388
+ if (kind === "field") initializers.unshift(_);
46389
+ else descriptor[key] = _;
46390
+ }
46391
+ }
46392
+ if (target) Object.defineProperty(target, contextIn.name, descriptor);
46393
+ done = true;
46394
+ }
46395
+ function __runInitializers(thisArg, initializers, value) {
46396
+ var useValue = arguments.length > 2;
46397
+ for (var i = 0; i < initializers.length; i++) {
46398
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
46399
+ }
46400
+ return useValue ? value : void 0;
46401
+ }
46402
+ function __propKey(x) {
46403
+ return typeof x === "symbol" ? x : "".concat(x);
46404
+ }
46405
+ function __setFunctionName(f, name, prefix) {
46406
+ if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
46407
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
46408
+ }
46409
+ function __metadata(metadataKey, metadataValue) {
46410
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
46411
+ }
46412
+
46413
+ function __awaiter(thisArg, _arguments, P, generator) {
46414
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
46415
+ return new (P || (P = Promise))(function (resolve, reject) {
46416
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
46417
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46418
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
46419
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
46420
+ });
46421
+ }
46422
+
46423
+ function __generator(thisArg, body) {
46424
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
46425
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
46426
+ function verb(n) { return function (v) { return step([n, v]); }; }
46427
+ function step(op) {
46428
+ if (f) throw new TypeError("Generator is already executing.");
46429
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46430
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
46431
+ if (y = 0, t) op = [op[0] & 2, t.value];
46432
+ switch (op[0]) {
46433
+ case 0: case 1: t = op; break;
46434
+ case 4: _.label++; return { value: op[1], done: false };
46435
+ case 5: _.label++; y = op[1]; op = [0]; continue;
46436
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
46437
+ default:
46438
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
46439
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
46440
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
46441
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
46442
+ if (t[2]) _.ops.pop();
46443
+ _.trys.pop(); continue;
46444
+ }
46445
+ op = body.call(thisArg, _);
46446
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
46447
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
46448
+ }
46449
+ }
46450
+
46451
+ var __createBinding = Object.create ? (function(o, m, k, k2) {
46452
+ if (k2 === undefined) k2 = k;
46453
+ var desc = Object.getOwnPropertyDescriptor(m, k);
46454
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
46455
+ desc = { enumerable: true, get: function() { return m[k]; } };
46456
+ }
46457
+ Object.defineProperty(o, k2, desc);
46458
+ }) : (function(o, m, k, k2) {
46459
+ if (k2 === undefined) k2 = k;
46460
+ o[k2] = m[k];
46461
+ });
46462
+
46463
+ function __exportStar(m, o) {
46464
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
46465
+ }
46466
+
46467
+ function __values(o) {
46468
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
46469
+ if (m) return m.call(o);
46470
+ if (o && typeof o.length === "number") return {
46471
+ next: function () {
46472
+ if (o && i >= o.length) o = void 0;
46473
+ return { value: o && o[i++], done: !o };
46474
+ }
46475
+ };
46476
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
46477
+ }
46478
+
46479
+ function __read(o, n) {
46480
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
46481
+ if (!m) return o;
46482
+ var i = m.call(o), r, ar = [], e;
46483
+ try {
46484
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
46485
+ }
46486
+ catch (error) { e = { error: error }; }
46487
+ finally {
46488
+ try {
46489
+ if (r && !r.done && (m = i["return"])) m.call(i);
46490
+ }
46491
+ finally { if (e) throw e.error; }
46492
+ }
46493
+ return ar;
46494
+ }
46495
+
46496
+ /** @deprecated */
46497
+ function __spread() {
46498
+ for (var ar = [], i = 0; i < arguments.length; i++)
46499
+ ar = ar.concat(__read(arguments[i]));
46500
+ return ar;
46501
+ }
46502
+
46503
+ /** @deprecated */
46504
+ function __spreadArrays() {
46505
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
46506
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
46507
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
46508
+ r[k] = a[j];
46509
+ return r;
46510
+ }
46511
+
46512
+ function __spreadArray(to, from, pack) {
46513
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
46514
+ if (ar || !(i in from)) {
46515
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
46516
+ ar[i] = from[i];
46517
+ }
46518
+ }
46519
+ return to.concat(ar || Array.prototype.slice.call(from));
46520
+ }
46521
+
46522
+ function __await(v) {
46523
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
46524
+ }
46525
+
46526
+ function __asyncGenerator(thisArg, _arguments, generator) {
46527
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
46528
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
46529
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
46530
+ function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
46531
+ function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
46532
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
46533
+ function fulfill(value) { resume("next", value); }
46534
+ function reject(value) { resume("throw", value); }
46535
+ function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
46536
+ }
46537
+
46538
+ function __asyncDelegator(o) {
46539
+ var i, p;
46540
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
46541
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
46542
+ }
46543
+
46544
+ function __asyncValues(o) {
46545
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
46546
+ var m = o[Symbol.asyncIterator], i;
46547
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
46548
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
46549
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
46550
+ }
46551
+
46552
+ function __makeTemplateObject(cooked, raw) {
46553
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
46554
+ return cooked;
46555
+ }
46556
+ var __setModuleDefault = Object.create ? (function(o, v) {
46557
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
46558
+ }) : function(o, v) {
46559
+ o["default"] = v;
46560
+ };
46561
+
46562
+ function __importStar(mod) {
46563
+ if (mod && mod.__esModule) return mod;
46564
+ var result = {};
46565
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
46566
+ __setModuleDefault(result, mod);
46567
+ return result;
46568
+ }
46569
+
46570
+ function __importDefault(mod) {
46571
+ return (mod && mod.__esModule) ? mod : { default: mod };
46572
+ }
46573
+
46574
+ function __classPrivateFieldGet(receiver, state, kind, f) {
46575
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
46576
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
46577
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
46578
+ }
46579
+
46580
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
46581
+ if (kind === "m") throw new TypeError("Private method is not writable");
46582
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
46583
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
46584
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
46585
+ }
46586
+
46587
+ function __classPrivateFieldIn(state, receiver) {
46588
+ if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
46589
+ return typeof state === "function" ? receiver === state : state.has(receiver);
46590
+ }
46591
+
46592
+ function __addDisposableResource(env, value, async) {
46593
+ if (value !== null && value !== void 0) {
46594
+ if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
46595
+ var dispose;
46596
+ if (async) {
46597
+ if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
46598
+ dispose = value[Symbol.asyncDispose];
46599
+ }
46600
+ if (dispose === void 0) {
46601
+ if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
46602
+ dispose = value[Symbol.dispose];
46603
+ }
46604
+ if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
46605
+ env.stack.push({ value: value, dispose: dispose, async: async });
46606
+ }
46607
+ else if (async) {
46608
+ env.stack.push({ async: true });
46609
+ }
46610
+ return value;
46611
+ }
46612
+
46613
+ var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
46614
+ var e = new Error(message);
46615
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
46616
+ };
46617
+
46618
+ function __disposeResources(env) {
46619
+ function fail(e) {
46620
+ env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
46621
+ env.hasError = true;
46622
+ }
46623
+ function next() {
46624
+ while (env.stack.length) {
46625
+ var rec = env.stack.pop();
46626
+ try {
46627
+ var result = rec.dispose && rec.dispose.call(rec.value);
46628
+ if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
46629
+ }
46630
+ catch (e) {
46631
+ fail(e);
46632
+ }
46633
+ }
46634
+ if (env.hasError) throw env.error;
46635
+ }
46636
+ return next();
46637
+ }
46638
+
46639
+ var tslib_es6 = {
46640
+ __extends,
46641
+ __assign,
46642
+ __rest,
46643
+ __decorate,
46644
+ __param,
46645
+ __metadata,
46646
+ __awaiter,
46647
+ __generator,
46648
+ __createBinding,
46649
+ __exportStar,
46650
+ __values,
46651
+ __read,
46652
+ __spread,
46653
+ __spreadArrays,
46654
+ __spreadArray,
46655
+ __await,
46656
+ __asyncGenerator,
46657
+ __asyncDelegator,
46658
+ __asyncValues,
46659
+ __makeTemplateObject,
46660
+ __importStar,
46661
+ __importDefault,
46662
+ __classPrivateFieldGet,
46663
+ __classPrivateFieldSet,
46664
+ __classPrivateFieldIn,
46665
+ __addDisposableResource,
46666
+ __disposeResources,
46667
+ };
46668
+
46669
+ var tslib_es6$1 = /*#__PURE__*/Object.freeze({
46670
+ __proto__: null,
46671
+ __extends: __extends,
46672
+ get __assign () { return __assign; },
46673
+ __rest: __rest,
46674
+ __decorate: __decorate,
46675
+ __param: __param,
46676
+ __esDecorate: __esDecorate,
46677
+ __runInitializers: __runInitializers,
46678
+ __propKey: __propKey,
46679
+ __setFunctionName: __setFunctionName,
46680
+ __metadata: __metadata,
46681
+ __awaiter: __awaiter,
46682
+ __generator: __generator,
46683
+ __createBinding: __createBinding,
46684
+ __exportStar: __exportStar,
46685
+ __values: __values,
46686
+ __read: __read,
46687
+ __spread: __spread,
46688
+ __spreadArrays: __spreadArrays,
46689
+ __spreadArray: __spreadArray,
46690
+ __await: __await,
46691
+ __asyncGenerator: __asyncGenerator,
46692
+ __asyncDelegator: __asyncDelegator,
46693
+ __asyncValues: __asyncValues,
46694
+ __makeTemplateObject: __makeTemplateObject,
46695
+ __importStar: __importStar,
46696
+ __importDefault: __importDefault,
46697
+ __classPrivateFieldGet: __classPrivateFieldGet,
46698
+ __classPrivateFieldSet: __classPrivateFieldSet,
46699
+ __classPrivateFieldIn: __classPrivateFieldIn,
46700
+ __addDisposableResource: __addDisposableResource,
46701
+ __disposeResources: __disposeResources,
46702
+ 'default': tslib_es6
46703
+ });
46704
+
46705
+ var isBrowser = typeof window !== 'undefined';
46706
+ var isNavigator = typeof navigator !== 'undefined';
46707
+
46708
+ var nav$1 = isNavigator ? navigator : undefined;
46709
+ nav$1 && typeof nav$1.getBattery === 'function';
46710
+
46711
+ var js_cookie = {exports: {}};
46712
+
46713
+ /*!
46714
+ * JavaScript Cookie v2.2.1
46715
+ * https://github.com/js-cookie/js-cookie
46716
+ *
46717
+ * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
46718
+ * Released under the MIT license
46719
+ */
46720
+
46721
+ (function (module, exports) {
46722
+ (function (factory) {
46723
+ var registeredInModuleLoader;
46724
+ {
46725
+ module.exports = factory();
46726
+ registeredInModuleLoader = true;
46727
+ }
46728
+ if (!registeredInModuleLoader) {
46729
+ var OldCookies = window.Cookies;
46730
+ var api = window.Cookies = factory();
46731
+ api.noConflict = function () {
46732
+ window.Cookies = OldCookies;
46733
+ return api;
46734
+ };
46735
+ }
46736
+ }(function () {
46737
+ function extend () {
46738
+ var i = 0;
46739
+ var result = {};
46740
+ for (; i < arguments.length; i++) {
46741
+ var attributes = arguments[ i ];
46742
+ for (var key in attributes) {
46743
+ result[key] = attributes[key];
46744
+ }
46745
+ }
46746
+ return result;
46747
+ }
46748
+
46749
+ function decode (s) {
46750
+ return s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);
46751
+ }
46752
+
46753
+ function init (converter) {
46754
+ function api() {}
46755
+
46756
+ function set (key, value, attributes) {
46757
+ if (typeof document === 'undefined') {
46758
+ return;
46759
+ }
46760
+
46761
+ attributes = extend({
46762
+ path: '/'
46763
+ }, api.defaults, attributes);
46764
+
46765
+ if (typeof attributes.expires === 'number') {
46766
+ attributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);
46767
+ }
46768
+
46769
+ // We're using "expires" because "max-age" is not supported by IE
46770
+ attributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';
46771
+
46772
+ try {
46773
+ var result = JSON.stringify(value);
46774
+ if (/^[\{\[]/.test(result)) {
46775
+ value = result;
46776
+ }
46777
+ } catch (e) {}
46778
+
46779
+ value = converter.write ?
46780
+ converter.write(value, key) :
46781
+ encodeURIComponent(String(value))
46782
+ .replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);
46783
+
46784
+ key = encodeURIComponent(String(key))
46785
+ .replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)
46786
+ .replace(/[\(\)]/g, escape);
46787
+
46788
+ var stringifiedAttributes = '';
46789
+ for (var attributeName in attributes) {
46790
+ if (!attributes[attributeName]) {
46791
+ continue;
46792
+ }
46793
+ stringifiedAttributes += '; ' + attributeName;
46794
+ if (attributes[attributeName] === true) {
46795
+ continue;
46796
+ }
46797
+
46798
+ // Considers RFC 6265 section 5.2:
46799
+ // ...
46800
+ // 3. If the remaining unparsed-attributes contains a %x3B (";")
46801
+ // character:
46802
+ // Consume the characters of the unparsed-attributes up to,
46803
+ // not including, the first %x3B (";") character.
46804
+ // ...
46805
+ stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];
46806
+ }
46807
+
46808
+ return (document.cookie = key + '=' + value + stringifiedAttributes);
46809
+ }
46810
+
46811
+ function get (key, json) {
46812
+ if (typeof document === 'undefined') {
46813
+ return;
46814
+ }
46815
+
46816
+ var jar = {};
46817
+ // To prevent the for loop in the first place assign an empty array
46818
+ // in case there are no cookies at all.
46819
+ var cookies = document.cookie ? document.cookie.split('; ') : [];
46820
+ var i = 0;
46821
+
46822
+ for (; i < cookies.length; i++) {
46823
+ var parts = cookies[i].split('=');
46824
+ var cookie = parts.slice(1).join('=');
46825
+
46826
+ if (!json && cookie.charAt(0) === '"') {
46827
+ cookie = cookie.slice(1, -1);
46828
+ }
46829
+
46830
+ try {
46831
+ var name = decode(parts[0]);
46832
+ cookie = (converter.read || converter)(cookie, name) ||
46833
+ decode(cookie);
46834
+
46835
+ if (json) {
46836
+ try {
46837
+ cookie = JSON.parse(cookie);
46838
+ } catch (e) {}
46839
+ }
46840
+
46841
+ jar[name] = cookie;
46842
+
46843
+ if (key === name) {
46844
+ break;
46845
+ }
46846
+ } catch (e) {}
46847
+ }
46848
+
46849
+ return key ? jar[key] : jar;
46850
+ }
46851
+
46852
+ api.set = set;
46853
+ api.get = function (key) {
46854
+ return get(key, false /* read as raw */);
46855
+ };
46856
+ api.getJSON = function (key) {
46857
+ return get(key, true /* read as json */);
46858
+ };
46859
+ api.remove = function (key, attributes) {
46860
+ set(key, '', extend(attributes, {
46861
+ expires: -1
46862
+ }));
46863
+ };
46864
+
46865
+ api.defaults = {};
46866
+
46867
+ api.withConverter = init;
46868
+
46869
+ return api;
46870
+ }
46871
+
46872
+ return init(function () {});
46873
+ }));
46874
+ } (js_cookie));
46875
+
46876
+ var KEBAB_REGEX = /[A-Z]/g;
46877
+
46878
+ var hash = function (str) {
46879
+ var h = 5381, i = str.length;
46880
+
46881
+ while (i) h = (h * 33) ^ str.charCodeAt(--i);
46882
+
46883
+ return '_' + (h >>> 0).toString(36);
46884
+ };
46885
+
46886
+ var create = function (config) {
46887
+ config = config || {};
46888
+ var assign = config.assign || Object.assign;
46889
+ var client = typeof window === 'object';
46890
+
46891
+ // Check if we are really in browser environment.
46892
+ if (process.env.NODE_ENV !== 'production') {
46893
+ if (client) {
46894
+ if ((typeof document !== 'object') || !document.getElementsByTagName('HTML')) {
46895
+ console.error(
46896
+ 'nano-css detected browser environment because of "window" global, but ' +
46897
+ '"document" global seems to be defective.'
46898
+ );
46899
+ }
46900
+ }
46901
+ }
46902
+
46903
+ var renderer = assign({
46904
+ raw: '',
46905
+ pfx: '_',
46906
+ client: client,
46907
+ assign: assign,
46908
+ stringify: JSON.stringify,
46909
+ kebab: function (prop) {
46910
+ return prop.replace(KEBAB_REGEX, '-$&').toLowerCase();
46911
+ },
46912
+ decl: function (key, value) {
46913
+ key = renderer.kebab(key);
46914
+ return key + ':' + value + ';';
46915
+ },
46916
+ hash: function (obj) {
46917
+ return hash(renderer.stringify(obj));
46918
+ },
46919
+ selector: function (parent, selector) {
46920
+ return parent + (selector[0] === ':' ? '' : ' ') + selector;
46921
+ },
46922
+ putRaw: function (rawCssRule) {
46923
+ renderer.raw += rawCssRule;
46924
+ }
46925
+ }, config);
46926
+
46927
+ if (renderer.client) {
46928
+ if (!renderer.sh)
46929
+ document.head.appendChild(renderer.sh = document.createElement('style'));
46930
+
46931
+ if (process.env.NODE_ENV !== 'production') {
46932
+ renderer.sh.setAttribute('data-nano-css-dev', '');
46933
+
46934
+ // Test style sheet used in DEV mode to test if .insetRule() would throw.
46935
+ renderer.shTest = document.createElement('style');
46936
+ renderer.shTest.setAttribute('data-nano-css-dev-tests', '');
46937
+ document.head.appendChild(renderer.shTest);
46938
+ }
46939
+
46940
+ renderer.putRaw = function (rawCssRule) {
46941
+ // .insertRule() is faster than .appendChild(), that's why we use it in PROD.
46942
+ // But CSS injected using .insertRule() is not displayed in Chrome Devtools,
46943
+ // that's why we use .appendChild in DEV.
46944
+ if (process.env.NODE_ENV === 'production') {
46945
+ var sheet = renderer.sh.sheet;
46946
+
46947
+ // Unknown pseudo-selectors will throw, this try/catch swallows all errors.
46948
+ try {
46949
+ sheet.insertRule(rawCssRule, sheet.cssRules.length);
46950
+ // eslint-disable-next-line no-empty
46951
+ } catch (error) {}
46952
+ } else {
46953
+ // Test if .insertRule() works in dev mode. Unknown pseudo-selectors will throw when
46954
+ // .insertRule() is used, but .appendChild() will not throw.
46955
+ try {
46956
+ renderer.shTest.sheet.insertRule(rawCssRule, renderer.shTest.sheet.cssRules.length);
46957
+ } catch (error) {
46958
+ if (config.verbose) {
46959
+ console.error(error);
46960
+ }
46961
+ }
46962
+
46963
+ // Insert pretty-printed CSS for dev mode.
46964
+ renderer.sh.appendChild(document.createTextNode(rawCssRule));
46965
+ }
46966
+ };
46967
+ }
46968
+
46969
+ renderer.put = function (selector, decls, atrule) {
46970
+ var str = '';
46971
+ var prop, value;
46972
+ var postponed = [];
46973
+
46974
+ for (prop in decls) {
46975
+ value = decls[prop];
46976
+
46977
+ if ((value instanceof Object) && !(value instanceof Array)) {
46978
+ postponed.push(prop);
46979
+ } else {
46980
+ if ((process.env.NODE_ENV !== 'production') && !renderer.sourcemaps) {
46981
+ str += ' ' + renderer.decl(prop, value, selector, atrule) + '\n';
46982
+ } else {
46983
+ str += renderer.decl(prop, value, selector, atrule);
46984
+ }
46985
+ }
46986
+ }
46987
+
46988
+ if (str) {
46989
+ if ((process.env.NODE_ENV !== 'production') && !renderer.sourcemaps) {
46990
+ str = '\n' + selector + ' {\n' + str + '}\n';
46991
+ } else {
46992
+ str = selector + '{' + str + '}';
46993
+ }
46994
+ renderer.putRaw(atrule ? atrule + '{' + str + '}' : str);
46995
+ }
46996
+
46997
+ for (var i = 0; i < postponed.length; i++) {
46998
+ prop = postponed[i];
46999
+
47000
+ if (prop[0] === '@' && prop !== '@font-face') {
47001
+ renderer.putAt(selector, decls[prop], prop);
47002
+ } else {
47003
+ renderer.put(renderer.selector(selector, prop), decls[prop], atrule);
47004
+ }
47005
+ }
47006
+ };
47007
+
47008
+ renderer.putAt = renderer.put;
47009
+
47010
+ return renderer;
47011
+ };
47012
+
47013
+ var warnOnMissingDependencies;
47014
+ var hasRequiredWarnOnMissingDependencies;
47015
+
47016
+ function requireWarnOnMissingDependencies () {
47017
+ if (hasRequiredWarnOnMissingDependencies) return warnOnMissingDependencies;
47018
+ hasRequiredWarnOnMissingDependencies = 1;
47019
+
47020
+ var pkgName = 'nano-css';
47021
+
47022
+ warnOnMissingDependencies = function warnOnMissingDependencies (addon, renderer, deps) {
47023
+ var missing = [];
47024
+
47025
+ for (var i = 0; i < deps.length; i++) {
47026
+ var name = deps[i];
47027
+
47028
+ if (!renderer[name]) {
47029
+ missing.push(name);
47030
+ }
47031
+ }
47032
+
47033
+ if (missing.length) {
47034
+ var str = 'Addon "' + addon + '" is missing the following dependencies:';
47035
+
47036
+ for (var j = 0; j < missing.length; j++) {
47037
+ str += '\n require("' + pkgName + '/addon/' + missing[j] + '").addon(nano);';
47038
+ }
47039
+
47040
+ throw new Error(str);
47041
+ }
47042
+ };
47043
+ return warnOnMissingDependencies;
47044
+ }
47045
+
47046
+ var addon$1 = function (renderer) {
47047
+ // CSSOM support only browser environment.
47048
+ if (!renderer.client) return;
47049
+
47050
+ if (process.env.NODE_ENV !== 'production') {
47051
+ requireWarnOnMissingDependencies()('cssom', renderer, ['sh']);
47052
+ }
47053
+
47054
+ // Style sheet for media queries.
47055
+ document.head.appendChild(renderer.msh = document.createElement('style'));
47056
+
47057
+ renderer.createRule = function (selector, prelude) {
47058
+ var rawCss = selector + '{}';
47059
+ if (prelude) rawCss = prelude + '{' + rawCss + '}';
47060
+ var sheet = prelude ? renderer.msh.sheet : renderer.sh.sheet;
47061
+ var index = sheet.insertRule(rawCss, sheet.cssRules.length);
47062
+ var rule = (sheet.cssRules || sheet.rules)[index];
47063
+
47064
+ // Keep track of `index` where rule was inserted in the sheet. This is
47065
+ // needed for rule deletion.
47066
+ rule.index = index;
47067
+
47068
+ if (prelude) {
47069
+ // If rule has media query (it has prelude), move style (CSSStyleDeclaration)
47070
+ // object to the "top" to normalize it with a rule without the media
47071
+ // query, so that both rules have `.style` property available.
47072
+ var selectorRule = (rule.cssRules || rule.rules)[0];
47073
+ rule.style = selectorRule.style;
47074
+ rule.styleMap = selectorRule.styleMap;
47075
+ }
47076
+
47077
+ return rule;
47078
+ };
47079
+ };
47080
+
47081
+ var removeRule$2 = {};
47082
+
47083
+ function removeRule$1 (rule) {
47084
+ var maxIndex = rule.index;
47085
+ var sh = rule.parentStyleSheet;
47086
+ var rules = sh.cssRules || sh.rules;
47087
+ maxIndex = Math.max(maxIndex, rules.length - 1);
47088
+ while (maxIndex >= 0) {
47089
+ if (rules[maxIndex] === rule) {
47090
+ sh.deleteRule(maxIndex);
47091
+ break;
47092
+ }
47093
+ maxIndex--;
47094
+ }
47095
+ }
47096
+
47097
+ removeRule$2.removeRule = removeRule$1;
47098
+
47099
+ var removeRule = removeRule$2.removeRule;
47100
+
47101
+ var addon = function (renderer) {
47102
+ // VCSSOM support only browser environment.
47103
+ if (!renderer.client) return;
47104
+
47105
+ if (process.env.NODE_ENV !== 'production') {
47106
+ requireWarnOnMissingDependencies()('cssom', renderer, ['createRule']); // cssom
47107
+ }
47108
+
47109
+ var kebab = renderer.kebab;
47110
+
47111
+ function VRule (selector, prelude) {
47112
+ this.rule = renderer.createRule(selector, prelude);
47113
+ this.decl = {};
47114
+ }
47115
+ VRule.prototype.diff = function (newDecl) {
47116
+ var oldDecl = this.decl;
47117
+ var style = this.rule.style;
47118
+ var property;
47119
+ for (property in oldDecl)
47120
+ if (newDecl[property] === undefined)
47121
+ style.removeProperty(property);
47122
+ for (property in newDecl)
47123
+ if (newDecl[property] !== oldDecl[property])
47124
+ style.setProperty(kebab(property), newDecl[property]);
47125
+ this.decl = newDecl;
47126
+ };
47127
+ VRule.prototype.del = function () {
47128
+ removeRule(this.rule);
47129
+ };
47130
+
47131
+ function VSheet () {
47132
+ /**
47133
+ * {
47134
+ * '<at-rule-prelude>': {
47135
+ * '<selector>': {
47136
+ * color: 'red
47137
+ * }
47138
+ * }
47139
+ * }
47140
+ */
47141
+ this.tree = {};
47142
+ }
47143
+ VSheet.prototype.diff = function (newTree) {
47144
+ var oldTree = this.tree;
47145
+
47146
+ // Remove media queries not present in new tree.
47147
+ for (var prelude in oldTree) {
47148
+ if (newTree[prelude] === undefined) {
47149
+ var rules = oldTree[prelude];
47150
+ for (var selector in rules)
47151
+ rules[selector].del();
47152
+ }
47153
+ }
47154
+
47155
+ for (var prelude in newTree) {
47156
+ if (oldTree[prelude] === undefined) {
47157
+ // Whole media query is new.
47158
+ for (var selector in newTree[prelude]) {
47159
+ var rule = new VRule(selector, prelude);
47160
+ rule.diff(newTree[prelude][selector]);
47161
+ newTree[prelude][selector] = rule;
47162
+ }
47163
+ } else {
47164
+ // Old tree already has rules with this media query.
47165
+ var oldRules = oldTree[prelude];
47166
+ var newRules = newTree[prelude];
47167
+
47168
+ // Remove rules not present in new tree.
47169
+ for (var selector in oldRules)
47170
+ if (!newRules[selector])
47171
+ oldRules[selector].del();
47172
+
47173
+ // Apply new rules.
47174
+ for (var selector in newRules) {
47175
+ var rule = oldRules[selector];
47176
+ if (rule) {
47177
+ rule.diff(newRules[selector]);
47178
+ newRules[selector] = rule;
47179
+ } else {
47180
+ rule = new VRule(selector, prelude);
47181
+ rule.diff(newRules[selector]);
47182
+ newRules[selector] = rule;
47183
+ }
47184
+ }
47185
+ }
47186
+ }
47187
+
47188
+ this.tree = newTree;
47189
+ };
47190
+
47191
+ renderer.VRule = VRule;
47192
+ renderer.VSheet = VSheet;
47193
+ };
47194
+
47195
+ var nano = create();
47196
+ addon$1(nano);
47197
+ addon(nano);
47198
+
47199
+ var screenfull = {exports: {}};
47200
+
47201
+ /*!
47202
+ * screenfull
47203
+ * v5.2.0 - 2021-11-03
47204
+ * (c) Sindre Sorhus; MIT License
47205
+ */
47206
+
47207
+ (function (module) {
47208
+ (function () {
47209
+
47210
+ var document = typeof window !== 'undefined' && typeof window.document !== 'undefined' ? window.document : {};
47211
+ var isCommonjs = module.exports;
47212
+
47213
+ var fn = (function () {
47214
+ var val;
47215
+
47216
+ var fnMap = [
47217
+ [
47218
+ 'requestFullscreen',
47219
+ 'exitFullscreen',
47220
+ 'fullscreenElement',
47221
+ 'fullscreenEnabled',
47222
+ 'fullscreenchange',
47223
+ 'fullscreenerror'
47224
+ ],
47225
+ // New WebKit
47226
+ [
47227
+ 'webkitRequestFullscreen',
47228
+ 'webkitExitFullscreen',
47229
+ 'webkitFullscreenElement',
47230
+ 'webkitFullscreenEnabled',
47231
+ 'webkitfullscreenchange',
47232
+ 'webkitfullscreenerror'
47233
+
47234
+ ],
47235
+ // Old WebKit
47236
+ [
47237
+ 'webkitRequestFullScreen',
47238
+ 'webkitCancelFullScreen',
47239
+ 'webkitCurrentFullScreenElement',
47240
+ 'webkitCancelFullScreen',
47241
+ 'webkitfullscreenchange',
47242
+ 'webkitfullscreenerror'
47243
+
47244
+ ],
47245
+ [
47246
+ 'mozRequestFullScreen',
47247
+ 'mozCancelFullScreen',
47248
+ 'mozFullScreenElement',
47249
+ 'mozFullScreenEnabled',
47250
+ 'mozfullscreenchange',
47251
+ 'mozfullscreenerror'
47252
+ ],
47253
+ [
47254
+ 'msRequestFullscreen',
47255
+ 'msExitFullscreen',
47256
+ 'msFullscreenElement',
47257
+ 'msFullscreenEnabled',
47258
+ 'MSFullscreenChange',
47259
+ 'MSFullscreenError'
47260
+ ]
47261
+ ];
47262
+
47263
+ var i = 0;
47264
+ var l = fnMap.length;
47265
+ var ret = {};
47266
+
47267
+ for (; i < l; i++) {
47268
+ val = fnMap[i];
47269
+ if (val && val[1] in document) {
47270
+ for (i = 0; i < val.length; i++) {
47271
+ ret[fnMap[0][i]] = val[i];
47272
+ }
47273
+ return ret;
47274
+ }
47275
+ }
47276
+
47277
+ return false;
47278
+ })();
47279
+
47280
+ var eventNameMap = {
47281
+ change: fn.fullscreenchange,
47282
+ error: fn.fullscreenerror
47283
+ };
47284
+
47285
+ var screenfull = {
47286
+ request: function (element, options) {
47287
+ return new Promise(function (resolve, reject) {
47288
+ var onFullScreenEntered = function () {
47289
+ this.off('change', onFullScreenEntered);
47290
+ resolve();
47291
+ }.bind(this);
47292
+
47293
+ this.on('change', onFullScreenEntered);
47294
+
47295
+ element = element || document.documentElement;
47296
+
47297
+ var returnPromise = element[fn.requestFullscreen](options);
47298
+
47299
+ if (returnPromise instanceof Promise) {
47300
+ returnPromise.then(onFullScreenEntered).catch(reject);
47301
+ }
47302
+ }.bind(this));
47303
+ },
47304
+ exit: function () {
47305
+ return new Promise(function (resolve, reject) {
47306
+ if (!this.isFullscreen) {
47307
+ resolve();
47308
+ return;
47309
+ }
47310
+
47311
+ var onFullScreenExit = function () {
47312
+ this.off('change', onFullScreenExit);
47313
+ resolve();
47314
+ }.bind(this);
47315
+
47316
+ this.on('change', onFullScreenExit);
47317
+
47318
+ var returnPromise = document[fn.exitFullscreen]();
47319
+
47320
+ if (returnPromise instanceof Promise) {
47321
+ returnPromise.then(onFullScreenExit).catch(reject);
47322
+ }
47323
+ }.bind(this));
47324
+ },
47325
+ toggle: function (element, options) {
47326
+ return this.isFullscreen ? this.exit() : this.request(element, options);
47327
+ },
47328
+ onchange: function (callback) {
47329
+ this.on('change', callback);
47330
+ },
47331
+ onerror: function (callback) {
47332
+ this.on('error', callback);
47333
+ },
47334
+ on: function (event, callback) {
47335
+ var eventName = eventNameMap[event];
47336
+ if (eventName) {
47337
+ document.addEventListener(eventName, callback, false);
47338
+ }
47339
+ },
47340
+ off: function (event, callback) {
47341
+ var eventName = eventNameMap[event];
47342
+ if (eventName) {
47343
+ document.removeEventListener(eventName, callback, false);
47344
+ }
47345
+ },
47346
+ raw: fn
47347
+ };
47348
+
47349
+ if (!fn) {
47350
+ if (isCommonjs) {
47351
+ module.exports = {isEnabled: false};
47352
+ } else {
47353
+ window.screenfull = {isEnabled: false};
47354
+ }
47355
+
47356
+ return;
47357
+ }
47358
+
47359
+ Object.defineProperties(screenfull, {
47360
+ isFullscreen: {
47361
+ get: function () {
47362
+ return Boolean(document[fn.fullscreenElement]);
47363
+ }
47364
+ },
47365
+ element: {
47366
+ enumerable: true,
47367
+ get: function () {
47368
+ return document[fn.fullscreenElement];
47369
+ }
47370
+ },
47371
+ isEnabled: {
47372
+ enumerable: true,
47373
+ get: function () {
47374
+ // Coerce to boolean in case of old WebKit
47375
+ return Boolean(document[fn.fullscreenEnabled]);
47376
+ }
47377
+ }
47378
+ });
47379
+
47380
+ if (isCommonjs) {
47381
+ module.exports = screenfull;
47382
+ } else {
47383
+ window.screenfull = screenfull;
47384
+ }
47385
+ })();
47386
+ } (screenfull));
47387
+
47388
+ isBrowser &&
47389
+ window.navigator &&
47390
+ window.navigator.platform &&
47391
+ /iP(ad|hone|od)/.test(window.navigator.platform);
47392
+
47393
+ var getInitialState = function (query, defaultState) {
47394
+ // Prevent a React hydration mismatch when a default value is provided by not defaulting to window.matchMedia(query).matches.
47395
+ if (defaultState !== undefined) {
47396
+ return defaultState;
47397
+ }
47398
+ if (isBrowser) {
47399
+ return window.matchMedia(query).matches;
47400
+ }
47401
+ // A default value has not been provided, and you are rendering on the server, warn of a possible hydration mismatch when defaulting to false.
47402
+ if (process.env.NODE_ENV !== 'production') {
47403
+ console.warn('`useMedia` When server side rendering, defaultState should be defined to prevent a hydration mismatches.');
47404
+ }
47405
+ return false;
47406
+ };
47407
+ var useMedia = function (query, defaultState) {
47408
+ var _a = useState(getInitialState(query, defaultState)), state = _a[0], setState = _a[1];
47409
+ useEffect(function () {
47410
+ var mounted = true;
47411
+ var mql = window.matchMedia(query);
47412
+ var onChange = function () {
47413
+ if (!mounted) {
47414
+ return;
47415
+ }
47416
+ setState(!!mql.matches);
47417
+ };
47418
+ mql.addEventListener('change', onChange);
47419
+ setState(mql.matches);
47420
+ return function () {
47421
+ mounted = false;
47422
+ mql.removeEventListener('change', onChange);
47423
+ };
47424
+ }, [query]);
47425
+ return state;
47426
+ };
47427
+
47428
+ var nav = isNavigator ? navigator : undefined;
47429
+ nav && (nav.connection || nav.mozConnection || nav.webkitConnection);
47430
+
47431
+ var lib$1 = {};
47432
+
47433
+ var require$$0 = /*@__PURE__*/getAugmentedNamespace(tslib_es6$1);
47434
+
47435
+ var render = {};
47436
+
47437
+ var hasRequiredRender;
47438
+
47439
+ function requireRender () {
47440
+ if (hasRequiredRender) return render;
47441
+ hasRequiredRender = 1;
47442
+ Object.defineProperty(render, "__esModule", { value: true });
47443
+ var tslib_1 = require$$0;
47444
+ var react_1 = e;
47445
+ var isReact16Plus = parseInt(react_1.version.substr(0, react_1.version.indexOf('.'))) > 15;
47446
+ var isFn = function (fn) { return typeof fn === 'function'; };
47447
+ var render$1 = function (props, data) {
47448
+ var more = [];
47449
+ for (var _i = 2; _i < arguments.length; _i++) {
47450
+ more[_i - 2] = arguments[_i];
47451
+ }
47452
+ if (process.env.NODE_ENV !== 'production') {
47453
+ if (typeof props !== 'object') {
47454
+ throw new TypeError('renderChildren(props, data) first argument must be a props object.');
47455
+ }
47456
+ var children_1 = props.children, render_1 = props.render;
47457
+ if (isFn(children_1) && isFn(render_1)) {
47458
+ console.warn('Both "render" and "children" are specified for in a universal interface component. ' +
47459
+ 'Children will be used.');
47460
+ console.trace();
47461
+ }
47462
+ if (typeof data !== 'object') {
47463
+ console.warn('Universal component interface normally expects data to be an object, ' +
47464
+ ("\"" + typeof data + "\" received."));
47465
+ console.trace();
47466
+ }
47467
+ }
47468
+ var render = props.render, _a = props.children, children = _a === void 0 ? render : _a, component = props.component, _b = props.comp, comp = _b === void 0 ? component : _b;
47469
+ if (isFn(children))
47470
+ return children.apply(void 0, tslib_1.__spreadArrays([data], more));
47471
+ if (comp) {
47472
+ return react_1.createElement(comp, data);
47473
+ }
47474
+ if (children instanceof Array)
47475
+ return isReact16Plus ? children : react_1.createElement.apply(void 0, tslib_1.__spreadArrays(['div', null], children));
47476
+ if (children && (children instanceof Object)) {
47477
+ if (process.env.NODE_ENV !== 'production') {
47478
+ if (!children.type || ((typeof children.type !== 'string') && (typeof children.type !== 'function') && (typeof children.type !== 'symbol'))) {
47479
+ console.warn('Universal component interface received object as children, ' +
47480
+ 'expected React element, but received unexpected React "type".');
47481
+ console.trace();
47482
+ }
47483
+ if (typeof children.type === 'string')
47484
+ return children;
47485
+ return react_1.cloneElement(children, Object.assign({}, children.props, data));
47486
+ }
47487
+ else {
47488
+ if (typeof children.type === 'string')
47489
+ return children;
47490
+ return react_1.cloneElement(children, Object.assign({}, children.props, data));
47491
+ }
47492
+ }
47493
+ return children || null;
47494
+ };
47495
+ render.default = render$1;
47496
+
47497
+ return render;
47498
+ }
47499
+
47500
+ var createEnhancer = {};
47501
+
47502
+ var addClassDecoratorSupport = {};
47503
+
47504
+ var wrapInStatefulComponent = {};
47505
+
47506
+ var hasRequiredWrapInStatefulComponent;
47507
+
47508
+ function requireWrapInStatefulComponent () {
47509
+ if (hasRequiredWrapInStatefulComponent) return wrapInStatefulComponent;
47510
+ hasRequiredWrapInStatefulComponent = 1;
47511
+ Object.defineProperty(wrapInStatefulComponent, "__esModule", { value: true });
47512
+ var tslib_1 = require$$0;
47513
+ var React = tslib_1.__importStar(e);
47514
+ var wrapInStatefulComponent$1 = function (Comp) {
47515
+ var Decorated = (function (_super) {
47516
+ tslib_1.__extends(class_1, _super);
47517
+ function class_1() {
47518
+ return _super !== null && _super.apply(this, arguments) || this;
47519
+ }
47520
+ class_1.prototype.render = function () {
47521
+ return Comp(this.props, this.context);
47522
+ };
47523
+ return class_1;
47524
+ }(React.Component));
47525
+ if (process.env.NODE_ENV !== 'production') {
47526
+ Decorated.displayName = "Decorated(" + (Comp.displayName || Comp.name) + ")";
47527
+ }
47528
+ return Decorated;
47529
+ };
47530
+ wrapInStatefulComponent.default = wrapInStatefulComponent$1;
47531
+
47532
+ return wrapInStatefulComponent;
47533
+ }
47534
+
47535
+ var hasRequiredAddClassDecoratorSupport;
47536
+
47537
+ function requireAddClassDecoratorSupport () {
47538
+ if (hasRequiredAddClassDecoratorSupport) return addClassDecoratorSupport;
47539
+ hasRequiredAddClassDecoratorSupport = 1;
47540
+ Object.defineProperty(addClassDecoratorSupport, "__esModule", { value: true });
47541
+ var tslib_1 = require$$0;
47542
+ var wrapInStatefulComponent_1 = tslib_1.__importDefault(requireWrapInStatefulComponent());
47543
+ var addClassDecoratorSupport$1 = function (Comp) {
47544
+ var isSFC = !Comp.prototype;
47545
+ return !isSFC ? Comp : wrapInStatefulComponent_1.default(Comp);
47546
+ };
47547
+ addClassDecoratorSupport.default = addClassDecoratorSupport$1;
47548
+
47549
+ return addClassDecoratorSupport;
47550
+ }
47551
+
47552
+ var hasRequiredCreateEnhancer;
47553
+
47554
+ function requireCreateEnhancer () {
47555
+ if (hasRequiredCreateEnhancer) return createEnhancer;
47556
+ hasRequiredCreateEnhancer = 1;
47557
+ Object.defineProperty(createEnhancer, "__esModule", { value: true });
47558
+ createEnhancer.divWrapper = void 0;
47559
+ var tslib_1 = require$$0;
47560
+ var React = tslib_1.__importStar(e);
47561
+ var addClassDecoratorSupport_1 = tslib_1.__importDefault(requireAddClassDecoratorSupport());
47562
+ var h = React.createElement;
47563
+ var noWrap = function (Comp, propName, props, state) {
47564
+ var _a;
47565
+ return h(Comp, propName ? tslib_1.__assign((_a = {}, _a[propName] = state, _a), props) : tslib_1.__assign(tslib_1.__assign({}, state), props));
47566
+ };
47567
+ createEnhancer.divWrapper = function (Comp, propName, props, state) {
47568
+ return h('div', null, noWrap(Comp, propName, props, state));
47569
+ };
47570
+ var createEnhancer$1 = function (Facc, prop, wrapper) {
47571
+ if (wrapper === void 0) { wrapper = noWrap; }
47572
+ var enhancer = function (Comp, propName, faccProps) {
47573
+ if (propName === void 0) { propName = prop; }
47574
+ if (faccProps === void 0) { faccProps = null; }
47575
+ var isClassDecoratorMethodCall = typeof Comp === 'string';
47576
+ if (isClassDecoratorMethodCall) {
47577
+ return function (Klass) { return enhancer(Klass, Comp || prop, propName); };
47578
+ }
47579
+ var Enhanced = function (props) {
47580
+ return h(Facc, faccProps, function (state) { return wrapper(Comp, propName, props, state); });
47581
+ };
47582
+ if (process.env.NODE_ENV !== 'production') {
47583
+ Enhanced.displayName = (Facc.displayName || Facc.name) + "(" + (Comp.displayName || Comp.name) + ")";
47584
+ }
47585
+ return isClassDecoratorMethodCall ? addClassDecoratorSupport_1.default(Enhanced) : Enhanced;
47586
+ };
47587
+ return enhancer;
47588
+ };
47589
+ createEnhancer.default = createEnhancer$1;
47590
+
47591
+ return createEnhancer;
47592
+ }
47593
+
47594
+ var hookToRenderProp = {};
47595
+
47596
+ var hasRequiredHookToRenderProp;
47597
+
47598
+ function requireHookToRenderProp () {
47599
+ if (hasRequiredHookToRenderProp) return hookToRenderProp;
47600
+ hasRequiredHookToRenderProp = 1;
47601
+ Object.defineProperty(hookToRenderProp, "__esModule", { value: true });
47602
+ var tslib_1 = require$$0;
47603
+ var render_1 = tslib_1.__importDefault(requireRender());
47604
+ var defaultMapPropsToArgs = function (props) { return [props]; };
47605
+ var hookToRenderProp$1 = function (hook, mapPropsToArgs) {
47606
+ if (mapPropsToArgs === void 0) { mapPropsToArgs = defaultMapPropsToArgs; }
47607
+ return function (props) { return render_1.default(props, hook.apply(void 0, mapPropsToArgs(props))); };
47608
+ };
47609
+ hookToRenderProp.default = hookToRenderProp$1;
47610
+
47611
+ return hookToRenderProp;
47612
+ }
47613
+
47614
+ Object.defineProperty(lib$1, "__esModule", { value: true });
47615
+ lib$1.hookToRenderProp = lib$1.createEnhancer = lib$1.render = void 0;
47616
+ var tslib_1 = require$$0;
47617
+ var render_1 = tslib_1.__importDefault(requireRender());
47618
+ lib$1.render = render_1.default;
47619
+ var createEnhancer_1 = tslib_1.__importDefault(requireCreateEnhancer());
47620
+ lib$1.createEnhancer = createEnhancer_1.default;
47621
+ var hookToRenderProp_1 = tslib_1.__importDefault(requireHookToRenderProp());
47622
+ lib$1.hookToRenderProp = hookToRenderProp_1.default;
47623
+
47624
+ var Status;
47625
+ (function (Status) {
47626
+ Status[Status["init"] = 0] = "init";
47627
+ Status[Status["play"] = 1] = "play";
47628
+ Status[Status["pause"] = 2] = "pause";
47629
+ Status[Status["end"] = 3] = "end";
47630
+ })(Status || (Status = {}));
47631
+
47632
+ var lib = {};
47633
+
47634
+ Object.defineProperty(lib, "__esModule", { value: true });
47635
+ lib.easing = {
47636
+ // No easing, no acceleration
47637
+ linear: function (t) { return t; },
47638
+ // Accelerates fast, then slows quickly towards end.
47639
+ quadratic: function (t) { return t * (-(t * t) * t + 4 * t * t - 6 * t + 4); },
47640
+ // Overshoots over 1 and then returns to 1 towards end.
47641
+ cubic: function (t) { return t * (4 * t * t - 9 * t + 6); },
47642
+ // Overshoots over 1 multiple times - wiggles around 1.
47643
+ elastic: function (t) { return t * (33 * t * t * t * t - 106 * t * t * t + 126 * t * t - 67 * t + 15); },
47644
+ // Accelerating from zero velocity
47645
+ inQuad: function (t) { return t * t; },
47646
+ // Decelerating to zero velocity
47647
+ outQuad: function (t) { return t * (2 - t); },
47648
+ // Acceleration until halfway, then deceleration
47649
+ inOutQuad: function (t) { return t < .5 ? 2 * t * t : -1 + (4 - 2 * t) * t; },
47650
+ // Accelerating from zero velocity
47651
+ inCubic: function (t) { return t * t * t; },
47652
+ // Decelerating to zero velocity
47653
+ outCubic: function (t) { return (--t) * t * t + 1; },
47654
+ // Acceleration until halfway, then deceleration
47655
+ inOutCubic: function (t) { return t < .5 ? 4 * t * t * t : (t - 1) * (2 * t - 2) * (2 * t - 2) + 1; },
47656
+ // Accelerating from zero velocity
47657
+ inQuart: function (t) { return t * t * t * t; },
47658
+ // Decelerating to zero velocity
47659
+ outQuart: function (t) { return 1 - (--t) * t * t * t; },
47660
+ // Acceleration until halfway, then deceleration
47661
+ inOutQuart: function (t) { return t < .5 ? 8 * t * t * t * t : 1 - 8 * (--t) * t * t * t; },
47662
+ // Accelerating from zero velocity
47663
+ inQuint: function (t) { return t * t * t * t * t; },
47664
+ // Decelerating to zero velocity
47665
+ outQuint: function (t) { return 1 + (--t) * t * t * t * t; },
47666
+ // Acceleration until halfway, then deceleration
47667
+ inOutQuint: function (t) { return t < .5 ? 16 * t * t * t * t * t : 1 + 16 * (--t) * t * t * t * t; },
47668
+ // Accelerating from zero velocity
47669
+ inSine: function (t) { return -Math.cos(t * (Math.PI / 2)) + 1; },
47670
+ // Decelerating to zero velocity
47671
+ outSine: function (t) { return Math.sin(t * (Math.PI / 2)); },
47672
+ // Accelerating until halfway, then decelerating
47673
+ inOutSine: function (t) { return -(Math.cos(Math.PI * t) - 1) / 2; },
47674
+ // Exponential accelerating from zero velocity
47675
+ inExpo: function (t) { return Math.pow(2, 10 * (t - 1)); },
47676
+ // Exponential decelerating to zero velocity
47677
+ outExpo: function (t) { return -Math.pow(2, -10 * t) + 1; },
47678
+ // Exponential accelerating until halfway, then decelerating
47679
+ inOutExpo: function (t) {
47680
+ t /= .5;
47681
+ if (t < 1)
47682
+ return Math.pow(2, 10 * (t - 1)) / 2;
47683
+ t--;
47684
+ return (-Math.pow(2, -10 * t) + 2) / 2;
47685
+ },
47686
+ // Circular accelerating from zero velocity
47687
+ inCirc: function (t) { return -Math.sqrt(1 - t * t) + 1; },
47688
+ // Circular decelerating to zero velocity Moves VERY fast at the beginning and
47689
+ // then quickly slows down in the middle. This tween can actually be used
47690
+ // in continuous transitions where target value changes all the time,
47691
+ // because of the very quick start, it hides the jitter between target value changes.
47692
+ outCirc: function (t) { return Math.sqrt(1 - (t = t - 1) * t); },
47693
+ // Circular acceleration until halfway, then deceleration
47694
+ inOutCirc: function (t) {
47695
+ t /= .5;
47696
+ if (t < 1)
47697
+ return -(Math.sqrt(1 - t * t) - 1) / 2;
47698
+ t -= 2;
47699
+ return (Math.sqrt(1 - t * t) + 1) / 2;
47700
+ }
47701
+ };
47702
+
47703
+ var ZoomState;
47704
+ (function (ZoomState) {
47705
+ ZoomState["ZOOMING_IN"] = "ZOOMING_IN";
47706
+ ZoomState["ZOOMING_OUT"] = "ZOOMING_OUT";
47707
+ })(ZoomState || (ZoomState = {}));
47708
+
46303
47709
  var Breadcrumb = forwardRef(function (_a, ref) {
46304
- var items = _a.items, className = _a.className, rest = __rest$1(_a, ["items", "className"]);
46305
- return (e.createElement("div", __assign$1({ className: classNames('ods-breadcrumb', className), ref: ref }, rest), items === null || items === void 0 ? void 0 : items.map(function (item, index) {
47710
+ var items = _a.items, className = _a.className, rest = __rest$2(_a, ["items", "className"]);
47711
+ var isMobile = useMedia('(max-width: 576px)');
47712
+ var onHandleLastItem = function () {
47713
+ window.history.back();
47714
+ };
47715
+ return (e.createElement("div", __assign$2({ className: classNames('ods-breadcrumb', className), ref: ref }, rest), items === null || items === void 0 ? void 0 : items.map(function (item, index) {
47716
+ var isLast = index === items.length - 1;
46306
47717
  var showIcon = index !== items.length - 1 && (e.createElement(ee, { size: 12 }));
46307
- return typeof item === 'string' ? (e.createElement("div", { className: "ods-breadcrumb__item", key: "string-item-".concat(item) },
46308
- e.createElement("span", null, item),
46309
- " ",
46310
- showIcon)) : (e.createElement("div", { className: "ods-breadcrumb__item", key: "tag-item-".concat(index + 1) },
46311
- item,
46312
- " ",
46313
- showIcon));
47718
+ if (isMobile && isLast) {
47719
+ return (e.createElement("button", { type: "button", onClick: onHandleLastItem, className: "ods-breadcrumb__item", key: "tag-item-".concat(index + 1) },
47720
+ e.createElement($, { size: 12 }),
47721
+ e.createElement("span", null, item)));
47722
+ }
47723
+ if (!isMobile) {
47724
+ return typeof item === 'string' ? (e.createElement("div", { className: "ods-breadcrumb__item", key: "string-item-".concat(item) },
47725
+ e.createElement("span", null, item),
47726
+ " ",
47727
+ showIcon)) : (e.createElement("div", { className: "ods-breadcrumb__item", key: "tag-item-".concat(index + 1) },
47728
+ item,
47729
+ " ",
47730
+ showIcon));
47731
+ }
47732
+ return null;
46314
47733
  })));
46315
47734
  });
46316
47735
  Breadcrumb.displayName = 'Breadcrumb';
@@ -46418,8 +47837,8 @@ var Snackbar = e.forwardRef(function (_a, ref) {
46418
47837
  Snackbar.displayName = 'Snackbar';
46419
47838
 
46420
47839
  var Shortcut = function (_a) {
46421
- var icon = _a.icon, label = _a.label, description = _a.description, _b = _a.size, size = _b === void 0 ? 'medium' : _b, _c = _a.blocked, blocked = _c === void 0 ? false : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d, _e = _a.fullWidth, fullWidth = _e === void 0 ? false : _e, _f = _a.orientation, orientation = _f === void 0 ? 'horizontal' : _f, count = _a.count, rest = __rest$1(_a, ["icon", "label", "description", "size", "blocked", "disabled", "fullWidth", "orientation", "count"]);
46422
- return (e.createElement("div", __assign$1({ className: classNames('ods-shortcut', "ods-shortcut--".concat(size), blocked && 'ods-shortcut--blocked', disabled && 'ods-shortcut--disabled', fullWidth && 'ods-shortcut--full-width', "ods-shortcut--".concat(orientation)) }, rest),
47840
+ var icon = _a.icon, label = _a.label, description = _a.description, _b = _a.size, size = _b === void 0 ? 'medium' : _b, _c = _a.blocked, blocked = _c === void 0 ? false : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d, _e = _a.fullWidth, fullWidth = _e === void 0 ? false : _e, _f = _a.orientation, orientation = _f === void 0 ? 'horizontal' : _f, count = _a.count, rest = __rest$2(_a, ["icon", "label", "description", "size", "blocked", "disabled", "fullWidth", "orientation", "count"]);
47841
+ return (e.createElement("div", __assign$2({ className: classNames('ods-shortcut', "ods-shortcut--".concat(size), blocked && 'ods-shortcut--blocked', disabled && 'ods-shortcut--disabled', fullWidth && 'ods-shortcut--full-width', "ods-shortcut--".concat(orientation)) }, rest),
46423
47842
  blocked && (e.createElement("div", { className: "ods-shortcut__blocked" },
46424
47843
  e.createElement(jr, null))),
46425
47844
  count ? (e.createElement(Badge, { className: "ods-shortcut__badge", variation: "small", color: "alert", count: count })) : null,
@@ -46510,7 +47929,7 @@ var Chips = function (_a) {
46510
47929
  return;
46511
47930
  }
46512
47931
  if (Array.isArray(selectedOptions)) {
46513
- var copyOptions = __spreadArray$1([], selectedOptions, true);
47932
+ var copyOptions = __spreadArray$2([], selectedOptions, true);
46514
47933
  if (selectedOptions.find(function (option) { return option.value === value; })) {
46515
47934
  copyOptions = copyOptions.filter(function (option) { return option.value !== value; });
46516
47935
  }