@stenajs-webui/panels 23.12.11 → 23.13.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/components/cards/product-summary-card/ProductSummaryCard.d.ts +1 -0
- package/dist/components/cards/product-summary-card/ProductSummaryCardImage.d.ts +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +214 -207
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.es.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
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)}._nav-bar-link_14nt6_1{box-sizing:border-box;min-height:var(--swui-button-height-medium);height:var(--swui-button-height-medium);letter-spacing:var(--swui-field-letter-spacing);text-decoration:none;padding:var(--swui-button-padding-vertical, 6px) var(--swui-button-padding-horizontal, 16px);border-radius:var(--swui-max-border-radius);outline:none;font-size:var(--swui-font-size-medium);line-height:var(--swui-line-height);font-weight:var(--swui-font-weight-text-bold);font-family:var(--swui-font-buttons);cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-flex;align-items:center;justify-content:center;color:var(--swui-text-action-color);background:transparent;border:1px solid transparent}._nav-bar-link_14nt6_1:hover{background:var(--lhds-color-ui-100)}._nav-bar-link_14nt6_1:focus-visible{outline:var(--swui-focus-outline);background:var(--lhds-color-ui-200)}._nav-bar-link_14nt6_1:active{background:var(--lhds-color-ui-200)}._nav-bar-link_14nt6_1._selected_14nt6_38{background:var(--lhds-color-blue-200)}._nav-bar-link_14nt6_1._selected_14nt6_38:hover{background:var(--lhds-color-blue-100)}._nav-bar-link_14nt6_1._selected_14nt6_38:focus-visible{background:var(--lhds-color-blue-300)}._nav-bar-link_14nt6_1._selected_14nt6_38:active{background:var(--lhds-color-blue-200)}._navBarNotificationButton_1nfdy_1{--current-background-color: var(--lhds-color-ui-400);--current-outline-color: var(--core-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_1nfdy_1:hover{--current-background-color: var(--lhds-color-red-500);--current-outline-color: var(--lhds-color-red-500)}._navBarNotificationButton_1nfdy_1:active{--current-background-color: var(--lhds-color-red-600);--current-outline-color: var(--lhds-color-red-600)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23 ._icon_1nfdy_23{transform-origin:top center;animation:_shake_1nfdy_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23{--current-background-color: var(--lhds-color-red-500);--current-outline-color: var(--lhds-color-red-500)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23:hover{--current-background-color: var(--lhds-color-red-600);--current-outline-color: var(--lhds-color-red-600)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23:active{--current-background-color: var(--lhds-color-red-700);--current-outline-color: var(--lhds-color-red-700)}._navBarNotificationButton_1nfdy_1:focus-visible{outline:var(--swui-focus-outline);outline-color:var(--current-outline-color);outline-offset:var(--swui-focus-outline-width)}@keyframes _shake_1nfdy_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)}})();
|
|
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)}._nav-bar-link_14nt6_1{box-sizing:border-box;min-height:var(--swui-button-height-medium);height:var(--swui-button-height-medium);letter-spacing:var(--swui-field-letter-spacing);text-decoration:none;padding:var(--swui-button-padding-vertical, 6px) var(--swui-button-padding-horizontal, 16px);border-radius:var(--swui-max-border-radius);outline:none;font-size:var(--swui-font-size-medium);line-height:var(--swui-line-height);font-weight:var(--swui-font-weight-text-bold);font-family:var(--swui-font-buttons);cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-flex;align-items:center;justify-content:center;color:var(--swui-text-action-color);background:transparent;border:1px solid transparent}._nav-bar-link_14nt6_1:hover{background:var(--lhds-color-ui-100)}._nav-bar-link_14nt6_1:focus-visible{outline:var(--swui-focus-outline);background:var(--lhds-color-ui-200)}._nav-bar-link_14nt6_1:active{background:var(--lhds-color-ui-200)}._nav-bar-link_14nt6_1._selected_14nt6_38{background:var(--lhds-color-blue-200)}._nav-bar-link_14nt6_1._selected_14nt6_38:hover{background:var(--lhds-color-blue-100)}._nav-bar-link_14nt6_1._selected_14nt6_38:focus-visible{background:var(--lhds-color-blue-300)}._nav-bar-link_14nt6_1._selected_14nt6_38:active{background:var(--lhds-color-blue-200)}._navBarNotificationButton_1nfdy_1{--current-background-color: var(--lhds-color-ui-400);--current-outline-color: var(--core-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_1nfdy_1:hover{--current-background-color: var(--lhds-color-red-500);--current-outline-color: var(--lhds-color-red-500)}._navBarNotificationButton_1nfdy_1:active{--current-background-color: var(--lhds-color-red-600);--current-outline-color: var(--lhds-color-red-600)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23 ._icon_1nfdy_23{transform-origin:top center;animation:_shake_1nfdy_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23{--current-background-color: var(--lhds-color-red-500);--current-outline-color: var(--lhds-color-red-500)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23:hover{--current-background-color: var(--lhds-color-red-600);--current-outline-color: var(--lhds-color-red-600)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23:active{--current-background-color: var(--lhds-color-red-700);--current-outline-color: var(--lhds-color-red-700)}._navBarNotificationButton_1nfdy_1:focus-visible{outline:var(--swui-focus-outline);outline-color:var(--current-outline-color);outline-offset:var(--swui-focus-outline-width)}@keyframes _shake_1nfdy_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}}._productSummaryCardImage_1knc7_1{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.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
2
|
import { jsx as e, Fragment as z, jsxs as i } from "react/jsx-runtime";
|
|
3
|
-
import { ActionMenu as
|
|
3
|
+
import { ActionMenu as re, ActionMenuContext as ve, stenaAngleDown as oe, PrimaryButton as ie, SecondaryButton as R, FlatButton as O, stenaHamburger as le, BaseButton as Be, stenaBellFilled as we, TextInputButton as ye, stenaTimes as Ie, stenaUserCircle as _e, MenuButton as D, Icon as K, stenaMail as Se, Card as ke, CardBody as Re, CircledIcon as E, stenaTripFerryXl as Me, ScreenSpinner as Ne, CloseButton as Pe, StenaFlag as Fe, stenaAngleLeftDouble as ae, stenaPin as ze, IconMenuButton as V, IconMenuButtonLink as je, MenuButtonLink as Ae, Spinner as ce, Tag as Le, ShimmerBox as N, stenaTimesThick as Te, stenaAngleRight as se, stenaAngleLeft as de, stenaSearchPlus as $e, stenaSearchMinus as Oe } from "@stenajs-webui/elements";
|
|
4
4
|
import * as Ee from "react";
|
|
5
|
-
import { useRef as
|
|
6
|
-
import { useBoolean as
|
|
7
|
-
import { ControlledPopover as
|
|
8
|
-
import { Checkbox as
|
|
5
|
+
import { useRef as Z, useMemo as j, forwardRef as H, createContext as He, useContext as We, useState as T, useCallback as J, useEffect as qe } from "react";
|
|
6
|
+
import { useBoolean as ue, Column as u, Row as c, Indent as w, Slot as Ue, Heading as P, Box as d, Text as C, Space as B, getDataProps as A, SeparatorLine as Ge, pluralFormatter as De, selectPluralRule as Ke, Spacing as Ve, isEmptyFragment as Ze, useAccessibleFontSizeContext as Qe, exhaustSwitchCaseElseThrow as he, BlockKeyboardEvents as Xe } from "@stenajs-webui/core";
|
|
7
|
+
import { ControlledPopover as pe, Popover as me, Tooltip as ge } from "@stenajs-webui/tooltip";
|
|
8
|
+
import { Checkbox as be, TextInput as Je } from "@stenajs-webui/forms";
|
|
9
9
|
import y from "classnames";
|
|
10
10
|
import { cssColor as p } from "@stenajs-webui/theme";
|
|
11
11
|
import { useMediaQuery as M } from "react-responsive";
|
|
12
|
-
import
|
|
12
|
+
import fe from "yet-another-react-lightbox";
|
|
13
13
|
import Ye from "yet-another-react-lightbox/plugins/inline";
|
|
14
14
|
import en from "yet-another-react-lightbox/plugins/zoom";
|
|
15
15
|
import nn from "yet-another-react-lightbox/plugins/counter";
|
|
16
16
|
import tn from "yet-another-react-lightbox/plugins/captions";
|
|
17
|
-
const
|
|
17
|
+
const Q = ({
|
|
18
18
|
renderItems: n,
|
|
19
19
|
placement: t = "bottom",
|
|
20
20
|
buttonComponent: r,
|
|
21
|
-
rightIcon: o =
|
|
21
|
+
rightIcon: o = oe,
|
|
22
22
|
menuWidth: l,
|
|
23
23
|
menuTop: a,
|
|
24
24
|
onClick: s,
|
|
@@ -26,23 +26,23 @@ const Z = ({
|
|
|
26
26
|
buttonRef: g,
|
|
27
27
|
appendTo: b,
|
|
28
28
|
zIndex: f,
|
|
29
|
-
disableTrapFocus:
|
|
30
|
-
...
|
|
29
|
+
disableTrapFocus: x = !1,
|
|
30
|
+
...I
|
|
31
31
|
}) => {
|
|
32
|
-
const [S,
|
|
33
|
-
s?.(
|
|
32
|
+
const [S, k, v, _] = ue(!1), m = Z(null), W = g ?? m, q = j(() => ({ open: k, close: v }), [k, v]), xe = (U) => {
|
|
33
|
+
s?.(U), _();
|
|
34
34
|
};
|
|
35
35
|
return /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(
|
|
36
|
-
|
|
36
|
+
pe,
|
|
37
37
|
{
|
|
38
|
-
renderTrigger: (
|
|
38
|
+
renderTrigger: (U) => /* @__PURE__ */ e(
|
|
39
39
|
r,
|
|
40
40
|
{
|
|
41
41
|
rightIcon: h ? void 0 : o,
|
|
42
|
-
...
|
|
42
|
+
...I,
|
|
43
43
|
ref: W,
|
|
44
|
-
onClick:
|
|
45
|
-
...
|
|
44
|
+
onClick: xe,
|
|
45
|
+
...U
|
|
46
46
|
}
|
|
47
47
|
),
|
|
48
48
|
hideArrow: !0,
|
|
@@ -53,21 +53,21 @@ const Z = ({
|
|
|
53
53
|
appendTo: b,
|
|
54
54
|
zIndex: f,
|
|
55
55
|
children: S && /* @__PURE__ */ e(
|
|
56
|
-
|
|
56
|
+
re,
|
|
57
57
|
{
|
|
58
58
|
width: l,
|
|
59
59
|
top: a,
|
|
60
|
-
trapFocus: !
|
|
61
|
-
children: /* @__PURE__ */ e(
|
|
60
|
+
trapFocus: !x,
|
|
61
|
+
children: /* @__PURE__ */ e(ve.Provider, { value: q, children: n(v) })
|
|
62
62
|
}
|
|
63
63
|
)
|
|
64
64
|
}
|
|
65
65
|
) });
|
|
66
|
-
},
|
|
66
|
+
}, pt = (n) => /* @__PURE__ */ e(Q, { buttonComponent: ie, ...n }), mt = (n) => /* @__PURE__ */ e(Q, { buttonComponent: R, ...n }), rn = (n) => /* @__PURE__ */ e(Q, { buttonComponent: O, ...n }), on = "1px solid var(--lhds-color-ui-300)", gt = ({
|
|
67
67
|
renderMenu: n,
|
|
68
68
|
...t
|
|
69
69
|
}) => /* @__PURE__ */ e(
|
|
70
|
-
|
|
70
|
+
me,
|
|
71
71
|
{
|
|
72
72
|
trigger: "click",
|
|
73
73
|
renderTrigger: (r) => /* @__PURE__ */ e(c, { children: /* @__PURE__ */ i(
|
|
@@ -79,16 +79,16 @@ const Z = ({
|
|
|
79
79
|
border: on,
|
|
80
80
|
borderRadius: "4px",
|
|
81
81
|
children: [
|
|
82
|
-
/* @__PURE__ */ e(
|
|
82
|
+
/* @__PURE__ */ e(be, { ...t }),
|
|
83
83
|
/* @__PURE__ */ e(w, { num: 0.5 }),
|
|
84
|
-
/* @__PURE__ */ e(
|
|
84
|
+
/* @__PURE__ */ e(O, { size: "small", leftIcon: oe, ...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(u, { children: /* @__PURE__ */ e(
|
|
91
|
+
children: ({ onRequestClose: r }) => /* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(re, { children: n(r) }) })
|
|
92
92
|
}
|
|
93
93
|
), ln = "_navBar_kzibd_1", an = {
|
|
94
94
|
navBar: ln
|
|
@@ -96,13 +96,13 @@ const Z = ({
|
|
|
96
96
|
className: n,
|
|
97
97
|
onClick: t
|
|
98
98
|
}) => /* @__PURE__ */ e(
|
|
99
|
-
|
|
99
|
+
O,
|
|
100
100
|
{
|
|
101
|
-
leftIcon:
|
|
101
|
+
leftIcon: le,
|
|
102
102
|
className: n,
|
|
103
103
|
onClick: t
|
|
104
104
|
}
|
|
105
|
-
),
|
|
105
|
+
), bt = ({
|
|
106
106
|
left: n,
|
|
107
107
|
className: t,
|
|
108
108
|
showMenuButton: r = !1,
|
|
@@ -148,52 +148,52 @@ const Z = ({
|
|
|
148
148
|
]
|
|
149
149
|
}
|
|
150
150
|
);
|
|
151
|
-
}, sn = "_navBarButton_b3x3w_1", dn = "_selected_b3x3w_14",
|
|
151
|
+
}, sn = "_navBarButton_b3x3w_1", dn = "_selected_b3x3w_14", Y = {
|
|
152
152
|
navBarButton: sn,
|
|
153
153
|
selected: dn
|
|
154
154
|
}, un = H(
|
|
155
155
|
function({ selected: n, className: t, ...r }, o) {
|
|
156
156
|
return /* @__PURE__ */ e(
|
|
157
|
-
|
|
157
|
+
O,
|
|
158
158
|
{
|
|
159
159
|
...r,
|
|
160
160
|
ref: o,
|
|
161
161
|
className: y(
|
|
162
|
-
|
|
163
|
-
n &&
|
|
162
|
+
Y.navBarButton,
|
|
163
|
+
n && Y.selected,
|
|
164
164
|
t
|
|
165
165
|
)
|
|
166
166
|
}
|
|
167
167
|
);
|
|
168
168
|
}
|
|
169
|
-
), hn = "_selected_14nt6_38",
|
|
169
|
+
), hn = "_selected_14nt6_38", ee = {
|
|
170
170
|
"nav-bar-link": "_nav-bar-link_14nt6_1",
|
|
171
171
|
selected: hn
|
|
172
|
-
},
|
|
172
|
+
}, ft = H(
|
|
173
173
|
function({ selected: t, asChild: r, className: o, ...l }, a) {
|
|
174
174
|
return /* @__PURE__ */ e(
|
|
175
175
|
r ? Ue : "a",
|
|
176
176
|
{
|
|
177
177
|
ref: a,
|
|
178
178
|
className: y(
|
|
179
|
-
|
|
180
|
-
{ [
|
|
179
|
+
ee["nav-bar-link"],
|
|
180
|
+
{ [ee.selected]: t },
|
|
181
181
|
o
|
|
182
182
|
),
|
|
183
183
|
...l
|
|
184
184
|
}
|
|
185
185
|
);
|
|
186
186
|
}
|
|
187
|
-
),
|
|
187
|
+
), Ct = (n) => /* @__PURE__ */ e(P, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...n }), xt = ({
|
|
188
188
|
content: n,
|
|
189
189
|
children: t,
|
|
190
190
|
appendTo: r,
|
|
191
191
|
zIndex: o,
|
|
192
192
|
...l
|
|
193
193
|
}) => {
|
|
194
|
-
const [a, , s, h] =
|
|
194
|
+
const [a, , s, h] = ue(!1);
|
|
195
195
|
return /* @__PURE__ */ e(
|
|
196
|
-
|
|
196
|
+
pe,
|
|
197
197
|
{
|
|
198
198
|
renderTrigger: (g) => /* @__PURE__ */ e(un, { ...l, ...g, onClick: h }),
|
|
199
199
|
open: a,
|
|
@@ -210,7 +210,7 @@ const Z = ({
|
|
|
210
210
|
navBarNotificationButton: pn,
|
|
211
211
|
unread: mn,
|
|
212
212
|
icon: gn
|
|
213
|
-
},
|
|
213
|
+
}, vt = H(function({
|
|
214
214
|
count: n,
|
|
215
215
|
unread: t = !1,
|
|
216
216
|
className: r,
|
|
@@ -237,12 +237,12 @@ const Z = ({
|
|
|
237
237
|
iconClassName: y(l, F.icon)
|
|
238
238
|
}
|
|
239
239
|
);
|
|
240
|
-
}), bn = "_navBarSearchFieldInput_1rp8g_1", fn = "_navBarSearchFieldWrapper_1rp8g_12",
|
|
240
|
+
}), bn = "_navBarSearchFieldInput_1rp8g_1", fn = "_navBarSearchFieldWrapper_1rp8g_12", Cn = "_withButton_1rp8g_24", xn = "_clearButton_1rp8g_33", L = {
|
|
241
241
|
navBarSearchFieldInput: bn,
|
|
242
242
|
navBarSearchFieldWrapper: fn,
|
|
243
|
-
withButton:
|
|
244
|
-
clearButton:
|
|
245
|
-
},
|
|
243
|
+
withButton: Cn,
|
|
244
|
+
clearButton: xn
|
|
245
|
+
}, Bt = ({
|
|
246
246
|
placeholder: n = "Search",
|
|
247
247
|
className: t,
|
|
248
248
|
wrapperClassName: r,
|
|
@@ -265,20 +265,20 @@ const Z = ({
|
|
|
265
265
|
ye,
|
|
266
266
|
{
|
|
267
267
|
className: L.clearButton,
|
|
268
|
-
icon:
|
|
268
|
+
icon: Ie,
|
|
269
269
|
variant: "error",
|
|
270
270
|
onClick: l
|
|
271
271
|
}
|
|
272
272
|
) : void 0,
|
|
273
273
|
...s
|
|
274
274
|
}
|
|
275
|
-
),
|
|
276
|
-
navBarUserButton:
|
|
277
|
-
},
|
|
275
|
+
), vn = "_navBarUserButton_10f9z_1", Bn = {
|
|
276
|
+
navBarUserButton: vn
|
|
277
|
+
}, wt = ({
|
|
278
278
|
className: n,
|
|
279
279
|
username: t,
|
|
280
280
|
initials: r,
|
|
281
|
-
icon: o =
|
|
281
|
+
icon: o = _e,
|
|
282
282
|
responsiveIconOnly: l = r == null,
|
|
283
283
|
...a
|
|
284
284
|
}) => /* @__PURE__ */ e(
|
|
@@ -294,7 +294,7 @@ const Z = ({
|
|
|
294
294
|
}
|
|
295
295
|
), wn = H(
|
|
296
296
|
({ contentLeft: n, contentRight: t, collapsed: r = !1, ...o }, l) => /* @__PURE__ */ e(
|
|
297
|
-
|
|
297
|
+
D,
|
|
298
298
|
{
|
|
299
299
|
ref: l,
|
|
300
300
|
expandable: !0,
|
|
@@ -305,9 +305,9 @@ const Z = ({
|
|
|
305
305
|
...o
|
|
306
306
|
}
|
|
307
307
|
)
|
|
308
|
-
),
|
|
308
|
+
), yt = ({
|
|
309
309
|
children: n
|
|
310
|
-
}) => /* @__PURE__ */ e(u, { gap: 1, children: n }),
|
|
310
|
+
}) => /* @__PURE__ */ e(u, { gap: 1, children: n }), It = ({
|
|
311
311
|
value: n,
|
|
312
312
|
onValueChange: t,
|
|
313
313
|
onChange: r,
|
|
@@ -318,7 +318,7 @@ const Z = ({
|
|
|
318
318
|
wn,
|
|
319
319
|
{
|
|
320
320
|
contentLeft: /* @__PURE__ */ e(
|
|
321
|
-
|
|
321
|
+
be,
|
|
322
322
|
{
|
|
323
323
|
value: n,
|
|
324
324
|
indeterminate: o,
|
|
@@ -330,12 +330,12 @@ const Z = ({
|
|
|
330
330
|
),
|
|
331
331
|
...a
|
|
332
332
|
}
|
|
333
|
-
), yn = "_sidebarMenuCollapsibleGroupBox_ikek9_1",
|
|
333
|
+
), yn = "_sidebarMenuCollapsibleGroupBox_ikek9_1", In = {
|
|
334
334
|
sidebarMenuCollapsibleGroupBox: yn
|
|
335
|
-
},
|
|
336
|
-
/* @__PURE__ */ e(
|
|
335
|
+
}, _n = ({ children: n }) => /* @__PURE__ */ e("div", { className: In.sidebarMenuCollapsibleGroupBox, children: n }), _t = ({ children: n }) => /* @__PURE__ */ e(d, { spacing: !0, indent: !0, children: /* @__PURE__ */ e(C, { variant: "overline", size: "smaller", children: n }) }), St = ({ text: n = "No content" }) => /* @__PURE__ */ i(u, { indent: !0, spacing: !0, flex: 1, alignItems: "center", children: [
|
|
336
|
+
/* @__PURE__ */ e(K, { icon: Se, color: p("--lhds-color-ui-500") }),
|
|
337
337
|
/* @__PURE__ */ e(B, {}),
|
|
338
|
-
/* @__PURE__ */ e(
|
|
338
|
+
/* @__PURE__ */ e(C, { size: "small", color: p("--lhds-color-ui-500"), children: n })
|
|
339
339
|
] }), Sn = ({
|
|
340
340
|
text: n,
|
|
341
341
|
heading: t,
|
|
@@ -352,14 +352,14 @@ const Z = ({
|
|
|
352
352
|
/* @__PURE__ */ e(E, { icon: l, size: "xl" })
|
|
353
353
|
] }),
|
|
354
354
|
t && /* @__PURE__ */ e(P, { as: a, children: t }),
|
|
355
|
-
h && /* @__PURE__ */ e(
|
|
355
|
+
h && /* @__PURE__ */ e(C, { textAlign: "center", children: h }),
|
|
356
356
|
r,
|
|
357
357
|
o && /* @__PURE__ */ i(d, { children: [
|
|
358
358
|
/* @__PURE__ */ e(B, { num: 2 }),
|
|
359
359
|
/* @__PURE__ */ e(d, { gap: 2, children: o })
|
|
360
360
|
] })
|
|
361
361
|
] }) }) });
|
|
362
|
-
},
|
|
362
|
+
}, kt = (n) => /* @__PURE__ */ e(
|
|
363
363
|
d,
|
|
364
364
|
{
|
|
365
365
|
width: "100%",
|
|
@@ -378,7 +378,7 @@ const Z = ({
|
|
|
378
378
|
/* @__PURE__ */ e(B, { num: 4 }),
|
|
379
379
|
/* @__PURE__ */ e(P, { variant: "h4", children: n })
|
|
380
380
|
] })
|
|
381
|
-
] }),
|
|
381
|
+
] }), Rt = (n) => /* @__PURE__ */ e(
|
|
382
382
|
d,
|
|
383
383
|
{
|
|
384
384
|
width: "100%",
|
|
@@ -388,7 +388,7 @@ const Z = ({
|
|
|
388
388
|
alignItems: "center",
|
|
389
389
|
children: /* @__PURE__ */ e(kn, { ...n })
|
|
390
390
|
}
|
|
391
|
-
),
|
|
391
|
+
), Mt = ({
|
|
392
392
|
renderBreadCrumbs: n,
|
|
393
393
|
renderPageHeading: t,
|
|
394
394
|
renderTabs: r,
|
|
@@ -401,7 +401,7 @@ const Z = ({
|
|
|
401
401
|
r?.()
|
|
402
402
|
] }),
|
|
403
403
|
o
|
|
404
|
-
] }),
|
|
404
|
+
] }), Nt = (n) => /* @__PURE__ */ e(c, { indent: 3, spacing: !0, ...n }), Pt = ({
|
|
405
405
|
icon: n,
|
|
406
406
|
heading: t,
|
|
407
407
|
headingLevel: r = "h2",
|
|
@@ -414,10 +414,10 @@ const Z = ({
|
|
|
414
414
|
] }),
|
|
415
415
|
/* @__PURE__ */ e(c, { alignItems: "center", children: o }),
|
|
416
416
|
/* @__PURE__ */ e(c, { style: { marginLeft: "auto" }, alignItems: "center", children: l })
|
|
417
|
-
] }), Rn = "_selectionRow_1njaw_1", Mn = "_iconColumn_1njaw_9",
|
|
417
|
+
] }), Rn = "_selectionRow_1njaw_1", Mn = "_iconColumn_1njaw_9", ne = {
|
|
418
418
|
selectionRow: Rn,
|
|
419
419
|
iconColumn: Mn
|
|
420
|
-
},
|
|
420
|
+
}, Ft = ({
|
|
421
421
|
icon: n,
|
|
422
422
|
heading: t,
|
|
423
423
|
description: r,
|
|
@@ -425,7 +425,7 @@ const Z = ({
|
|
|
425
425
|
htmlFor: l,
|
|
426
426
|
circledIconVariant: a,
|
|
427
427
|
...s
|
|
428
|
-
}) => /* @__PURE__ */ i("div", { className:
|
|
428
|
+
}) => /* @__PURE__ */ i("div", { className: ne.selectionRow, ...A(s), children: [
|
|
429
429
|
/* @__PURE__ */ i(c, { gap: 2, children: [
|
|
430
430
|
n && /* @__PURE__ */ e(
|
|
431
431
|
d,
|
|
@@ -433,17 +433,17 @@ const Z = ({
|
|
|
433
433
|
alignItems: "center",
|
|
434
434
|
justifyContent: "center",
|
|
435
435
|
width: "40px",
|
|
436
|
-
className:
|
|
436
|
+
className: ne.iconColumn,
|
|
437
437
|
children: /* @__PURE__ */ e(E, { icon: n, variant: a })
|
|
438
438
|
}
|
|
439
439
|
),
|
|
440
440
|
/* @__PURE__ */ e("label", { htmlFor: l, children: /* @__PURE__ */ i(u, { gap: 0.5, children: [
|
|
441
|
-
/* @__PURE__ */ e(
|
|
442
|
-
typeof r == "string" ? /* @__PURE__ */ e(
|
|
441
|
+
/* @__PURE__ */ e(C, { variant: "bold", children: t }),
|
|
442
|
+
typeof r == "string" ? /* @__PURE__ */ e(C, { color: p("--silver-dark"), children: r }) : r
|
|
443
443
|
] }) })
|
|
444
444
|
] }),
|
|
445
445
|
o
|
|
446
|
-
] }), Nn = "_sidebarMenu_1bx5w_1", Pn = "_sidebarItems_1bx5w_38", Fn = "_scrollContainer_1bx5w_48",
|
|
446
|
+
] }), Nn = "_sidebarMenu_1bx5w_1", Pn = "_sidebarItems_1bx5w_38", Fn = "_scrollContainer_1bx5w_48", G = {
|
|
447
447
|
sidebarMenu: Nn,
|
|
448
448
|
sidebarItems: Pn,
|
|
449
449
|
scrollContainer: Fn
|
|
@@ -469,7 +469,7 @@ const Z = ({
|
|
|
469
469
|
isPinned: n,
|
|
470
470
|
onClick: t,
|
|
471
471
|
label: r
|
|
472
|
-
}) => /* @__PURE__ */ e(
|
|
472
|
+
}) => /* @__PURE__ */ e(D, { onClick: t, label: r ?? (n ? "Unpin menu" : "Pin menu"), leftIcon: n ? ae : ze }), zt = ({
|
|
473
473
|
className: n,
|
|
474
474
|
children: t,
|
|
475
475
|
onCloseClick: r,
|
|
@@ -478,12 +478,12 @@ const Z = ({
|
|
|
478
478
|
bottomItems: a,
|
|
479
479
|
isPinned: s,
|
|
480
480
|
...h
|
|
481
|
-
}) => /* @__PURE__ */ i(d, { ...h, className: y(
|
|
481
|
+
}) => /* @__PURE__ */ i(d, { ...h, className: y(G.sidebarMenu, n), children: [
|
|
482
482
|
/* @__PURE__ */ e(An, { onClick: r }),
|
|
483
|
-
/* @__PURE__ */ e(d, { className:
|
|
483
|
+
/* @__PURE__ */ e(d, { className: G.scrollContainer, children: /* @__PURE__ */ i(
|
|
484
484
|
u,
|
|
485
485
|
{
|
|
486
|
-
className:
|
|
486
|
+
className: G.sidebarItems,
|
|
487
487
|
justifyContent: "space-between",
|
|
488
488
|
flex: 1,
|
|
489
489
|
gap: 1,
|
|
@@ -504,10 +504,10 @@ const Z = ({
|
|
|
504
504
|
]
|
|
505
505
|
}
|
|
506
506
|
) })
|
|
507
|
-
] }),
|
|
507
|
+
] }), $ = He(!1), X = () => We($), Tn = ({
|
|
508
508
|
label: n,
|
|
509
509
|
...t
|
|
510
|
-
}) => /* @__PURE__ */ e(
|
|
510
|
+
}) => /* @__PURE__ */ e(ge, { label: n, placement: "right", appendTo: document.body, children: /* @__PURE__ */ e(V, { ...t }) }), jt = ({
|
|
511
511
|
closeButtonVisible: n,
|
|
512
512
|
onClickCloseButton: t,
|
|
513
513
|
onClickMenuButton: r,
|
|
@@ -527,15 +527,15 @@ const Z = ({
|
|
|
527
527
|
shadow: "popover",
|
|
528
528
|
background: p("--lhds-color-ui-50"),
|
|
529
529
|
children: [
|
|
530
|
-
/* @__PURE__ */ e(
|
|
530
|
+
/* @__PURE__ */ e(V, { onClick: r, icon: le }),
|
|
531
531
|
/* @__PURE__ */ i(u, { justifyContent: "space-between", flex: 1, gap: 1, children: [
|
|
532
|
-
/* @__PURE__ */ e(u, { gap: 1, children: /* @__PURE__ */ e(
|
|
533
|
-
/* @__PURE__ */ e(u, { gap: 1, children: (l || n) && /* @__PURE__ */ i(
|
|
532
|
+
/* @__PURE__ */ e(u, { gap: 1, children: /* @__PURE__ */ e($.Provider, { value: !0, children: o }) }),
|
|
533
|
+
/* @__PURE__ */ e(u, { gap: 1, children: (l || n) && /* @__PURE__ */ i($.Provider, { value: !0, children: [
|
|
534
534
|
l,
|
|
535
535
|
n && /* @__PURE__ */ e(
|
|
536
536
|
Tn,
|
|
537
537
|
{
|
|
538
|
-
icon:
|
|
538
|
+
icon: ae,
|
|
539
539
|
label: a,
|
|
540
540
|
onClick: t
|
|
541
541
|
}
|
|
@@ -544,24 +544,24 @@ const Z = ({
|
|
|
544
544
|
] })
|
|
545
545
|
]
|
|
546
546
|
}
|
|
547
|
-
),
|
|
547
|
+
), $n = ({
|
|
548
548
|
label: n
|
|
549
|
-
}) =>
|
|
549
|
+
}) => X() ? null : /* @__PURE__ */ i(d, { height: "32px", justifyContent: "center", indent: 1, children: [
|
|
550
550
|
/* @__PURE__ */ e(B, {}),
|
|
551
|
-
/* @__PURE__ */ e(
|
|
552
|
-
] }),
|
|
551
|
+
/* @__PURE__ */ e(C, { variant: "overline", size: "smaller", children: n })
|
|
552
|
+
] }), On = ({
|
|
553
553
|
label: n,
|
|
554
554
|
leftIcon: t,
|
|
555
555
|
...r
|
|
556
|
-
}) => t == null ? null : /* @__PURE__ */ e(
|
|
556
|
+
}) => t == null ? null : /* @__PURE__ */ e(ge, { label: n, placement: "right", children: /* @__PURE__ */ e(je, { icon: t, ...r }) }), At = (n) => X() ? /* @__PURE__ */ e(On, { ...n }) : /* @__PURE__ */ e(Ae, { ...n }), En = ({
|
|
557
557
|
children: n,
|
|
558
558
|
label: t,
|
|
559
559
|
icon: r,
|
|
560
560
|
popupMinWidth: o = "200px"
|
|
561
561
|
}) => /* @__PURE__ */ e(
|
|
562
|
-
|
|
562
|
+
me,
|
|
563
563
|
{
|
|
564
|
-
renderTrigger: (l) => /* @__PURE__ */ e(
|
|
564
|
+
renderTrigger: (l) => /* @__PURE__ */ e(V, { icon: r, ...l }),
|
|
565
565
|
placement: "right-start",
|
|
566
566
|
trigger: ["hover", "focus"],
|
|
567
567
|
disablePadding: !0,
|
|
@@ -573,14 +573,14 @@ const Z = ({
|
|
|
573
573
|
spacing: 1,
|
|
574
574
|
indent: 1,
|
|
575
575
|
gap: 2,
|
|
576
|
-
children: /* @__PURE__ */ i(
|
|
577
|
-
/* @__PURE__ */ e(
|
|
576
|
+
children: /* @__PURE__ */ i($.Provider, { value: !1, children: [
|
|
577
|
+
/* @__PURE__ */ e($n, { label: t }),
|
|
578
578
|
n
|
|
579
579
|
] })
|
|
580
580
|
}
|
|
581
581
|
)
|
|
582
582
|
}
|
|
583
|
-
),
|
|
583
|
+
), Lt = ({
|
|
584
584
|
children: n,
|
|
585
585
|
label: t,
|
|
586
586
|
leftIcon: r,
|
|
@@ -588,8 +588,8 @@ const Z = ({
|
|
|
588
588
|
initialExpand: l = !1
|
|
589
589
|
}) => {
|
|
590
590
|
const [a, s] = T(l);
|
|
591
|
-
return
|
|
592
|
-
|
|
591
|
+
return X() ? r == null ? null : /* @__PURE__ */ e(En, { label: t, icon: r, children: n }) : /* @__PURE__ */ e(
|
|
592
|
+
D,
|
|
593
593
|
{
|
|
594
594
|
label: t,
|
|
595
595
|
onClick: () => s(!a),
|
|
@@ -598,16 +598,16 @@ const Z = ({
|
|
|
598
598
|
expandable: !0,
|
|
599
599
|
expanded: a,
|
|
600
600
|
selected: a,
|
|
601
|
-
children: /* @__PURE__ */ e(
|
|
601
|
+
children: /* @__PURE__ */ e(_n, { children: n })
|
|
602
602
|
}
|
|
603
603
|
);
|
|
604
|
-
},
|
|
604
|
+
}, Tt = (n) => /* @__PURE__ */ e(
|
|
605
605
|
Ge,
|
|
606
606
|
{
|
|
607
607
|
color: p("--lhds-color-ui-400"),
|
|
608
608
|
...n
|
|
609
609
|
}
|
|
610
|
-
), Hn = (n, t, r) => n == null ? "" : (De(Ke(r))(n, t) ?? "").replace("{ITEMS}", String(n)),
|
|
610
|
+
), Hn = (n, t, r) => n == null ? "" : (De(Ke(r))(n, t) ?? "").replace("{ITEMS}", String(n)), $t = ({
|
|
611
611
|
numItemsSelected: n,
|
|
612
612
|
label: t,
|
|
613
613
|
selectedLabel: r = {
|
|
@@ -637,16 +637,16 @@ const Z = ({
|
|
|
637
637
|
borderRadius: "var(--swui-border-radius)",
|
|
638
638
|
children: [
|
|
639
639
|
/* @__PURE__ */ i(c, { alignItems: "center", gap: 2, children: [
|
|
640
|
-
n != null || t != null ? /* @__PURE__ */ e(c, { alignItems: "center", children: n != null ? /* @__PURE__ */ e(
|
|
640
|
+
n != null || t != null ? /* @__PURE__ */ e(c, { alignItems: "center", children: n != null ? /* @__PURE__ */ e(C, { children: s }) : t != null ? typeof t == "string" ? /* @__PURE__ */ e(C, { children: t }) : t : null }) : null,
|
|
641
641
|
o && /* @__PURE__ */ e(c, { children: o })
|
|
642
642
|
] }),
|
|
643
643
|
/* @__PURE__ */ e(c, { gap: 2, children: l })
|
|
644
644
|
]
|
|
645
645
|
}
|
|
646
646
|
);
|
|
647
|
-
},
|
|
647
|
+
}, Ot = ({ children: n }) => /* @__PURE__ */ e(c, { spacing: 0.5, indent: 0.5, flex: 1, children: n }), Wn = "_productCard_19x6b_1", qn = {
|
|
648
648
|
productCard: Wn
|
|
649
|
-
},
|
|
649
|
+
}, Et = ({
|
|
650
650
|
renderSelectedProductCard: n,
|
|
651
651
|
renderEditButton: t,
|
|
652
652
|
children: r,
|
|
@@ -682,12 +682,12 @@ const Z = ({
|
|
|
682
682
|
justifyContent: "center",
|
|
683
683
|
alignItems: "center",
|
|
684
684
|
background: "rgba(255, 255, 255, 0.7)",
|
|
685
|
-
children: /* @__PURE__ */ e(
|
|
685
|
+
children: /* @__PURE__ */ e(ce, {})
|
|
686
686
|
}
|
|
687
687
|
)
|
|
688
688
|
]
|
|
689
689
|
}
|
|
690
|
-
), Un = ({ children: n }) => /* @__PURE__ */ e(
|
|
690
|
+
), Un = ({ children: n }) => /* @__PURE__ */ e(C, { variant: "bold", style: { fontSize: "2.0rem" }, children: n }), Ht = ({
|
|
691
691
|
description: n,
|
|
692
692
|
subDescription: t,
|
|
693
693
|
descriptionTags: r,
|
|
@@ -700,7 +700,7 @@ const Z = ({
|
|
|
700
700
|
children: b,
|
|
701
701
|
headingLevel: f
|
|
702
702
|
}) => {
|
|
703
|
-
const
|
|
703
|
+
const x = r == null ? !1 : Array.isArray(r) ? r.length > 0 : !Ze(r);
|
|
704
704
|
return /* @__PURE__ */ i(u, { children: [
|
|
705
705
|
g?.(),
|
|
706
706
|
/* @__PURE__ */ i(d, { gap: 2, spacing: 4, indent: 4, background: p("--moln"), children: [
|
|
@@ -720,9 +720,9 @@ const Z = ({
|
|
|
720
720
|
]
|
|
721
721
|
}
|
|
722
722
|
),
|
|
723
|
-
h && /* @__PURE__ */ e(
|
|
723
|
+
h && /* @__PURE__ */ e(C, { variant: "bold", color: p("--silver-dark"), children: h })
|
|
724
724
|
] }),
|
|
725
|
-
(
|
|
725
|
+
(x || o) && /* @__PURE__ */ i(u, { children: [
|
|
726
726
|
/* @__PURE__ */ i(c, { gap: 1, flexWrap: "wrap", children: [
|
|
727
727
|
r,
|
|
728
728
|
o && /* @__PURE__ */ e(Le, { label: o, variant: "passive" })
|
|
@@ -730,17 +730,17 @@ const Z = ({
|
|
|
730
730
|
/* @__PURE__ */ e(B, {})
|
|
731
731
|
] }),
|
|
732
732
|
n && /* @__PURE__ */ i(u, { children: [
|
|
733
|
-
/* @__PURE__ */ e(
|
|
733
|
+
/* @__PURE__ */ e(C, { children: n }),
|
|
734
734
|
/* @__PURE__ */ e(B, {})
|
|
735
735
|
] }),
|
|
736
736
|
t && /* @__PURE__ */ i(u, { children: [
|
|
737
|
-
/* @__PURE__ */ e(
|
|
737
|
+
/* @__PURE__ */ e(C, { children: t }),
|
|
738
738
|
/* @__PURE__ */ e(B, {})
|
|
739
739
|
] }),
|
|
740
740
|
b
|
|
741
741
|
] })
|
|
742
742
|
] });
|
|
743
|
-
},
|
|
743
|
+
}, Wt = ({ renderImage: n }) => /* @__PURE__ */ i(u, { children: [
|
|
744
744
|
n?.(),
|
|
745
745
|
/* @__PURE__ */ i(d, { gap: 3, spacing: 4, indent: 4, background: p("--moln"), children: [
|
|
746
746
|
/* @__PURE__ */ e(d, { gap: 0.5, children: /* @__PURE__ */ e(
|
|
@@ -762,30 +762,31 @@ const Z = ({
|
|
|
762
762
|
/* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(N, { width: "180px", height: "2.0rem", borderRadius: "8px" }) }),
|
|
763
763
|
/* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(N, { width: "150px", height: "1.4rem", borderRadius: "8px" }) })
|
|
764
764
|
] })
|
|
765
|
-
] }),
|
|
765
|
+
] }), qt = ({
|
|
766
766
|
label: n,
|
|
767
767
|
children: t
|
|
768
768
|
}) => /* @__PURE__ */ i(d, { background: p("--mussla"), indent: 2, spacing: 2, gap: 2, children: [
|
|
769
769
|
/* @__PURE__ */ e(P, { variant: "h3", as: "h2", color: "white", children: n }),
|
|
770
770
|
t
|
|
771
|
-
] }),
|
|
771
|
+
] }), Ut = ({
|
|
772
772
|
title: n,
|
|
773
773
|
variant: t = "normal",
|
|
774
774
|
loading: r,
|
|
775
775
|
iconLeft: o,
|
|
776
776
|
compactIconLeft: l,
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
777
|
+
renderLeft: a,
|
|
778
|
+
renderButton: s,
|
|
779
|
+
renderOfferCodeTag: h,
|
|
780
|
+
renderMandatoryTag: g,
|
|
781
|
+
renderContentLeftOfButton: b,
|
|
782
|
+
children: f,
|
|
783
|
+
...x
|
|
783
784
|
}) => {
|
|
784
|
-
const { fontSizeRatio:
|
|
785
|
+
const { fontSizeRatio: I } = Qe(), S = M({
|
|
785
786
|
query: "(max-width: 460px)"
|
|
786
|
-
}),
|
|
787
|
+
}), v = M({
|
|
787
788
|
query: "(max-width: 360px)"
|
|
788
|
-
}) ||
|
|
789
|
+
}) || S && I > 1.2, _ = r ? "normal" : t, m = Dn(_), W = p("--moln"), q = Gn(_);
|
|
789
790
|
return /* @__PURE__ */ i(
|
|
790
791
|
d,
|
|
791
792
|
{
|
|
@@ -794,20 +795,23 @@ const Z = ({
|
|
|
794
795
|
shadow: "box",
|
|
795
796
|
overflow: "hidden",
|
|
796
797
|
position: r ? "relative" : void 0,
|
|
797
|
-
...A(
|
|
798
|
+
...A(x),
|
|
798
799
|
children: [
|
|
799
800
|
/* @__PURE__ */ i(c, { flex: 1, children: [
|
|
800
|
-
!
|
|
801
|
-
|
|
801
|
+
!v && /* @__PURE__ */ i(d, { flex: 2, justifyContent: "center", background: m, children: [
|
|
802
|
+
a?.(),
|
|
803
|
+
o && /* @__PURE__ */ e(K, { color: q, icon: o, size: 73 })
|
|
804
|
+
] }),
|
|
805
|
+
/* @__PURE__ */ e(d, { flex: 4, indent: 2, spacing: 2, background: W, children: /* @__PURE__ */ i(u, { gap: 2, children: [
|
|
802
806
|
n && /* @__PURE__ */ i(c, { justifyContent: "space-between", children: [
|
|
803
807
|
/* @__PURE__ */ i(c, { gap: 2, alignItems: "center", children: [
|
|
804
|
-
|
|
805
|
-
/* @__PURE__ */ e(
|
|
808
|
+
v && l && /* @__PURE__ */ e(E, { icon: l, size: "medium" }),
|
|
809
|
+
/* @__PURE__ */ e(C, { variant: "bold", size: "large", children: n })
|
|
806
810
|
] }),
|
|
807
|
-
|
|
811
|
+
_ == "normal" && h?.()
|
|
808
812
|
] }),
|
|
809
|
-
/* @__PURE__ */ e(u, { style: { opacity: r ? 0 : void 0 }, children:
|
|
810
|
-
|
|
813
|
+
/* @__PURE__ */ e(u, { style: { opacity: r ? 0 : void 0 }, children: f }),
|
|
814
|
+
g && /* @__PURE__ */ e(c, { style: { opacity: r ? 0 : void 0 }, children: g() }),
|
|
811
815
|
/* @__PURE__ */ e("div", {}),
|
|
812
816
|
/* @__PURE__ */ i(
|
|
813
817
|
c,
|
|
@@ -817,8 +821,8 @@ const Z = ({
|
|
|
817
821
|
gap: 2,
|
|
818
822
|
flexWrap: "wrap",
|
|
819
823
|
children: [
|
|
820
|
-
|
|
821
|
-
|
|
824
|
+
b?.() ?? /* @__PURE__ */ e("div", {}),
|
|
825
|
+
s?.()
|
|
822
826
|
]
|
|
823
827
|
}
|
|
824
828
|
)
|
|
@@ -835,7 +839,7 @@ const Z = ({
|
|
|
835
839
|
justifyContent: "center",
|
|
836
840
|
alignItems: "center",
|
|
837
841
|
background: "rgba(255, 255, 255, 0.7)",
|
|
838
|
-
children: /* @__PURE__ */ e(
|
|
842
|
+
children: /* @__PURE__ */ e(ce, {})
|
|
839
843
|
}
|
|
840
844
|
)
|
|
841
845
|
]
|
|
@@ -850,7 +854,7 @@ const Z = ({
|
|
|
850
854
|
case "normal":
|
|
851
855
|
return p("--mussla");
|
|
852
856
|
default:
|
|
853
|
-
|
|
857
|
+
he(n);
|
|
854
858
|
}
|
|
855
859
|
}, Dn = (n) => {
|
|
856
860
|
switch (n) {
|
|
@@ -861,9 +865,11 @@ const Z = ({
|
|
|
861
865
|
case "normal":
|
|
862
866
|
return p("--silver-lighter");
|
|
863
867
|
default:
|
|
864
|
-
|
|
868
|
+
he(n);
|
|
865
869
|
}
|
|
866
|
-
},
|
|
870
|
+
}, Kn = "_productSummaryCardImage_1knc7_1", Vn = {
|
|
871
|
+
productSummaryCardImage: Kn
|
|
872
|
+
}, Gt = ({ src: n, alt: t }) => /* @__PURE__ */ e("img", { src: n, alt: t, className: Vn.productSummaryCardImage }), Dt = ({ iconLeft: n, ...t }) => /* @__PURE__ */ e(
|
|
867
873
|
d,
|
|
868
874
|
{
|
|
869
875
|
borderRadius: "16px",
|
|
@@ -877,7 +883,7 @@ const Z = ({
|
|
|
877
883
|
flex: 2,
|
|
878
884
|
justifyContent: "center",
|
|
879
885
|
background: p("--silver-lighter"),
|
|
880
|
-
children: n && /* @__PURE__ */ e(
|
|
886
|
+
children: n && /* @__PURE__ */ e(K, { color: p("--mussla"), icon: n, size: 73 })
|
|
881
887
|
}
|
|
882
888
|
),
|
|
883
889
|
/* @__PURE__ */ e(d, { flex: 4, indent: 2, spacing: 2, background: p("--moln"), children: /* @__PURE__ */ i(u, { gap: 2, children: [
|
|
@@ -901,13 +907,13 @@ const Z = ({
|
|
|
901
907
|
] }) })
|
|
902
908
|
] })
|
|
903
909
|
}
|
|
904
|
-
),
|
|
910
|
+
), te = [
|
|
905
911
|
"small-mobile",
|
|
906
912
|
"mobile",
|
|
907
913
|
"tablet",
|
|
908
914
|
"tablet-wide",
|
|
909
915
|
"desktop"
|
|
910
|
-
],
|
|
916
|
+
], Ce = () => {
|
|
911
917
|
const n = M({
|
|
912
918
|
query: "(max-width: 768px)"
|
|
913
919
|
}), t = M({
|
|
@@ -918,15 +924,15 @@ const Z = ({
|
|
|
918
924
|
query: "(max-width: 1160px)"
|
|
919
925
|
});
|
|
920
926
|
return { deviceSize: t ? "small-mobile" : n ? "mobile" : r ? "tablet" : o ? "tablet-wide" : "desktop" };
|
|
921
|
-
},
|
|
922
|
-
const { deviceSize: t } =
|
|
927
|
+
}, Zn = (n, t) => n === t || te.indexOf(n) > te.indexOf(t), Kt = (n) => {
|
|
928
|
+
const { deviceSize: t } = Ce();
|
|
923
929
|
return {
|
|
924
930
|
visible: j(
|
|
925
|
-
() =>
|
|
931
|
+
() => Zn(t, n),
|
|
926
932
|
[t, n]
|
|
927
933
|
)
|
|
928
934
|
};
|
|
929
|
-
},
|
|
935
|
+
}, Qn = ({
|
|
930
936
|
isOpen: n,
|
|
931
937
|
initialIndex: t,
|
|
932
938
|
onUpdateIndex: r,
|
|
@@ -938,17 +944,17 @@ const Z = ({
|
|
|
938
944
|
onRequestClose: g,
|
|
939
945
|
images: b
|
|
940
946
|
}) => {
|
|
941
|
-
const f =
|
|
942
|
-
|
|
943
|
-
},
|
|
947
|
+
const f = Z(null), { deviceSize: x } = Ce(), I = x !== "mobile", [S, k] = T(t ?? 0), v = ({ index: m }) => {
|
|
948
|
+
k(m), r?.(m);
|
|
949
|
+
}, _ = j(() => b.map((m) => Xn(m)), [b]);
|
|
944
950
|
return /* @__PURE__ */ e(
|
|
945
|
-
|
|
951
|
+
fe,
|
|
946
952
|
{
|
|
947
953
|
open: n,
|
|
948
954
|
close: g,
|
|
949
955
|
index: S,
|
|
950
956
|
plugins: [en, nn, tn],
|
|
951
|
-
slides:
|
|
957
|
+
slides: _,
|
|
952
958
|
on: { view: v },
|
|
953
959
|
animation: { fade: 0 },
|
|
954
960
|
controller: {
|
|
@@ -967,12 +973,12 @@ const Z = ({
|
|
|
967
973
|
}
|
|
968
974
|
},
|
|
969
975
|
render: {
|
|
970
|
-
buttonZoom: (m) =>
|
|
976
|
+
buttonZoom: (m) => I && /* @__PURE__ */ i(c, { gap: 1, indent: 2, children: [
|
|
971
977
|
/* @__PURE__ */ e(
|
|
972
978
|
R,
|
|
973
979
|
{
|
|
974
980
|
"aria-label": l,
|
|
975
|
-
leftIcon:
|
|
981
|
+
leftIcon: $e,
|
|
976
982
|
size: "large",
|
|
977
983
|
onClick: () => m.zoomIn()
|
|
978
984
|
}
|
|
@@ -981,32 +987,32 @@ const Z = ({
|
|
|
981
987
|
R,
|
|
982
988
|
{
|
|
983
989
|
"aria-label": a,
|
|
984
|
-
leftIcon:
|
|
990
|
+
leftIcon: Oe,
|
|
985
991
|
size: "large",
|
|
986
992
|
onClick: () => m.zoomOut()
|
|
987
993
|
}
|
|
988
994
|
)
|
|
989
995
|
] }),
|
|
990
|
-
buttonPrev: () => b.length > 1 &&
|
|
996
|
+
buttonPrev: () => b.length > 1 && I && /* @__PURE__ */ e(w, { num: 4, className: "yarl__navigation_prev", children: /* @__PURE__ */ e(
|
|
991
997
|
R,
|
|
992
998
|
{
|
|
993
999
|
"aria-label": o,
|
|
994
|
-
leftIcon:
|
|
1000
|
+
leftIcon: de,
|
|
995
1001
|
size: "large",
|
|
996
1002
|
onClick: () => f.current?.prev()
|
|
997
1003
|
}
|
|
998
1004
|
) }),
|
|
999
|
-
buttonNext: () => b.length > 1 &&
|
|
1005
|
+
buttonNext: () => b.length > 1 && I && /* @__PURE__ */ e(w, { num: 4, className: "yarl__navigation_next", children: /* @__PURE__ */ e(
|
|
1000
1006
|
R,
|
|
1001
1007
|
{
|
|
1002
1008
|
"aria-label": s,
|
|
1003
|
-
leftIcon:
|
|
1009
|
+
leftIcon: se,
|
|
1004
1010
|
size: "large",
|
|
1005
1011
|
onClick: () => f.current?.next()
|
|
1006
1012
|
}
|
|
1007
1013
|
) }),
|
|
1008
1014
|
buttonClose: () => /* @__PURE__ */ e(w, { children: /* @__PURE__ */ e(
|
|
1009
|
-
|
|
1015
|
+
ie,
|
|
1010
1016
|
{
|
|
1011
1017
|
variant: "danger",
|
|
1012
1018
|
"aria-label": h,
|
|
@@ -1018,14 +1024,14 @@ const Z = ({
|
|
|
1018
1024
|
}
|
|
1019
1025
|
}
|
|
1020
1026
|
);
|
|
1021
|
-
},
|
|
1027
|
+
}, Xn = (n) => ({
|
|
1022
1028
|
src: n.url,
|
|
1023
1029
|
width: n.width,
|
|
1024
1030
|
height: n.height,
|
|
1025
1031
|
alt: n.alt,
|
|
1026
1032
|
title: n.title,
|
|
1027
1033
|
description: n.description
|
|
1028
|
-
}),
|
|
1034
|
+
}), Vt = ({
|
|
1029
1035
|
images: n,
|
|
1030
1036
|
initialIndex: t,
|
|
1031
1037
|
altLabelPrevious: r,
|
|
@@ -1034,15 +1040,15 @@ const Z = ({
|
|
|
1034
1040
|
altLabelNext: a,
|
|
1035
1041
|
altLabelClose: s
|
|
1036
1042
|
}) => {
|
|
1037
|
-
const h =
|
|
1043
|
+
const h = Z(null), [g, b] = T(!1), [f, x] = T(t ?? 0), I = J(() => {
|
|
1038
1044
|
b(!0);
|
|
1039
|
-
}, []), S =
|
|
1045
|
+
}, []), S = J(() => {
|
|
1040
1046
|
b(!1);
|
|
1041
|
-
}, []),
|
|
1047
|
+
}, []), k = ({ index: m }) => x(m);
|
|
1042
1048
|
qe(() => {
|
|
1043
|
-
|
|
1049
|
+
x(t ?? 0);
|
|
1044
1050
|
}, [t]);
|
|
1045
|
-
const v = j(() => n.map(
|
|
1051
|
+
const v = j(() => n.map(Jn), [n]), _ = j(() => n.map(
|
|
1046
1052
|
(m) => m.fullscreenImage ? {
|
|
1047
1053
|
...m,
|
|
1048
1054
|
url: m.fullscreenImage.url,
|
|
@@ -1052,15 +1058,15 @@ const Z = ({
|
|
|
1052
1058
|
), [n]);
|
|
1053
1059
|
return /* @__PURE__ */ i(Xe, { blockedKeys: "Escape", children: [
|
|
1054
1060
|
/* @__PURE__ */ e(
|
|
1055
|
-
|
|
1061
|
+
fe,
|
|
1056
1062
|
{
|
|
1057
1063
|
controller: { ref: h },
|
|
1058
1064
|
index: f,
|
|
1059
1065
|
slides: v,
|
|
1060
1066
|
plugins: [Ye],
|
|
1061
1067
|
on: {
|
|
1062
|
-
view:
|
|
1063
|
-
click:
|
|
1068
|
+
view: k,
|
|
1069
|
+
click: I
|
|
1064
1070
|
},
|
|
1065
1071
|
carousel: {
|
|
1066
1072
|
padding: 0,
|
|
@@ -1072,7 +1078,7 @@ const Z = ({
|
|
|
1072
1078
|
R,
|
|
1073
1079
|
{
|
|
1074
1080
|
"aria-label": r,
|
|
1075
|
-
leftIcon:
|
|
1081
|
+
leftIcon: de,
|
|
1076
1082
|
onClick: () => h.current?.prev()
|
|
1077
1083
|
}
|
|
1078
1084
|
) }),
|
|
@@ -1080,7 +1086,7 @@ const Z = ({
|
|
|
1080
1086
|
R,
|
|
1081
1087
|
{
|
|
1082
1088
|
"aria-label": a,
|
|
1083
|
-
leftIcon:
|
|
1089
|
+
leftIcon: se,
|
|
1084
1090
|
onClick: () => h.current?.next()
|
|
1085
1091
|
}
|
|
1086
1092
|
) })
|
|
@@ -1101,13 +1107,13 @@ const Z = ({
|
|
|
1101
1107
|
}
|
|
1102
1108
|
),
|
|
1103
1109
|
g && /* @__PURE__ */ e(
|
|
1104
|
-
|
|
1110
|
+
Qn,
|
|
1105
1111
|
{
|
|
1106
1112
|
isOpen: !0,
|
|
1107
1113
|
onRequestClose: S,
|
|
1108
1114
|
initialIndex: f,
|
|
1109
|
-
onUpdateIndex:
|
|
1110
|
-
images:
|
|
1115
|
+
onUpdateIndex: x,
|
|
1116
|
+
images: _,
|
|
1111
1117
|
altLabelPrevious: r,
|
|
1112
1118
|
altLabelNext: a,
|
|
1113
1119
|
altLabelClose: s,
|
|
@@ -1116,7 +1122,7 @@ const Z = ({
|
|
|
1116
1122
|
}
|
|
1117
1123
|
)
|
|
1118
1124
|
] });
|
|
1119
|
-
},
|
|
1125
|
+
}, Jn = (n) => ({
|
|
1120
1126
|
src: n.url,
|
|
1121
1127
|
width: n.width,
|
|
1122
1128
|
height: n.height,
|
|
@@ -1126,49 +1132,50 @@ const Z = ({
|
|
|
1126
1132
|
});
|
|
1127
1133
|
export {
|
|
1128
1134
|
rn as ActionMenuFlatButton,
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1135
|
+
pt as ActionMenuPrimaryButton,
|
|
1136
|
+
mt as ActionMenuSecondaryButton,
|
|
1137
|
+
gt as CheckboxMenu,
|
|
1132
1138
|
wn as Collapsible,
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1139
|
+
St as CollapsibleEmptyContent,
|
|
1140
|
+
_t as CollapsibleGroupHeading,
|
|
1141
|
+
yt as CollapsibleList,
|
|
1142
|
+
It as CollapsibleWithCheckbox,
|
|
1137
1143
|
Sn as ErrorPanel,
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1144
|
+
kt as ErrorScreen,
|
|
1145
|
+
Qn as FullscreenImageCarousel,
|
|
1146
|
+
Vt as ImageCarousel,
|
|
1141
1147
|
kn as LoadingPanel,
|
|
1142
|
-
|
|
1143
|
-
|
|
1148
|
+
Rt as LoadingScreen,
|
|
1149
|
+
bt as NavBar,
|
|
1144
1150
|
un as NavBarButton,
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
At as
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1151
|
+
Ct as NavBarHeading,
|
|
1152
|
+
ft as NavBarLink,
|
|
1153
|
+
vt as NavBarNotificationButton,
|
|
1154
|
+
xt as NavBarPopoverButton,
|
|
1155
|
+
Bt as NavBarSearchField,
|
|
1156
|
+
wt as NavBarUserButton,
|
|
1157
|
+
Mt as PageHeader,
|
|
1158
|
+
Nt as PageHeaderRow,
|
|
1159
|
+
Pt as PageHeading,
|
|
1160
|
+
Et as ProductCard,
|
|
1161
|
+
Ht as ProductCardContentItem,
|
|
1162
|
+
Wt as ProductCardContentItemSkeletor,
|
|
1163
|
+
Ut as ProductSummaryCard,
|
|
1164
|
+
Gt as ProductSummaryCardImage,
|
|
1165
|
+
Dt as ProductSummaryCardSkeletor,
|
|
1166
|
+
Ot as SelectedItemsActionsPadding,
|
|
1167
|
+
$t as SelectedItemsActionsPanel,
|
|
1168
|
+
qt as SelectedProductCard,
|
|
1169
|
+
Ft as SelectionRow,
|
|
1170
|
+
zt as SidebarMenu,
|
|
1171
|
+
Lt as SidebarMenuCollapsible,
|
|
1172
|
+
_n as SidebarMenuCollapsibleGroupBox,
|
|
1173
|
+
$n as SidebarMenuHeading,
|
|
1174
|
+
At as SidebarMenuLink,
|
|
1175
|
+
Tt as SidebarMenuSeparator,
|
|
1176
|
+
jt as SidebarRailMenu,
|
|
1177
|
+
Zn as isDeviceSameOrLarger,
|
|
1178
|
+
Ce as useDeviceSize,
|
|
1179
|
+
Kt as useLayoutVisibility
|
|
1173
1180
|
};
|
|
1174
1181
|
//# sourceMappingURL=index.es.js.map
|