@stenajs-webui/panels 23.2.0 → 23.3.1

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