@stenajs-webui/panels 23.3.0 → 23.4.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/dist/index.es.js CHANGED
@@ -1,87 +1,87 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode("._navBar_kzibd_1{--swui-navbar-background-color: var(--lhds-color-ui-50);--swui-navbar-item-background-color-hover: var(--lhds-color-blue-700);--swui-navbar-item-background-color-selected: var(--lhds-color-blue-600);--swui-navbar-item-background-color-selected-hover: var( --lhds-color-blue-700 );--swui-nav-bar-height: 48px;background-color:var(--swui-navbar-background-color);height:var(--swui-nav-bar-height);min-height:var(--swui-nav-bar-height)}._navBarButton_b3x3w_1:hover{background:var(--lhds-color-ui-100)}._navBarButton_b3x3w_1:focus-visible{background:var(--lhds-color-ui-200)}._navBarButton_b3x3w_1:active{background:var(--lhds-color-ui-200)}._navBarButton_b3x3w_1._selected_b3x3w_14{background:var(--lhds-color-blue-200)}._navBarButton_b3x3w_1._selected_b3x3w_14:hover{background:var(--lhds-color-blue-100)}._navBarButton_b3x3w_1._selected_b3x3w_14:focus-visible{background:var(--lhds-color-blue-300)}._navBarButton_b3x3w_1._selected_b3x3w_14:active{background:var(--lhds-color-blue-200)}._navBarNotificationButton_1wt3y_1{--current-background-color: var(--lhds-color-ui-400);--current-outline-color: var(--modern-blue);background-color:var(--current-background-color);border-color:transparent;color:var(--lhds-color-ui-50);--swui-nav-bar-notification-shake-count: 3;transition:.5s width}._navBarNotificationButton_1wt3y_1:hover{--current-background-color: var(--lhds-color-red-500);--current-outline-color: var(--lhds-color-red-500)}._navBarNotificationButton_1wt3y_1:active{--current-background-color: var(--lhds-color-red-600);--current-outline-color: var(--lhds-color-red-600)}._navBarNotificationButton_1wt3y_1._unread_1wt3y_23 ._icon_1wt3y_23{transform-origin:top center;animation:_shake_1wt3y_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count)}._navBarNotificationButton_1wt3y_1._unread_1wt3y_23{--current-background-color: var(--lhds-color-red-500);--current-outline-color: var(--lhds-color-red-500)}._navBarNotificationButton_1wt3y_1._unread_1wt3y_23:hover{--current-background-color: var(--lhds-color-red-600);--current-outline-color: var(--lhds-color-red-600)}._navBarNotificationButton_1wt3y_1._unread_1wt3y_23:active{--current-background-color: var(--lhds-color-red-700);--current-outline-color: var(--lhds-color-red-700)}._navBarNotificationButton_1wt3y_1:focus-visible{outline:var(--swui-focus-outline);outline-color:var(--current-outline-color);outline-offset:var(--swui-focus-outline-width)}@keyframes _shake_1wt3y_1{0%{transform:rotate(0)}7%{transform:rotate(20deg)}15%{transform:rotate(-20deg)}22%{transform:rotate(16deg)}30%{transform:rotate(-16deg)}38%{transform:rotate(6deg)}42%{transform:rotate(-6deg)}46%{transform:rotate(2deg)}to{transform:rotate(0)}}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1{line-height:2.7rem;color:var(--lhds-color-ui-800)}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1::placeholder{color:var(--lhds-color-blue-600)}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1{padding:0 var(--swui-metrics-indent)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12{background:var(--lhds-color-ui-200);border-color:transparent}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12:hover{border-color:transparent}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12{padding:0 var(--swui-metrics-indent);border-radius:var(--swui-max-border-radius)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12._withButton_1rp8g_24{padding-right:1px}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12:focus-within{color:var(--lhds-color-ui-800);background:var(--lhds-color-ui-50)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12 ._clearButton_1rp8g_33{border-radius:var(--swui-max-border-radius)}._navBarUserButton_10f9z_1:hover{background:var(--lhds-color-ui-100)}._navBarUserButton_10f9z_1:focus-visible{background:var(--lhds-color-ui-200)}._navBarUserButton_10f9z_1:active{background:var(--lhds-color-ui-200)}._sidebarMenuCollapsibleGroupBox_ikek9_1{background:var(--lhds-color-ui-200);border-radius:var(--swui-border-radius);gap:var(--swui-metrics-space);display:flex;flex-direction:column;padding:var(--swui-metrics-space);--current-text-size: var(--swui-font-size-small)}._selectionRow_1njaw_1{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:calc(var(--swui-metrics-space) * 2)}@media (max-width: 370px){._iconColumn_1njaw_9{display:none}}._sidebarMenu_1bx5w_1{--swui-sidebar-menu-separator-color: var(--swui-white);--swui-sidebar-menu-text-color: var(--lhds-color-ui-900);--swui-sidebar-menu-icon-color: var(--lhds-color-ui-900);--swui-sidebar-menu-background-color: transparent;--swui-sidebar-menu-background-color-hover: var(--lhds-color-ui-400);--swui-sidebar-menu-background-color-focus: var(--lhds-color-ui-400);--swui-sidebar-menu-background-color-active: var(--lhds-color-ui-300);--swui-sidebar-menu-background-selected: var(--lhds-color-blue-100);--swui-sidebar-menu-background-selected-hover: var(--lhds-color-blue-200);--swui-sidebar-menu-background-selected-focus: var(--lhds-color-blue-200);--swui-sidebar-menu-background-selected-active: var(--lhds-color-blue-100);--current-background-color: var(--swui-sidebar-menu-background-color);--current-background-color-hover: var( --swui-sidebar-menu-background-color-hover );--current-background-color-focus: var( --swui-sidebar-menu-background-color-focus );--current-background-color-active: var( --swui-sidebar-menu-background-color-active );--current-background-selected: var(--swui-sidebar-menu-background-selected);--current-background-selected-hover: var( --swui-sidebar-menu-background-selected-hover );--current-background-selected-focus: var( --swui-sidebar-menu-background-selected-focus );--current-background-selected-active: var( --swui-sidebar-menu-background-selected-active )}._sidebarMenu_1bx5w_1 ._sidebarItems_1bx5w_38{--current-separator-color: var(--swui-sidebar-menu-separator-color);--current-text-color: var(--swui-sidebar-menu-text-color);--current-icon-color: var(--swui-sidebar-menu-icon-color)}._sidebarMenu_1bx5w_1{background-color:var(--current-background-color);height:100dvh}._sidebarMenu_1bx5w_1 ._scrollContainer_1bx5w_48{background:var(--current-background-color);height:100%;overflow:auto}._stenaFlag_108h7_1{height:32px}._productCard_19x6b_1{max-width:560px}@media (max-width: 768px){._productCard_19x6b_1{max-width:unset}}.yarl__fullsize{height:100%;width:100%}.yarl__relative{position:relative}.yarl__portal{inset:0;opacity:0;overflow:hidden;position:fixed;transition:opacity var(--yarl__fade_animation_duration,.25s) var(--yarl__fade_animation_timing_function,ease);z-index:var(--yarl__portal_zindex,9999)}.yarl__portal_open{opacity:1}.yarl__container{background-color:var(--yarl__container_background_color,var(--yarl__color_backdrop,#000));inset:0;outline:none;overflow:hidden;overscroll-behavior:var(--yarl__controller_overscroll_behavior,contain);position:absolute;touch-action:var(--yarl__controller_touch_action,none);-webkit-user-select:none;user-select:none}.yarl__carousel{align-content:center;align-items:stretch;display:flex;flex:0 0 auto;height:100%;justify-content:center;opacity:var(--yarl__pull_opacity,1);transform:translate(var(--yarl__swipe_offset,0),var(--yarl__pull_offset,0));width:calc(100% + (var(--yarl__carousel_slides_count) - 1)*(100% + var(--yarl__carousel_spacing_px, 0)*1px + var(--yarl__carousel_spacing_percent, 0)*1%))}.yarl__carousel_with_slides{column-gap:calc(var(--yarl__carousel_spacing_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_spacing_percent, 0)*1%)}.yarl__flex_center{align-content:center;align-items:center;display:flex;justify-content:center}.yarl__slide{flex:1;overflow:hidden;padding:calc(var(--yarl__carousel_padding_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_padding_percent, 0)*1%);position:relative}[dir=rtl] .yarl__slide{--yarl__direction:-1}.yarl__slide_image{max-height:100%;max-width:100%;object-fit:contain;touch-action:var(--yarl__controller_touch_action,none);user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.yarl__slide_image_cover{height:100%;object-fit:cover;width:100%}.yarl__slide_image_loading{opacity:0}@media screen and (min-width:800px){.yarl__slide_wrapper:not(.yarl__slide_wrapper_interactive) .yarl__slide_image{-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);-webkit-transform-style:preserve-3d}}.yarl__slide_placeholder{left:50%;line-height:0;position:absolute;top:50%;transform:translate(-50%) translateY(-50%)}.yarl__slide_loading{animation:yarl__delayed_fadein 1s linear;color:var(--yarl__slide_icon_loading_color,var(--yarl__color_button,hsla(0,0%,100%,.8)))}.yarl__slide_loading line{animation:yarl__stroke_opacity 1s linear infinite}.yarl__slide_loading line:first-of-type{animation-delay:-1.875s}.yarl__slide_loading line:nth-of-type(2){animation-delay:-1.75s}.yarl__slide_loading line:nth-of-type(3){animation-delay:-1.625s}.yarl__slide_loading line:nth-of-type(4){animation-delay:-1.5s}.yarl__slide_loading line:nth-of-type(5){animation-delay:-1.375s}.yarl__slide_loading line:nth-of-type(6){animation-delay:-1.25s}.yarl__slide_loading line:nth-of-type(7){animation-delay:-1.125s}.yarl__slide_loading line:nth-of-type(8){animation-delay:-1s}.yarl__slide_error{color:var(--yarl__slide_icon_error_color,red);height:var(--yarl__slide_icon_error_size,48px);width:var(--yarl__slide_icon_error_size,48px)}@media (prefers-reduced-motion){.yarl__portal,.yarl__slide{transition:unset}.yarl__slide_loading,.yarl__slide_loading line{animation:unset}}.yarl__toolbar{display:flex;justify-content:flex-end;inset:0 0 auto auto;padding:var(--yarl__toolbar_padding,8px);position:absolute}[dir=rtl] .yarl__toolbar{inset:0 auto auto 0}.yarl__icon{height:var(--yarl__icon_size,32px);width:var(--yarl__icon_size,32px)}.yarl__button{-webkit-appearance:none;appearance:none;background-color:var(--yarl__button_background_color,transparent);border:var(--yarl__button_border,0);color:var(--yarl__color_button,hsla(0,0%,100%,.8));cursor:pointer;filter:var(--yarl__button_filter,drop-shadow(2px 2px 2px rgba(0,0,0,.8)));line-height:0;margin:var(--yarl__button_margin,0);outline:none;padding:var(--yarl__button_padding,8px);-webkit-tap-highlight-color:transparent}.yarl__button:focus{color:var(--yarl__color_button_active,#fff)}.yarl__button:focus:not(:focus-visible){color:var(--yarl__color_button,hsla(0,0%,100%,.8))}.yarl__button:focus-visible{color:var(--yarl__color_button_active,#fff)}@media (hover:hover){.yarl__button:focus-visible:hover,.yarl__button:focus:hover,.yarl__button:hover{color:var(--yarl__color_button_active,#fff)}}.yarl__button:disabled{color:var(--yarl__color_button_disabled,hsla(0,0%,100%,.4));cursor:default}.yarl__navigation_next,.yarl__navigation_prev{padding:var(--yarl__navigation_button_padding,24px 16px);position:absolute;top:50%;transform:translateY(-50%)}.yarl__navigation_prev{left:0}[dir=rtl] .yarl__navigation_prev{left:unset;right:0;transform:translateY(-50%) rotate(180deg)}.yarl__navigation_next{right:0}[dir=rtl] .yarl__navigation_next{left:0;right:unset;transform:translateY(-50%) rotate(180deg)}.yarl__no_scroll{height:100%;overflow:hidden;overscroll-behavior:none}@keyframes yarl__delayed_fadein{0%{opacity:0}80%{opacity:0}to{opacity:1}}@keyframes yarl__stroke_opacity{0%{stroke-opacity:1}to{stroke-opacity:.125}}.yarl__counter{bottom:var(--yarl__counter_bottom,unset);color:var(--yarl__counter_color,var(--yarl__color_button,hsla(0,0%,100%,.8)));filter:var(--yarl__counter_filter,drop-shadow(2px 2px 2px rgba(0,0,0,.8)));left:var(--yarl__counter_left,0);line-height:var(--yarl__counter_line_height,var(--yarl__icon_size,32px));margin:var(--yarl__counter_margin,var(--yarl__toolbar_padding,8px));padding:var(--yarl__counter_padding,var(--yarl__button_padding,8px));position:var(--yarl__counter_position,absolute);right:var(--yarl__counter_right,unset);top:var(--yarl__counter_top,0);-webkit-user-select:var(--yarl__counter_user_select,none);user-select:var(--yarl__counter_user_select,none)}.yarl__slide_captions_container{background:var(--yarl__slide_captions_container_background,rgba(0,0,0,.5));left:var(--yarl__slide_captions_container_left,0);padding:var(--yarl__slide_captions_container_padding,16px);position:absolute;right:var(--yarl__slide_captions_container_right,0);-webkit-transform:translateZ(0)}.yarl__slide_title{color:var(--yarl__slide_title_color,#fff);font-size:var(--yarl__slide_title_font_size,125%);font-weight:var(--yarl__slide_title_font_weight,bolder);max-width:calc(100% - var(--yarl__toolbar_width, 0px));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yarl__slide_title_container{top:var(--yarl__slide_title_container_top,0)}.yarl__slide_description{display:-webkit-box;-webkit-hyphens:auto;hyphens:auto;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:var(--yarl__slide_description_max_lines,3);color:var(--yarl__slide_description_color,#fff);text-align:var(--yarl__slide_description_text_align,start)}.yarl__slide_description_container{bottom:var(--yarl__slide_description_container_bottom,0)}.yarl__slide_title.yarl__slide_title.yarl__slide_title{font-family:var(--swui-font-primary);font-size:var(--swui-font-size-large);font-weight:var(--swui-font-weight-text)}.yarl__slide_title_container.yarl__slide_title_container.yarl__slide_title_container{height:48px;margin:calc(var(--swui-metrics-space) * 1);padding:0;display:flex;align-items:center;padding-left:calc(var(--swui-metrics-space) * 10)}.yarl__slide_description.yarl__slide_description.yarl__slide_description{font-family:var(--swui-font-primary);font-size:var(--swui-font-size-large);font-weight:var(--swui-font-weight-text)}.yarl__slide_description_container.yarl__slide_description_container.yarl__slide_description_container{display:flex;align-items:center;padding-left:calc(var(--swui-metrics-space) * 3);padding-bottom:calc(var(--swui-metrics-space) * 4)}.yarl__counter.yarl__counter{height:48px;margin:calc(var(--swui-metrics-space) * 1);display:flex;align-items:center;padding:0;padding-left:calc(var(--swui-metrics-space) * 1);font-family:var(--swui-font-primary);font-size:var(--swui-font-size-large);font-weight:var(--swui-font-weight-text)}")),document.head.appendChild(r)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
2
- import { jsx as e, Fragment as N, jsxs as o } from "react/jsx-runtime";
3
- import { ActionMenu as te, ActionMenuContext as ve, stenaAngleDown as re, PrimaryButton as oe, SecondaryButton as R, FlatButton as H, stenaHamburger as ie, BaseButton as Ce, stenaBellFilled as we, TextInputButton as Be, stenaTimes as ye, stenaUserCircle as Ie, MenuButton as T, Icon as D, stenaMail as _e, Card as ke, CardBody as Se, CircledIcon as W, stenaTripFerryXl as Re, Spinner as G, CloseButton as Me, StenaFlag as Ne, stenaAngleLeftDouble as le, stenaPin as Pe, IconMenuButton as K, IconMenuButtonLink as ze, MenuButtonLink as je, Tag as Fe, ShimmerBox as P, stenaTimesThick as Ae, stenaAngleRight as ae, stenaAngleLeft as ce, stenaSearchPlus as Le, stenaSearchMinus as Oe } from "@stenajs-webui/elements";
4
- import * as He from "react";
5
- import { useRef as V, useMemo as F, forwardRef as Z, createContext as We, useContext as $e, useState as L, useCallback as J, useEffect as qe } from "react";
6
- import { useBoolean as se, Column as d, Row as c, Indent as B, Heading as z, Box as u, Text as f, Space as C, getDataProps as $, SeparatorLine as Ue, Spacing as Ee, isEmptyFragment as Te, useAccessibleFontSizeContext as De, exhaustSwitchCaseElseThrow as de, BlockKeyboardEvents as Ge } from "@stenajs-webui/core";
2
+ import { jsx as e, Fragment as A, jsxs as i } from "react/jsx-runtime";
3
+ import { ActionMenu as te, ActionMenuContext as ve, stenaAngleDown as re, PrimaryButton as oe, SecondaryButton as R, FlatButton as O, stenaHamburger as ie, BaseButton as Ce, stenaBellFilled as we, TextInputButton as Be, stenaTimes as ye, stenaUserCircle as Ie, MenuButton as U, Icon as G, stenaMail as _e, Card as Se, CardBody as ke, CircledIcon as E, stenaTripFerryXl as Re, Spinner as D, CloseButton as Me, StenaFlag as Ne, stenaAngleLeftDouble as le, stenaPin as Pe, IconMenuButton as K, IconMenuButtonLink as ze, MenuButtonLink as Fe, Tag as je, ShimmerBox as N, stenaTimesThick as Ae, stenaAngleRight as ae, stenaAngleLeft as ce, stenaSearchPlus as Le, stenaSearchMinus as Te } from "@stenajs-webui/elements";
4
+ import * as Oe from "react";
5
+ import { useRef as V, useMemo as F, forwardRef as Z, createContext as Ee, useContext as He, useState as L, useCallback as J, useEffect as We } from "react";
6
+ import { useBoolean as se, Column as d, Row as c, Indent as B, Heading as P, Box as u, Text as x, Space as w, getDataProps as H, SeparatorLine as $e, pluralFormatter as qe, selectPluralRule as Ue, Spacing as Ge, isEmptyFragment as De, useAccessibleFontSizeContext as Ke, exhaustSwitchCaseElseThrow as de, BlockKeyboardEvents as Ve } from "@stenajs-webui/core";
7
7
  import { ControlledPopover as ue, Popover as he, Tooltip as pe } from "@stenajs-webui/tooltip";
8
- import { Checkbox as ge, TextInput as Ke } from "@stenajs-webui/forms";
8
+ import { Checkbox as me, TextInput as Ze } from "@stenajs-webui/forms";
9
9
  import _ from "classnames";
10
10
  import { cssColor as p } from "@stenajs-webui/theme";
11
11
  import { useMediaQuery as M } from "react-responsive";
12
- import me from "yet-another-react-lightbox";
13
- import Ve from "yet-another-react-lightbox/plugins/inline";
14
- import Ze from "yet-another-react-lightbox/plugins/zoom";
15
- import Qe from "yet-another-react-lightbox/plugins/counter";
16
- import Xe from "yet-another-react-lightbox/plugins/captions";
12
+ import ge from "yet-another-react-lightbox";
13
+ import Qe from "yet-another-react-lightbox/plugins/inline";
14
+ import Xe from "yet-another-react-lightbox/plugins/zoom";
15
+ import Je from "yet-another-react-lightbox/plugins/counter";
16
+ import Ye from "yet-another-react-lightbox/plugins/captions";
17
17
  const Q = ({
18
18
  renderItems: n,
19
19
  placement: t = "bottom",
20
20
  buttonComponent: r,
21
- rightIcon: i = re,
21
+ rightIcon: o = re,
22
22
  menuWidth: l,
23
23
  menuTop: a,
24
24
  onClick: s,
25
25
  disableArrow: h = !1,
26
- buttonRef: m,
26
+ buttonRef: g,
27
27
  appendTo: b,
28
- zIndex: x,
29
- disableTrapFocus: w = !1,
28
+ zIndex: f,
29
+ disableTrapFocus: C = !1,
30
30
  ...y
31
31
  }) => {
32
- const [k, I, v, S] = se(!1), g = V(null), q = m ?? g, fe = F(() => ({ open: I, close: v }), [I, v]), xe = (U) => {
33
- s?.(U), S();
32
+ const [S, I, v, k] = se(!1), m = V(null), W = g ?? m, fe = F(() => ({ open: I, close: v }), [I, v]), xe = ($) => {
33
+ s?.($), k();
34
34
  };
35
- return /* @__PURE__ */ e(N, { children: /* @__PURE__ */ e(
35
+ return /* @__PURE__ */ e(A, { children: /* @__PURE__ */ e(
36
36
  ue,
37
37
  {
38
- renderTrigger: (U) => /* @__PURE__ */ e(
38
+ renderTrigger: ($) => /* @__PURE__ */ e(
39
39
  r,
40
40
  {
41
- rightIcon: h ? void 0 : i,
41
+ rightIcon: h ? void 0 : o,
42
42
  ...y,
43
- ref: q,
43
+ ref: W,
44
44
  onClick: xe,
45
- ...U
45
+ ...$
46
46
  }
47
47
  ),
48
48
  hideArrow: !0,
49
49
  disablePadding: !0,
50
- open: k,
50
+ open: S,
51
51
  onRequestClose: v,
52
52
  placement: t,
53
53
  appendTo: b,
54
- zIndex: x,
55
- children: k && /* @__PURE__ */ e(
54
+ zIndex: f,
55
+ children: S && /* @__PURE__ */ e(
56
56
  te,
57
57
  {
58
58
  width: l,
59
59
  top: a,
60
- trapFocus: !w,
60
+ trapFocus: !C,
61
61
  children: /* @__PURE__ */ e(ve.Provider, { value: fe, children: n(v) })
62
62
  }
63
63
  )
64
64
  }
65
65
  ) });
66
- }, ot = (n) => /* @__PURE__ */ e(Q, { buttonComponent: oe, ...n }), it = (n) => /* @__PURE__ */ e(Q, { buttonComponent: R, ...n }), Je = (n) => /* @__PURE__ */ e(Q, { buttonComponent: H, ...n }), Ye = "1px solid var(--lhds-color-ui-300)", lt = ({
66
+ }, at = (n) => /* @__PURE__ */ e(Q, { buttonComponent: oe, ...n }), ct = (n) => /* @__PURE__ */ e(Q, { buttonComponent: R, ...n }), en = (n) => /* @__PURE__ */ e(Q, { buttonComponent: O, ...n }), nn = "1px solid var(--lhds-color-ui-300)", st = ({
67
67
  renderMenu: n,
68
68
  ...t
69
69
  }) => /* @__PURE__ */ e(
70
70
  he,
71
71
  {
72
72
  trigger: "click",
73
- renderTrigger: (r) => /* @__PURE__ */ e(c, { children: /* @__PURE__ */ o(
73
+ renderTrigger: (r) => /* @__PURE__ */ e(c, { children: /* @__PURE__ */ i(
74
74
  c,
75
75
  {
76
76
  spacing: 0.5,
77
77
  indent: !0,
78
78
  alignItems: "center",
79
- border: Ye,
79
+ border: nn,
80
80
  borderRadius: "4px",
81
81
  children: [
82
- /* @__PURE__ */ e(ge, { ...t }),
82
+ /* @__PURE__ */ e(me, { ...t }),
83
83
  /* @__PURE__ */ e(B, { num: 0.5 }),
84
- /* @__PURE__ */ e(H, { size: "small", leftIcon: re, ...r })
84
+ /* @__PURE__ */ e(O, { size: "small", leftIcon: re, ...r })
85
85
  ]
86
86
  }
87
87
  ) }),
@@ -90,74 +90,74 @@ const Q = ({
90
90
  placement: "bottom-start",
91
91
  children: ({ onRequestClose: r }) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(te, { children: n(r) }) })
92
92
  }
93
- ), en = "_navBar_kzibd_1", nn = {
94
- navBar: en
95
- }, tn = ({
93
+ ), tn = "_navBar_kzibd_1", rn = {
94
+ navBar: tn
95
+ }, on = ({
96
96
  className: n,
97
97
  onClick: t
98
98
  }) => /* @__PURE__ */ e(
99
- H,
99
+ O,
100
100
  {
101
101
  leftIcon: ie,
102
102
  className: n,
103
103
  onClick: t
104
104
  }
105
- ), at = ({
105
+ ), dt = ({
106
106
  left: n,
107
107
  className: t,
108
108
  showMenuButton: r = !1,
109
- children: i,
109
+ children: o,
110
110
  right: l,
111
111
  center: a,
112
112
  onClickMenuButton: s
113
113
  }) => {
114
114
  const h = a ? 1 : void 0;
115
- return /* @__PURE__ */ o(
115
+ return /* @__PURE__ */ i(
116
116
  c,
117
117
  {
118
118
  justifyContent: "space-between",
119
- className: _(nn.navBar, t),
119
+ className: _(rn.navBar, t),
120
120
  children: [
121
- /* @__PURE__ */ o(
121
+ /* @__PURE__ */ i(
122
122
  c,
123
123
  {
124
124
  flex: h,
125
125
  justifyContent: "flex-start",
126
126
  alignItems: "center",
127
127
  children: [
128
- /* @__PURE__ */ o(c, { width: "86px", alignItems: "center", children: [
128
+ /* @__PURE__ */ i(c, { width: "86px", alignItems: "center", children: [
129
129
  /* @__PURE__ */ e(B, {}),
130
- r && /* @__PURE__ */ e(tn, { onClick: s })
130
+ r && /* @__PURE__ */ e(on, { onClick: s })
131
131
  ] }),
132
- n && /* @__PURE__ */ o(N, { children: [
132
+ n && /* @__PURE__ */ i(A, { children: [
133
133
  n,
134
134
  /* @__PURE__ */ e(B, { num: 2 })
135
135
  ] }),
136
- i && /* @__PURE__ */ e(N, { children: /* @__PURE__ */ e(c, { justifyContent: "center", alignItems: "center", children: He.Children.map(i, (m, b) => /* @__PURE__ */ o(N, { children: [
136
+ o && /* @__PURE__ */ e(A, { children: /* @__PURE__ */ e(c, { justifyContent: "center", alignItems: "center", children: Oe.Children.map(o, (g, b) => /* @__PURE__ */ i(A, { children: [
137
137
  b > 0 && /* @__PURE__ */ e(B, {}),
138
- m
138
+ g
139
139
  ] })) }) })
140
140
  ]
141
141
  }
142
142
  ),
143
143
  a && /* @__PURE__ */ e(c, { justifyContent: "center", alignItems: "center", children: a }),
144
- /* @__PURE__ */ o(c, { justifyContent: "flex-end", alignItems: "center", flex: h, children: [
144
+ /* @__PURE__ */ i(c, { justifyContent: "flex-end", alignItems: "center", flex: h, children: [
145
145
  l,
146
146
  /* @__PURE__ */ e(B, { num: 2 })
147
147
  ] })
148
148
  ]
149
149
  }
150
150
  );
151
- }, rn = "_navBarButton_b3x3w_1", on = "_selected_b3x3w_14", Y = {
152
- navBarButton: rn,
153
- selected: on
154
- }, ln = Z(
155
- function({ selected: n, className: t, ...r }, i) {
151
+ }, ln = "_navBarButton_b3x3w_1", an = "_selected_b3x3w_14", Y = {
152
+ navBarButton: ln,
153
+ selected: an
154
+ }, cn = Z(
155
+ function({ selected: n, className: t, ...r }, o) {
156
156
  return /* @__PURE__ */ e(
157
- H,
157
+ O,
158
158
  {
159
159
  ...r,
160
- ref: i,
160
+ ref: o,
161
161
  className: _(
162
162
  Y.navBarButton,
163
163
  n && Y.selected,
@@ -166,42 +166,42 @@ const Q = ({
166
166
  }
167
167
  );
168
168
  }
169
- ), ct = (n) => /* @__PURE__ */ e(z, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...n }), st = ({
169
+ ), ut = (n) => /* @__PURE__ */ e(P, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...n }), ht = ({
170
170
  content: n,
171
171
  children: t,
172
172
  appendTo: r,
173
- zIndex: i,
173
+ zIndex: o,
174
174
  ...l
175
175
  }) => {
176
176
  const [a, , s, h] = se(!1);
177
177
  return /* @__PURE__ */ e(
178
178
  ue,
179
179
  {
180
- renderTrigger: (m) => /* @__PURE__ */ e(ln, { ...l, ...m, onClick: h }),
180
+ renderTrigger: (g) => /* @__PURE__ */ e(cn, { ...l, ...g, onClick: h }),
181
181
  open: a,
182
182
  onRequestClose: s,
183
- zIndex: i,
183
+ zIndex: o,
184
184
  appendTo: r,
185
- children: /* @__PURE__ */ o(u, { children: [
185
+ children: /* @__PURE__ */ i(u, { children: [
186
186
  n && n({ close: s }),
187
187
  t
188
188
  ] })
189
189
  }
190
190
  );
191
- }, an = "_navBarNotificationButton_1wt3y_1", cn = "_unread_1wt3y_23", sn = "_icon_1wt3y_23", j = {
192
- navBarNotificationButton: an,
193
- unread: cn,
194
- icon: sn
195
- }, dt = Z(function({
191
+ }, sn = "_navBarNotificationButton_1wt3y_1", dn = "_unread_1wt3y_23", un = "_icon_1wt3y_23", z = {
192
+ navBarNotificationButton: sn,
193
+ unread: dn,
194
+ icon: un
195
+ }, pt = Z(function({
196
196
  count: n,
197
197
  unread: t = !1,
198
198
  className: r,
199
- labelClassName: i,
199
+ labelClassName: o,
200
200
  iconClassName: l,
201
201
  icon: a = we,
202
202
  ...s
203
203
  }, h) {
204
- const m = n > 1;
204
+ const g = n > 1;
205
205
  return /* @__PURE__ */ e(
206
206
  Ce,
207
207
  {
@@ -209,44 +209,44 @@ const Q = ({
209
209
  ref: h,
210
210
  leftIcon: a,
211
211
  className: _(
212
- j.navBarNotificationButton,
213
- t && j.unread,
214
- m && j.hasCount,
212
+ z.navBarNotificationButton,
213
+ t && z.unread,
214
+ g && z.hasCount,
215
215
  r
216
216
  ),
217
- label: m ? String(n) : void 0,
218
- labelClassName: _(i, j.label),
219
- iconClassName: _(l, j.icon)
217
+ label: g ? String(n) : void 0,
218
+ labelClassName: _(o, z.label),
219
+ iconClassName: _(l, z.icon)
220
220
  }
221
221
  );
222
- }), dn = "_navBarSearchFieldInput_1rp8g_1", un = "_navBarSearchFieldWrapper_1rp8g_12", hn = "_withButton_1rp8g_24", pn = "_clearButton_1rp8g_33", A = {
223
- navBarSearchFieldInput: dn,
224
- navBarSearchFieldWrapper: un,
225
- withButton: hn,
226
- clearButton: pn
227
- }, ut = ({
222
+ }), hn = "_navBarSearchFieldInput_1rp8g_1", pn = "_navBarSearchFieldWrapper_1rp8g_12", mn = "_withButton_1rp8g_24", gn = "_clearButton_1rp8g_33", j = {
223
+ navBarSearchFieldInput: hn,
224
+ navBarSearchFieldWrapper: pn,
225
+ withButton: mn,
226
+ clearButton: gn
227
+ }, mt = ({
228
228
  placeholder: n = "Search",
229
229
  className: t,
230
230
  wrapperClassName: r,
231
- showClearButton: i,
231
+ showClearButton: o,
232
232
  onClickClearButton: l,
233
233
  value: a,
234
234
  ...s
235
235
  }) => /* @__PURE__ */ e(
236
- Ke,
236
+ Ze,
237
237
  {
238
238
  wrapperClassName: _(
239
- A.navBarSearchFieldWrapper,
240
- i ? A.withButton : void 0,
239
+ j.navBarSearchFieldWrapper,
240
+ o ? j.withButton : void 0,
241
241
  r
242
242
  ),
243
- className: _(A.navBarSearchFieldInput, t),
243
+ className: _(j.navBarSearchFieldInput, t),
244
244
  placeholder: n,
245
245
  value: a,
246
- buttonRight: a && i ? /* @__PURE__ */ e(
246
+ buttonRight: a && o ? /* @__PURE__ */ e(
247
247
  Be,
248
248
  {
249
- className: A.clearButton,
249
+ className: j.clearButton,
250
250
  icon: ye,
251
251
  variant: "error",
252
252
  onClick: l
@@ -254,29 +254,29 @@ const Q = ({
254
254
  ) : void 0,
255
255
  ...s
256
256
  }
257
- ), gn = "_navBarUserButton_10f9z_1", mn = {
258
- navBarUserButton: gn
259
- }, ht = ({
257
+ ), bn = "_navBarUserButton_10f9z_1", fn = {
258
+ navBarUserButton: bn
259
+ }, gt = ({
260
260
  className: n,
261
261
  username: t,
262
262
  initials: r,
263
- icon: i = Ie,
263
+ icon: o = Ie,
264
264
  responsiveIconOnly: l = r == null,
265
265
  ...a
266
266
  }) => /* @__PURE__ */ e(
267
- Je,
267
+ en,
268
268
  {
269
269
  ...a,
270
- className: _(mn.navBarUserButton, n),
271
- leftIcon: t != null ? i : void 0,
270
+ className: _(fn.navBarUserButton, n),
271
+ leftIcon: t != null ? o : void 0,
272
272
  label: r ?? t,
273
273
  forceRound: r != null,
274
274
  responsiveIconOnly: l,
275
275
  disableArrow: !0
276
276
  }
277
- ), bn = Z(
278
- ({ contentLeft: n, contentRight: t, collapsed: r = !1, ...i }, l) => /* @__PURE__ */ e(
279
- T,
277
+ ), xn = Z(
278
+ ({ contentLeft: n, contentRight: t, collapsed: r = !1, ...o }, l) => /* @__PURE__ */ e(
279
+ U,
280
280
  {
281
281
  ref: l,
282
282
  expandable: !0,
@@ -284,26 +284,26 @@ const Q = ({
284
284
  selected: !r,
285
285
  left: n,
286
286
  right: t,
287
- ...i
287
+ ...o
288
288
  }
289
289
  )
290
- ), pt = ({
290
+ ), bt = ({
291
291
  children: n
292
- }) => /* @__PURE__ */ e(d, { gap: 1, children: n }), gt = ({
292
+ }) => /* @__PURE__ */ e(d, { gap: 1, children: n }), ft = ({
293
293
  value: n,
294
294
  onValueChange: t,
295
295
  onChange: r,
296
- indeterminate: i,
296
+ indeterminate: o,
297
297
  checkboxDisabled: l,
298
298
  ...a
299
299
  }) => /* @__PURE__ */ e(
300
- bn,
300
+ xn,
301
301
  {
302
302
  contentLeft: /* @__PURE__ */ e(
303
- ge,
303
+ me,
304
304
  {
305
305
  value: n,
306
- indeterminate: i,
306
+ indeterminate: o,
307
307
  onValueChange: t,
308
308
  onChange: r,
309
309
  disabled: l,
@@ -312,101 +312,101 @@ const Q = ({
312
312
  ),
313
313
  ...a
314
314
  }
315
- ), fn = "_sidebarMenuCollapsibleGroupBox_ikek9_1", xn = {
316
- sidebarMenuCollapsibleGroupBox: fn
317
- }, vn = ({ children: n }) => /* @__PURE__ */ e("div", { className: xn.sidebarMenuCollapsibleGroupBox, children: n }), mt = ({ children: n }) => /* @__PURE__ */ e(u, { spacing: !0, indent: !0, children: /* @__PURE__ */ e(f, { variant: "overline", size: "smaller", children: n }) }), bt = ({ text: n = "No content" }) => /* @__PURE__ */ o(d, { indent: !0, spacing: !0, flex: 1, alignItems: "center", children: [
318
- /* @__PURE__ */ e(D, { icon: _e, color: p("--lhds-color-ui-500") }),
319
- /* @__PURE__ */ e(C, {}),
320
- /* @__PURE__ */ e(f, { size: "small", color: p("--lhds-color-ui-500"), children: n })
321
- ] }), Cn = ({
315
+ ), vn = "_sidebarMenuCollapsibleGroupBox_ikek9_1", Cn = {
316
+ sidebarMenuCollapsibleGroupBox: vn
317
+ }, wn = ({ children: n }) => /* @__PURE__ */ e("div", { className: Cn.sidebarMenuCollapsibleGroupBox, children: n }), xt = ({ children: n }) => /* @__PURE__ */ e(u, { spacing: !0, indent: !0, children: /* @__PURE__ */ e(x, { variant: "overline", size: "smaller", children: n }) }), vt = ({ text: n = "No content" }) => /* @__PURE__ */ i(d, { indent: !0, spacing: !0, flex: 1, alignItems: "center", children: [
318
+ /* @__PURE__ */ e(G, { icon: _e, color: p("--lhds-color-ui-500") }),
319
+ /* @__PURE__ */ e(w, {}),
320
+ /* @__PURE__ */ e(x, { size: "small", color: p("--lhds-color-ui-500"), children: n })
321
+ ] }), Bn = ({
322
322
  text: n,
323
323
  heading: t,
324
324
  children: r,
325
- buttons: i,
325
+ buttons: o,
326
326
  icon: l = Re,
327
327
  headingLevel: a = "h3",
328
328
  ...s
329
329
  }) => {
330
330
  const h = !n && !t ? "Something unexpected happened." : n;
331
- return /* @__PURE__ */ e(ke, { ...s, children: /* @__PURE__ */ e(Se, { children: /* @__PURE__ */ o(d, { spacing: 1, gap: 3, alignItems: "center", children: [
332
- /* @__PURE__ */ o(d, { alignItems: "center", children: [
333
- /* @__PURE__ */ e(C, { num: 1 }),
334
- /* @__PURE__ */ e(W, { icon: l, size: "xl" })
331
+ return /* @__PURE__ */ e(Se, { ...s, children: /* @__PURE__ */ e(ke, { children: /* @__PURE__ */ i(d, { spacing: 1, gap: 3, alignItems: "center", children: [
332
+ /* @__PURE__ */ i(d, { alignItems: "center", children: [
333
+ /* @__PURE__ */ e(w, { num: 1 }),
334
+ /* @__PURE__ */ e(E, { icon: l, size: "xl" })
335
335
  ] }),
336
- t && /* @__PURE__ */ e(z, { as: a, children: t }),
337
- h && /* @__PURE__ */ e(f, { children: h }),
336
+ t && /* @__PURE__ */ e(P, { as: a, children: t }),
337
+ h && /* @__PURE__ */ e(x, { children: h }),
338
338
  r,
339
- i && /* @__PURE__ */ o(u, { children: [
340
- /* @__PURE__ */ e(C, { num: 2 }),
341
- i
339
+ o && /* @__PURE__ */ i(u, { children: [
340
+ /* @__PURE__ */ e(w, { num: 2 }),
341
+ o
342
342
  ] })
343
343
  ] }) }) });
344
- }, ft = (n) => /* @__PURE__ */ e(
344
+ }, Ct = (n) => /* @__PURE__ */ e(
345
345
  u,
346
346
  {
347
347
  width: "100%",
348
348
  height: "100%",
349
349
  justifyContent: "center",
350
350
  alignItems: "center",
351
- children: /* @__PURE__ */ e(Cn, { ...n })
351
+ children: /* @__PURE__ */ e(Bn, { ...n })
352
352
  }
353
- ), wn = ({
353
+ ), yn = ({
354
354
  text: n = "Loading..."
355
- }) => /* @__PURE__ */ o(u, { alignItems: "center", children: [
356
- /* @__PURE__ */ e(G, { size: "small" }),
357
- /* @__PURE__ */ e(C, { num: 4 }),
358
- /* @__PURE__ */ e(z, { variant: "h4", children: n })
359
- ] }), xt = (n) => /* @__PURE__ */ e(
355
+ }) => /* @__PURE__ */ i(u, { alignItems: "center", children: [
356
+ /* @__PURE__ */ e(D, { size: "small" }),
357
+ /* @__PURE__ */ e(w, { num: 4 }),
358
+ /* @__PURE__ */ e(P, { variant: "h4", children: n })
359
+ ] }), wt = (n) => /* @__PURE__ */ e(
360
360
  u,
361
361
  {
362
362
  width: "100%",
363
363
  height: "100%",
364
364
  justifyContent: "center",
365
365
  alignItems: "center",
366
- children: /* @__PURE__ */ e(wn, { ...n })
366
+ children: /* @__PURE__ */ e(yn, { ...n })
367
367
  }
368
- ), vt = ({
368
+ ), Bt = ({
369
369
  renderBreadCrumbs: n,
370
370
  renderPageHeading: t,
371
371
  renderTabs: r,
372
- children: i
373
- }) => /* @__PURE__ */ o(u, { shadow: "bottom", background: p("--lhds-color-ui-50"), gap: 2, children: [
374
- /* @__PURE__ */ o(u, { indent: 3, children: [
375
- n && /* @__PURE__ */ o(c, { spacing: 1, alignItems: "center", children: [
372
+ children: o
373
+ }) => /* @__PURE__ */ i(u, { shadow: "bottom", background: p("--lhds-color-ui-50"), gap: 2, children: [
374
+ /* @__PURE__ */ i(u, { indent: 3, children: [
375
+ n && /* @__PURE__ */ i(c, { spacing: 1, alignItems: "center", children: [
376
376
  /* @__PURE__ */ e(c, { width: "64px", height: "16px" }),
377
377
  n()
378
378
  ] }),
379
379
  t?.(),
380
- r && /* @__PURE__ */ e(C, {}),
380
+ r && /* @__PURE__ */ e(w, {}),
381
381
  r?.()
382
382
  ] }),
383
- i
384
- ] }), Ct = (n) => /* @__PURE__ */ e(c, { indent: 3, spacing: !0, ...n }), wt = ({
383
+ o
384
+ ] }), yt = (n) => /* @__PURE__ */ e(c, { indent: 3, spacing: !0, ...n }), It = ({
385
385
  icon: n,
386
386
  heading: t,
387
387
  headingLevel: r = "h2",
388
- contentLeft: i,
388
+ contentLeft: o,
389
389
  contentRight: l
390
- }) => /* @__PURE__ */ o(c, { alignItems: "center", gap: 2, height: "64px", children: [
391
- /* @__PURE__ */ o(c, { alignItems: "center", children: [
392
- /* @__PURE__ */ e(c, { width: "64px", alignItems: "center", children: n && /* @__PURE__ */ e(W, { icon: n }) }),
393
- /* @__PURE__ */ e(z, { variant: "h3", as: r, children: t })
390
+ }) => /* @__PURE__ */ i(c, { alignItems: "center", gap: 2, height: "64px", children: [
391
+ /* @__PURE__ */ i(c, { alignItems: "center", children: [
392
+ /* @__PURE__ */ e(c, { width: "64px", alignItems: "center", children: n && /* @__PURE__ */ e(E, { icon: n }) }),
393
+ /* @__PURE__ */ e(P, { variant: "h3", as: r, children: t })
394
394
  ] }),
395
- /* @__PURE__ */ e(c, { alignItems: "center", children: i }),
395
+ /* @__PURE__ */ e(c, { alignItems: "center", children: o }),
396
396
  /* @__PURE__ */ e(c, { style: { marginLeft: "auto" }, alignItems: "center", children: l })
397
- ] }), Bn = "_selectionRow_1njaw_1", yn = "_iconColumn_1njaw_9", ee = {
398
- selectionRow: Bn,
399
- iconColumn: yn
400
- }, Bt = ({
397
+ ] }), In = "_selectionRow_1njaw_1", _n = "_iconColumn_1njaw_9", ee = {
398
+ selectionRow: In,
399
+ iconColumn: _n
400
+ }, _t = ({
401
401
  icon: n,
402
402
  heading: t,
403
403
  description: r,
404
- contentRight: i,
404
+ contentRight: o,
405
405
  htmlFor: l,
406
406
  circledIconVariant: a,
407
407
  ...s
408
- }) => /* @__PURE__ */ o("div", { className: ee.selectionRow, ...$(s), children: [
409
- /* @__PURE__ */ o(c, { gap: 2, children: [
408
+ }) => /* @__PURE__ */ i("div", { className: ee.selectionRow, ...H(s), children: [
409
+ /* @__PURE__ */ i(c, { gap: 2, children: [
410
410
  n && /* @__PURE__ */ e(
411
411
  u,
412
412
  {
@@ -414,24 +414,24 @@ const Q = ({
414
414
  justifyContent: "center",
415
415
  width: "40px",
416
416
  className: ee.iconColumn,
417
- children: /* @__PURE__ */ e(W, { icon: n, variant: a })
417
+ children: /* @__PURE__ */ e(E, { icon: n, variant: a })
418
418
  }
419
419
  ),
420
- /* @__PURE__ */ e("label", { htmlFor: l, children: /* @__PURE__ */ o(d, { gap: 0.5, children: [
421
- /* @__PURE__ */ e(f, { variant: "bold", children: t }),
422
- typeof r == "string" ? /* @__PURE__ */ e(f, { color: p("--silver-dark"), children: r }) : r
420
+ /* @__PURE__ */ e("label", { htmlFor: l, children: /* @__PURE__ */ i(d, { gap: 0.5, children: [
421
+ /* @__PURE__ */ e(x, { variant: "bold", children: t }),
422
+ typeof r == "string" ? /* @__PURE__ */ e(x, { color: p("--silver-dark"), children: r }) : r
423
423
  ] }) })
424
424
  ] }),
425
- i
426
- ] }), In = "_sidebarMenu_1bx5w_1", _n = "_sidebarItems_1bx5w_38", kn = "_scrollContainer_1bx5w_48", E = {
427
- sidebarMenu: In,
428
- sidebarItems: _n,
429
- scrollContainer: kn
430
- }, Sn = "_stenaFlag_108h7_1", Rn = {
431
- stenaFlag: Sn
432
- }, Mn = ({ onClick: n }) => /* @__PURE__ */ o(d, { background: p("--lhds-color-ui-50"), children: [
433
- /* @__PURE__ */ e(C, {}),
434
- /* @__PURE__ */ o(
425
+ o
426
+ ] }), Sn = "_sidebarMenu_1bx5w_1", kn = "_sidebarItems_1bx5w_38", Rn = "_scrollContainer_1bx5w_48", q = {
427
+ sidebarMenu: Sn,
428
+ sidebarItems: kn,
429
+ scrollContainer: Rn
430
+ }, Mn = "_stenaFlag_108h7_1", Nn = {
431
+ stenaFlag: Mn
432
+ }, Pn = ({ onClick: n }) => /* @__PURE__ */ i(d, { background: p("--lhds-color-ui-50"), children: [
433
+ /* @__PURE__ */ e(w, {}),
434
+ /* @__PURE__ */ i(
435
435
  c,
436
436
  {
437
437
  justifyContent: "space-between",
@@ -441,60 +441,60 @@ const Q = ({
441
441
  minHeight: "48px",
442
442
  children: [
443
443
  /* @__PURE__ */ e(Me, { onClick: n }),
444
- /* @__PURE__ */ e(Ne, { className: Rn.stenaFlag })
444
+ /* @__PURE__ */ e(Ne, { className: Nn.stenaFlag })
445
445
  ]
446
446
  }
447
447
  )
448
- ] }), Nn = ({
448
+ ] }), zn = ({
449
449
  isPinned: n,
450
450
  onClick: t,
451
451
  label: r
452
- }) => /* @__PURE__ */ e(T, { onClick: t, label: r ?? (n ? "Unpin menu" : "Pin menu"), leftIcon: n ? le : Pe }), yt = ({
452
+ }) => /* @__PURE__ */ e(U, { onClick: t, label: r ?? (n ? "Unpin menu" : "Pin menu"), leftIcon: n ? le : Pe }), St = ({
453
453
  className: n,
454
454
  children: t,
455
455
  onCloseClick: r,
456
- pinButtonVisible: i,
456
+ pinButtonVisible: o,
457
457
  onClickPinButton: l,
458
458
  bottomItems: a,
459
459
  isPinned: s,
460
460
  ...h
461
- }) => /* @__PURE__ */ o(u, { ...h, className: _(E.sidebarMenu, n), children: [
462
- /* @__PURE__ */ e(Mn, { onClick: r }),
463
- /* @__PURE__ */ e(u, { className: E.scrollContainer, children: /* @__PURE__ */ o(
461
+ }) => /* @__PURE__ */ i(u, { ...h, className: _(q.sidebarMenu, n), children: [
462
+ /* @__PURE__ */ e(Pn, { onClick: r }),
463
+ /* @__PURE__ */ e(u, { className: q.scrollContainer, children: /* @__PURE__ */ i(
464
464
  d,
465
465
  {
466
- className: E.sidebarItems,
466
+ className: q.sidebarItems,
467
467
  justifyContent: "space-between",
468
468
  flex: 1,
469
469
  gap: 1,
470
470
  indent: 1,
471
471
  children: [
472
472
  /* @__PURE__ */ e(d, { gap: 1, children: t }),
473
- (a || i) && /* @__PURE__ */ o(d, { gap: 1, children: [
473
+ (a || o) && /* @__PURE__ */ i(d, { gap: 1, children: [
474
474
  a,
475
- i && /* @__PURE__ */ e(
476
- Nn,
475
+ o && /* @__PURE__ */ e(
476
+ zn,
477
477
  {
478
478
  isPinned: s,
479
479
  onClick: l
480
480
  }
481
481
  ),
482
- /* @__PURE__ */ e(C, {})
482
+ /* @__PURE__ */ e(w, {})
483
483
  ] })
484
484
  ]
485
485
  }
486
486
  ) })
487
- ] }), O = We(!1), X = () => $e(O), Pn = ({
487
+ ] }), T = Ee(!1), X = () => He(T), Fn = ({
488
488
  label: n,
489
489
  ...t
490
- }) => /* @__PURE__ */ e(pe, { label: n, placement: "right", appendTo: document.body, children: /* @__PURE__ */ e(K, { ...t }) }), It = ({
490
+ }) => /* @__PURE__ */ e(pe, { label: n, placement: "right", appendTo: document.body, children: /* @__PURE__ */ e(K, { ...t }) }), kt = ({
491
491
  closeButtonVisible: n,
492
492
  onClickCloseButton: t,
493
493
  onClickMenuButton: r,
494
- children: i,
494
+ children: o,
495
495
  bottomItems: l,
496
496
  closeButtonTitle: a = "Unpin menu"
497
- }) => /* @__PURE__ */ o(
497
+ }) => /* @__PURE__ */ i(
498
498
  u,
499
499
  {
500
500
  position: "fixed",
@@ -508,12 +508,12 @@ const Q = ({
508
508
  background: p("--lhds-color-ui-50"),
509
509
  children: [
510
510
  /* @__PURE__ */ e(K, { onClick: r, icon: ie }),
511
- /* @__PURE__ */ o(d, { justifyContent: "space-between", flex: 1, gap: 1, children: [
512
- /* @__PURE__ */ e(d, { gap: 1, children: /* @__PURE__ */ e(O.Provider, { value: !0, children: i }) }),
513
- /* @__PURE__ */ e(d, { gap: 1, children: (l || n) && /* @__PURE__ */ o(O.Provider, { value: !0, children: [
511
+ /* @__PURE__ */ i(d, { justifyContent: "space-between", flex: 1, gap: 1, children: [
512
+ /* @__PURE__ */ e(d, { gap: 1, children: /* @__PURE__ */ e(T.Provider, { value: !0, children: o }) }),
513
+ /* @__PURE__ */ e(d, { gap: 1, children: (l || n) && /* @__PURE__ */ i(T.Provider, { value: !0, children: [
514
514
  l,
515
515
  n && /* @__PURE__ */ e(
516
- Pn,
516
+ Fn,
517
517
  {
518
518
  icon: le,
519
519
  label: a,
@@ -524,20 +524,20 @@ const Q = ({
524
524
  ] })
525
525
  ]
526
526
  }
527
- ), zn = ({
527
+ ), jn = ({
528
528
  label: n
529
- }) => X() ? null : /* @__PURE__ */ o(u, { height: "32px", justifyContent: "center", indent: 1, children: [
530
- /* @__PURE__ */ e(C, {}),
531
- /* @__PURE__ */ e(f, { variant: "overline", size: "smaller", children: n })
532
- ] }), jn = ({
529
+ }) => X() ? null : /* @__PURE__ */ i(u, { height: "32px", justifyContent: "center", indent: 1, children: [
530
+ /* @__PURE__ */ e(w, {}),
531
+ /* @__PURE__ */ e(x, { variant: "overline", size: "smaller", children: n })
532
+ ] }), An = ({
533
533
  label: n,
534
534
  leftIcon: t,
535
535
  ...r
536
- }) => t == null ? null : /* @__PURE__ */ e(pe, { label: n, placement: "right", children: /* @__PURE__ */ e(ze, { icon: t, ...r }) }), _t = (n) => X() ? /* @__PURE__ */ e(jn, { ...n }) : /* @__PURE__ */ e(je, { ...n }), Fn = ({
536
+ }) => t == null ? null : /* @__PURE__ */ e(pe, { label: n, placement: "right", children: /* @__PURE__ */ e(ze, { icon: t, ...r }) }), Rt = (n) => X() ? /* @__PURE__ */ e(An, { ...n }) : /* @__PURE__ */ e(Fe, { ...n }), Ln = ({
537
537
  children: n,
538
538
  label: t,
539
539
  icon: r,
540
- popupMinWidth: i = "200px"
540
+ popupMinWidth: o = "200px"
541
541
  }) => /* @__PURE__ */ e(
542
542
  he,
543
543
  {
@@ -548,101 +548,110 @@ const Q = ({
548
548
  children: /* @__PURE__ */ e(
549
549
  u,
550
550
  {
551
- minWidth: i,
551
+ minWidth: o,
552
552
  shadow: "popover",
553
553
  spacing: 1,
554
554
  indent: 1,
555
555
  gap: 2,
556
- children: /* @__PURE__ */ o(O.Provider, { value: !1, children: [
557
- /* @__PURE__ */ e(zn, { label: t }),
556
+ children: /* @__PURE__ */ i(T.Provider, { value: !1, children: [
557
+ /* @__PURE__ */ e(jn, { label: t }),
558
558
  n
559
559
  ] })
560
560
  }
561
561
  )
562
562
  }
563
- ), kt = ({
563
+ ), Mt = ({
564
564
  children: n,
565
565
  label: t,
566
566
  leftIcon: r,
567
- className: i,
567
+ className: o,
568
568
  initialExpand: l = !1
569
569
  }) => {
570
570
  const [a, s] = L(l);
571
- return X() ? r == null ? null : /* @__PURE__ */ e(Fn, { label: t, icon: r, children: n }) : /* @__PURE__ */ e(
572
- T,
571
+ return X() ? r == null ? null : /* @__PURE__ */ e(Ln, { label: t, icon: r, children: n }) : /* @__PURE__ */ e(
572
+ U,
573
573
  {
574
574
  label: t,
575
575
  onClick: () => s(!a),
576
576
  leftIcon: r,
577
- className: i,
577
+ className: o,
578
578
  expandable: !0,
579
579
  expanded: a,
580
580
  selected: a,
581
- children: /* @__PURE__ */ e(vn, { children: n })
581
+ children: /* @__PURE__ */ e(wn, { children: n })
582
582
  }
583
583
  );
584
- }, St = (n) => /* @__PURE__ */ e(
585
- Ue,
584
+ }, Nt = (n) => /* @__PURE__ */ e(
585
+ $e,
586
586
  {
587
587
  color: p("--lhds-color-ui-400"),
588
588
  ...n
589
589
  }
590
- ), Rt = ({ numItemsSelected: n, label: t, afterLabelContent: r, rightContent: i }) => /* @__PURE__ */ o(
591
- c,
592
- {
593
- indent: 3,
594
- spacing: !0,
595
- gap: 3,
596
- minHeight: "56px",
597
- justifyContent: "space-between",
598
- alignItems: "center",
599
- background: p("--silver-lighter"),
600
- flex: 1,
601
- borderRadius: "var(--swui-border-radius)",
602
- children: [
603
- /* @__PURE__ */ o(c, { alignItems: "center", gap: 2, children: [
604
- n != null || t != null ? /* @__PURE__ */ e(c, { alignItems: "center", children: n != null ? /* @__PURE__ */ o(N, { children: [
605
- /* @__PURE__ */ e(f, { children: n }),
606
- /* @__PURE__ */ e(C, {}),
607
- /* @__PURE__ */ o(f, { children: [
608
- "item",
609
- n === 1 ? "" : "s",
610
- " selected"
611
- ] })
612
- ] }) : t != null ? /* @__PURE__ */ e(N, { children: typeof t == "string" ? /* @__PURE__ */ e(f, { children: t }) : t }) : null }) : null,
613
- r && /* @__PURE__ */ e(c, { children: r })
614
- ] }),
615
- /* @__PURE__ */ e(c, { gap: 2, children: i })
616
- ]
617
- }
618
- ), Mt = ({ children: n }) => /* @__PURE__ */ e(c, { spacing: 0.5, indent: 0.5, flex: 1, children: n }), An = "_productCard_19x6b_1", Ln = {
619
- productCard: An
620
- }, Nt = ({
590
+ ), Tn = (n, t, r) => n == null ? "" : (qe(Ue(r))(n, t) ?? "").replace("{ITEMS}", String(n)), Pt = ({
591
+ numItemsSelected: n,
592
+ label: t,
593
+ selectedLabel: r = {
594
+ one: "{ITEMS} item selected",
595
+ other: "{ITEMS} items selected"
596
+ },
597
+ afterLabelContent: o,
598
+ rightContent: l,
599
+ localeId: a = "en-GB"
600
+ }) => {
601
+ const s = Tn(
602
+ n,
603
+ r,
604
+ a
605
+ );
606
+ return /* @__PURE__ */ i(
607
+ c,
608
+ {
609
+ indent: 3,
610
+ spacing: !0,
611
+ gap: 3,
612
+ minHeight: "56px",
613
+ justifyContent: "space-between",
614
+ alignItems: "center",
615
+ background: p("--silver-lighter"),
616
+ flex: 1,
617
+ borderRadius: "var(--swui-border-radius)",
618
+ children: [
619
+ /* @__PURE__ */ i(c, { alignItems: "center", gap: 2, children: [
620
+ n != null || t != null ? /* @__PURE__ */ e(c, { alignItems: "center", children: n != null ? /* @__PURE__ */ e(x, { children: s }) : t != null ? typeof t == "string" ? /* @__PURE__ */ e(x, { children: t }) : t : null }) : null,
621
+ o && /* @__PURE__ */ e(c, { children: o })
622
+ ] }),
623
+ /* @__PURE__ */ e(c, { gap: 2, children: l })
624
+ ]
625
+ }
626
+ );
627
+ }, zt = ({ children: n }) => /* @__PURE__ */ e(c, { spacing: 0.5, indent: 0.5, flex: 1, children: n }), On = "_productCard_19x6b_1", En = {
628
+ productCard: On
629
+ }, Ft = ({
621
630
  renderSelectedProductCard: n,
622
631
  renderEditButton: t,
623
632
  children: r,
624
- loading: i,
633
+ loading: o,
625
634
  shadow: l,
626
635
  ...a
627
- }) => /* @__PURE__ */ o(
636
+ }) => /* @__PURE__ */ i(
628
637
  d,
629
638
  {
630
639
  "data-comp": "ProductCard",
631
- className: Ln.productCard,
640
+ className: En.productCard,
632
641
  shadow: l ? "box" : void 0,
633
642
  background: p("--moln"),
634
643
  borderRadius: "24px",
635
644
  overflow: "hidden",
636
- position: i ? "relative" : void 0,
637
- ...$(a),
645
+ position: o ? "relative" : void 0,
646
+ ...H(a),
638
647
  children: [
639
648
  n?.(),
640
649
  /* @__PURE__ */ e(d, { gap: 2, children: r }),
641
- t && /* @__PURE__ */ o(d, { children: [
650
+ t && /* @__PURE__ */ i(d, { children: [
642
651
  /* @__PURE__ */ e(c, { indent: 2, justifyContent: "flex-end", children: t() }),
643
- /* @__PURE__ */ e(Ee, {})
652
+ /* @__PURE__ */ e(Ge, {})
644
653
  ] }),
645
- i && /* @__PURE__ */ e(
654
+ o && /* @__PURE__ */ e(
646
655
  u,
647
656
  {
648
657
  top: 0,
@@ -653,67 +662,67 @@ const Q = ({
653
662
  justifyContent: "center",
654
663
  alignItems: "center",
655
664
  background: "rgba(255, 255, 255, 0.7)",
656
- children: /* @__PURE__ */ e(G, {})
665
+ children: /* @__PURE__ */ e(D, {})
657
666
  }
658
667
  )
659
668
  ]
660
669
  }
661
- ), On = ({ children: n }) => /* @__PURE__ */ e(f, { variant: "bold", style: { fontSize: "2.0rem" }, children: n }), Pt = ({
670
+ ), Hn = ({ children: n }) => /* @__PURE__ */ e(x, { variant: "bold", style: { fontSize: "2.0rem" }, children: n }), jt = ({
662
671
  description: n,
663
672
  subDescription: t,
664
673
  descriptionTags: r,
665
- capacityTag: i,
674
+ capacityTag: o,
666
675
  offerCodeTag: l,
667
676
  priceText: a,
668
677
  title: s,
669
678
  subTitle: h,
670
- renderImage: m,
679
+ renderImage: g,
671
680
  children: b,
672
- headingLevel: x
681
+ headingLevel: f
673
682
  }) => {
674
- const w = r == null ? !1 : Array.isArray(r) ? r.length > 0 : !Te(r);
675
- return /* @__PURE__ */ o(d, { children: [
676
- m?.(),
677
- /* @__PURE__ */ o(u, { gap: 2, spacing: 4, indent: 4, background: p("--moln"), children: [
678
- /* @__PURE__ */ o(u, { gap: 0.5, children: [
679
- /* @__PURE__ */ o(
683
+ const C = r == null ? !1 : Array.isArray(r) ? r.length > 0 : !De(r);
684
+ return /* @__PURE__ */ i(d, { children: [
685
+ g?.(),
686
+ /* @__PURE__ */ i(u, { gap: 2, spacing: 4, indent: 4, background: p("--moln"), children: [
687
+ /* @__PURE__ */ i(u, { gap: 0.5, children: [
688
+ /* @__PURE__ */ i(
680
689
  c,
681
690
  {
682
691
  justifyContent: "space-between",
683
692
  alignItems: "flex-start",
684
693
  gap: 2,
685
694
  children: [
686
- /* @__PURE__ */ e(z, { variant: "h3", as: x, children: s }),
687
- /* @__PURE__ */ o(c, { gap: 2, children: [
695
+ /* @__PURE__ */ e(P, { variant: "h3", as: f, children: s }),
696
+ /* @__PURE__ */ i(c, { gap: 2, children: [
688
697
  l && /* @__PURE__ */ e(d, { justifyContent: "center", children: l }),
689
- /* @__PURE__ */ e(On, { children: a })
698
+ /* @__PURE__ */ e(Hn, { children: a })
690
699
  ] })
691
700
  ]
692
701
  }
693
702
  ),
694
- h && /* @__PURE__ */ e(f, { variant: "bold", color: p("--silver-dark"), children: h })
703
+ h && /* @__PURE__ */ e(x, { variant: "bold", color: p("--silver-dark"), children: h })
695
704
  ] }),
696
- (w || i) && /* @__PURE__ */ o(d, { children: [
697
- /* @__PURE__ */ o(c, { gap: 1, flexWrap: "wrap", children: [
705
+ (C || o) && /* @__PURE__ */ i(d, { children: [
706
+ /* @__PURE__ */ i(c, { gap: 1, flexWrap: "wrap", children: [
698
707
  r,
699
- i && /* @__PURE__ */ e(Fe, { label: i, variant: "passive" })
708
+ o && /* @__PURE__ */ e(je, { label: o, variant: "passive" })
700
709
  ] }),
701
- /* @__PURE__ */ e(C, {})
710
+ /* @__PURE__ */ e(w, {})
702
711
  ] }),
703
- n && /* @__PURE__ */ o(d, { children: [
704
- /* @__PURE__ */ e(f, { children: n }),
705
- /* @__PURE__ */ e(C, {})
712
+ n && /* @__PURE__ */ i(d, { children: [
713
+ /* @__PURE__ */ e(x, { children: n }),
714
+ /* @__PURE__ */ e(w, {})
706
715
  ] }),
707
- t && /* @__PURE__ */ o(d, { children: [
708
- /* @__PURE__ */ e(f, { children: t }),
709
- /* @__PURE__ */ e(C, {})
716
+ t && /* @__PURE__ */ i(d, { children: [
717
+ /* @__PURE__ */ e(x, { children: t }),
718
+ /* @__PURE__ */ e(w, {})
710
719
  ] }),
711
720
  b
712
721
  ] })
713
722
  ] });
714
- }, zt = ({ renderImage: n }) => /* @__PURE__ */ o(d, { children: [
723
+ }, At = ({ renderImage: n }) => /* @__PURE__ */ i(d, { children: [
715
724
  n?.(),
716
- /* @__PURE__ */ o(u, { gap: 3, spacing: 4, indent: 4, background: p("--moln"), children: [
725
+ /* @__PURE__ */ i(u, { gap: 3, spacing: 4, indent: 4, background: p("--moln"), children: [
717
726
  /* @__PURE__ */ e(u, { gap: 0.5, children: /* @__PURE__ */ e(
718
727
  c,
719
728
  {
@@ -721,7 +730,7 @@ const Q = ({
721
730
  alignItems: "flex-start",
722
731
  gap: 2,
723
732
  children: /* @__PURE__ */ e(
724
- P,
733
+ N,
725
734
  {
726
735
  width: "50px",
727
736
  height: "2.8rem",
@@ -730,34 +739,34 @@ const Q = ({
730
739
  )
731
740
  }
732
741
  ) }),
733
- /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(P, { width: "180px", height: "2.0rem", borderRadius: "8px" }) }),
734
- /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(P, { width: "150px", height: "1.4rem", borderRadius: "8px" }) })
742
+ /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(N, { width: "180px", height: "2.0rem", borderRadius: "8px" }) }),
743
+ /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(N, { width: "150px", height: "1.4rem", borderRadius: "8px" }) })
735
744
  ] })
736
- ] }), jt = ({
745
+ ] }), Lt = ({
737
746
  label: n,
738
747
  children: t
739
- }) => /* @__PURE__ */ o(u, { background: p("--mussla"), indent: 2, spacing: 2, gap: 2, children: [
740
- /* @__PURE__ */ e(z, { variant: "h3", as: "h2", color: "white", children: n }),
748
+ }) => /* @__PURE__ */ i(u, { background: p("--mussla"), indent: 2, spacing: 2, gap: 2, children: [
749
+ /* @__PURE__ */ e(P, { variant: "h3", as: "h2", color: "white", children: n }),
741
750
  t
742
- ] }), Ft = ({
751
+ ] }), Tt = ({
743
752
  title: n,
744
753
  variant: t = "normal",
745
754
  loading: r,
746
- iconLeft: i,
755
+ iconLeft: o,
747
756
  compactIconLeft: l,
748
757
  renderButton: a,
749
758
  renderOfferCodeTag: s,
750
759
  renderMandatoryTag: h,
751
- renderContentLeftOfButton: m,
760
+ renderContentLeftOfButton: g,
752
761
  children: b,
753
- ...x
762
+ ...f
754
763
  }) => {
755
- const { fontSizeRatio: w } = De(), y = M({
764
+ const { fontSizeRatio: C } = Ke(), y = M({
756
765
  query: "(max-width: 460px)"
757
766
  }), I = M({
758
767
  query: "(max-width: 360px)"
759
- }) || y && w > 1.2, v = r ? "normal" : t, S = Wn(v), g = p("--moln"), q = Hn(v);
760
- return /* @__PURE__ */ o(
768
+ }) || y && C > 1.2, v = r ? "normal" : t, k = $n(v), m = p("--moln"), W = Wn(v);
769
+ return /* @__PURE__ */ i(
761
770
  u,
762
771
  {
763
772
  "data-comp": "ProductSummaryCard",
@@ -765,22 +774,22 @@ const Q = ({
765
774
  shadow: "box",
766
775
  overflow: "hidden",
767
776
  position: r ? "relative" : void 0,
768
- ...$(x),
777
+ ...H(f),
769
778
  children: [
770
- /* @__PURE__ */ o(c, { flex: 1, children: [
771
- !I && /* @__PURE__ */ e(u, { flex: 2, justifyContent: "center", background: S, children: i && /* @__PURE__ */ e(D, { color: q, icon: i, size: 73 }) }),
772
- /* @__PURE__ */ e(u, { flex: 4, indent: 2, spacing: 2, background: g, children: /* @__PURE__ */ o(d, { gap: 2, children: [
773
- n && /* @__PURE__ */ o(c, { justifyContent: "space-between", children: [
774
- /* @__PURE__ */ o(c, { gap: 2, alignItems: "center", children: [
775
- I && l && /* @__PURE__ */ e(W, { icon: l, size: "medium" }),
776
- /* @__PURE__ */ e(f, { variant: "bold", size: "large", children: n })
779
+ /* @__PURE__ */ i(c, { flex: 1, children: [
780
+ !I && /* @__PURE__ */ e(u, { flex: 2, justifyContent: "center", background: k, children: o && /* @__PURE__ */ e(G, { color: W, icon: o, size: 73 }) }),
781
+ /* @__PURE__ */ e(u, { flex: 4, indent: 2, spacing: 2, background: m, children: /* @__PURE__ */ i(d, { gap: 2, children: [
782
+ n && /* @__PURE__ */ i(c, { justifyContent: "space-between", children: [
783
+ /* @__PURE__ */ i(c, { gap: 2, alignItems: "center", children: [
784
+ I && l && /* @__PURE__ */ e(E, { icon: l, size: "medium" }),
785
+ /* @__PURE__ */ e(x, { variant: "bold", size: "large", children: n })
777
786
  ] }),
778
787
  v == "normal" && s?.()
779
788
  ] }),
780
789
  /* @__PURE__ */ e(d, { style: { opacity: r ? 0 : void 0 }, children: b }),
781
790
  h && /* @__PURE__ */ e(c, { style: { opacity: r ? 0 : void 0 }, children: h() }),
782
791
  /* @__PURE__ */ e("div", {}),
783
- /* @__PURE__ */ o(
792
+ /* @__PURE__ */ i(
784
793
  c,
785
794
  {
786
795
  justifyContent: "space-between",
@@ -788,7 +797,7 @@ const Q = ({
788
797
  gap: 2,
789
798
  flexWrap: "wrap",
790
799
  children: [
791
- m?.() ?? /* @__PURE__ */ e("div", {}),
800
+ g?.() ?? /* @__PURE__ */ e("div", {}),
792
801
  a?.()
793
802
  ]
794
803
  }
@@ -806,13 +815,13 @@ const Q = ({
806
815
  justifyContent: "center",
807
816
  alignItems: "center",
808
817
  background: "rgba(255, 255, 255, 0.7)",
809
- children: /* @__PURE__ */ e(G, {})
818
+ children: /* @__PURE__ */ e(D, {})
810
819
  }
811
820
  )
812
821
  ]
813
822
  }
814
823
  );
815
- }, Hn = (n) => {
824
+ }, Wn = (n) => {
816
825
  switch (n) {
817
826
  case "edit":
818
827
  return p("--moln");
@@ -823,7 +832,7 @@ const Q = ({
823
832
  default:
824
833
  de(n);
825
834
  }
826
- }, Wn = (n) => {
835
+ }, $n = (n) => {
827
836
  switch (n) {
828
837
  case "edit":
829
838
  return p("--mussla");
@@ -834,35 +843,35 @@ const Q = ({
834
843
  default:
835
844
  de(n);
836
845
  }
837
- }, At = ({ iconLeft: n, ...t }) => /* @__PURE__ */ e(
846
+ }, Ot = ({ iconLeft: n, ...t }) => /* @__PURE__ */ e(
838
847
  u,
839
848
  {
840
849
  borderRadius: "16px",
841
850
  shadow: "box",
842
851
  overflow: "hidden",
843
- ...$(t),
844
- children: /* @__PURE__ */ o(c, { flex: 1, children: [
852
+ ...H(t),
853
+ children: /* @__PURE__ */ i(c, { flex: 1, children: [
845
854
  /* @__PURE__ */ e(
846
855
  u,
847
856
  {
848
857
  flex: 2,
849
858
  justifyContent: "center",
850
859
  background: p("--silver-lighter"),
851
- children: n && /* @__PURE__ */ e(D, { color: p("--mussla"), icon: n, size: 73 })
860
+ children: n && /* @__PURE__ */ e(G, { color: p("--mussla"), icon: n, size: 73 })
852
861
  }
853
862
  ),
854
- /* @__PURE__ */ e(u, { flex: 4, indent: 2, spacing: 2, background: p("--moln"), children: /* @__PURE__ */ o(d, { gap: 2, children: [
863
+ /* @__PURE__ */ e(u, { flex: 4, indent: 2, spacing: 2, background: p("--moln"), children: /* @__PURE__ */ i(d, { gap: 2, children: [
855
864
  /* @__PURE__ */ e(
856
- P,
865
+ N,
857
866
  {
858
867
  width: "180px",
859
868
  height: "2.8rem",
860
869
  borderRadius: "8px"
861
870
  }
862
871
  ),
863
- /* @__PURE__ */ e(P, { width: "50px", height: "2.0rem", borderRadius: "8px" }),
872
+ /* @__PURE__ */ e(N, { width: "50px", height: "2.0rem", borderRadius: "8px" }),
864
873
  /* @__PURE__ */ e(
865
- P,
874
+ N,
866
875
  {
867
876
  width: "150px",
868
877
  height: "1.4rem",
@@ -885,47 +894,47 @@ const Q = ({
885
894
  query: "(max-width: 395px)"
886
895
  }), r = M({
887
896
  query: "(max-width: 1024px)"
888
- }), i = M({
897
+ }), o = M({
889
898
  query: "(max-width: 1160px)"
890
899
  });
891
- return { deviceSize: t ? "small-mobile" : n ? "mobile" : r ? "tablet" : i ? "tablet-wide" : "desktop" };
892
- }, $n = (n, t) => n === t || ne.indexOf(n) > ne.indexOf(t), Lt = (n) => {
900
+ return { deviceSize: t ? "small-mobile" : n ? "mobile" : r ? "tablet" : o ? "tablet-wide" : "desktop" };
901
+ }, qn = (n, t) => n === t || ne.indexOf(n) > ne.indexOf(t), Et = (n) => {
893
902
  const { deviceSize: t } = be();
894
903
  return {
895
904
  visible: F(
896
- () => $n(t, n),
905
+ () => qn(t, n),
897
906
  [t, n]
898
907
  )
899
908
  };
900
- }, qn = ({
909
+ }, Un = ({
901
910
  isOpen: n,
902
911
  initialIndex: t,
903
912
  onUpdateIndex: r,
904
- altLabelPrevious: i,
913
+ altLabelPrevious: o,
905
914
  altLabelZoomIn: l,
906
915
  altLabelZoomOut: a,
907
916
  altLabelNext: s,
908
917
  altLabelClose: h,
909
- onRequestClose: m,
918
+ onRequestClose: g,
910
919
  images: b
911
920
  }) => {
912
- const x = V(null), { deviceSize: w } = be(), y = w !== "mobile", [k, I] = L(t ?? 0), v = ({ index: g }) => {
913
- I(g), r?.(g);
914
- }, S = F(() => b.map((g) => Un(g)), [b]);
921
+ const f = V(null), { deviceSize: C } = be(), y = C !== "mobile", [S, I] = L(t ?? 0), v = ({ index: m }) => {
922
+ I(m), r?.(m);
923
+ }, k = F(() => b.map((m) => Gn(m)), [b]);
915
924
  return /* @__PURE__ */ e(
916
- me,
925
+ ge,
917
926
  {
918
927
  open: n,
919
- close: m,
920
- index: k,
921
- plugins: [Ze, Qe, Xe],
922
- slides: S,
928
+ close: g,
929
+ index: S,
930
+ plugins: [Xe, Je, Ye],
931
+ slides: k,
923
932
  on: { view: v },
924
933
  animation: { fade: 0 },
925
934
  controller: {
926
935
  closeOnPullDown: !0,
927
936
  closeOnBackdropClick: !0,
928
- ref: x
937
+ ref: f
929
938
  },
930
939
  counter: {
931
940
  container: {
@@ -938,33 +947,33 @@ const Q = ({
938
947
  }
939
948
  },
940
949
  render: {
941
- buttonZoom: (g) => y && /* @__PURE__ */ o(c, { gap: 1, indent: 2, children: [
950
+ buttonZoom: (m) => y && /* @__PURE__ */ i(c, { gap: 1, indent: 2, children: [
942
951
  /* @__PURE__ */ e(
943
952
  R,
944
953
  {
945
954
  "aria-label": l,
946
955
  leftIcon: Le,
947
956
  size: "large",
948
- onClick: () => g.zoomIn()
957
+ onClick: () => m.zoomIn()
949
958
  }
950
959
  ),
951
960
  /* @__PURE__ */ e(
952
961
  R,
953
962
  {
954
963
  "aria-label": a,
955
- leftIcon: Oe,
964
+ leftIcon: Te,
956
965
  size: "large",
957
- onClick: () => g.zoomOut()
966
+ onClick: () => m.zoomOut()
958
967
  }
959
968
  )
960
969
  ] }),
961
970
  buttonPrev: () => b.length > 1 && y && /* @__PURE__ */ e(B, { num: 4, className: "yarl__navigation_prev", children: /* @__PURE__ */ e(
962
971
  R,
963
972
  {
964
- "aria-label": i,
973
+ "aria-label": o,
965
974
  leftIcon: ce,
966
975
  size: "large",
967
- onClick: () => x.current?.prev()
976
+ onClick: () => f.current?.prev()
968
977
  }
969
978
  ) }),
970
979
  buttonNext: () => b.length > 1 && y && /* @__PURE__ */ e(B, { num: 4, className: "yarl__navigation_next", children: /* @__PURE__ */ e(
@@ -973,7 +982,7 @@ const Q = ({
973
982
  "aria-label": s,
974
983
  leftIcon: ae,
975
984
  size: "large",
976
- onClick: () => x.current?.next()
985
+ onClick: () => f.current?.next()
977
986
  }
978
987
  ) }),
979
988
  buttonClose: () => /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
@@ -983,52 +992,52 @@ const Q = ({
983
992
  "aria-label": h,
984
993
  leftIcon: Ae,
985
994
  size: "large",
986
- onClick: () => x.current?.close()
995
+ onClick: () => f.current?.close()
987
996
  }
988
997
  ) })
989
998
  }
990
999
  }
991
1000
  );
992
- }, Un = (n) => ({
1001
+ }, Gn = (n) => ({
993
1002
  src: n.url,
994
1003
  width: n.width,
995
1004
  height: n.height,
996
1005
  alt: n.alt,
997
1006
  title: n.title,
998
1007
  description: n.description
999
- }), Ot = ({
1008
+ }), Ht = ({
1000
1009
  images: n,
1001
1010
  initialIndex: t,
1002
1011
  altLabelPrevious: r,
1003
- altLabelZoomIn: i,
1012
+ altLabelZoomIn: o,
1004
1013
  altLabelZoomOut: l,
1005
1014
  altLabelNext: a,
1006
1015
  altLabelClose: s
1007
1016
  }) => {
1008
- const h = V(null), [m, b] = L(!1), [x, w] = L(t ?? 0), y = J(() => {
1017
+ const h = V(null), [g, b] = L(!1), [f, C] = L(t ?? 0), y = J(() => {
1009
1018
  b(!0);
1010
- }, []), k = J(() => {
1019
+ }, []), S = J(() => {
1011
1020
  b(!1);
1012
- }, []), I = ({ index: g }) => w(g);
1013
- qe(() => {
1014
- w(t ?? 0);
1021
+ }, []), I = ({ index: m }) => C(m);
1022
+ We(() => {
1023
+ C(t ?? 0);
1015
1024
  }, [t]);
1016
- const v = F(() => n.map(En), [n]), S = F(() => n.map(
1017
- (g) => g.fullscreenImage ? {
1018
- ...g,
1019
- url: g.fullscreenImage.url,
1020
- width: g.fullscreenImage.width,
1021
- height: g.fullscreenImage.height
1022
- } : g
1025
+ const v = F(() => n.map(Dn), [n]), k = F(() => n.map(
1026
+ (m) => m.fullscreenImage ? {
1027
+ ...m,
1028
+ url: m.fullscreenImage.url,
1029
+ width: m.fullscreenImage.width,
1030
+ height: m.fullscreenImage.height
1031
+ } : m
1023
1032
  ), [n]);
1024
- return /* @__PURE__ */ o(Ge, { blockedKeys: "Escape", children: [
1033
+ return /* @__PURE__ */ i(Ve, { blockedKeys: "Escape", children: [
1025
1034
  /* @__PURE__ */ e(
1026
- me,
1035
+ ge,
1027
1036
  {
1028
1037
  controller: { ref: h },
1029
- index: x,
1038
+ index: f,
1030
1039
  slides: v,
1031
- plugins: [Ve],
1040
+ plugins: [Qe],
1032
1041
  on: {
1033
1042
  view: I,
1034
1043
  click: y
@@ -1071,23 +1080,23 @@ const Q = ({
1071
1080
  }
1072
1081
  }
1073
1082
  ),
1074
- m && /* @__PURE__ */ e(
1075
- qn,
1083
+ g && /* @__PURE__ */ e(
1084
+ Un,
1076
1085
  {
1077
1086
  isOpen: !0,
1078
- onRequestClose: k,
1079
- initialIndex: x,
1080
- onUpdateIndex: w,
1081
- images: S,
1087
+ onRequestClose: S,
1088
+ initialIndex: f,
1089
+ onUpdateIndex: C,
1090
+ images: k,
1082
1091
  altLabelPrevious: r,
1083
1092
  altLabelNext: a,
1084
1093
  altLabelClose: s,
1085
- altLabelZoomIn: i,
1094
+ altLabelZoomIn: o,
1086
1095
  altLabelZoomOut: l
1087
1096
  }
1088
1097
  )
1089
1098
  ] });
1090
- }, En = (n) => ({
1099
+ }, Dn = (n) => ({
1091
1100
  src: n.url,
1092
1101
  width: n.width,
1093
1102
  height: n.height,
@@ -1096,48 +1105,49 @@ const Q = ({
1096
1105
  description: n.description
1097
1106
  });
1098
1107
  export {
1099
- Je as ActionMenuFlatButton,
1100
- ot as ActionMenuPrimaryButton,
1101
- it as ActionMenuSecondaryButton,
1102
- lt as CheckboxMenu,
1103
- bn as Collapsible,
1104
- bt as CollapsibleEmptyContent,
1105
- mt as CollapsibleGroupHeading,
1106
- pt as CollapsibleList,
1107
- gt as CollapsibleWithCheckbox,
1108
- Cn as ErrorPanel,
1109
- ft as ErrorScreen,
1110
- Ot as ImageCarousel,
1111
- wn as LoadingPanel,
1112
- xt as LoadingScreen,
1113
- at as NavBar,
1114
- ln as NavBarButton,
1115
- ct as NavBarHeading,
1116
- dt as NavBarNotificationButton,
1117
- st as NavBarPopoverButton,
1118
- ut as NavBarSearchField,
1119
- ht as NavBarUserButton,
1120
- vt as PageHeader,
1121
- Ct as PageHeaderRow,
1122
- wt as PageHeading,
1123
- Nt as ProductCard,
1124
- Pt as ProductCardContentItem,
1125
- zt as ProductCardContentItemSkeletor,
1126
- Ft as ProductSummaryCard,
1127
- At as ProductSummaryCardSkeletor,
1128
- Mt as SelectedItemsActionsPadding,
1129
- Rt as SelectedItemsActionsPanel,
1130
- jt as SelectedProductCard,
1131
- Bt as SelectionRow,
1132
- yt as SidebarMenu,
1133
- kt as SidebarMenuCollapsible,
1134
- vn as SidebarMenuCollapsibleGroupBox,
1135
- zn as SidebarMenuHeading,
1136
- _t as SidebarMenuLink,
1137
- St as SidebarMenuSeparator,
1138
- It as SidebarRailMenu,
1139
- $n as isDeviceSameOrLarger,
1108
+ en as ActionMenuFlatButton,
1109
+ at as ActionMenuPrimaryButton,
1110
+ ct as ActionMenuSecondaryButton,
1111
+ st as CheckboxMenu,
1112
+ xn as Collapsible,
1113
+ vt as CollapsibleEmptyContent,
1114
+ xt as CollapsibleGroupHeading,
1115
+ bt as CollapsibleList,
1116
+ ft as CollapsibleWithCheckbox,
1117
+ Bn as ErrorPanel,
1118
+ Ct as ErrorScreen,
1119
+ Un as FullscreenImageCarousel,
1120
+ Ht as ImageCarousel,
1121
+ yn as LoadingPanel,
1122
+ wt as LoadingScreen,
1123
+ dt as NavBar,
1124
+ cn as NavBarButton,
1125
+ ut as NavBarHeading,
1126
+ pt as NavBarNotificationButton,
1127
+ ht as NavBarPopoverButton,
1128
+ mt as NavBarSearchField,
1129
+ gt as NavBarUserButton,
1130
+ Bt as PageHeader,
1131
+ yt as PageHeaderRow,
1132
+ It as PageHeading,
1133
+ Ft as ProductCard,
1134
+ jt as ProductCardContentItem,
1135
+ At as ProductCardContentItemSkeletor,
1136
+ Tt as ProductSummaryCard,
1137
+ Ot as ProductSummaryCardSkeletor,
1138
+ zt as SelectedItemsActionsPadding,
1139
+ Pt as SelectedItemsActionsPanel,
1140
+ Lt as SelectedProductCard,
1141
+ _t as SelectionRow,
1142
+ St as SidebarMenu,
1143
+ Mt as SidebarMenuCollapsible,
1144
+ wn as SidebarMenuCollapsibleGroupBox,
1145
+ jn as SidebarMenuHeading,
1146
+ Rt as SidebarMenuLink,
1147
+ Nt as SidebarMenuSeparator,
1148
+ kt as SidebarRailMenu,
1149
+ qn as isDeviceSameOrLarger,
1140
1150
  be as useDeviceSize,
1141
- Lt as useLayoutVisibility
1151
+ Et as useLayoutVisibility
1142
1152
  };
1143
1153
  //# sourceMappingURL=index.es.js.map