@shohojdhara/atomix 0.2.7 → 0.2.8

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/atomix.css +332 -54
  3. package/dist/atomix.min.css +2 -2
  4. package/dist/index.d.ts +286 -10
  5. package/dist/index.esm.js +451 -124
  6. package/dist/index.esm.js.map +1 -1
  7. package/dist/index.js +451 -124
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.min.js +1 -1
  10. package/dist/index.min.js.map +1 -1
  11. package/dist/themes/applemix.css +332 -54
  12. package/dist/themes/applemix.min.css +2 -2
  13. package/dist/themes/boomdevs.css +331 -53
  14. package/dist/themes/boomdevs.min.css +2 -2
  15. package/dist/themes/esrar.css +332 -54
  16. package/dist/themes/esrar.min.css +2 -2
  17. package/dist/themes/flashtrade.css +1636 -512
  18. package/dist/themes/flashtrade.min.css +113 -7
  19. package/dist/themes/mashroom.css +331 -53
  20. package/dist/themes/mashroom.min.css +2 -2
  21. package/dist/themes/shaj-default.css +331 -53
  22. package/dist/themes/shaj-default.min.css +2 -2
  23. package/package.json +1 -1
  24. package/src/components/Button/Button.stories.tsx +174 -0
  25. package/src/components/Button/Button.tsx +238 -78
  26. package/src/components/Card/Card.stories.tsx +202 -0
  27. package/src/components/Card/Card.tsx +248 -77
  28. package/src/components/Form/Input.stories.tsx +228 -2
  29. package/src/components/Tooltip/Tooltip.tsx +68 -66
  30. package/src/lib/composables/useButton.ts +37 -5
  31. package/src/lib/composables/useInput.ts +39 -1
  32. package/src/lib/constants/components.ts +53 -0
  33. package/src/lib/types/components.ts +278 -4
  34. package/src/styles/01-settings/_settings.tooltip.scss +2 -2
  35. package/src/styles/06-components/_components.button.scss +100 -0
  36. package/src/styles/06-components/_components.card.scss +219 -1
  37. package/src/styles/06-components/_components.tooltip.scss +89 -66
package/dist/index.min.js CHANGED
@@ -1,2 +1,2 @@
1
- import{jsx as e,jsxs as t,Fragment as a}from"react/jsx-runtime";import n,{useState as i,useRef as r,useEffect as o,forwardRef as s,useId as l,useMemo as c,useCallback as d,Children as u,isValidElement as h,cloneElement as m,memo as p,createContext as g,useContext as S,useImperativeHandle as E}from"react";import*as A from"@phosphor-icons/react";import{Pause as N,Play as v,SkipBack as _,SkipForward as f,SpeakerX as b,SpeakerHigh as T,Gear as C,Download as L,Share as y,ArrowsIn as I,ArrowsOut as x}from"@phosphor-icons/react";import{createPortal as R}from"react-dom";import O from"classnames";const M={SELECTORS:{ACCORDION:".c-accordion",HEADER:".c-accordion__header",PANEL:".c-accordion__panel",BODY:".c-accordion__body"},CLASSES:{IS_OPEN:"is-open",IS_ANIMATING:"is-animating",IS_DISABLED:"is-disabled"},ATTRIBUTES:{ARIA_EXPANDED:"aria-expanded",ARIA_CONTROLS:"aria-controls",ARIA_HIDDEN:"aria-hidden",ROLE:"role"},CSS_VARS:{PANEL_HEIGHT:"--panel-height"}},w={BASE_CLASS:"c-badge",ICON_CLASS:"c-badge__icon",VARIANT_PREFIX:"c-badge--",SIZE_PREFIX:"c-badge--"},D={BASE_CLASS:"c-list",ITEM_CLASS:"c-list__item",VARIANT_PREFIX:"c-list--",SIZE_PREFIX:"c-list--",CLASSES:{ORDERED:"c-list--ordered",INLINE:"c-list--inline"}},B={BASE_CLASS:"c-list-group",ITEM_CLASS:"c-list-group__item",VARIANT_PREFIX:"c-list-group--",SIZE_PREFIX:"c-list-group--"},P={SELECTORS:{BREADCRUMB:".c-breadcrumb",ITEM:".c-breadcrumb__item",LINK:".c-breadcrumb__link"},CLASSES:{BASE:"c-breadcrumb",ITEM:"c-breadcrumb__item",LINK:"c-breadcrumb__link",ACTIVE:"is-active"},DEFAULTS:{DIVIDER:"›"}},k={SELECTORS:{HERO:".c-hero",CONTAINER:".c-hero__container",GRID:".c-hero__grid",CONTENT:".c-hero__content",SUBTITLE:".c-hero__subtitle",TITLE:".c-hero__title",TEXT:".c-hero__text",ACTIONS:".c-hero__actions",IMAGE:".c-hero__image",BG:".c-hero__bg",BG_IMAGE:".c-hero__bg-image",OVERLAY:".c-hero__overlay",IMAGE_WRAPPER:".c-hero__image-wrapper",SLIDER:".c-hero__slider",SLIDER_ITEM:".c-hero__slider-item"},CLASSES:{CENTER:"c-hero--center",RIGHT:"c-hero--right",LEFT:"c-hero--left",FULL_VH:"c-hero--full-vh",SLIDER_FADE:"c-hero__slider--fade",SLIDER_SLIDE:"c-hero__slider--slide",SLIDER_CUSTOM:"c-hero__slider--custom",SLIDER_ITEM_ACTIVE:"c-hero__slider-item--active"}},U={SELECTORS:{TOOLTIP:".js-atomix-tooltip",TRIGGER:".js-atomix-tooltip-trigger",CONTENT:".js-atomix-tooltip-content",ARROW:".c-tooltip__arrow"},CLASSES:{IS_ACTIVE:"is-active",TOP:"c-tooltip--top",BOTTOM:"c-tooltip--bottom",LEFT:"c-tooltip--left",RIGHT:"c-tooltip--right",TOP_LEFT:"c-tooltip--top-left",TOP_RIGHT:"c-tooltip--top-right",BOTTOM_LEFT:"c-tooltip--bottom-left",BOTTOM_RIGHT:"c-tooltip--bottom-right"},ATTRIBUTES:{POSITION:"data-tooltip-position",TRIGGER:"data-tooltip-trigger",CONTENT_ID:"data-tooltip-id"},DEFAULTS:{TRIGGER:"hover",POSITION:"top",OFFSET:10,DELAY:200}},G={SELECTORS:{POPOVER:".js-atomix-popover",TRIGGER:".js-atomix-popover-trigger",CONTENT:".js-atomix-popover-content",CONTENT_INNER:".c-popover__content-inner",ARROW:".c-popover__arrow"},CLASSES:{IS_OPEN:"is-open",TOP:"c-popover--top",BOTTOM:"c-popover--bottom",LEFT:"c-popover--left",RIGHT:"c-popover--right",AUTO:"c-popover--auto"},ATTRIBUTES:{POSITION:"data-popover-position",TRIGGER:"data-popover-trigger",CONTENT_ID:"data-popover-id"},DEFAULTS:{TRIGGER:"click",POSITION:"top",OFFSET:12,DELAY:0}},z={SELECTORS:{TOGGLE:".c-toggle"},CLASSES:{IS_ON:"is-on"}},F={SELECTORS:{TAB:".js-atomix-tab",NAV_ITEMS:".c-tabs__nav-item",NAV_BTN:".c-tabs__nav-btn",PANELS:".c-tabs__panel",PANEL_BODIES:".c-tabs__panel-body"},CLASSES:{ACTIVE:"is-active"},DEFAULTS:{ACTIVE_INDEX:0}},V={SELECTORS:{STEPS:".c-steps",ITEM:".c-steps__item",LINE:".c-steps__line",CONTENT:".c-steps__content",NUMBER:".c-steps__number",TEXT:".c-steps__text"},CLASSES:{ACTIVE:"is-active",VERTICAL:"c-steps--vertical",COMPLETED:"is-completed"}},H={SELECTORS:{TESTIMONIAL:".c-testimonial",QUOTE:".c-testimonial__quote",AUTHOR:".c-testimonial__author",AUTHOR_AVATAR:".c-testimonial__author-avatar",AUTHOR_INFO:".c-testimonial__info",AUTHOR_NAME:".c-testimonial__author-name",AUTHOR_ROLE:".c-testimonial__author-role"},CLASSES:{SMALL:"c-testimonial--sm",LARGE:"c-testimonial--lg"}},Y={SELECTORS:{SPINNER:".c-spinner"},CLASSES:{PRIMARY:"c-spinner--primary",SECONDARY:"c-spinner--secondary",SUCCESS:"c-spinner--success",INFO:"c-spinner--info",WARNING:"c-spinner--warning",DANGER:"c-spinner--danger",LIGHT:"c-spinner--light",DARK:"c-spinner--dark",SMALL:"c-spinner--sm",LARGE:"c-spinner--lg"},VISUALLY_HIDDEN:"u-visually-hidden"},K={SELECTORS:{SECTION_INTRO:".c-sectionintro",LABEL:".c-sectionintro__label",TITLE:".c-sectionintro__title",TEXT:".c-sectionintro__text",ACTIONS:".c-sectionintro__actions"},CLASSES:{CENTER:"c-sectionintro--center",LARGE:"c-sectionintro--lg",SMALL:"c-sectionintro--sm"}},$={SELECTORS:{RIVER:".c-river",CONTAINER:".c-river__container",ROW:".c-river__row",CONTENT:".c-river__content",CONTENT_COL:".c-river__content-col",CONTENT_COL_TITLE:".c-river__content-col--title",CONTENT_COL_TEXT:".c-river__content-col--text",TITLE:".c-river__title",TEXT:".c-river__text",ACTIONS:".c-river__actions",VISUAL:".c-river__visual",IMAGE_WRAPPER:".c-river__image-wrapper",IMAGE:".c-river__image",BG:".c-river__bg",BG_IMAGE:".c-river__bg-image",OVERLAY:".c-river__overlay"},CLASSES:{CENTER:"c-river--center",BREAKOUT:"c-river--breakout",REVERSE:"c-river--reverse"},ATTRIBUTES:{CONTENT_WIDTH:"--river-content-width"}},W={SELECTORS:{UPLOAD:".c-upload",INNER:".c-upload__inner",ICON:".c-upload__icon",TITLE:".c-upload__title",TEXT:".c-upload__text",BUTTON:".c-upload__btn",HELPER_TEXT:".c-upload__helper-text",LOADER:".c-upload__loader",LOADER_STATUS:".c-upload__loader-status",LOADER_TITLE:".c-upload__loader-title",LOADER_PROGRESS:".c-upload__loader-progress",LOADER_PAR:".c-upload__loader-par",LOADER_TIME:".c-upload__loader-time",LOADER_CONTROL:".c-upload__loader-control",LOADER_BAR:".c-upload__loader-bar",LOADER_CLOSE:".c-upload__loader-close"},CLASSES:{DISABLED:"c-upload--disabled",ERROR:"c-upload--error",SUCCESS:"c-upload--success",LOADING:"c-upload--loading",DRAGGING:"c-upload--dragging"},ATTRIBUTES:{PERCENTAGE:"--upload-loader-percentage"}},Q={SELECTORS:{NAV:".c-nav",ITEM:".c-nav__item",LINK:".c-nav__link",DROPDOWN:".c-nav__item--dropdown",DROPDOWN_MENU:".c-nav__dropdown-menu",MEGA_MENU:".c-nav__mega-menu",ICON:".c-nav__icon"},CLASSES:{END:"c-nav--end",CENTER:"c-nav--center",ACTIVE:"is-active",DISABLED:"is-disabled"}},Z={SELECTORS:{SIDE_MENU:".c-side-menu",WRAPPER:".c-side-menu__wrapper",INNER:".c-side-menu__inner",TITLE:".c-side-menu__title",TOGGLER:".c-side-menu__toggler",TOGGLER_ICON:".c-side-menu__toggler-icon",LIST:".c-side-menu__list",ITEM:".c-side-menu__item",LINK:".c-side-menu__link",LINK_ICON:".c-side-menu__link-icon",LINK_TEXT:".c-side-menu__link-text"},CLASSES:{BASE:"c-side-menu",WRAPPER:"c-side-menu__wrapper",INNER:"c-side-menu__inner",TITLE:"c-side-menu__title",TOGGLER:"c-side-menu__toggler",TOGGLER_ICON:"c-side-menu__toggler-icon",LIST:"c-side-menu__list",ITEM:"c-side-menu__item",LINK:"c-side-menu__link",LINK_ICON:"c-side-menu__link-icon",LINK_TEXT:"c-side-menu__link-text",IS_OPEN:"is-open",ACTIVE:"is-active",DISABLED:"is-disabled"},ATTRIBUTES:{SIDE_MENU:"data-side-menu",COLLAPSIBLE:"data-collapsible",OPEN:"data-open",TITLE:"data-title"},DEFAULTS:{COLLAPSIBLE:!0,OPEN:!1,TOGGLE_ICON:"▶"}},q={SELECTORS:{RATING:".c-rating",STAR:".c-rating__star",STAR_FULL:".c-rating__star-full",STAR_HALF:".c-rating__star-half"},CLASSES:{FULL:"c-rating__star--full",HALF:"c-rating__star--half",SMALL:"c-rating--sm",LARGE:"c-rating--lg"},ATTRIBUTES:{READONLY:"data-readonly",VALUE:"data-value"}},X={SELECTORS:{PANEL:".c-edge-panel",BACKDROP:".c-edge-panel__backdrop",CONTAINER:".c-edge-panel__container",HEADER:".c-edge-panel__header",BODY:".c-edge-panel__body",CLOSE:".c-edge-panel__close"},CLASSES:{BASE:"c-edge-panel",START:"c-edge-panel--start",END:"c-edge-panel--end",TOP:"c-edge-panel--top",BOTTOM:"c-edge-panel--bottom",IS_OPEN:"is-open"},TRANSFORM_VALUES:{start:"translateX(-100%)",end:"translateX(100%)",top:"translateY(-100%)",bottom:"translateY(100%)"},ANIMATION_DURATION:300},j={base:"c-data-table",container:"c-data-table-container",tableWrapper:"c-data-table-wrapper",header:"c-data-table__header",headerCell:"c-data-table__header-cell",headerContent:"c-data-table__header-content",sortable:"c-data-table__header-cell--sortable",sortIcon:"c-data-table__sort-icon",row:"c-data-table__row",cell:"c-data-table__cell",loadingCell:"c-data-table__loading-cell",loadingIndicator:"c-data-table__loading-indicator",emptyCell:"c-data-table__empty-cell",toolbar:"c-data-table-toolbar",search:"c-data-table-search",searchInput:"c-data-table-search__input",pagination:"c-data-table__pagination-container",striped:"c-data-table--striped",bordered:"c-data-table--bordered",dense:"c-data-table--dense",loading:"c-data-table--loading",open:"is-open"},J={currentPage:1,totalPages:1,siblingCount:1,showFirstLastButtons:!0,showPrevNextButtons:!0,size:"md"},ee={SELECTORS:{TODO:".c-todo",TITLE:".c-todo__title",LIST:".c-todo__list",ITEM:".c-todo__item",ITEM_CONTENT:".c-todo__item-content",ITEM_TEXT:".c-todo__item-text",ITEM_ACTIONS:".c-todo__item-actions",CHECKBOX:".c-todo__checkbox",DELETE_BUTTON:".c-todo__delete-btn",FORM:".c-todo__form",INPUT:".c-todo__input",ADD_BUTTON:".c-todo__add-btn"},CLASSES:{BASE:"c-todo",ITEM:"c-todo__item",COMPLETED:"c-todo__item--completed",SMALL:"c-todo--sm",LARGE:"c-todo--lg"}},te={SELECTORS:{FORM:".c-form",GROUP:".c-form-group",LABEL:".c-form-group__label",HELPER:".c-form-group__helper",FIELD:".c-form-group__field",REQUIRED:".c-form-group__required"},CLASSES:{BASE:"c-form",DISABLED:"c-form--disabled"}},ae={SELECTORS:{GROUP:".c-form-group",LABEL:".c-form-group__label",FIELD:".c-form-group__field",HELPER:".c-form-group__helper",REQUIRED:".c-form-group__required"},CLASSES:{BASE:"c-form-group",SMALL:"c-form-group--sm",LARGE:"c-form-group--lg",INVALID:"c-form-group--invalid",VALID:"c-form-group--valid",DISABLED:"c-form-group--disabled"}},ne={SELECTORS:{INPUT:".c-input"},CLASSES:{BASE:"c-input",SMALL:"c-input--sm",LARGE:"c-input--lg",INVALID:"is-invalid",VALID:"is-valid",DISABLED:"is-disabled"}},ie={SELECTORS:{RADIO:".c-radio",INPUT:".c-radio__input",LABEL:".c-radio__label"},CLASSES:{BASE:"c-radio",INVALID:"is-error",VALID:"is-valid",DISABLED:"is-disabled"}},re={SELECTORS:{CARD:".c-card",HEADER:".c-card__header",BODY:".c-card__body",IMAGE:".c-card__image",TITLE:".c-card__title",TEXT:".c-card__text",ACTIONS:".c-card__actions",ICON:".c-card__icon",FOOTER:".c-card__footer"},CLASSES:{BASE:"c-card",ROW:"c-card--row",FLAT:"c-card--flat",ACTIVE:"is-active",FLIPPED:"is-flipped",FOCUSED:"is-focused",CLICKABLE:"is-clickable"},DEFAULTS:{HOVER:!0}},oe={SELECTORS:{SELECT:".c-select",SELECTED:".c-select__selected",SELECT_BODY:".c-select__body",SELECT_PANEL:".c-select__panel",SELECT_ITEMS:".c-select__items",SELECT_ITEM:".c-select__item",ITEM_LABEL:".c-select__item-label",ITEM_INPUT:".c-select__item-input",OPTION:"option"},CLASSES:{BASE:"c-select",SELECTED:"c-select__selected",SELECT_BODY:"c-select__body",SELECT_PANEL:"c-select__panel",SELECT_ITEMS:"c-select__items",SELECT_ITEM:"c-select__item",TOGGLE_ICON:"c-select__toggle-icon",ICON_CARET:"icon-atomix-caret-down",SMALL:"c-select--sm",LARGE:"c-select--lg",INVALID:"is-invalid",VALID:"is-valid",DISABLED:"is-disabled",IS_OPEN:"is-open"}},se={SELECTORS:{TEXTAREA:".c-textarea"},CLASSES:{BASE:"c-input c-input--textarea",SMALL:"c-input--sm",LARGE:"c-input--lg",INVALID:"is-invalid",VALID:"is-valid",DISABLED:"is-disabled"}},le={SELECTORS:{AVATAR:".c-avatar",IMAGE:".c-avatar__image",INITIALS:".c-avatar__initials",ICON:".c-avatar__icon"},CLASSES:{BASE:"c-avatar",XS:"c-avatar--xs",SM:"c-avatar--sm",MD:"c-avatar--md",LG:"c-avatar--lg",XL:"c-avatar--xl",CIRCLE:"c-avatar--circle"}},ce={SELECTORS:{GROUP:".c-avatar-group",MORE:".c-avatar-group__more"},CLASSES:{BASE:"c-avatar-group",STACKED:"c-avatar-group--stacked",MORE:"c-avatar-group__more"}},de={SELECTORS:{MODAL:".c-modal",OPEN_BUTTON:".js-modal-open",CLOSE_BUTTONS:".js-modal-close",DIALOG:".c-modal__dialog",BACKDROP:".c-modal__backdrop"},CLASSES:{IS_OPEN:"is-open"},DEFAULT_OPTIONS:{openELm:".js-modal-open",closeELms:".js-modal-close",modalDialogELm:".c-modal__dialog",backdropELm:".c-modal__backdrop",backdrop:!0,keyboard:!0}},ue={SELECTORS:{MESSAGES:".c-messages",BODY:".c-messages__body",CONTENT:".c-messages__content",AVATAR:".c-messages__avatar",ITEMS:".c-messages__items",TEXT:".c-messages__text",FILE:".c-messages__file",IMAGE:".c-messages__image",FORM:".c-messages__form",INPUT:".c-messages__input"},CLASSES:{BASE:"c-messages",BODY:"c-messages__body",CONTENT:"c-messages__content",CONTENT_SELF:"c-messages__content--self",AVATAR:"c-messages__avatar",ITEMS:"c-messages__items",NAME:"c-messages__name",TEXT:"c-messages__text",TIME:"c-messages__time",FILE:"c-messages__file",FILE_ICON:"c-messages__file-icon",FILE_DETAILS:"c-messages__file-details",FILE_NAME:"c-messages__file-name",FILE_SIZE:"c-messages__file-size",IMAGE:"c-messages__image",FORM:"c-messages__form",INPUT_GROUP:"c-messages__input-group",INPUT:"c-messages__input",OPTIONS:"c-messages__options",OPTION:"c-messages__option c-btn",OPTION_ICON:"c-messages__option-icon",SUBMIT:"c-messages__submit"}},he={SELECTORS:{DROPDOWN:".c-dropdown",TOGGLE:".c-dropdown__toggle",MENU:".c-dropdown__menu",MENU_WRAPPER:".c-dropdown__menu-wrapper",MENU_INNER:".c-dropdown__menu-inner",MENU_ITEM:".c-dropdown__menu-item",DIVIDER:".c-dropdown__divider",HEADER:".c-dropdown__header"},CLASSES:{IS_OPEN:"is-open",IS_ACTIVE:"is-active",IS_DISABLED:"is-disabled"},DEFAULTS:{PLACEMENT:"bottom-start",TRIGGER:"click",OFFSET:4,MIN_WIDTH:180,ANIMATION_DURATION:"0.25s",ANIMATION_TIMING:"cubic-bezier(0.16, 1, 0.3, 1)"}},me={SELECTORS:{PROGRESS:".c-progress",BAR:".c-progress__bar"},CLASSES:{BASE:"c-progress",BAR:"c-progress__bar",SM:"c-progress--sm",MD:"c-progress--md",LG:"c-progress--lg"},ATTRIBUTES:{ARIA_VALUEMIN:"aria-valuemin",ARIA_VALUEMAX:"aria-valuemax",ARIA_VALUENOW:"aria-valuenow",ARIA_LABEL:"aria-label"},CSS_VARS:{PERCENTAGE:"--atomix-progress-percentage"},DEFAULTS:{ARIA_LABEL:"Progress bar"}},pe={SELECTORS:{VIDEO_PLAYER:".c-video-player",VIDEO:".c-video-player__video",CONTROLS:".c-video-player__controls",PROGRESS:".c-video-player__progress",VOLUME:".c-video-player__volume",SETTINGS:".c-video-player__settings"},CLASSES:{BASE:"c-video-player",VIDEO:"c-video-player__video",YOUTUBE:"c-video-player--youtube",LOADING:"c-video-player__loading",SPINNER:"c-video-player__spinner",CONTROLS:"c-video-player__controls",CONTROLS_VISIBLE:"c-video-player__controls--visible",PROGRESS_CONTAINER:"c-video-player__progress-container",PROGRESS_BAR:"c-video-player__progress-bar",PROGRESS_BUFFERED:"c-video-player__progress-buffered",PROGRESS_PLAYED:"c-video-player__progress-played",PROGRESS_THUMB:"c-video-player__progress-thumb",CONTROLS_ROW:"c-video-player__controls-row",CONTROLS_LEFT:"c-video-player__controls-left",CONTROLS_RIGHT:"c-video-player__controls-right",CONTROL_BUTTON:"c-video-player__control-button",VOLUME_CONTAINER:"c-video-player__volume-container",VOLUME_SLIDER:"c-video-player__volume-slider",VOLUME_BAR:"c-video-player__volume-bar",VOLUME_FILL:"c-video-player__volume-fill",TIME_DISPLAY:"c-video-player__time-display",SETTINGS_CONTAINER:"c-video-player__settings-container",SETTINGS_MENU:"c-video-player__settings-menu",SETTINGS_TABS:"c-video-player__settings-tabs",SETTINGS_TAB:"c-video-player__settings-tab",SETTINGS_TAB_ACTIVE:"c-video-player__settings-tab--active",SETTINGS_CONTENT:"c-video-player__settings-content",SETTINGS_OPTIONS:"c-video-player__settings-options",SETTINGS_OPTION:"c-video-player__settings-option",SETTINGS_OPTION_ACTIVE:"c-video-player__settings-option--active",AMBIENT:"c-video-player--ambient",AMBIENT_CANVAS:"c-video-player__ambient-canvas",GLASS:"c-video-player--glass",GLASS_OVERLAY:"c-video-player__glass-overlay",GLASS_CONTENT:"c-video-player__glass-content"},DEFAULTS:{CONTROLS_TIMEOUT:3e3,VOLUME:1,PLAYBACK_RATE:1,ASPECT_RATIO:"16:9"}},ge={classes:{container:"c-slider",containerModifierClass:"c-slider--",wrapper:"c-slider__wrapper",slide:"c-slider__slide",slideActive:"c-slider__slide--active",slidePrev:"c-slider__slide--prev",slideNext:"c-slider__slide--next",slideDuplicate:"c-slider__slide--duplicate",slideVisible:"c-slider__slide--visible",pagination:"c-slider__pagination",paginationBullet:"c-slider__pagination-bullet",paginationBulletActive:"c-slider__pagination-bullet--active",navigation:"c-slider__navigation",navigationPrev:"c-slider__navigation-prev",navigationNext:"c-slider__navigation-next",navigationDisabled:"c-slider__navigation--disabled",scrollbar:"c-slider__scrollbar",scrollbarDrag:"c-slider__scrollbar-drag",thumbs:"c-slider__thumbs",thumbsWrapper:"c-slider__thumbs-wrapper",thumbsSlide:"c-slider__thumbs-slide",thumbsSlideActive:"c-slider__thumbs-slide--active",zoomContainer:"c-slider__zoom-container",lazyPreloader:"c-slider__lazy-preloader"},defaults:{slidesToShow:1,slidesToScroll:1,spaceBetween:0,centeredSlides:!1,loop:!1,initialSlide:0,direction:"horizontal",speed:300,easing:"ease-out",allowTouchMove:!0,threshold:5,mousewheel:!1,keyboard:!1,grabCursor:!1,freeMode:!1,watchSlidesProgress:!1,watchOverflow:!0,resistanceRatio:.85,preventClicks:!0,preventClicksPropagation:!0,simulateTouch:!0,touchRatio:1,touchAngle:45,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchReleaseOnEdges:!1,resistance:!0,passiveListeners:!0},breakpoints:{sm:576,md:768,lg:992,xl:1200,xxl:1400},events:{init:"slider:init",destroy:"slider:destroy",slideChange:"slider:slideChange",slideChangeTransitionStart:"slider:slideChangeTransitionStart",slideChangeTransitionEnd:"slider:slideChangeTransitionEnd",touchStart:"slider:touchStart",touchMove:"slider:touchMove",touchEnd:"slider:touchEnd",reachBeginning:"slider:reachBeginning",reachEnd:"slider:reachEnd",progress:"slider:progress",autoplayStart:"slider:autoplayStart",autoplayStop:"slider:autoplayStop",beforeResize:"slider:beforeResize",resize:"slider:resize"}},Se=ge,Ee={BASE_CLASS:"c-chart",ROOT_CLASS:"c-chart",HEADER_CLASS:"c-chart__header",HEADER_CONTENT_CLASS:"c-chart__header-content",TITLE_CLASS:"c-chart__title",SUBTITLE_CLASS:"c-chart__subtitle",TOOLBAR_CLASS:"c-chart__toolbar",ACTION_CLASS:"c-chart__action",EXPORT_GROUP_CLASS:"c-chart__export-group",EXPORT_DROPDOWN_CLASS:"c-chart__export-dropdown",EXPORT_OPTION_CLASS:"c-chart__export-option",SETTINGS_MENU_CLASS:"c-chart__settings-menu",TOOLBAR_GROUP_CLASS:"c-chart__toolbar-group",TOOLBAR_SEPARATOR_CLASS:"c-chart__toolbar-separator",TOOLBAR_LABEL_CLASS:"c-chart__toolbar-label",CONTENT_CLASS:"c-chart__content",CANVAS_CLASS:"c-chart__canvas",LEGEND_CLASS:"c-chart__legend",LEGEND_ITEM_CLASS:"c-chart__legend-item",LEGEND_LABEL_CLASS:"c-chart__legend-label",LEGEND_COLOR_CLASS:"c-chart__legend-color",TOOLTIP_CLASS:"c-chart__tooltip",TOOLTIP_TITLE_CLASS:"c-chart__tooltip-title",TOOLTIP_CONTENT_CLASS:"c-chart__tooltip-content",TOOLTIP_ITEM_CLASS:"c-chart__tooltip-item",TOOLTIP_LABEL_CLASS:"c-chart__tooltip-label",TOOLTIP_VALUE_CLASS:"c-chart__tooltip-value",AXIS_CLASS:"c-chart__axis",AXIS_LABEL_CLASS:"c-chart__axis-label",GRID_CLASS:"c-chart__grid",DATA_POINT_CLASS:"c-chart__data-point",CHART_SVG_CLASS:"c-chart__svg",LOADING_CLASS:"c-chart__loading",LOADING_SPINNER_CLASS:"c-chart__loading-spinner",LOADING_TEXT_CLASS:"c-chart__loading-text",ERROR_CLASS:"c-chart__error",ERROR_ICON_CLASS:"c-chart__error-icon",ERROR_CONTENT_CLASS:"c-chart__error-content",ERROR_MESSAGE_CLASS:"c-chart__error-message",ERROR_DETAILS_CLASS:"c-chart__error-details",EMPTY_CLASS:"c-chart__empty",EMPTY_ICON_CLASS:"c-chart__empty-icon",EMPTY_MESSAGE_CLASS:"c-chart__empty-message",EMPTY_DETAILS_CLASS:"c-chart__empty-details",DEFAULT_WIDTH:800,DEFAULT_HEIGHT:400,PIE_RADIUS_RATIO:.8,DEFAULT_COLORS:["var(--atomix-primary)","var(--atomix-secondary)","var(--atomix-success)","var(--atomix-info)","var(--atomix-warning)","var(--atomix-error)","var(--atomix-primary-5)","var(--atomix-primary-7)","var(--atomix-primary-3)","var(--atomix-gray-6)","var(--atomix-gray-8)","var(--atomix-gray-4)"],TYPE_PREFIX:"c-chart--",SIZE_PREFIX:"c-chart--",VARIANT_PREFIX:"c-chart--",LOADING_STATE_CLASS:"c-chart--loading",ERROR_STATE_CLASS:"c-chart--error",CLASSES:{LINE:"c-chart--line",AREA:"c-chart--area",BAR:"c-chart--bar",HORIZONTAL_BAR:"c-chart--horizontal-bar",PIE:"c-chart--pie",DONUT:"c-chart--donut",DOUGHNUT:"c-chart--doughnut",SCATTER:"c-chart--scatter",RADAR:"c-chart--radar",BUBBLE:"c-chart--bubble",CANDLESTICK:"c-chart--candlestick",GAUGE:"c-chart--gauge",FUNNEL:"c-chart--funnel",WATERFALL:"c-chart--waterfall",HEATMAP:"c-chart--heatmap",TREEMAP:"c-chart--treemap",SM:"c-chart--sm",MD:"c-chart--md",LG:"c-chart--lg",XL:"c-chart--xl",FULL:"c-chart--full",PRIMARY:"c-chart--primary",SECONDARY:"c-chart--secondary",SUCCESS:"c-chart--success",ERROR:"c-chart--error",WARNING:"c-chart--warning",INFO:"c-chart--info",LOADING:"c-chart--loading",INTERACTIVE:"c-chart--interactive",DISABLED:"c-chart--disabled",FULLSCREEN:"c-chart--fullscreen",MINIMIZED:"c-chart--minimized",ADVANCED:"c-chart--advanced",TOOLBAR_SM:"c-chart__toolbar--sm",TOOLBAR_MD:"c-chart__toolbar--md",TOOLBAR_LG:"c-chart__toolbar--lg",TOOLBAR_TOP:"c-chart__toolbar--top",TOOLBAR_BOTTOM:"c-chart__toolbar--bottom",TOOLBAR_LEFT:"c-chart__toolbar--left",TOOLBAR_RIGHT:"c-chart__toolbar--right",ACTION_ACTIVE:"c-chart__action--active",ACTION_DISABLED:"c-chart__action--disabled",ACTION_PRIMARY:"c-chart__action--primary",ACTION_SECONDARY:"c-chart__action--secondary",ACTION_SUCCESS:"c-chart__action--success",ACTION_INFO:"c-chart__action--info",ACTION_WARNING:"c-chart__action--warning",ACTION_ERROR:"c-chart__action--error"},TOOLBAR:{SIZES:["sm","md","lg"],POSITIONS:["top","bottom","left","right"],ACTION_VARIANTS:["primary","secondary","success","info","warning","error"]}},Ae={BASE_CLASS:"o-block",SPACING_PREFIX:"o-block--",CLASSES:{SPACING_XS:"o-block--xs",SPACING_SM:"o-block--sm",SPACING_MD:"o-block--md",SPACING_LG:"o-block--lg",SPACING_XL:"o-block--xl",SPACING_NONE:"o-block--no-spacing",FULL_WIDTH:"o-block--full-width",BG_PRIMARY:"o-block--primary",BG_SECONDARY:"o-block--secondary",BG_TERTIARY:"o-block--tertiary",BG_INVERT:"o-block--invert",BG_BRAND:"o-block--brand",BG_ERROR:"o-block--error",BG_SUCCESS:"o-block--success",BG_WARNING:"o-block--warning",BG_INFO:"o-block--info",BG_LIGHT:"o-block--light",BG_DARK:"o-block--dark"},SPACING:{SIZES:["xs","sm","md","lg","xl","none"],DEFAULT:"md"}},Ne={SELECTORS:{FOOTER:".c-footer",CONTAINER:".c-footer__container",SECTIONS:".c-footer__sections",BRAND:".c-footer__brand",BRAND_LOGO:".c-footer__brand-logo",BRAND_NAME:".c-footer__brand-name",BRAND_DESCRIPTION:".c-footer__brand-description",SECTION:".c-footer__section",SECTION_HEADER:".c-footer__section-header",SECTION_TITLE:".c-footer__section-title",SECTION_CONTENT:".c-footer__section-content",SECTION_TOGGLE:".c-footer__section-toggle",LINK:".c-footer__link",SOCIAL:".c-footer__social",SOCIAL_LINK:".c-footer__social-link",NEWSLETTER:".c-footer__newsletter",NEWSLETTER_FORM:".c-footer__newsletter-form",NEWSLETTER_INPUT:".c-footer__newsletter-input",NEWSLETTER_BUTTON:".c-footer__newsletter-button",BOTTOM:".c-footer__bottom",COPYRIGHT:".c-footer__copyright",BACK_TO_TOP:".c-footer__back-to-top",DIVIDER:".c-footer__divider"},CLASSES:{BASE:"c-footer",CONTAINER:"c-footer__container",SECTIONS:"c-footer__sections",BRAND:"c-footer__brand",BRAND_LOGO:"c-footer__brand-logo",BRAND_NAME:"c-footer__brand-name",BRAND_DESCRIPTION:"c-footer__brand-description",SECTION:"c-footer__section",SECTION_HEADER:"c-footer__section-header",SECTION_TITLE:"c-footer__section-title",SECTION_CONTENT:"c-footer__section-content",SECTION_TOGGLE:"c-footer__section-toggle",SECTION_COLLAPSIBLE:"c-footer__section--collapsible",SECTION_COLLAPSED:"c-footer__section--collapsed",LINK:"c-footer__link",LINK_ACTIVE:"c-footer__link--active",LINK_DISABLED:"c-footer__link--disabled",SOCIAL:"c-footer__social",SOCIAL_LINK:"c-footer__social-link",NEWSLETTER:"c-footer__newsletter",NEWSLETTER_FORM:"c-footer__newsletter-form",NEWSLETTER_INPUT:"c-footer__newsletter-input",NEWSLETTER_BUTTON:"c-footer__newsletter-button",BOTTOM:"c-footer__bottom",COPYRIGHT:"c-footer__copyright",BACK_TO_TOP:"c-footer__back-to-top",DIVIDER:"c-footer__divider",COLUMNS:"c-footer--columns",CENTERED:"c-footer--centered",MINIMAL:"c-footer--minimal",STACKED:"c-footer--stacked",FLEXIBLE:"c-footer--flexible",SIDEBAR:"c-footer--sidebar",WIDE:"c-footer--wide",SM:"c-footer--sm",MD:"c-footer--md",LG:"c-footer--lg",STICKY:"c-footer--sticky"},DEFAULTS:{LAYOUT:"columns",VARIANT:"primary",SIZE:"md",SHOW_NEWSLETTER:!1,SHOW_BACK_TO_TOP:!1,SHOW_DIVIDER:!0,STICKY:!1,NEWSLETTER_TITLE:"Stay Updated",NEWSLETTER_DESCRIPTION:"Subscribe to our newsletter for the latest updates.",NEWSLETTER_PLACEHOLDER:"Enter your email",NEWSLETTER_BUTTON_TEXT:"Subscribe",BACK_TO_TOP_TEXT:"Back to Top"}},ve={BASE_CLASS:"c-atomix-glass",CONTAINER_CLASS:"c-atomix-glass__container",INNER_CLASS:"c-atomix-glass__inner",FILTER_CLASS:"c-atomix-glass__filter",FILTER_OVERLAY_CLASS:"c-atomix-glass__filter-overlay",FILTER_SHADOW_CLASS:"c-atomix-glass__filter-shadow",CONTENT_CLASS:"c-atomix-glass__content",BORDER_1_CLASS:"c-atomix-glass__border-1",BORDER_2_CLASS:"c-atomix-glass__border-2",HOVER_1_CLASS:"c-atomix-glass__hover-1",HOVER_2_CLASS:"c-atomix-glass__hover-2",HOVER_3_CLASS:"c-atomix-glass__hover-3",BASE_LAYER_CLASS:"c-atomix-glass__base",OVERLAY_LAYER_CLASS:"c-atomix-glass__overlay",OVERLAY_HIGHLIGHT_CLASS:"c-atomix-glass__overlay-highlight",BACKGROUND_LAYER_CLASS:"c-atomix-glass__background-layer",BACKGROUND_LAYER_DARK_CLASS:"c-atomix-glass__background-layer--dark",BACKGROUND_LAYER_BLACK_CLASS:"c-atomix-glass__background-layer--black",BACKGROUND_LAYER_OVER_LIGHT_CLASS:"c-atomix-glass__background-layer--over-light",BACKGROUND_LAYER_HIDDEN_CLASS:"c-atomix-glass__background-layer--hidden",VARIANT_PREFIX:"c-atomix-glass--",MODE_PREFIX:"c-atomix-glass--",CLASSES:{BASE:"c-atomix-glass",CONTAINER:"c-atomix-glass__container",INNER:"c-atomix-glass__inner",FILTER:"c-atomix-glass__filter",CONTENT:"c-atomix-glass__content",ACTIVE:"active",OVER_LIGHT:"c-atomix-glass__container--over-light",STANDARD:"c-atomix-glass--standard",POLAR:"c-atomix-glass--polar",PROMINENT:"c-atomix-glass--prominent",SHADER:"c-atomix-glass--shader"},DEFAULTS:{DISPLACEMENT_SCALE:20,BLUR_AMOUNT:1,SATURATION:140,ABERRATION_INTENSITY:2.5,ELASTICITY:.05,CORNER_RADIUS:16,PADDING:"0 0",MODE:"standard",OVER_LIGHT:!1,ENABLE_OVER_LIGHT_LAYERS:!0},CONSTANTS:{ACTIVATION_ZONE:200,MIN_BLUR:.1,MOUSE_INFLUENCE_DIVISOR:100,EDGE_FADE_PIXELS:2,DEFAULT_CORNER_RADIUS:16,MAX_SIZE:4096,GRADIENT:{BASE_ANGLE:135,ANGLE_MULTIPLIER:1.2,BORDER_STOP_1:{MIN:10,BASE:33,MULTIPLIER:.3},BORDER_STOP_2:{MAX:90,BASE:66,MULTIPLIER:.4},BORDER_OPACITY:{BASE_1:.12,BASE_2:.4,BASE_3:.32,BASE_4:.6,MULTIPLIER_LOW:.008,MULTIPLIER_HIGH:.012},CENTER_POSITION:50,HOVER_POSITION:{DIVISOR_1:2,DIVISOR_2:1.5,MULTIPLIER_3:1},BASE_LAYER_MULTIPLIER:.5},GRADIENT_OPACITY:{HOVER_1:{BLACK_START:.3,BLACK_MID:.1,BLACK_STOP:30,BLACK_END:60,WHITE_START:.5,WHITE_STOP:50},HOVER_2:{BLACK_START:.4,BLACK_MID:.15,BLACK_STOP:40,BLACK_END:80,WHITE_START:1,WHITE_STOP:80},HOVER_3:{BLACK_START:.5,BLACK_MID:.2,BLACK_STOP:50,BLACK_END:100,WHITE_START:1,WHITE_STOP:100}},BASE_GRADIENT:{ANGLE:135,BLACK_START_BASE:.15,BLACK_START_MULTIPLIER:.003,BLACK_MID_BASE:.1,BLACK_MID_MULTIPLIER:.002,BLACK_MID_STOP:50,BLACK_END_BASE:.18,BLACK_END_MULTIPLIER:.004,WHITE_OPACITY:.1},OVERLAY_GRADIENT:{BLACK_START_BASE:.12,BLACK_START_MULTIPLIER:.003,BLACK_MID:.06,BLACK_MID_STOP:40,BLACK_END_BASE:.15,BLACK_END_MULTIPLIER:.003,WHITE_OPACITY:.05},OVERLAY_HIGHLIGHT:{POSITION_X:20,POSITION_Y:20,WHITE_OPACITY:.4,STOP:60,OPACITY_MULTIPLIER:.7},MULTIPLIERS:{SHADER_DISPLACEMENT:.8,OVER_LIGHT_DISPLACEMENT:.6,SHADER_ABERRATION:.7},SATURATION:{HIGH_CONTRAST:200}}};function _e(e){const t={defaultOpen:!1,disabled:!1,iconPosition:"right",...e},a="boolean"==typeof t.isOpen,[n,s]=i(t.defaultOpen||!1),l=a?t.isOpen:n,[c,d]=i(l?"auto":"0px"),u=r(null),h=r(null),m=()=>{if(h.current&&u.current){const e=l?`${h.current.clientHeight}px`:"0px";u.current.style.setProperty(M.CSS_VARS.PANEL_HEIGHT,e),d(e)}};o((()=>{m()}),[l]),o((()=>{const e=()=>{l&&m()};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[l]);return{state:{isOpen:l,panelHeight:c},toggle:()=>{t.disabled||(a?t.onOpenChange&&t.onOpenChange(!l):s((e=>!e)))},updatePanelHeight:m,panelRef:u,contentRef:h,generateClassNames:(e="")=>`c-accordion ${l?M.CLASSES.IS_OPEN:""} ${t.disabled?M.CLASSES.IS_DISABLED:""} ${e}`.trim(),generateHeaderClassNames:()=>`c-accordion__header ${"left"===t.iconPosition?"c-accordion__header--icon-left":""}`.trim()}}const fe=0,be=255,Te=8e-4,Ce=4096,Le=(e,t,a)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a)return 0;const n=Math.max(0,Math.min(1,(a-e)/(t-e)));return n*n*(3-2*n)},ye=(e,t)=>{if("number"!=typeof e||"number"!=typeof t||isNaN(e)||isNaN(t))return 0;const a=Math.max(Math.abs(e),Math.abs(t));if(0===a)return 0;const n=e/a,i=t/a;return a*Math.sqrt(n*n+i*i)},Ie=(e,t,a,n,i)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||"number"!=typeof i)return 0;const r=Math.abs(e)-a+i,o=Math.abs(t)-n+i;return Math.min(Math.max(r,o),0)+ye(Math.max(r,0),Math.max(o,0))-i},xe=(e,t)=>({x:"number"!=typeof e||isNaN(e)?.5:Math.max(0,Math.min(1,e)),y:"number"!=typeof t||isNaN(t)?.5:Math.max(0,Math.min(1,t))}),Re=e=>e&&"number"==typeof e.x&&"number"==typeof e.y&&!isNaN(e.x)&&!isNaN(e.y),Oe=(e,t,a)=>"number"!=typeof e||"number"!=typeof t||"number"!=typeof a||isNaN(e)?t:isNaN(t)?0:isNaN(a)?1:Math.max(t,Math.min(a,e)),Me=e=>{if("number"!=typeof e||isNaN(e))return 0;const t=Math.max(0,Math.min(1,e));return t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2},we=e=>{if("number"!=typeof e||isNaN(e))return 0;const t=Math.max(0,Math.min(1,e));return 1-Math.pow(1-t,4)},De=(e,t)=>{if("number"!=typeof e||"number"!=typeof t||isNaN(e)||isNaN(t))return 0;const a=255&Math.floor(e),n=255&Math.floor(t),i=e-Math.floor(e),r=t-Math.floor(t),o=Me(i),s=Me(r),l=(e,t)=>{if("number"!=typeof e||"number"!=typeof t)return 0;const a=e+57*t,n=43758.5453*Math.sin(12.9898*a+78.233);return n-Math.floor(n)},c=l(a,n),d=l(a+1,n),u=l(a,n+1),h=c+o*(d-c);return h+s*(u+o*(l(a+1,n+1)-u)-h)},Be=(e,t,a=4)=>{if("number"!=typeof e||"number"!=typeof t||isNaN(e)||isNaN(t))return 0;const n=Math.max(1,Math.min(8,Math.floor(a)));let i=0,r=.5,o=1;for(let a=0;a<n;a++)i+=r*De(e*o,t*o),o*=2,r*=.5;return i},Pe=(e,t,a,n=0,i=0)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||"number"!=typeof i||isNaN(e)||isNaN(t)||isNaN(a)||isNaN(n)||isNaN(i))return{x:0,y:0};const r=Math.min(.02*a,.1);return{x:(e-n)*r,y:(t-i)*r}},ke={liquidGlass:(e,t)=>{if(!Re(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*Te,r=t&&Re(t)?t.x-.5:0,o=t&&Re(t)?t.y-.5:0,s=ye(r,o),l=we(1-Math.min(2*s,1)),c=Be(12*(a+.5*r)+i,12*(n+.5*o)+.7*i,3)-.5,d=Ie(a,n,.4,.3,.35),u=Le(.8,0,d-.05),h=((e,t,a)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||isNaN(e)||isNaN(t)||isNaN(a))return{x:0,y:0};const n=ye(e,t),i=Math.pow(Math.min(n,10),2)*a;return{x:e*(1+i),y:t*(1+i)}})(a,n,.4*.1),m=1.2*(h.x-a)*u,p=1.2*(h.y-n)*u,g=.018*Math.sin(8*(a+2*r)+2*i),S=.018*Math.cos(8*(n+2*o)+1.5*i),E=(.015*Math.sin(12*(a-r)+12*(n-o)+3*i)+.012*Math.cos(10*(a+r)-10*(n-o)-2*i))*l*s,A=(Math.sin(15*a+i)*Math.cos(15*n-i)*.008+Math.sin(20*a-.5*i)*Math.cos(20*n+.5*i)*.006)*u,N=.85*(g+S+.025*c),v=m+N+E+A,_=p+.8*N+.9*E+A,f=((e,t,a)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||isNaN(e)||isNaN(t)||isNaN(a))return{x:0,y:0};const n=ye(e,t);if(0===n)return{x:0,y:0};const i=Math.atan2(t,e);return{x:Math.cos(i)*n*a,y:Math.sin(i)*n*a}})(a,n,.015*u),b=Le(0,1,1.15*u),T=a+v+.5*f.x,C=n+_+.5*f.y;return xe(Oe(T*b+.5,0,1),Oe(C*b+.5,0,1))},appleFluid:(e,t)=>{if(!Re(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*Te*.6,r=t&&Re(t)?t.x-.5:0,o=t&&Re(t)?t.y-.5:0,s=ye(r,o),l=we(1-Math.min(1.5*s,1)),c=Be(10*(a+.3*r)+i,10*(n+.3*o),5)-.5,d=Be(10*(a-.3*r),10*(n-.3*o)+.8*i,5)-.5,u=Ie(a,n,.42,.32,.38),h=Le(.85,-.1,u),m=Math.sin(6*a+2*i)*Math.cos(4*n-i)*.025,p=Math.cos(4*a-i)*Math.sin(6*n+2*i)*.025,g=Math.atan2(n-o,a-r),S=l*s*.08,E=Math.cos(g+i)*S,A=n+(.035*d+p+Math.sin(g+i)*S)*h;return xe(Oe(a+(.035*c+m+E)*h+.5,0,1),Oe(A+.5,0,1))},premiumGlass:(e,t)=>{if(!Re(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*Te*.4,r=t&&Re(t)?t.x-.5:0,o=t&&Re(t)?t.y-.5:0,s=ye(r,o),l=ye(a,n),c=.3*Math.pow(Math.min(l,1),1.5),d=Math.atan2(n,a);let u=0,h=0;for(let e=0;e<3;e++){const t=5*(e+1),r=i*(1+.3*e),o=.01/(e+1);u+=Math.sin(a*t+r)*o,h+=Math.cos(n*t-r)*o}const m=Math.cos(d)*c*(1+.5*s),p=Math.sin(d)*c*(1+.5*s),g=Be(8*a+i,8*n-i,2)-.5,S=Ie(a,n,.43,.33,.36),E=Le(.9,-.05,S),A=n+(p+h+.015*g)*E;return xe(Oe(a+(m+u+.015*g)*E+.5,0,1),Oe(A+.5,0,1))},liquidMetal:(e,t)=>{if(!Re(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*Te*1.2,r=t&&Re(t)?t.x-.5:0,o=t&&Re(t)?t.y-.5:0,s=Math.sin(20*a+4*i)*Math.cos(15*n-3*i)*.02,l=Math.cos(15*a-2*i)*Math.sin(20*n+5*i)*.015,c=.025*Be(25*a+2*i,25*n-2*i,4),d=Math.atan2(n-o,a-r),u=ye(a-r,n-o),h=.02*Math.sin(15*u-6*i)*we(1-Math.min(2*u,1)),m=Ie(a,n,.41,.31,.37),p=Le(.88,-.08,m),g=a+(s+c+Math.cos(d)*h)*p,S=n+(l+.8*c+Math.sin(d)*h)*p;return xe(Oe(g+.5,0,1),Oe(S+.5,0,1))},basiBasi:(e,t)=>{if(!Re(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*Te*.5,r=t&&Re(t)?t.x-.5:0,o=t&&Re(t)?t.y-.5:0,s=ye(r,o),l=we(1-Math.min(1.2*s,1)),c=((e,t,a,n=1)=>"number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||isNaN(e)||isNaN(t)||isNaN(a)||isNaN(n)?.5:.5*(Math.sin(8*e+2*a)*Math.cos(8*t-2*a)*.5+Math.sin(8*(e+.5)*1.3-2*a*.8)*Math.cos(8*(t-.3)*1.3+2*a*.8)*.3+Math.sin(8*(e-.3)*.7+2*a*1.2)*Math.cos(8*(t+.4)*.7-2*a*1.2)*.2+1)*n)(a,n,i,.8),d=.02*(c-.5),u=Math.atan2(n,a),h=((e,t,a,n)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||isNaN(e)||isNaN(t)||isNaN(a)||isNaN(n))return{r:{x:0,y:0},g:{x:0,y:0},b:{x:0,y:0}};const i=ye(e,t),r=Math.min(i*n,1),o=.8*r,s=1*r,l=1.2*r;return{r:{x:Math.cos(a)*o,y:Math.sin(a)*o},g:{x:Math.cos(a)*s,y:Math.sin(a)*s},b:{x:Math.cos(a)*l,y:Math.sin(a)*l}}})(a,n,u,.025),m=(h.r.x+h.g.x+h.b.x)/3,p=(h.r.y+h.g.y+h.b.y)/3;let g=0,S=0;for(let e=0;e<7;e++){const t=Pe(a,n,(e+1)/7,r,o),s=Be((a+t.x)*(8+2*e)+i*(.5+.1*e),(n+t.y)*(8+2*e)-i*(.5+.1*e),3)-.5,l=1/(e+1);g+=(t.x+.01*s)*l,S+=(t.y+.01*s)*l}g/=7,S/=7;const E=((e,t,a,n)=>"number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||isNaN(e)||isNaN(t)||isNaN(a)||isNaN(n)?.5:Be(5*e+.5*n,5*t-.5*n,3)*Math.exp(2*-Math.max(0,a))*.5+.5)(a,n,.5,i),A=Math.cos(u)*E*.015,N=Math.sin(u)*E*.015,v=((e,t,a,n=5)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||isNaN(e)||isNaN(t)||isNaN(a)||isNaN(n))return 0;const i=Math.max(1,Math.min(8,Math.floor(n)));let r=0,o=1,s=1;for(let n=0;n<i;n++)r+=Math.abs(De(e*s+a,t*s-a))*o,s*=2,o*=.5;return r})(6*a,6*n,i,6),_=.012*Math.cos(v*Math.PI*2),f=.012*Math.sin(v*Math.PI*2),b=((e,t,a)=>"number"!=typeof e||"number"!=typeof t||"number"!=typeof a||isNaN(e)||isNaN(t)||isNaN(a)?.5:.5*(.7*Be(40*e+.3*a,40*t-.3*a,6)+.3*Be(80*e,80*t,4)))(a,n,i),T=.008*(b-.5),C=.008*(b-.5),L=ye(a,n),y=.35*Math.pow(Math.min(L,1),1.8)*(1+l*s*.8),I=Math.cos(u)*y,x=Math.sin(u)*y,R=Math.atan2(n-o,a-r),O=ye(a-r,n-o),M=l*Math.sin(10*O-3*i)*.025,w=Math.cos(R+2*i)*M,D=Math.sin(R+2*i)*M,B=Math.sin(10*a+5*r+2.5*i)*Math.cos(8*n-2*i)*.018,P=Math.cos(8*a-2*i)*Math.sin(10*n+5*o+2.5*i)*.018,k=(.012*Math.sin(15*Math.min(L,10)-4*i)+.008*Math.cos(20*Math.min(L,10)+3*i))*l,U=Math.cos(u)*k,G=Math.sin(u)*k,z=Ie(a,n,.44,.34,.39),F=Le(.92,-.12,z),V=Le(.85,.1,z),H=n+.85*((1.2*x+.8*p+1.5*S+.9*N+1*f+.6*C+1.3*D+1.1*P+.7*G+.8*d)*F*V);return xe(Oe(a+.85*((1.2*I+.8*m+1.5*g+.9*A+1*_+.6*T+1.3*w+1.1*B+.7*U+d)*F*V)+.5,0,1),Oe(H+.5,0,1))}};class Ue{constructor(e){if(this.options=e,this.canvasDPI=1,!this.validateOptions(e))throw new Error("Invalid shader options provided");this.canvas=document.createElement("canvas"),this.canvas.width=Math.max(1,Math.min(Ce,Math.round(e.width*this.canvasDPI||256))),this.canvas.height=Math.max(1,Math.min(Ce,Math.round(e.height*this.canvasDPI||256))),this.canvas.style.display="none";const t=this.canvas.getContext("2d");if(!t)throw new Error("AtomixGlass: Could not get 2D canvas context");this.context=t}validateOptions(e){try{return e&&"number"==typeof e.width&&e.width>0&&e.width<=Ce&&"number"==typeof e.height&&e.height>0&&e.height<=Ce&&"function"==typeof e.fragment}catch(e){return!1}}updateShader(e){try{const t=this.options.width*this.canvasDPI,a=this.options.height*this.canvasDPI;let n=0;const i=[];for(let r=0;r<a;r++)for(let o=0;o<t;o++){const s={x:o/t,y:r/a},l=this.options.fragment(s,e);let c=l.x*t-o,d=l.y*a-r;const u=2*Math.min(o/t,(t-o)/t),h=2*Math.min(r/a,(a-r)/a),m=Math.min(u,h);c*=Le(0,.2,m),d*=Le(0,.2,m),n=Math.max(n,Math.abs(c),Math.abs(d)),i.push(c,d)}n=Math.max(n,1);const r=this.context.createImageData(t,a),o=r.data;let s=0;for(let e=0;e<a;e++)for(let r=0;r<t;r++){const l=i[s++]||0,c=i[s++]||0,d=Math.min(r,e,t-r-1,a-e-1),u=Math.min(1,d/2),h=l*u/n+.5,m=c*u/n+.5,p=4*(e*t+r);o[p]=Oe(255*h,fe,be),o[p+1]=Oe(255*m,fe,be),o[p+2]=Oe(255*m,fe,be),o[p+3]=255}return this.context.putImageData(r,0,0),this.canvas.toDataURL()}catch(e){return""}}destroy(){try{this.canvas.remove()}catch(e){}}getScale(){return this.canvasDPI}}const{CONSTANTS:Ge}=ve,ze=(e,t)=>{if(!e||!t||"number"!=typeof e.x||"number"!=typeof e.y||"number"!=typeof t.x||"number"!=typeof t.y)return 0;const a=e.x-t.x,n=e.y-t.y;return Math.sqrt(a*a+n*n)},Fe=e=>e?{x:e.left+e.width/2,y:e.top+e.height/2}:{x:0,y:0},Ve=e=>{if(!e||"number"!=typeof e.x||"number"!=typeof e.y)return 0;const t=Math.sqrt(e.x*e.x+e.y*e.y)/Ge.MOUSE_INFLUENCE_DIVISOR;return Math.min(1.5,t)},He=e=>"number"!=typeof e||isNaN(e)?Ge.MIN_BLUR:Math.max(Ge.MIN_BLUR,Math.min(50,e)),Ye=e=>e&&"number"==typeof e.width&&"number"==typeof e.height&&e.width>0&&e.height>0&&e.width<=Ge.MAX_SIZE&&e.height<=Ge.MAX_SIZE,Ke=e=>{if("number"==typeof e)return Math.max(0,e);if("string"!=typeof e||!e.trim())return Ge.DEFAULT_CORNER_RADIUS;const t=e.trim();if(t.endsWith("px")){const e=parseFloat(t);return isNaN(e)?Ge.DEFAULT_CORNER_RADIUS:Math.max(0,e)}if(t.endsWith("rem")){const e=parseFloat(t);return isNaN(e)?Ge.DEFAULT_CORNER_RADIUS:Math.max(0,16*e)}if(t.endsWith("em")){const e=parseFloat(t);return isNaN(e)?Ge.DEFAULT_CORNER_RADIUS:Math.max(0,16*e)}if(t.endsWith("%")){const e=parseFloat(t);return isNaN(e)?Ge.DEFAULT_CORNER_RADIUS:Math.max(0,e/100*200)}const a=parseFloat(t);return isNaN(a)?Ge.DEFAULT_CORNER_RADIUS:Math.max(0,a)},$e=e=>{if(!e||!e.props)return null;if(e.props.style){const t=(e=>{if(!e)return null;const t=e.borderRadius||e.borderTopLeftRadius||e.borderTopRightRadius||e.borderBottomLeftRadius||e.borderBottomRightRadius;if(void 0!==t)return Ke(t);return null})(e.props.style);if(null!==t&&t>0)return t}if(e.props.children){const t=We(e.props.children);if(t>0&&t!==Ge.DEFAULT_CORNER_RADIUS)return t}return null},We=e=>{if(!e)return Ge.DEFAULT_CORNER_RADIUS;try{const t=n.Children.toArray(e);for(let e=0;e<t.length;e++){const a=t[e];if(n.isValidElement(a)){const e=$e(a);if(null!==e)return e}}}catch(e){}return Ge.DEFAULT_CORNER_RADIUS},Qe=(e,t,a,n,i)=>{switch(e){case"standard":default:return t;case"polar":return a;case"prominent":return n;case"shader":return i||t}},Ze=({id:a,displacementScale:n,aberrationIntensity:i,mode:r,shaderMapUrl:o})=>e("svg",{style:{position:"absolute",width:"100%",height:"100%",inset:0,visibility:"hidden",opacity:0},"aria-hidden":"true",children:t("defs",{children:[t("radialGradient",{id:`${a}-edge-mask`,cx:"50%",cy:"50%",r:"50%",children:[e("stop",{offset:"0%",stopColor:"black",stopOpacity:"0"}),e("stop",{offset:`${Math.max(30,80-2*i)}%`,stopColor:"black",stopOpacity:"0"}),e("stop",{offset:"100%",stopColor:"white",stopOpacity:"1"})]}),t("filter",{id:a,x:"-35%",y:"-35%",width:"170%",height:"170%",colorInterpolationFilters:"sRGB",children:[e("feImage",{id:"feimage",x:"0",y:"0",width:"100%",height:"100%",result:"DISPLACEMENT_MAP",href:Qe(r,"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/2wCEAAQDAwMDAwQDAwQGBAMEBgcFBAQFBwgHBwcHBwgLCAkJCQkICwsMDAwMDAsNDQ4ODQ0SEhISEhQUFBQUFBQUFBQBBQUFCAgIEAsLEBQODg4UFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFP/CABEIAQABAAMBEQACEQEDEQH/xAAxAAEBAQEBAQAAAAAAAAAAAAADAgQIAQYBAQEBAQEBAQAAAAAAAAAAAAMCBAEACAf/2gAMAwEAAhADEAAAAPjPor6kOgOiKhKgKhKgOhKhOhKxKgKhOgKhKhKgKxOhKhOgKhKhKgKwKhKgKgKwG841nns9J/nn2KVCdCdCVAVCVCVAdCVCdiVAVidCVAVCVAdiVCVCdAVCVCVAVCVAVAViVZxsBrPPY6R/NvsY6E6ErEqAqE6ErAqE6E7E7ErA0ErArAqAqEuiVAXRLol0S6J0JUBWBUI0BXnG88djpH81+xjoToSoSoCoTsSoYQTsTsTQSsCsCsCsCsCoC6A0JeAuiXSLwn0SoioCoCoBsBrPFH0j+a/Yx0J0JUJUJ2BUMIR2MIRoBoJIBXnJAK840BUA0BdAegXhLpF4S8R+IuiVgVANAV546fSH5r9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atWrVq1atXxVppppppdWrVq1atWrVq1NNNNNNNNNNNPVWmmmmms6tWrVq1atWpppppppppppppp6q0000uc51atWrVq1ammmmmmmmmmmmmt1Vpppc5znVq1atWrVqaaaaaaaaaaaaaeqtNLnOc51atWrVq1ammmmmmmmmmmmmnqrS5znOc6tWrVq16222mmmmmmlVppp6tKuc5znOrVq1a9TbbbbTTTTTSq000qtLnOc5zq1atWrW0222200000qqqtKqrnOc5zq1atTbbbbbbbbTTTSqqqqqq5znOc6tTTTbbbbbbbbTTTSqqqqrlVznOctNNNtttttttttNNNNKqqqrqznKqrTTTTbbbbbbbbbTTTSqqqqrqznOc5aaaabbbbbbbbbaaaaVVVVVdWc5znVq1NNttttttttttNNKqqqqudWc5znVq16tbbbbbbbbbbTTSqqqq5XVnOc6tWrVrb1tttttttttNNKqqqqrWrK5VWmmm2230bbbbbbaaaXOc5zlVa1KuVVppptttt9G22222mmlzlVznK6tWVVWmmmm2222222222mlznOc5znLWppVVWmmm22222229bTWrOc5znOcq1qaaVpWmm222222229erVqznOc5znKtatStK0rTbTTbbbberXr1as5znOc5aVpppppWlabaabbbb1ta9WrVnOc5znU0rTTTTTTTTTbTTbbbTWvVq1as5znOdTTStNNNNNNNNNtNNtttN6tWvVq1ZznOrU00rTTTTTTTTTTTTTbTWvVq1atWrOc6tTTTStNNNNNNNNNNtNNtNa9WrVq1Z1Z1NNNNNK1q1NNNNNNNNNNNtNatWrVq1atWrU00000rWrVq1atWrVq1alaaa1atWrVq1NNNammmmla1atWrVq1aterVq16tWrVnVqa1NK1qaaaVX/xAAWEAADAAAAAAAAAAAAAAAAAAAhgJD/2gAIAQEAAz8AaExf/8QAGhEBAQEBAQEBAAAAAAAAAAAAAQISEQADEP/aAAgBAgEBAgDx48ePHjx48ePHjx48ePHjx48ePHjx48ePHj86IiIiIiInjx48ePHjx48IiIiIj0oooooooooRERER73ve60UUUUUUVrWiiiiiihERERER73ve97ooooorRWiiiiihKERERER73ve973RRRRWtFFFFFFCIiIiIiPe973ve60UUVrRRRRRRQiIlCIiI973ve973pRRWiiiiiiiiiiiiiiihEe973ve973RRWtFFFFFFFFFFFFFFFFFFa13ve973WitaKKKKKKKKKKKKKKKKKK1rWtd1rutFa1oooooooooooosssooorWta1rWta1rRRRRRRRRRRZZZZZZZZZWta1rWta1rRRRRRRRRZZZZZZZZZZZZe9a1rWta1rWitaKLLLLLLLLLLLLLLLLL3rWta1rWtFbLLLLLLLLLLLLLLLLLLLL3vWta1rWita1ssssssss+hZZZZZZZZe961rWta0Vre97LLLLLLLLLLLPoWWWWWXrWta1oorWta3ssss+hZZZZ9Cyyyyyyyyiita1orWta1ve9llllllllllllllllFFa0VorWta1ve9llllllllllllllllllFFFaK1rWta1rWiyyyyyyyyyyyyiiiiiiitFFa1rWta1oosoosssssoooosoooorRRRWta1rWta0UUUUUWUUUUUUUUUUUVoooorWta1rWtaKKKKKKmiiiiiiiiiiiiiiitd73ve61oSiiipoqaKKKKKKKKKK0UUUVrve973vREREZoSihEooooorRRRRWtd73ve9EREREREoSiiiiitFllllla73ve9ERERERESiiiiiitH0PoWWWWVrXe96IiIiMoiJRRRRRRWjwlFFllllFFd6IiIiIlCUUUUUUUUUePHjx48ePCIiIiIiIiUUUUUUUUUUUePHjx48ePHjx48ePHjx48IiUUUUUUJRRRX//xAAWEQADAAAAAAAAAAAAAAAAAAABYJD/2gAIAQIBAz8AtEV7/8QAFxEBAQEBAAAAAAAAAAAAAAAAAAECEP/aAAgBAwEBAgCtNNNNNNNNNNNNNNNNNNNNNNNNNNNNNcrTTTTTTTTTTTTTTTTTTTTTTTTTTTTTXKrTTTTTTTU000000000000000000001FVpppppqampqaaaaaaaaaaaaaaaaaaaa5Vaaaaampqampqammmmmmmmmmmlaaaaaaiq0001NTU1NTU1NTTTTTTTTTTSqqtNNNcqtNNSyzU1LNTU1NTTTTTTTTTSqqq001ytNLLLLNTU1NTU1NTbbbTTTTTSqqq001ytNLLLLLNTU1NTU3NttttNNNNNKqq001KrSyyyyyzU1NTU3Nzc02220000qqqqrSqqyyyyyzU1NTU3Nzc3NttttNNNKqqqqqqssssss1NTU3Nzc3NzbbbbTTTSqqqqqqrLLLLLNTU1Nzc3Nzc22220000qqqqqqqqssss1NTU3Nzc3NzbbbbbTTSqqqqqqqqqqzU1NTc3Nzc3Nzbc22000qqqqqqqqqqqtTU3Nzc3Nzc3NtzbTTSqqqqrKqqqqqtNNzc23Nzc3Nzc3NTU1KqqqrKqqqqqtNNNNttzc3Nzc3NzU1NLLLLLKqqqqqqqq0022223Nzc3NzU1NSyyyyyyqqqqqqqrTTbbbbc3Nzc3NTU1LLLLLLKsqqqqqqrTTTTbbbc3Nzc1NTUsssssssqqqqqqrTTTTTbbbTc3NTU1NTUsssssqqqqqqqq0000222023NTU1NTUsssssqqqqqqqq000000003NTU1NTU1LLLLLNKrTSqqqqtNNNNNNtNNTU1NSzUssss00qq0qqqqrTTTTTTTTTU1NTUs1LLLNNNKrTTTSqqq00000000001NTU1LNTU0000qtNNNKqqqtNNNNNNNNTU1NTUs1NNNNNKss1NNNK00qtK0000001NNTU0s000000qq000001NKrStNNNNK1NNNNStNNNNNKqtNNNNNNNK0000000rU0000rTTTTTSq00000rTTTTTTTTTTTTTTTTStNNNNKr/xAAUEQEAAAAAAAAAAAAAAAAAAACg/9oACAEDAQM/AAAf/9k=","data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/2wCEAAYEBAQFBAYFBQYJBgUGCQsIBgYICwwKCgsKCgwQDAwMDAwMEAwODxAPDgwTExQUExMcGxsbHB8fHx8fHx8fHx8BBwcHDQwNGBAQGBoVERUaHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fH//CABEIAQABAAMBEQACEQEDEQH/xAAxAAADAQEBAAAAAAAAAAAAAAABAgMABAcBAAMBAQEBAAAAAAAAAAAAAAIDBAEABQb/2gAMAwEAAhADEAAAAPG/tfu93bu3bs7d27t3bu2du7d27h3bs3du7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qtLMZanXyfSv/Hz46iWQl6ryEc6KdaQ3440BkBh1qeRon4sTqGC2liNQdGdUra0xL+H/kMAsbYr+iHAAAAAElFTkSuQmCC",o),preserveAspectRatio:"xMidYMid slice"}),e("feColorMatrix",{in:"DISPLACEMENT_MAP",type:"matrix",values:"0.3 0.3 0.3 0 0\n 0.3 0.3 0.3 0 0\n 0.3 0.3 0.3 0 0\n 0 0 0 1 0",result:"EDGE_INTENSITY"}),e("feComponentTransfer",{in:"EDGE_INTENSITY",result:"EDGE_MASK",children:e("feFuncA",{type:"discrete",tableValues:`0 ${.05*i} 1`})}),e("feOffset",{in:"SourceGraphic",dx:"0",dy:"0",result:"CENTER_ORIGINAL"}),e("feDisplacementMap",{in:"SourceGraphic",in2:"DISPLACEMENT_MAP",scale:n*("shader"===r?1:-1),xChannelSelector:"R",yChannelSelector:"B",result:"RED_DISPLACED"}),e("feColorMatrix",{in:"RED_DISPLACED",type:"matrix",values:"1 0 0 0 0\n 0 0 0 0 0\n 0 0 0 0 0\n 0 0 0 1 0",result:"RED_CHANNEL"}),e("feDisplacementMap",{in:"SourceGraphic",in2:"DISPLACEMENT_MAP",scale:n*(("shader"===r?1:-1)-.02*i),xChannelSelector:"R",yChannelSelector:"B",result:"GREEN_DISPLACED"}),e("feColorMatrix",{in:"GREEN_DISPLACED",type:"matrix",values:"0 0 0 0 0\n 0 1 0 0 0\n 0 0 0 0 0\n 0 0 0 1 0",result:"GREEN_CHANNEL"}),e("feDisplacementMap",{in:"SourceGraphic",in2:"DISPLACEMENT_MAP",scale:n*(("shader"===r?1:-1)-.03*i),xChannelSelector:"R",yChannelSelector:"B",result:"BLUE_DISPLACED"}),e("feColorMatrix",{in:"BLUE_DISPLACED",type:"matrix",values:"0 0 0 0 0\n 0 0 0 0 0\n 0 0 1 0 0\n 0 0 0 1 0",result:"BLUE_CHANNEL"}),e("feBlend",{in:"GREEN_CHANNEL",in2:"BLUE_CHANNEL",mode:"screen",result:"GB_COMBINED"}),e("feBlend",{in:"RED_CHANNEL",in2:"GB_COMBINED",mode:"screen",result:"RGB_COMBINED"}),e("feComposite",{in:"ABERRATED_BLURRED",in2:"EDGE_MASK",operator:"in",result:"EDGE_ABERRATION"}),e("feComponentTransfer",{in:"EDGE_MASK",result:"INVERTED_MASK",children:e("feFuncA",{type:"table",tableValues:"1 0"})}),e("feComposite",{in:"CENTER_ORIGINAL",in2:"INVERTED_MASK",operator:"in",result:"CENTER_CLEAN"}),e("feComposite",{in:"EDGE_ABERRATION",in2:"CENTER_CLEAN",operator:"over"})]})]})});Ze.displayName="GlassFilter";const qe=s((({children:a,className:n="",style:s,displacementScale:d=25,blurAmount:u=.0625,saturation:h=180,aberrationIntensity:m=2,mouseOffset:p={x:0,y:0},globalMousePosition:g={x:0,y:0},onMouseEnter:S,onMouseLeave:E,onMouseDown:A,onMouseUp:N,active:v=!1,isHovered:_=!1,isActive:f=!1,overLight:b=!1,cornerRadius:T=0,padding:C="0 0",glassSize:L={width:0,height:0},onClick:y,mode:I="standard",effectiveDisableEffects:x=!1,effectiveReducedMotion:R=!1,shaderVariant:O="liquidGlass",enableLiquidBlur:M=!1,elasticity:w=0,contentRef:D},B)=>{const P=l(),[k,U]=i(""),G=r(null);o((()=>{if("shader"===I&&L&&Ye(L))try{G.current?.destroy();const e=ke[O]||ke.liquidGlass;G.current=new Ue({width:L.width,height:L.height,fragment:e});const t=G.current.updateShader();U(t)}catch(e){U("")}return()=>{try{G.current?.destroy()}catch(e){}finally{G.current=null}}}),[I,L,O]),o((()=>{if(!B||"function"==typeof B)return;const e=B.current;if(!e)return;const t=setTimeout((()=>{try{e.offsetHeight}catch(e){}}),0);return()=>clearTimeout(t)}),[T,L?.width,L?.height,B]);const[z,F]=i(null);o((()=>{if(!B||"function"==typeof B)return;const e=B.current;if(e)try{F(e.getBoundingClientRect())}catch(e){F(null)}}),[B,L]);const V=c((()=>{const e={baseBlur:u,edgeBlur:1.25*u,centerBlur:1.1*u,flowBlur:1.2*u};if(!M||!z||!g||"number"!=typeof g.x||"number"!=typeof g.y||isNaN(g.x)||isNaN(g.y))return e;try{const e=Fe(z),t=ze(g,e),a=Math.sqrt(z.width*z.width+z.height*z.height)/2,n=Math.min(t/a,1),i=Ve(p),r=u+i*u*.4,o=r*(.8+.6*(1.5*n+.3*i)),s=r*(.3+.4*(.3*(1-n)+.2*i)),l=g.x-e.x,c=g.y-e.y,d=Math.atan2(c,l),h=r*(.4+.6*(.5*Math.sin(d+i*Math.PI)+.5)),m=(_?1.2:1)*(f?1.4:1);return{baseBlur:He(r*m),edgeBlur:He(o*m),centerBlur:He(s*m),flowBlur:He(h*m)}}catch(t){return e}}),[M,u,g,p,_,f,z,s,L]),H=c((()=>{try{const e=h+20*(V.baseBlur||0),t="number"!=typeof V.baseBlur||isNaN(V.baseBlur)?0:V.baseBlur,a="number"!=typeof V.edgeBlur||isNaN(V.edgeBlur)?0:V.edgeBlur,n="number"!=typeof V.centerBlur||isNaN(V.centerBlur)?0:V.centerBlur,i="number"!=typeof V.flowBlur||isNaN(V.flowBlur)?0:V.flowBlur;return{backdropFilter:`${[`blur(${t}px)`,`blur(${a}px)`,`blur(${n}px)`,`blur(${i}px)`].join(" ")} saturate(${Math.min(e,200)}%) `}}catch(e){return{backdropFilter:`blur(${u}px) saturate(${h}%)`}}}),[P,V,h,u]),Y=c((()=>{try{const e=p&&"number"==typeof p.x&&!isNaN(p.x)?p.x:0,t=p&&"number"==typeof p.y&&!isNaN(p.y)?p.y:0;return{"--atomix-glass-container-width":`${L?.width}`,"--atomix-glass-container-height":`${L?.height}`,"--atomix-glass-container-padding":C||"0 0","--atomix-glass-container-radius":`${"number"!=typeof T||isNaN(T)?0:T}px`,"--atomix-glass-container-backdrop":H?.backdropFilter||"none","--atomix-glass-container-shadow":b?[`inset 0 1px 0 rgba(255, 255, 255, ${.4+.002*e})`,`inset 0 -1px 0 rgba(0, 0, 0, ${.2+.001*Math.abs(t)})`,`inset 0 0 20px rgba(0, 0, 0, ${.08+.001*Math.abs(e+t)})`,`0 2px 12px rgba(0, 0, 0, ${.12+.002*Math.abs(t)})`].join(", "):"0 0 20px rgba(0, 0, 0, 0.15) inset, 0 4px 8px rgba(0, 0, 0, 0.08) inset","--atomix-glass-container-shadow-opacity":x?0:1,"--atomix-glass-container-bg":b?`linear-gradient(${180+.5*e}deg, rgba(255, 255, 255, 0.1) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.05) 100%)`:"none","--atomix-glass-container-text-shadow":b?"0px 2px 12px rgba(0, 0, 0, 0)":"0px 2px 12px rgba(0, 0, 0, 0.4)","--atomix-glass-container-box-shadow":b?"0px 16px 70px rgba(0, 0, 0, 0.75)":"0px 12px 40px rgba(0, 0, 0, 0.25)"}}catch(e){return{"--atomix-glass-container-padding":"0 0","--atomix-glass-container-radius":"0px","--atomix-glass-container-backdrop":"none","--atomix-glass-container-shadow":"none","--atomix-glass-container-shadow-opacity":1,"--atomix-glass-container-bg":"none","--atomix-glass-container-text-shadow":"none"}}}),[L,C,T,H,p,b,x]);return e("div",{ref:B,className:`${ve.CONTAINER_CLASS} ${n} ${v?ve.CLASSES.ACTIVE:""} ${b?ve.CLASSES.OVER_LIGHT:""}`,style:{...s,...Y},onClick:y,children:t("div",{className:ve.INNER_CLASS,style:{padding:"var(--atomix-glass-container-padding)",borderRadius:"var(--atomix-glass-container-radius)",boxShadow:"var(--atomix-glass-container-box-shadow)"},onMouseEnter:S,onMouseLeave:E,onMouseDown:A,onMouseUp:N,children:[t("div",{className:ve.FILTER_CLASS,children:[e(Ze,{mode:I,id:P,displacementScale:"number"!=typeof d||isNaN(d)?0:d,aberrationIntensity:"number"!=typeof m||isNaN(m)?0:m,shaderMapUrl:k}),e("span",{className:ve.FILTER_OVERLAY_CLASS,style:{filter:`url(#${P})`,backdropFilter:"var(--atomix-glass-container-backdrop)",borderRadius:"var(--atomix-glass-container-radius)"}}),e("div",{className:ve.FILTER_SHADOW_CLASS,style:{boxShadow:"var(--atomix-glass-container-shadow)",opacity:"var(--atomix-glass-container-shadow-opacity)",background:"var(--atomix-glass-container-bg)",borderRadius:"var(--atomix-glass-container-radius)"}})]}),e("div",{ref:D,className:ve.CONTENT_CLASS,style:{position:"relative",textShadow:"var(--atomix-glass-container-text-shadow)",...w>0?{zIndex:100}:{}},children:a})]})})}));qe.displayName="AtomixGlassContainer";const{CONSTANTS:Xe}=ve;function je({glassRef:e,contentRef:t,cornerRadius:a,globalMousePosition:n,mouseOffset:s,mouseContainer:l,overLight:u=ve.DEFAULTS.OVER_LIGHT,reducedMotion:h=!1,highContrast:m=!1,disableEffects:p=!1,elasticity:g=.05,onClick:S,debugCornerRadius:E=!1,debugOverLight:A=!1,enablePerformanceMonitoring:N=!1,children:v}){const[_,f]=i(!1),[b,T]=i(!1),[C,L]=i({width:270,height:69}),[y,I]=i({x:0,y:0}),[x,R]=i({x:0,y:0}),[O,M]=i(Xe.DEFAULT_CORNER_RADIUS),[w,D]=i(!1),[B,P]=i(!1),[k,U]=i(!1),G=c((()=>{if(void 0!==a){return Math.max(0,a)}return Math.max(0,O)}),[a,O,E]),z=c((()=>h||w),[h,w]),F=c((()=>m||B),[m,B]),V=c((()=>p||z),[p,z]),H=c((()=>n||y),[n,y]),Y=c((()=>s||x),[s,x]);o((()=>{const e=()=>{try{let e=null,a="default";if(t.current){const n=t.current.firstElementChild;if(n){const t=(e=>{if(!e||"undefined"==typeof window)return null;try{const t=window.getComputedStyle(e),a=t.borderRadius||t.borderTopLeftRadius||t.borderTopRightRadius||t.borderBottomLeftRadius||t.borderBottomRightRadius;if(a&&"0px"!==a&&"auto"!==a){const e=Ke(a);return e>0?e:null}return null}catch(e){return null}})(n);null!==t&&t>0&&(e=t,a="DOM element")}}if(null===e){const t=We(v);t>0&&t!==Xe.DEFAULT_CORNER_RADIUS&&(e=t,a="React children")}null!==e&&e>0&&M(e)}catch(e){}};e();const a=setTimeout(e,100);return()=>clearTimeout(a)}),[v,E,t]),o((()=>{if(("auto"===u||"object"==typeof u&&null!==u)&&e.current){const t=setTimeout((()=>{try{const t=e.current;if(!t)return void U(!1);if("undefined"==typeof window||"function"!=typeof window.getComputedStyle)return void U(!1);let a=0,n=0,i=!1,r=t.parentElement,o=0;const s=20,l=10;for(;r&&n<l&&o<s;){try{const e=window.getComputedStyle(r);if(!e){r=r.parentElement,o++;continue}const t=e.backgroundColor,s=e.backgroundImage;if(t&&"rgba(0, 0, 0, 0)"!==t&&"transparent"!==t&&"initial"!==t&&"none"!==t){const e=t.match(/\d+/g);if(e&&e.length>=3){const t=Number(e[0]),r=Number(e[1]),o=Number(e[2]);if(!isNaN(t)&&!isNaN(r)&&!isNaN(o)&&isFinite(t)&&isFinite(r)&&isFinite(o)&&t>=0&&t<=255&&r>=0&&r<=255&&o>=0&&o<=255&&(t>10||r>10||o>10)){const e=(.299*t+.587*r+.114*o)/255;!isNaN(e)&&isFinite(e)&&(a+=e,n++,i=!0)}}}s&&"none"!==s&&"initial"!==s&&(a+=.5,n++,i=!0)}catch(e){process.env.NODE_ENV}if(!r)break;r=r.parentElement,o++}if(i&&n>0){const e=a/n;if(!isNaN(e)&&isFinite(e)){let t=.7;if("object"==typeof u&&null!==u){const e=u;if(void 0!==e.threshold){const a="number"==typeof e.threshold&&!isNaN(e.threshold)&&isFinite(e.threshold)?e.threshold:.7;t=Math.min(.9,Math.max(.1,a))}}U(e>t)}else U(!1)}else U(!1)}catch(e){process.env.NODE_ENV,U(!1)}}),150);return()=>clearTimeout(t)}if("boolean"==typeof u&&U(!1),"function"==typeof window.matchMedia)try{const e=window.matchMedia("(prefers-reduced-motion: reduce)"),t=window.matchMedia("(prefers-contrast: high)");D(e.matches),P(t.matches);const a=e=>{D(e.matches)},n=e=>{P(e.matches)};return e.addEventListener?(e.addEventListener("change",a),t.addEventListener("change",n)):e.addListener&&(e.addListener(a),t.addListener(n)),()=>{try{e.removeEventListener?(e.removeEventListener("change",a),t.removeEventListener("change",n)):e.removeListener&&(e.removeListener(a),t.removeListener(n))}catch(e){}}}catch(e){return}}),[u,e,A]);const K=r(null),$=r(null),W=d((t=>{$.current=t,null===K.current&&(K.current=requestAnimationFrame((()=>{const t=$.current;if(!t)return void(K.current=null);const a=l?.current||e.current;if(!a)return void(K.current=null);const n=N?performance.now():0,i=a.getBoundingClientRect();if(0===i.width||0===i.height)return void(K.current=null);const r=Fe(i);if(R({x:(t.clientX-r.x)/i.width*100,y:(t.clientY-r.y)/i.height*100}),I({x:t.clientX,y:t.clientY}),N){performance.now()}K.current=null})))}),[l,e,N]);o((()=>{if(n&&s)return;if(V)return;const t=l?.current||e.current;return t?(t.addEventListener("mousemove",W,{passive:!0}),()=>{t.removeEventListener("mousemove",W),K.current&&(cancelAnimationFrame(K.current),K.current=null)}):void 0}),[W,l,e,n,s,V]);const Q=d((()=>{if(!(H.x&&H.y&&e.current&&Ye(C)))return"scale(1)";const t=e.current.getBoundingClientRect(),a=Fe(t),n=H.x-a.x,i=H.y-a.y,r=Math.max(0,Math.abs(n)-C.width/2),o=Math.max(0,Math.abs(i)-C.height/2),s=ze({x:r,y:o},{x:0,y:0});if(s>Xe.ACTIVATION_ZONE)return"scale(1)";const l=1-s/Xe.ACTIVATION_ZONE,c=ze(H,a);if(0===c)return"scale(1)";const d=n/c,u=i/c,h=Math.min(c/300,1)*g*l,m=1+Math.abs(d)*h*.3-Math.abs(u)*h*.15,p=1+Math.abs(u)*h*.3-Math.abs(d)*h*.15;return`scaleX(${Math.max(.8,m)}) scaleY(${Math.max(.8,p)})`}),[H,g,C,e]),Z=d((()=>{if(!(H.x&&H.y&&e.current&&Ye(C)))return 0;const t=e.current.getBoundingClientRect(),a=Fe(t),n=Math.max(0,Math.abs(H.x-a.x)-C.width/2),i=Math.max(0,Math.abs(H.y-a.y)-C.height/2),r=ze({x:n,y:i},{x:0,y:0});return r>Xe.ACTIVATION_ZONE?0:1-r/Xe.ACTIVATION_ZONE}),[H,C,e]),q=d((()=>{if(!e.current)return{x:0,y:0};const t=Z(),a=e.current.getBoundingClientRect(),n=Fe(a);return{x:(H.x-n.x)*g*.1*t,y:(H.y-n.y)*g*.1*t}}),[H,g,Z,e]),X=c((()=>V?{x:0,y:0}:q()),[q,V]),j=c((()=>V?"scale(1)":Q()),[Q,V]),J=c((()=>V?b&&Boolean(S)?"scale(0.98)":"scale(1)":`translate(${X.x}px, ${X.y}px) ${b&&Boolean(S)?"scale(0.96)":j}`),[X,b,S,j,V]);o((()=>{const t=e=>null!==e&&e instanceof HTMLElement&&e.isConnected;let a=null,n={width:0,height:0},i=G;const r=(r=!1)=>{null!==a&&cancelAnimationFrame(a),a=requestAnimationFrame((()=>{if(!t(e.current))return void(a=null);const o=e.current.getBoundingClientRect();if(o.width<=0||o.height<=0)return void(a=null);const s=Math.max(0,Math.min(.1*G,10)),l={width:Math.round(o.width+s),height:Math.round(o.height+s)},c=i!==G,d=Math.abs(l.width-n.width)>1||Math.abs(l.height-n.height)>1;var u;(r||c||d)&&(Ye(u=l)&&u.width<=Xe.MAX_SIZE&&u.height<=Xe.MAX_SIZE)&&(n=l,i=G,L(l)),a=null}))};let o=null;const s=()=>{o&&clearTimeout(o),o=setTimeout((()=>r(!1)),16)},l=setTimeout((()=>r(!0)),0);let c=null,d=null;if("undefined"!=typeof ResizeObserver&&t(e.current))try{c=new ResizeObserver((t=>{for(const a of t)if(a.target===e.current){r(!1);break}})),c.observe(e.current)}catch{d=setInterval((()=>t(e.current)&&r(!1)),100)}else d=setInterval((()=>t(e.current)&&r(!1)),100);return window.addEventListener("resize",s,{passive:!0}),()=>{clearTimeout(l),null!==a&&cancelAnimationFrame(a),o&&clearTimeout(o),d&&clearInterval(d),window.removeEventListener("resize",s),c?.disconnect()}}),[G,e]);const ee=d((()=>"boolean"==typeof u?u:("auto"===u||"object"==typeof u&&null!==u)&&k),[u,k]),te=d(((e,t,a,n)=>"number"!=typeof e||isNaN(e)||!isFinite(e)?n:Math.min(a,Math.max(t,e))),[]),ae=c((()=>{const e=ee(),t=Ve(Y),a=_?1.4:1,n=b?1.6:1,i={isOverLight:e,threshold:.7,opacity:e?Math.min(.6,Math.max(.2,.5*a*n)):0,contrast:Math.min(1.8,Math.max(1,1.4+.3*t)),brightness:Math.min(1.2,Math.max(.7,.85+.15*t)),saturationBoost:Math.min(2,Math.max(1,1.3+.4*t)),shadowIntensity:Math.min(1.5,Math.max(.5,.9+.5*t)),borderOpacity:Math.min(1,Math.max(.3,.7+.3*t))};if("object"==typeof u&&null!==u){const e=u,r=te(e.threshold,.1,1,i.threshold),o=te(e.opacity,.1,1,i.opacity),s=te(e.contrast,.5,2.5,i.contrast),l=te(e.brightness,.5,2,i.brightness),c=te(e.saturationBoost,.5,3,i.saturationBoost);return{...i,threshold:r,opacity:o*a*n,contrast:s+.3*t,brightness:l+.15*t,saturationBoost:c+.4*t}}return i}),[u,ee,Y,_,b,te,A]),ne=d((()=>f(!0)),[]),ie=d((()=>f(!1)),[]),re=d((()=>T(!0)),[]),oe=d((()=>T(!1)),[]),se=d((e=>{!S||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),S())}),[S]);return{isHovered:_,isActive:b,glassSize:C,dynamicCornerRadius:O,effectiveCornerRadius:G,effectiveReducedMotion:z,effectiveHighContrast:F,effectiveDisableEffects:V,detectedOverLight:k,globalMousePosition:H,mouseOffset:Y,overLightConfig:ae,elasticTranslation:X,directionalScale:j,transformStyle:J,handleMouseEnter:ne,handleMouseLeave:ie,handleMouseDown:re,handleMouseUp:oe,handleMouseMove:W,handleKeyDown:se}}function Je({children:n,displacementScale:i=ve.DEFAULTS.DISPLACEMENT_SCALE,blurAmount:o=ve.DEFAULTS.BLUR_AMOUNT,saturation:s=ve.DEFAULTS.SATURATION,aberrationIntensity:l=ve.DEFAULTS.ABERRATION_INTENSITY,elasticity:d=ve.DEFAULTS.ELASTICITY,cornerRadius:u,globalMousePosition:h,mouseOffset:m,mouseContainer:p=null,className:g="",padding:S=ve.DEFAULTS.PADDING,overLight:E=ve.DEFAULTS.OVER_LIGHT,style:A={},mode:N=ve.DEFAULTS.MODE,onClick:v,shaderVariant:_="liquidGlass","aria-label":f,"aria-describedby":b,role:T,tabIndex:C,reducedMotion:L=!1,highContrast:y=!1,disableEffects:I=!1,enableLiquidBlur:x=!1,enableBorderEffect:R=!0,enableOverLightLayers:O=ve.DEFAULTS.ENABLE_OVER_LIGHT_LAYERS,enablePerformanceMonitoring:M=!1,debugCornerRadius:w=!1,debugOverLight:D=!1}){const B=r(null),P=r(null),{isHovered:k,isActive:U,glassSize:G,effectiveCornerRadius:z,effectiveReducedMotion:F,effectiveHighContrast:V,effectiveDisableEffects:H,overLightConfig:Y,globalMousePosition:K,mouseOffset:$,transformStyle:W,handleMouseEnter:Q,handleMouseLeave:Z,handleMouseDown:q,handleMouseUp:X,handleKeyDown:j}=je({glassRef:B,contentRef:P,cornerRadius:u,globalMousePosition:h,mouseOffset:m,mouseContainer:p,overLight:E,reducedMotion:L,highContrast:y,disableEffects:I,elasticity:d,onClick:v,debugCornerRadius:w,debugOverLight:D,enablePerformanceMonitoring:M,children:n}),J=Y.isOverLight,ee=O&&J,te=c((()=>F?"none":"var(--atomix-transition-duration, 0.2s) ease-out"),[F]),ae=c((()=>({...A,...0!==d&&!H&&{transform:W,willChange:"transform"},...H&&{willChange:"auto"}})),[A,W,H,d]),ne=c((()=>[ve.BASE_CLASS,F&&`${ve.BASE_CLASS}--reduced-motion`,V&&`${ve.BASE_CLASS}--high-contrast`,H&&`${ve.BASE_CLASS}--disabled-effects`,g].filter(Boolean).join(" ")),[F,V,H,g]),ie=ae.position,re=ae.top,oe=ae.left,se=c((()=>({position:ie||"absolute",top:re||0,left:oe||0})),[ie,re,oe]),le=ae.width,ce=ae.height,de=G.width,ue=G.height,he=c((()=>({width:"fixed"!==ie?"100%":le||Math.max(de,0),height:"fixed"!==ie?"100%":ce||Math.max(ue,0)})),[ie,le,ce,de,ue]),me=$.x,pe=$.y,ge=c((()=>{const e=me,t=pe,{GRADIENT:a}=ve.CONSTANTS,n=a.BASE_ANGLE+e*a.ANGLE_MULTIPLIER,i=Math.max(a.BORDER_STOP_1.MIN,a.BORDER_STOP_1.BASE+t*a.BORDER_STOP_1.MULTIPLIER),r=Math.min(a.BORDER_STOP_2.MAX,a.BORDER_STOP_2.BASE+t*a.BORDER_STOP_2.MULTIPLIER),o=a.BORDER_OPACITY.BASE_1+Math.abs(e)*a.BORDER_OPACITY.MULTIPLIER_LOW,s=a.BORDER_OPACITY.BASE_2+Math.abs(e)*a.BORDER_OPACITY.MULTIPLIER_HIGH,l=a.BORDER_OPACITY.BASE_3+Math.abs(e)*a.BORDER_OPACITY.MULTIPLIER_LOW,c=a.BORDER_OPACITY.BASE_4+Math.abs(e)*a.BORDER_OPACITY.MULTIPLIER_HIGH,d=a.CENTER_POSITION+e/a.HOVER_POSITION.DIVISOR_1,u=a.CENTER_POSITION+t/a.HOVER_POSITION.DIVISOR_1,h=a.CENTER_POSITION+e/a.HOVER_POSITION.DIVISOR_2,m=a.CENTER_POSITION+t/a.HOVER_POSITION.DIVISOR_2,p=a.CENTER_POSITION+e*a.HOVER_POSITION.MULTIPLIER_3,g=a.CENTER_POSITION+t*a.HOVER_POSITION.MULTIPLIER_3,S=a.CENTER_POSITION+e*a.BASE_LAYER_MULTIPLIER,E=a.CENTER_POSITION+t*a.BASE_LAYER_MULTIPLIER;return{isOverLight:J,mx:e,my:t,borderGradientAngle:n,borderStop1:i,borderStop2:r,borderOpacity1:o,borderOpacity2:s,borderOpacity3:l,borderOpacity4:c,hover1X:d,hover1Y:u,hover2X:h,hover2Y:m,hover3X:p,hover3Y:g,baseX:S,baseY:E}}),[me,pe,J]),Se=Y.opacity,Ee=c((()=>{let e=.5,t=.4,a=.8,n=0;if("undefined"!=typeof window&&B.current)try{const i=window.getComputedStyle(B.current),r=i.getPropertyValue("--atomix-opacity-50").trim(),o=i.getPropertyValue("--atomix-opacity-40").trim(),s=i.getPropertyValue("--atomix-opacity-80").trim(),l=i.getPropertyValue("--atomix-opacity-0").trim();r&&(e=parseFloat(r)||.5),o&&(t=parseFloat(o)||.4),s&&(a=parseFloat(s)||.8),l&&(n=parseFloat(l)||0)}catch(e){}return{hover1:k||U?e:n,hover2:U?e:n,hover3:k?t:U?a:n,base:J?Se||t:n,over:J?1.1*(Se||t):n}}),[k,U,J,Se,B]),Ae=ge.isOverLight,Ne=ge.mx,_e=ge.my,fe=ge.borderGradientAngle,be=ge.borderStop1,Te=ge.borderStop2,Ce=ge.borderOpacity1,Le=ge.borderOpacity2,ye=ge.borderOpacity3,Ie=ge.borderOpacity4,xe=ge.hover1X,Re=ge.hover1Y,Oe=ge.hover2X,Me=ge.hover2Y,we=ge.hover3X,De=ge.hover3Y,Be=ge.baseX,Pe=ge.baseY,ke=se.position,Ue=se.top,Ge=se.left,ze=he.width,Fe=he.height,Ve=ae.transform,He=Ee.hover1,Ye=Ee.hover2,Ke=Ee.hover3,$e=Ee.base,We=Ee.over,Qe=c((()=>{const e="255, 255, 255",t="0, 0, 0";return{"--atomix-glass-radius":`${z}px`,"--atomix-glass-transform":Ve||"none","--atomix-glass-transition":F?"none":te,"--atomix-glass-position":ke,"--atomix-glass-top":"fixed"!==Ue?`${Ue}px`:"0","--atomix-glass-left":"fixed"!==Ge?`${Ge}px`:"0","--atomix-glass-width":"fixed"!==ie?ze:`${ze}px`,"--atomix-glass-height":"fixed"!==ie?Fe:`${Fe}px`,"--atomix-glass-border-width":"var(--atomix-spacing-0-5, 0.09375rem)","--atomix-glass-blend-mode":Ae?"multiply":"overlay","--atomix-glass-border-gradient-1":`linear-gradient(${fe}deg, rgba(${e}, 0) 0%, rgba(${e}, ${Ce}) ${be}%, rgba(${e}, ${Le}) ${Te}%, rgba(${e}, 0) 100%)`,"--atomix-glass-border-gradient-2":`linear-gradient(${fe}deg, rgba(${e}, 0) 0%, rgba(${e}, ${ye}) ${be}%, rgba(${e}, ${Ie}) ${Te}%, rgba(${e}, 0) 100%)`,"--atomix-glass-hover-1-opacity":He,"--atomix-glass-hover-1-gradient":Ae?`radial-gradient(circle at ${xe}% ${Re}%, rgba(${t}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_1.BLACK_START}) 0%, rgba(${t}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_1.BLACK_MID}) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_1.BLACK_STOP}%, rgba(${t}, 0) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_1.BLACK_END}%)`:`radial-gradient(circle at ${xe}% ${Re}%, rgba(${e}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_1.WHITE_START}) 0%, rgba(${e}, 0) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_1.WHITE_STOP}%)`,"--atomix-glass-hover-2-opacity":Ye,"--atomix-glass-hover-2-gradient":Ae?`radial-gradient(circle at ${Oe}% ${Me}%, rgba(${t}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_2.BLACK_START}) 0%, rgba(${t}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_2.BLACK_MID}) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_2.BLACK_STOP}%, rgba(${t}, 0) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_2.BLACK_END}%)`:`radial-gradient(circle at ${Oe}% ${Me}%, rgba(${e}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_2.WHITE_START}) 0%, rgba(${e}, 0) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_2.WHITE_STOP}%)`,"--atomix-glass-hover-3-opacity":Ke,"--atomix-glass-hover-3-gradient":Ae?`radial-gradient(circle at ${we}% ${De}%, rgba(${t}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_3.BLACK_START}) 0%, rgba(${t}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_3.BLACK_MID}) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_3.BLACK_STOP}%, rgba(${t}, 0) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_3.BLACK_END}%)`:`radial-gradient(circle at ${we}% ${De}%, rgba(${e}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_3.WHITE_START}) 0%, rgba(${e}, 0) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_3.WHITE_STOP}%)`,"--atomix-glass-base-opacity":$e,"--atomix-glass-base-gradient":Ae?`linear-gradient(${ve.CONSTANTS.BASE_GRADIENT.ANGLE}deg, rgba(${t}, ${ve.CONSTANTS.BASE_GRADIENT.BLACK_START_BASE+Ne*ve.CONSTANTS.BASE_GRADIENT.BLACK_START_MULTIPLIER}) 0%, rgba(${t}, ${ve.CONSTANTS.BASE_GRADIENT.BLACK_MID_BASE+_e*ve.CONSTANTS.BASE_GRADIENT.BLACK_MID_MULTIPLIER}) ${ve.CONSTANTS.BASE_GRADIENT.BLACK_MID_STOP}%, rgba(${t}, ${ve.CONSTANTS.BASE_GRADIENT.BLACK_END_BASE+Math.abs(Ne)*ve.CONSTANTS.BASE_GRADIENT.BLACK_END_MULTIPLIER}) 100%)`:`rgba(${e}, ${ve.CONSTANTS.BASE_GRADIENT.WHITE_OPACITY})`,"--atomix-glass-overlay-opacity":We,"--atomix-glass-overlay-gradient":Ae?`radial-gradient(circle at ${Be}% ${Pe}%, rgba(${t}, ${ve.CONSTANTS.OVERLAY_GRADIENT.BLACK_START_BASE+Math.abs(Ne)*ve.CONSTANTS.OVERLAY_GRADIENT.BLACK_START_MULTIPLIER}) 0%, rgba(${t}, ${ve.CONSTANTS.OVERLAY_GRADIENT.BLACK_MID}) ${ve.CONSTANTS.OVERLAY_GRADIENT.BLACK_MID_STOP}%, rgba(${t}, ${ve.CONSTANTS.OVERLAY_GRADIENT.BLACK_END_BASE+Math.abs(_e)*ve.CONSTANTS.OVERLAY_GRADIENT.BLACK_END_MULTIPLIER}) 100%)`:`rgba(${e}, ${ve.CONSTANTS.OVERLAY_GRADIENT.WHITE_OPACITY})`}}),[ke,Ue,Ge,ze,Fe,Ve,ie,z,F,te,Ae,Ne,_e,fe,be,Te,Ce,Le,ye,Ie,xe,Re,Oe,Me,we,De,Be,Pe,He,Ye,Ke,$e,We]);return t("div",{className:ne,style:Qe,role:T||(v?"button":void 0),tabIndex:v?C??0:C,"aria-label":f,"aria-describedby":b,"aria-disabled":!(!v||!H)||!v&&void 0,"aria-pressed":!(!v||!U)||!v&&void 0,onKeyDown:v?j:void 0,children:[e(qe,{ref:B,contentRef:P,className:g,style:ae,cornerRadius:z,displacementScale:H?0:"shader"===N?i*ve.CONSTANTS.MULTIPLIERS.SHADER_DISPLACEMENT:Y.isOverLight?i*ve.CONSTANTS.MULTIPLIERS.OVER_LIGHT_DISPLACEMENT:i,blurAmount:H?0:o,saturation:V?ve.CONSTANTS.SATURATION.HIGH_CONTRAST:Y.isOverLight?s*Y.saturationBoost:s,aberrationIntensity:H?0:"shader"===N?l*ve.CONSTANTS.MULTIPLIERS.SHADER_ABERRATION:l,glassSize:G,padding:S,mouseOffset:H?{x:0,y:0}:$,globalMousePosition:H?{x:0,y:0}:K,onMouseEnter:Q,onMouseLeave:Z,onMouseDown:q,onMouseUp:X,active:U,isHovered:k,isActive:U,overLight:Y.isOverLight,onClick:v,mode:N,transform:ae.transform,effectiveDisableEffects:H,effectiveReducedMotion:F,shaderVariant:_,elasticity:d,enableLiquidBlur:x,children:n}),Boolean(v)&&t(a,{children:[e("div",{className:ve.HOVER_1_CLASS}),e("div",{className:ve.HOVER_2_CLASS}),e("div",{className:ve.HOVER_3_CLASS})]}),e("div",{className:[ve.BACKGROUND_LAYER_CLASS,ve.BACKGROUND_LAYER_DARK_CLASS,J?ve.BACKGROUND_LAYER_OVER_LIGHT_CLASS:ve.BACKGROUND_LAYER_HIDDEN_CLASS].filter(Boolean).join(" "),style:{...se,height:he.height,width:he.width,borderRadius:`${z}px`,transform:ae.transform}}),e("div",{className:[ve.BACKGROUND_LAYER_CLASS,ve.BACKGROUND_LAYER_BLACK_CLASS,J?ve.BACKGROUND_LAYER_OVER_LIGHT_CLASS:ve.BACKGROUND_LAYER_HIDDEN_CLASS].filter(Boolean).join(" "),style:{...se,height:he.height,width:he.width,borderRadius:`${z}px`,transform:ae.transform}}),ee&&t(a,{children:[e("div",{className:ve.BASE_LAYER_CLASS}),e("div",{className:ve.OVERLAY_LAYER_CLASS}),e("div",{className:ve.OVERLAY_HIGHLIGHT_CLASS,style:{opacity:Ee.over*ve.CONSTANTS.OVERLAY_HIGHLIGHT.OPACITY_MULTIPLIER,background:`radial-gradient(circle at ${ve.CONSTANTS.OVERLAY_HIGHLIGHT.POSITION_X}% ${ve.CONSTANTS.OVERLAY_HIGHLIGHT.POSITION_Y}%, rgba(255, 255, 255, ${ve.CONSTANTS.OVERLAY_HIGHLIGHT.WHITE_OPACITY}) 0%, transparent ${ve.CONSTANTS.OVERLAY_HIGHLIGHT.STOP}%)`}})]}),R&&t(a,{children:[e("span",{className:ve.BORDER_1_CLASS}),e("span",{className:ve.BORDER_2_CLASS})]})]})}const et=({title:a,children:n,defaultOpen:i=!1,isOpen:r,onOpenChange:o,disabled:s=!1,iconPosition:c="right",icon:d,className:u="",style:h,glass:m})=>{const p=l(),g=`accordion-header-${p}`,S=`accordion-panel-${p}`,{state:E,toggle:A,updatePanelHeight:N,panelRef:v,contentRef:_,generateClassNames:f,generateHeaderClassNames:b}=_e({defaultOpen:i,disabled:s,iconPosition:c,isOpen:r,onOpenChange:o}),T=e("i",{className:"c-accordion__icon","aria-hidden":"true",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",children:e("polyline",{points:"6 9 12 15 18 9"})})}),C=t("div",{className:f(u)+(m?" c-accordion--glass":""),style:h,children:[t("button",{id:g,className:b(),onClick:A,"aria-expanded":E.isOpen,"aria-controls":S,"aria-disabled":s,disabled:s,type:"button",children:[e("span",{className:"c-accordion__title",children:a}),d||T]}),e("div",{id:S,className:M.SELECTORS.PANEL.replace(".",""),ref:v,role:"region","aria-labelledby":g,children:e("div",{className:M.SELECTORS.BODY.replace(".",""),ref:_,children:n})})]});if(m){const t={displacementScale:20,elasticity:0},a=!0===m?t:{...t,...m};return e(Je,{...a,children:C})}return C};et.displayName="Accordion";const tt=({height:a=24,width:n=24,color:i="currentColor",...r})=>t("svg",{width:n,height:a,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:[e("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z",fill:i}),e("path",{d:"M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z",fill:i})]}),at={xs:16,sm:20,md:24,lg:32,xl:40},nt=({name:t,size:a="md",weight:n="regular",color:i,className:r="",style:o,alt:s})=>{const l=A[t];if(!l)return null;return e("span",{className:`c-icon c-icon--${a} ${r}`,style:o,"aria-hidden":!s,title:s,children:e(l,{size:"string"==typeof a?at[a]||24:a,weight:n,color:i,"aria-label":s})})};nt.displayName="Icon";const it=({src:t,alt:a="Avatar",initials:n,icon:r,size:o="md",circle:s=!1,className:l="",disabled:c=!1,onClick:d,style:u,glass:h})=>{const[m,p]=i(!1),g=[le.CLASSES.BASE,"md"!==o&&`c-avatar--${o}`,s&&le.CLASSES.CIRCLE,c&&"is-disabled",l].filter(Boolean).join(" ");return e("div",{className:g,onClick:d?e=>{!c&&d&&d(e)}:void 0,role:d?"button":void 0,tabIndex:d&&!c?0:void 0,"aria-disabled":c||void 0,style:u,children:t&&!m?e("img",{src:t,alt:a,className:"c-avatar__image",onError:()=>{p(!0)}}):e("span",n?{className:"c-avatar__initials",children:n}:r?{className:"c-avatar__icon",children:r}:{className:"c-avatar__icon",children:e(nt,{name:"User",size:"xs"===o?"xs":"sm"===o?"sm":"md"})})})};it.displayName="Avatar";const rt=({children:a,max:n,stacked:i=!1,className:r="",style:o,moreText:s})=>{const l=[ce.CLASSES.BASE,i&&ce.CLASSES.STACKED,r].filter(Boolean).join(" "),c=u.toArray(a).filter((e=>h(e)&&e.type===it)),d=void 0!==n&&c.length>n,p=d?c.slice(0,n):c,g=c.length-(n||0),S=h(c[0])?c[0].props:null,E=S?.size||"md",A=S?.circle||!1,N=[le.CLASSES.BASE,ce.CLASSES.MORE,"md"!==E&&`c-avatar--${E}`,A&&"c-avatar--circle"].filter(Boolean).join(" ");return t("div",{className:l,style:o,children:[p.map(((e,t)=>h(e)?m(e,{key:t,...e.props}):null)),d&&e("div",{className:N,children:s||`+${g}`})]})};function ot(e){const t={variant:"primary",size:"md",disabled:!1,...e};return{defaultProps:t,generateBadgeClass:e=>{const{variant:a=t.variant,size:n=t.size,disabled:i=t.disabled,className:r=""}=e;return`${w.BASE_CLASS} ${a?`${w.VARIANT_PREFIX}${a}`:""} ${"md"===n?"":`${w.SIZE_PREFIX}${n}`} ${i?"c-badge--disabled":""} ${r}`.trim()}}}rt.displayName="AvatarGroup";const st=({label:a,variant:n="primary",size:i="md",disabled:o=!1,icon:s,className:l="",glass:c,style:d})=>{const{generateBadgeClass:u}=ot({variant:n,size:i,disabled:o}),h=r(null),m=u({variant:n,size:i,disabled:o,className:`${l} ${c?"c-badge--glass":""}`.trim()}),p=t("span",{className:m,"aria-disabled":o,ref:h,style:d,children:[s&&e("span",{className:w.ICON_CLASS,children:s}),e("span",{children:a})]});if(c){const t={displacementScale:20,cornerRadius:h.current?.getBoundingClientRect().width?h.current?.getBoundingClientRect().width/2:16,className:"c-badge--glass",elasticity:0},a=!0===c?t:{...t,...c};return e(Je,{...a,children:p})}return p};st.displayName="Badge";const lt=s((({children:t,className:a="",type:n,...i},r)=>{let o="o-container";return n&&(o=`o-container-${n}`),e("div",{ref:r,className:`${o} ${a}`.trim(),...i,children:t})}));lt.displayName="Container";const ct=()=>({generateBlockClass:({spacing:e=Ae.SPACING.DEFAULT,background:t="",fullWidth:a=!1,className:n=""})=>{const i=[Ae.BASE_CLASS];if(e&&"none"!==e&&i.push(`${Ae.SPACING_PREFIX}${e}`),t){const e=Ae.CLASSES[`BG_${t.toUpperCase()}`];e&&i.push(e)}return a&&i.push(Ae.CLASSES.FULL_WIDTH),n&&i.push(n),i.filter(Boolean).join(" ")}}),dt=s((({children:t,as:a="section",spacing:n="md",container:i={},fullWidth:r=!1,className:o="",style:s,background:l="",...c},d)=>{const{generateBlockClass:u}=ct(),h=u({spacing:n,background:l,fullWidth:r,className:o});return e(a,{ref:d,className:h,style:s,...c,children:r?t:e(lt,{type:i.type,className:i.className,children:t})})}));dt.displayName="Block";const ut=({items:n,divider:i,className:r="",ariaLabel:o="Breadcrumb",LinkComponent:s,style:l})=>{const c=[P.CLASSES.BASE,r].filter(Boolean).join(" ");return e("nav",{"aria-label":o,style:l,children:e("ol",{className:c,children:n.map(((i,r)=>{const o=r===n.length-1,l=[P.CLASSES.ITEM,i.active||o?P.CLASSES.ACTIVE:""].filter(Boolean).join(" "),c=t(a,{children:[i.icon&&e("span",{className:"c-breadcrumb__icon",children:i.icon}),i.label]}),d={href:i.href,className:P.CLASSES.LINK,onClick:i.onClick,style:i.style};return e("li",{className:l,style:i.style,children:i.href&&!i.active?e(s||"a",{...d,children:c}):e("span",{className:P.CLASSES.LINK,children:c})},r)}))})})};function ht(e){const t={variant:"primary",size:"md",disabled:!1,rounded:!1,...e};return{defaultProps:t,generateButtonClass:e=>{const{variant:a=t.variant,size:n=t.size,disabled:i=t.disabled,rounded:r=t.rounded,iconOnly:o=!1,glass:s=t.glass,className:l=""}=e;return`c-btn c-btn--${a} ${"md"===n?"":`c-btn--${n}`} ${o?"c-btn--icon":""} ${r?"c-btn--rounded":""} ${i?"c-btn--disabled":""} ${s?"c-btn--glass":""} ${l}`.trim()},handleClick:e=>()=>{!t.disabled&&e&&e()}}}ut.displayName="Breadcrumb";const mt=s((({label:n,children:i,onClick:r,variant:o="primary",size:s="md",disabled:l=!1,icon:c,iconOnly:d=!1,rounded:u=!1,className:h="",as:m="button",glass:p,style:g,...S},E)=>{const{generateButtonClass:A,handleClick:N}=ht({variant:o,size:s,disabled:l,rounded:u,glass:p}),v={},_={ref:E,className:A({variant:o,size:s,disabled:l,rounded:u,iconOnly:d,glass:p,className:h}),onClick:N(r),disabled:l,"aria-disabled":l,style:p?{...v,...g}:g,...S},f=t(a,{children:[c&&e("span",{className:"c-btn__icon",children:c}),!d&&e("span",{className:"c-btn__label",children:n||i})]});if(p){const t={displacementScale:20,blurAmount:0,saturation:200,elasticity:0},a=!0===p?t:{...t,...p};return e(Je,{...a,children:e(m,{..._,children:f})})}return e(m,{..._,children:f})}));mt.displayName="Button";const pt=({title:n,children:i,icon:r,variant:o="primary",onClose:s,actions:l,oneLine:c=!1,toast:d=!1,glass:u,className:h,style:m,...p})=>{const{generateCalloutClass:g,handleClose:S}=function(e){const t={variant:"primary",oneLine:!1,toast:!1,glass:!1,...e};return{defaultProps:t,generateCalloutClass:e=>{const{variant:a=t.variant,oneLine:n=t.oneLine,toast:i=t.toast,glass:r=t.glass,className:o=""}=e;return`c-callout ${a?`c-callout--${a}`:""} ${n?"c-callout--oneline":""} ${i?"c-callout--toast":""} ${r?"c-callout--glass":""} ${o}`.trim()},handleClose:e=>()=>{e&&e()}}}({variant:o,oneLine:c,toast:d,glass:u,className:h,style:m}),E=()=>{const e={role:"region"};return d?(e.role="alert",e["aria-live"]="polite"):["warning","error"].includes(o)?(e.role="alert",e["aria-live"]="assertive"):["info","success"].includes(o)&&(e.role="status",e["aria-live"]="polite"),e},A=t(a,{children:[t("div",{className:"c-callout__content",children:[r&&e("div",{className:"c-callout__icon",children:r}),t("div",{className:"c-callout__message",children:[n&&e("div",{className:"c-callout__title",children:n}),i&&e("div",{className:"c-callout__text",children:i})]})]}),l&&e("div",{className:"c-callout__actions",children:l}),s&&e("button",{className:"c-callout__close-btn",onClick:S(s),"aria-label":"Close",children:e(nt,{name:"X",size:"md"})})]});if(u){const t={displacementScale:30,cornerRadius:8,elasticity:0},a=!0===u?t:{...t,...u};return e("div",{className:g({variant:o,oneLine:c,toast:d,glass:u,className:h}),...E(),...p,style:m,children:e(Je,{...a,children:e("div",{className:"c-callout__glass-content",style:{borderRadius:a.cornerRadius},children:A})})})}return e("div",{className:g({variant:o,oneLine:c,toast:d,glass:u,className:h}),...E(),...p,style:m,children:A})};pt.displayName="Callout";const gt=s((({header:n,image:i,imageAlt:r="",title:o,text:s,actions:l,icon:c,footer:d,row:u=!1,flat:h=!1,active:m=!1,className:p="",children:g,onClick:S,style:E,glass:A,...N},v)=>{const _=[re.CLASSES.BASE,u?re.CLASSES.ROW:"",h?re.CLASSES.FLAT:"",m?re.CLASSES.ACTIVE:"",p].filter(Boolean).join(" "),f=t(a,{children:[(i||c||n)&&t("div",{className:re.SELECTORS.HEADER.substring(1),children:[n,i&&e("img",{src:i,alt:r,className:re.SELECTORS.IMAGE.substring(1)}),c&&e("div",{className:re.SELECTORS.ICON.substring(1),children:c})]}),t("div",{className:re.SELECTORS.BODY.substring(1),children:[o&&e("h3",{className:re.SELECTORS.TITLE.substring(1),children:o}),s&&e("p",{className:re.SELECTORS.TEXT.substring(1),children:s}),g]}),l&&e("div",{className:re.SELECTORS.ACTIONS.substring(1),children:l}),d&&e("div",{className:re.SELECTORS.FOOTER.substring(1),children:d})]});if(A){return t(Je,{...!0===A?{}:A,elasticity:0,children:[" ",e("div",{ref:v,className:_+" c-card--glass",onClick:S,...N,style:{...E},children:f})]})}return e("div",{ref:v,className:_,onClick:S,...N,style:{...E},children:f})}));gt.displayName="Card";const St=(e={})=>{const{elevationEffect:t=!1,elevationClass:a=re.CLASSES.ACTIVE,flipEffect:n=!1,flipTrigger:o="click",focusEffect:s=!1,clickable:l=!1,onClick:c}=e,u=r(null),h=r(null),m=r(null),[p,g]=i(!1),[S,E]=i(!1),[A,N]=i(!1),[v,_]=i(!1),f=d((e=>{n&&"click"===o&&g((e=>!e)),c&&c(e)}),[n,o,c]),b=d((e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),n&&"click"===o&&g((e=>!e)),c&&c(e))}),[n,o,c]),T=d((()=>{_(!0),t&&E(!0),n&&"hover"===o&&g(!0)}),[t,n,o]),C=d((()=>{_(!1),t&&E(!1),n&&"hover"===o&&g(!1)}),[t,n,o]),L=d((()=>{N(!0)}),[]),y=d((()=>{N(!1)}),[]),I=d((()=>({className:[re.CLASSES.BASE,S?a:"",p?re.CLASSES.FLIPPED:"",A&&s?re.CLASSES.FOCUSED:"",l?re.CLASSES.CLICKABLE:""].filter(Boolean).join(" "),ref:u,tabxwIndex:l||n?0:-1,role:l?"button":void 0,onMouseEnter:T,onMouseLeave:C,onFocus:L,onBlur:y,onClick:f,onKeyDown:b})),[S,p,A,a,s,l,T,C,L,y,f,b,n]);return{cardRef:u,frontRef:h,backRef:m,isFlipped:p,isElevated:S,isFocused:A,isHovered:v,handleClick:f,handleKeyDown:b,handleMouseEnter:T,handleMouseLeave:C,handleFocus:L,handleBlur:y,getCardProps:I}},Et=({elevationClass:t="is-elevated",className:a="",style:n,children:i,onClick:r,...o})=>{const{getCardProps:s}=St({elevationEffect:!0,elevationClass:t,clickable:Boolean(r),onClick:r,focusEffect:!0}),l=s();return e("div",{className:`${a} ${l.className}`,ref:l.ref,style:n,tabIndex:l.tabIndex,role:l.role,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave,onFocus:l.onFocus,onBlur:l.onBlur,onClick:l.onClick,onKeyDown:l.onKeyDown,children:e(gt,{...o,className:"",onClick:void 0,children:i})})};function At(e){const[t,a]=i({hoveredPoint:null,selectedPoints:[],zoomLevel:1,panOffset:{x:0,y:0},panEnabled:!1,isAnimating:!1,isDragging:!1,dragStart:null,crosshair:null,brushSelection:null,focusedPointIndex:0,touchState:{touches:[],lastDistance:0,isPinching:!1,isTouch:!1,lastTouchTime:0},penState:{isPen:!1,pressure:0,tiltX:0,tiltY:0}}),n=r(null);o((()=>()=>{n.current&&cancelAnimationFrame(n.current)}),[]);const s=d(((e,t,n,i,r,o)=>{a((a=>({...a,hoveredPoint:{datasetIndex:e,pointIndex:t,x:n,y:i,clientX:r,clientY:o}})))}),[]),l=d((()=>{a((e=>({...e,hoveredPoint:null})))}),[]),c=d(((e,t)=>{a((a=>{const n=a.selectedPoints.some((a=>a.datasetIndex===e&&a.pointIndex===t));return{...a,selectedPoints:n?a.selectedPoints.filter((a=>!(a.datasetIndex===e&&a.pointIndex===t))):[...a.selectedPoints,{datasetIndex:e,pointIndex:t}]}}))}),[]),u=d(((e,t,n)=>{a((a=>{const i=1-.001*e,r=Math.max(.1,Math.min(10,a.zoomLevel*i)),o=r/a.zoomLevel,s={x:t?t-(t-a.panOffset.x)*o:a.panOffset.x,y:n?n-(n-a.panOffset.y)*o:a.panOffset.y};return{...a,zoomLevel:r,panOffset:s}}))}),[]),h=d(((e,t)=>{a((a=>({...a,panOffset:{x:a.panOffset.x+e,y:a.panOffset.y+t}})))}),[]),m=d(((e,t)=>{a((a=>({...a,isDragging:!0,dragStart:{x:e,y:t}})))}),[]),p=d((()=>{a((e=>({...e,isDragging:!1,dragStart:null})))}),[]),g=d(((e,t)=>{a((a=>({...a,crosshair:{x:e,y:t}})))}),[]),S=d((()=>{a((e=>({...e,crosshair:null})))}),[]),E=d((e=>{const t=Array.from(e.touches).map((e=>({id:e.identifier,x:e.clientX,y:e.clientY})));a((a=>{const n={...a,touchState:{...a.touchState,touches:t,isTouch:!0,lastTouchTime:Date.now()}};if(1===t.length&&t[0]&&a.panEnabled){const a=e.target.getBoundingClientRect(),i=t[0].x-a.left,r=t[0].y-a.top;return{...n,isDragging:!0,dragStart:{x:i,y:r}}}if(2===t.length&&t[0]&&t[1]){const e=Math.sqrt(Math.pow(t[1].x-t[0].x,2)+Math.pow(t[1].y-t[0].y,2));return{...n,touchState:{...n.touchState,lastDistance:e,isPinching:!0},isDragging:!1}}return n}))}),[]),A=d((e=>{e.preventDefault();const t=Array.from(e.touches).map((e=>({id:e.identifier,x:e.clientX,y:e.clientY})));a((a=>{const n=e.target.getBoundingClientRect();if(1===t.length&&t[0]&&a.isDragging&&a.dragStart&&a.panEnabled){const e=t[0].x-n.left,i=t[0].y-n.top,r=a.touchState.touches[0];let o,s;if(r){o=e-(r.x-n.left),s=i-(r.y-n.top)}else o=e-a.dragStart.x,s=i-a.dragStart.y;const l=.6,c=o*l,d=s*l;return Math.abs(c)>1||Math.abs(d)>1?{...a,panOffset:{x:a.panOffset.x+c,y:a.panOffset.y+d},touchState:{...a.touchState,touches:t}}:{...a,touchState:{...a.touchState,touches:t}}}if(2===t.length&&t[0]&&t[1]&&a.touchState.isPinching){const e=Math.sqrt(Math.pow(t[1].x-t[0].x,2)+Math.pow(t[1].y-t[0].y,2));if(a.touchState.lastDistance>0){const i=e/a.touchState.lastDistance,r=Math.max(.1,Math.min(10,a.zoomLevel*i)),o=(t[0].x+t[1].x)/2-n.left,s=(t[0].y+t[1].y)/2-n.top,l=r/a.zoomLevel,c={x:o-(o-a.panOffset.x)*l,y:s-(s-a.panOffset.y)*l};return{...a,zoomLevel:r,panOffset:c,touchState:{...a.touchState,touches:t,lastDistance:e}}}return{...a,touchState:{...a.touchState,touches:t,lastDistance:e}}}return{...a,touchState:{...a.touchState,touches:t}}}))}),[]),N=d((e=>{const t=Array.from(e.touches).map((e=>({id:e.identifier,x:e.clientX,y:e.clientY})));a((a=>{if(0===t.length)return{...a,isDragging:!1,dragStart:null,touchState:{...a.touchState,touches:[],isPinching:!1,lastDistance:0,isTouch:!1}};if(1===t.length&&a.panEnabled){const n=e.target.getBoundingClientRect(),i=t[0].x-n.left,r=t[0].y-n.top;return{...a,dragStart:{x:i,y:r},touchState:{...a.touchState,touches:t,isPinching:!1,lastDistance:0}}}if(2===t.length){const e=Math.sqrt(Math.pow(t[1].x-t[0].x,2)+Math.pow(t[1].y-t[0].y,2));return{...a,touchState:{...a.touchState,touches:t,lastDistance:e,isPinching:!0},isDragging:!1}}return{...a,touchState:{...a.touchState,touches:t}}}))}),[]),v=d((e=>{"pen"===e.pointerType&&a((t=>({...t,penState:{...t.penState,isPen:!0,pressure:e.pressure,tiltX:e.tiltX,tiltY:e.tiltY}})))}),[]),_=d((e=>{"pen"===e.pointerType&&a((t=>({...t,penState:{...t.penState,pressure:e.pressure,tiltX:e.tiltX,tiltY:e.tiltY}})))}),[]),f=d((e=>{"pen"===e.pointerType&&a((e=>({...e,penState:{...e.penState,isPen:!1,pressure:0,tiltX:0,tiltY:0}})))}),[]),b=d(((e,t=Ee.DEFAULT_WIDTH,a=Ee.DEFAULT_HEIGHT,n={top:20,right:20,bottom:30,left:40},i)=>{if(!e||0===e.length)return null;const r=e.flatMap((e=>e.data));if(0===r.length)return null;const o=Math.min(...r.map((e=>e.value))),s=Math.max(...r.map((e=>e.value))),l=s-o||1,c=t-n.left-n.right,d=a-n.top-n.bottom;return{xScale:(e,t=r.length)=>t<=1?n.left+c/2:n.left+e/(t-1)*c,yScale:e=>n.top+d-(e-o)/l*d,minValue:o,maxValue:s,valueRange:l,innerWidth:c,innerHeight:d,width:t,height:a,padding:n}}),[]),T=d((e=>{if(e<=0)return[];const t=[];for(let a=0;a<e;a++){const e=a%Ee.DEFAULT_COLORS.length;t.push(Ee.DEFAULT_COLORS[e])}return t}),[]),C=r(null);return{interactionState:t,setInteractionState:a,handlePointHover:s,handlePointLeave:l,handlePointClick:c,handleZoom:u,handlePan:h,handleDragStart:m,handleDragEnd:p,handleCrosshair:g,clearCrosshair:S,handleTouchStart:E,handleTouchMove:A,handleTouchEnd:N,handlePointerDown:v,handlePointerMove:_,handlePointerUp:f,calculateScales:b,getChartColors:T,svgRef:C}}Et.displayName="ElevationCard";const Nt=p(s((({chartType:a="line",groups:n=[],enableDefaults:s=!0,defaults:l={refresh:!0,export:!0,fullscreen:!0,settings:!0,zoom:!0,pan:!0,reset:!0},exportFormats:c=["png","svg","csv"],size:u="md",position:h="top",onRefresh:m,onExport:p,onFullscreen:g,onSettings:S,onZoomIn:E,onZoomOut:A,onZoomReset:N,onPanToggle:v,onReset:_,onGridToggle:f,onLegendToggle:b,onTooltipsToggle:T,onAnimationsToggle:C,state:L={},className:y="",...I},x)=>{const[R,O]=i(!1),[M,w]=i(!1),D=r(null),B=r(null),P=r(null),k=r(null),U=n&&n.length>0?{refresh:l.refresh??!0,export:l.export??!0,fullscreen:l.fullscreen??!0,settings:l.settings??!0,zoom:n.some((e=>e.actions.some((e=>"zoom-in"===e.id||"zoom-out"===e.id)))),pan:n.some((e=>e.actions.some((e=>"pan"===e.id)))),reset:n.some((e=>e.actions.some((e=>"reset"===e.id)))),grid:l.grid??!0,legend:l.legend??!0,tooltips:l.tooltips??!0,animations:l.animations??!0}:l;o((()=>{const e=e=>{D.current&&!D.current.contains(e.target)&&P.current&&!P.current.contains(e.target)&&O(!1),B.current&&!B.current.contains(e.target)&&k.current&&!k.current.contains(e.target)&&w(!1)};if(R||M)return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[R,M]),o((()=>{const e=e=>{e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLElement&&e.target.isContentEditable||((e.ctrlKey||e.metaKey)&&"r"===e.key&&U.refresh&&m&&(e.preventDefault(),m()),(e.ctrlKey||e.metaKey)&&"e"===e.key&&U.export&&p&&(e.preventDefault(),O(!R)),"F11"===e.key&&U.fullscreen&&g&&(e.preventDefault(),g(!L.isFullscreen))," "===e.key&&U.pan&&v&&(e.preventDefault(),v(!L.panEnabled)),"r"!==e.key&&"R"!==e.key||e.ctrlKey||e.metaKey||!U.reset||(e.preventDefault(),N?.(),_?.()),"+"!==e.key&&"="!==e.key||U.zoom&&E&&(e.preventDefault(),E()),"-"!==e.key&&"_"!==e.key||U.zoom&&A&&(e.preventDefault(),A()),"Escape"===e.key&&(O(!1),w(!1)))};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[U,m,p,g,v,N,_,E,A,L,R]);const G=d((()=>{const e=[];return U.refresh&&m&&e.push({id:"refresh",label:"Refresh",icon:"ArrowClockwise",onClick:m,disabled:L.isRefreshing,tooltip:"Refresh chart data (Ctrl+R)",shortcut:"Ctrl+R"}),U.export&&p&&e.push({id:"export",label:"Export",icon:"Download",onClick:()=>O(!R),disabled:L.isExporting,variant:"primary",tooltip:"Export chart (Ctrl+E)",shortcut:"Ctrl+E"}),[{id:"data-actions",label:"Data",actions:e,separator:!0}]}),[U,m,p,L,R]),z=d((()=>{const e=[];return U.zoom&&(E||A)&&e.push({id:"zoom-in",label:"Zoom In",icon:"MagnifyingGlassPlus",onClick:()=>E?.(),tooltip:"Zoom in (+)",shortcut:"+"},{id:"zoom-out",label:"Zoom Out",icon:"MagnifyingGlassMinus",onClick:()=>A?.(),tooltip:"Zoom out (-)",shortcut:"-"}),U.pan&&v&&e.push({id:"pan",label:"Pan",icon:"ArrowsOutCardinal",onClick:()=>v?.(!L.panEnabled),active:L.panEnabled,tooltip:"Toggle pan mode (Space)",shortcut:"Space"}),U.reset&&(N||_)&&e.push({id:"reset",label:"Reset View",icon:"ArrowCounterClockwise",onClick:()=>{N?.(),_?.()},tooltip:"Reset view (R)",shortcut:"R"}),U.fullscreen&&g&&e.push({id:"fullscreen",label:L.isFullscreen?"Exit Fullscreen":"Fullscreen",icon:L.isFullscreen?"ArrowsIn":"ArrowsOut",onClick:()=>g?.(!L.isFullscreen),variant:"success",tooltip:(L.isFullscreen?"Exit":"Enter")+" fullscreen (F11)",shortcut:"F11"}),e.length>0?[{id:"view-actions",label:"View",actions:e,separator:!0}]:[]}),[U,E,A,v,N,_,g,L]),F=d((()=>{const e=[];return U.grid&&f&&e.push({id:"grid",label:"Grid",icon:"GridFour",onClick:()=>f(!L.showGrid),active:L.showGrid,tooltip:"Toggle grid lines"}),U.legend&&b&&e.push({id:"legend",label:"Legend",icon:"List",onClick:()=>b(!L.showLegend),active:L.showLegend,tooltip:"Toggle legend"}),U.tooltips&&T&&e.push({id:"tooltips",label:"Tooltips",icon:"CursorText",onClick:()=>T(!L.showTooltips),active:L.showTooltips,tooltip:"Toggle tooltips"}),U.animations&&C&&e.push({id:"animations",label:"Animations",icon:"Sparkle",onClick:()=>C(!L.animationsEnabled),active:L.animationsEnabled,tooltip:"Toggle animations"}),e.length>0?[{id:"display-actions",label:"Display",actions:e,separator:!0}]:[]}),[U,f,b,T,C,L]),V=d((()=>{const e=[];return U.settings&&S&&e.push({id:"settings",label:"Settings",icon:"Gear",onClick:()=>w(!M),active:M,tooltip:"Chart settings"}),e.length>0?[{id:"tool-actions",label:"Tools",actions:e}]:[]}),[U,S,M]),H=n&&n.length>0?n:s?[...G(),...z(),...F(),...V()]:[],Y=a=>{const n="export"===a.id?P:"settings"===a.id?k:null;return t("button",{ref:n,className:`${Ee.ACTION_CLASS} ${a.variant?`${Ee.ACTION_CLASS}--${a.variant}`:""} ${a.active?"is-active":""}`,onClick:()=>{if(a.onClick)a.onClick();else if("export"===a.id&&p)O(!R);else if("settings"===a.id&&S)w(!M);else switch(a.id){case"zoom-in":E?.();break;case"zoom-out":A?.();break;case"pan":v?.(!L.panEnabled);break;case"reset":N?.(),_?.();break;case"fullscreen":g?.(!L.isFullscreen);break;case"refresh":m?.()}},disabled:a.disabled,title:a.tooltip,type:"button","aria-label":a.label,"aria-pressed":a.active?"true":"false","aria-expanded":"export"===a.id?R:"settings"===a.id?M:void 0,children:[e(nt,{name:a.icon,size:"sm"}),"lg"===u&&e("span",{className:`${Ee.ACTION_CLASS}-label`,children:a.label})]},a.id)},K=`${Ee.TOOLBAR_CLASS} ${Ee.TOOLBAR_CLASS}--${u} ${Ee.TOOLBAR_CLASS}--${h} ${y}`.trim();return e("div",{ref:x,className:K,...I,children:H.map(((n,i)=>t("div",{className:`${Ee.TOOLBAR_CLASS}-group`,children:[n.separator&&i>0&&e("div",{className:`${Ee.TOOLBAR_CLASS}-separator`}),n.label&&"lg"===u&&e("span",{className:`${Ee.TOOLBAR_CLASS}-group-label`,children:n.label}),t("div",{className:`${Ee.TOOLBAR_CLASS}-actions`,children:[n.actions.map(Y),n.actions.some((e=>"export"===e.id))&&(R&&p?t("div",{ref:D,className:`${Ee.EXPORT_DROPDOWN_CLASS}`,role:"menu","aria-label":"Export formats",children:[e("div",{className:`${Ee.EXPORT_DROPDOWN_CLASS}-title`,children:"Export Formats"}),c.map((t=>e("button",{className:`${Ee.EXPORT_OPTION_CLASS}`,onClick:()=>{p(t),O(!1)},disabled:L.isExporting,type:"button",role:"menuitem","aria-label":`Export as ${t.toUpperCase()}`,children:t.toUpperCase()},t)))]}):null),n.actions.some((e=>"settings"===e.id))&&(M?t("div",{ref:B,className:`${Ee.SETTINGS_MENU_CLASS}`,role:"menu","aria-label":"Chart settings",children:[e("div",{className:`${Ee.SETTINGS_MENU_CLASS}-title`,children:"Chart Settings"}),t("div",{className:`${Ee.SETTINGS_MENU_CLASS}-content`,children:[U.grid&&f&&e("div",{className:`${Ee.SETTINGS_MENU_CLASS}-item`,children:t("label",{className:`${Ee.SETTINGS_MENU_CLASS}-toggle`,children:[e("input",{type:"checkbox",checked:L.showGrid??!1,onChange:e=>f(e.target.checked),"aria-label":"Toggle grid lines"}),e("span",{className:`${Ee.SETTINGS_MENU_CLASS}-label`,children:"Show Grid"})]})}),U.legend&&b&&e("div",{className:`${Ee.SETTINGS_MENU_CLASS}-item`,children:t("label",{className:`${Ee.SETTINGS_MENU_CLASS}-toggle`,children:[e("input",{type:"checkbox",checked:L.showLegend??!1,onChange:e=>b(e.target.checked),"aria-label":"Toggle legend"}),e("span",{className:`${Ee.SETTINGS_MENU_CLASS}-label`,children:"Show Legend"})]})}),U.tooltips&&T&&e("div",{className:`${Ee.SETTINGS_MENU_CLASS}-item`,children:t("label",{className:`${Ee.SETTINGS_MENU_CLASS}-toggle`,children:[e("input",{type:"checkbox",checked:L.showTooltips??!1,onChange:e=>T(e.target.checked),"aria-label":"Toggle tooltips"}),e("span",{className:`${Ee.SETTINGS_MENU_CLASS}-label`,children:"Show Tooltips"})]})}),U.animations&&C&&e("div",{className:`${Ee.SETTINGS_MENU_CLASS}-item`,children:t("label",{className:`${Ee.SETTINGS_MENU_CLASS}-toggle`,children:[e("input",{type:"checkbox",checked:L.animationsEnabled??!1,onChange:e=>C(e.target.checked),"aria-label":"Toggle animations"}),e("span",{className:`${Ee.SETTINGS_MENU_CLASS}-label`,children:"Enable Animations"})]})}),void 0!==L.zoomLevel&&t("div",{className:`${Ee.SETTINGS_MENU_CLASS}-item ${Ee.SETTINGS_MENU_CLASS}-item--info`,children:[e("span",{className:`${Ee.SETTINGS_MENU_CLASS}-label`,children:"Zoom Level"}),t("span",{className:`${Ee.SETTINGS_MENU_CLASS}-value`,children:[Math.round(100*(L.zoomLevel||1)),"%"]})]}),t("div",{className:`${Ee.SETTINGS_MENU_CLASS}-item ${Ee.SETTINGS_MENU_CLASS}-item--info`,children:[e("span",{className:`${Ee.SETTINGS_MENU_CLASS}-label`,children:"Chart Type"}),e("span",{className:`${Ee.SETTINGS_MENU_CLASS}-value`,children:a})]})]})]}):null)]})]},n.id)))})})));Nt.displayName="ChartToolbar";const vt=g(null),_t=p(s((({children:a,type:n="line",size:s="md",variant:l="primary",title:u,subtitle:h,loading:m=!1,error:p,className:g="","aria-label":S,onFullscreen:E,onExport:A,onRefresh:N,showToolbar:v=!1,enableFullscreen:_=!1,enableExport:f=!1,enableRefresh:b=!1,exportFormats:T=["png","svg","csv"],datasets:C,config:L,toolbarConfig:y,customToolbarActions:I,customToolbarGroups:x,data:R,showLegend:O,interactive:M,fullscreen:w,onDataPointClick:D,onLegendItemClick:B,glass:P,...k},U)=>{const[G,z]=i(!1),[F,V]=i(!1),H=r(null),[Y,K]=i(1),[$,W]=i({x:0,y:0}),[Q,Z]=i(!1),q=d((e=>{z(e),E?.(e)}),[E]),X=d((()=>{K((e=>Math.min(1.2*e,5)))}),[]),j=d((()=>{K((e=>Math.max(e/1.2,.2)))}),[]),J=d((()=>{K(1),W({x:0,y:0})}),[]),ee=d((e=>{Z(e)}),[]),te=d((()=>{K(1),W({x:0,y:0}),Z(!1)}),[]),ae=c((()=>({onRefresh:N,onExport:A,onFullscreen:q,onZoomIn:X,onZoomOut:j,onZoomReset:J,onPanToggle:ee,onReset:te})),[N,A,q,X,j,J,ee,te]),{state:ne,handlers:ie,toolbarGroups:re}=function(e,t={},a={}){const[n,r]=i({isFullscreen:!1,isExporting:!1,isRefreshing:!1,zoomLevel:1,panEnabled:!1,showGrid:!0,showLegend:!0,showTooltips:!0,animationsEnabled:!0}),{enableDefaults:s=!0,defaults:l={},exportFormats:u=["png","svg","csv"],customActions:h=[],customGroups:m=[]}=t,p=d((()=>{const t={refresh:!0,export:!0,fullscreen:!0,settings:!0,grid:!0,legend:!0,tooltips:!0,animations:!0,zoom:!1,pan:!1,reset:!1};switch(e){case"interactive":case"advanced":case"line":case"area":case"bar":case"horizontal-bar":case"scatter":case"bubble":case"funnel":case"waterfall":case"candlestick":return{...t,zoom:!0,pan:!0,reset:!0};case"realtime":return{...t,refresh:!0,export:!1,animations:!1};case"pie":case"donut":case"gauge":return{...t,zoom:!1,pan:!1,grid:!1};default:return t}}),[e]),g=c((()=>({...p(),...l})),[p,l]),S={onRefresh:d((()=>{r((e=>({...e,isRefreshing:!0}))),a.onRefresh?.(),setTimeout((()=>{r((e=>({...e,isRefreshing:!1})))}),1e3)}),[a.onRefresh]),onExport:d((async e=>{r((e=>({...e,isExporting:!0})));try{await(a.onExport?.(e))}finally{r((e=>({...e,isExporting:!1})))}}),[a.onExport]),onFullscreen:d((e=>{r((t=>({...t,isFullscreen:e}))),a.onFullscreen?.(e)}),[a.onFullscreen]),onZoomIn:d((()=>{r((e=>({...e,zoomLevel:Math.min(1.2*e.zoomLevel,5)}))),a.onZoomIn?.()}),[a.onZoomIn]),onZoomOut:d((()=>{r((e=>({...e,zoomLevel:Math.max(e.zoomLevel/1.2,.2)}))),a.onZoomOut?.()}),[a.onZoomOut]),onZoomReset:d((()=>{r((e=>({...e,zoomLevel:1}))),a.onZoomReset?.()}),[a.onZoomReset]),onPanToggle:d((e=>{r((t=>({...t,panEnabled:e}))),a.onPanToggle?.(e)}),[a.onPanToggle]),onReset:d((()=>{r((e=>({...e,zoomLevel:1,panEnabled:!1}))),a.onReset?.()}),[a.onReset]),onGridToggle:d((e=>{r((t=>({...t,showGrid:e}))),a.onGridToggle?.(e)}),[a.onGridToggle]),onLegendToggle:d((e=>{r((t=>({...t,showLegend:e}))),a.onLegendToggle?.(e)}),[a.onLegendToggle]),onTooltipsToggle:d((e=>{r((t=>({...t,showTooltips:e}))),a.onTooltipsToggle?.(e)}),[a.onTooltipsToggle]),onAnimationsToggle:d((e=>{r((t=>({...t,animationsEnabled:e}))),a.onAnimationsToggle?.(e)}),[a.onAnimationsToggle]),onSettings:d((()=>{}),[])},E=d((()=>{const e=[],t=[];g.refresh&&t.push({id:"refresh",label:"Refresh",icon:"ArrowClockwise",onClick:S.onRefresh,disabled:n.isRefreshing,tooltip:"Refresh chart data"}),g.export&&t.push({id:"export",label:"Export",icon:"Download",onClick:()=>S.onExport("png"),disabled:n.isExporting,variant:"primary",tooltip:"Export chart"}),t.length>0&&e.push({id:"data-actions",label:"Data",actions:t,separator:!0});const a=[];g.zoom&&a.push({id:"zoom-in",label:"Zoom In",icon:"MagnifyingGlassPlus",onClick:S.onZoomIn,tooltip:"Zoom in"},{id:"zoom-out",label:"Zoom Out",icon:"MagnifyingGlassMinus",onClick:S.onZoomOut,tooltip:"Zoom out"}),g.pan&&a.push({id:"pan",label:"Pan",icon:"ArrowsOutCardinal",onClick:()=>S.onPanToggle(!n.panEnabled),active:n.panEnabled,tooltip:"Toggle pan mode"}),g.reset&&a.push({id:"reset",label:"Reset",icon:"ArrowCounterClockwise",onClick:S.onReset,tooltip:"Reset view"}),g.fullscreen&&a.push({id:"fullscreen",label:n.isFullscreen?"Exit Fullscreen":"Fullscreen",icon:n.isFullscreen?"ArrowsIn":"ArrowsOut",onClick:()=>S.onFullscreen(!n.isFullscreen),variant:"success",tooltip:(n.isFullscreen?"Exit":"Enter")+" fullscreen"}),a.length>0&&e.push({id:"view-actions",label:"View",actions:a,separator:!0});const i=[];if(g.grid&&i.push({id:"grid",label:"Grid",icon:"GridFour",onClick:()=>S.onGridToggle(!n.showGrid),active:n.showGrid,tooltip:"Toggle grid"}),g.legend&&i.push({id:"legend",label:"Legend",icon:"List",onClick:()=>S.onLegendToggle(!n.showLegend),active:n.showLegend,tooltip:"Toggle legend"}),g.tooltips&&i.push({id:"tooltips",label:"Tooltips",icon:"ChatCircle",onClick:()=>S.onTooltipsToggle(!n.showTooltips),active:n.showTooltips,tooltip:"Toggle tooltips"}),g.animations&&i.push({id:"animations",label:"Animations",icon:"Play",onClick:()=>S.onAnimationsToggle(!n.animationsEnabled),active:n.animationsEnabled,tooltip:"Toggle animations"}),i.length>0&&e.push({id:"display-actions",label:"Display",actions:i,separator:!0}),g.settings&&e.push({id:"settings-actions",label:"Settings",actions:[{id:"settings",label:"Settings",icon:"Gear",onClick:S.onSettings,tooltip:"Chart settings"}]}),e.push(...m),h.length>0)if(e.length>0){if(e.length>0){const t=e[e.length-1];t&&t.actions.push(...h)}}else e.push({id:"custom-actions",label:"Custom",actions:h});return e}),[e,g,n,S,h,m]);return o((()=>{const e=e=>{if(e.ctrlKey||e.metaKey)switch(e.key.toLowerCase()){case"r":g.refresh&&(e.preventDefault(),S.onRefresh());break;case"e":g.export&&(e.preventDefault(),S.onExport("png"));break;case"f":g.fullscreen&&(e.preventDefault(),S.onFullscreen(!n.isFullscreen))}else switch(e.key){case"+":case"=":g.zoom&&(e.preventDefault(),S.onZoomIn());break;case"-":g.zoom&&(e.preventDefault(),S.onZoomOut());break;case"r":g.reset&&(e.preventDefault(),S.onReset());break;case" ":g.pan&&(e.preventDefault(),S.onPanToggle(!n.panEnabled));break;case"F11":g.fullscreen&&(e.preventDefault(),S.onFullscreen(!n.isFullscreen))}};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)}),[g,n,S]),{state:n,setState:r,handlers:S,toolbarGroups:E(),config:{enableDefaults:s,defaults:g,exportFormats:u}}}(n,{enableDefaults:v,defaults:{refresh:b,export:f,fullscreen:_,grid:!0,legend:!0,tooltips:!0,animations:!0,settings:!0},exportFormats:T},ae);At(),o((()=>{K(ne.zoomLevel)}),[ne.zoomLevel]),o((()=>{Z(ne.panEnabled)}),[ne.panEnabled]),o((()=>{ne.zoomLevel}),[Y,ne.zoomLevel]);const oe=ft({type:n,size:s,variant:l,loading:m,error:p,className:g,interactive:M,panEnabled:Q});d((()=>{ie.onFullscreen(!ne.isFullscreen)}),[ie,ne.isFullscreen]),d((async e=>{await ie.onExport(e)}),[ie]),d((()=>{ie.onRefresh()}),[ie]),o((()=>{z(ne.isFullscreen),V(ne.isExporting)}),[ne.isFullscreen,ne.isExporting]);const se=`${oe}${G?` ${Ee.CLASSES.FULLSCREEN}`:""}${P?" c-chart--glass":""}`,le=c((()=>({displacementScale:25,blurAmount:0,saturation:180,aberrationIntensity:1.5,elasticity:0,enableLiquidBlur:!1,enableBorderEffect:!0,mode:"standard",mouseContainer:H,reducedMotion:!1})),[]),ce=c((()=>P?!0===P?le:{...le,...P}:null),[P,le]),de=c((()=>ce?.cornerRadius||void 0),[ce?.cornerRadius]),ue=c((()=>({zoomLevel:Y,panOffset:$,panEnabled:Q,onZoomIn:X,onZoomOut:j,onZoomReset:J,onPanToggle:ee,onReset:te,setZoomLevel:K,setPanOffset:W,setPanEnabled:Z,toolbarState:{showTooltips:ne.showTooltips,showLegend:ne.showLegend,animationsEnabled:ne.animationsEnabled,showGrid:ne.showGrid}})),[Y,$,Q,X,j,J,ee,te,Z,ne.showTooltips,ne.showLegend,ne.animationsEnabled,ne.showGrid]),he=t("div",{ref:H,className:se,"aria-label":S||`${n} chart`,role:"img",tabIndex:0,...k,children:[(u||h||v)&&t("div",{className:`${Ee.HEADER_CLASS} u-d-flex u-justify-between u-align-items-start u-gap-4`,children:[t("div",{className:`${Ee.HEADER_CONTENT_CLASS} u-flex-1`,children:[u&&e("h3",{className:`${Ee.TITLE_CLASS} u-mb-1`,children:u}),h&&e("p",{className:`${Ee.SUBTITLE_CLASS} u-mb-0`,children:h})]}),(()=>{if(!v)return null;const t=!re||0===re.length;return e(Nt,{chartType:n,groups:re,defaults:{refresh:b,export:f,fullscreen:_,zoom:void 0!==ne.zoomLevel,pan:void 0!==ne.panEnabled,reset:!0,grid:!0,legend:!0,tooltips:!0,animations:!0,settings:!0},exportFormats:T,state:{isFullscreen:ne.isFullscreen,isExporting:ne.isExporting,isRefreshing:ne.isRefreshing,zoomLevel:Y,panEnabled:Q,showGrid:ne.showGrid,showLegend:ne.showLegend,showTooltips:ne.showTooltips,animationsEnabled:ne.animationsEnabled},...t?{onRefresh:ie.onRefresh,onExport:ie.onExport,onFullscreen:ie.onFullscreen,onZoomIn:X,onZoomOut:j,onZoomReset:J,onPanToggle:ee,onReset:te,onSettings:ie.onSettings,onGridToggle:ie.onGridToggle,onLegendToggle:ie.onLegendToggle,onTooltipsToggle:ie.onTooltipsToggle,onAnimationsToggle:ie.onAnimationsToggle}:{}})})()]}),t("div",{className:Ee.CONTENT_CLASS,children:[m&&t("div",{className:Ee.LOADING_CLASS,children:[e("div",{className:Ee.LOADING_SPINNER_CLASS}),e("span",{className:Ee.LOADING_TEXT_CLASS,children:ne.isExporting?"Exporting chart...":ne.isRefreshing?"Refreshing chart...":"Loading chart..."})]}),p&&t("div",{className:Ee.ERROR_CLASS,children:[e("div",{className:Ee.ERROR_ICON_CLASS,children:"⚠"}),t("div",{className:Ee.ERROR_CONTENT_CLASS,children:[e("div",{className:Ee.ERROR_MESSAGE_CLASS,children:"Chart Error"}),e("div",{className:Ee.ERROR_DETAILS_CLASS,children:p})]})]}),!m&&!p&&!a&&t("div",{className:Ee.EMPTY_CLASS,children:[e("div",{className:Ee.EMPTY_ICON_CLASS,children:"📊"}),e("div",{className:Ee.EMPTY_MESSAGE_CLASS,children:"No data available"}),e("div",{className:Ee.EMPTY_DETAILS_CLASS,children:"Add data to your chart to see visualizations"})]}),!m&&!p&&a&&e("div",{className:Ee.CANVAS_CLASS,children:a})]})]}),me=ce?e(Je,{...ce,cornerRadius:de,style:{width:"100%",height:"100%",...ce.style},children:he}):he;return e(vt.Provider,{value:ue,children:e("div",{ref:U,style:{width:"100%",height:"100%"},children:me})})}))),ft=({type:e,size:t,variant:a,loading:n,error:i,className:r,interactive:o,panEnabled:s})=>{const l=[Ee.ROOT_CLASS];if(e){const t=e.toUpperCase(),a=Ee.CLASSES[t]||`${Ee.TYPE_PREFIX}${e}`;l.push(a)}if(t){const e=t.toUpperCase(),a=Ee.CLASSES[e]||`${Ee.SIZE_PREFIX}${t}`;l.push(a)}if(a){const e=a.toUpperCase(),t=Ee.CLASSES[e]||`${Ee.VARIANT_PREFIX}${a}`;l.push(t)}return(o||s)&&l.push(Ee.CLASSES.INTERACTIVE),n&&l.push(Ee.LOADING_STATE_CLASS),i&&l.push(Ee.ERROR_STATE_CLASS),r&&l.push(r),l.join(" ")};_t.displayName="Chart";const bt=p(s((({datasets:n=[],config:s,width:l=Ee.DEFAULT_WIDTH,height:u=Ee.DEFAULT_HEIGHT,onDataPointClick:h,interactive:m=!0,enableRealTime:p=!1,enableAccessibility:g=!0,enablePerformanceOptimization:E=!0,renderContent:A},N)=>{const v=S(vt),{calculateScales:_,getChartColors:f}=At(),{processedData:b,isProcessing:T}=function(e,t){const[a,n]=i(e),[r,s]=i(!1),{enableDecimation:l=!1,maxDataPoints:c=1e3,enableRealTime:u=!1,realTimeInterval:h=1e3}=t||{},m=d(((e,t)=>{if(!l||!e.length)return e;const a=e[0]?.data?.length||0;if(a<=t)return e;const n=Math.ceil(a/t);return e.map((e=>({...e,data:e.data?.filter(((e,t)=>t%n==0))||[]})))}),[l]),p=d(((e,t)=>{const a=[];for(let n=0;n<e.length;n++)if(n<t-1)a.push(null);else{const i=e.slice(n-t+1,n+1).reduce(((e,t)=>e+t),0);a.push(i/t)}return a}),[]),g=d((e=>{const t=e.length;if(t<2)return e.map((()=>null));const a=e.reduce(((e,t,a)=>e+a),0),n=e.reduce(((e,t)=>e+t),0),i=(t*e.reduce(((e,t,a)=>e+a*t),0)-a*n)/(t*e.reduce(((e,t,a)=>e+a*a),0)-a*a),r=(n-i*a)/t;return e.map(((e,t)=>i*t+r))}),[]);return o((()=>{s(!0),(async()=>{let t=[...e];l&&c&&(t=m(t,c)),n(t),s(!1)})()}),[e,m,l,c]),o((()=>{if(!u)return;const e=setInterval((()=>{n((e=>[...e]))}),h);return()=>clearInterval(e)}),[u,h]),{processedData:a,isProcessing:r,decimateData:m,calculateMovingAverage:p,calculateTrendLine:g,setProcessedData:n}}(n,{enableRealTime:p,enableDecimation:E,maxDataPoints:1e3}),{isOptimizing:C,memoizedScales:L}=function(e,t){const{enableVirtualization:a=!1,enableMemoization:n=!0,debounceMs:s=100}=t||{},[l,u]=i(!1),h=r(null),m=c((()=>n?e.map((e=>{const t=e.data?.map((e=>e.value)).filter((e=>"number"==typeof e))||[],a=t.length>0?t:[0];return{label:e.label,dataLength:e.data?.length||0,minValue:Math.min(...a),maxValue:Math.max(...a)}})):null),[e,n]),p=d((e=>{h.current&&clearTimeout(h.current),h.current=setTimeout((()=>{e(),u(!1)}),s),u(!0)}),[s]),g=d(((t,n,i)=>{if(!a)return{start:0,end:e[0]?.data?.length||0};const r=Math.floor(t/n),o=Math.ceil(i/n),s=Math.min(r+o+1,e[0]?.data?.length||0);return{start:Math.max(0,r-1),end:s}}),[a,e]);return o((()=>()=>{h.current&&clearTimeout(h.current)}),[]),{isOptimizing:l,memoizedScales:m,debouncedUpdate:p,getVisibleRange:g}}(b,{enableVirtualization:!1,enableMemoization:E,debounceMs:100}),{announcement:y,focusedPoint:I}=function(e,t){const{enableKeyboardNavigation:a=!0,enableScreenReader:n=!0,announceDataChanges:r=!0}=t||{},[s,l]=i({datasetIndex:0,pointIndex:0}),[c,u]=i(""),h=d(((t,n)=>{if(!a||!e.length)return;const i=e.length-1,r=(e[s.datasetIndex]?.data?.length||1)-1;switch(t.key){case"ArrowLeft":t.preventDefault(),l((e=>({...e,pointIndex:Math.max(0,e.pointIndex-1)})));break;case"ArrowRight":t.preventDefault(),l((e=>({...e,pointIndex:Math.min(r,e.pointIndex+1)})));break;case"ArrowUp":t.preventDefault(),l((e=>({...e,datasetIndex:Math.max(0,e.datasetIndex-1)})));break;case"ArrowDown":t.preventDefault(),l((e=>({...e,datasetIndex:Math.min(i,e.datasetIndex+1)})));break;case"Home":t.preventDefault(),l((e=>({...e,pointIndex:0})));break;case"End":t.preventDefault(),l((e=>({...e,pointIndex:r})));break;case"Enter":case" ":t.preventDefault(),n?.(s.datasetIndex,s.pointIndex)}}),[a,e,s]),m=d((e=>{n&&(u(e),setTimeout((()=>u("")),1e3))}),[n]);o((()=>{if(!r||!e.length)return;const t=e.reduce(((e,t)=>e+(t.data?.length||0)),0);m(`Chart updated with ${e.length} datasets and ${t} data points`)}),[e,r,m]);const p=d((()=>{if(!e.length)return"Empty chart";const t=e.map(((e,t)=>{const a=e.data?.length||0,n=e.data?.map((e=>e.value)).filter((e=>"number"==typeof e))||[],i=n.length>0?Math.min(...n):0,r=n.length>0?Math.max(...n):0;return`Dataset ${t+1}: ${e.label}, ${a} points, range ${i} to ${r}`})).join(". ");return`Chart with ${e.length} datasets. ${t}`}),[e]);return{focusedPoint:s,announcement:c,handleKeyDown:h,announceData:m,getAccessibleDescription:p,setFocusedPoint:l}}(b,{enableScreenReader:g,enableKeyboardNavigation:g,announceDataChanges:g}),x=r({isDragging:!1,dragStart:{x:0,y:0},lastPan:{x:0,y:0}}),[R,O]=i(null),M=r(null),w=r(null),[D,B]=i(!1),[P,k]=i({width:0,height:0});o((()=>{const e=w.current;if(!e)return;const t=()=>{const t=e.getBoundingClientRect();t.width>0&&t.height>0&&(k({width:Math.floor(t.width),height:Math.floor(t.height)}),B(!0))};t();const a=requestAnimationFrame((()=>{t()})),n=new ResizeObserver((e=>{for(const t of e){const{width:e,height:a}=t.contentRect;e>0&&a>0&&(k({width:Math.floor(e),height:Math.floor(a)}),B(!0))}}));return n.observe(e),()=>{cancelAnimationFrame(a),n.disconnect()}}),[]),o((()=>{l===Ee.DEFAULT_WIDTH&&u===Ee.DEFAULT_HEIGHT||(k({width:l,height:u}),B(!0))}),[l,u]);const U=d(((e,t,a,n,i,r)=>{O({datasetIndex:e,pointIndex:t,x:a,y:n,clientX:i,clientY:r})}),[]),G=d((()=>{O(null)}),[]),z=r(null),F=d((e=>{m&&v&&v.panEnabled&&x.current.isDragging&&(z.current||(z.current=requestAnimationFrame((()=>{const t=M.current;if(!t)return void(z.current=null);const a=t.getBoundingClientRect(),n=e.clientX-a.left,i=e.clientY-a.top,r=n-x.current.dragStart.x,o=i-x.current.dragStart.y;v.setPanOffset({x:x.current.lastPan.x+r,y:x.current.lastPan.y+o}),z.current=null}))))}),[m,v]),V=d((e=>{if(!m||!v||!v.panEnabled)return;const t=M.current;if(!t)return;const a=t.getBoundingClientRect(),n=e.clientX-a.left,i=e.clientY-a.top;x.current.isDragging=!0,x.current.dragStart={x:n,y:i},x.current.lastPan={...v.panOffset}}),[m,v]),H=d((()=>{x.current.isDragging=!1}),[]),Y=c((()=>({onDataPointClick:h,onPointHover:U,onPointLeave:G,onMouseMove:F,onMouseDown:V,onMouseUp:H,onWheel:()=>{}})),[h,U,G,F,V,H]),K=c((()=>({announcement:y,focusedPoint:I,getAccessibleDescription:()=>"Chart description"})),[y,I]),$=c((()=>v?`translate(${v.panOffset.x}px, ${v.panOffset.y}px) scale(${v.zoomLevel})`:""),[v?.panOffset.x,v?.panOffset.y,v?.zoomLevel]),W=c((()=>{if(!D||0===P.width||0===P.height)return null;const e=_(b,P.width,P.height,void 0,s);if(!e)return null;const t=f(b.length).filter((e=>void 0!==e));return{scales:e,colors:t,datasets:b.map(((e,a)=>({...e,color:e.color||t[a]})))}}),[b,s,P.width,P.height,D,_,f]);if(o((()=>()=>{z.current&&cancelAnimationFrame(z.current)}),[]),o((()=>{const e=M.current;if(!e||!m||!v)return;const t=e=>{if(void 0===v.zoomLevel)return;e.preventDefault();const t=.001*-e.deltaY,a=Math.max(.2,Math.min(5,v.zoomLevel+t));v.setZoomLevel(a)};return e.addEventListener("wheel",t,{passive:!1}),()=>{e.removeEventListener("wheel",t)}}),[m,v]),C)return t("div",{className:`${Ee.CONTENT_CLASS} ${Ee.LOADING_CLASS}`,children:[e("div",{className:Ee.LOADING_SPINNER_CLASS}),e("span",{className:Ee.LOADING_TEXT_CLASS,children:"Optimizing chart..."})]});if(!D||0===P.width||0===P.height)return e("div",{ref:w,className:Ee.CANVAS_CLASS,style:{width:"100%",height:"100%",minHeight:"200px",display:"flex",alignItems:"center",justifyContent:"center"}});if(!W)return null;const Q=P.width,Z=P.height;return t(a,{children:[e("div",{ref:w,className:Ee.CANVAS_CLASS,style:{width:"100%",height:"100%"},children:t("svg",{ref:M,width:Q,height:Z,viewBox:`0 0 ${Q} ${Z}`,preserveAspectRatio:"xMidYMid meet",role:"img","aria-label":"Chart visualization",tabIndex:0,style:{width:"100%",height:"100%",transform:$,transformOrigin:"center center",willChange:v?.panEnabled?"transform":"auto"},className:"c-chart__svg",onMouseMove:F,onMouseDown:V,onMouseUp:H,onMouseLeave:H,children:[t("g",{className:"c-chart__grid-group",children:[W.datasets[0]?.data.map(((t,a)=>e("line",{x1:W.scales.xScale(a,W.datasets[0]?.data.length),y1:0,x2:W.scales.xScale(a,W.datasets[0]?.data.length),y2:Z,className:"c-chart__grid c-chart__grid--vertical"},`x-grid-${a}`))),Array.from({length:5}).map(((t,a)=>{const n=W.scales.minValue+(W.scales.maxValue-W.scales.minValue)*(a/4);return e("line",{x1:0,y1:W.scales.yScale(n),x2:Q,y2:W.scales.yScale(n),className:"c-chart__grid c-chart__grid--horizontal"},`y-grid-${a}`)}))]}),A({scales:W.scales,colors:W.colors,datasets:W.datasets,interactionState:{hoveredIndex:R?.pointIndex??null,selectedIndex:null},handlers:Y,accessibility:K,hoveredPoint:R,toolbarState:v?{showTooltips:v.toolbarState?.showTooltips,showLegend:v.toolbarState?.showLegend,animationsEnabled:v.toolbarState?.animationsEnabled,showGrid:v.toolbarState?.showGrid}:void 0,config:s}),m&&v?.panEnabled&&t("g",{className:"c-chart__crosshair",children:[e("line",{x1:0,y1:Z/2,x2:Q,y2:Z/2,className:"c-chart__crosshair-line c-chart__crosshair-line--horizontal"}),e("line",{x1:Q/2,y1:0,x2:Q/2,y2:Z,className:"c-chart__crosshair-line c-chart__crosshair-line--vertical"})]})]})}),e("div",{"aria-live":"polite",className:"u-visually-hidden",children:y})]})})));bt.displayName="ChartRenderer";const Tt=p(s((({type:t,datasets:a=[],config:n={},renderContent:i,interactive:r=!0,enableRealTime:o=!1,enableAccessibility:s=!0,enablePerformanceOptimization:l=!0,onDataPointClick:c,...u},h)=>{const m=d((e=>i(e)),[i]);return e(_t,{ref:h,type:t,datasets:a,config:n,...u,children:e(bt,{datasets:a,config:n,interactive:r,enableRealTime:o,enableAccessibility:s,enablePerformanceOptimization:l,onDataPointClick:c,renderContent:m})})})));Tt.displayName="BaseChart";const Ct=p(s((({datasets:t=[],config:a={},chartType:n="line",particleEffects:i,onDataPointClick:s,...l},c)=>{const u=r(0),h=r(0),m=r([]),p=d((({scales:t,colors:a,datasets:r,handlers:s,hoveredPoint:l,toolbarState:c,config:d})=>{if(o((()=>{const e=t=>{h.current=t,u.current=requestAnimationFrame(e)};return u.current=requestAnimationFrame(e),()=>{u.current&&cancelAnimationFrame(u.current)}}),[]),!r.length)return null;const p=40,g=t.width-80,S=t.height-80,E=[];if(r.forEach(((t,i)=>{const r=t.color||a[i%a.length];if("bar"===n)t.data.forEach(((a,n)=>{const o=g/t.data.length*.8,l=p+n*(g/t.data.length)+(g/t.data.length-o)/2,c=a.value/100*S,d=p+S-c;E.push(e("rect",{x:l,y:d,width:o,height:c,fill:r,style:{transform:`scaleY(${.1*Math.sin(.01*h.current+.2*n)+.9})`,transformOrigin:"bottom"},onClick:()=>s.onDataPointClick?.(a,i,n)},`bar-${i}-${n}`))}));else{const a=t.data.map(((e,a)=>({x:p+a/(t.data.length-1)*g,y:p+S-e.value/100*S})));if(a.length>0){const o=`M ${a.map((e=>`${e.x},${e.y}`)).join(" L ")}`;if("area"===n){const t=`${o} L ${p+g},${p+S} L 40,${p+S} Z`;E.push(e("path",{d:t,fill:r,fillOpacity:"0.3",style:{transform:`translateY(${2*Math.sin(.01*h.current)}px)`}},`area-${i}`))}E.push(e("path",{d:o,stroke:r,fill:"none",className:"c-chart__data-line",style:{transform:`translateY(${2*Math.sin(.01*h.current)}px)`}},`line-${i}`)),a.forEach(((a,n)=>{E.push(e("circle",{cx:a.x,cy:a.y,r:"4",fill:r,style:{transform:`scale(${1+.2*Math.sin(.01*h.current+n)})`},onClick:()=>s.onDataPointClick?.(t.data[n],i,n)},`point-${i}-${n}`))}))}}})),i?.enabled)for(let t=0;t<i.count;t++){const a=m.current[t];a&&E.push(e("circle",{cx:a.x,cy:a.y,r:a.size,fill:a.color,style:{opacity:a.life}},`particle-${t}`))}return e("g",{children:E})}),[n,i]);return e(Tt,{ref:c,type:"animated",datasets:t,config:a,renderContent:p,onDataPointClick:s,...l})})));Ct.displayName="AnimatedChart";const Lt=p((({dataPoint:n,datasetLabel:s,datasetColor:l,position:c,visible:d,customRenderer:u})=>{const h=r(null),[m,p]=i(c);return o((()=>{if(!d||!h.current)return;const e=h.current.getBoundingClientRect(),t=window.innerWidth,a=window.innerHeight;let n=c.x,i=c.y;n=n+e.width>t-16?c.x-e.width-12:c.x+12,i=i+e.height>a-16?c.y-e.height-12:c.y-e.height/2,n=Math.max(16,Math.min(n,t-e.width-16)),i=Math.max(16,Math.min(i,a-e.height-16)),p({x:n,y:i})}),[c,d]),d&&n?R(e("div",{ref:h,className:"c-chart__tooltip",style:{left:`${m.x}px`,top:`${m.y}px`,opacity:d?1:0,visibility:d?"visible":"hidden",transition:"opacity 0.2s ease, transform 0.2s ease",transform:"translateZ(0)",position:"fixed",zIndex:1e3,pointerEvents:"none"},children:u?u(n):t(a,{children:[e("div",{className:"c-chart__tooltip-title",children:n.label}),t("div",{className:"c-chart__tooltip-content",children:[s&&t("div",{className:"c-chart__tooltip-dataset",children:[l&&e("div",{className:"c-chart__tooltip-color-indicator",style:{backgroundColor:l}}),t("span",{className:"c-chart__tooltip-dataset-label",children:[s,":"]}),e("span",{className:"c-chart__tooltip-value",children:n.value})]}),n.metadata&&e("div",{className:"c-chart__tooltip-metadata",children:Object.entries(n.metadata).map((([a,n])=>t("div",{className:"c-chart__tooltip-metadata-item",children:[t("span",{className:"c-chart__tooltip-metadata-key",children:[a,":"]}),e("span",{className:"c-chart__tooltip-metadata-value",children:String(n)})]},a)))})]})]})}),document.body):null}));Lt.displayName="ChartTooltip";const yt=p(s((({datasets:n=[],config:i={},areaOptions:r={},onDataPointClick:o,...s},l)=>{const c={showArea:!0,fillOpacity:.3,useGradient:!0,...r};return e(Tt,{ref:l,type:"area",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:r,handlers:o,hoveredPoint:s,toolbarState:l,config:d})=>{if(!r.length)return null;const u=l?.showTooltips??d?.showTooltips??!0;return t(a,{children:[r.map(((a,r)=>{const l=a.color||i[r],d=a.data||[];if(0===d.length)return null;const u=d.map(((e,t)=>({x:n.xScale(t,d.length),y:n.yScale(e.value)}))),h=`M ${u.map((e=>`${e.x},${e.y}`)).join(" L ")} L ${u[u.length-1]?.x},${n.height} L ${u[0]?.x},${n.height} Z`;return t("g",{children:[e("path",{d:h,fill:l,fillOpacity:c.fillOpacity||.3,className:"c-chart__area-fill"}),d.map(((t,a)=>{const i=n.xScale(a,d.length),c=n.yScale(t.value),u=s?.datasetIndex===r&&s?.pointIndex===a;return e("circle",{cx:i,cy:c,r:u?6:4,fill:l,stroke:"white",strokeWidth:u?2:1,className:"c-chart__area-point "+(u?"c-chart__area-point--hovered":""),onClick:()=>o.onDataPointClick?.(t,r,a),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();o.onPointHover(r,a,i,c,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:o.onPointLeave,style:{cursor:"pointer"}},`point-${a}`)}))]},`dataset-${r}`)})),u&&s&&e(Lt,{dataPoint:r[s.datasetIndex]?.data?.[s.pointIndex],datasetLabel:r[s.datasetIndex]?.label,datasetColor:r[s.datasetIndex]?.color||i[s.datasetIndex],position:{x:s.clientX,y:s.clientY},visible:!0})]})},onDataPointClick:o,...s})})));function It(e,t={}){const[a,n]=i(null),[r,o]=i(0),[s,l]=i(!1),c=d(((e,a,n,i={top:20,right:30,bottom:40,left:50},r=!1)=>{if(!e.length)return[];const o=a-i.left-i.right,s=n-i.top-i.bottom,l=e[0]?.data?.length||0,c=e.length;if(0===l)return[];const d=e.flatMap((e=>e.data?.map((e=>e.value)).filter((e=>"number"==typeof e))||[])),u=Math.min(0,...d),h=Math.max(...d)-u,m=[],p=Array(l).fill(0);return e.forEach(((e,d)=>{e.data?.forEach(((e,g)=>{const S="number"==typeof e.value?e.value:0;if(isNaN(S)||!isFinite(S))return;let E,A,N,v;if(r){const e=s/l,a=e*(1-(t.groupPadding||.2));v=t.stacked?a:a/c,A=i.top+g*e+(e-a)/2,t.stacked||(A+=d*v*(1+(t.barPadding||.05))),E=i.left,N=(S-u)/h*o,t.stacked&&d>0?(E=i.left+(p[g]-u)/h*o,p[g]+=S):t.stacked&&(p[g]=S)}else{const e=o/l,a=e*(1-(t.groupPadding||.2));if(N=t.stacked?a:a/c,E=i.left+g*e+(e-a)/2,t.stacked||(E+=d*N*(1+(t.barPadding||.05))),v=(S-u)/h*s,A=n-i.bottom-v,t.stacked&&d>0){const e=(p[g]-u)/h*s;A=n-i.bottom-e-v,p[g]+=S}else t.stacked&&(p[g]=S)}if(t.minBarHeight&&(r?N:v)<t.minBarHeight&&(r?N=t.minBarHeight:(v=t.minBarHeight,A=n-i.bottom-v)),t.maxBarWidth&&(r?v:N)>t.maxBarWidth)if(r)v=t.maxBarWidth,A=i.top+g*(s/l)+(s/l-v)/2;else{N=t.maxBarWidth;const e=(a-i.left-i.right)/l;E=i.left+g*e+(e-N)/2}m.push({x:Math.max(E,0),y:Math.max(A,0),width:Math.max(N,0),height:Math.max(v,0),value:S,datasetIndex:d,pointIndex:g})}))})),m}),[t.stacked,t.groupPadding,t.barPadding,t.minBarHeight,t.maxBarWidth]),u=d((()=>{if(!t.enableAnimations)return;l(!0),o(0);const e=t.animationDuration||1e3,a=Date.now(),n=()=>{const t=Date.now()-a,i=Math.min(t/e,1),r=1-Math.pow(1-i,3);o(r),i<1?requestAnimationFrame(n):l(!1)};requestAnimationFrame(n)}),[t.enableAnimations,t.animationDuration]),h=d(((e,t,a,i,r,o)=>{n({datasetIndex:e,pointIndex:t,chartX:a,chartY:i,clientX:r,clientY:o})}),[]),m=d((()=>{n(null)}),[]),p=d((e=>t.useGradients?e.map(((e,t)=>{const a=e.color||`var(--atomix-color-${t+1})`;return{id:`bar-gradient-${t}`,stops:[{offset:"0%",color:a,opacity:.8},{offset:"100%",color:a,opacity:.4}]}})):[]),[t.useGradients]),g=d((e=>t.valueFormatter?t.valueFormatter(e):e.toString()),[t.valueFormatter]);return{hoveredBar:a,animationProgress:r,isAnimating:s,calculateBarDimensions:c,generateGradients:p,getDataLabelPosition:d(((e,a=!1)=>{const{x:n,y:i,width:r,height:o}=e;switch(t.dataLabelPosition){case"inside":case"center":default:return{x:n+r/2,y:i+o/2};case"outside":return{x:a?n+r+5:n+r/2,y:a?i+o/2:i-5}}}),[t.dataLabelPosition]),handleBarHover:h,handleBarLeave:m,startAnimation:u,formatValue:g,setHoveredBar:n,setAnimationProgress:o,setIsAnimating:l}}yt.displayName="AreaChart";const xt=p(s((({datasets:n=[],config:i={},barOptions:r={},horizontal:o=!1,onDataPointClick:s,...l},c)=>{const{calculateBarDimensions:d,handleBarHover:u,handleBarLeave:h,hoveredBar:m,formatValue:p}=It(0,r);return e(Tt,{ref:c,type:"bar",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:s,handlers:l,hoveredPoint:c,toolbarState:u,config:h})=>{if(!s.length)return null;const m=u?.showTooltips??h?.showTooltips??!0,g=d(s,n.width,n.height,n.padding,o);return t(a,{children:[g.map(((a,n)=>{const o=s[a.datasetIndex],d=o.data?.[a.pointIndex],u=o.color||i[a.datasetIndex],h=c?.datasetIndex===a.datasetIndex&&c?.pointIndex===a.pointIndex;return t("g",{children:[e("rect",{x:a.x,y:a.y,width:a.width,height:a.height,fill:u,className:"c-chart__bar "+(h?"c-chart__bar--hovered":""),onClick:()=>d&&l.onDataPointClick?.(d,a.datasetIndex,a.pointIndex),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();l.onPointHover(a.datasetIndex,a.pointIndex,a.x,a.y,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:l.onPointLeave}),r.showValues&&e("text",{x:a.x+a.width/2,y:a.y-5,textAnchor:"middle",className:"c-chart__bar-value-label",children:p(a.value)})]},`bar-${n}`)})),m&&c&&e(Lt,{dataPoint:s[c.datasetIndex]?.data?.[c.pointIndex],datasetLabel:s[c.datasetIndex]?.label,datasetColor:s[c.datasetIndex]?.color,position:{x:c.clientX,y:c.clientY},visible:!0})]})},onDataPointClick:s,...l})})));xt.displayName="BarChart";const Rt=p(s((({bubbleData:n=[],config:i={},bubbleOptions:r={},onDataPointClick:o,...s},l)=>{const{minBubbleSize:c=5,maxBubbleSize:d=50,bubbleOpacity:u=.7,showLabels:h=!0,labelPosition:m="center",enableAnimations:p=!0,animationDuration:g=1e3,showSizeLegend:S=!0,sizeLegendTitle:E="Size",colorScheme:A=["var(--atomix-primary)","var(--atomix-secondary)","var(--atomix-success)","var(--atomix-warning)","var(--atomix-error)","var(--atomix-info)"],sizeBasedColoring:N=!1}=r;return e(Tt,{ref:l,type:"bubble",datasets:[{label:"Bubbles",data:n}],config:i,renderContent:({scales:i,colors:r,datasets:o,handlers:s,hoveredPoint:l,toolbarState:S,config:E})=>{if(!n.length)return null;const v=S?.showTooltips??E?.showTooltips??!0,_=n.map((e=>e.size)),f=Math.min(..._),b=Math.max(..._)-f||1,T=n.map(((a,n)=>{const r=c+(a.size-f)/b*(d-c),o=i.padding.left+a.x/100*i.innerWidth,S=i.padding.top+i.innerHeight-a.y/100*i.innerHeight;let E=a.color;if(!E)if(N){const e=Math.floor((A.length-1)*((a.size-f)/b));E=A[e]}else E=A[n%A.length];return t("g",{children:[e("circle",{cx:o,cy:S,r:r,fill:E,opacity:u,className:"c-chart__bubble "+(l?.pointIndex===n?"c-chart__bubble--hovered":""),style:p?{transition:`all ${g}ms ease`}:{},onClick:()=>s.onDataPointClick?.(a,0,n),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();s.onPointHover(0,n,o,S,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:s.onPointLeave}),h&&e("text",{x:o,y:S,textAnchor:"middle",dominantBaseline:"center"===m?"middle":"top"===m?"text-before-edge":"text-after-edge",className:"c-chart__bubble-label",children:a.label})]},`bubble-${n}`)}));return t(a,{children:[T,v&&l&&l.pointIndex<n.length&&e(Lt,{dataPoint:n[l.pointIndex],datasetLabel:"Bubbles",datasetColor:n[l.pointIndex]?.color||A[l.pointIndex%A.length],position:{x:l.clientX,y:l.clientY},visible:!0})]})},onDataPointClick:o,...s})})));Rt.displayName="BubbleChart";const Ot=p(s((({candlestickData:n=[],config:i={},candlestickOptions:r={},onDataPointClick:o,...s},l)=>{const{showVolume:c=!0,volumeHeightRatio:d=.2,upColor:u="var(--atomix-success-bg-subtle)",downColor:h="var(--atomix-error-bg-subtle)",wickColor:m="var(--atomix-brand-border-subtle)",borderColor:p="var(--atomix-primary-border-subtle)",showMovingAverages:g=!1,movingAveragePeriods:S=[7,21],movingAverageColors:E=["var(--atomix-warning-bg-subtle)","var(--atomix-warning-border-subtle)"],dateFormat:A="short",dateFormatter:N,showGrid:v=!0,gridColor:_="var(--atomix-brand-text-emphasis)",showTooltips:f=!0}=r;return e(Tt,{ref:l,type:"candlestick",datasets:[{label:"Candlestick Data",data:n.map((e=>({label:e.date.toString(),value:e.close,metadata:{open:e.open,high:e.high,low:e.low,close:e.close,volume:e.volume}})))}],config:i,renderContent:({scales:i,colors:o,datasets:s,handlers:l,hoveredPoint:A,toolbarState:N,config:f})=>{if(!n.length)return null;const b=N?.showTooltips??f?.showTooltips??r.showTooltips??!0,T=40,C=i.width-80,L=i.height-80,y=c?L*d:0,I=L-y,x=n.map((e=>e.high)),R=n.map((e=>e.low)),O=Math.min(...R),M=Math.max(...x),w=M-O||1,D=n.map((e=>e.volume||0)),B=Math.max(...D)||1,P=[];if(v){for(let t=0;t<=5;t++){const a=T+t/5*I;P.push(e("line",{x1:T,y1:a,x2:T+C,y2:a,stroke:_,strokeWidth:"0.5",strokeDasharray:"4 2"},`price-grid-${t}`))}const t=Math.max(1,Math.floor(n.length/10));for(let a=0;a<n.length;a+=t){const t=T+a/(n.length-1)*C;P.push(e("line",{x1:t,y1:T,x2:t,y2:T+I,stroke:_,strokeWidth:"0.5",strokeDasharray:"4 2"},`time-grid-${a}`))}}const k=n.map(((a,i)=>{const r=a.close>=a.open?u:h,o=T+i/(n.length-1)*C,s=T+(M-a.high)/w*I,c=T+(M-a.low)/w*I,d=T+(M-a.open)/w*I,g=T+(M-a.close)/w*I,S=Math.min(d,g),E=Math.abs(d-g),A=Math.max(1,C/n.length*.8);return t("g",{children:[e("line",{x1:o,y1:s,x2:o,y2:c,stroke:m,strokeWidth:"1",className:"c-chart__candlestick-wick"}),e("rect",{x:o-A/2,y:S,width:A,height:E||1,fill:r,stroke:p,strokeWidth:"1",className:"c-chart__candlestick-candle",onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();l.onPointHover(0,i,o,s,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:l.onPointLeave,onClick:()=>l.onDataPointClick?.(a,0,i)})]},`candle-${i}`)})),U=[];if(c){const t=T+I+20;n.forEach(((a,i)=>{if(!a.volume)return;const r=a.close>=a.open?u:h,o=T+i/(n.length-1)*C,s=a.volume/B*(y-20),l=Math.max(1,C/n.length*.6);U.push(e("rect",{x:o-l/2,y:t+y-s,width:l,height:s,fill:r,fillOpacity:"0.7",className:"c-chart__candlestick-volume"},`volume-${i}`))}))}const G=[];return g&&S.forEach(((t,a)=>{const i=((e,t)=>{const a=[];for(let n=0;n<e.length;n++){if(n<t-1){a.push(NaN);continue}const i=e.slice(n-t+1,n+1).reduce(((e,t)=>e+t.close),0);a.push(i/t)}return a})(n,t),r=E?.[a]||"var(--atomix-warning)",o=i.map(((e,t)=>{if(isNaN(e))return null;return{x:T+t/(n.length-1)*C,y:T+(M-e)/w*I}})).filter(Boolean);if(o.length>1){const a=`M ${o.map((e=>`${e.x},${e.y}`)).join(" L ")}`;G.push(e("path",{d:a,stroke:r,strokeWidth:"1",fill:"none",strokeDasharray:"5,5"},`ma-${t}`))}})),t(a,{children:[P,k,U,G,b&&A&&n[A.pointIndex]&&e(Lt,{dataPoint:n[A.pointIndex],datasetLabel:"Candlestick",position:{x:A.clientX,y:A.clientY},visible:!0})]})},onDataPointClick:o,...s})})));Ot.displayName="CandlestickChart";const Mt=p(s((({datasets:n=[],config:i={},pieOptions:r={showValues:!1,showPercentages:!0,showLabels:!1,startAngle:0,sortByValue:!1,padAngle:1},donutOptions:o={innerRadiusRatio:.6,showTotal:!0,centerLabel:"Total",centerValue:void 0,roundedCorners:!0},onDataPointClick:s,...l},d)=>{const u=n.length>0?n[0]:{label:"",data:[]},h=c((()=>{if(!u?.data?.length)return null;const e=u?.data?.filter((e=>"number"==typeof e.value&&!isNaN(e.value)&&isFinite(e.value)&&e.value>0));return e.length?{validDataPoints:e}:null}),[u]);return e(Tt,{ref:d,type:"donut",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:s,handlers:l,hoveredPoint:c,toolbarState:d,config:m})=>{if(!h)return null;const p=n.width,g=n.height,S=Math.min(p,g)/2*.8,E=S*(o.innerRadiusRatio??.6),A=p/2,N=g/2,v=["var(--atomix-primary-2)","var(--atomix-primary-3)","var(--atomix-primary-4)","var(--atomix-primary-5)","var(--atomix-primary-6)","var(--atomix-primary-7)","var(--atomix-primary-8)","var(--atomix-primary-9)"],_=u?.color?[u.color]:u?.data?.map(((e,t)=>v[t%v.length]))||v,f=h.validDataPoints.reduce(((e,t)=>e+t.value),0),b=(r.padAngle||1)*Math.PI/180;let T=(r.startAngle||0)*Math.PI/180;const C=h.validDataPoints.map(((e,t)=>{const a=e.value/f*(2*Math.PI)-b,n=T,i=T+a,r=(n+i)/2,o=.75*S,s=A+Math.cos(r)*o,l=N+Math.sin(r)*o,c=A+E*Math.cos(n),d=N+E*Math.sin(n),u=A+S*Math.cos(n),h=N+S*Math.sin(n),m=A+S*Math.cos(i),p=N+S*Math.sin(i),g=A+E*Math.cos(i),v=N+E*Math.sin(i),C=a>Math.PI?1:0,L=[`M ${c} ${d}`,`L ${u} ${h}`,`A ${S} ${S} 0 ${C} 1 ${m} ${p}`,`L ${g} ${v}`,`A ${E} ${E} 0 ${C} 0 ${c} ${d}`,"Z"].join(" ");return T=i+b,{path:L,color:e.color||_[t],labelPosition:{x:s,y:l},dataPoint:e,value:e.value,percentage:e.value/f*100}})),L=d?.showTooltips??m?.showTooltips??!0;return t(a,{children:[C.map(((a,n)=>{const i=c?.pointIndex===n;return t("g",{children:[e("path",{d:a.path,fill:a.color,className:"c-chart__donut-slice "+(i?"c-chart__donut-slice--hovered":""),onClick:()=>l.onDataPointClick?.(a.dataPoint,0,n),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();l.onPointHover(0,n,a.labelPosition.x,a.labelPosition.y,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:l.onPointLeave}),r.showLabels&&e("text",{x:a.labelPosition.x,y:a.labelPosition.y,textAnchor:"middle",className:"c-chart__donut-label",children:a.dataPoint.label}),r.showPercentages&&t("text",{x:a.labelPosition.x,y:a.labelPosition.y+20,textAnchor:"middle",className:"c-chart__donut-percentage",children:[a.percentage.toFixed(1),"%"]})]},`slice-${n}`)})),o.showTotal&&t("g",{children:[e("text",{x:A,y:N-10,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__donut-center-label",children:o.centerLabel}),e("text",{x:A,y:N+20,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__donut-center-value",children:void 0!==o.centerValue?o.centerValue:f.toLocaleString()})]}),L&&c&&c.pointIndex<C.length&&C[c.pointIndex]&&e(Lt,{dataPoint:C[c.pointIndex].dataPoint,datasetLabel:u?.label,datasetColor:C[c.pointIndex]?.color,position:{x:c.clientX,y:c.clientY},visible:!0})]})},onDataPointClick:s,...l})})));Mt.displayName="DonutChart";const wt=p(s((({funnelData:n=[],config:i={},funnelOptions:r={},onDataPointClick:o,...s},l)=>{const{direction:c="vertical",showLabels:d=!0,showValues:u=!0,showPercentages:h=!1,labelPosition:m="outside",neckWidth:p=.3,neckHeight:g=.2,segmentGap:S=2,colorScheme:E=["var(--atomix-primary)","var(--atomix-secondary)","var(--atomix-success)","var(--atomix-warning)","var(--atomix-error)","var(--atomix-info)"],useGradient:A=!0,animate:N=!0,animationDuration:v=1e3,animationDelay:_=200,valueFormatter:f=e=>e.toLocaleString(),showConversionRates:b=!0,conversionRatePosition:T="between",proportional:C=!0,minSegmentRatio:L=.1}=r;return e(Tt,{ref:l,type:"funnel",datasets:[{label:"Funnel Data",data:n}],config:i,renderContent:({scales:i,colors:r,datasets:o,handlers:s,hoveredPoint:l,toolbarState:m,config:g})=>{if(!n.length)return null;const A=m?.showTooltips??g?.showTooltips??!0,y=i.width-120,I=i.height-120,x=Math.max(...n.map((e=>e.value))),R=n.map(((e,t)=>{const a=e.value/x*100,i=t>0&&n[t-1]?e.value/n[t-1].value*100:100;return{...e,percentage:a,conversionRate:i,index:t}})),O=[];if("vertical"===c){const a=(I-(n.length-1)*S)/n.length;R.forEach(((i,r)=>{const o=60+r*(a+S);let l;if(C){const e=Math.max(i.percentage/100,L);l=y*e}else{const e=Math.max(1-r/(n.length-1)*(1-p),L);l=y*e}const c=60+(y-l)/2;let m=i.color||E[r%E.length];const g=R[r+1];let A;if(g)if(C){const e=Math.max(g.percentage/100,L);A=y*e}else{const e=Math.max(1-(r+1)/(n.length-1)*(1-p),L);A=y*e}else A=l*p;const I=60+(y-A)/2,x=o+a,M=`\n M ${c} ${o}\n L ${c+l} ${o}\n L ${I+A} ${x}\n L ${I} ${x}\n Z\n `;O.push(t("g",{children:[e("path",{d:M,fill:m,className:"c-chart__funnel-segment",style:{transition:N?`all ${v}ms cubic-bezier(0.25, 0.1, 0.25, 1) ${r*_}ms`:"none"},onClick:()=>s.onDataPointClick?.(i,0,r)}),(d||u||h)&&t("text",{x:c+l/2,y:o+a/2,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__funnel-label",children:[d&&i.label,u&&e("tspan",{x:c+l/2,dy:"1.2em",children:f(i.value)}),h&&t("tspan",{x:c+l/2,dy:"1.2em",children:[i.percentage.toFixed(1),"%"]})]})]},`segment-${r}`)),b&&g&&"between"===T&&O.push(t("text",{x:c+l/2,y:o+a+S/2,textAnchor:"middle",className:"c-chart__funnel-conversion",children:["↓ ",i.conversionRate.toFixed(1),"%"]},`conversion-${r}`))}))}return t(a,{children:[e("g",{children:O}),A&&l&&n[l.pointIndex]&&e(Lt,{dataPoint:n[l.pointIndex],datasetLabel:"Funnel Data",datasetColor:n[l.pointIndex]?.color||r[l.pointIndex%r.length],position:{x:l.clientX,y:l.clientY},visible:!0})]})},onDataPointClick:o,...s})})));wt.displayName="FunnelChart";const Dt=p(s((({value:a,min:n=0,max:i=100,config:r={},gaugeOptions:o={},onDataPointClick:s,...l},c)=>{const{startAngle:d=180,endAngle:u=0,thickness:h=.2,showNeedle:m=!0,needleColor:p="var(--atomix-brand-text-emphasis)",showValue:g=!0,valueFormatter:S=e=>e.toFixed(1),showMinMaxLabels:E=!0,showTicks:A=!0,majorTicks:N=5,minorTicks:v=4,colorZones:_=[],animate:f=!0,animationDuration:b=1e3,animationEasing:T="easeOutCubic",useGradient:C=!1,label:L="",labelPosition:y="bottom"}=o;return e(Tt,{ref:c,type:"gauge",datasets:[{label:"Gauge Value",data:[{label:"Value",value:a}]}],config:r,renderContent:({scales:r,colors:o,datasets:s,handlers:l,hoveredPoint:c,toolbarState:C,config:I})=>{const x=r.width,R=C?.animationsEnabled??I?.animate??f,O=r.height,M=x/2,w=O/2,D=Math.min(x,O)/2*.9,B=-d*Math.PI/180,P=-u*Math.PI/180,k=P-B,U=Math.min(Math.max(a,n),i),G=B+(U-n)/(i-n)*k,z=(e,t,a,n,i,r)=>{const o=a*(1-r),s=e+a*Math.cos(n),l=t+a*Math.sin(n),c=e+a*Math.cos(i),d=t+a*Math.sin(i),u=e+o*Math.cos(i),h=t+o*Math.sin(i),m=e+o*Math.cos(n),p=t+o*Math.sin(n),g=Math.abs(i-n)>Math.PI?1:0,S=i>n?1:0;return`M ${s} ${l} \n A ${a} ${a} 0 ${g} ${S} ${c} ${d}\n L ${u} ${h}\n A ${o} ${o} 0 ${g} ${1-S} ${m} ${p}\n Z`},F=[];for(const t of _){const a=B+(t.from-n)/(i-n)*k,r=B+(t.to-n)/(i-n)*k;F.push(e("path",{d:z(M,w,D,a,r,h),fill:t.color},`zone-${t.from}-${t.to}`))}const V=[];if(A){for(let t=0;t<=N;t++){const a=n+t/N*(i-n),r=B+t/N*k,o=.95*D,s=.05*D,l=M+o*Math.cos(r),c=w+o*Math.sin(r),d=M+(o-s)*Math.cos(r),u=w+(o-s)*Math.sin(r);if(V.push(e("line",{x1:l,y1:c,x2:d,y2:u,stroke:"var(--atomix-brand-border-subtle)",strokeWidth:"2"},`major-tick-${t}`)),E){const n=M+(o-s-10)*Math.cos(r),i=w+(o-s-10)*Math.sin(r);V.push(e("text",{x:n,y:i,textAnchor:"middle",dominantBaseline:"middle",fontSize:"12",fill:"var(--atomix-brand-text-emphasis)",children:a},`label-${t}`))}}for(let t=0;t<N*v;t++){const a=B+t/(N*v)*k,n=.95*D,i=.025*D,r=M+n*Math.cos(a),o=w+n*Math.sin(a),s=M+(n-i)*Math.cos(a),l=w+(n-i)*Math.sin(a);V.push(e("line",{x1:r,y1:o,x2:s,y2:l,stroke:"var(--atomix-brand-border-subtle)",strokeWidth:"1"},`minor-tick-${t}`))}}const H=m?t("g",{children:[e("line",{x1:M,y1:w,x2:M+.8*D*Math.cos(G),y2:w+.8*D*Math.sin(G),stroke:p,strokeWidth:"3",strokeLinecap:"round"}),e("circle",{cx:M,cy:w,r:"8",fill:p})]}):null,Y=g?e("text",{x:M,y:w+10,textAnchor:"middle",fontSize:"24",fontWeight:"bold",fill:"var(--atomix-primary-text-emphasis)",children:S(U)}):null,K=L?e("text",{x:M,y:"top"===y?w-.7*D:w+.7*D,textAnchor:"middle",fontSize:"16",fill:"var(--atomix-brand-text-emphasis)",children:L}):null;return t("g",{children:[e("path",{d:z(M,w,D,B,P,h),fill:"var(--atomix-secondary-bg-subtle)"}),F,e("path",{d:z(M,w,D,B,G,h),fill:"var(--atomix-brand-bg-subtle)",style:{transition:R?`all ${b}ms ${T}`:"none"}}),V,H,Y,K]})},onDataPointClick:s,...l})})));Dt.displayName="GaugeChart";const Bt={viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],plasma:["#0d0887","#5302a3","#8b0aa5","#b83289","#db5c68","#f48849","#febd2a","#f0f921"],inferno:["#000004","#1b0c41","#4b0c6b","#781c6d","#a52c60","#cf4446","#ed6925","#fb9b06","#fcffa4"],magma:["#000004","#1c1044","#4f127b","#812581","#b5367a","#e55964","#fb8761","#fec287","#fcfdbf"],blues:["var(--atomix-blue-1)","var(--atomix-blue-2)","var(--atomix-blue-3)","var(--atomix-blue-4)","var(--atomix-blue-5)","var(--atomix-blue-6)","var(--atomix-blue-7)","var(--atomix-blue-8)","var(--atomix-blue-9)"],reds:["var(--atomix-red-1)","var(--atomix-red-2)","var(--atomix-red-3)","var(--atomix-red-4)","var(--atomix-red-5)","var(--atomix-red-6)","var(--atomix-red-7)","var(--atomix-red-8)","var(--atomix-red-9)"],greens:["var(--atomix-green-1)","var(--atomix-green-2)","var(--atomix-green-3)","var(--atomix-green-4)","var(--atomix-green-5)","var(--atomix-green-6)","var(--atomix-green-7)","var(--atomix-green-8)","var(--atomix-green-9)"],github:["var(--atomix-gray-2)","var(--atomix-green-3)","var(--atomix-green-4)","var(--atomix-green-5)","var(--atomix-green-6)"]},Pt=p(s((({data:n=[],config:r={},colorScale:o={scheme:"viridis",steps:9},cellConfig:s={width:40,height:40,spacing:2,borderRadius:4,showLabels:!1},showColorLegend:l=!0,showGrid:u=!0,onDataPointClick:h,...m},p)=>{const[g,S]=i(null),E=c((()=>{if(!n.length)return{matrix:[],xLabels:[],yLabels:[]};const e=Array.from(new Set(n.map((e=>e.x)))).sort(),t=Array.from(new Set(n.map((e=>e.y)))).sort(),a=[];return t.forEach((t=>{const i=[];e.forEach((e=>{const a=n.find((a=>a.x===e&&a.y===t));i.push(a||null)})),a.push(i)})),{matrix:a,xLabels:e,yLabels:t}}),[n]),A=d((e=>{if(!E.matrix.length)return"var(--atomix-secondary-bg-subtle)";let t,a=o.min,i=o.max;if(void 0===a||void 0===i){const e=n.filter((e=>void 0!==e.value)).map((e=>e.value));void 0===a&&(a=Math.min(...e)),void 0===i&&(i=Math.max(...e))}if("custom"===o.scheme&&o.colors)t=o.colors;else{const e=o.scheme;t=Bt[e]||Bt.viridis}const r=o.steps||t.length,s=i-a;if(0===s)return t[0];const l=(e-a)/s,c=Math.min(Math.floor(l*r),r-1);return t[Math.floor(c/r*(t.length-1))]}),[E,o,n]),N=[{label:"Heatmap Data",data:n.map((e=>({...e,label:e.label||`${e.x}, ${e.y}`,value:e.value})))}];return e(Tt,{ref:p,type:"heatmap",datasets:N,config:r,renderContent:({scales:n,colors:i,datasets:r,handlers:c,hoveredPoint:d,toolbarState:u,config:h})=>{const{matrix:m,xLabels:p,yLabels:N}=E,v=u?.showTooltips??h?.showTooltips??!0;if(!m.length)return null;const _=s.width||40,f=s.height||40,b=s.spacing||2,T=s.borderRadius||4;p.length,N.length;return t(a,{children:[t("g",{children:[e("defs",{children:l&&(()=>{const t=Bt[o.scheme]||Bt.viridis;return t&&0!==t.length?e("linearGradient",{id:"heatmap-legend-gradient",x1:"0%",y1:"100%",x2:"0%",y2:"0%",children:t.map(((a,n)=>e("stop",{offset:n/(t.length-1)*100+"%",stopColor:a},n)))}):null})()}),m.map(((a,n)=>a.map(((a,i)=>{if(!a)return null;const r=100+i*(_+b),o=50+n*(f+b),l=A(a.value),d=g===a;return t("g",{children:[e("rect",{x:r,y:o,width:_,height:f,rx:T,ry:T,fill:l,className:"c-chart__heatmap-cell "+(d?"c-chart__heatmap-cell--hovered":""),style:{transition:"all 0.2s ease",transform:d?"scale(1.05)":"scale(1)",transformOrigin:"center"},onClick:()=>{a&&c.onDataPointClick?.({...a,label:a.label||`${a.x}, ${a.y}`,value:a.value},n,i)},onMouseEnter:e=>{S(a)},onMouseLeave:()=>S(null)}),s.showLabels&&a.label&&e("text",{x:r+_/2,y:o+f/2,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__heatmap-label",children:a.label})]},`cell-${n}-${i}`)})))),p.map(((t,a)=>{const n=100+a*(_+b)+_/2,i=50+m.length*(f+b)+20;return e("text",{x:n,y:i,textAnchor:"middle",className:"c-chart__heatmap-axis-label",children:String(t)},`x-label-${a}`)})),N.map(((t,a)=>e("text",{x:80,y:50+a*(f+b)+f/2,textAnchor:"end",dominantBaseline:"middle",className:"c-chart__heatmap-axis-label",children:String(t)},`y-label-${a}`))),l&&t("g",{transform:"translate(600, 100)",children:[e("rect",{x:"0",y:"0",width:"20",height:"200",fill:"url(#heatmap-legend-gradient)",stroke:"var(--atomix-border-color)",className:"c-chart__grid"}),e("text",{x:"-10",y:"-10",className:"c-chart__heatmap-legend-title",children:"Values"}),e("text",{x:"25",y:"5",textAnchor:"start",className:"c-chart__heatmap-legend-label",children:"High"}),e("text",{x:"25",y:"200",textAnchor:"start",className:"c-chart__heatmap-legend-label",children:"Low"})]})]}),v&&d&&r[d.datasetIndex]?.data?.[d.pointIndex]&&e(Lt,{dataPoint:r[d.datasetIndex].data[d.pointIndex],datasetLabel:r[d.datasetIndex]?.label,datasetColor:r[d.datasetIndex]?.color||i[d.datasetIndex%i.length],position:{x:d.clientX,y:d.clientY},visible:!0})]})},onDataPointClick:h,...m})})));function kt(e,t={}){const[a,n]=i(1),[r,o]=i({x:0,y:0}),[s,l]=i(null),u=d(((e,t)=>{const a=[];for(let n=t-1;n<e.length;n++){const i=e.slice(n-t+1,n+1).reduce(((e,t)=>e+t.value),0)/t,r=e[n];r&&a.push({label:r.label,value:i,color:"rgba(255, 255, 255, 0.5)"})}return a}),[]),h=d((e=>{const t=e.length;if(t<2)return e.map((()=>null));const a=e.reduce(((e,t,a)=>e+a),0),n=e.reduce(((e,t)=>e+t.value),0),i=(t*e.reduce(((e,t,a)=>e+a*t.value),0)-a*n)/(t*e.reduce(((e,t,a)=>e+a*a),0)-a*a),r=(n-i*a)/t;return e.map(((e,t)=>({label:e.label,value:i*t+r,color:"rgba(255, 255, 255, 0.3)"})))}),[]),m=d(((e,t=.4)=>{if(e.length<2)return"";const a=e.map(((a,n)=>{if(0===n||n===e.length-1)return{cp1x:a.x,cp1y:a.y,cp2x:a.x,cp2y:a.y};const i=e[n-1],r=e[n+1];if(!i||!r)return{cp1x:a.x,cp1y:a.y,cp2x:a.x,cp2y:a.y};const o=r.x-i.x,s=r.y-i.y;return{cp1x:a.x-o*t,cp1y:a.y-s*t,cp2x:a.x+o*t,cp2y:a.y+s*t}})),n=e[0];if(!n)return"";let i=`M ${n.x},${n.y}`;for(let t=1;t<e.length;t++){const n=a[t-1],r=a[t],o=e[t];n&&r&&o&&(i+=` C ${n.cp2x},${n.cp2y} ${r.cp1x},${r.cp1y} ${o.x},${o.y}`)}return i}),[]),p=d(((e,i,r)=>{if(!t.enableZoom)return;const s=e>0?.9:1.1,l=Math.max(.1,Math.min(10,a*s));n(l);const c=l/a;o((e=>({x:i-(i-e.x)*c,y:r-(r-e.y)*c})))}),[a,t.enableZoom]),g=d(((e,a)=>{t.enablePan&&o((t=>({x:t.x+e,y:t.y+a})))}),[t.enablePan]),S=d((()=>{n(1),o({x:0,y:0})}),[]),E=d(((e,t,a,n,i,r)=>{l({datasetIndex:e,pointIndex:t,x:a,y:n,clientX:i,clientY:r})}),[]),A=d((()=>{l(null)}),[]),N=c((()=>e.map((e=>{const a={...e};return t.showMovingAverages&&t.movingAveragePeriods&&(a.movingAverages=t.movingAveragePeriods.map((t=>({period:t,data:u(e.data,t)})))),t.showTrendLines&&(a.trendLine=h(e.data)),a}))),[e,t.showMovingAverages,t.movingAveragePeriods,t.showTrendLines,u,h]);return{zoomLevel:a,panOffset:r,hoveredPoint:s,processedDatasets:N,handleZoom:p,handlePan:g,resetView:S,handlePointHover:E,handlePointLeave:A,calculateMovingAverage:u,calculateTrendLine:h,generateSmoothPath:m,setZoomLevel:n,setPanOffset:o,setHoveredPoint:l}}Pt.displayName="HeatmapChart";const Ut=p(s((({datasets:n=[],config:i={},lineOptions:r={},onDataPointClick:o,onRealTimeUpdate:s,onZoomChange:l,onPanChange:c,onBrushSelection:d,...u},h)=>{const m={showDataPoints:!0,lineWidth:2,pointRadius:4,smooth:!1,tension:.4,showArea:!1,fillOpacity:.3,showPointLabels:!1,...r},{processedDatasets:p,generateSmoothPath:g,calculateMovingAverage:S,handlePointHover:E,handlePointLeave:A,hoveredPoint:N}=kt(n,m);return e(Tt,{ref:h,type:"line",datasets:p,config:i,renderContent:({scales:n,colors:i,datasets:r,handlers:o,hoveredPoint:s,toolbarState:l,config:c})=>{if(!r.length)return null;const d=l?.showTooltips??c?.showTooltips??!0;return l?.animationsEnabled??c?.animate??m.smooth,t(a,{children:[r.map(((a,r)=>{const l=a.color||i[r],c=a.data?.length||0;if(0===c)return null;const d=a.data?.map(((e,t)=>({x:n.xScale(t,c),y:n.yScale(e.value)})))||[],u=m.smooth?g(d):`M ${d.map((e=>`${e.x},${e.y}`)).join(" L ")}`;return t("g",{children:[m.showArea&&e("path",{d:`${u} L ${d[d.length-1]?.x||0},${n.yScale(0)} L ${d[0]?.x||0},${n.yScale(0)} Z`,fill:l,fillOpacity:m.fillOpacity||.3,className:"c-chart__area-path"}),e("path",{d:u,stroke:l,strokeWidth:m.lineWidth||2,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",className:"c-chart__line-path"}),m.showDataPoints&&a.data?.map(((a,i)=>{const d=n.xScale(i,c),u=n.yScale(a.value),h=s?.datasetIndex===r&&s?.pointIndex===i;return t("g",{children:[e("circle",{cx:d,cy:u,r:h?1.5*m.pointRadius:m.pointRadius,fill:l,stroke:"white",strokeWidth:h?2:1,className:"c-chart__data-point "+(h?"c-chart__data-point--hovered":""),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();o.onPointHover(r,i,d,u,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:o.onPointLeave,onClick:()=>o.onDataPointClick?.(a,r,i),style:{cursor:"pointer"}}),m.showPointLabels&&e("text",{x:d,y:u-15,textAnchor:"middle",fontSize:"12",fill:l,className:"c-chart__point-label",children:a.value})]},`point-${i}`)}))]},`dataset-${r}`)})),d&&s&&r[s.datasetIndex]?.data?.[s.pointIndex]&&e(Lt,{dataPoint:r[s.datasetIndex].data[s.pointIndex],datasetLabel:r[s.datasetIndex]?.label,datasetColor:r[s.datasetIndex]?.color,position:{x:s.clientX,y:s.clientY},visible:!0})]})},onDataPointClick:o,interactive:!0,enableAccessibility:!0,...u})})));Ut.displayName="LineChart";const Gt=p(s((({datasets:a=[],config:n={},yAxes:i=[],xAxes:r=[],multiAxisOptions:o={},onDataPointClick:s,...l},c)=>{const{showLegend:d=!0,legendPosition:u="top",syncAxes:h=!1,axisPadding:m=20,showTooltips:p=!0,tooltipPosition:g="nearest",interpolation:S="linear",showArea:E=!1,areaOpacity:A=.3,showDataPoints:N=!0,pointRadius:v=4,spanGaps:_=!1}=o;return e(Tt,{ref:c,type:"line",datasets:a,config:n,renderContent:({scales:n,colors:o,datasets:s,handlers:l,hoveredPoint:c,toolbarState:h,config:m})=>{if(!a.length)return null;const p=h?.showGrid??!0,g=60,S=n.width-120,_=n.height-120,f=i.length?i:[{id:"y-axis-1",position:"left",label:"Y Axis"}],b=r.length?r:[{id:"x-axis-1",position:"bottom",label:"X Axis"}],T={};a.forEach(((e,t)=>{const a=e.yAxisId||f[0]?.id||"y-axis-1";T[a]||(T[a]=[]),T[a].push({...e,index:t})}));const C={};Object.entries(T).forEach((([e,t])=>{const a=t.flatMap((e=>e.data.map((e=>e.value)))),n=Math.min(...a),i=Math.max(...a),r=i-n||1;C[e]={min:n,max:i,scale:_/r}}));const L=[];if(p)for(let t=0;t<=5;t++){const a=g+t/5*_;L.push(e("line",{x1:g,y1:a,x2:g+S,y2:a,className:"c-chart__grid"},`grid-${t}`))}if(a.forEach(((t,a)=>{const n=t.yAxisId||f[0]?.id||"y-axis-1",i=C[n],r=t.color||o[a%o.length],s=t.data.map(((e,a)=>({x:g+a/(t.data.length-1)*S,y:i?g+_-(e.value-i.min)*i.scale:0})));let c="";if(s.length>0&&(c=`M ${s.map((e=>`${e.x},${e.y}`)).join(" L ")}`),E&&c){const t=`${c} L ${g+S},${g+_} L 60,${g+_} Z`;L.push(e("path",{d:t,fill:r,fillOpacity:A},`area-${a}`))}L.push(e("path",{d:c,stroke:r,fill:"none",className:"c-chart__data-line"},`line-${a}`)),N&&s.forEach(((n,i)=>{const o=t.data[i];o&&L.push(e("circle",{cx:n.x,cy:n.y,r:v,fill:r,onClick:()=>l.onDataPointClick?.(o,a,i)},`point-${a}-${i}`))}))})),f.forEach((t=>{L.push(e("line",{x1:g,y1:g,x2:g,y2:g+_,stroke:t.color||"var(--atomix-text-primary)",className:"c-chart__axis-line"},`y-axis-${t.id}`))})),b.forEach((t=>{L.push(e("line",{x1:g,y1:g+_,x2:g+S,y2:g+_,stroke:t.color||"var(--atomix-text-primary)",className:"c-chart__axis-line"},`x-axis-${t.id}`))})),d){const i="top"===u?20:n.height-30;a.forEach(((n,r)=>{const s=n.color||o[r%o.length],l=g+r*S/a.length;L.push(t("g",{children:[e("rect",{x:l,y:i,width:"12",height:"12",fill:s,className:"c-chart__legend-item-color"}),e("text",{x:l+16,y:i+10,className:"c-chart__legend-item-text",children:n.label})]},`legend-${r}`))}))}return e("g",{children:L})},onDataPointClick:s,...l})})));function zt(e,t={}){const[a,n]=i(null),[r,o]=i(new Set),[s,l]=i(0),[u,h]=i(!1),m=c((()=>{const a=e.filter((e=>"number"==typeof e.value&&!isNaN(e.value)&&isFinite(e.value)&&e.value>0));return a.length?t.sortByValue?[...a].sort(((e,t)=>t.value-e.value)):a:[]}),[e,t.sortByValue]),p=c((()=>m.reduce(((e,t)=>e+t.value),0)),[m]),g=c((()=>{if(!m.length||p<=0)return[];const e=400,a=200,n=150,i=n*(t.innerRadius||0),r=["#7AFFD7","#1AFFD2","#00E6C3","#4DFF9F","#1AFF85","#00E66B","#DD6061","#FF1A1A","#E60000","#FFCC00","#E6B800","#B38F00"];let o=(t.startAngle||0)*Math.PI/180;const s=(t.padAngle||1)*Math.PI/180;return m.map(((t,l)=>{const c=t.value/p,d=2*c*Math.PI-s,u=o+d,h=o+d/2,m=e+n*Math.cos(o),g=a+n*Math.sin(o),S=e+n*Math.cos(u),E=a+n*Math.sin(u),A=d>Math.PI?1:0;let N;if(i>0){const t=e+i*Math.cos(u),n=a+i*Math.sin(u),r=e+i*Math.cos(o),s=a+i*Math.sin(o);N=[`M ${m},${g}`,`A 150,150 0 ${A},1 ${S},${E}`,`L ${t},${n}`,`A ${i},${i} 0 ${A},0 ${r},${s}`,"Z"].join(" ")}else N=["M 400,200",`L ${m},${g}`,`A 150,150 0 ${A},1 ${S},${E}`,"Z"].join(" ");const v=(n+i)/2||105,_=e+v*Math.cos(h),f=a+v*Math.sin(h),b={dataPoint:t,index:l,startAngle:o,endAngle:u,midAngle:h,color:t.color||r[l%r.length],percentage:100*c,value:t.value,label:t.label,path:N,labelPosition:{x:_,y:f}};return o=u+s,b}))}),[m,p,t.innerRadius,t.startAngle,t.padAngle]),S=d((()=>{if(!t.enableAnimations)return;h(!0),l(0);const e=t.animationDuration||1e3,a=Date.now(),n=()=>{const t=Date.now()-a,i=Math.min(t/e,1),r=1-Math.pow(1-i,3);l(r),i<1?requestAnimationFrame(n):h(!1)};requestAnimationFrame(n)}),[t.enableAnimations,t.animationDuration]),E=d(((e,t,a)=>{n(e)}),[]),A=d((()=>{n(null)}),[]),N=d((e=>{t.enableSelection&&o((t=>{const a=new Set(t);return a.has(e)?a.delete(e):a.add(e),a}))}),[t.enableSelection]),v=d((e=>{if(t.labelFormatter)return t.labelFormatter(e.value,e.percentage,e.label);const a=[];return!1!==t.showLabels&&a.push(e.label),t.showPercentages&&a.push(`${Math.round(e.percentage)}%`),t.showValues&&a.push(e.value.toString()),a.join(" - ")}),[t.labelFormatter,t.showLabels,t.showPercentages,t.showValues]),_=d(((e,a)=>{if(!a||!t.enableHoverEffects||!t.hoverOffset)return"";return`translate(${Math.cos(e.midAngle)*t.hoverOffset}, ${Math.sin(e.midAngle)*t.hoverOffset})`}),[t.enableHoverEffects,t.hoverOffset]),f=d((e=>r.has(e)),[r]);return{processedData:m,slices:g,totalValue:p,hoveredSlice:a,selectedSlices:r,animationProgress:s,isAnimating:u,handleSliceHover:E,handleSliceLeave:A,handleSliceClick:N,startAnimation:S,formatLabel:v,getSliceTransform:_,isSliceSelected:f,setHoveredSlice:n,setSelectedSlices:o,setAnimationProgress:l,setIsAnimating:h}}Gt.displayName="MultiAxisChart";const Ft=p(s((({datasets:n=[],config:i={},pieOptions:r={},onDataPointClick:o,...s},l)=>{const c=n[0]?.data||[],{slices:d,handleSliceHover:u,handleSliceLeave:h,handleSliceClick:m,formatLabel:p,hoveredSlice:g,selectedSlices:S}=zt(c,r);return e(Tt,{ref:l,type:"pie",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:o,handlers:s,hoveredPoint:l,toolbarState:u,config:h})=>{if(!d.length)return null;const g=n.width,S=n.height,E=g/2,A=S/2,N=Math.min(g,S)/2*.8,v=d.map((e=>{const t=E+N*Math.cos(e.startAngle),a=A+N*Math.sin(e.startAngle),n=E+N*Math.cos(e.endAngle),i=A+N*Math.sin(e.endAngle),r=e.endAngle-e.startAngle>Math.PI?1:0,o=[`M ${E},${A}`,`L ${t},${a}`,`A ${N},${N} 0 ${r},1 ${n},${i}`,"Z"].join(" "),s=.7*N,l=E+s*Math.cos(e.midAngle),c=A+s*Math.sin(e.midAngle);return{...e,path:o,labelPosition:{x:l,y:c}}})),_=u?.showTooltips??h?.showTooltips??!0;return t(a,{children:[v.map(((a,n)=>{const i=l?.pointIndex===n;return t("g",{children:[e("path",{d:a.path,fill:a.color,className:"c-chart__pie-slice "+(i?"c-chart__pie-slice--hovered":""),onClick:()=>{m(n),s.onDataPointClick?.(a.dataPoint,0,n)},onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();s.onPointHover(0,n,a.labelPosition.x,a.labelPosition.y,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:s.onPointLeave}),r.showLabels&&e("text",{x:a.labelPosition.x,y:a.labelPosition.y,textAnchor:"middle",className:"c-chart__pie-label",children:p(a)})]},`slice-${n}`)})),_&&l&&c[l.pointIndex]&&e(Lt,{dataPoint:c[l.pointIndex],datasetLabel:o[0]?.label,datasetColor:d[l.pointIndex]?.color,position:{x:l.clientX,y:l.clientY},visible:!0})]})},onDataPointClick:o,...s})})));Ft.displayName="PieChart";const Vt=p(s((({datasets:n=[],config:i={},radarOptions:r={},onDataPointClick:o,...s},l)=>{const{gridLevels:c=5,showGrid:d=!0,showAxisLabels:u=!0,fillArea:h=!0,fillOpacity:m=.3,showDataPoints:p=!0,pointRadius:g=4,lineWidth:S=2,smooth:E=!1,scaleType:A="linear",scaleMin:N=0,scaleMax:v}=r;return e(Tt,{ref:l,type:"radar",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:r,handlers:o,hoveredPoint:s,toolbarState:l,config:A})=>{if(!r.length)return null;const _=l?.showTooltips??A?.showTooltips??!0,f=n.width/2,b=n.height/2,T=.8*Math.min(f,b),C=r[0].data||[],L=2*Math.PI/C.length;let y=N,I=v;if(void 0===y||void 0===I){const e=r.flatMap((e=>e.data?.map((e=>e.value))||[]));void 0===y&&(y=Math.min(N,...e)),void 0===I&&(I=Math.max(v||0,...e))}const x=I-y,R=[];if(d){for(let t=1;t<=c;t++){const a=T*t/c;R.push(e("circle",{cx:f,cy:b,r:a,className:"c-chart__radar-grid-line",fill:"none",stroke:"var(--atomix-border-color)",strokeWidth:"1"},`grid-circle-${t}`))}for(let t=0;t<C.length;t++){const a=t*L-Math.PI/2,n=f+T*Math.cos(a),i=b+T*Math.sin(a);R.push(e("line",{x1:f,y1:b,x2:n,y2:i,className:"c-chart__radar-grid-line",stroke:"var(--atomix-border-color)",strokeWidth:"1"},`grid-radial-${t}`))}}const O=[];if(u)for(let t=0;t<C.length;t++){const a=t*L-Math.PI/2,n=f+(T+20)*Math.cos(a),i=b+(T+20)*Math.sin(a);O.push(e("text",{x:n,y:i,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__radar-axis-label",children:C[t]?.label},`label-${t}`))}const M=r.map(((a,n)=>{const r=a.color||i[n%i.length],l=[];for(let e=0;e<a.data?.length;e++){const t=a.data[e]?.value||0,n=T*(x>0?(t-y)/x:0),i=e*L-Math.PI/2,r=f+n*Math.cos(i),o=b+n*Math.sin(i);l.push({x:r,y:o,value:t,point:a.data[e]})}if(0===l.length)return null;let c="";if(E&&l.length>2){c=`M ${l[0].x},${l[0].y}`;for(let e=1;e<l.length;e++)c+=` L ${l[e].x},${l[e].y}`;c+=` L ${l[0].x},${l[0].y} Z`}else{c=`M ${l[0].x},${l[0].y}`;for(let e=1;e<l.length;e++)c+=` L ${l[e].x},${l[e].y}`;c+=` L ${l[0].x},${l[0].y} Z`}return t("g",{children:[h&&e("path",{d:c,fill:r,fillOpacity:m,className:"c-chart__radar-area"}),e("path",{d:c,fill:"none",stroke:r,strokeWidth:S,className:"c-chart__radar-line"}),p&&l.map(((t,a)=>{const i=s?.datasetIndex===n&&s?.pointIndex===a;return e("g",{children:e("circle",{cx:t.x,cy:t.y,r:i?1.5*g:g,fill:r,className:"c-chart__radar-point "+(i?"c-chart__radar-point--hovered":""),onClick:()=>o.onDataPointClick?.(t.point,n,a),onMouseEnter:e=>{const i=e.currentTarget.getBoundingClientRect();o.onPointHover(n,a,t.x,t.y,i.left+i.width/2,i.top+i.height/2)},onMouseLeave:o.onPointLeave})},`point-${n}-${a}`)}))]},`dataset-${n}`)}));return t(a,{children:[t("g",{children:[R,M,O]}),_&&s&&e(Lt,{dataPoint:r[s.datasetIndex]?.data?.[s.pointIndex],datasetLabel:r[s.datasetIndex]?.label,datasetColor:r[s.datasetIndex]?.color||i[s.datasetIndex],position:{x:s.clientX,y:s.clientY},visible:!0})]})},onDataPointClick:o,...s})})));Vt.displayName="RadarChart";const Ht=p(s((({datasets:n=[],config:i={},scatterOptions:r={pointRadius:4,showLabels:!1,enableHoverEffects:!0},onDataPointClick:o,...s},l)=>e(Tt,{ref:l,type:"scatter",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:o,handlers:s,hoveredPoint:l,toolbarState:c,config:d})=>{if(!o.length)return null;const u=c?.showTooltips??d?.showTooltips??!0,h=[];return o.forEach(((a,o)=>{const l=a.color||i[o%i.length];a.data?.forEach(((i,c)=>{const d=void 0!==i.x?n.padding.left+i.x/100*n.innerWidth:n.xScale(c,a.data?.length),u=void 0!==i.y?n.padding.top+n.innerHeight-i.y/100*n.innerHeight:n.yScale(i.value);h.push(t("g",{children:[e("circle",{cx:d,cy:u,r:i.size||r.pointRadius||4,fill:i.color||l,className:"c-chart__scatter-point",onClick:()=>s.onDataPointClick?.(i,o,c),onMouseEnter:e=>{if(r.enableHoverEffects){const t=Math.max(0,1.5*(i.size||r.pointRadius||4));e.currentTarget.setAttribute("r",String(t))}const t=e.currentTarget.getBoundingClientRect();s.onPointHover(o,c,d,u,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:e=>{if(r.enableHoverEffects){const t=Math.max(0,i.size||r.pointRadius||4);e.currentTarget.setAttribute("r",String(t))}s.onPointLeave()}}),r.showLabels&&i.label&&e("text",{x:d,y:u-10,textAnchor:"middle",className:"c-chart__scatter-label",children:String(i.label).replace(/[<>&"']/g,(e=>({"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;","'":"&#x27;"}[e]||e)))})]},`point-${o}-${c}`))}))})),t(a,{children:[h,u&&l&&e(Lt,{dataPoint:o[l.datasetIndex]?.data?.[l.pointIndex],datasetLabel:o[l.datasetIndex]?.label,datasetColor:o[l.datasetIndex]?.color||i[l.datasetIndex],position:{x:l.clientX,y:l.clientY},visible:!0})]})},onDataPointClick:o,...s}))));Ht.displayName="ScatterChart";const Yt=p(s((({data:n=[],algorithm:r="squarified",colorConfig:o={scheme:"category"},labelConfig:s={showLabels:!0,minSize:1e3,fontSize:12,textColor:"white"},onDataPointClick:l,config:u={},...h},m)=>{const[p,g]=i(null),[S,E]=i(null);i({x:0,y:0}),c((()=>{if(!n.length)return null;const e=new Map;n.forEach((t=>e.set(t.id,t)));const t=[],a=new Set,i=e=>{if(a.has(e.id))return e;a.add(e.id);const t=n.filter((t=>t.parent===e.id));return t.length>0&&(e.children=t.map((e=>i(e))),e.value=e.children.reduce(((e,t)=>e+t.value),0)),e};return n.forEach((a=>{a.parent&&e.has(a.parent)||t.push(i(a))})),1===t.length?t[0]:{id:"root",label:"Root",value:t.reduce(((e,t)=>e+t.value),0),children:t}}),[n]);const A=d(((e,t,a)=>{if(e.color)return e.color;const{scheme:i,palette:r}=o,s=r||["var(--atomix-primary)","var(--atomix-error)","var(--atomix-success)","var(--atomix-warning)","var(--atomix-primary-5)","var(--atomix-info)","var(--atomix-success-5)","var(--atomix-warning-7)","var(--atomix-primary-3)","var(--atomix-primary-7)"];switch(i){case"category":default:return s[a%s.length];case"depth":const i=["var(--atomix-blue-9)","var(--atomix-blue-6)","var(--atomix-blue-5)","var(--atomix-blue-4)","var(--atomix-blue-2)"];return i[Math.min(t,i.length-1)];case"value":if(n.length>0){const t=Math.max(...n.map((e=>e.value))),a=Math.min(...n.map((e=>e.value))),i=(e.value-a)/(t-a);return`hsl(${220+100*i}, 70%, ${30+40*i}%)`}return s[0]}}),[o,n]),N=d(((e,t,a,n,i)=>{if(0===e.length)return;const r=e.reduce(((e,t)=>e+t.value),0);if(1===e.length){const r=e[0];return void(r&&(r.x=t,r.y=a,r.width=n,r.height=i))}const o=[...e].sort(((e,t)=>t.value-e.value)),s=e=>Math.max(e.width/e.height,e.height/e.width);let l=[],c=[...o],d=t,u=a,h=n,m=i;for(;c.length>0;){const e=c.shift();if(!e)break;l.push(e);const t=l.reduce(((e,t)=>e+t.value),0),a=t/r;let n,i;h>=m?(n=h*a,i=m):(n=h,i=m*a);let o=!1;if(c.length>0){const e=c[0];if(!e)break;const a=[...l,e],d=a.reduce(((e,t)=>e+t.value),0),u=d/r;let p,g;h>=m?(p=h*u,g=m):(p=h,g=m*u);const S=Math.max(...l.filter((e=>e)).map((e=>{const a=e.value/t;return s({width:h>=m?n:n*a,height:h>=m?i*a:i})})));o=Math.max(...a.filter((e=>e)).map((e=>{const t=e.value/d;return s({width:h>=m?p:p*t,height:h>=m?g*t:g})})))<=S}if(!o){let e=d,a=u;l.forEach((r=>{const o=r.value/t;h>=m?(r.x=e,r.y=a,r.width=n,r.height=m*o,a+=r.height):(r.x=e,r.y=a,r.width=h*o,r.height=i,e+=r.width)})),h>=m?(d+=n,h-=n):(u+=i,m-=i),l=[]}}}),[]);return e(Tt,{ref:m,type:"treemap",datasets:[{label:"Treemap Data",data:n}],config:u,renderContent:({scales:i,colors:o,datasets:l,handlers:c,hoveredPoint:d})=>{if(!n.length)return null;const u=i.width-40,h=i.height-40,m=n.filter((e=>!e.children||0===e.children.length));if(!m.length)return null;const v=m.reduce(((e,t)=>e+t.value),0),_=m.map(((e,t)=>({id:e.id,label:e.label,value:e.value,color:A(e,0,t)||"transparent",x:0,y:0,width:0,height:0,depth:0,children:[],originalData:e})));if("squarified"===r&&v>0)N(_,20,20,u,h);else{const e=Math.ceil(Math.sqrt(m.length)),t=Math.ceil(m.length/e),a=u/e,n=h/t;_.forEach(((t,i)=>{const r=i%e,o=Math.floor(i/e);t.x=20+r*a,t.y=20+o*n,t.width=a,t.height=n}))}return e(a,{children:_.map((a=>{const n=p===a,i=S===a,r=a.width*a.height,o=s.showLabels&&r>=(s.minSize||1e3);return t("g",{children:[e("rect",{x:a.x,y:a.y,width:a.width,height:a.height,fill:a.color,className:`c-chart__treemap-node ${n?"c-chart__treemap-node--hovered":""} ${i?"c-chart__treemap-node--selected":""}`,onClick:()=>{E(a),c.onDataPointClick?.(a.originalData,0,0)},onMouseEnter:e=>{g(a);const t=e.currentTarget.getBoundingClientRect();c.onPointHover(0,0,a.x,a.y,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:()=>{g(null),c.onPointLeave()}}),o&&e("text",{x:a.x+a.width/2,y:a.y+a.height/2,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__treemap-label",style:{fontSize:s.fontSize,fill:s.textColor},children:a.label})]},a.id)}))})},onDataPointClick:l,interactive:!0,...h})})));Yt.displayName="TreemapChart";const Kt=p(s((({waterfallData:t=[],config:a={},waterfallOptions:n={},onDataPointClick:i,...r},o)=>{const{showConnectors:s=!0,connectorColor:l="var(--atomix-gray-1)",connectorStyle:c="dashed",showValues:d=!0,valuePosition:u="top",colors:h={positive:"var(--atomix-success)",negative:"var(--atomix-error)",total:"var(--atomix-primary)",subtotal:"var(--atomix-secondary)"},barWidth:m=.6,showCumulativeLine:p=!1,cumulativeLineColor:g="var(--atomix-primary)",animate:S=!0,animationDuration:E=1e3,animationDelay:A=100,valueFormatter:N=e=>e.toLocaleString(),showBaseline:v=!0,baselineColor:_="var(--atomix-gray-2)"}=n;return e(Tt,{ref:o,type:"waterfall",datasets:[{label:"Waterfall Data",data:t}],config:a,renderContent:({scales:a,colors:n,datasets:i,handlers:r,hoveredPoint:o,toolbarState:E,config:f})=>{if(!t.length)return null;const b=E?.animationsEnabled??f?.animate??S,T=60,C=a.width-120,L=a.height-120;let y=0;const I=t.map(((e,t)=>{const a="total"===e.type||"subtotal"===e.type?0:y;let n;return"total"===e.type||"subtotal"===e.type?(n=e.value,y=e.value):(n=y+e.value,y=n),{...e,startValue:a,endValue:n,cumulativeValue:y,index:t}})),x=I.flatMap((e=>[e.startValue,e.endValue])),R=Math.min(0,...x),O=Math.max(...x)-R,M=C/t.length*m,w=C/t.length,D=e=>T+e*w+w/2,B=e=>T+L-(e-R)/O*L,P=[];if(v){const t=B(0);P.push(e("line",{x1:T,y1:t,x2:a.width-T,y2:t,stroke:_,className:"c-chart__axis-line",opacity:"0.7"},"baseline"))}if(I.forEach(((t,a)=>{const n=D(a),i=Math.min(B(t.startValue),B(t.endValue)),o=Math.max(B(t.startValue),B(t.endValue)),m=o-i;let p=t.color;if(p||(p="total"===t.type?h.total:"subtotal"===t.type?h.subtotal:t.value>=0?h.positive:h.negative),P.push(e("rect",{x:n-M/2,y:i,width:M,height:Math.max(m,2),fill:p,className:"c-chart__waterfall-bar "+(b?"c-chart__waterfall-bar--animated":""),style:{animationDelay:b?a*A+"ms":"0ms"},onClick:()=>r.onDataPointClick?.(t,0,a),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();r.onPointHover(0,a,n,i,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:r.onPointLeave},`bar-${a}`)),d){let r=i,s=t.value;r="center"===u?i+m/2:"bottom"===u?o+15:i-5,"total"!==t.type&&"subtotal"!==t.type||(s=t.endValue),P.push(e("text",{x:n,y:r,textAnchor:"middle",dominantBaseline:"center"===u?"middle":"auto",className:"c-chart__waterfall-value "+("center"===u?"c-chart__waterfall-value--center":"c-chart__waterfall-value--outside"),children:N(s)},`value-${a}`))}if(s&&a<I.length-1){const i=I[a+1];if(i){const r=B(t.endValue),o=B(i.startValue),s=D(a+1);if(Math.abs(t.endValue-i.startValue)>.01){const t="dashed"===c?"5,5":"dotted"===c?"2,2":"none";P.push(e("line",{x1:n+M/2,y1:r,x2:s-M/2,y2:o,stroke:l,strokeDasharray:t,className:"c-chart__waterfall-connector"},`connector-${a}`))}}}})),p){const t=I.map(((e,t)=>({x:D(t),y:B(e.cumulativeValue)}))),a=`M ${t.map((e=>`${e.x},${e.y}`)).join(" L ")}`;P.push(e("path",{d:a,fill:"none",stroke:g,className:"c-chart__waterfall-cumulative-line"},"cumulative-line")),t.forEach(((t,a)=>{P.push(e("circle",{cx:t.x,cy:t.y,r:"4",fill:g,className:"c-chart__waterfall-cumulative-point"},`line-point-${a}`))}))}return P.push(e("line",{x1:T,y1:a.height-T,x2:a.width-T,y2:a.height-T,stroke:"var(--atomix-gray-4)",strokeWidth:"2"},"x-axis")),P.push(e("line",{x1:T,y1:T,x2:T,y2:a.height-T,stroke:"var(--atomix-gray-4)",className:"c-chart__axis-line"},"y-axis")),I.forEach(((t,n)=>{const i=T+n*w+w/2;P.push(e("text",{x:i,y:a.height-T+20,textAnchor:"middle",className:"c-chart__axis-label",fill:"var(--atomix-gray-6)",transform:`rotate(-45, ${i}, ${a.height-T+20})`,children:t.label},`x-label-${n}`))})),e("g",{children:P})},onDataPointClick:i,...r})})));Kt.displayName="WaterfallChart";const $t={sm:16,md:24,lg:32},Wt=({className:t="",style:a,value:n,defaultValue:r="light",onChange:s,lightIcon:l,darkIcon:c,size:u="md",disabled:h=!1,storageKey:m="atomix-color-mode",dataAttribute:p="data-atomix-color-mode",disableStorage:g=!1,disableSystemPreference:S=!1,"aria-label":E,showTooltip:A=!0})=>{const N=void 0!==n,[v,_]=i(r),f=N?n:v;o((()=>{if(!N&&"undefined"!=typeof window){if(!g)try{const e=localStorage.getItem(m);if("light"===e||"dark"===e)return void _(e)}catch(e){}if(!S&&window.matchMedia){window.matchMedia("(prefers-color-scheme: dark)").matches&&_("dark")}}}),[N,g,S,m]),o((()=>{if("undefined"==typeof window)return;const e="dark"===f?"dark":"light";if(document.body.setAttribute(p,e),!g)try{localStorage.setItem(m,e)}catch(e){}}),[f,p,g,m]),o((()=>{if(N||S||"undefined"==typeof window)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),t=e=>{if(g)_(e.matches?"dark":"light");else try{localStorage.getItem(m)||_(e.matches?"dark":"light")}catch(e){}};return e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}}),[N,S,g,m]);const b=d((()=>{if(h)return;const e="light"===f?"dark":"light";N||_(e),s?.(e)}),[h,f,N,s]),T=$t[u],C="light"===f?"dark":"light",L=E||`Switch to ${C} mode`,y=A?`Switch to ${C} mode`:void 0,I=e("svg",{viewBox:"0 0 24 24",width:T,height:T,fill:"currentColor","aria-hidden":"true",children:e("path",{d:"M9.37 5.51c-.18.64-.27 1.31-.27 1.99 0 4.08 3.32 7.4 7.4 7.4.68 0 1.35-.09 1.99-.27C17.45 17.19 14.93 19 12 19c-3.86 0-7-3.14-7-7 0-2.93 1.81-5.45 4.37-6.49zM12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z"})}),x=e("svg",{viewBox:"0 0 24 24",width:T,height:T,fill:"currentColor","aria-hidden":"true",children:e("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41L5.99 4.58zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41l-1.06-1.06zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41.39.39 1.03.39 1.41 0l1.06-1.06zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41.39.39 1.03.39 1.41 0l1.06-1.06z"})});return e("button",{type:"button",className:`c-color-mode-toggle c-color-mode-toggle--${u} ${h?"c-color-mode-toggle--disabled":""} ${t}`,onClick:b,disabled:h,"aria-label":L,"aria-pressed":"dark"===f,title:y,style:a,children:"light"===f?l||I:c||x})};Wt.displayName="ColorModeToggle";const Qt=s((({target:a,show:r=["days","hours","minutes","seconds"],separator:s=":",focused:l=!1,className:c="",style:d,onComplete:u},h)=>{const m="string"==typeof a?new Date(a):a,[p,g]=i((()=>new Date)),[S,E]=i(!1);o((()=>{if(S)return;const e=setInterval((()=>{g(new Date)}),1e3);return()=>clearInterval(e)}),[S]);const A=m.getTime()-p.getTime(),{days:N,hours:v,minutes:_,seconds:f}=function(e){const t=Math.max(0,Math.floor(e/1e3));return{days:Math.floor(t/86400),hours:Math.floor(t%86400/3600),minutes:Math.floor(t%3600/60),seconds:t%60}}(A);o((()=>{A<=0&&!S&&(E(!0),u&&u())}),[A,S,u]);const b=[];return r.includes("days")&&b.push({label:"Days",value:N}),r.includes("hours")&&b.push({label:"Hours",value:v}),r.includes("minutes")&&b.push({label:"Minutes",value:_}),r.includes("seconds")&&b.push({label:"Seconds",value:f}),e("div",{ref:h,className:`c-countdown${l?" c-countdown--focused":""} ${c}`.trim(),style:d,children:b.map(((a,i)=>t(n.Fragment,{children:[t("div",{className:"c-countdown__time",children:[e("span",{className:"c-countdown__time-count",children:String(a.value).padStart(2,"0")}),e("span",{className:"c-countdown__time-label",children:a.label})]}),i<b.length-1&&e("span",{className:"c-countdown__separator",children:s})]},a.label)))})}));function Zt({data:e=[],columns:t=[],sortable:a=!1,paginated:n=!1,pageSize:r=10,onSort:s,initialSortConfig:l}){const[u,h]=i(l||null),[m,p]=i(1),[g,S]=i(""),E=d((e=>{if(!a)return;let t="asc";u&&u.key===e&&"asc"===u.direction&&(t="desc");const n={key:e,direction:t};h(n),s&&s(n)}),[a,u,s]),A=d((t=>{t<1||t>Math.ceil(e.length/r)||p(t)}),[e.length,r]),N=d((e=>{S(e),p(1)}),[]),v=c((()=>{if(!g)return e;const a=g.toLowerCase();return e.filter((e=>t.some((t=>{const n=e[t.key];return null!=n&&String(n).toLowerCase().includes(a)}))))}),[e,t,g]),_=c((()=>u&&a?[...v].sort(((e,t)=>{const a=e[u.key],n=t[u.key];return null==a?"asc"===u.direction?-1:1:null==n?"asc"===u.direction?1:-1:"string"==typeof a&&"string"==typeof n?"asc"===u.direction?a.localeCompare(n):n.localeCompare(a):"asc"===u.direction?a>n?1:-1:a>n?-1:1})):v),[v,u,a]),f=c((()=>{if(!n)return _;const e=(m-1)*r;return _.slice(e,e+r)}),[_,n,m,r]),b=c((()=>n?Math.max(1,Math.ceil(_.length/r)):1),[_.length,n,r]);return o((()=>{p(1)}),[e]),o((()=>{m>b&&p(Math.max(1,b))}),[m,b]),{displayData:f,sortConfig:u,currentPage:m,totalPages:b,handleSort:E,handlePageChange:A,handleSearch:N}}function qt(e){const t={variant:"primary",size:"md",fullscreen:!1,...e};return{defaultProps:t,generateSpinnerClass:e=>{const{variant:a=t.variant,size:n=t.size,fullscreen:i=t.fullscreen,className:r=""}=e,o="c-spinner";return`${o} ${a?`${o}--${a}`:""} ${"md"!==n?`${o}--${n}`:""} ${i?`${o}--fullscreen`:""} ${r}`.trim()}}}Qt.displayName="Countdown";const Xt=({size:t="md",variant:a="primary",fullscreen:n=!1,className:i="",style:r,glass:o})=>{const{generateSpinnerClass:s}=qt({size:t,variant:a,fullscreen:n}),l=s({size:t,variant:a,fullscreen:n,className:`${i} ${o?"c-spinner--glass":""}`.trim()}),c=e("div",{className:l,style:r,role:"status",children:e("span",{className:Y.VISUALLY_HIDDEN,children:"Loading..."})});if(o){const t={displacementScale:20,blurAmount:1,cornerRadius:999,mode:"shader"},a=!0===o?t:{...t,...o};return e(Je,{...a,children:c})}return c};Xt.displayName="Spinner";const jt="...",Jt=(e,t)=>{const a=t-e+1;return Array.from({length:a},((t,a)=>a+e))},ea=({currentPage:e,totalPages:t,siblingCount:a=1,onPageChange:n})=>{const i=c((()=>{if(a+5>=t)return Jt(1,t);const n=Math.max(e-a,1),i=Math.min(e+a,t),r=n>2,o=i<t-2,s=t;if(!r&&o){return[...Jt(1,3+2*a),jt,t]}if(r&&!o){let e=Jt(t-(3+2*a)+1,t);return[1,jt,...e]}if(r&&o){let e=Jt(n,i);return[1,jt,...e,jt,s]}return[]}),[t,a,e]),r=a=>{a>=1&&a<=t&&a!==e&&n(a)};return{paginationRange:i,currentPage:e,totalPages:t,goToPage:r,nextPage:()=>{r(e+1)},prevPage:()=>{r(e-1)},firstPage:()=>{r(1)},lastPage:()=>{r(t)},DOTS:jt}},ta=({type:t,onClick:a,disabled:n,label:i,iconName:r})=>e("li",{className:`c-pagination__item c-pagination__item--${t} ${n?"is-disabled":""}`,"aria-disabled":n,children:e("button",{type:"button",className:"c-pagination__link",onClick:a,disabled:n,"aria-label":i,children:e(nt,{name:r,size:"sm","aria-hidden":"true"})})}),aa=({currentPage:a=J.currentPage,totalPages:n=J.totalPages,onPageChange:i,siblingCount:r=J.siblingCount,showFirstLastButtons:o=J.showFirstLastButtons,showPrevNextButtons:s=J.showPrevNextButtons,size:l=J.size,className:c="",style:d,ariaLabel:u="Pagination",glass:h})=>{const{paginationRange:m,goToPage:p,nextPage:g,prevPage:S,firstPage:E,lastPage:A}=ea({currentPage:a,totalPages:n,siblingCount:r,onPageChange:i});if(0===a||m.length<2)return null;const N=e("nav",{className:`c-pagination c-pagination--${l} ${c}`,style:d,"aria-label":u,children:t("ul",{className:"c-pagination__items",children:[o&&e(ta,{type:"first",onClick:E,disabled:1===a,label:"Go to first page",iconName:"SkipBack"}),s&&e(ta,{type:"prev",onClick:S,disabled:1===a,label:"Go to previous page",iconName:"CaretLeft"}),m.map(((t,n)=>{if(t===jt)return e("li",{className:"c-pagination__item c-pagination__item--dots","aria-hidden":"true",children:"…"},`dots-${n}`);const i=t===a;return e("li",{className:"c-pagination__item "+(i?"is-active":""),"aria-current":i?"page":void 0,children:e("button",{type:"button",className:"c-pagination__link",onClick:()=>p(t),"aria-label":`Page ${t}`,"aria-current":i?"page":void 0,children:t})},t)})),s&&e(ta,{type:"next",onClick:g,disabled:a===n,label:"Go to next page",iconName:"CaretRight"}),o&&e(ta,{type:"last",onClick:A,disabled:a===n,label:"Go to last page",iconName:"SkipForward"})]})});if(h){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===h?t:{...t,...h};return e(Je,{...a,children:N})}return N};aa.displayName="Pagination";const na=({data:a,columns:n,className:i,style:o,sortable:s=!1,filterable:l=!1,paginated:c=!1,pageSize:d=10,striped:u=!1,bordered:h=!1,dense:m=!1,loading:p=!1,emptyMessage:g="No data available",onRowClick:S,onSort:E,...A})=>{const N=r(null),{displayData:v,sortConfig:_,currentPage:f,totalPages:b,handleSort:T,handlePageChange:C,handleSearch:L}=Zt({data:a,columns:n,sortable:s,paginated:c,pageSize:d,onSort:E}),y=[j.base,u&&j.striped,h&&j.bordered,m&&j.dense,p&&j.loading,i].filter(Boolean).join(" ");return t("div",{className:j.container,style:o,...A,children:[l?e("div",{className:j.toolbar,children:e("div",{className:j.search,children:e("input",{type:"text",placeholder:"Search...",className:`${j.searchInput} c-input`,onChange:e=>L(e.target.value),"aria-label":"Search table"})})}):null,e("div",{className:j.tableWrapper,children:t("table",{ref:N,className:y,children:[e("thead",{className:j.header,children:e("tr",{children:n.map(((a,n)=>e("th",{className:`${j.headerCell} ${!1!==a.sortable&&s?j.sortable:""}`,onClick:()=>!1!==a.sortable&&s?T(a.key):null,"aria-sort":_?.key===a.key?"asc"===_.direction?"ascending":"descending":void 0,children:t("div",{className:j.headerContent,children:[e("span",{children:a.title}),!1!==a.sortable&&s&&e("span",{className:j.sortIcon,children:_?.key===a.key?"asc"===_.direction?e(nt,{name:"CaretUp",size:"sm"}):e(nt,{name:"CaretDown",size:"sm"}):null})]})},`header-${n}`)))})}),p?e("tbody",{children:e("tr",{children:e("td",{colSpan:n.length,className:j.loadingCell,children:e("div",{className:j.loadingIndicator,children:e(Xt,{size:"md",variant:"primary"})})})})}):0===v.length?e("tbody",{children:e("tr",{children:e("td",{colSpan:n.length,className:j.emptyCell,children:g})})}):e("tbody",{children:v.map(((t,a)=>e("tr",{className:j.row,onClick:S?()=>S(t):void 0,tabIndex:S?0:void 0,role:S?"button":void 0,children:n.map(((n,i)=>e("td",{className:j.cell,children:n.render?n.render(t[n.key],t):t[n.key]},`cell-${a}-${i}`)))},`row-${a}`)))})]})}),!c||b<=1?null:e("div",{className:j.pagination,children:e(aa,{currentPage:f,totalPages:b,onPageChange:C,showFirstLastButtons:!0,showPrevNextButtons:!0,size:"sm",ariaLabel:"Data table pagination",className:"c-data-table__pagination"})})]})};function ia(e){const t=new Date;return t.setMonth(e),t.toLocaleString("default",{month:"long"})}function ra(e,t){return new Date(e,t+1,0).getDate()}function oa(e,t){if(!e)return"";const a=e.getDate(),n=e.getMonth()+1,i=e.getFullYear();return t.replace("yyyy",i.toString()).replace("MM",n.toString().padStart(2,"0")).replace("M",n.toString()).replace("dd",a.toString().padStart(2,"0")).replace("d",a.toString())}function sa({value:e,onChange:t,selectionMode:a="single",startDate:n,endDate:s,onRangeChange:l,format:c="MM/dd/yyyy",minDate:u,maxDate:h,inline:m=!1}={}){const[p,g]=i(m),[S,E]=i(e?oa(e,c):""),[A,N]=i(n&&s?`${oa(n,c)} - ${oa(s,c)}`:n?`${oa(n,c)} - Select end date`:""),[v,_]=i(e||n||new Date),[f,b]=i("days"),[T,C]=i(!n||n&&s?"start":"end"),L=r(null),y=r(null),I=new Date,x=v.getMonth(),R=v.getFullYear(),O=ra(R,x),M=new Date(R,x,1).getDay();o((()=>{"single"===a?E(e?oa(e,c):""):(N(n&&s?`${oa(n,c)} - ${oa(s,c)}`:n?`${oa(n,c)} - Select end date`:""),C(!n||n&&s?"start":"end"))}),[e,n,s,c,a]);const w=d((e=>{const i=new Date(R,x,e);if(!(u&&i<u||h&&i>h))if("single"===a)t&&t(i),E(oa(i,c)),m||g(!1);else if("start"===T)l&&l({startDate:i,endDate:null}),N(`${oa(i,c)} - Select end date`),C("end");else{if(!n)return;i<n?(l&&l({startDate:i,endDate:n}),N(`${oa(i,c)} - ${oa(n,c)}`)):(l&&l({startDate:n,endDate:i}),N(`${oa(n,c)} - ${oa(i,c)}`)),m||g(!1),C("start")}}),[R,x,u,h,t,l,c,m,a,T,n]),D=d((()=>{_(new Date(R,x-1,1))}),[R,x]),B=d((()=>{_(new Date(R,x+1,1))}),[R,x]),P=d((()=>{_(new Date(R-1,x,1))}),[R,x]),k=d((()=>{_(new Date(R+1,x,1))}),[R,x]),U=d((()=>{b("months")}),[]),G=d((()=>{b("years")}),[]),z=d((e=>{_(new Date(R,e,1)),b("days")}),[R]),F=d((e=>{_(new Date(e,x,1)),b("months")}),[x]),V=d((()=>{const e=new Date;_(e),"single"===a?w(e.getDate()):_(new Date)}),[w,a]),H=d((()=>{"single"===a?(E(""),t&&t(null)):(N(""),C("start"),l&&l({startDate:null,endDate:null}))}),[t,l,a]),Y=d((e=>{if("single"===a){E(e.target.value);const a=new Date(e.target.value);isNaN(a.getTime())||(t&&t(a),_(a))}else{N(e.target.value);const t=e.target.value.split("-");if(2===t.length){const e=t[0]?.trim(),a=t[1]?.trim();if(!e||!a)return;const n=new Date(e);if(isNaN(n.getTime())||_(n),e&&a){const t=new Date(e),n=new Date(a);isNaN(t.getTime())||isNaN(n.getTime())||l&&l({startDate:t,endDate:n})}}}}),[t,l,a]),K=d((()=>{m||g(!0)}),[m]),$=d((e=>{L.current&&!L.current.contains(e.target)&&y.current&&!y.current.contains(e.target)&&g(!1)}),[]);o((()=>(p&&!m?document.addEventListener("mousedown",$):document.removeEventListener("mousedown",$),()=>{document.removeEventListener("mousedown",$)})),[p,$,m]);const W=d((()=>{const e=[],t=ra(0===x?R-1:R,0===x?11:x-1);for(let a=M-1;a>=0;a--)e.push({day:t-a,month:0===x?11:x-1,year:0===x?R-1:R,isCurrentMonth:!1});for(let t=1;t<=O;t++)e.push({day:t,month:x,year:R,isCurrentMonth:!0});const a=42-e.length;for(let t=1;t<=a;t++)e.push({day:t,month:11===x?0:x+1,year:11===x?R+1:R,isCurrentMonth:!1});return e}),[O,M,x,R]),Q=d((()=>{const e=[];for(let t=0;t<12;t++)e.push({month:t,name:ia(t)});return e}),[]),Z=d((()=>{const e=[],t=R-6;for(let a=0;a<12;a++)e.push(t+a);return e}),[R]),q=d(((e,t,a)=>function(e,t,a){return!(!e||t&&e<t||a&&e>a)}(new Date(e,t,a),u,h)),[u,h]),X=d(((t,i,r)=>{if("single"===a)return!!e&&(e.getFullYear()===t&&e.getMonth()===i&&e.getDate()===r);if(!n&&!s)return!1;if(n&&!s)return n.getFullYear()===t&&n.getMonth()===i&&n.getDate()===r;if(n&&s){const e=n.getFullYear()===t&&n.getMonth()===i&&n.getDate()===r,a=s.getFullYear()===t&&s.getMonth()===i&&s.getDate()===r;return e||a}return!1}),[e,a,n,s]),j=d(((e,t,i)=>{if("range"!==a||!n||!s)return!1;const r=new Date(e,t,i);return r>n&&r<s}),[a,n,s]),J=d(((e,t,a)=>I.getFullYear()===e&&I.getMonth()===t&&I.getDate()===a),[I]),ee=d((e=>{const t=new Date(e.valueOf()),a=(e.getDay()+6)%7;t.setDate(t.getDate()-a+3);const n=t.valueOf();return t.setMonth(0,1),4!==t.getDay()&&t.setMonth(0,1+(4-t.getDay()+7)%7),1+Math.ceil((n-t.valueOf())/6048e5)}),[]);return{isOpen:p,inputValue:S,rangeInputValue:A,viewDate:v,viewMode:f,currentMonth:x,currentYear:R,selectionMode:a,rangeSelectionState:T,datePickerRef:L,inputRef:y,startDate:n,endDate:s,setIsOpen:g,handleDateSelect:w,handlePrevMonth:D,handleNextMonth:B,handlePrevYear:P,handleNextYear:k,handleTodayClick:V,handleClear:H,handleInputChange:Y,handleInputFocus:K,switchToMonthView:U,switchToYearView:G,selectMonth:z,selectYear:F,generateDays:W,generateMonths:Q,generateYears:Z,isDateSelectable:q,isDateSelected:X,isDateInSelectedRange:j,isToday:J,getWeekNumber:ee}}na.displayName="DataTable";const la=s((({value:n,onChange:i,selectionMode:r="single",startDate:o,endDate:s,onRangeChange:l,format:c="MM/dd/yyyy",minDate:d,maxDate:u,placeholder:h="Select date...",disabled:m=!1,readOnly:p=!1,clearable:g=!0,showTodayButton:S=!0,showWeekNumbers:A=!1,inline:N=!1,id:v,name:_,className:f="",placement:b="bottom-start",inputClassName:T="",size:C="md",style:L,glass:y,...I},x)=>{const{isOpen:R,inputValue:O,rangeInputValue:M,viewMode:w,currentMonth:D,currentYear:B,selectionMode:P,rangeSelectionState:k,datePickerRef:U,inputRef:G,startDate:z,endDate:F,setIsOpen:V,handleInputChange:H,handleInputFocus:Y,handleClear:K,handleDateSelect:$,handleTodayClick:W,handlePrevMonth:Q,handleNextMonth:Z,handlePrevYear:q,handleNextYear:X,switchToMonthView:j,switchToYearView:J,selectMonth:ee,selectYear:te,generateDays:ae,generateMonths:ne,generateYears:ie,isDateSelectable:re,isDateSelected:oe,isDateInSelectedRange:se,isToday:le,getWeekNumber:ce}=sa({value:n,onChange:i,selectionMode:r,startDate:o,endDate:s,onRangeChange:l,minDate:d,maxDate:u,format:c,inline:N});E(x,(()=>({open:()=>V(!0),close:()=>V(!1),clear:K,focus:()=>G.current?.focus()})));const de=`c-datepicker ${f} ${N?"c-datepicker--inline":""}`.trim(),ue=`c-datepicker__input c-input c-input--${C} ${T}`.trim(),he=v||`datepicker-${Math.random().toString(36).substring(2,9)}`,me=`${he}-calendar`,pe="single"===r?O:M,ge=e=>["January","February","March","April","May","June","July","August","September","October","November","December"][e]||"",Se=()=>{},Ee=()=>{},Ae=()=>{},Ne=()=>t(a,{children:[t("div",{className:"c-datepicker__header",children:["days"===w&&t(a,{children:[e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-year",onClick:q,"aria-label":"Previous year",children:e(nt,{name:"CaretDoubleLeft",size:"sm"})}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-month",onClick:Q,"aria-label":"Previous month",children:e(nt,{name:"CaretLeft",size:"sm"})}),t("button",{type:"button",className:"c-datepicker__view-switch",onClick:j,"aria-label":`${ge(D)} ${B}`,children:[ge(D)," ",B]}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-month",onClick:Z,"aria-label":"Next month",children:e(nt,{name:"CaretRight",size:"sm"})}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-year",onClick:X,"aria-label":"Next year",children:e(nt,{name:"CaretDoubleRight",size:"sm"})})]}),"months"===w&&t(a,{children:[e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-year",onClick:q,"aria-label":"Previous year",children:e(nt,{name:"CaretDoubleLeft",size:"sm"})}),e("button",{type:"button",className:"c-datepicker__view-switch",onClick:J,"aria-label":`Year ${B}`,children:B}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-year",onClick:X,"aria-label":"Next year",children:e(nt,{name:"CaretDoubleRight",size:"sm"})})]}),"years"===w&&t(a,{children:[e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-decade",onClick:Se,"aria-label":"Previous decade",children:e(nt,{name:"CaretDoubleLeft",size:"sm"})}),t("button",{type:"button",className:"c-datepicker__view-switch",onClick:Ae,children:[ie()[0]," - ",ie()[ie().length-1]]}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-decade",onClick:Ee,"aria-label":"Next decade",children:e(nt,{name:"CaretDoubleRight",size:"sm"})})]})]}),t("div",{className:"c-datepicker__body",children:["days"===w&&t(a,{children:[t("div",{className:"c-datepicker__weekdays"+(A?" c-datepicker__weekdays--has-weeknumber":""),role:"row",children:[A&&e("div",{className:"c-datepicker__weekday",children:"Wk"}),["Su","Mo","Tu","We","Th","Fr","Sa"].map((t=>e("div",{className:"c-datepicker__weekday",role:"columnheader",children:t},t)))]}),e("div",{className:"c-datepicker__days"+(A?" c-datepicker__days--has-weeknumber":""),role:"grid",children:(()=>{const t=[],a=ae();for(let n=0;n<a.length;n++){const i=a[n];if(!i)continue;const r=new Date(i.year,i.month,i.day),o=re(i.year,i.month,i.day),s=oe(i.year,i.month,i.day),l=le(i.year,i.month,i.day),c=se(i.year,i.month,i.day);if(A&&n%7==0){const a=ce(r);t.push(e("div",{className:"c-datepicker__weeknumber",role:"rowheader",children:a},`weeknumber-${Math.floor(n/7)}`))}t.push(e("button",{type:"button",className:`c-datepicker__day\n ${i.isCurrentMonth?"":"c-datepicker__day--outside"}\n ${s?"c-datepicker__day--selected":""}\n ${c?"c-datepicker__day--in-range":""}\n ${l?"c-datepicker__day--today":""}\n ${o?"":"c-datepicker__day--disabled"}`,onClick:()=>o&&$(i.day),disabled:!o,tabIndex:i.isCurrentMonth?0:-1,"aria-label":r.toLocaleDateString(),"aria-selected":s?"true":"false",role:"gridcell",children:i.day},`day-${n}`))}return t})()})]}),"months"===w&&e("div",{className:"c-datepicker__months",role:"grid",children:ne().map(((t,a)=>{const i=n&&n.getMonth()===t.month&&n.getFullYear()===B;return e("button",{type:"button",className:"c-datepicker__month "+(i?"c-datepicker__month--selected":""),onClick:()=>ee(t.month),"aria-selected":i?"true":"false",role:"gridcell",children:t.name.substring(0,3)},`month-${a}`)}))}),"years"===w&&e("div",{className:"c-datepicker__years",role:"grid",children:ie().map(((t,a)=>{const i=n&&n.getFullYear()===t;return e("button",{type:"button",className:"c-datepicker__year "+(i?"c-datepicker__year--selected":""),onClick:()=>te(t),"aria-selected":i?"true":"false",role:"gridcell",children:t},`year-${a}`)}))})]}),"days"===w&&t("div",{className:"c-datepicker__footer",children:["range"===r&&t("div",{className:"c-datepicker__range-status c-badge c-badge--sm c-badge--info u-w-100",children:["Selecting ","start"===k?"start":"end"," date"]}),S&&e("button",{type:"button",className:"c-datepicker__today-button c-btn c-btn--sm c-btn--outline-primary",onClick:W,"aria-label":"Go to today",children:"Today"}),!N&&e("button",{type:"button",className:"c-datepicker__close-button c-btn c-btn--sm c-btn--outline-error",onClick:()=>V(!1),"aria-label":"Close calendar",children:"Close"})]})]});return t("div",{className:de,ref:U,style:L,...I,children:[!N&&t("div",{className:"c-datepicker__input-wrapper",children:[e("input",{id:he,name:_,ref:G,type:"text",className:ue,placeholder:"single"===r?h:"start"===k?"Select start date...":z?`${oa(z,c)} - Select end date...`:"Select date range...",value:pe,onChange:H,onFocus:Y,disabled:m,readOnly:p,"aria-haspopup":"dialog","aria-expanded":R,"aria-controls":me}),g&&pe&&e("button",{type:"button",className:"c-datepicker__clear-button",onClick:K,"aria-label":"Clear date",children:e(nt,{name:"X",size:"sm"})}),e("span",{className:"c-datepicker__calendar-icon","aria-hidden":"true",children:e(nt,{name:"Calendar",size:"sm",color:"var(--atomix-secondary-text-emphasis)"})})]}),(R||N)&&e(a,{children:e("div",y?{id:me,className:`c-datepicker__calendar c-datepicker__calendar--${b} c-datepicker__calendar--glass`,role:"dialog","aria-modal":N?void 0:"true","aria-label":"Date picker",children:e(Je,{...!0===y?{displacementScale:20}:y,children:e("div",{className:"c-datepicker__glass-content",children:Ne()})})}:{id:me,className:`c-datepicker__calendar c-datepicker__calendar--${b}`,role:"dialog","aria-modal":N?void 0:"true","aria-label":"Date picker",children:Ne()})})]})}));la.displayName="DatePicker";const ca=g({isOpen:!1,close:()=>{},id:"",trigger:"click"}),da=({children:a,menu:n,placement:s="bottom-start",trigger:l="click",offset:c=he.DEFAULTS.OFFSET,isOpen:u,onOpenChange:h,closeOnClickOutside:m=!0,closeOnEscape:p=!0,maxHeight:g,minWidth:S=he.DEFAULTS.MIN_WIDTH,variant:E,className:A="",style:N,glass:v,..._})=>{const[f,b]=i(!1),T=void 0!==u,C=T?u:f,L=r(null),y=r(null),I=r(null),x=r(`dropdown-${Math.random().toString(36).substring(2,9)}`).current,R=d((e=>{T||b(e),h&&h(e)}),[T,h]),O=d((()=>R(!C)),[C,R]),M=d((()=>{R(!1),setTimeout((()=>{y.current?.focus()}),0)}),[R]);o((()=>{if(!C||!m)return;const e=e=>{L.current&&!L.current.contains(e.target)&&M()};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)}),[C,m,M]),o((()=>{if(!C||!p)return;const e=e=>{"Escape"===e.key&&M()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[C,p,M]);const w=d((e=>{if(!I.current)return;const t=I.current.querySelectorAll('[role="menuitem"]:not([disabled])');if(!t.length)return;const a=Array.from(t).findIndex((e=>e===document.activeElement));switch(e.key){case"ArrowDown":e.preventDefault(),a<t.length-1?t[a+1]?.focus():t[0]?.focus();break;case"ArrowUp":e.preventDefault(),a>0?t[a-1]?.focus():t[t.length-1]?.focus();break;case"Home":e.preventDefault(),t[0]?.focus();break;case"End":e.preventDefault(),t[t.length-1]?.focus()}}),[]),D=d((e=>{"click"===l&&(e.preventDefault(),e.stopPropagation(),O())}),[l,O]),B=d((e=>{"Enter"!==e.key&&" "!==e.key&&"ArrowDown"!==e.key||C?"Escape"===e.key&&C&&(e.preventDefault(),M()):(e.preventDefault(),R(!0),"ArrowDown"===e.key&&I.current&&setTimeout((()=>{const e=I.current?.querySelector('[role="menuitem"]');e?.focus()}),100))}),[C,R,M]),P=d((()=>{"hover"===l&&R(!0)}),[l,R]),k=["c-dropdown","click"===l?"c-dropdown--onclick":"",E?`c-dropdown--${E}`:"",C?"is-open":"",v?"c-dropdown--glass":"",A].filter(Boolean).join(" "),U={};g&&(U.maxHeight=g),void 0!==S&&(U.minWidth="number"==typeof S?`${S}px`:S);const G=e("div",{className:"c-dropdown__menu-inner",style:U,children:e(ca.Provider,{value:{isOpen:C,close:M,id:x,trigger:l},children:e("ul",{className:"c-dropdown__menu "+(v?"c-dropdown__menu--glass":""),children:n})})});return t("div",{ref:L,className:k,style:N,onMouseEnter:"hover"===l?P:void 0,..._,children:[e("div",{ref:y,className:"c-dropdown__toggle",onClick:D,onKeyDown:B,"aria-haspopup":"menu","aria-expanded":C,"aria-controls":x,tabIndex:0,children:a}),e("div",{ref:I,id:x,className:`c-dropdown__menu-wrapper c-dropdown__menu-wrapper--${s} ${C?"is-open":""} ${v?"is-glass":""}`,role:"menu","aria-orientation":"vertical","aria-hidden":!C,onKeyDown:w,children:v?(()=>{const t={displacementScale:20,elasticity:0},a=!0===v?t:{...t,...v};return e(Je,{...a,children:G})})():G})]})};function ua(e){const t={position:"start",mode:"slide",isOpen:!1,backdrop:!0,closeOnBackdropClick:!0,closeOnEscape:!0,glass:void 0,...e},[a,n]=i(t.isOpen||!1),s=r(null),l=r(null),c=d((()=>{if(!s.current||"push"!==t.mode)return;const{position:e}=t,a="top"===e||"bottom"===e?s.current.clientHeight:s.current.clientWidth;let n;switch(e){case"start":n="paddingLeft";break;case"end":n="paddingRight";break;default:n=`padding${e.charAt(0).toUpperCase()+e.slice(1)}`}document.body.style[n]=`${a}px`,document.body.classList.add("is-pushed")}),[t.mode,t.position]),u=d((()=>{if("push"!==t.mode)return;const{position:e}=t;let a;switch(e){case"start":a="paddingLeft";break;case"end":a="paddingRight";break;default:a=`padding${e.charAt(0).toUpperCase()+e.slice(1)}`}document.body.style[a]="",document.body.classList.remove("is-pushed")}),[t.mode,t.position]),h=d(((e=!1)=>{if(n(!0),document.body.classList.add("is-edgepanel-open"),s.current){const{mode:a}=t;if("none"!==a)if(e){s.current.classList.add("is-fade-animating"),s.current.offsetHeight;const e=s.current;setTimeout((()=>{e&&e.classList.remove("is-fade-animating")}),X.ANIMATION_DURATION)}else{s.current.classList.add("is-animating"),s.current.offsetHeight;const e=s.current;setTimeout((()=>{e&&e.classList.remove("is-animating")}),X.ANIMATION_DURATION)}e?(s.current.style.opacity="1",s.current.style.transform=""):s.current.style.transform="translate(0)","push"===t.mode&&c()}t.onOpenChange&&t.onOpenChange(!0)}),[t,c]),m=d(((e=!1)=>{if(s.current){const{position:a,mode:i}=t;if("none"!==i)if(e){s.current.classList.add("is-fade-animating-out");const e=s.current;setTimeout((()=>{e&&e.classList.remove("is-fade-animating-out")}),X.ANIMATION_DURATION)}else{s.current.classList.add("is-animating-out");const e=s.current;setTimeout((()=>{e&&e.classList.remove("is-animating-out")}),X.ANIMATION_DURATION)}e?(s.current.style.opacity="0",s.current.style.transform=""):s.current.style.transform=a?X.TRANSFORM_VALUES[a]:"","push"===t.mode&&u();setTimeout((()=>{n(!1),document.body.classList.remove("is-edgepanel-open"),t.onOpenChange&&t.onOpenChange(!1)}),"none"===i?0:X.ANIMATION_DURATION)}else n(!1),document.body.classList.remove("is-edgepanel-open"),t.onOpenChange&&t.onOpenChange(!1)}),[t,u]),p=d((e=>{t.closeOnEscape&&"Escape"===e.key&&a&&m()}),[m,t.closeOnEscape,a]),g=d((e=>{t.closeOnBackdropClick&&e.target===e.currentTarget&&m()}),[m,t.closeOnBackdropClick]);return o((()=>(a&&t.closeOnEscape&&document.addEventListener("keydown",p),()=>{document.removeEventListener("keydown",p)})),[a,p,t.closeOnEscape]),o((()=>{if(s.current){const{position:e,mode:n}=t;a||"slide"!==n&&"push"!==n||!e||(s.current.style.transform=X.TRANSFORM_VALUES[e],t.glass&&(s.current.style.opacity="0"))}}),[t.mode,t.position,t.glass,a]),o((()=>{void 0!==t.isOpen&&t.isOpen!==a&&(t.isOpen?h(!!t.glass):m(!!t.glass))}),[t.isOpen,m,a,h,t.glass]),{isOpen:a,containerRef:s,backdropRef:l,generateEdgePanelClass:e=>{const{position:n=t.position,className:i="",isOpen:r}=e,o=X.CLASSES.BASE;return`${o} ${n?`${o}--${n}`:""} ${r??a?X.CLASSES.IS_OPEN:""} ${i}`.trim()},openPanel:h,closePanel:m,handleBackdropClick:g}}da.displayName="Dropdown";const ha=({title:n,children:i,position:o="start",mode:s="slide",isOpen:l=!1,onOpenChange:c,backdrop:d=!0,closeOnBackdropClick:u=!0,closeOnEscape:h=!0,className:m="",style:p,glass:g})=>{const{isOpen:S,containerRef:E,backdropRef:A,generateEdgePanelClass:N,closePanel:v,handleBackdropClick:_}=ua({position:o,mode:s,isOpen:l,onOpenChange:c,backdrop:d,closeOnBackdropClick:u,closeOnEscape:h,glass:g}),f=r(null),b=N({position:o,isOpen:l,className:g?`${m} c-edge-panel--glass`:m});if(!S&&!1===l)return null;const T={elasticity:0},C=!0===g?T:{...T,...g},L=t(a,{children:[t("div",{className:"c-edge-panel__header",children:[e("h4",{children:n}),e("button",{className:"c-edge-panel__close c-btn c-btn--icon",onClick:()=>v(),"aria-label":"Close panel",children:e(nt,{name:"X"})})]}),e("div",{className:"c-edge-panel__body",children:i})]});return t("div",{className:b,"data-position":o,"data-mode":s,style:p,children:[d&&e("div",{ref:A,className:"c-edge-panel__backdrop",onClick:_}),e("div",{ref:E,className:"c-edge-panel__container",children:g?e(Je,{...C,className:"c-edge-panel__glass-wrapper",style:{position:"fixed",width:f.current?.offsetWidth,height:f.current?.offsetHeight,top:E.current?.offsetTop,left:E.current?.offsetLeft,bottom:E.current?.style.bottom,right:E.current?.style.right},children:e("div",{ref:f,className:"c-edge-panel__glass-content",style:{borderRadius:E.current?.style.borderRadius},children:L})}):L})]})};ha.displayName="EdgePanel";const ma="c-checkbox",pa="is-error",ga="is-valid",Sa="is-disabled",Ea="c-checkbox--mixed";function Aa(e){const t={disabled:!1,invalid:!1,valid:!1,indeterminate:!1,...e},a=r(null);o((()=>{a.current&&(a.current.indeterminate=Boolean(t.indeterminate))}),[t.indeterminate]);return{defaultProps:t,generateCheckboxClass:e=>{const{disabled:a=t.disabled,invalid:n=t.invalid,valid:i=t.valid,indeterminate:r=t.indeterminate,className:o=""}=e;let s="";n?s=pa:i&&(s=ga);return`${ma} ${s} ${a?Sa:""} ${r?Ea:""} ${o}`.trim()},checkboxRef:a}}const Na=({label:a,checked:n=!1,onChange:i,className:r="",style:o,disabled:s=!1,required:l=!1,id:c,name:d,value:u,invalid:h=!1,valid:m=!1,indeterminate:p=!1,ariaLabel:g,ariaDescribedBy:S,glass:E})=>{const{generateCheckboxClass:A,checkboxRef:N}=Aa({indeterminate:p,disabled:s,invalid:h,valid:m}),v=A({className:`${r} ${E?"c-checkbox--glass":""}`.trim(),disabled:s,invalid:h,valid:m,indeterminate:p}),_=t("div",{className:v,style:o,children:[e("input",{ref:N,type:"checkbox",className:"c-checkbox__input",checked:n,onChange:i,disabled:s,required:l,id:c,name:d,value:u,"aria-label":a?void 0:g,"aria-describedby":S,"aria-invalid":h}),a&&e("label",{className:"c-checkbox__label",htmlFor:c,children:a})]});if(E){const t={displacementScale:40,blurAmount:1,saturation:160,aberrationIntensity:.3,cornerRadius:6,mode:"shader"},a=!0===E?t:{...t,...E};return e(Je,{...a,children:_})}return _};function va(e){const t={disabled:!1,...e};return{defaultProps:t,generateFormClass:e=>{const{disabled:a=t.disabled,className:n=""}=e,i=a?te.CLASSES.DISABLED:"";return`${te.CLASSES.BASE} ${i} ${n}`.trim()},handleSubmit:e=>a=>{a.preventDefault(),!t.disabled&&e&&e(a)},handleReset:e=>a=>{!t.disabled&&e&&e(a)}}}Na.displayName="Checkbox";const _a=({children:t,onSubmit:a,onReset:n,className:i="",style:r,disabled:o=!1,id:s,method:l="post",encType:c,noValidate:d=!1,autoComplete:u="on"})=>{const{generateFormClass:h,handleSubmit:m,handleReset:p}=va({disabled:o}),g=h({className:i,disabled:o});return e("form",{id:s,className:g,style:r,onSubmit:m(a),onReset:p(n),method:l,encType:c,noValidate:d,autoComplete:u,children:t})};function fa(e){const t={size:"md",disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateFormGroupClass:e=>{const{size:a=t.size,disabled:n=t.disabled,invalid:i=t.invalid,valid:r=t.valid,className:o=""}=e,s="md"===a?"":"sm"===a?ae.CLASSES.SMALL:ae.CLASSES.LARGE,l=i?ae.CLASSES.INVALID:r?ae.CLASSES.VALID:"",c=n?ae.CLASSES.DISABLED:"";return`${ae.CLASSES.BASE} ${s} ${l} ${c} ${o}`.trim()}}}_a.displayName="Form";const ba=({children:a,label:n,helperText:i,htmlFor:r,className:o="",style:s,disabled:l=!1,required:c=!1,invalid:d=!1,valid:u=!1,size:h="md"})=>{const{generateFormGroupClass:m}=fa({size:h,disabled:l,invalid:d,valid:u}),p=m({className:o,disabled:l,invalid:d,valid:u,size:h});return t("div",{className:p,style:s,children:[n&&t("label",{className:"c-form-group__label",htmlFor:r,children:[n,c&&e("span",{className:"c-form-group__required",children:"*"})]}),e("div",{className:"c-form-group__field",children:a}),i&&e("div",{className:"c-form-group__helper",children:i})]})};function Ta(e){const t={size:"md",disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateInputClass:e=>{const{size:a=t.size,variant:n=t.variant,disabled:i=t.disabled,invalid:r=t.invalid,valid:o=t.valid,className:s="",type:l}=e,c="md"===a?"":"sm"===a?ne.CLASSES.SMALL:ne.CLASSES.LARGE,d=n?`c-input--${n}`:"",u="textarea"===l?"c-input--textarea":"";let h="";r?h=ne.CLASSES.INVALID:o&&(h=ne.CLASSES.VALID);const m=i?ne.CLASSES.DISABLED:"";return`${ne.CLASSES.BASE} ${c} ${d} ${u} ${h} ${m} ${s}`.trim()}}}ba.displayName="FormGroup";const Ca=s((({type:t="text",value:a,onChange:n,onBlur:i,onFocus:r,placeholder:o,className:s="",style:l,disabled:c=!1,required:d=!1,readOnly:u=!1,id:h,name:m,autoComplete:p,autoFocus:g=!1,size:S="md",variant:E,invalid:A=!1,valid:N=!1,maxLength:v,minLength:_,pattern:f,min:b,max:T,step:C,ariaLabel:L,ariaDescribedBy:y,glass:I},x)=>{const{generateInputClass:R}=Ta({size:S,variant:E,disabled:c,invalid:A,valid:N}),O=R({className:`${s} ${I?"c-input--glass":""}`.trim(),size:S,variant:E,disabled:c,invalid:A,valid:N,type:t}),M=e("input",{ref:x,type:t,className:O,value:a,onChange:n,onBlur:i,onFocus:r,placeholder:o,disabled:c,required:d,readOnly:u,id:h,name:m,autoComplete:p,autoFocus:g,maxLength:v,minLength:_,pattern:f,min:b,max:T,step:C,"aria-label":L,"aria-describedby":y,"aria-invalid":A,style:I?{...{},...l}:l});if(I){const t={displacementScale:60,blurAmount:1,saturation:180,aberrationIntensity:.2,cornerRadius:12,mode:"shader"},a=!0===I?t:{...t,...I};return e(Je,{...a,children:M})}return M}));function La(e){const t=r(null),a=r(null),s=r(null),l={alignment:"left",imageColSize:7,contentColSize:5,imageAlt:"Hero image",showOverlay:!0,fullViewportHeight:!1,contentWidth:void 0,parallax:!1,parallaxIntensity:.5,...e},u=!!l.backgroundSlider,h=u&&l.backgroundSlider?function(e){const{slides:t,autoplay:a,loop:s=!0,transition:l="fade",transitionDuration:u=1e3}=e,[h,m]=i(0),[p,g]=i(!1),S=r(null),E=r(!1),A=c((()=>t.map((()=>n.createRef()))),[t.length]),N=c((()=>t.map((()=>n.createRef()))),[t.length]),v=d((e=>{if(e===h||p)return;if(e<0||e>=t.length)return;g(!0),m(e);const a=N[e]?.current;a&&"video"===t[e].type&&!1!==(t[e].videoOptions||{}).autoplay&&a.play().catch((()=>{}));const n=N[h]?.current;n&&"video"===t[h].type&&n.pause(),setTimeout((()=>{g(!1)}),u)}),[h,p,t,N,u]),_=d((()=>{if(0===t.length)return;let e;e=s?(h+1)%t.length:Math.min(h+1,t.length-1),v(e)}),[h,t.length,s,v]),f=d((()=>{E.current=!0,S.current&&(clearInterval(S.current),S.current=null)}),[]),b=d((()=>{if(E.current&&a&&t.length>1){E.current=!1;const e="object"==typeof a?a.delay:3e3;S.current||(S.current=setInterval((()=>{E.current||p||_()}),e))}}),[a,t.length,_,p]);return o((()=>{if(!a||t.length<=1)return;const e="object"==typeof a?a.delay:3e3;return"object"==typeof a&&a.pauseOnHover,S.current&&(clearInterval(S.current),S.current=null),E.current||(S.current=setInterval((()=>{E.current||p||_()}),e)),()=>{S.current&&(clearInterval(S.current),S.current=null)}}),[a,t.length,_,p]),o((()=>{if(t.length>0&&"video"===t[h]?.type){const e=N[h]?.current;e&&!1!==(t[h].videoOptions||{}).autoplay&&e.play().catch((()=>{}))}}),[h,t,N]),o((()=>()=>{S.current&&(clearInterval(S.current),S.current=null)}),[]),{currentIndex:h,isTransitioning:p,slideRefs:A,videoRefs:N,handleSlideTransition:v,pauseAutoplay:f,resumeAutoplay:b}}(l.backgroundSlider):void 0,m=!!u||(!!l.backgroundImageSrc||!!l.videoBackground),p=!!l.imageSrc,g=p&&"center"!==l.alignment,S=(e,t=.5)=>{if(!e)return;const a=Math.max(0,Math.min(1,t));e.classList.add("c-hero--parallax");const n=()=>{const t=window.pageYOffset*a,n=e.querySelector(k.SELECTORS.BG);n&&(n.style.transform=`translateY(${t}px)`)};s.current=n,window.addEventListener("scroll",n),n()},E=e=>{if(!e)return;e.classList.remove("c-hero--parallax");const t=e.querySelector(k.SELECTORS.BG);t&&(t.style.transform=""),s.current&&(window.removeEventListener("scroll",s.current),s.current=null)};o((()=>{const e=t.current;return e&&l.parallax&&m&&!u&&S(e,l.parallaxIntensity),()=>{e&&s.current&&E(e)}}),[l.parallax,l.parallaxIntensity,m,u]);return{generateHeroClassNames:(e="")=>{const t=[k.SELECTORS.HERO.replace(".","")];return"center"===l.alignment?t.push(k.CLASSES.CENTER):"right"===l.alignment?t.push(k.CLASSES.RIGHT):"left"===l.alignment&&t.push(k.CLASSES.LEFT),l.fullViewportHeight&&t.push(k.CLASSES.FULL_VH),l.parallax&&t.push("c-hero--parallax"),l.videoBackground&&t.push("c-hero--video"),e&&t.push(e),t.join(" ")},generateImageColClass:(e=l.imageColSize||7)=>{const t=[`o-grid__col o-grid__col--md-${e}`];return"left"===l.alignment&&t.push("u-mt-5 u-mt-md-0"),t.join(" ")},generateContentColClass:(e=l.contentColSize||5)=>`o-grid__col o-grid__col--md-${e}`,hasBackgroundImage:m,hasForegroundImage:p,useGridLayout:g,heroRef:t,videoRef:a,applyParallaxEffect:S,removeParallaxEffect:E,backgroundSlider:h,hasBackgroundSlider:u}}function ya(e){const t={center:!1,breakout:!1,reverse:!1,imageAlt:"Image",showOverlay:!0,...e};return{generateRiverClassNames:(e="")=>{const a=[$.SELECTORS.RIVER.replace(".","")];return t.center&&a.push($.CLASSES.CENTER),t.breakout&&a.push($.CLASSES.BREAKOUT),t.reverse&&a.push($.CLASSES.REVERSE),e&&a.push(e),a.join(" ")},generateContentClass:()=>$.SELECTORS.CONTENT.replace(".",""),generateVisualClass:()=>$.SELECTORS.VISUAL.replace(".",""),hasBackgroundImage:!!t.backgroundImageSrc,hasForegroundImage:!!t.imageSrc,textContent:"string"==typeof t.text?[t.text]:t.text||[]}}function Ia(e){const t={position:"static",collapsible:!0,backdrop:!1,closeOnOutsideClick:!0,closeOnEscape:!0,ariaLabel:"Main navigation",...e},[a,n]=i(t.expanded||!1);return{defaultProps:t,isExpanded:a,setIsExpanded:n,generateNavbarClass:e=>{const{position:a=t.position,variant:n,collapsible:i=t.collapsible,className:r=""}=e;return`c-navbar ${"static"!==a?`c-navbar--${a}`:""} ${n?`c-navbar--${n}`:""} ${i?"c-navbar--collapsible":""} ${r}`.trim()},generateContainerStyle:e=>e?{maxWidth:e}:{},generateCollapseClass:e=>("c-navbar__collapse "+(e?"is-expanded":"")).trim(),toggleExpanded:()=>{const e=!a;n(e),t.onToggle&&t.onToggle(e)},getExpandedState:e=>void 0!==e?e:a}}function xa(e){const t={alignment:"start",variant:"default",...e};return{defaultProps:t,generateNavClass:e=>{const{alignment:a=t.alignment,variant:n=t.variant,className:i=""}=e;return`c-nav ${"start"!==a?`c-nav--${a}`:""} ${"default"!==n?`c-nav--${n}`:""} ${i}`.trim()}}}function Ra(e){const t={dropdown:!1,megaMenu:!1,active:!1,...e};return{defaultProps:t,generateNavItemClass:e=>{const{dropdown:a=t.dropdown,megaMenu:n=t.megaMenu,active:i=t.active,disabled:r=t.disabled,className:o=""}=e;return`c-nav__item ${a&&!n?Q.SELECTORS.DROPDOWN.replace(".",""):""} ${n?"c-nav__item--mega-menu":""} ${i?Q.CLASSES.ACTIVE:""} ${r?Q.CLASSES.DISABLED:""} ${o}`.trim()},generateNavLinkClass:(e=!1,t=!1,a="")=>`c-nav__link ${e?Q.CLASSES.ACTIVE:""} ${t?"c-nav__link--disabled":""} ${a}`.trim(),handleClick:e=>a=>{!t.disabled&&e?e():a.preventDefault()}}}function Oa(e){const t={alignment:"start",megaMenu:!1,...e},a=()=>null!==document.querySelector(".c-navbar--fixed-bottom");return{defaultProps:t,generateDropdownMenuClass:e=>{const{alignment:a=t.alignment,megaMenu:n=t.megaMenu,className:i=""}=e,r=n?Q.SELECTORS.MEGA_MENU.replace(".",""):Q.SELECTORS.DROPDOWN_MENU.replace(".","");let o="";return"center"===a?o=`${r}--center`:"end"===a&&(o=`${r}--end`),`${r} ${o} ${i}`.trim()},isInFixedBottomNavbar:a,getIconClass:(e=!1)=>"c-nav__icon "+(a()?"icon-lux-caret-up":"icon-lux-caret-down"),getIconName:(e=!1)=>a()?"CaretUp":"CaretDown"}}function Ma(e){const t={collapsible:!0,isOpen:!1,...e},[a,n]=i(t.isOpen||!1),s=r(null),l=r(null);o((()=>{void 0!==t.isOpen&&n(t.isOpen)}),[t.isOpen]),o((()=>{const e=()=>{const e=window.innerWidth<768;if(!e&&t.collapsible)"function"==typeof t.onToggle?t.onToggle(!0):n(!0),s.current&&(s.current.style.height="auto");else if(e&&s.current&&l.current){const e=void 0!==t.isOpen?t.isOpen:a;s.current.style.height=e?`${l.current.scrollHeight}px`:"0px"}};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t.collapsible,t.isOpen,t.onToggle,a]),o((()=>{if(window.innerWidth<768&&s.current&&l.current&&t.collapsible){const e=void 0!==t.isOpen?t.isOpen:a;s.current.style.height=e?`${l.current.scrollHeight}px`:"0px"}}),[t.isOpen,a,t.collapsible]);const c=()=>void 0!==t.isOpen?t.isOpen:a;return{defaultProps:t,isOpenState:c(),wrapperRef:s,innerRef:l,generateSideMenuClass:e=>{const{className:t="",isOpen:a=!1}=e,n=a?Z.CLASSES.IS_OPEN:"";return`${Z.CLASSES.BASE} ${n} ${t}`.trim()},generateWrapperClass:()=>Z.CLASSES.WRAPPER,handleToggle:()=>{if(t.disabled)return;const e=void 0!==t.isOpen?!t.isOpen:!a;"function"==typeof t.onToggle?t.onToggle(e):n(e)},getCurrentOpenState:c}}function wa(e){const t={active:!1,disabled:!1,...e};return{defaultProps:t,generateSideMenuItemClass:()=>{const{active:e=t.active,disabled:a=t.disabled,className:n=""}=t,i=e?Z.CLASSES.ACTIVE:"",r=a?Z.CLASSES.DISABLED:"";return`${Z.CLASSES.LINK} ${i} ${r} ${n}`.trim()},handleClick:e=>a=>{t.disabled?a.preventDefault():e&&e(a)}}}function Da(e,t){return e.classList.contains(t)}Ca.displayName="Input";const Ba={House:"M240 121.6V240h-48v-72a24 24 0 0 0-24-24h-80a24 24 0 0 0-24 24v72H16V121.6a16 16 0 0 1 5.4-12L111.4 29a16 16 0 0 1 21.2 0l90 80.6a16 16 0 0 1 5.4 12Z",Package:"M223.68 66.15 135.68 18a15.88 15.88 0 0 0-15.36 0l-88 48.13a16 16 0 0 0-8.32 14v95.64a16 16 0 0 0 8.32 14l88 48.17a15.88 15.88 0 0 0 15.36 0l88-48.17a16 16 0 0 0 8.32-14V80.18a16 16 0 0 0-8.32-14.03ZM128 32.59l74.12 40.55-32 17.56-74.12-40.55ZM96 68.08l73.56 40.23-32.04 17.53L64 85.64ZM40 95.83l72 39.39v79.23l-72-39.4Zm144 79.22v-79.23l72-39.39v79.22Z",Folder:"M216 72h-84.7L104.4 44.2A16.05 16.05 0 0 0 92.7 40H40a16 16 0 0 0-16 16v144.3a15.91 15.91 0 0 0 15.9 15.7h176.2a15.91 15.91 0 0 0 15.9-15.7V88a16 16 0 0 0-16-16Z",Tag:"M246.15 128.6 183.06 65.5l.09-24.21A16.05 16.05 0 0 0 167 25.14l-24.1.09L79.4 88.85a16 16 0 0 0 0 22.63l67.26 67.27a16 16 0 0 0 22.63 0l76.86-76.86a16 16 0 0 0 0-23.29ZM160 152l-56-56 56-56 56 56Zm-16-72a16 16 0 1 1-16 16 16 16 0 0 1 16-16Z",CaretRight:"M181.66 133.66l-80 80A8 8 0 0 1 88 208V48a8 8 0 0 1 13.66-5.66l80 80a8 8 0 0 1 0 11.32Z",CaretDown:"M208 96v16a8 8 0 0 1-2.34 5.66l-80 80a8 8 0 0 1-11.32 0l-80-80A8 8 0 0 1 32 112V96a8 8 0 0 1 8-8h160a8 8 0 0 1 8 8Z",User:"M230.92 212c-15.23-26.33-38.7-45.21-66.09-54.16a72 72 0 1 0-73.66 0c-27.39 8.94-50.86 27.82-66.09 54.16a8 8 0 1 0 13.85 8c18.84-32.56 52.14-52 89.07-52s70.23 19.44 89.07 52a8 8 0 1 0 13.85-8ZM72 96a56 56 0 1 1 56 56 56.06 56.06 0 0 1-56-56Z",Home:"M224 115.55V208a16 16 0 0 1-16 16h-40a16 16 0 0 1-16-16v-40a8 8 0 0 0-8-8h-32a8 8 0 0 0-8 8v40a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16v-92.45a16 16 0 0 1 5.17-11.78l80-75.48a16 16 0 0 1 21.66 0l80 75.48a16 16 0 0 1 5.17 11.78Z",X:"M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128 50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128l66.35 66.34Z",Calendar:"M208 32h-24v-8a8 8 0 0 0-16 0v8H88v-8a8 8 0 0 0-16 0v8H48a16 16 0 0 0-16 16v160a16 16 0 0 0 16 16h160a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16ZM72 48v8a8 8 0 0 0 16 0v-8h80v8a8 8 0 0 0 16 0v-8h24v32H48V48Zm136 160H48V96h160v112Z",CaretDoubleLeft:"M181.66 181.66a8 8 0 0 1-11.32 0L120 131.31V160a8 8 0 0 1-13.66 5.66l-48-48a8 8 0 0 1 0-11.32l48-48A8 8 0 0 1 120 64v28.69l50.34-50.35a8 8 0 0 1 11.32 11.32l-56 56a8 8 0 0 1-11.32 0L102.63 98 64 128l38.63 30L114.34 146.63a8 8 0 0 1 11.32 0l56 56a8 8 0 0 1 0 11.32Z",CaretDoubleRight:"M74.34 181.66a8 8 0 0 0 11.32 0L136 131.31V160a8 8 0 0 0 13.66 5.66l48-48a8 8 0 0 0 0-11.32l-48-48A8 8 0 0 0 136 64v28.69L85.66 42.34a8 8 0 0 0-11.32 11.32l56 56a8 8 0 0 0 11.32 0l11.71-11.71L192 128l-38.63 30-11.71-11.71a8 8 0 0 0-11.32 0l-56 56a8 8 0 0 0 0 11.32Z"};function Pa(e,t=16){const a=Ba[e]||"";return`<svg xmlns="http://www.w3.org/2000/svg" width="${t}" height="${t}" fill="currentColor" viewBox="0 0 256 256">\n <path d="${a}"></path>\n </svg>`}function ka(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function Ua(e){const t=e.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/);return t?t[1]:null}function Ga(e){return/(?:youtube\.com|youtu\.be)/.test(e)}var za=Object.freeze({__proto__:null,addClass:function(e,t){Da(e,t)||e.classList.add(t)},cn:function(...e){return O(...e)},createIconElement:function(e,t=16,a=""){const n=document.createElement("span");return n.className=a||"c-icon",n.style.display="inline-flex",n.style.alignItems="center",n.style.justifyContent="center",n.innerHTML=Pa(e,t),n},createPhosphorIcon:Pa,extractYouTubeId:Ua,generateUUID:ka,getAvailableIcons:function(){return Object.keys(Ba)},hasClass:Da,isYouTubeUrl:Ga,removeClass:function(e,t){Da(e,t)&&e.classList.remove(t)},toggleClass:function(e,t,a){e.classList.toggle(t,a)}});function Fa(e){const t={items:[],title:"Todo List",size:"md",placeholder:"Add a new todo",showCompleted:!0,...e},[a,n]=i(t.items||[]),[r,o]=i(""),s=e=>{if(!e.trim())return null;const t={id:ka(),text:e.trim(),completed:!1};return n((e=>[...e,t])),o(""),t};return{items:a,inputText:r,setInputText:o,addTodo:s,toggleTodo:e=>{let t=null;return n((a=>a.map((a=>a.id===e?(t={...a,completed:!a.completed},t):a)))),t},deleteTodo:e=>{const t=a.length;return n((t=>t.filter((t=>t.id!==e)))),a.length!==t},handleSubmit:(e,t)=>{if(e.preventDefault(),!r.trim())return;const a=s(r);a&&t&&t(a.text)},generateTodoClasses:e=>{const{size:a=t.size,className:n="",disabled:i=!1}=e,r="md"===a?"":`c-todo--${a}`,o=i?"c-todo--disabled":"";return`${ee.CLASSES.BASE} ${r} ${o} ${n}`.trim()},generateItemClasses:e=>{const t=e.completed?ee.CLASSES.COMPLETED:"";return`${ee.CLASSES.ITEM} ${t}`.trim()},getFilteredItems:(e=!0)=>e?a:a.filter((e=>!e.completed))}}function Va(e){const t={disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateRadioClass:e=>{const{disabled:a=t.disabled,invalid:n=t.invalid,valid:i=t.valid,className:r=""}=e;let o="";n?o=ie.CLASSES.INVALID:i&&(o=ie.CLASSES.VALID);const s=a?ie.CLASSES.DISABLED:"";return`${ie.CLASSES.BASE} ${o} ${s} ${r}`.trim()}}}function Ha(e){const t={size:"md",disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateSelectClass:e=>{const{size:a=t.size,disabled:n=t.disabled,invalid:i=t.invalid,valid:r=t.valid,className:o=""}=e,s="md"===a?"":"sm"===a?oe.CLASSES.SMALL:oe.CLASSES.LARGE;let l="";i?l=oe.CLASSES.INVALID:r&&(l=oe.CLASSES.VALID);const c=n?oe.CLASSES.DISABLED:"";return`${oe.CLASSES.BASE} ${s} ${l} ${c} ${o}`.trim()}}}function Ya(e){const t={size:"md",disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateTextareaClass:e=>{const{size:a=t.size,variant:n=t.variant,disabled:i=t.disabled,invalid:r=t.invalid,valid:o=t.valid,className:s=""}=e,l="md"===a?"":"sm"===a?se.CLASSES.SMALL:se.CLASSES.LARGE,c=n?`c-input--${n}`:"";let d="";r?d=se.CLASSES.INVALID:o&&(d=se.CLASSES.VALID);const u=i?se.CLASSES.DISABLED:"";return`${se.CLASSES.BASE} ${l} ${c} ${d} ${u} ${s}`.trim()}}}function Ka(e){const{slides:t,slidesToShow:a=1,spaceBetween:n=0,loop:s=!1,initialSlide:l=0,direction:u="horizontal",speed:h=300,allowTouchMove:m=!0,threshold:p=50,autoplay:g,onSlideChange:S}=e,E=r(null),A=r(null),N=r(!1),v=r(null),[_,f]=i(!1),[b,T]=i(l),[C,L]=i(0),[y,I]=i(!1),[x,R]=i(0),[O,M]=i(!1),[w,D]=i(0),[B,P]=i(0),k=c((()=>0===x?0:(x-n*(a-1))/a),[x,n,a]),U=c((()=>{if(!s||0===t.length)return t;return[...t.map(((e,t)=>({...e,id:`set1-${e.id||t}`}))),...t.map(((e,t)=>({...e,id:`set2-${e.id||t}`}))),...t.map(((e,t)=>({...e,id:`set3-${e.id||t}`})))]}),[t,s]),G=t.length,z=c((()=>0===k?0:-C*k+B),[k,C,B]);o((()=>{if(!g)return v.current&&(clearInterval(v.current),v.current=null),void f(!1);const e="boolean"==typeof g?{delay:3e3}:g,{delay:n=3e3,pauseOnMouseEnter:i=!1,disableOnInteraction:r=!1,reverseDirection:o=!1}=e;v.current&&clearInterval(v.current),v.current=setInterval((()=>{T((e=>{if(y)return e;let n;if(r&&v.current&&(clearInterval(v.current),v.current=null,f(!1)),n=s?(e+1)%t.length:Math.min(e+1,t.length-a),o){const a=s?0===e?t.length-1:e-1:Math.max(e-1,0);return L(s?t.length+a:a),I(!0),P(0),setTimeout((()=>{I(!1),S?.(a)}),h),a}return L(s?t.length+n:n),I(!0),P(0),setTimeout((()=>{I(!1),S?.(n),s&&n>=2*t.length&&(N.current=!0,L(t.length+n),setTimeout((()=>{N.current=!1}),0))}),h),n}))}),n),f(!0);let l=null;const c=()=>{v.current&&(clearInterval(v.current),v.current=null,f(!1))},d=()=>{v.current&&clearInterval(v.current),v.current=setInterval((()=>{T((e=>{if(y)return e;let n;return n=s?(e+1)%t.length:Math.min(e+1,t.length-a),L(s?t.length+n:n),I(!0),P(0),setTimeout((()=>{I(!1),S?.(n),s&&n>=2*t.length&&(N.current=!0,L(t.length+n),setTimeout((()=>{N.current=!1}),0))}),h),n}))}),n),f(!0)};return i&&E.current&&(l=E.current,l.addEventListener("mouseenter",c),l.addEventListener("mouseleave",d)),()=>{v.current&&(clearInterval(v.current),v.current=null),l&&(l.removeEventListener("mouseenter",c),l.removeEventListener("mouseleave",d)),f(!1)}}),[g,t.length,s,a,y,h,S,N]),o((()=>{L(s?t.length+l:l)}),[s,t.length,l]),o((()=>{const e=()=>{if(E.current){const e="horizontal"===u?E.current.offsetWidth:E.current.offsetHeight;R(e)}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[u]);const F=d((()=>{if(!y)if(g&&"object"==typeof g&&g.disableOnInteraction&&v.current&&(clearInterval(v.current),v.current=null,f(!1)),s){const e=(b+1)%t.length,a=C+1;T(e),L(a),I(!0),P(0),setTimeout((()=>{I(!1),S?.(e),a>=2*t.length&&(N.current=!0,L(t.length+e),setTimeout((()=>{N.current=!1}),0))}),h)}else{const e=Math.min(b+1,t.length-a);T(e),L(e),I(!0),P(0),setTimeout((()=>{I(!1),S?.(e)}),h)}}),[b,C,t.length,a,s,y,h,S,U.length,G,g]),V=d((()=>{if(!y)if(g&&"object"==typeof g&&g.disableOnInteraction&&v.current&&(clearInterval(v.current),v.current=null,f(!1)),s){const e=0===b?t.length-1:b-1,a=C-1;T(e),L(a),I(!0),P(0),setTimeout((()=>{I(!1),S?.(e),a<t.length&&(N.current=!0,L(t.length+e),setTimeout((()=>{N.current=!1}),0))}),h)}else{const e=Math.max(b-1,0);T(e),L(e),I(!0),P(0),setTimeout((()=>{I(!1),S?.(e)}),h)}}),[b,C,t.length,s,y,h,S,U.length,G,g]),H=d((e=>{y||e===b||(g&&"object"==typeof g&&g.disableOnInteraction&&v.current&&(clearInterval(v.current),v.current=null,f(!1)),I(!0),P(0),T(e),L(s?t.length+e:e),setTimeout((()=>{I(!1),S?.(e)}),h))}),[b,y,h,S,s,G,g]),Y=d((e=>{if(!m)return;g&&"object"==typeof g&&g.disableOnInteraction&&v.current&&(clearInterval(v.current),v.current=null,f(!1));const t="horizontal"===u?"touches"in e?e.touches[0]?.clientX||0:e.clientX:"touches"in e?e.touches[0]?.clientY||0:e.clientY;D(t),M(!0),P(0)}),[m,u,g]),K=d((e=>{if(!O||!m)return;const t="horizontal"===u?"touches"in e?e.touches[0]?.clientX||0:e.clientX:"touches"in e?e.touches[0]?.clientY||0:e.clientY,a=w-t;Math.abs(a)>10&&(e.preventDefault(),P(.5*-a))}),[O,w,m,u]),$=d((e=>{if(!O||!m)return;const t="horizontal"===u?"changedTouches"in e?e.changedTouches[0]?.clientX||0:e.clientX:"changedTouches"in e?e.changedTouches[0]?.clientY||0:e.clientY,a=w-t;M(!1),P(0),Math.abs(a)>p&&(a>0?F():V())}),[O,w,p,F,V,m,u]),W=s||b<t.length-a,Q=s||b>0;return{activeIndex:b,realIndex:b,previousIndex:b,isBeginning:!s&&0===b,isEnd:!s&&b>=t.length-a,progress:t.length>0?b/(t.length-1):0,autoplayRunning:_,transitioning:y,touching:O,translate:z,slidesPerView:a,slidesCount:t.length,isLocked:!1,destroyed:!1,size:x,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},allowSlideNext:W,allowSlidePrev:Q,allowTouchMove:m,animating:y,enabled:!0,initialized:!0,slideNext:F,slidePrev:V,goToSlide:H,canSlideNext:W,canSlidePrev:Q,containerRef:E,wrapperRef:A,handleTouchStart:Y,handleTouchMove:K,handleTouchEnd:$,allSlides:U,translateValue:z,slideWidth:k,currentSlidesToShow:a,loopedSlides:G,repositioningRef:N}}var $a=Object.freeze({__proto__:null,DOTS:jt,useAccordion:_e,useAtomixGlass:je,useBadge:ot,useBarChart:It,useBlock:ct,useBreadcrumb:function(e){return{defaultOptions:{items:[],divider:P.DEFAULTS.DIVIDER,className:"",ariaLabel:"Breadcrumb",...e},generateBreadcrumbClass:e=>{const{className:t=""}=e;return[P.CLASSES.BASE,t].filter(Boolean).join(" ").trim()},generateItemClass:(e,t)=>[P.CLASSES.ITEM,e.active||t?P.CLASSES.ACTIVE:""].filter(Boolean).join(" ").trim(),isItemLink:(e,t)=>Boolean(e.href&&!e.active&&!t),parseItemsFromJson:e=>{try{return JSON.parse(e)}catch(e){return[]}}}},useButton:ht,useCard:St,useChartData:function(e){const t=c((()=>e.length?e.map(((e,t)=>({...e,value:"number"==typeof e.value?e.value:0,label:e.label||`Point ${t+1}`}))):[]),[e]),a=c((()=>{if(!t.length)return{min:0,max:0,total:0,average:0};const e=t.map((e=>e.value)),a=Math.min(...e),n=Math.max(...e),i=e.reduce(((e,t)=>e+t),0);return{min:a,max:n,total:i,average:i/e.length}}),[t]);return{data:t,stats:a,isEmpty:0===t.length}},useChartInteraction:function(){const[e,t]=i({hoveredIndex:null,selectedIndex:null});return{interaction:e,handlePointHover:d((e=>{t((t=>({...t,hoveredIndex:e})))}),[]),handlePointClick:d((e=>{t((t=>({...t,selectedIndex:t.selectedIndex===e?null:e})))}),[]),clearInteraction:d((()=>{t({hoveredIndex:null,selectedIndex:null})}),[])}},useChartScale:function(e,t=400,a=300){return c((()=>{const n={top:20,right:20,bottom:40,left:40},i=t-n.left-n.right,r=a-n.top-n.bottom;if(!e.length)return{xScale:()=>n.left,yScale:()=>n.top+r,width:t,height:a,padding:n};const o=e.map((e=>e.value)),s=Math.min(0,...o),l=Math.max(...o)-s||1;return{xScale:t=>n.left+t/Math.max(e.length-1,1)*i,yScale:e=>n.top+r-(e-s)/l*r,width:t,height:a,padding:n}}),[e,t,a])},useCheckbox:Aa,useDataTable:Zt,useEdgePanel:ua,useForm:va,useFormGroup:fa,useGlassContainer:function(e){const{glassSize:t={width:270,height:69},elasticity:a=.15,mouseContainer:n,globalMousePos:s,mouseOffset:c}=e,u=l(),h=r(null),[m,p]=i(!1),[g,S]=i(!1),[E,A]=i(t),[N,v]=i({x:0,y:0}),[_,f]=i({x:0,y:0}),b=s||N,T=c||_,C=d((e=>{const t=n?.current||h.current;if(!t)return;const a=t.getBoundingClientRect(),i=a.left+a.width/2,r=a.top+a.height/2;f({x:(e.clientX-i)/a.width*100,y:(e.clientY-r)/a.height*100}),v({x:e.clientX,y:e.clientY})}),[n]);o((()=>{if(s&&c)return;const e=n?.current||h.current;return e?(e.addEventListener("mousemove",C),()=>e.removeEventListener("mousemove",C)):void 0}),[C,n,s,c]);const L=d((()=>{if(!b.x||!b.y||!h.current)return"scale(1)";const e=h.current.getBoundingClientRect(),t=e.left+e.width/2,n=e.top+e.height/2,i=E.width,r=E.height,o=b.x-t,s=b.y-n,l=Math.max(0,Math.abs(o)-i/2),c=Math.max(0,Math.abs(s)-r/2),d=Math.sqrt(l*l+c*c);if(d>200)return"scale(1)";const u=1-d/200,m=Math.sqrt(o*o+s*s);if(0===m)return"scale(1)";const p=o/m,g=s/m,S=Math.min(m/300,1)*a*u,A=1+Math.abs(p)*S*.3-Math.abs(g)*S*.15,N=1+Math.abs(g)*S*.3-Math.abs(p)*S*.15;return`scaleX(${Math.max(.8,A)}) scaleY(${Math.max(.8,N)})`}),[b,a,E]),y=d((()=>{if(!h.current)return{x:0,y:0};const e=h.current.getBoundingClientRect(),t=e.left+e.width/2,n=e.top+e.height/2,i=E.width,r=E.height,o=Math.max(0,Math.abs(b.x-t)-i/2),s=Math.max(0,Math.abs(b.y-n)-r/2),l=Math.sqrt(o*o+s*s),c=l>200?0:1-l/200;return{x:(b.x-t)*a*.1*c,y:(b.y-n)*a*.1*c}}),[b,a,E]);o((()=>{const e=()=>{if(h.current){const e=h.current.getBoundingClientRect();A({width:e.width,height:e.height})}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[]);const I=d((()=>{p(!0)}),[]),x=d((()=>{p(!1)}),[]),R=d((()=>{S(!0)}),[]),O=d((()=>{S(!1)}),[]);return{filterId:u,glassRef:h,isHovered:m,isActive:g,currentGlassSize:E,globalMousePos:b,mouseOffset:T,calculateDirectionalScale:L,calculateElasticTranslation:y,handleMouseEnter:I,handleMouseLeave:x,handleMouseDown:R,handleMouseUp:O}},useHero:La,useInput:Ta,useLineChart:kt,useModal:function({isOpen:e,onOpenChange:t,onOpen:a,onClose:n}={}){const[r,s]=i(!1),l=void 0!==e,c=l?!!e:r;o((()=>{l&&s(!!e)}),[e,l]);const u=d((e=>{l||s(e),t&&t(e),e&&a?a():!e&&n&&n()}),[l,t,a,n]),h=d((()=>{u(!0)}),[u]),m=d((()=>{u(!1)}),[u]),p=d((()=>{u(!c)}),[c,u]);return{isOpen:c,open:h,close:m,toggle:p}},useNav:xa,useNavDropdown:Oa,useNavItem:Ra,useNavbar:Ia,usePagination:ea,usePieChart:zt,useRadio:Va,useRiver:ya,useSelect:Ha,useSideMenu:Ma,useSideMenuItem:wa,useSlider:Ka,useSpinner:qt,useTextarea:Ya,useTodo:Fa});const Wa=({options:a=[],value:n,onChange:s,onBlur:l,onFocus:c,placeholder:d="Select an option",className:u="",style:h,disabled:m=!1,required:p=!1,id:g,name:S,size:E="md",invalid:A=!1,valid:N=!1,multiple:v=!1,ariaLabel:_,ariaDescribedBy:f,glass:b})=>{const{generateSelectClass:T}=Ha({size:E,disabled:m,invalid:A,valid:N}),C=T({className:`${u} ${b?"c-select--glass":""}`.trim(),size:E,disabled:m,invalid:A,valid:N}),[L,y]=i(!1),[I,x]=i(d),R=r(null),O=r(null),M=r(null),w=r(null);o((()=>{if(n){const e=a.find((e=>e.value===n));e&&x(e.label)}else x(d)}),[n,a,d]),o((()=>{const e=e=>{R.current&&!R.current.contains(e.target)&&(y(!1),M.current&&(M.current.style.height="0px"))};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[]);const D=t("div",{className:`${C} ${L?oe.CLASSES.IS_OPEN:""}`,ref:R,style:h,"aria-expanded":L,children:[t("select",{ref:w,value:n,onChange:s,onBlur:l,onFocus:c,disabled:m,required:p,id:g,name:S,multiple:v,"aria-label":_,"aria-describedby":f,"aria-invalid":A,style:{display:"none"},children:[d&&e("option",{value:"",disabled:!0,children:d}),a.map((t=>e("option",{value:t.value,disabled:t.disabled,children:t.label},t.value)))]}),e("div",{className:oe.CLASSES.SELECTED,onClick:()=>{m||(!L&&M.current&&O.current?M.current.style.height=`${O.current.clientHeight}px`:M.current&&(M.current.style.height="0px"),y(!L))},"aria-disabled":m,children:I}),e("i",{className:`${oe.CLASSES.ICON_CARET} ${oe.CLASSES.TOGGLE_ICON}`}),e("div",{className:oe.CLASSES.SELECT_BODY,ref:M,style:{height:0},children:e("div",{className:oe.CLASSES.SELECT_PANEL,ref:O,children:e("ul",{className:oe.CLASSES.SELECT_ITEMS,children:a.map(((a,i)=>e("li",{className:oe.CLASSES.SELECT_ITEM,"data-value":a.value,onClick:()=>!a.disabled&&(e=>{if(x(e.label),y(!1),M.current&&(M.current.style.height="0px"),w.current&&(w.current.value=e.value),s){const t={target:{name:S,value:e.value}};s(t)}})(a),children:t("label",{htmlFor:`SelectItem${i}`,className:"c-checkbox",children:[e("input",{type:"checkbox",id:`SelectItem${i}`,className:"c-checkbox__input c-select__item-input",checked:n===a.value,readOnly:!0,disabled:a.disabled}),e("div",{className:"c-select__item-label",children:a.label})]})},a.value)))})})})]});if(b){const t={displacementScale:60,blurAmount:1,saturation:180,aberrationIntensity:.2,cornerRadius:12,mode:"shader"},a=!0===b?t:{...t,...b};return e(Je,{...a,children:D})}return D};Wa.displayName="Select";const Qa=({label:a,checked:n=!1,onChange:i,className:r="",style:o,disabled:s=!1,required:l=!1,id:c,name:d,value:u,invalid:h=!1,valid:m=!1,ariaLabel:p,ariaDescribedBy:g,glass:S})=>{const{generateRadioClass:E}=Va({disabled:s,invalid:h,valid:m}),A=E({className:`${r} ${S?"c-radio--glass":""}`.trim(),disabled:s,invalid:h,valid:m}),N=t("div",{className:A,style:o,children:[e("input",{type:"radio",className:"c-radio__input",checked:n,onChange:i,disabled:s,required:l,id:c,name:d,value:u,"aria-label":a?void 0:p,"aria-describedby":g,"aria-invalid":h}),a&&e("label",{className:"c-radio__label",htmlFor:c,children:a})]});if(S){const t={displacementScale:40,blurAmount:1,saturation:160,aberrationIntensity:.3,cornerRadius:6,mode:"shader"},a=!0===S?t:{...t,...S};return e(Je,{...a,children:N})}return N};Qa.displayName="Radio";const Za=s((({value:t,onChange:a,onBlur:n,onFocus:i,placeholder:r,className:o="",style:s,disabled:l=!1,required:c=!1,readOnly:d=!1,id:u,name:h,rows:m=4,cols:p,maxLength:g,minLength:S,size:E="md",variant:A,invalid:N=!1,valid:v=!1,autoFocus:_=!1,ariaLabel:f,ariaDescribedBy:b,glass:T},C)=>{const{generateTextareaClass:L}=Ya({size:E,variant:A,disabled:l,invalid:N,valid:v}),y=L({className:`${o} ${T?"c-input--glass":""}`.trim(),size:E,variant:A,disabled:l,invalid:N,valid:v}),I=e("textarea",{ref:C,className:y,value:t,onChange:a,onBlur:n,onFocus:i,placeholder:r,disabled:l,required:c,readOnly:d,id:u,name:h,rows:m,cols:p,maxLength:g,minLength:S,autoFocus:_,"aria-label":f,"aria-describedby":b,"aria-invalid":N,style:T?{...{},...s}:s});if(T){const t={displacementScale:60,blurAmount:1,saturation:180,aberrationIntensity:1,cornerRadius:8,mode:"shader"},a=!0===T?t:{...t,...T};return e(Je,{...a,children:I})}return I}));Za.displayName="Textarea";const qa=s((({platform:a,url:n,icon:i,label:r,size:o="md",variant:s="default",disabled:l=!1,className:c="",...d},u)=>{const h=["c-footer__social-link",`c-footer__social-link--${a}`,`c-footer__social-link--${o}`,`c-footer__social-link--${s}`,l&&"c-footer__social-link--disabled",c].filter(Boolean).join(" "),m=r||`Follow us on ${(e=>({facebook:"Facebook",twitter:"Twitter",instagram:"Instagram",linkedin:"LinkedIn",youtube:"YouTube",github:"GitHub",discord:"Discord",tiktok:"TikTok",pinterest:"Pinterest",snapchat:"Snapchat",whatsapp:"WhatsApp",telegram:"Telegram",reddit:"Reddit",twitch:"Twitch",spotify:"Spotify",dribbble:"Dribbble",behance:"Behance",medium:"Medium",dev:"Dev.to",codepen:"CodePen"}[e]||e))(a)}`;return t("a",{ref:u,href:l?void 0:n,className:h,target:"_blank",rel:"noopener noreferrer","aria-label":m,"aria-disabled":l,...d,children:[e("span",{className:"c-footer__social-link-icon",children:i||(t=>{const a={facebook:"FacebookLogo",twitter:"TwitterLogo",instagram:"InstagramLogo",linkedin:"LinkedinLogo",youtube:"YoutubeLogo",github:"GithubLogo",discord:"DiscordLogo",tiktok:"TiktokLogo",pinterest:"PinterestLogo",snapchat:"SnapchatLogo",whatsapp:"WhatsappLogo",telegram:"TelegramLogo",reddit:"RedditLogo",twitch:"TwitchLogo",spotify:"SpotifyLogo",dribbble:"DribbbleLogo",behance:"BehanceLogo",medium:"MediumLogo",dev:"DevToLogo",codepen:"CodepenLogo"}[t];return e(nt,a?{name:a}:{name:"Link"})})(a)}),e("span",{className:"c-footer__social-link-label u-visually-hidden",children:m})]})}));qa.displayName="FooterSocialLink";const Xa=s((({children:t,className:a="",justifyContent:n,alignItems:i,noGutters:r,direction:o,wrap:s,...l},c)=>{const d=["o-grid"];return n&&d.push(`u-justify-content-${n}`),i&&d.push(`u-align-items-${i}`),r&&d.push("o-grid--no-gutters"),o&&d.push(`u-flex-direction-${o}`),s&&d.push(`u-flex-wrap-${s}`),a&&d.push(a),e("div",{ref:c,className:d.join(" "),...l,children:t})}));Xa.displayName="Grid";const ja=s((({children:t,className:a="",xs:n,sm:i,md:r,lg:o,xl:s,xxl:l,offsetXs:c,offsetSm:d,offsetMd:u,offsetLg:h,offsetXl:m,offsetXxl:p,grow:g,shrink:S,basis:E,align:A,...N},v)=>{const _=!(n||i||r||o||s||l)?["o-grid__col","o-grid__col--auto"]:["o-grid__col"],f=(e,t)=>{void 0!==e&&(!0!==e?!1!==e&&("xs"===t?"auto"===e?_.push("o-grid__col--auto"):_.push(`o-grid__col--${e}`):"auto"===e?_.push(`o-grid__col--${t}-auto`):_.push(`o-grid__col--${t}-${e}`)):_.push("xs"===t?"o-grid__col--auto":`o-grid__col--${t}-auto`))};return f(n,"xs"),f(i,"sm"),f(r,"md"),f(o,"lg"),f(s,"xl"),f(l,"xxl"),c&&_.push(`o-grid__offset--${c}`),d&&_.push(`o-grid__offset--sm-${d}`),u&&_.push(`o-grid__offset--md-${u}`),h&&_.push(`o-grid__offset--lg-${h}`),m&&_.push(`o-grid__offset--xl-${m}`),p&&_.push(`o-grid__offset--xxl-${p}`),void 0!==g&&_.push(g?"u-flex-grow-1":"u-flex-grow-0"),void 0!==S&&_.push(S?"u-flex-shrink-1":"u-flex-shrink-0"),E&&_.push(`u-flex-basis-${E}`),A&&_.push(`u-align-self-${A}`),a&&_.push(a),e("div",{ref:v,className:_.join(" "),...N,children:t})}));ja.displayName="GridCol";const Ja=s((({children:t,className:a="",justifyContent:n,alignItems:i,noGutters:r,...o},s)=>{const l=["o-grid"];return n&&l.push(`u-justify-content-${n}`),i&&l.push(`u-align-items-${i}`),r&&l.push("o-grid--no-gutters"),a&&l.push(a),e("div",{ref:s,className:l.join(" "),...o,children:t})}));Ja.displayName="Row";const en=s((({brand:a,brandLogo:i,brandDescription:r,copyright:o,layout:s="columns",variant:l="primary",size:c="md",showNewsletter:d=!1,newsletterTitle:u="Stay Updated",newsletterDescription:h="Subscribe to our newsletter for the latest updates.",newsletterPlaceholder:m="Enter your email",newsletterButtonText:p="Subscribe",onNewsletterSubmit:g,socialLinks:S=[],showBackToTop:E=!1,backToTopText:A="Back to Top",onBackToTop:N,showDivider:v=!0,sticky:_=!1,children:f,className:b="",disabled:T=!1,glass:C,...L},y)=>{const{footerClass:I,containerClass:x,brandClass:R,sectionsClass:O,bottomClass:M,handleNewsletterSubmit:w,handleBackToTop:D,socialLinks:B}=function(e={}){const{layout:t=Ne.DEFAULTS.LAYOUT,variant:a=Ne.DEFAULTS.VARIANT,size:n=Ne.DEFAULTS.SIZE,sticky:i=Ne.DEFAULTS.STICKY,showNewsletter:r=Ne.DEFAULTS.SHOW_NEWSLETTER,showBackToTop:o=Ne.DEFAULTS.SHOW_BACK_TO_TOP,socialLinks:s=[],onNewsletterSubmit:l,onBackToTop:c,className:d=""}=e;return{footerClass:[Ne.CLASSES.BASE,Ne.CLASSES[t.toUpperCase()]||Ne.CLASSES.COLUMNS,`c-footer--${a}`,Ne.CLASSES[n.toUpperCase()]||Ne.CLASSES.MD,i&&Ne.CLASSES.STICKY,r&&"c-footer--with-newsletter",d].filter(Boolean).join(" "),containerClass:Ne.CLASSES.CONTAINER,brandClass:Ne.CLASSES.BRAND,sectionsClass:[Ne.CLASSES.SECTIONS,"columns"===t&&"c-footer__sections--columns","centered"===t&&"c-footer__sections--centered","stacked"===t&&"c-footer__sections--stacked"].filter(Boolean).join(" "),bottomClass:Ne.CLASSES.BOTTOM,handleNewsletterSubmit:e=>{l&&l(e)},handleBackToTop:()=>{c?c():window.scrollTo({top:0,behavior:"smooth"})},socialLinks:s,showNewsletter:r}}({layout:s,variant:l,size:c,sticky:_,showNewsletter:d,showBackToTop:E,socialLinks:S,onNewsletterSubmit:g,onBackToTop:N,className:b}),P=(()=>{switch(s){case"columns":default:return{brand:4,content:d?4:8,newsletter:d?4:0};case"centered":case"minimal":case"stacked":return{brand:12,content:12,newsletter:d?12:0};case"flexible":return{brand:"auto",content:"auto",newsletter:"auto"};case"sidebar":return{brand:3,content:9,newsletter:d?9:0};case"wide":return{brand:3,content:6,newsletter:d?3:0}}})(),k=e=>{const t="columns"===s||"sidebar"===s||"wide"===s?P[e]:12;return"flexible"===s&&"auto"===P[e]?{xs:12,sm:!0,md:!0}:{xs:12,md:t}},U=t("div",{className:x,children:[t(Xa,{className:O,alignItems:"start",justifyContent:"centered"===s?"center":void 0,children:[(a||i||r)&&t(ja,{...k("brand"),className:R,children:[i&&e("div",{className:"c-footer__brand-logo",children:"string"==typeof i?e("img",{src:i,alt:"Brand Logo"}):i}),a&&e("div",{className:"c-footer__brand-name",children:"string"==typeof a?e("h3",{children:a}):a}),r&&e("div",{className:"c-footer__brand-description",children:r}),S.length>0&&e("div",{className:"c-footer__social","data-testid":"footer-social-links",children:S.map(((t,a)=>e(qa,{platform:t.platform,url:t.url,icon:t.icon,label:t.label,size:c},`${t.platform}-${a}`)))})]}),f&&e(ja,{...k("content"),className:"c-footer__content",children:e(Xa,{className:"c-footer__sections",alignItems:"centered"===s||"stacked"===s?"center":void 0,children:n.Children.map(f,(e=>n.isValidElement(e)?n.cloneElement(e,{showNewsletter:d}):e))})}),d&&t(ja,{...k("newsletter"),className:"c-footer__newsletter",children:[e("h4",{className:"c-footer__newsletter-title",children:u}),h&&e("p",{className:"c-footer__newsletter-description",children:h}),e(_a,{className:"c-footer__newsletter-form",onSubmit:e=>{e.preventDefault();const t=new FormData(e.currentTarget).get("email");t&&w(t)},children:t("div",{className:"c-footer__newsletter-input-group",children:[e(Ca,{type:"email",name:"email",className:"c-footer__newsletter-input",placeholder:m,required:!0}),e(mt,{type:"submit",className:"c-footer__newsletter-button",children:p})]})})]})]}),(o||E)&&t("div",{className:M,children:[o&&e("div",{className:"c-footer__copyright",children:o}),E&&t(mt,{variant:"ghost",className:"c-footer__back-to-top",onClick:D,disabled:T,"aria-label":A,children:[e("span",{className:"c-footer__back-to-top-icon",children:"↑"}),e("span",{className:"c-footer__back-to-top-text",children:A})]})]})]});return e("footer",{ref:y,className:I+" c-footer "+(C?"c-footer--glass":""),...L,children:C?e(Je,{...C,elasticity:0,children:e("div",{className:"c-footer__glass",children:U})}):U})}));en.displayName="Footer";const tn=s((({children:t,className:a="",xs:s=1,sm:l,md:c,lg:m,xl:p,xxl:g,gap:S=16,animate:A=!0,imagesLoaded:N=!0,onLayoutComplete:v,onImageLoad:_,...f},b)=>{const[T,C]=i(s),[L,y]=i([]),[I,x]=i(!1),[R,O]=i(!1),M=r(null),w=r([]),D=r(0),B=r(0),P=r(new Map);o((()=>{O(!!N)}),[T,N]),E(b,(()=>M.current));const k=d((()=>{const e=window.innerWidth;return e>=1400&&void 0!==g?g:e>=1200&&void 0!==p?p:e>=992&&void 0!==m?m:e>=768&&void 0!==c?c:e>=576&&void 0!==l?l:s}),[s,l,c,m,p,g]);o((()=>{const e=()=>C(k());return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[k]);const[U,G]=i([]);o((()=>{const e=[];u.forEach(t,((t,a)=>{h(t)&&e.push({id:t.key?.toString()||`masonry-item-${a}`,element:t,position:null,ref:n.createRef()})})),G(e)}),[t]);const z=d((e=>{if(!P.current.get(e)){if(P.current.set(e,!0),D.current+=1,M.current&&N){const t=e.closest(".o-masonry-grid > div");t&&(t.offsetHeight,t.classList.add("o-masonry-grid__item-loaded"),t.classList.remove("o-masonry-grid__item-loading"))}requestAnimationFrame((()=>{requestAnimationFrame((()=>{V()}))})),_?.(D.current,B.current),D.current>=B.current&&B.current>0&&(x(!0),O(!1),requestAnimationFrame((()=>{requestAnimationFrame((()=>{V(),O(!1)}))})),v?.())}}),[_,v,N]),F=d((()=>{if(!N||!M.current)return;P.current.clear(),D.current=0;const e=M.current.querySelectorAll("img");return B.current=e.length,0===e.length?(x(!0),O(!1),void v?.()):(O(!0),e.forEach((e=>{const t=e,a=e.closest(".o-masonry-grid > div");if(a&&a.classList.add("o-masonry-grid__item-loading"),e.complete)z(e);else{const a=()=>z(e);e.addEventListener("load",a),e.addEventListener("error",a),t._masonryLoadHandler=a}})),()=>{e.forEach((e=>{const t=e;t._masonryLoadHandler&&(e.removeEventListener("load",t._masonryLoadHandler),e.removeEventListener("error",t._masonryLoadHandler),delete t._masonryLoadHandler)}))})}),[N,z,v]),V=d((()=>{if(!M.current||0===U.length)return;const e=(M.current.offsetWidth-S*(T-1))/T;w.current=Array(T).fill(0);const t=[];U.forEach(((a,n)=>{if(a.ref.current){const i=w.current.indexOf(Math.min(...w.current)),r=i*(e+S),o=w.current[i]??0,s=a.ref.current.offsetHeight;w.current[i]=o+s+S,t[n]={left:r,top:o,width:e,height:s}}})),y(t)}),[U,T,S]);o((()=>{if(!M.current)return;let e=null;const t=new ResizeObserver((()=>{e&&cancelAnimationFrame(e),e=requestAnimationFrame((()=>V()))}));return t.observe(M.current),()=>{t.disconnect(),e&&cancelAnimationFrame(e)}}),[V]),n.useLayoutEffect((()=>{if(N){return F()}return V(),x(!0),void O(!1)}),[U,T,V,N,F]),n.useEffect((()=>{const e=[];return U.forEach((t=>{if(t.ref.current){const a=new ResizeObserver((()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{V()}))}))}));a.observe(t.ref.current),e.push(a)}})),()=>{e.forEach((e=>e.disconnect()))}}),[U,V]);const H=w.current.length>0?Math.max(...w.current):0,Y=["o-masonry-grid",a,A?"o-masonry-grid--animate":"",R?"o-masonry-grid--loading-images":""].filter(Boolean).join(" ");return e("div",{ref:M,className:Y,style:{position:"relative",width:"100%",height:`${H}px`,...f.style},...f,children:U.map(((t,a)=>{const n=L[a];return e("div",n?{ref:t.ref,className:"o-masonry-grid__item",style:{position:"absolute",left:`${n.left}px`,top:`${n.top}px`,width:`${n.width}px`,opacity:1},children:t.element}:{ref:t.ref,style:{opacity:0,position:"absolute"},children:t.element},t.id)}))})}));tn.displayName="MasonryGrid";const an=s((({children:t,className:a="",...n},i)=>{const r=["o-masonry-grid__item-inner"];return a&&r.push(a),e("div",{ref:i,className:r.join(" "),...n,children:t})}));an.displayName="MasonryGridItem";var nn=Object.freeze({__proto__:null,Container:lt,Grid:Xa,GridCol:ja,MasonryGrid:tn,MasonryGridItem:an,Row:Ja});const rn=s((({title:a,icon:i,collapsible:r=!1,defaultCollapsed:o=!1,showNewsletter:s=!1,children:l,className:c="",...d},u)=>{const[h,m]=n.useState(o),p=["c-footer__section",r&&"c-footer__section--collapsible",h&&"c-footer__section--collapsed",c].filter(Boolean).join(" ");return e(ja,{xs:12,md:s?6:3,className:"c-footer__section-col",children:t("div",{ref:u,className:p,...d,children:[a&&e("div",{className:"c-footer__section-header",children:r?t("button",{type:"button",className:"c-footer__section-toggle",onClick:()=>{r&&m(!h)},"aria-expanded":!h,"aria-controls":`footer-section-${a.toString().toLowerCase().replace(/\s+/g,"-")}`,children:[i&&e("span",{className:"c-footer__section-icon",children:i}),e("h4",{className:"c-footer__section-title",children:a}),e("span",{className:"c-footer__section-chevron",children:h?"▼":"▲"})]}):t("div",{className:"c-footer__section-header-content",children:[i&&e("span",{className:"c-footer__section-icon",children:i}),e("h4",{className:"c-footer__section-title",children:a})]})}),e("div",{className:"c-footer__section-content",id:a?`footer-section-${a.toString().toLowerCase().replace(/\s+/g,"-")}`:void 0,style:{display:r&&h?"none":"flex"},children:l})]})})}));rn.displayName="FooterSection";const on=s((({href:a,icon:n,external:i=!1,active:r=!1,disabled:o=!1,onClick:s,children:l,className:c="",LinkComponent:d,...u},h)=>{const m={className:["c-footer__link",r&&"c-footer__link--active",o&&"c-footer__link--disabled",c].filter(Boolean).join(" "),onClick:o?void 0:s,"aria-disabled":o,...i&&{target:"_blank",rel:"noopener noreferrer"},...u};return d?t(d,{ref:h,to:a,...m,children:[n&&e("span",{className:"c-footer__link-icon",children:n}),e("span",{className:"c-footer__link-text",children:l}),i&&e("span",{className:"c-footer__link-external",children:"↗"})]}):t("a",{ref:h,href:o?void 0:a,...m,children:[n&&e("span",{className:"c-footer__link-icon",children:n}),e("span",{className:"c-footer__link-text",children:l}),i&&e("span",{className:"c-footer__link-external",children:"↗"})]})}));on.displayName="FooterLink";const sn=({title:n,subtitle:i,text:r,imageSrc:o,imageAlt:s="Hero image",alignment:l="left",backgroundImageSrc:c,showOverlay:d=!0,fullViewportHeight:u=!1,actions:h,imageColSize:m=7,contentColSize:p=5,contentWidth:g,className:S="",style:E,parallax:A=!1,parallaxIntensity:N=.5,videoBackground:v,children:_,glass:f,videoOptions:b={autoplay:!0,loop:!0,muted:!0},backgroundSlider:T})=>{const{generateHeroClassNames:C,generateImageColClass:L,generateContentColClass:y,hasBackgroundImage:I,hasForegroundImage:x,useGridLayout:R,heroRef:O,videoRef:M,backgroundSlider:w,hasBackgroundSlider:D}=La({alignment:l,imageColSize:m,contentColSize:p,imageSrc:o,backgroundImageSrc:c,showOverlay:d,fullViewportHeight:u,contentWidth:g,parallax:A,parallaxIntensity:N,videoBackground:v,backgroundSlider:T}),B={...g?{"--atomix-hero-content-width":g}:{},...E},P=()=>{if(!v)return null;const{autoplay:a,loop:n,muted:i,posterUrl:r}=b;return t("video",{ref:M,className:"c-hero__video",autoPlay:a,loop:n,muted:i,playsInline:!0,poster:r,children:[e("source",{src:v,type:`video/${v.split(".").pop()||"mp4"}`}),"Your browser does not support the video tag."]})},U=()=>{const a=t("div",{className:k.SELECTORS.CONTENT.replace(".",""),children:[i&&e("p",{className:k.SELECTORS.SUBTITLE.replace(".",""),children:i}),e("h1",{className:k.SELECTORS.TITLE.replace(".",""),children:n}),r&&e("p",{className:k.SELECTORS.TEXT.replace(".",""),children:r}),h&&e("div",{className:k.SELECTORS.ACTIONS.replace(".",""),children:h})]});return!1===f?a:f?e("div",!0===f?{className:k.SELECTORS.CONTENT.replace(".",""),children:e(Je,{displacementScale:60,blurAmount:3,saturation:180,aberrationIntensity:0,cornerRadius:8,overLight:!1,mode:"standard",children:t("div",{className:"u-p-4",children:[i&&e("p",{className:k.SELECTORS.SUBTITLE.replace(".",""),children:i}),e("h1",{className:k.SELECTORS.TITLE.replace(".",""),children:n}),r&&e("p",{className:k.SELECTORS.TEXT.replace(".",""),children:r}),h&&e("div",{className:k.SELECTORS.ACTIONS.replace(".",""),children:h})]})})}:{className:k.SELECTORS.CONTENT.replace(".",""),children:e(Je,{...f,children:t("div",{className:"u-p-4",children:[i&&e("p",{className:k.SELECTORS.SUBTITLE.replace(".",""),children:i}),e("h1",{className:k.SELECTORS.TITLE.replace(".",""),children:n}),r&&e("p",{className:k.SELECTORS.TEXT.replace(".",""),children:r}),h&&e("div",{className:k.SELECTORS.ACTIONS.replace(".",""),children:h})]})})}):a},G=()=>x?e("div","center"===l?{className:k.SELECTORS.IMAGE_WRAPPER.replace(".",""),children:e("img",{src:o,alt:s,className:k.SELECTORS.IMAGE.replace(".","")})}:{className:L(),children:e("img",{src:o,alt:s,className:k.SELECTORS.IMAGE.replace(".","")})}):null;return t("div",{ref:O,className:C(S),style:B,"data-parallax":A?"true":void 0,"data-parallax-intensity":A?N:void 0,children:[(()=>{if(D&&T&&w){const{slides:a,transition:n="fade",transitionDuration:i=1e3}=T,{currentIndex:r,slideRefs:o,videoRefs:s}=w;let l=k.CLASSES.SLIDER_FADE;return"slide"===n?l=k.CLASSES.SLIDER_SLIDE:"custom"===n&&(l=k.CLASSES.SLIDER_CUSTOM),t("div",{className:`${k.SELECTORS.SLIDER.replace(".","")} ${l}`,style:{"--slider-transition-duration":`${i}ms`},onMouseEnter:()=>{T.autoplay?.pauseOnHover&&w.pauseAutoplay()},onMouseLeave:()=>{T.autoplay?.pauseOnHover&&w.resumeAutoplay()},children:[a.map(((a,n)=>{const i=n===r,l=o[n],c=s[n];return e("div",{ref:l,className:`${k.SELECTORS.SLIDER_ITEM.replace(".","")} ${i?k.CLASSES.SLIDER_ITEM_ACTIVE:""}`,children:"image"===a.type?e("img",{src:a.src,alt:a.alt||"Background slide",className:k.SELECTORS.BG_IMAGE.replace(".","")}):t("video",{ref:c,className:"c-hero__video",autoPlay:!1!==a.videoOptions?.autoplay,loop:!1!==a.videoOptions?.loop,muted:!1!==a.videoOptions?.muted,playsInline:!0,poster:a.videoOptions?.posterUrl,children:[e("source",{src:a.src,type:`video/${a.src.split(".").pop()||"mp4"}`}),"Your browser does not support the video tag."]})},n)})),d&&e("div",{className:k.SELECTORS.OVERLAY.replace(".","")})]})}return I||v?t("div",{className:k.SELECTORS.BG.replace(".",""),children:[c&&e("img",{src:c,alt:"Background",className:k.SELECTORS.BG_IMAGE.replace(".","")}),P(),d&&e("div",{className:k.SELECTORS.OVERLAY.replace(".","")})]}):null})(),e("div",{className:`${k.SELECTORS.CONTAINER.replace(".","")} o-container`,children:_?e("div",{className:k.SELECTORS.GRID.replace(".",""),children:_}):R?e("div",{className:`${k.SELECTORS.GRID.replace(".","")} o-grid`,children:t(a,"left"===l?{children:[e("div",{className:y(),children:U()}),G()]}:{children:[G(),e("div",{className:y(),children:U()})]})}):t(a,{children:[U(),G()]})})]})};sn.displayName="Hero";const ln=({children:t,variant:a="default",className:i="",style:r,...o})=>{const s=[D.BASE_CLASS,"default"!==a&&`c-list--${a}`,i].filter(Boolean).join(" "),l=["number","text"].includes(a)?"ol":"ul";return e(l,{className:s,style:r,...o,children:n.Children.map(t,(t=>(n.isValidElement(t),e("li",{className:"c-list__item",children:t}))))})};ln.displayName="List";const cn=({children:t,className:a="",style:i,variant:r="default"})=>{const o=O(B.BASE_CLASS,a),s=n.Children.toArray(t).filter((e=>n.isValidElement(e)&&e.type===ln));return e("div",{className:o,style:i,children:s.map(((e,t)=>{const a=e.props;return n.cloneElement(e,{key:t,variant:a?.variant??r})}))})};cn.displayName="ListGroup";const dn=({messages:n=[],otherAvatar:r,selfAvatar:o,otherName:s,width:l="100%",onSendMessage:c,placeholder:d="Type a message",className:u="",style:h,bodyHeight:m,disabled:p=!1,id:g,glass:S})=>{const{inputValue:E,handleInputChange:A,handleSubmit:N,handleKeyDown:v}=(({onSendMessage:e}={})=>{const[t,a]=i(""),n=n=>{n.preventDefault(),t.trim()&&e&&(e(t.trim()),a(""))};return{inputValue:t,setInputValue:a,handleInputChange:e=>{a(e.target.value)},handleSubmit:n,handleKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),n(e))}}})({onSendMessage:c}),_=g||`messages-${Math.random().toString(36).substr(2,9)}`,f=`${_}-input`,b={displacementScale:150,cornerRadius:12,elasticity:0,aberrationIntensity:2},T=`${ue.CLASSES.BASE} ${S?"c-messages--glass":""} ${p?"is-disabled":""} ${u}`,C=t(a,{children:[e("div",{className:ue.CLASSES.BODY,style:m?{"--atomix-messages-body-height":m}:void 0,children:n.map((a=>t("div",{className:`${ue.CLASSES.CONTENT} ${a.isSelf?ue.CLASSES.CONTENT_SELF:""}`,"aria-label":`${a.isSelf?"You":s||"Other person"} sent a message at ${a.time}`,children:[e(it,{src:a.isSelf?o:r,size:"xl",circle:!0,className:ue.CLASSES.AVATAR,alt:a.isSelf?"Your avatar":`${s||"Other person"}'s avatar`}),t("div",{className:ue.CLASSES.ITEMS,children:[!a.isSelf&&s&&e("div",{className:ue.CLASSES.NAME,children:s}),a.text&&t("div",{className:ue.CLASSES.TEXT,children:[a.text,e("span",{className:ue.CLASSES.TIME,"aria-label":`Sent at ${a.time}`,children:a.time})]}),a.image&&e("img",{className:ue.CLASSES.IMAGE,src:a.image,alt:"Message attachment",loading:"lazy"}),a.file&&t("div",{className:ue.CLASSES.FILE,"aria-label":`File attachment: ${a.file.name}, size: ${a.file.size}`,children:[e("span",{className:ue.CLASSES.FILE_ICON,children:e(nt,{name:"File","aria-hidden":"true"})}),t("div",{className:ue.CLASSES.FILE_DETAILS,children:[e("div",{className:ue.CLASSES.FILE_NAME,children:a.file.name}),e("div",{className:ue.CLASSES.FILE_SIZE,children:a.file.size})]})]})]})]},a.id)))}),t("form",{className:ue.CLASSES.FORM,onSubmit:N,"aria-label":"Message input form",children:[t("div",{className:ue.CLASSES.INPUT_GROUP,children:[e("label",{htmlFor:f,className:"u-visually-hidden",children:"Type a message"}),e("input",{id:f,type:"text",className:ue.CLASSES.INPUT,placeholder:d,value:E,onChange:A,onKeyDown:v,disabled:p,"aria-label":"Message input"}),t("div",{className:ue.CLASSES.OPTIONS,"aria-label":"Message options",children:[e("button",{type:"button",className:ue.CLASSES.OPTION,"aria-label":"Attach file",disabled:p,children:e(nt,{name:"PaperclipHorizontal","aria-hidden":"true",className:ue.CLASSES.OPTION_ICON})}),e("button",{type:"button",className:ue.CLASSES.OPTION,"aria-label":"Attach image",disabled:p,children:e(nt,{name:"Image","aria-hidden":"true",className:ue.CLASSES.OPTION_ICON})}),e("button",{type:"button",className:ue.CLASSES.OPTION,"aria-label":"Insert link",disabled:p,children:e(nt,{name:"Link","aria-hidden":"true",className:ue.CLASSES.OPTION_ICON})})]})]}),e("button",{type:"submit",className:ue.CLASSES.SUBMIT,"aria-label":"Send message",disabled:p,children:e(nt,{name:"PaperPlaneTilt","aria-hidden":"true",size:24})})]})]});if(S){const t=!0===S?b:{...b,...S};return e("div",{className:T,style:{"--atomix-messages-width":l,...h},id:_,"aria-label":"Chat messages",role:"log","aria-live":"polite",children:e(Je,{...t,children:e("div",{className:"c-messages__glass-content",style:{borderRadius:t.cornerRadius},children:C})})})}return e("div",{className:T,style:{"--atomix-messages-width":l,...h},id:_,"aria-label":"Chat messages",role:"log","aria-live":"polite",children:C})};dn.displayName="Messages";const un=({children:a,isOpen:n=!1,onOpenChange:s,onClose:l,onOpen:c,title:u,subtitle:h,size:m="md",backdrop:p=!0,keyboard:g=!0,className:S="",style:E,closeButton:A=!0,footer:N,glass:v,..._})=>{const f=r(null),b=r(null),T=r(null),{isOpen:C,open:L,close:y}=function({isOpen:e,onOpenChange:t,onOpen:a,onClose:n}={}){const[r,s]=i(!1),l=void 0!==e,c=l?!!e:r;o((()=>{l&&s(!!e)}),[e,l]);const u=d((e=>{l||s(e),t&&t(e),e&&a?a():!e&&n&&n()}),[l,t,a,n]),h=d((()=>{u(!0)}),[u]),m=d((()=>{u(!1)}),[u]),p=d((()=>{u(!c)}),[c,u]);return{isOpen:c,open:h,close:m,toggle:p}}({isOpen:n,onOpenChange:s,onClose:l,onOpen:c});o((()=>{if(!g)return;const e=e=>{"Escape"===e.key&&C&&y()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[C,y,g]);const I=["c-modal",C?de.CLASSES.IS_OPEN:"",m?`c-modal--${m}`:"",v?"c-modal--glass":"",S].filter(Boolean).join(" "),x=t("div",{className:"c-modal__content",children:[(u||A)&&t("div",{className:"c-modal__header",children:[t("div",{className:"c-modal__header-content",children:[u&&e("h3",{className:"c-modal__title",children:u}),h&&e("p",{className:"c-modal__sub",children:h})]}),A&&e("button",{type:"button",className:"c-modal__close c-btn js-modal-close",onClick:y,"aria-label":"Close modal",children:e("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M16.0672 15.1828C16.1253 15.2409 16.1713 15.3098 16.2028 15.3857C16.2342 15.4615 16.2504 15.5429 16.2504 15.625C16.2504 15.7071 16.2342 15.7884 16.2028 15.8643C16.1713 15.9402 16.1253 16.0091 16.0672 16.0672C16.0091 16.1252 15.9402 16.1713 15.8643 16.2027C15.7885 16.2342 15.7071 16.2503 15.625 16.2503C15.5429 16.2503 15.4616 16.2342 15.3857 16.2027C15.3098 16.1713 15.2409 16.1252 15.1828 16.0672L10 10.8836L4.8172 16.0672C4.69992 16.1844 4.54086 16.2503 4.37501 16.2503C4.20916 16.2503 4.0501 16.1844 3.93282 16.0672C3.81555 15.9499 3.74966 15.7908 3.74966 15.625C3.74966 15.4591 3.81555 15.3001 3.93282 15.1828L9.11642 9.99998L3.93282 4.81717C3.81555 4.69989 3.74966 4.54083 3.74966 4.37498C3.74966 4.20913 3.81555 4.05007 3.93282 3.93279C4.0501 3.81552 4.20916 3.74963 4.37501 3.74963C4.54086 3.74963 4.69992 3.81552 4.8172 3.93279L10 9.11639L15.1828 3.93279C15.3001 3.81552 15.4592 3.74963 15.625 3.74963C15.7909 3.74963 15.9499 3.81552 16.0672 3.93279C16.1845 4.05007 16.2504 4.20913 16.2504 4.37498C16.2504 4.54083 16.1845 4.69989 16.0672 4.81717L10.8836 9.99998L16.0672 15.1828Z",fill:"#141414"})})})]}),e("div",{className:"c-modal__body",children:a}),N&&e("div",{className:"c-modal__footer",children:N})]});return t("div",{ref:f,className:I,style:{display:C?"block":"none",...E},role:"dialog","aria-modal":"true","aria-hidden":!C,..._,children:[e("div",{ref:T,className:"c-modal__backdrop",onClick:e=>{p&&e.target===e.currentTarget&&y()}}),e("div",{ref:b,className:"c-modal__dialog",children:v?(()=>{const t={displacementScale:100,blurAmount:2,aberrationIntensity:1,cornerRadius:12,mode:"shader"},a=!0===v?t:{...t,...v};return e(Je,{...a,children:x})})():x})]})};un.displayName="Modal";const hn=s((({children:t,alignment:a="start",variant:i="default",className:r="",disabled:o=!1,glass:s},l)=>{const{generateNavClass:c}=xa({alignment:a,variant:i}),d=c({alignment:a,variant:i,className:r}),u=e("ul",{ref:l,className:d+(s?" c-nav--glass":""),role:"menubar","aria-orientation":"horizontal",children:n.Children.map(t,(e=>{if(n.isValidElement(e)){const t=e.props;return n.cloneElement(e,{...t,disabled:!!o||t?.disabled})}return e}))});if(s){const t={displacementScale:60,blurAmount:1.5,cornerRadius:8,mode:"shader"},a=!0===s?t:{...t,...s};return e(Je,{...a,children:u})}return u}));hn.displayName="Nav";const mn=s((({children:a,dropdown:s=!1,megaMenu:l=!1,active:c=!1,href:d,onClick:u,className:h="",disabled:m=!1,"aria-expanded":p,LinkComponent:g},S)=>{const{generateNavItemClass:E,generateNavLinkClass:A,handleClick:N}=Ra({dropdown:s,megaMenu:l,active:c,disabled:m}),[v,_]=i(!1),f=r(null);o((()=>{if(!s&&!l||!v)return;const e=e=>{if(f.current&&!f.current.contains(e.target)){window.innerWidth<768||_(!1)}};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[s,l,v]),o((()=>{if(!s&&!l)return;const e=()=>{!(window.innerWidth<768)&&v&&_(!1)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[s,l,v]);const b=E({dropdown:s,megaMenu:l,active:c,disabled:m,className:h})+(v?" is-active":""),T=A(c,m,s||l?"c-nav__dropdown-toggle":""),C=n.Children.toArray(a),L=void 0!==p?p:v,y={ref:f,href:d||"#",className:T,onClick:s||l?e=>{(s||l)&&(e.preventDefault(),_(!v))}:N(u),"aria-disabled":m,"aria-expanded":s||l?L:void 0,"aria-current":!c||s||l?void 0:"page"};return t("li",{ref:S,className:b,role:"menuitem","aria-haspopup":s||l,children:[e(g||"a",{...y,children:s||l?C[0]:a}),(s||l)&&C.length>1&&C[1]]})}));mn.displayName="NavItem";const pn=s((({brand:a,children:n,variant:s,position:l="static",containerWidth:c,collapsible:d=!0,expanded:u,onToggle:h,className:m="",style:p,disabled:g=!1,backdrop:S=!1,closeOnOutsideClick:E=!0,closeOnEscape:A=!0,ariaLabel:N="Main navigation",id:v,glass:_},f)=>{const{generateNavbarClass:b,generateContainerStyle:T,generateCollapseClass:C}=Ia({position:l,collapsible:d,expanded:u,onToggle:h}),[L,y]=i(u||!1),I=r(null);o((()=>{void 0!==u&&y(u)}),[u]),o((()=>{const e=()=>{!(window.innerWidth<768)&&d&&("function"==typeof h?u&&h(!1):y(!1))};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[d,u,h]);const x=b({position:l,variant:s,collapsible:d,className:m}),R=T(c),O=C(L),M=t("div",{className:"c-navbar__container",style:R,children:[a&&("string"==typeof a?e("a",{href:"/",className:"c-navbar__brand",children:a}):e("div",{className:"c-navbar__brand",children:a})),d&&e("button",{className:"c-navbar__toggler",onClick:()=>{if(g)return;const e=!L;"function"==typeof h?h(e):y(e)},"aria-expanded":L,"aria-label":"Toggle navigation","aria-controls":"navbar-collapse",disabled:g,type:"button",children:e("span",{className:"c-navbar__toggler-icon"})}),e("div",{id:"navbar-collapse",className:O,ref:I,children:n})]});if(_){const t={displacementScale:30,blurAmount:2,cornerRadius:0,elasticity:0,mode:"shader",shaderVariant:"premiumGlass"},a=!0===_?t:{...t,..._};return e(Je,{...a,style:{..."fixed"===l&&{position:"fixed"},left:0,right:0,top:0,zIndex:1e3},children:e("nav",{ref:f,className:x+" c-navbar--glass","aria-label":N,id:v,style:p,children:M})})}return e("nav",{ref:f,className:x,"aria-label":N,id:v,style:p,children:M})}));pn.displayName="Navbar";const gn=s((({title:n,children:i,isOpen:r,onToggle:o,collapsible:s=!0,className:l="",style:c,disabled:d=!1,toggleIcon:u,id:h,glass:m},p)=>{const{isOpenState:g,wrapperRef:S,innerRef:E,generateSideMenuClass:A,generateWrapperClass:N,handleToggle:v}=Ma({isOpen:r,onToggle:o,collapsible:s,disabled:d}),_=A({className:l,isOpen:g}),f=N(),b=e(nt,{name:"CaretRight",size:"xs"}),T=t(a,{children:[n&&s&&t("div",{className:"c-side-menu__toggler",onClick:v,role:"button",tabIndex:d?-1:0,"aria-expanded":g,"aria-controls":h?`${h}-content`:void 0,"aria-disabled":d,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||d||(e.preventDefault(),v())},children:[e("span",{className:"c-side-menu__title",children:n}),e("span",{className:"c-side-menu__toggler-icon",children:u||b})]}),n&&!s&&e("h3",{className:"c-side-menu__title",children:n}),e("div",{ref:S,className:f,id:h?`${h}-content`:void 0,"aria-hidden":!!s&&!g,children:e("div",{ref:E,className:"c-side-menu__inner",children:i})})]});if(m){const t={displacementScale:70,blurAmount:2,cornerRadius:12,mode:"shader"},a=!0===m?t:{...t,...m};return e(Je,{...a,children:e("div",{ref:p,className:_+" c-side-menu--glass",id:h,style:c,children:T})})}return e("div",{ref:p,className:_,id:h,style:c,children:T})}));gn.displayName="SideMenu";const Sn=s((({children:a,href:n,onClick:i,active:r=!1,disabled:o=!1,icon:s,className:l="",target:c,rel:d,LinkComponent:u},h)=>{const{generateSideMenuItemClass:m,handleClick:p}=wa({active:r,disabled:o,className:l}),g=m(),S={ref:h,href:o?void 0:n,className:g,onClick:p(i),"aria-disabled":o,"aria-current":r?"page":void 0,target:c,rel:d,tabIndex:o?-1:0};return n?t(u||"a",{...S,children:[s&&e("span",{className:"c-side-menu__link-icon",children:s}),e("span",{className:"c-side-menu__link-text",children:a})]}):t("button",{ref:h,type:"button",className:g,onClick:p(i),disabled:o,"aria-current":r?"page":void 0,tabIndex:o?-1:0,children:[s&&e("span",{className:"c-side-menu__link-icon",children:s}),e("span",{className:"c-side-menu__link-text",children:a})]})}));Sn.displayName="SideMenuItem";const En=s((({children:t,className:a=""},i)=>{const r=`c-side-menu__list ${a}`.trim();return e("ul",{ref:i,className:r,role:"list",children:n.Children.map(t,((t,a)=>n.isValidElement(t)?e("li",{className:"c-side-menu__item",role:"listitem",children:t},a):t))})}));En.displayName="SideMenuList";const An=s((({children:t,className:a="",style:i,disabled:r=!1},o)=>e("div",{ref:o,className:`c-menu ${a}`,style:i,children:e("ul",{className:"c-menu__list",role:"menu",children:n.Children.map(t,(e=>{if(n.isValidElement(e)){const t=e.props;return n.cloneElement(e,{...t,disabled:!!r||t?.disabled})}return e}))})}))),Nn=s((({children:a,href:n="#",icon:i,active:r=!1,disabled:o=!1,onClick:s,className:l=""},c)=>e("li",{ref:c,className:`c-menu__item ${r?"is-active":""} ${o?"is-disabled":""} ${l}`,role:"menuitem",children:t("a",{href:n,className:"c-menu__link",onClick:e=>{o?e.preventDefault():s&&s()},"aria-disabled":o,"aria-current":r?"page":void 0,children:[i&&("string"==typeof i?i.startsWith("c-icon-")?e(nt,{name:vn(i.replace("c-icon-","")),size:"sm",className:"c-menu__icon"}):e("i",{className:`c-menu__icon ${i}`,children:"string"!=typeof i&&i}):e("span",{className:"c-menu__icon",children:i})),a]})}))),vn=e=>({circle:"Circle","caret-down":"CaretDown","caret-up":"CaretUp","caret-right":"CaretRight",user:"User",settings:"Gear","sign-out":"SignOut",file:"File",bookmark:"Bookmark","question-circle":"Question",bell:"Bell",search:"MagnifyingGlass"}[e]||"Circle"),_n=s((({className:t=""},a)=>e("li",{ref:a,className:`c-menu__divider ${t}`,role:"separator"}))),fn=s((({children:t,className:a="",style:i,disabled:r=!1},o)=>e("div",{ref:o,className:`c-menu c-menu--mega ${a}`,style:i,children:e("div",{className:"c-menu__container",children:e("div",{className:"c-menu__grid o-grid",children:n.Children.map(t,(e=>{if(n.isValidElement(e)){const t=e.props;return n.cloneElement(e,{...t,disabled:!!r||t?.disabled})}return e}))})})}))),bn=s((({title:a,icon:i,children:r,width:o="auto",className:s="",disabled:l=!1},c)=>t("div",{ref:c,className:`o-grid__col o-grid__col--${o} ${s}`,children:[(a||i)&&t("div",{className:"c-menu__header",children:[i&&("string"==typeof i?i.startsWith("c-icon-")?e(nt,{name:vn(i.replace("c-icon-","")),size:"sm",className:"c-menu__header-icon"}):e("i",{className:`c-menu__header-icon ${i}`,children:"string"!=typeof i&&i}):e("span",{className:"c-menu__header-icon",children:i})),a&&e("div",{className:"c-menu__header-title",children:a})]}),e("ul",{className:"c-menu__subitems-list",role:"menu",children:n.Children.map(r,(t=>{if(n.isValidElement(t)){const a=t.props;return e("li",{className:"c-menu__subitem",role:"menuitem",children:n.cloneElement(t,{...a,disabled:!!l||a?.disabled})})}return null}))})]}))),Tn=s((({href:t,children:a,className:n="",disabled:i=!1,onClick:r},o)=>e("a",{ref:o,href:t,className:`c-menu__subitem-link ${i?"is-disabled":""} ${n}`,onClick:e=>{i?e.preventDefault():r&&r()},"aria-disabled":i,children:a}))),Cn=s((({title:n,children:s,alignment:l="start",megaMenu:c=!1,className:d="",style:u,disabled:h=!1},m)=>{const{generateDropdownMenuClass:p,getIconName:g}=Oa({alignment:l,megaMenu:c}),[S,E]=i(!1),A=r(null),N=p({alignment:l,megaMenu:c,className:d}),v=g(c);o((()=>{if(!S)return;const e=e=>{window.innerWidth<768||!A.current||A.current.contains(e.target)||E(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[S]),o((()=>{if(!S)return;const e=e=>{"Escape"===e.key&&E(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[S]);const _=t(a,{children:[n,e(nt,{name:v,size:"sm",className:"c-nav__icon"})]}),f=e("div",{className:N,ref:A,"aria-hidden":!S,children:s});return t(mn,{dropdown:!c,megaMenu:c,disabled:h,className:S?"is-active":"",href:"#",onClick:()=>{h||E(!S)},"aria-expanded":S,style:u,children:[_,f]})}));Cn.displayName="NavDropdown";const Ln=({currentIndex:a,imagesLength:n,onZoomOut:i,onResetZoom:r,onZoomIn:o,onToggleFullscreen:s,onClose:l,isFullscreen:c,zoomLevel:d,onRotate:u,onDownload:h,onShare:m,showInfo:p,onToggleInfo:g,currentImage:S})=>t("div",{className:"c-photo-viewer__header",children:[t("div",{className:"c-photo-viewer__header-left",children:[e(st,{label:`${a+1} / ${n}`,variant:"primary",size:"sm"}),S?.title&&e("h3",{className:"c-photo-viewer__image-title",children:S.title})]}),t("div",{className:"c-photo-viewer__actions",children:[e(mt,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:i,disabled:d<=.1,"aria-label":"Zoom out",className:"c-photo-viewer__action-button",icon:e(nt,{name:"Minus",size:"sm"})}),e(mt,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:r,disabled:1===d,"aria-label":"Reset zoom",className:"c-photo-viewer__action-button",icon:e(nt,{name:"MagnifyingGlass",size:"sm"})}),e(mt,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:o,disabled:d>=5,"aria-label":"Zoom in",className:"c-photo-viewer__action-button",icon:e(nt,{name:"Plus",size:"sm"})}),e("div",{className:"c-photo-viewer__divider"}),e(mt,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:u,"aria-label":"Rotate image",className:"c-photo-viewer__action-button",icon:e(nt,{name:"ArrowsClockwise",size:"sm"})}),e(mt,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:h,"aria-label":"Download image",className:"c-photo-viewer__action-button",icon:e(nt,{name:"Download",size:"sm"})}),"share"in navigator&&"function"==typeof navigator.share&&e(mt,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:m,"aria-label":"Share image",className:"c-photo-viewer__action-button",icon:e(nt,{name:"Share",size:"sm"})}),e(mt,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:g,"aria-label":"Toggle info panel",className:"c-photo-viewer__action-button "+(p?"is-active":""),icon:e(nt,{name:"Info",size:"sm"})}),e("div",{className:"c-photo-viewer__divider"}),e(mt,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:s,"aria-label":c?"Exit fullscreen":"Enter fullscreen",className:"c-photo-viewer__action-button",icon:e(nt,{name:c?"ArrowsIn":"ArrowsOut",size:"sm"})}),e(mt,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:l,"aria-label":"Close viewer",className:"c-photo-viewer__action-button c-photo-viewer__close-button",icon:e(nt,{name:"X",size:"sm"})})]})]}),yn=({show:n,onPrev:i,onNext:r,currentIndex:s,imagesLength:l,enableKeyboardNav:c,onClose:d})=>(o((()=>{if(!c)return;const e=e=>{"ArrowLeft"===e.key&&i(),"ArrowRight"===e.key&&r(),"Escape"===e.key&&d()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)}),[c,i,r,d]),n?t(a,{children:[e(mt,{iconOnly:!0,size:"md",variant:"ghost",rounded:!0,onClick:i,disabled:0===s,"aria-label":"Previous image",className:"c-photo-viewer__nav-button c-photo-viewer__nav-button--prev",icon:e(nt,{name:"CaretLeft",size:"md"})}),e(mt,{iconOnly:!0,size:"md",variant:"ghost",rounded:!0,onClick:r,disabled:s===l-1,"aria-label":"Next image",className:"c-photo-viewer__nav-button c-photo-viewer__nav-button--next",icon:e(nt,{name:"CaretRight",size:"md"})})]}):null),In=({imageRef:t,containerRef:a,src:n,alt:s,zoomLevel:l,dragPosition:c,isDragging:d,rotationAngle:u,isTransitioning:h=!1,onMouseDown:m,onMouseMove:p,onMouseUp:g,onWheel:S,onTouchStart:E,onTouchMove:A,onTouchEnd:N,onDoubleClick:v})=>{const _=r(null),f=a||_,[b,T]=i(!1);o((()=>(T(!0),()=>T(!1))),[]);return o((()=>{const e=f.current;if(!e)return;const t=t=>{b&&e&&S&&S(t)},a=t=>{b&&e&&E&&E(t)},n=t=>{b&&e&&A&&A(t)},i=t=>{b&&e&&N&&N(t)};return b&&(e.addEventListener("wheel",t,{passive:!1}),e.addEventListener("touchstart",a,{passive:!1}),e.addEventListener("touchmove",n,{passive:!1}),e.addEventListener("touchend",i,{passive:!1})),()=>{e.removeEventListener("wheel",t),e.removeEventListener("touchstart",a),e.removeEventListener("touchmove",n),e.removeEventListener("touchend",i)}}),[b,S,E,A,N,f]),e("div",{ref:f,className:"c-photo-viewer__image-container "+(h?"is-transitioning":""),style:{cursor:d?"grabbing":l>1?"grab":"default",opacity:h?.7:1,touchAction:"none"},onMouseDown:m,onMouseMove:p,onMouseUp:g,onMouseLeave:g,onDoubleClick:e=>{b&&v&&v(e)},children:e("img",{ref:t,src:n,alt:s,className:"c-photo-viewer__image",style:{transform:`scale(${l}) translate(${c.x}px, ${c.y}px) rotate(${u}deg)`,transition:d?"none":h?"opacity 0.15s ease-out":"transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)",transformOrigin:"center center",willChange:d?"transform":"auto",touchAction:"none"},draggable:!1,onContextMenu:e=>e.preventDefault()})})},xn=({images:a,currentIndex:n,goToImage:i})=>a.length<=1?null:e("div",{className:"c-photo-viewer__thumbnails",children:e("div",{className:"c-photo-viewer__thumbnails-container",children:a.map(((a,r)=>{const o=a.thumbnail||a.src,s=r===n;return e(mt,{variant:"ghost",className:"c-photo-viewer__thumbnail "+(s?"is-active":""),onClick:()=>i(r),"aria-label":`View image ${r+1}${a.title?`: ${a.title}`:""}`,"aria-current":s,children:t("div",{className:"c-photo-viewer__thumbnail-wrapper",children:[e("img",{loading:"lazy",src:o,alt:a.alt||`Thumbnail ${r+1}`,className:"c-photo-viewer__thumbnail-img"}),s&&e("div",{className:"c-photo-viewer__thumbnail-indicator"})]})},r)}))})}),Rn=({show:a,image:n,onClose:i})=>a&&n?t("div",{className:"c-photo-viewer__info-panel",children:[t("div",{className:"c-photo-viewer__info-header",children:[e("h4",{className:"c-photo-viewer__info-panel-title",children:"Image Details"}),e(mt,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:i,"aria-label":"Close info panel",className:"c-photo-viewer__info-close",icon:e(nt,{name:"X",size:"sm"})})]}),t("div",{className:"c-photo-viewer__info-content",children:[n.title&&e("div",{className:"c-photo-viewer__info-section",children:e("h5",{className:"c-photo-viewer__info-title",children:n.title})}),n.description&&e("div",{className:"c-photo-viewer__info-section",children:e("p",{className:"c-photo-viewer__info-description",children:n.description})}),(n.date||n.author)&&e("div",{className:"c-photo-viewer__info-section",children:t("div",{className:"c-photo-viewer__info-meta",children:[n.date&&t("div",{className:"c-photo-viewer__info-meta-item",children:[e(nt,{name:"Calendar",size:14}),e("span",{children:n.date})]}),n.author&&t("div",{className:"c-photo-viewer__info-meta-item",children:[e(nt,{name:"User",size:14}),e("span",{children:n.author})]})]})}),n.tags&&n.tags.length>0&&t("div",{className:"c-photo-viewer__info-section",children:[e("h6",{className:"c-photo-viewer__info-section-title",children:"Tags"}),e("div",{className:"c-photo-viewer__info-tags",children:n.tags.map(((t,a)=>e(st,{label:t,variant:"secondary",size:"sm"},a)))})]})]})]}):null,On=({images:a,startIndex:n=0,className:s="",disabled:l=!1,enableKeyboardNavigation:u=!0,enableGestures:h=!0,enableFullscreen:m=!0,thumbnailPosition:p="bottom",onImageChange:g,onClose:S})=>{const{currentIndex:E,zoomLevel:A,imagePosition:N,isDragging:v,isFullscreen:_,rotationAngle:f,showInfo:b,imageRef:T,containerRef:C,isTransitioning:L,setZoomLevel:y,setImagePosition:I,setIsDragging:x,setIsFullscreen:R,setRotationAngle:O,setShowInfo:M,closeModal:w,goToPrevious:D,goToNext:B,setCurrentIndex:P,handleMouseDown:k,handleMouseMove:U,handleMouseUp:G,handleWheel:z,handleTouchStart:F,handleTouchMove:V,handleTouchEnd:H,handleDoubleClick:Y,resetImageState:K}=(({images:e,startIndex:t=0,enableGestures:a=!0,onImageChange:n,onClose:s})=>{const[l,c]=i(t),[u,h]=i(!1),[m,p]=i(!1),[g,S]=i({x:0,y:0}),[E,A]=i(!1),[N,v]=i(!1),[_,f]=i({}),[b,T]=i(!1),[C,L]=i(!1),[y,I]=i({velocity:0,timestamp:0}),x=r(null),R=r(null),O=r([]),M=r(null),w=r(null),D=r(0),B=r(null),P=d(((e,t)=>{if(!C||!x.current||!R.current)return{minX:0,maxX:0,minY:0,maxY:0};const a=x.current,n=R.current;if(!a.naturalWidth&&!a.width)return{minX:0,maxX:0,minY:0,maxY:0};const i=a.naturalWidth||a.width||800,r=a.naturalHeight||a.height||600;try{const a=n.getBoundingClientRect();if(!a||0===a.width||0===a.height)return{minX:0,maxX:0,minY:0,maxY:0};const o=a.width,s=a.height,l=t*Math.PI/180,c=Math.abs(Math.cos(l)),d=Math.abs(Math.sin(l)),u=i/r;let h,m;o/s>u?(m=Math.min(.9*s,r),h=m*u):(h=Math.min(.9*o,i),m=h/u);const p=(h*c+m*d)*e,g=(h*d+m*c)*e,S=Math.max(0,(p-o)/2),E=Math.max(0,(g-s)/2);return{minX:-S,maxX:S,minY:-E,maxY:E}}catch(e){return{minX:0,maxX:0,minY:0,maxY:0}}}),[C]),k=d(((e,t)=>({x:Math.max(t.minX,Math.min(t.maxX,e.x)),y:Math.max(t.minY,Math.min(t.maxY,e.y))})),[]);o((()=>(L(!0),t<0||t>=e.length?c(0):c(t),()=>L(!1))),[e,t]),o((()=>{u?document.body.classList.add("is-open-photoviewer"):document.body.classList.remove("is-open-photoviewer")}),[u]),o((()=>{u&&f((e=>e[l]?e:{...e,[l]:{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}}}))}),[u,l]),o((()=>{n&&n(l)}),[l,n]),o((()=>{const e=x.current,t=R.current,a=()=>{C&&e&&t&&f((e=>{const t=e[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},a=P(t.zoomLevel,t.rotation),n=k(t.position,a);return{...e,[l]:{...t,bounds:a,position:n}}}))};if(!(e&&t&&e.complete&&C))return e&&t&&C?(e.addEventListener("load",a),()=>e.removeEventListener("load",a)):void 0;a()}),[l,P,k,C]),o((()=>{const e=()=>{C&&x.current&&R.current&&f((e=>{const t=e[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},a=P(t.zoomLevel,t.rotation),n=k(t.position,a);return{...e,[l]:{...t,bounds:a,position:n}}}))};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[l,P,k,C]);const U=d((()=>{h(!0)}),[]),G=d((()=>{h(!1),s&&s()}),[s]),z=d((()=>{l>0&&(T(!0),setTimeout((()=>{c((e=>e-1)),T(!1)}),150))}),[l]),F=d((()=>{l<e.length-1&&(T(!0),setTimeout((()=>{c((e=>e+1)),T(!1)}),150))}),[l,e.length]),V=d((e=>{f((t=>{const a=t[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},n="function"==typeof e?e(a.zoomLevel):e,i=Math.max(.1,Math.min(5,n)),r=P(i,a.rotation),o=k(a.position,r);return{...t,[l]:{...a,zoomLevel:i,bounds:r,position:o}}}))}),[C,l,P,k]),H=d((e=>{f((t=>{const a=t[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},n="function"==typeof e?e(a.position):e,i=k(n,a.bounds);return{...t,[l]:{...a,position:i}}}))}),[l,k]),Y=d((e=>{f((t=>{const a=t[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},n=(("function"==typeof e?e(a.rotation):e)%360+360)%360,i=P(a.zoomLevel,n),r=k(a.position,i);return{...t,[l]:{...a,rotation:n,bounds:i,position:r}}}))}),[C,l,P,k]),K=d((e=>{if(!C||!e||!e.currentTarget)return;const t=e.currentTarget;if(t&&"function"==typeof t.getBoundingClientRect){if("undefined"!=typeof window&&window.location?.href?.includes("storybook"))try{const e=t.getBoundingClientRect();if(!e||0===e.width||0===e.height)return}catch(e){return}f((a=>{const n=a[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},i=/Mac|iPod|iPhone|iPad/.test(navigator.platform),r=e.ctrlKey&&i,o=Math.abs(e.deltaX)>0,s=!e.ctrlKey&&o&&i,c=!e.ctrlKey&&!o&&i,d=!i;let u,h=!1;if(r)u=-.02*e.deltaY,h=!0;else if(s){if(!(n.zoomLevel>1))return a;u=-.003*e.deltaY,h=!0}else c?(u=-.004*e.deltaY,h=!0):d?(u=-.006*e.deltaY,h=!0):(u=-.005*e.deltaY,h=!0);h&&(e.preventDefault(),e.stopPropagation());const m=Date.now(),p=m-D.current;if(D.current=m,r&&p<100){const e=Math.abs(u)/p;I({velocity:e,timestamp:m}),B.current&&clearTimeout(B.current),B.current=setTimeout((()=>{const e=()=>{I((t=>{if(t.velocity<.001)return t;const a=.95*t.velocity,n=a*(u>0?1:-1);return f((e=>{const t=e[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},a=Math.max(.1,Math.min(5,t.zoomLevel+n));if(a===t.zoomLevel)return e;const i=P(a,t.rotation),r=k(t.position,i);return{...e,[l]:{...t,zoomLevel:a,bounds:i,position:r}}})),a>=.001&&requestAnimationFrame(e),{velocity:a,timestamp:Date.now()}}))};requestAnimationFrame(e)}),50)}let g;try{g=t.getBoundingClientRect()}catch(e){return a}if(!g||0===g.width||0===g.height)return a;const S=g.width/2,E=g.height/2,A=e.clientX-g.left-S,N=e.clientY-g.top-E,v=n.zoomLevel,_=Math.max(.1,Math.min(5,v+u));if(_!==v){const e=_/v,t=P(_,n.rotation),i={x:n.position.x+A*(1-e)*.5,y:n.position.y+N*(1-e)*.5},r=k(i,t);return{...a,[l]:{...n,zoomLevel:_,bounds:t,position:r}}}return a}))}}),[C,l,P,k]),$=d((e=>{if(!C||!e||!e.currentTarget)return;const t=e.currentTarget;t&&"function"==typeof t.getBoundingClientRect&&f((a=>{const n=a[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};let i;try{i=t.getBoundingClientRect()}catch(e){return a}if(!i||0===i.width||0===i.height)return a;const r=i.width/2,o=i.height/2,s=e.clientX-i.left-r,c=e.clientY-i.top-o;let d,u={x:0,y:0};n.zoomLevel<1.5?(d=2,u={x:.5*-s,y:.5*-c}):n.zoomLevel<3?(d=4,u={x:.75*-s,y:.75*-c}):(d=1,u={x:0,y:0});const h=P(d,n.rotation),m=k(u,h);return{...a,[l]:{...n,zoomLevel:d,bounds:h,position:m}}}))}),[C,l,P,k]),W=d((e=>{f((t=>{const a=t[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};return a.zoomLevel>1&&(e.preventDefault(),p(!0),S({x:e.clientX-a.position.x,y:e.clientY-a.position.y})),t}))}),[l]),Q=d((e=>{m&&f((t=>{const a=t[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},n=Math.min(1,1/a.zoomLevel),i=(e.clientX-g.x)*n,r=(e.clientY-g.y)*n,o=k({x:i,y:r},a.bounds);return{...t,[l]:{...a,position:o}}}))}),[m,g,l,k]),Z=d((()=>{p(!1)}),[]),q=d((e=>{if(!a)return;const t=e.touches;t.length>1&&(e.preventDefault(),e.stopPropagation()),O.current=Array.from(t).map((e=>({x:e.clientX,y:e.clientY}))),f((e=>{const a=e[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};if(1===t.length&&a.zoomLevel>1){p(!0);const e=t[0];e&&S({x:e.clientX-a.position.x,y:e.clientY-a.position.y})}else if(2===t.length){const e=t[0],a=t[1];if(e&&a){const t=e.clientX-a.clientX,n=e.clientY-a.clientY;M.current=Math.sqrt(t*t+n*n),w.current={x:(e.clientX+a.clientX)/2,y:(e.clientY+a.clientY)/2}}}return e}))}),[a,l]),X=d((e=>{if(!a)return;const t=e.touches;t.length>1&&(e.preventDefault(),e.stopPropagation()),f((a=>{const n=a[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};n.zoomLevel>1&&1===t.length&&e.preventDefault();let i=null,r=0,o=null;if(1===t.length&&m&&n.zoomLevel>1){const e=t[0];if(e){const t=Math.min(1,1/n.zoomLevel);i={x:(e.clientX-g.x)*t,y:(e.clientY-g.y)*t}}if(i){const e=k(i,n.bounds);return{...a,[l]:{...n,position:e}}}}else if(2===t.length&&null!==M.current){const i=t[0],s=t[1];if(i&&s){const t=i.clientX-s.clientX,c=i.clientY-s.clientY,d=Math.sqrt(t*t+c*c);r=.005*(d-M.current),M.current=d,o={x:(i.clientX+s.clientX)/2,y:(i.clientY+s.clientY)/2};const u=n.zoomLevel,h=Math.max(.1,Math.min(5,u+r));if(h!==u&&w.current&&o){let t;try{t=e.currentTarget.getBoundingClientRect()}catch(e){return a}if(!t||0===t.width||0===t.height)return a;const i=t.width/2,r=t.height/2,s=o.x-t.left-i,c=o.y-t.top-r,d=h/u,m=P(h,n.rotation),p={x:n.position.x+s*(1-d)*.5,y:n.position.y+c*(1-d)*.5},g=k(p,m);return w.current=o,{...a,[l]:{...n,zoomLevel:h,bounds:m,position:g}}}o&&(w.current=o)}}return a}))}),[C,a,m,g,l,k,P]),j=d((()=>{p(!1),M.current=null,w.current=null}),[]),J=_[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};return{currentIndex:l,isModalOpen:u,zoomLevel:J.zoomLevel,imagePosition:J.position,isDragging:m,isFullscreen:E,rotationAngle:J.rotation,showInfo:N,imageRef:x,containerRef:R,isTransitioning:b,setCurrentIndex:c,setZoomLevel:V,setImagePosition:H,setIsDragging:p,setIsFullscreen:A,setRotationAngle:Y,setShowInfo:v,openModal:U,closeModal:G,goToPrevious:z,goToNext:F,handleWheel:K,handleMouseDown:W,handleMouseMove:Q,handleMouseUp:Z,handleTouchStart:q,handleTouchMove:X,handleTouchEnd:j,handleDoubleClick:$,resetImageState:()=>{f((e=>({...e,[l]:{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}}})))}}})({images:a,startIndex:n,enableGestures:h,onImageChange:g,onClose:S||(()=>{})}),$=c((()=>a.map((e=>"string"==typeof e?{src:e}:e))),[a]),W=$[E],Q=c((()=>["c-photo-viewer",`c-photo-viewer--thumbnails-${p}`,v?"c-photo-viewer--dragging":"",_?"c-photo-viewer--fullscreen":"",b?"c-photo-viewer--info-open":"",l?"is-disabled":"",s].filter(Boolean).join(" ")),[v,_,b,l,p,s]);return o((()=>{const e=()=>{R(!!document.fullscreenElement)};return document.addEventListener("fullscreenchange",e),()=>document.removeEventListener("fullscreenchange",e)}),[R]),o((()=>(document.body.classList.add("is-open-photoviewer"),()=>{document.body.classList.remove("is-open-photoviewer")})),[]),a.length?t("div",{className:Q,role:"dialog","aria-modal":"true","aria-label":"Photo viewer",children:[e("div",{className:"c-photo-viewer__backdrop",onClick:w}),t("div",{className:"c-photo-viewer__container",children:[e(Ln,{currentIndex:E,imagesLength:a.length,onZoomOut:()=>y((e=>Math.max(e-.25,.1))),onResetZoom:()=>{K()},onZoomIn:()=>y((e=>Math.min(e+.25,5))),onToggleFullscreen:()=>{if(m){if(_)document.exitFullscreen&&document.exitFullscreen();else{const e=document.documentElement;e.requestFullscreen&&e.requestFullscreen()}R(!_)}},onClose:S||w,isFullscreen:_,zoomLevel:A,onRotate:()=>{O((e=>(e+90)%360))},onDownload:()=>{if(!W?.src)return;const e=document.createElement("a");e.href=W.src;const t=(W.title||`image-${E+1}`).replace(/[^a-zA-Z0-9.-]/g,"_");e.download=t,document.body.appendChild(e),e.click(),document.body.removeChild(e)},onShare:async()=>{if(navigator.share&&W?.src)try{await navigator.share({title:W.title||"Shared Image",text:W.description||"Check out this image",url:W.src})}catch(e){}},showInfo:b,onToggleInfo:()=>M(!b),currentImage:W}),t("div",{className:"c-photo-viewer__content",children:[e(yn,{show:a.length>1,onPrev:D,onNext:B,currentIndex:E,imagesLength:a.length,enableKeyboardNav:u,onClose:S||w}),W?.src&&e(In,{imageRef:T,containerRef:C,src:W.src,alt:W?.alt||`Image ${E+1}`,zoomLevel:A,dragPosition:N,isDragging:v,rotationAngle:f,isTransitioning:L,onMouseDown:k,onMouseMove:U,onMouseUp:G,onWheel:z,onTouchStart:F,onTouchMove:V,onTouchEnd:H,onDoubleClick:Y})]}),"none"!==p&&e(xn,{images:$,currentIndex:E,goToImage:P}),e(Rn,{show:b,image:W,onClose:()=>M(!1)})]})]}):null};On.displayName="PhotoViewer";const Mn=g({isOpen:!1,setIsOpen:()=>{},triggerRef:{current:null},popoverId:"",triggerType:"click"}),wn=({content:a,position:n="top",trigger:s="click",className:l="",style:c,delay:d=0,offset:u=12,defaultOpen:h=!1,isOpen:m,onOpenChange:p,closeOnClickOutside:g=!0,closeOnEscape:S=!0,id:E,children:A,glass:N})=>{const{isOpen:v,setIsOpen:_,triggerRef:f,popoverRef:b,arrowRef:T,popoverId:C,currentPosition:L,updatePosition:y}=(({position:e="top",trigger:t="click",offset:a=12,delay:n=0,defaultOpen:s=!1,isOpen:l,onOpenChange:c,closeOnClickOutside:d=!0,closeOnEscape:u=!0,id:h})=>{const[m,p]=i(s),[g,S]=i("auto"===e?"top":e),E=r(null),A=r(null),N=r(null),v=r(null),_=h||`popover-${Math.random().toString(36).slice(2,11)}`,f=void 0!==l,b=f?l:m,T=e=>{f||p(e),c&&c(e)};o((()=>{if("hover"!==t||!E.current||!A.current)return;const e=()=>{null!==v.current&&(clearTimeout(v.current),v.current=null),n>0?v.current=setTimeout((()=>{T(!0)}),n):T(!0)},a=()=>{null!==v.current&&(clearTimeout(v.current),v.current=null),v.current=setTimeout((()=>{A.current?.matches(":hover")||T(!1)}),100)},i=()=>{null!==v.current&&(clearTimeout(v.current),v.current=null)},r=()=>{T(!1)};return E.current.addEventListener("mouseenter",e),E.current.addEventListener("mouseleave",a),A.current.addEventListener("mouseenter",i),A.current.addEventListener("mouseleave",r),()=>{E.current&&(E.current.removeEventListener("mouseenter",e),E.current.removeEventListener("mouseleave",a)),A.current&&(A.current.removeEventListener("mouseenter",i),A.current.removeEventListener("mouseleave",r)),null!==v.current&&window.clearTimeout(v.current)}}),[t,n,b]);const C=t=>{if(!E.current||!A.current)return;const n=E.current.getBoundingClientRect(),i=A.current.getBoundingClientRect(),r=window.innerWidth,o=window.innerHeight,s=n.top<50||n.bottom>o-50||n.left<50||n.right>r-50;if("scroll"===t?.type&&!s)return;const l=n.top,c=o-n.bottom,d=n.left,u=r-n.right;let h="auto"===e?"top":e;if("auto"===e){const e=[{position:"top",space:l},{position:"right",space:u},{position:"bottom",space:c},{position:"left",space:d}];e.sort(((e,t)=>t.space-e.space)),h=e[0]?.position}else("top"===e&&l<i.height+a&&c>=i.height+a||"bottom"===e&&c<i.height+a&&l>=i.height+a||"left"===e&&d<i.width+a&&u>=i.width+a||"right"===e&&u<i.width+a&&d>=i.width+a)&&(h={top:"bottom",bottom:"top",left:"right",right:"left",auto:"bottom"}[e]);S(h);let m=0,p=0;switch(h){case"top":m=n.top-i.height-a,p=n.left+n.width/2-i.width/2;break;case"bottom":m=n.bottom+a,p=n.left+n.width/2-i.width/2;break;case"left":m=n.top+n.height/2-i.height/2,p=n.left-i.width-a;break;case"right":m=n.top+n.height/2-i.height/2,p=n.right+a}p<0?p=5:p+i.width>r&&(p=r-i.width-5),m<0?m=5:m+i.height>o&&(m=o-i.height-5);const g=m+window.scrollY,N=p+window.scrollX;A.current.style.position="absolute",A.current.style.top=`${g}px`,A.current.style.left=`${N}px`};return o((()=>{if(!b||!E.current||!A.current)return;C(),window.addEventListener("resize",C);let e=null;const t=t=>{e||(e=setTimeout((()=>{C(t),e=null}),100))};window.addEventListener("scroll",t,{passive:!0});const a=setInterval((()=>{C()}),500);return()=>{window.removeEventListener("resize",C),window.removeEventListener("scroll",t),e&&clearTimeout(e),clearInterval(a)}}),[b,e,a]),o((()=>{if(!b||!d)return;const e=e=>{A.current&&!A.current.contains(e.target)&&E.current&&!E.current.contains(e.target)&&T(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[b,d]),o((()=>{if(!b||!u)return;const e=e=>{"Escape"===e.key&&T(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[b,u]),o((()=>()=>{null!==v.current&&window.clearTimeout(v.current)}),[]),{isOpen:b,setIsOpen:T,triggerRef:E,popoverRef:A,arrowRef:N,popoverId:_,currentPosition:g,updatePosition:C}})({position:n,trigger:s,offset:u,delay:d,defaultOpen:h,isOpen:m,onOpenChange:p,closeOnClickOutside:g,closeOnEscape:S,id:E});return t(Mn.Provider,{value:{isOpen:v,setIsOpen:_,triggerRef:f,popoverId:C,triggerType:s},children:[A,"undefined"!=typeof document&&R(t("div",{ref:b,className:`c-popover c-popover--${L} ${v?G.CLASSES.IS_OPEN:""} ${N?"c-popover--glass":""} ${l}`,style:c,id:C,role:"tooltip","aria-hidden":!v,children:[N?(()=>{const t={displacementScale:50,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},n=!0===N?t:{...t,...N};return e(Je,{...n,children:e("div",{className:"c-popover__content",children:e("div",{className:"c-popover__content-inner",children:a})})})})():e("div",{className:"c-popover__content",children:e("div",{className:"c-popover__content-inner",children:a})}),e("div",{ref:T,className:"c-popover__arrow"})]}),document.body)]})};s((({children:e,trigger:t},a)=>{const{isOpen:i,setIsOpen:r,triggerRef:o,popoverId:s,triggerType:l}=n.useContext(Mn),c=t||l,d=()=>{r(!i)},u=()=>{r(!0)},h=()=>{r(!1)},m=n.Children.only(e),p={ref:a||o,"aria-describedby":s,"aria-expanded":i};return"click"===c?p.onClick=d:"hover"===c&&(p.onMouseEnter=u,p.onMouseLeave=h),n.cloneElement(m,p)})),wn.displayName="Popover";function Dn(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Bn(e,t){return n.useMemo((()=>null==e&&null==t?null:a=>{Dn(e,a),Dn(t,a)}),[e,t])}const Pn=s((({value:a=0,defaultValue:n,maxValue:s=5,allowHalf:l=!1,readOnly:c=!1,size:u="md",color:h,onChange:m,className:p="",style:g,label:S,id:E,useVanillaJS:A=!1,glass:N,...v},_)=>{const f=r(null),b=r(null),{currentValue:T,hoverValue:C,focusedIndex:L,setHoverValue:y,setFocused:I,handleKeyDown:x}=(({value:e=0,maxValue:t=5,allowHalf:a=!1,readOnly:n=!1,onChange:r})=>{const o=void 0!==r,[s,l]=i(e),[c,u]=i(null),[h,m]=i(null),p=o?e:s,g=d((e=>{n||u(e)}),[n]),S=d((()=>{n||u(null)}),[n]),E=d((e=>{n||(o||l(e),r?.(e))}),[n,r,o]),A=d(((e,i)=>{if(n)return;const s=a?.5:1;let c=p;switch(e.key){case"ArrowRight":case"ArrowUp":c=Math.min(t,p+s),e.preventDefault();break;case"ArrowLeft":case"ArrowDown":c=Math.max(0,p-s),e.preventDefault();break;case"Home":c=0,e.preventDefault();break;case"End":c=t,e.preventDefault();break;case" ":case"Enter":c=i,e.preventDefault();break;default:return}c!==p&&(o||l(c),r?.(c))}),[p,t,a,n,r,o]);return{currentValue:p,hoverValue:c,focusedIndex:h,handleMouseEnter:g,handleMouseLeave:S,handleClick:E,handleKeyDown:A,setFocused:m,setHoverValue:u,isControlled:o}})({value:void 0!==a?a:n,maxValue:s,allowHalf:l,readOnly:c,onChange:m}),R=d(((e,t)=>{if(!c)if(l){const a=e.currentTarget.getBoundingClientRect(),n=a.left+a.width/2,i=e.clientX<n?t-.5:t;y(Math.max(.5,i))}else y(t)}),[c,l,y]),O=d(((e,t)=>{if(c||!l)return;const a=e.currentTarget.getBoundingClientRect(),n=a.left+a.width/2,i=e.clientX<n?t-.5:t;y(Math.max(.5,i))}),[c,l,y]),M=d((()=>{c||y(null)}),[c,y]),w=d(((e,t)=>{if(c)return;let a=t;if(l){const n=e.currentTarget.getBoundingClientRect(),i=n.left+n.width/2;a=e.clientX<i?t-.5:t,a=Math.max(.5,a)}m?.(a)}),[c,m,l]);o((()=>{if(A&&"undefined"!=typeof window&&f.current)return()=>{b.current&&b.current.destroy()}}),[A,a,n,s,l,c,u,h,m]),o((()=>{A&&b.current&&b.current.updateOptions({value:void 0!==a?a:n,maxValue:s,allowHalf:l,readOnly:c,size:u,color:h})}),[A,a,n,s,l,c,u,h]);const D=["c-rating","sm"===u?q.CLASSES.SMALL:"","lg"===u?q.CLASSES.LARGE:"",h?`c-rating--${h}`:"",p].filter(Boolean).join(" ");if(A)return e("div",{className:D,ref:Bn(f,_),id:E,...v});const B=null!==C?C:T,P=e("div",{className:D,ref:Bn(f,_),id:E,style:g,"data-readonly":c?"true":"false",onMouseLeave:M,role:c?"img":"radiogroup","aria-label":S||`Rating: ${T} out of ${s} stars`,...v,children:(()=>{const a=[],n=l?Math.floor(2*B)/2:Math.round(B),i=E||`rating-${Math.random().toString(36).substring(2,9)}`;for(let r=1;r<=s;r++){const o=r<=Math.floor(n),d=l&&r-.5===n,u=["c-rating__star",o?q.CLASSES.FULL:"",d?q.CLASSES.HALF:"",h?`c-rating__star--${h}`:"",L===r?"c-rating__star--focused":""].filter(Boolean).join(" "),m=`${i}-star-${r}`;a.push(e("div",{id:m,className:u,"data-value":r,role:c?"presentation":"button",tabIndex:c?-1:0,"aria-label":`${r} ${1===r?"star":"stars"}`,"aria-checked":r<=n,"aria-setsize":s,"aria-posinset":r,onClick:e=>w(e,r),onMouseEnter:e=>R(e,r),onMouseMove:e=>O(e,r),onFocus:()=>I(r),onBlur:()=>I(null),onKeyDown:e=>x(e,r),children:t("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:[e("path",{className:"c-rating__star-outline",d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",strokeWidth:"1"}),e("path",{className:"c-rating__star-full",d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),e("path",{className:"c-rating__star-half",d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",clipPath:`url(#half-star-clip-${i}-${r})`}),e("defs",{children:e("clipPath",{id:`half-star-clip-${i}-${r}`,children:e("rect",{x:"0",y:"0",width:"12",height:"24"})})})]})},r))}return a})()});if(N){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===N?t:{...t,...N};return e(Je,{...a,children:P})}return P}));Pn.displayName="Rating";const kn=({productName:a,productImage:n,initialRating:s=0,maxRating:l=5,allowHalf:c=!0,ratingColor:d="warning",onSubmit:u,className:h="",style:m})=>{const[p,g]=i(s),[S,E]=i(""),[A,N]=i(!1),v=r(null),_=r(null);o((()=>{if("undefined"!=typeof window&&v.current)return()=>{_.current&&_.current.destroy()}}),[a,n,s,l,c,d,u]);const f=e=>{e.preventDefault(),u&&u(p,S),N(!0)},b=["c-product-review",h].filter(Boolean).join(" ");return A?e("div",{className:b,ref:v,style:m,children:t("div",{className:"c-product-review__success",children:[e("h3",{children:"Thank you for your review!"}),e("p",{children:"Your feedback helps us improve our products."}),e(mt,{variant:"secondary",label:"Write another review",onClick:()=>{N(!1),g(0),E("")}})]})}):t("div",{className:b,ref:v,style:m,children:[t("div",{className:"c-product-review__header",children:[t("h3",{className:"c-product-review__title",children:["Review ",a]}),n&&e("div",{className:"c-product-review__image-wrapper",children:e("img",{src:n,alt:a,className:"c-product-review__image"})})]}),t("form",{className:"c-product-review__form",onSubmit:f,children:[t("div",{className:"c-product-review__rating-container",children:[e("label",{className:"c-product-review__label",children:"Your Rating"}),t("div",{className:"c-rating-container",children:[e(Pn,{value:p,onChange:g,allowHalf:c,maxValue:l,size:"lg",color:d}),e("span",{className:"c-rating__value",children:p>0?p.toFixed(1):"Select a rating"})]})]}),t("div",{className:"c-product-review__comment-container",children:[e("label",{htmlFor:"review-comment",className:"c-product-review__label",children:"Your Review"}),e("textarea",{id:"review-comment",className:"c-product-review__textarea",value:S,onChange:e=>E(e.target.value),placeholder:"Share your experience with this product...",rows:5})]}),e("div",{className:"c-product-review__actions",children:e(mt,{variant:"primary",label:"Submit Review",disabled:0===p,onClick:()=>f(new Event("click"))})})]})]})};kn.displayName="ProductReview";const Un=s((({value:t,variant:a="primary",size:n="md",className:i="",style:r,disabled:o=!1,ariaLabel:s=me.DEFAULTS.ARIA_LABEL,glass:l},c)=>{const{progressValue:d,progressStyle:u,progressClasses:h}=(({value:e,variant:t="primary",size:a="md",className:n=""})=>{const i=Math.min(Math.max(e,0),100),r="c-progress";return{progressValue:i,progressStyle:{"--atomix-progress-percentage":`${i}%`},progressClasses:[r,t?`${r}--${t}`:"",a?`${r}--${a}`:"",n||""].filter(Boolean).join(" ")}})({value:t,variant:a,size:n,className:i}),m=e("div",{ref:c,className:h+(l?" c-progress--glass":""),style:{...u,...r},role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":d,"aria-label":s,"aria-disabled":o,children:e("div",{className:me.CLASSES.BAR})});if(l){const t={displacementScale:30,blurAmount:.5,cornerRadius:8,mode:"shader"},a=!0===l?t:{...t,...l};return e(Je,{...a,children:m})}return m})),Gn=({title:a,text:n,actions:i,imageSrc:r,imageAlt:o="Image",center:s=!1,breakout:l=!1,reverse:c=!1,contentColumns:d,backgroundImageSrc:u,showOverlay:h=!0,contentWidth:m,className:p="",style:g})=>{const{generateRiverClassNames:S,generateContentClass:E,generateVisualClass:A,hasBackgroundImage:N,hasForegroundImage:v,textContent:_}=ya({title:a,text:n,imageSrc:r,imageAlt:o,center:s,breakout:l,reverse:c,backgroundImageSrc:u,showOverlay:h,contentWidth:m}),f={...m?{[$.ATTRIBUTES.CONTENT_WIDTH]:m}:{},...g},b=()=>N?t("div",{className:$.SELECTORS.BG.replace(".",""),children:[e("img",{src:u,alt:"Background",className:$.SELECTORS.BG_IMAGE.replace(".","")}),h&&e("div",{className:$.SELECTORS.OVERLAY.replace(".","")})]}):null,T=()=>v?e("div",{className:A(),children:e("div",{className:$.SELECTORS.IMAGE_WRAPPER.replace(".",""),children:e("img",{src:r,alt:o,className:$.SELECTORS.IMAGE.replace(".","")})})}):null;return d&&d.length>0?t("div",{className:S(p),style:f,children:[b(),e("div",{className:`${$.SELECTORS.CONTAINER.replace(".","")} o-container`,children:t("div",{className:$.SELECTORS.ROW.replace(".",""),children:[!c&&T(),t("div",{className:E(),children:[d.map(((t,a)=>e("div",{className:`${$.SELECTORS.CONTENT_COL.replace(".","")} ${$.SELECTORS[`CONTENT_COL_${t.type.toUpperCase()}`].replace(".","")}`,children:t.content},a))),i&&e("div",{className:$.SELECTORS.ACTIONS.replace(".",""),children:i})]}),c&&T()]})})]}):t("div",{className:S(p),style:f,children:[b(),e("div",{className:`${$.SELECTORS.CONTAINER.replace(".","")} o-container`,children:t("div",{className:$.SELECTORS.ROW.replace(".",""),children:[!c&&T(),t("div",{className:E(),children:[a&&e("h2",{className:$.SELECTORS.TITLE.replace(".",""),children:a}),_.map(((t,a)=>e("p",{className:$.SELECTORS.TEXT.replace(".",""),children:t},a))),i&&e("div",{className:$.SELECTORS.ACTIONS.replace(".",""),children:i})]}),c&&T()]})})]})};Gn.displayName="River";const zn=({title:a,label:n,text:i,actions:s,alignment:l="left",backgroundImageSrc:c,showOverlay:d=!1,imageSrc:u,imageAlt:h="Section image",size:m="md",skeleton:p=!1,className:g="",style:S})=>{const E=r(null),A=r(null);o((()=>{if("undefined"!=typeof window&&E.current)return()=>{A.current&&A.current.destroy()}}),[l,c,d,m,p]);const N=["c-sectionintro","center"===l?K.CLASSES.CENTER:"","sm"===m?K.CLASSES.SMALL:"","lg"===m?K.CLASSES.LARGE:"",c?"c-sectionintro--has-bg":"",g].filter(Boolean).join(" ");if(p)return e("div",{className:N,ref:E,style:S,children:t("div",{className:"c-sectionintro__container",children:[n&&e("div",{className:"c-sectionintro__label",children:e("span",{className:"c-skeleton u-w-25"})}),e("div",{className:"c-sectionintro__title",children:e("span",{className:"c-skeleton"})}),i&&t("div",{className:"c-sectionintro__text",children:[e("span",{className:"c-skeleton"}),e("span",{className:"c-skeleton"}),e("span",{className:"c-skeleton u-w-75"})]}),s&&e("div",{className:"c-sectionintro__actions",children:e("span",{className:"c-skeleton u-w-25"})}),u&&e("div",{className:"c-sectionintro__image-wrapper",children:e("div",{className:"c-sectionintro__image c-skeleton"})})]})});return t("div",{className:N,ref:E,style:S,children:[c?t("div",{className:"c-sectionintro__bg",children:[e("img",{src:c,alt:"Background",className:"c-sectionintro__bg-image"}),d&&e("div",{className:"c-sectionintro__overlay"})]}):null,n&&e("div",{className:"c-sectionintro__label",children:n}),e("h2",{className:"c-sectionintro__title",children:a}),i&&e("div",{className:"c-sectionintro__text",children:i}),s&&e("div",{className:"c-sectionintro__actions",children:s}),u&&e("div",{className:"c-sectionintro__image-wrapper",children:e("img",{src:u,alt:h,className:"c-sectionintro__image"})})]})};zn.displayName="SectionIntro";const Fn=s(((a,n)=>{const{slides:i=[],height:r=300,width:o="100%",slidesToShow:s=1,spaceBetween:l=0,loop:d=!1,initialSlide:u=0,direction:h="horizontal",speed:m=300,allowTouchMove:p=!0,threshold:g=50,grabCursor:S=!0,autoplay:E,navigation:A,pagination:N,className:v,style:_,onSlideChange:f,...b}=a;if(!i||0===i.length)return e("div",{className:"c-slider c-slider--empty",style:{height:r,width:o,..._},children:e("div",{className:"c-slider__empty-message",children:"No slides available"})});const T=Ka({slides:i,slidesToShow:s,spaceBetween:l,loop:d,initialSlide:u,direction:h,speed:m,allowTouchMove:p,threshold:g,autoplay:E,onSlideChange:f}),{containerRef:C,wrapperRef:L,allSlides:y,realIndex:I,translateValue:x,slideWidth:R,transitioning:O,touching:M,slideNext:w,slidePrev:D,goToSlide:B,canSlideNext:P,canSlidePrev:k,handleTouchStart:U,handleTouchMove:G,handleTouchEnd:z,loopedSlides:F}=T,V=c((()=>0===R?0:y.length*(R+l)-l),[y.length,R,l]),H=["c-slider","vertical"===h&&"c-slider--vertical",S&&"c-slider--grab-cursor",M&&"c-slider--grabbing",d&&"c-slider--loop",v].filter(Boolean).join(" ");return t("div",{ref:n||C,className:H,style:{height:"number"==typeof r?`${r}px`:r,width:"number"==typeof o?`${o}px`:o,overflow:"hidden",position:"relative",cursor:S&&!M?"grab":M?"grabbing":"default",..._},onTouchStart:U,onTouchMove:G,onTouchEnd:z,onMouseDown:U,onMouseMove:G,onMouseUp:z,onMouseLeave:z,children:[e("div",{ref:L,className:"c-slider__wrapper",style:{display:"flex",flexDirection:"vertical"===h?"column":"row",width:"horizontal"===h?`${V}px`:"100%",height:"vertical"===h?`${V}px`:"100%",transform:"horizontal"===h?`translateX(${x}px)`:`translateY(${x}px)`,transition:O&&!T.repositioningRef?.current?`transform ${m}ms ease-out`:"none",willChange:"transform"},children:y.map(((a,n)=>t("div",{className:["c-slider__slide",(d?n%i.length===I:n===I)&&"c-slider__slide--active",a.isClone&&"c-slider__slide--duplicate"].filter(Boolean).join(" "),style:{width:"vertical"===h?"100%":`${R}px`,height:"vertical"===h?`${R}px`:"100%",flexShrink:0,marginRight:"horizontal"===h&&n<y.length-1?`${l}px`:0,marginBottom:"vertical"===h&&n<y.length-1?`${l}px`:0},children:[a.video?e("video",{src:a.video.src,poster:a.video.poster,autoPlay:a.video.autoplay,loop:a.video.loop,muted:a.video.muted,style:{width:"100%",height:"100%",objectFit:"cover"}}):a.backgroundImage?e("div",{style:{width:"100%",height:"100%",backgroundImage:`url(${a.backgroundImage})`,backgroundSize:"cover",backgroundPosition:"center"},children:a.content}):a.image?e("img",{src:a.image,alt:a.alt||a.title||"",style:{width:"100%",height:"100%",objectFit:"cover"}}):a.content,(a.title||a.description)&&t("div",{className:"c-slider__slide-content",children:[a.title&&e("h3",{children:a.title}),a.description&&e("p",{children:a.description})]})]},a.id||n)))}),A&&t("div",{className:"c-slider__navigation",children:[e("button",{type:"button",className:"c-slider__navigation-prev",onClick:D,disabled:!k,"aria-label":"Previous slide"}),e("button",{type:"button",className:"c-slider__navigation-next",onClick:w,disabled:!P,"aria-label":"Next slide"})]}),N&&e("div",{className:"c-slider__pagination",children:i.map(((t,a)=>e("button",{type:"button",className:"c-slider__pagination-bullet "+(a===I?"c-slider__pagination-bullet--active":""),onClick:()=>B(a),"aria-label":`Go to slide ${a+1}`},a)))})]})}));Fn.displayName="Slider";const Vn=({items:a,activeIndex:n=0,vertical:r=!1,onStepChange:s,className:l="",style:c,glass:d})=>{const[u,h]=i(n);o((()=>{u!==n&&h(n)}),[n]);const m=e("div",{className:`c-steps ${r?V.CLASSES.VERTICAL:""} ${l}`,style:c,role:"navigation","aria-label":"Steps",children:a.map(((a,n)=>t("div",{className:`c-steps__item ${n<=u?V.CLASSES.ACTIVE:""} ${n<u?V.CLASSES.COMPLETED:""}`,"aria-current":n===u?"step":void 0,children:[e("div",{className:"c-steps__line"}),t("div",{className:"c-steps__content",children:[e("div",{className:"c-steps__number",children:a.number}),e("div",{className:"c-steps__text",children:a.text}),a.content&&e("div",{className:"c-steps__custom-content",children:a.content})]})]},`step-${n}`)))});if(d){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===d?t:{...t,...d};return e(Je,{...a,children:m})}return m};Vn.displayName="Steps";const Hn=({items:a,activeIndex:n=F.DEFAULTS.ACTIVE_INDEX,onTabChange:r,className:o="",style:s,glass:l})=>{const[c,d]=i(n),u=t("div",{className:`c-tabs js-atomix-tab ${o}`,style:s,children:[e("ul",{className:"c-tabs__nav",children:a.map(((t,a)=>e("li",{className:"c-tabs__nav-item",children:e("button",{className:`c-tabs__nav-btn ${a===c?F.CLASSES.ACTIVE:""}`,onClick:()=>(e=>{d(e),r&&r(e)})(a),"data-tabindex":a,role:"tab","aria-selected":a===c,"aria-controls":`tab-panel-${a}`,children:t.label})},`tab-nav-${a}`)))}),e("div",{className:"c-tabs__panels",children:a.map(((t,a)=>e("div",{className:`c-tabs__panel ${a===c?F.CLASSES.ACTIVE:""}`,"data-tabindex":a,id:`tab-panel-${a}`,role:"tabpanel","aria-labelledby":`tab-nav-${a}`,style:{height:a===c?"auto":"0px",opacity:a===c?1:0,overflow:"hidden",transition:"height 0.3s ease, opacity 0.3s ease"},children:e("div",{className:"c-tabs__panel-body",children:t.content})},`tab-panel-${a}`)))})]});if(l){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===l?t:{...t,...l};return e(Je,{...a,children:u})}return u};Hn.displayName="Tabs";const Yn=({quote:a,author:n,size:i="",skeleton:s=!1,className:l="",style:c})=>{const d=r(null),u=r(null);o((()=>{if("undefined"!=typeof window&&d.current)return()=>{u.current&&u.current.destroy()}}),[i,s]);const h=["c-testimonial","sm"===i?H.CLASSES.SMALL:"","lg"===i?H.CLASSES.LARGE:"",l].filter(Boolean).join(" ");return t("div",s?{className:h,ref:d,style:c,children:[t("blockquote",{className:"c-testimonial__quote",children:[e("span",{className:"c-skeleton"}),e("span",{className:"c-skeleton"}),e("span",{className:"c-skeleton u-w-75"}),e("span",{className:"c-skeleton u-w-25"})]}),t("div",{className:"c-testimonial__author",children:[e("span",{className:"c-testimonial__author-avatar c-avatar c-avatar--xxl c-avatar--circle c-skeleton"}),t("div",{className:"c-testimonial__info u-w-75",children:[e("p",{className:"c-testimonial__author-name",children:e("span",{className:"c-skeleton u-w-25"})}),e("p",{className:"c-testimonial__author-role",children:e("span",{className:"c-skeleton u-w-25"})})]})]})]}:{className:h,ref:d,style:c,children:[e("blockquote",{className:"c-testimonial__quote",children:a}),n&&t("div",{className:"c-testimonial__author",children:[n.avatarSrc&&e("img",{src:n.avatarSrc,alt:n.avatarAlt||"",className:"c-testimonial__author-avatar c-avatar c-avatar--xxl c-avatar--circle"}),t("div",{className:"c-testimonial__info",children:[e("p",{className:"c-testimonial__author-name",children:n.name}),e("p",{className:"c-testimonial__author-role",children:n.role})]})]})]})};Yn.displayName="Testimonial";const Kn=({items:a=[],title:n="Todo List",onAddTodo:r,onToggleTodo:s,onDeleteTodo:l,size:c="md",placeholder:d="Add a new todo",showCompleted:u=!0,className:h="",style:m,disabled:p=!1})=>{const{inputText:g,setInputText:S,addTodo:E,generateTodoClasses:A,generateItemClasses:N}=Fa({items:a,title:n,size:c,placeholder:d,showCompleted:u,disabled:p}),[v,_]=i(a);o((()=>{_(a)}),[a]);const f=u?v:v.filter((e=>!e.completed)),b=A({size:c,className:h,disabled:p});return t("div",{className:b,style:m,children:[n&&e("h2",{className:"c-todo__title",children:n}),e("form",{className:"c-todo__form",onSubmit:e=>{if(e.preventDefault(),p||!g.trim())return;const t={id:ka(),text:g.trim(),completed:!1};_((e=>[...e,t])),r&&r(g),S("")},children:t("div",{className:"c-todo__form-group",children:[e("input",{type:"text",className:"c-todo__input c-input",placeholder:d,value:g,onChange:e=>S(e.target.value),disabled:p,"aria-label":"Add a new todo"}),e("button",{type:"submit",className:"c-todo__add-btn c-btn c-btn--primary",disabled:p||!g.trim(),"aria-label":"Add todo",children:e(nt,{name:"Plus",size:"sm"})})]})}),e("ul",{className:"c-todo__list",children:0===f.length?e("li",{className:"c-todo__empty",children:"No items to display"}):f.map((a=>e("li",{className:N(a),children:t("div",{className:"c-todo__item-content",children:[t("label",{className:"c-todo__checkbox-label",children:[e("input",{type:"checkbox",className:"c-todo__checkbox c-checkbox",checked:a.completed,onChange:()=>{return e=a.id,void(p||(_((t=>t.map((t=>t.id===e?{...t,completed:!t.completed}:t)))),s&&s(e)));var e},disabled:p,"aria-label":`Mark "${a.text}" as ${a.completed?"incomplete":"complete"}`}),e("span",{className:"c-todo__item-text",children:a.text})]}),e("button",{type:"button",className:"c-todo__delete-btn c-btn c-btn--error c-btn--sm",onClick:()=>{return e=a.id,void(p||(_((t=>t.filter((t=>t.id!==e)))),l&&l(e)));var e},disabled:p,"aria-label":`Delete "${a.text}"`,children:e(nt,{name:"Trash",size:"sm"})})]})},a.id)))})]})};Kn.displayName="Todo";const $n=({initialOn:t=!1,onToggleOn:a,onToggleOff:n,disabled:r=!1,className:o="",style:s,glass:l})=>{const[c,d]=i(t),u=()=>{if(r)return;const e=!c;d(e),e?a&&a():n&&n()},h=e("div",{className:`c-toggle ${c?z.CLASSES.IS_ON:""} ${r?"is-disabled":""} ${o}`,style:s,onClick:u,onKeyDown:e=>{r||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),u())},role:"switch","aria-checked":c,tabIndex:r?-1:0,"aria-disabled":r,children:e("div",{className:"c-toggle__switch"})});if(l){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===l?t:{...t,...l};return e(Je,{...a,children:h})}return h};$n.displayName="Toggle";const Wn=({content:a,children:n,position:o=U.DEFAULTS.POSITION,trigger:s=U.DEFAULTS.TRIGGER,className:l="",style:c,delay:d=U.DEFAULTS.DELAY,offset:u=U.DEFAULTS.OFFSET,glass:h})=>{const[m,p]=i(!1),g=r(null),S=()=>{g.current&&clearTimeout(g.current),d>0?g.current=setTimeout((()=>{p(!0)}),d):p(!0)},E=()=>{g.current&&clearTimeout(g.current),p(!1)},A=()=>{m?E():S()},N={};return"hover"===s?(N.onMouseEnter=S,N.onMouseLeave=E):"click"===s&&(N.onClick=A),t("div",{className:"u-position-relative u-d-inline-block",style:c,children:[e("div",{className:`${U.SELECTORS.TRIGGER.substring(1)}${l?` ${l}`:""}`,...N,children:n}),m&&e("div",{className:`c-tooltip ${U.SELECTORS.TOOLTIP.substring(1)} ${(()=>{switch(o){case"top":default:return"c-tooltip--top";case"bottom":return"c-tooltip--bottom";case"left":return"c-tooltip--left";case"right":return"c-tooltip--right";case"top-left":return"c-tooltip--top-left";case"top-right":return"c-tooltip--top-right";case"bottom-left":return"c-tooltip--bottom-left";case"bottom-right":return"c-tooltip--bottom-right"}})()} ${h?"c-tooltip--glass":""}`,"data-tooltip-position":o,"data-tooltip-trigger":s,children:h?(()=>{const n={displacementScale:40,blurAmount:1,saturation:160,aberrationIntensity:.3,cornerRadius:6,mode:"shader"},i=!0===h?n:{...n,...h};return e(Je,{...i,children:t("div",{className:`c-tooltip__content ${U.SELECTORS.CONTENT.substring(1)} ${m&&"is-active"}`,children:[e("span",{className:U.SELECTORS.ARROW.substring(1)}),a]})})})():t("div",{className:`c-tooltip__content ${U.SELECTORS.CONTENT.substring(1)} ${m&&"is-active"}`,children:[e("span",{className:U.SELECTORS.ARROW.substring(1)}),a]})})]})};Wn.displayName="Tooltip";const Qn=({disabled:a=!1,size:n="md",maxSizeInMB:o=5,acceptedFileTypes:s=["application/pdf","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","image/jpeg","image/png"],multiple:l=!1,title:c="Drag and Drop files here",supportedFilesText:d="Files supported: PDF, XSLS, JPEG, PNG, Scanner",buttonText:u="Choose File",helperText:h=`Maximum size: ${o}MB`,icon:m=e("i",{className:"icon-lux-cloud-arrow-up-fill"}),onFileSelect:p,onFileUpload:g,onFileUploadComplete:S,onFileUploadError:E,className:A="",style:N})=>{const v=r(null),[_,f]=i("idle"),[b,T]=i(!1),[C,L]=i(null),[y,I]=i(0),[x,R]=i(null),[O,M]=i(null),[w,D]=i(null),B=r(0),P=()=>{v.current&&!a&&v.current.click()},k=e=>{if(!e.length)return;const t=(l?e:[e[0]]).filter((e=>void 0!==e&&U(e)));t.length&&p&&p(t),t.length&&(L(t[0]||null),t[0]&&G(t[0]))},U=e=>{const t=1024*o*1024;if(e.size>t)return f("error"),M(`File too large. Maximum size is ${o}MB.`),!1;if(s?.length){if(!s.some((t=>{if(t.endsWith("/*")){const a=t.split("/")[0];return e.type.startsWith(`${a}/`)}return e.type===t})))return f("error"),M("File type not supported."),!1}return!0},G=e=>{f("loading"),I(0);let t=0;const a=setInterval((()=>{t+=5,t<100?(I(t),R(`${Math.ceil((100-t)/5)} seconds left`),g&&g(e,t)):(clearInterval(a),f("success"),D("Upload successful"),S&&S(e))}),500)},z=["c-upload","md"!==n&&`c-upload--${n}`,b&&W.CLASSES.DRAGGING,a&&W.CLASSES.DISABLED,"loading"===_&&"c-upload--loading","success"===_&&"c-upload--success","error"===_&&"c-upload--error",A].filter(Boolean).join(" ");return t("div",{className:z,style:N,onDragEnter:e=>{e.preventDefault(),e.stopPropagation(),a||(B.current++,1===B.current&&T(!0))},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),a||(B.current--,0===B.current&&T(!1))},onDragOver:e=>{e.preventDefault(),e.stopPropagation()},onDrop:e=>{if(e.preventDefault(),e.stopPropagation(),a)return;if(B.current=0,T(!1),!e.dataTransfer.files?.length)return;const t=Array.from(e.dataTransfer.files);k(t)},children:[t("div",{className:"c-upload__inner",role:"button",tabIndex:a?-1:0,"aria-label":`${c}. ${d}. ${h}`,"aria-disabled":a,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||a||(e.preventDefault(),P())},children:[e("input",{type:"file",ref:v,className:"c-upload__input",onChange:e=>{if(!e.target.files?.length)return;const t=Array.from(e.target.files);k(t)},disabled:a,accept:s.join(","),multiple:l,"aria-hidden":"true"}),e("div",{className:"c-upload__icon",children:m}),e("h3",{className:"c-upload__title",children:c}),e("p",{className:"c-upload__text",children:d}),e("button",{type:"button",className:"c-upload__btn c-btn",onClick:P,disabled:a,children:u}),e("p",{className:"c-upload__helper-text",children:h})]}),"idle"!==_&&t("div",{className:"c-upload__loader",style:{"--upload-loader-percentage":y},children:[C&&t("div",{className:"c-upload__loader-status",children:[e("h5",{className:"c-upload__loader-title",children:C.name}),t("div",{className:"c-upload__loader-progress",children:[t("div",{className:"c-upload__loader-par",children:[y,"%"]}),e("div",{className:"c-upload__loader-time",children:x})]})]}),("loading"===_||"error"===_||"success"===_)&&t("div",{className:"c-upload__loader-control",children:[e("div",{className:"c-upload__loader-bar",children:t("svg",{children:[e("circle",{cx:"10",cy:"10",r:"10"}),e("circle",{cx:"10",cy:"10",r:"10"})]})}),e("button",{type:"button",className:"c-upload__loader-close",onClick:()=>{f("idle"),L(null),I(0),R(null),M(null),D(null)},"aria-label":"Close upload progress",children:e("i",{className:"icon-lux-x"})})]})]})]})};Qn.displayName="Upload";const Zn=s((({src:n,type:s="video",youtubeId:l,poster:c,autoplay:u=!1,loop:h=!1,muted:m=!1,controls:p=!0,preload:g="metadata",width:S,height:E,aspectRatio:A="16:9",className:R="",onPlay:O,onPause:M,onEnded:w,onTimeUpdate:D,onVolumeChange:B,onFullscreenChange:P,onError:k,showDownload:U=!1,showShare:G=!1,showSettings:z=!0,playbackRates:F=[.5,.75,1,1.25,1.5,2],subtitles:V,quality:H,ambientMode:Y=!1,glass:K=!1,glassOpacity:$=1,glassContent:W,style:Q,...Z},q)=>{const X=r(null),j=r(null),J=r(null),ee=r(null),[te,ae]=i(8),ne="youtube"===s||l||n&&Ga(n),ie=l||(ne&&n?Ua(n):null),{isPlaying:re,currentTime:oe,duration:se,volume:le,isMuted:ce,isFullscreen:de,isLoading:ue,playbackRate:he,currentQuality:me,showControls:ge,play:Se,pause:Ee,togglePlay:Ae,seek:Ne,setVolume:ve,toggleMute:_e,toggleFullscreen:fe,togglePictureInPicture:be,setPlaybackRate:Te,setQuality:Ce,formatTime:Le,getProgressPercentage:ye,getBufferedPercentage:Ie}=function({videoRef:e,containerRef:t,onPlay:a,onPause:n,onEnded:s,onTimeUpdate:l,onVolumeChange:c,onFullscreenChange:u,onError:h,playbackRates:m=[.5,.75,1,1.25,1.5,2],quality:p}){const[g,S]=i(!1),[E,A]=i(0),[N,v]=i(0),[_,f]=i(1),[b,T]=i(!1),[C,L]=i(!1),[y,I]=i(!1),[x,R]=i(!1),[O,M]=i(0),[w,D]=i(1),[B,P]=i(p?.[0]||null),[k,U]=i(!0),G=r(null),z=d((()=>{G.current&&clearTimeout(G.current),U(!0),G.current=setTimeout((()=>{g&&U(!1)}),3e3)}),[g]),F=d((async()=>{if(e.current)try{await e.current.play(),S(!0),a?.()}catch(e){h?.(e),S(!1)}}),[e,a,h]),V=d((()=>{e.current&&(e.current.pause(),S(!1),n?.())}),[e,n]),H=d((()=>{g?V():F()}),[g,F,V]),Y=d((t=>{e.current&&(e.current.currentTime=Math.max(0,Math.min(t,N)))}),[e,N]),K=d((t=>{const a=Math.max(0,Math.min(1,t));e.current&&(e.current.volume=a,f(a),T(0===a),c?.(a))}),[e,c]),$=d((()=>{if(e.current){const t=!b;e.current.muted=t,T(t)}}),[e,b]),W=d((async()=>{if(t.current)try{C?document.exitFullscreen&&await document.exitFullscreen():t.current.requestFullscreen&&await t.current.requestFullscreen()}catch(e){}}),[t,C]),Q=d((async()=>{if(e.current)try{y?document.exitPictureInPicture&&await document.exitPictureInPicture():e.current.requestPictureInPicture&&await e.current.requestPictureInPicture()}catch(e){}}),[e,y]),Z=d((t=>{e.current&&m.includes(t)&&(e.current.playbackRate=t,D(t))}),[e,m]),q=d((t=>{if(e.current&&p){const a=e.current.currentTime,n=!e.current.paused,i=String(t.src).replace(/[<>"']/g,"");i&&(i.startsWith("http://")||i.startsWith("https://")||i.startsWith("blob:")||i.startsWith("data:"))&&(e.current.src=i,e.current.currentTime=a,n&&e.current.play(),P(t))}}),[e,p]),X=d((e=>{const t=Math.floor(e/3600),a=Math.floor(e%3600/60),n=Math.floor(e%60);return t>0?`${t}:${a.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}`:`${a}:${n.toString().padStart(2,"0")}`}),[]),j=d((()=>N>0?E/N*100:0),[E,N]),J=d((()=>N>0?O/N*100:0),[O,N]);o((()=>{const t=e.current;if(!t)return;const i=()=>R(!0),r=()=>R(!1),o=()=>{v(t.duration),f(t.volume),T(t.muted)},d=()=>{A(t.currentTime),l?.(t.currentTime)},u=()=>{t.buffered.length>0&&M(t.buffered.end(t.buffered.length-1))},m=()=>{S(!0),a?.()},p=()=>{S(!1),n?.()},g=()=>{S(!1),s?.()},E=()=>{f(t.volume),T(t.muted),c?.(t.volume)},N=e=>{R(!1),h?.(e)},_=()=>I(!0),b=()=>I(!1);return t.addEventListener("loadstart",i),t.addEventListener("canplay",r),t.addEventListener("loadedmetadata",o),t.addEventListener("timeupdate",d),t.addEventListener("progress",u),t.addEventListener("play",m),t.addEventListener("pause",p),t.addEventListener("ended",g),t.addEventListener("volumechange",E),t.addEventListener("error",N),t.addEventListener("enterpictureinpicture",_),t.addEventListener("leavepictureinpicture",b),()=>{t.removeEventListener("loadstart",i),t.removeEventListener("canplay",r),t.removeEventListener("loadedmetadata",o),t.removeEventListener("timeupdate",d),t.removeEventListener("progress",u),t.removeEventListener("play",m),t.removeEventListener("pause",p),t.removeEventListener("ended",g),t.removeEventListener("volumechange",E),t.removeEventListener("error",N),t.removeEventListener("enterpictureinpicture",_),t.removeEventListener("leavepictureinpicture",b)}}),[e,a,n,s,l,c,h]),o((()=>{const e=()=>{const e=!!document.fullscreenElement;L(e),u?.(e)};return document.addEventListener("fullscreenchange",e),()=>document.removeEventListener("fullscreenchange",e)}),[u]);const ee=d((e=>{if(t.current?.contains(document.activeElement))switch(e.code){case"Space":e.preventDefault(),H();break;case"ArrowLeft":e.preventDefault(),Y(E-10);break;case"ArrowRight":e.preventDefault(),Y(E+10);break;case"ArrowUp":e.preventDefault(),K(Math.min(1,_+.1));break;case"ArrowDown":e.preventDefault(),K(Math.max(0,_-.1));break;case"KeyM":e.preventDefault(),$();break;case"KeyF":e.preventDefault(),W()}}),[H,Y,E,K,_,$,W,t]);o((()=>(document.addEventListener("keydown",ee),()=>document.removeEventListener("keydown",ee))),[ee]);const te=d((()=>z()),[z]),ae=d((()=>{G.current&&clearTimeout(G.current),g&&U(!1)}),[g]);return o((()=>{const e=t.current;if(e)return e.addEventListener("mousemove",te),e.addEventListener("mouseleave",ae),()=>{e.removeEventListener("mousemove",te),e.removeEventListener("mouseleave",ae),G.current&&clearTimeout(G.current)}}),[t,te,ae]),{isPlaying:g,currentTime:E,duration:N,volume:_,isMuted:b,isFullscreen:C,isPictureInPicture:y,isLoading:x,buffered:O,playbackRate:w,currentQuality:B,showControls:k,play:F,pause:V,togglePlay:H,seek:Y,setVolume:K,toggleMute:$,toggleFullscreen:W,togglePictureInPicture:Q,setPlaybackRate:Z,setQuality:q,formatTime:X,getProgressPercentage:j,getBufferedPercentage:J}}({videoRef:X,containerRef:j,onPlay:O,onPause:M,onEnded:w,onTimeUpdate:D,onVolumeChange:B,onFullscreenChange:P,onError:k,playbackRates:F,quality:H});!function({videoRef:e,canvasRef:t,enabled:a,blur:n=60,opacity:i=.6,scale:s=1.2}){const l=r(60);o((()=>{if(!a||!e.current||!t.current)return;const r=e.current,o=t.current,c=o.getContext("2d");if(!c)return;const d=()=>{if(!r||!o||!c)return;const e=r.getBoundingClientRect();o.width=e.width*s,o.height=e.height*s,c.filter=`blur(${n}px)`,c.globalAlpha=i;try{c.drawImage(r,0,0,o.width,o.height)}catch(e){}a&&(l.current=requestAnimationFrame(d))},u=()=>{a&&d()},h=()=>{l.current&&cancelAnimationFrame(l.current)};return r.addEventListener("play",u),r.addEventListener("pause",h),r.addEventListener("ended",h),r.paused||u(),()=>{r.removeEventListener("play",u),r.removeEventListener("pause",h),r.removeEventListener("ended",h),l.current&&cancelAnimationFrame(l.current)}}),[a,n,i,s,e,t])}({videoRef:X,canvasRef:J,enabled:Y});const[xe,Re]=i(!1),[Oe,Me]=i("quality"),[we,De]=i(V?.find((e=>e.default))?.srcLang||null),[Be,Pe]=i({width:0,height:0}),ke=d((e=>{const t=e.currentTarget.getBoundingClientRect(),a=(e.clientX-t.left)/t.width;Ne(a*se)}),[se,Ne]),Ue=d((e=>{const t=e.currentTarget.getBoundingClientRect(),a=(e.clientX-t.left)/t.width;ve(a)}),[ve]),Ge=d((()=>{if(n){const e=document.createElement("a");e.href=n,e.download="video",e.click()}}),[n]),ze=d((async()=>{if(navigator.share)try{await navigator.share({title:"Video",url:window.location.href})}catch(e){}}),[]),Fe=d((e=>{const t=X.current;if(t){const a=t.textTracks;for(let e=0;e<a.length;e++){const t=a[e];t&&(t.mode="hidden")}if(e)for(let t=0;t<a.length;t++){const n=a[t];if(n&&n.language===e){n.mode="showing";break}}De(e)}}),[X]);o((()=>{const e=X.current;if(e&&V){const t=()=>{setTimeout((()=>{const e=V.find((e=>e.default));e&&Fe(e.srcLang)}),100)},a=()=>{if(e.textTracks.length>0){const e=V.find((e=>e.default));e&&Fe(e.srcLang)}};return e.addEventListener("loadeddata",t),e.addEventListener("canplay",a),()=>{e.removeEventListener("loadeddata",t),e.removeEventListener("canplay",a)}}}),[V,Fe,X]),o((()=>{const e=()=>{if(ne&&ee.current){const e=ee.current.getBoundingClientRect();Pe({width:e.width,height:e.height})}else if(X.current){const e=X.current.getBoundingClientRect();Pe({width:e.width,height:e.height})}},t=setTimeout(e,100),a=new ResizeObserver(e);if(ne&&ee.current){const n=ee.current;a.observe(n);const i=()=>e();return n.addEventListener("load",i),()=>{clearTimeout(t),a.disconnect(),n.removeEventListener("load",i)}}if(X.current){const n=X.current;a.observe(n);const i=()=>e();return n.addEventListener("loadedmetadata",i),()=>{clearTimeout(t),a.disconnect(),n.removeEventListener("loadedmetadata",i)}}return window.addEventListener("resize",e),()=>{clearTimeout(t),a.disconnect(),window.removeEventListener("resize",e)}}),[ne,X,ee]);const Ve=d((()=>{j.current&&j.current.focus()}),[]);o((()=>{const e=()=>{if(!j.current)return;const e=window.getComputedStyle(j.current),t=e.borderRadius||e.borderTopLeftRadius,a=parseFloat(t);isNaN(a)||ae(a)};e();let t=null;return"undefined"!=typeof ResizeObserver&&j.current&&(t=new ResizeObserver(e),t.observe(j.current)),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),t&&j.current&&(t.unobserve(j.current),t.disconnect())}}),[]);const He=d((e=>{switch(e.key){case" ":case"k":e.preventDefault(),Ae();break;case"ArrowLeft":e.preventDefault(),Ne(oe-10);break;case"ArrowRight":e.preventDefault(),Ne(oe+10);break;case"ArrowUp":e.preventDefault(),ve(Math.min(1,le+.1));break;case"ArrowDown":e.preventDefault(),ve(Math.max(0,le-.1));break;case"m":e.preventDefault(),_e();break;case"f":e.preventDefault(),fe()}}),[Ae,oe,Ne,le,ve,_e,fe]);return t("div",{ref:j,className:`${pe.CLASSES.BASE} ${ne?pe.CLASSES.YOUTUBE:""} ${Y?pe.CLASSES.AMBIENT:""} ${K?pe.CLASSES.GLASS:""} ${R}`,style:{width:S,height:E,aspectRatio:A?A.replace(":","/"):void 0,...Q},tabIndex:0,onClick:Ve,onKeyDown:He,role:"application","aria-label":"Video player",...Z,children:[Y&&e("canvas",{ref:J,className:pe.CLASSES.AMBIENT_CANVAS,"aria-hidden":"true"}),ne&&ie?e("iframe",{ref:ee,className:pe.CLASSES.VIDEO,src:`https://www.youtube.com/embed/${ie}?${new URLSearchParams({autoplay:u?"1":"0",loop:h?"1":"0",mute:m?"1":"0",controls:p?"1":"0",modestbranding:"1",rel:"0",...h&&{playlist:ie}}).toString()}`,title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}):e("video",{ref:e=>{X&&X.current!==e&&(X.current=e),"function"==typeof q?q(e):q&&q.current!==e&&(q.current=e)},className:pe.CLASSES.VIDEO,src:n,poster:c,autoPlay:u,loop:h,muted:m,preload:g,controls:!1,crossOrigin:"anonymous",children:V&&V.map((t=>e("track",{kind:"subtitles",src:t.src,srcLang:t.srcLang,label:t.label,default:t.default},t.srcLang)))}),ue&&e("div",{className:pe.CLASSES.LOADING,children:e("div",{className:pe.CLASSES.SPINNER})}),K&&e("div",{className:pe.CLASSES.GLASS_OVERLAY,children:e(Je,{..."boolean"==typeof K?{}:K,style:{borderRadius:"inherit"},mouseContainer:j,displacementScale:30,blurAmount:0,saturation:100,aberrationIntensity:0,cornerRadius:te,elasticity:0,children:!W&&e("div",{style:{width:Be.width>0?`${Be.width}px`:"100%",height:Be.height>0?`${Be.height}px`:"100%",display:"flex",alignItems:"center",justifyContent:"center",background:"transparent"}})})}),K&&W&&e("div",{className:pe.CLASSES.GLASS_CONTENT,style:{display:"flex",alignItems:"center",justifyContent:"center"},children:W}),p&&!ne&&t("div",{className:`${pe.CLASSES.CONTROLS} ${ge?pe.CLASSES.CONTROLS_VISIBLE:""}`,style:{zIndex:K?3:"auto"},children:[e("div",{className:pe.CLASSES.PROGRESS_CONTAINER,children:t("div",{className:pe.CLASSES.PROGRESS_BAR,onClick:ke,children:[e("div",{className:pe.CLASSES.PROGRESS_BUFFERED,style:{width:`${Ie()}%`}}),e("div",{className:pe.CLASSES.PROGRESS_PLAYED,style:{width:`${ye()}%`}}),e("div",{className:pe.CLASSES.PROGRESS_THUMB,style:{left:`${ye()}%`}})]})}),t("div",{className:pe.CLASSES.CONTROLS_ROW,children:[t("div",{className:pe.CLASSES.CONTROLS_LEFT,children:[e("button",{className:pe.CLASSES.CONTROL_BUTTON,onClick:Ae,"aria-label":re?"Pause":"Play",children:e(re?N:v,{size:20})}),e("button",{className:pe.CLASSES.CONTROL_BUTTON,onClick:()=>Ne(oe-10),"aria-label":"Skip back 10 seconds",children:e(_,{size:20})}),e("button",{className:pe.CLASSES.CONTROL_BUTTON,onClick:()=>Ne(oe+10),"aria-label":"Skip forward 10 seconds",children:e(f,{size:20})}),t("div",{className:pe.CLASSES.VOLUME_CONTAINER,children:[e("button",{className:pe.CLASSES.CONTROL_BUTTON,onClick:_e,"aria-label":ce?"Unmute":"Mute",children:e(ce||0===le?b:T,{size:20})}),e("div",{className:pe.CLASSES.VOLUME_SLIDER,children:e("div",{className:pe.CLASSES.VOLUME_BAR,onClick:Ue,children:e("div",{className:pe.CLASSES.VOLUME_FILL,style:{width:100*le+"%"}})})})]}),t("div",{className:pe.CLASSES.TIME_DISPLAY,children:[e("span",{children:Le(oe)}),e("span",{children:"/"}),e("span",{children:Le(se)})]})]}),t("div",{className:pe.CLASSES.CONTROLS_RIGHT,children:[z&&t("div",{className:pe.CLASSES.SETTINGS_CONTAINER,children:[e("button",{className:pe.CLASSES.CONTROL_BUTTON,onClick:()=>Re(!xe),"aria-label":"Settings",children:e(C,{size:20})}),xe&&t("div",{className:pe.CLASSES.SETTINGS_MENU,children:[t("div",{className:pe.CLASSES.SETTINGS_TABS,children:[H&&H.length>1&&e("button",{className:`${pe.CLASSES.SETTINGS_TAB} ${"quality"===Oe?pe.CLASSES.SETTINGS_TAB_ACTIVE:""}`,onClick:()=>Me("quality"),children:"Quality"}),e("button",{className:`${pe.CLASSES.SETTINGS_TAB} ${"speed"===Oe?pe.CLASSES.SETTINGS_TAB_ACTIVE:""}`,onClick:()=>Me("speed"),children:"Speed"}),e("button",{className:`${pe.CLASSES.SETTINGS_TAB} ${"subtitles"===Oe?pe.CLASSES.SETTINGS_TAB_ACTIVE:""}`,onClick:()=>Me("subtitles"),children:"Subtitles"})]}),t("div",{className:pe.CLASSES.SETTINGS_CONTENT,children:["quality"===Oe&&H&&e("div",{className:pe.CLASSES.SETTINGS_OPTIONS,children:H.map((t=>e("button",{className:`${pe.CLASSES.SETTINGS_OPTION} ${me?.label===t.label?pe.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Ce(t),children:t.label},t.label)))}),"speed"===Oe&&e("div",{className:pe.CLASSES.SETTINGS_OPTIONS,children:F.map((e=>t("button",{className:`${pe.CLASSES.SETTINGS_OPTION} ${he===e?pe.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Te(e),children:[e,"x"]},e)))}),"subtitles"===Oe&&e("div",{className:pe.CLASSES.SETTINGS_OPTIONS,children:V&&V.length>0?t(a,{children:[e("button",{className:`${pe.CLASSES.SETTINGS_OPTION} ${null===we?pe.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Fe(null),children:"Off"}),V.map((t=>e("button",{className:`${pe.CLASSES.SETTINGS_OPTION} ${we===t.srcLang?pe.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Fe(t.srcLang),children:t.label},t.srcLang)))]}):e("div",{className:pe.CLASSES.SETTINGS_OPTION,style:{opacity:.6,cursor:"default"},children:"No subtitles available"})})]})]})]}),U&&e("button",{className:pe.CLASSES.CONTROL_BUTTON,onClick:Ge,"aria-label":"Download video",children:e(L,{size:20})}),G&&e("button",{className:pe.CLASSES.CONTROL_BUTTON,onClick:ze,"aria-label":"Share video",children:e(y,{size:20})}),e("button",{className:pe.CLASSES.CONTROL_BUTTON,onClick:be,"aria-label":"Picture in Picture",children:e("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor",children:e("path",{d:"M19 7h-8v6h8V7zm2-4H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14z"})})}),e("button",{className:pe.CLASSES.CONTROL_BUTTON,onClick:fe,"aria-label":de?"Exit fullscreen":"Enter fullscreen",children:e(de?I:x,{size:20})})]})]})]})]})}));Zn.displayName="VideoPlayer";var qn=Object.freeze({__proto__:null,Accordion:et,AnimatedChart:Ct,AreaChart:yt,AtomixGlass:Je,AtomixLogo:tt,Avatar:it,AvatarGroup:rt,Badge:st,BarChart:xt,Block:dt,Breadcrumb:ut,BubbleChart:Rt,Button:mt,Callout:pt,CandlestickChart:Ot,Card:gt,Chart:_t,ChartRenderer:bt,Checkbox:Na,ColorModeToggle:Wt,Countdown:Qt,DataTable:na,DatePicker:la,DonutChart:Mt,Dropdown:da,EdgePanel:ha,ElevationCard:Et,Footer:en,FooterLink:on,FooterSection:rn,FooterSocialLink:qa,Form:_a,FormGroup:ba,FunnelChart:wt,GaugeChart:Dt,HeatmapChart:Pt,Hero:sn,Icon:nt,Input:Ca,LineChart:Ut,List:ln,ListGroup:cn,MegaMenu:fn,MegaMenuColumn:bn,MegaMenuLink:Tn,Menu:An,MenuDivider:_n,MenuItem:Nn,Messages:dn,Modal:un,MultiAxisChart:Gt,Nav:hn,NavDropdown:Cn,NavItem:mn,Navbar:pn,Pagination:aa,PhotoViewer:On,PieChart:Ft,Popover:wn,ProductReview:kn,Progress:Un,RadarChart:Vt,Radio:Qa,Rating:Pn,River:Gn,ScatterChart:Ht,SectionIntro:zn,Select:Wa,SideMenu:gn,SideMenuItem:Sn,SideMenuList:En,Slider:Fn,Spinner:Xt,Steps:Vn,Tabs:Hn,Testimonial:Yn,Textarea:Za,Todo:Kn,Toggle:$n,Tooltip:Wn,TreemapChart:Yt,Upload:Qn,VideoPlayer:Zn,WaterfallChart:Kt});const Xn=$a,jn=za,Jn=Object.freeze({__proto__:null}),ei=Object.freeze({__proto__:null,ACCORDION:M,ATOMIX_GLASS:ve,AVATAR:le,AVATAR_GROUP:ce,BADGE:w,BLOCK:Ae,BREADCRUMB:P,BUTTON:{BASE_CLASS:"c-btn",ICON_CLASS:"c-btn__icon",VARIANT_PREFIX:"c-btn--"},CALLOUT:{BASE_CLASS:"c-callout",CONTENT_CLASS:"c-callout__content",ICON_CLASS:"c-callout__icon",MESSAGE_CLASS:"c-callout__message",TITLE_CLASS:"c-callout__title",TEXT_CLASS:"c-callout__text",ACTIONS_CLASS:"c-callout__actions",CLOSE_BTN_CLASS:"c-callout__close-btn",VARIANT_PREFIX:"c-callout--",CLASSES:{ONELINE:"c-callout--oneline",TOAST:"c-callout--toast",HIDE:"is-hide"}},CARD:re,CHART:Ee,CLASS_PREFIX:{COMPONENT:"c-",UTILITY:"u-",LAYOUT:"l-",OBJECT:"o-"},CODE_SNIPPET:{BASE_CLASS:"c-code-snippet",CONTAINER_CLASS:"c-code-snippet__container",HEADER_CLASS:"c-code-snippet__header",LANGUAGE_CLASS:"c-code-snippet__language",ACTIONS_CLASS:"c-code-snippet__actions",ACTION_CLASS:"c-code-snippet__action",CONTENT_CLASS:"c-code-snippet__content",CODE_CLASS:"c-code-snippet__content__code",LINE_NUMBER_CLASS:"c-code-snippet__content__line-number",COPY_FEEDBACK_CLASS:"c-code-snippet__copy-feedback",MODIFIERS:{FULLSCREEN:"c-code-snippet__container--fullscreen",WRAP:"c-code-snippet__content--wrap",LIGHT:"c-code-snippet__container--light",DARK:"c-code-snippet__container--dark"},ACTION_STATES:{ACTIVE:"c-code-snippet__action--active",DISABLED:"c-code-snippet__action--disabled"},COPY_FEEDBACK_STATES:{VISIBLE:"c-code-snippet__copy-feedback--visible"},THEMES:{LIGHT:"light",DARK:"dark",AUTO:"auto"},DEFAULTS:{SHOW_LINE_NUMBERS:!0,WRAP_LINES:!1,ENABLE_FULLSCREEN:!0,ENABLE_COPY:!0,SHOW_TOOLBAR:!0,THEME:"light"},ARIA_LABELS:{COPY:"Copy code to clipboard",WRAP_LINES:"Toggle line wrapping",FULLSCREEN:"Toggle fullscreen mode",LANGUAGE:"Code language"}},COUNTDOWN:{SELECTORS:{COUNTDOWN:".c-countdown",TIME:".c-countdown__time",TIME_COUNT:".c-countdown__time-count",TIME_LABEL:".c-countdown__time-label",SEPARATOR:".c-countdown__separator"},CLASSES:{BASE:"c-countdown",FOCUSED:"c-countdown--focused"},DEFAULTS:{SEPARATOR:":",SHOW:["days","hours","minutes","seconds"]}},DATA_TABLE_CLASSES:j,DATA_TABLE_SELECTORS:{TABLE:".c-data-table",HEADER:".c-data-table__header",HEADER_CELL:".c-data-table__header-cell",ROW:".c-data-table__row",CELL:".c-data-table__cell",PAGINATION:".c-data-table__pagination",PAGINATION_BUTTON:".c-data-table__pagination-button",SEARCH_INPUT:".c-data-table__search-input"},DATEPICKER:{SELECTORS:{DATEPICKER:".c-datepicker",INPUT:".c-datepicker__input",CALENDAR:".c-datepicker__calendar",DAY:".c-datepicker__day",MONTH:".c-datepicker__month",YEAR:".c-datepicker__year",HEADER:".c-datepicker__header",BODY:".c-datepicker__body",FOOTER:".c-datepicker__footer",WEEKDAYS:".c-datepicker__weekdays",TODAY_BUTTON:".c-datepicker__today-button",CLEAR_BUTTON:".c-datepicker__clear-button",CLOSE_BUTTON:".c-datepicker__close-button",NAV_BUTTON:".c-datepicker__nav-button",VIEW_SWITCH:".c-datepicker__view-switch"},CLASSES:{IS_OPEN:"is-open",IS_DISABLED:"is-disabled",IS_SELECTED:"is-selected",IS_TODAY:"is-today",INLINE:"c-datepicker--inline"},ATTRIBUTES:{FORMAT:"data-format",MIN_DATE:"data-min-date",MAX_DATE:"data-max-date",INLINE:"data-inline",PLACEMENT:"data-placement",CLEARABLE:"data-clearable",SHOW_TODAY:"data-show-today-button",SHOW_WEEK_NUMBERS:"data-show-week-numbers"},DEFAULTS:{FORMAT:"MM/dd/yyyy",PLACEMENT:"bottom-start",CLEARABLE:!0,SHOW_TODAY_BUTTON:!0,SHOW_WEEK_NUMBERS:!1,INLINE:!1}},DROPDOWN:he,EDGE_PANEL:X,FOOTER:Ne,FORM:te,FORM_GROUP:ae,GLASS_CONTAINER:{CLASSES:{BASE:"c-glass-container",GLASS:"c-glass-container__glass",WARP:"c-glass-container__warp",CONTENT:"c-glass-container__content",OVERLAY:"c-glass-container__overlay",OVERLAY_VISIBLE:"c-glass-container__overlay--visible",OVERLAY_HIDDEN:"c-glass-container__overlay--hidden",OVERLAY_BLEND:"c-glass-container__overlay-blend",BORDER:"c-glass-container__border",BORDER_OVERLAY:"c-glass-container__border-overlay",HOVER_EFFECT:"c-glass-container__hover-effect",ACTIVE_EFFECT:"c-glass-container__active-effect",INTERACTION_EFFECT:"c-glass-container__interaction-effect",ACTIVE:"c-glass-container--active",CLICKABLE:"c-glass-container--clickable"},DISPLACEMENT_MAPS:{STANDARD:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjcwIiBoZWlnaHQ9IjY5IiB2aWV3Qm94PSIwIDAgMjcwIDY5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxyYWRpYWxHcmFkaWVudCBpZD0iZ3JhZGllbnQiIGN4PSI1MCUiIGN5PSI1MCUiIHI9IjUwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzgwODA4MCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzgwODA4MCIvPjwvcmFkaWFsR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZGllbnQpIi8+PC9zdmc+",POLAR:"data:image/svg+xml;base64,PHN2ZyB3aWR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:de,NAV:Q,NAVBAR:{SELECTORS:{NAVBAR:".c-navbar",CONTAINER:".c-navbar__container",BRAND:".c-navbar__brand",COLLAPSE:".c-navbar__collapse",TOGGLER:".c-navbar__toggler",TOGGLER_ICON:".c-navbar__toggler-icon"},CLASSES:{BASE:"c-navbar",CONTAINER:"c-navbar__container",BRAND:"c-navbar__brand",COLLAPSE:"c-navbar__collapse",TOGGLER:"c-navbar__toggler",TOGGLER_ICON:"c-navbar__toggler-icon",FIXED:"c-navbar--fixed",FIXED_BOTTOM:"c-navbar--fixed-bottom",COLLAPSIBLE:"c-navbar--collapsible",EXPANDED:"is-expanded",BACKDROP:"c-navbar__backdrop"},ATTRIBUTES:{NAVBAR:"data-navbar",COLLAPSIBLE:"data-collapsible",EXPANDED:"data-expanded",POSITION:"data-position",BACKDROP:"data-backdrop",AUTO_CLOSE:"data-auto-close",KEYBOARD:"data-keyboard"},DEFAULTS:{POSITION:"static",COLLAPSIBLE:!0,EXPANDED:!1,BACKDROP:!1,AUTO_CLOSE:!0,KEYBOARD:!0,ARIA_LABEL:"Main navigation"}},PAGINATION_DEFAULTS:J,PHOTOVIEWER:{SELECTOR:".c-photo-viewer",CLASS:"c-photo-viewer",DEFAULTS:{startIndex:0,zoomLevel:1,fullscreen:!1}},POPOVER:G,PROGRESS:me,RADIO:ie,RATING:q,RIVER:$,SECTION_INTRO:K,SELECT:oe,SIDE_MENU:Z,SIZES:["sm","md","lg"],SLIDER:Se,SPINNER:Y,STEPS:V,TAB:F,TESTIMONIAL:H,TEXTAREA:se,THEME_COLORS:["primary","secondary","success","info","warning","error","light","dark"],TODO:ee,TOGGLE:z,TOOLTIP:U,UPLOAD:W,VIDEO_PLAYER:pe,sliderConstants:ge}),ti={...qn,...nn,composables:Xn,utils:jn,constants:ei,types:Jn};export{et as Accordion,Ct as AnimatedChart,yt as AreaChart,Je as AtomixGlass,tt as AtomixLogo,it as Avatar,rt as AvatarGroup,st as Badge,xt as BarChart,dt as Block,ut as Breadcrumb,Rt as BubbleChart,mt as Button,pt as Callout,Ot as CandlestickChart,gt as Card,_t as Chart,bt as ChartRenderer,Na as Checkbox,Wt as ColorModeToggle,lt as Container,Qt as Countdown,na as DataTable,la as DatePicker,Mt as DonutChart,da as Dropdown,ha as EdgePanel,Et as ElevationCard,en as Footer,on as FooterLink,rn as FooterSection,qa as FooterSocialLink,_a as Form,ba as FormGroup,wt as FunnelChart,Dt as GaugeChart,Xa as Grid,ja as GridCol,Pt as HeatmapChart,sn as Hero,nt as Icon,Ca as Input,Ut as LineChart,ln as List,cn as ListGroup,tn as MasonryGrid,an as MasonryGridItem,fn as MegaMenu,bn as MegaMenuColumn,Tn as MegaMenuLink,An as Menu,_n as MenuDivider,Nn as MenuItem,dn as Messages,un as Modal,Gt as MultiAxisChart,hn as Nav,Cn as NavDropdown,mn as NavItem,pn as Navbar,aa as Pagination,On as PhotoViewer,Ft as PieChart,wn as Popover,kn as ProductReview,Un as Progress,Vt as RadarChart,Qa as Radio,Pn as Rating,Gn as River,Ja as Row,Ht as ScatterChart,zn as SectionIntro,Wa as Select,gn as SideMenu,Sn as SideMenuItem,En as SideMenuList,Fn as Slider,Xt as Spinner,Vn as Steps,Hn as Tabs,Yn as Testimonial,Za as Textarea,Kn as Todo,$n as Toggle,Wn as Tooltip,Yt as TreemapChart,Qn as Upload,Zn as VideoPlayer,Kt as WaterfallChart,Xn as composables,ei as constants,ti as default,Jn as types,jn as utils};
1
+ import{jsx as e,jsxs as t,Fragment as a}from"react/jsx-runtime";import n,{useState as i,useRef as r,useEffect as o,forwardRef as s,useId as l,useMemo as c,useCallback as d,Children as u,isValidElement as h,cloneElement as m,memo as p,createContext as g,useContext as S,useImperativeHandle as E}from"react";import*as A from"@phosphor-icons/react";import{Pause as N,Play as _,SkipBack as v,SkipForward as f,SpeakerX as b,SpeakerHigh as T,Gear as L,Download as C,Share as I,ArrowsIn as y,ArrowsOut as x}from"@phosphor-icons/react";import{createPortal as R}from"react-dom";import O from"classnames";const M={BASE_CLASS:"c-btn",ICON_CLASS:"c-btn__icon",LABEL_CLASS:"c-btn__label",SPINNER_CLASS:"c-btn__spinner",VARIANT_PREFIX:"c-btn--",CLASSES:{BASE:"c-btn",LOADING:"c-btn--loading",FULL_WIDTH:"c-btn--full-width",BLOCK:"c-btn--block",ACTIVE:"c-btn--active",SELECTED:"c-btn--selected"}},w={SELECTORS:{ACCORDION:".c-accordion",HEADER:".c-accordion__header",PANEL:".c-accordion__panel",BODY:".c-accordion__body"},CLASSES:{IS_OPEN:"is-open",IS_ANIMATING:"is-animating",IS_DISABLED:"is-disabled"},ATTRIBUTES:{ARIA_EXPANDED:"aria-expanded",ARIA_CONTROLS:"aria-controls",ARIA_HIDDEN:"aria-hidden",ROLE:"role"},CSS_VARS:{PANEL_HEIGHT:"--panel-height"}},D={BASE_CLASS:"c-badge",ICON_CLASS:"c-badge__icon",VARIANT_PREFIX:"c-badge--",SIZE_PREFIX:"c-badge--"},B={BASE_CLASS:"c-list",ITEM_CLASS:"c-list__item",VARIANT_PREFIX:"c-list--",SIZE_PREFIX:"c-list--",CLASSES:{ORDERED:"c-list--ordered",INLINE:"c-list--inline"}},P={BASE_CLASS:"c-list-group",ITEM_CLASS:"c-list-group__item",VARIANT_PREFIX:"c-list-group--",SIZE_PREFIX:"c-list-group--"},k={SELECTORS:{BREADCRUMB:".c-breadcrumb",ITEM:".c-breadcrumb__item",LINK:".c-breadcrumb__link"},CLASSES:{BASE:"c-breadcrumb",ITEM:"c-breadcrumb__item",LINK:"c-breadcrumb__link",ACTIVE:"is-active"},DEFAULTS:{DIVIDER:"›"}},U={SELECTORS:{HERO:".c-hero",CONTAINER:".c-hero__container",GRID:".c-hero__grid",CONTENT:".c-hero__content",SUBTITLE:".c-hero__subtitle",TITLE:".c-hero__title",TEXT:".c-hero__text",ACTIONS:".c-hero__actions",IMAGE:".c-hero__image",BG:".c-hero__bg",BG_IMAGE:".c-hero__bg-image",OVERLAY:".c-hero__overlay",IMAGE_WRAPPER:".c-hero__image-wrapper",SLIDER:".c-hero__slider",SLIDER_ITEM:".c-hero__slider-item"},CLASSES:{CENTER:"c-hero--center",RIGHT:"c-hero--right",LEFT:"c-hero--left",FULL_VH:"c-hero--full-vh",SLIDER_FADE:"c-hero__slider--fade",SLIDER_SLIDE:"c-hero__slider--slide",SLIDER_CUSTOM:"c-hero__slider--custom",SLIDER_ITEM_ACTIVE:"c-hero__slider-item--active"}},G={SELECTORS:{TOOLTIP:".js-atomix-tooltip",TRIGGER:".js-atomix-tooltip-trigger",CONTENT:".js-atomix-tooltip-content",ARROW:".c-tooltip__arrow"},CLASSES:{IS_ACTIVE:"is-active",TOP:"c-tooltip--top",BOTTOM:"c-tooltip--bottom",LEFT:"c-tooltip--left",RIGHT:"c-tooltip--right",TOP_LEFT:"c-tooltip--top-left",TOP_RIGHT:"c-tooltip--top-right",BOTTOM_LEFT:"c-tooltip--bottom-left",BOTTOM_RIGHT:"c-tooltip--bottom-right"},ATTRIBUTES:{POSITION:"data-tooltip-position",TRIGGER:"data-tooltip-trigger",CONTENT_ID:"data-tooltip-id"},DEFAULTS:{TRIGGER:"hover",POSITION:"top",OFFSET:10,DELAY:200}},z={SELECTORS:{POPOVER:".js-atomix-popover",TRIGGER:".js-atomix-popover-trigger",CONTENT:".js-atomix-popover-content",CONTENT_INNER:".c-popover__content-inner",ARROW:".c-popover__arrow"},CLASSES:{IS_OPEN:"is-open",TOP:"c-popover--top",BOTTOM:"c-popover--bottom",LEFT:"c-popover--left",RIGHT:"c-popover--right",AUTO:"c-popover--auto"},ATTRIBUTES:{POSITION:"data-popover-position",TRIGGER:"data-popover-trigger",CONTENT_ID:"data-popover-id"},DEFAULTS:{TRIGGER:"click",POSITION:"top",OFFSET:12,DELAY:0}},F={SELECTORS:{TOGGLE:".c-toggle"},CLASSES:{IS_ON:"is-on"}},V={SELECTORS:{TAB:".js-atomix-tab",NAV_ITEMS:".c-tabs__nav-item",NAV_BTN:".c-tabs__nav-btn",PANELS:".c-tabs__panel",PANEL_BODIES:".c-tabs__panel-body"},CLASSES:{ACTIVE:"is-active"},DEFAULTS:{ACTIVE_INDEX:0}},H={SELECTORS:{STEPS:".c-steps",ITEM:".c-steps__item",LINE:".c-steps__line",CONTENT:".c-steps__content",NUMBER:".c-steps__number",TEXT:".c-steps__text"},CLASSES:{ACTIVE:"is-active",VERTICAL:"c-steps--vertical",COMPLETED:"is-completed"}},Y={SELECTORS:{TESTIMONIAL:".c-testimonial",QUOTE:".c-testimonial__quote",AUTHOR:".c-testimonial__author",AUTHOR_AVATAR:".c-testimonial__author-avatar",AUTHOR_INFO:".c-testimonial__info",AUTHOR_NAME:".c-testimonial__author-name",AUTHOR_ROLE:".c-testimonial__author-role"},CLASSES:{SMALL:"c-testimonial--sm",LARGE:"c-testimonial--lg"}},K={SELECTORS:{SPINNER:".c-spinner"},CLASSES:{PRIMARY:"c-spinner--primary",SECONDARY:"c-spinner--secondary",SUCCESS:"c-spinner--success",INFO:"c-spinner--info",WARNING:"c-spinner--warning",DANGER:"c-spinner--danger",LIGHT:"c-spinner--light",DARK:"c-spinner--dark",SMALL:"c-spinner--sm",LARGE:"c-spinner--lg"},VISUALLY_HIDDEN:"u-visually-hidden"},W={SELECTORS:{SECTION_INTRO:".c-sectionintro",LABEL:".c-sectionintro__label",TITLE:".c-sectionintro__title",TEXT:".c-sectionintro__text",ACTIONS:".c-sectionintro__actions"},CLASSES:{CENTER:"c-sectionintro--center",LARGE:"c-sectionintro--lg",SMALL:"c-sectionintro--sm"}},$={SELECTORS:{RIVER:".c-river",CONTAINER:".c-river__container",ROW:".c-river__row",CONTENT:".c-river__content",CONTENT_COL:".c-river__content-col",CONTENT_COL_TITLE:".c-river__content-col--title",CONTENT_COL_TEXT:".c-river__content-col--text",TITLE:".c-river__title",TEXT:".c-river__text",ACTIONS:".c-river__actions",VISUAL:".c-river__visual",IMAGE_WRAPPER:".c-river__image-wrapper",IMAGE:".c-river__image",BG:".c-river__bg",BG_IMAGE:".c-river__bg-image",OVERLAY:".c-river__overlay"},CLASSES:{CENTER:"c-river--center",BREAKOUT:"c-river--breakout",REVERSE:"c-river--reverse"},ATTRIBUTES:{CONTENT_WIDTH:"--river-content-width"}},Q={SELECTORS:{UPLOAD:".c-upload",INNER:".c-upload__inner",ICON:".c-upload__icon",TITLE:".c-upload__title",TEXT:".c-upload__text",BUTTON:".c-upload__btn",HELPER_TEXT:".c-upload__helper-text",LOADER:".c-upload__loader",LOADER_STATUS:".c-upload__loader-status",LOADER_TITLE:".c-upload__loader-title",LOADER_PROGRESS:".c-upload__loader-progress",LOADER_PAR:".c-upload__loader-par",LOADER_TIME:".c-upload__loader-time",LOADER_CONTROL:".c-upload__loader-control",LOADER_BAR:".c-upload__loader-bar",LOADER_CLOSE:".c-upload__loader-close"},CLASSES:{DISABLED:"c-upload--disabled",ERROR:"c-upload--error",SUCCESS:"c-upload--success",LOADING:"c-upload--loading",DRAGGING:"c-upload--dragging"},ATTRIBUTES:{PERCENTAGE:"--upload-loader-percentage"}},Z={SELECTORS:{NAV:".c-nav",ITEM:".c-nav__item",LINK:".c-nav__link",DROPDOWN:".c-nav__item--dropdown",DROPDOWN_MENU:".c-nav__dropdown-menu",MEGA_MENU:".c-nav__mega-menu",ICON:".c-nav__icon"},CLASSES:{END:"c-nav--end",CENTER:"c-nav--center",ACTIVE:"is-active",DISABLED:"is-disabled"}},q={SELECTORS:{SIDE_MENU:".c-side-menu",WRAPPER:".c-side-menu__wrapper",INNER:".c-side-menu__inner",TITLE:".c-side-menu__title",TOGGLER:".c-side-menu__toggler",TOGGLER_ICON:".c-side-menu__toggler-icon",LIST:".c-side-menu__list",ITEM:".c-side-menu__item",LINK:".c-side-menu__link",LINK_ICON:".c-side-menu__link-icon",LINK_TEXT:".c-side-menu__link-text"},CLASSES:{BASE:"c-side-menu",WRAPPER:"c-side-menu__wrapper",INNER:"c-side-menu__inner",TITLE:"c-side-menu__title",TOGGLER:"c-side-menu__toggler",TOGGLER_ICON:"c-side-menu__toggler-icon",LIST:"c-side-menu__list",ITEM:"c-side-menu__item",LINK:"c-side-menu__link",LINK_ICON:"c-side-menu__link-icon",LINK_TEXT:"c-side-menu__link-text",IS_OPEN:"is-open",ACTIVE:"is-active",DISABLED:"is-disabled"},ATTRIBUTES:{SIDE_MENU:"data-side-menu",COLLAPSIBLE:"data-collapsible",OPEN:"data-open",TITLE:"data-title"},DEFAULTS:{COLLAPSIBLE:!0,OPEN:!1,TOGGLE_ICON:"▶"}},X={SELECTORS:{RATING:".c-rating",STAR:".c-rating__star",STAR_FULL:".c-rating__star-full",STAR_HALF:".c-rating__star-half"},CLASSES:{FULL:"c-rating__star--full",HALF:"c-rating__star--half",SMALL:"c-rating--sm",LARGE:"c-rating--lg"},ATTRIBUTES:{READONLY:"data-readonly",VALUE:"data-value"}},j={SELECTORS:{PANEL:".c-edge-panel",BACKDROP:".c-edge-panel__backdrop",CONTAINER:".c-edge-panel__container",HEADER:".c-edge-panel__header",BODY:".c-edge-panel__body",CLOSE:".c-edge-panel__close"},CLASSES:{BASE:"c-edge-panel",START:"c-edge-panel--start",END:"c-edge-panel--end",TOP:"c-edge-panel--top",BOTTOM:"c-edge-panel--bottom",IS_OPEN:"is-open"},TRANSFORM_VALUES:{start:"translateX(-100%)",end:"translateX(100%)",top:"translateY(-100%)",bottom:"translateY(100%)"},ANIMATION_DURATION:300},J={base:"c-data-table",container:"c-data-table-container",tableWrapper:"c-data-table-wrapper",header:"c-data-table__header",headerCell:"c-data-table__header-cell",headerContent:"c-data-table__header-content",sortable:"c-data-table__header-cell--sortable",sortIcon:"c-data-table__sort-icon",row:"c-data-table__row",cell:"c-data-table__cell",loadingCell:"c-data-table__loading-cell",loadingIndicator:"c-data-table__loading-indicator",emptyCell:"c-data-table__empty-cell",toolbar:"c-data-table-toolbar",search:"c-data-table-search",searchInput:"c-data-table-search__input",pagination:"c-data-table__pagination-container",striped:"c-data-table--striped",bordered:"c-data-table--bordered",dense:"c-data-table--dense",loading:"c-data-table--loading",open:"is-open"},ee={currentPage:1,totalPages:1,siblingCount:1,showFirstLastButtons:!0,showPrevNextButtons:!0,size:"md"},te={SELECTORS:{TODO:".c-todo",TITLE:".c-todo__title",LIST:".c-todo__list",ITEM:".c-todo__item",ITEM_CONTENT:".c-todo__item-content",ITEM_TEXT:".c-todo__item-text",ITEM_ACTIONS:".c-todo__item-actions",CHECKBOX:".c-todo__checkbox",DELETE_BUTTON:".c-todo__delete-btn",FORM:".c-todo__form",INPUT:".c-todo__input",ADD_BUTTON:".c-todo__add-btn"},CLASSES:{BASE:"c-todo",ITEM:"c-todo__item",COMPLETED:"c-todo__item--completed",SMALL:"c-todo--sm",LARGE:"c-todo--lg"}},ae={SELECTORS:{FORM:".c-form",GROUP:".c-form-group",LABEL:".c-form-group__label",HELPER:".c-form-group__helper",FIELD:".c-form-group__field",REQUIRED:".c-form-group__required"},CLASSES:{BASE:"c-form",DISABLED:"c-form--disabled"}},ne={SELECTORS:{GROUP:".c-form-group",LABEL:".c-form-group__label",FIELD:".c-form-group__field",HELPER:".c-form-group__helper",REQUIRED:".c-form-group__required"},CLASSES:{BASE:"c-form-group",SMALL:"c-form-group--sm",LARGE:"c-form-group--lg",INVALID:"c-form-group--invalid",VALID:"c-form-group--valid",DISABLED:"c-form-group--disabled"}},ie={SELECTORS:{INPUT:".c-input"},CLASSES:{BASE:"c-input",SMALL:"c-input--sm",LARGE:"c-input--lg",INVALID:"is-invalid",VALID:"is-valid",DISABLED:"is-disabled",FULL_WIDTH:"c-input--full-width",PREFIX_ICON:"c-input--prefix-icon",SUFFIX_ICON:"c-input--suffix-icon",CLEARABLE:"c-input--clearable",WITH_COUNTER:"c-input--with-counter",PASSWORD_TOGGLE:"c-input--password-toggle"},ELEMENTS:{WRAPPER:"c-input-wrapper",PREFIX:"c-input__prefix",SUFFIX:"c-input__suffix",CLEAR_BUTTON:"c-input__clear",PASSWORD_TOGGLE:"c-input__password-toggle",COUNTER:"c-input__counter",ERROR_MESSAGE:"c-input__error",HELPER_TEXT:"c-input__helper"}},re={SELECTORS:{RADIO:".c-radio",INPUT:".c-radio__input",LABEL:".c-radio__label"},CLASSES:{BASE:"c-radio",INVALID:"is-error",VALID:"is-valid",DISABLED:"is-disabled"}},oe={SELECTORS:{CARD:".c-card",HEADER:".c-card__header",BODY:".c-card__body",IMAGE:".c-card__image",TITLE:".c-card__title",TEXT:".c-card__text",ACTIONS:".c-card__actions",ICON:".c-card__icon",FOOTER:".c-card__footer"},CLASSES:{BASE:"c-card",SM:"c-card--sm",MD:"c-card--md",LG:"c-card--lg",ROW:"c-card--row",FLAT:"c-card--flat",FILLED:"c-card--filled",OUTLINED:"c-card--outlined",GHOST:"c-card--ghost",ELEVATED:"c-card--elevated",ELEVATION_NONE:"c-card--elevation-none",ELEVATION_SM:"c-card--elevation-sm",ELEVATION_MD:"c-card--elevation-md",ELEVATION_LG:"c-card--elevation-lg",ELEVATION_XL:"c-card--elevation-xl",ACTIVE:"is-active",DISABLED:"c-card--disabled",LOADING:"c-card--loading",SELECTED:"c-card--selected",INTERACTIVE:"c-card--interactive",FLIPPED:"is-flipped",FOCUSED:"is-focused",CLICKABLE:"is-clickable",GLASS:"c-card--glass"},DEFAULTS:{HOVER:!0,SIZE:"md",VARIANT:"primary",APPEARANCE:"filled",ELEVATION:"none"}},se={SELECTORS:{SELECT:".c-select",SELECTED:".c-select__selected",SELECT_BODY:".c-select__body",SELECT_PANEL:".c-select__panel",SELECT_ITEMS:".c-select__items",SELECT_ITEM:".c-select__item",ITEM_LABEL:".c-select__item-label",ITEM_INPUT:".c-select__item-input",OPTION:"option"},CLASSES:{BASE:"c-select",SELECTED:"c-select__selected",SELECT_BODY:"c-select__body",SELECT_PANEL:"c-select__panel",SELECT_ITEMS:"c-select__items",SELECT_ITEM:"c-select__item",TOGGLE_ICON:"c-select__toggle-icon",ICON_CARET:"icon-atomix-caret-down",SMALL:"c-select--sm",LARGE:"c-select--lg",INVALID:"is-invalid",VALID:"is-valid",DISABLED:"is-disabled",IS_OPEN:"is-open"}},le={SELECTORS:{TEXTAREA:".c-textarea"},CLASSES:{BASE:"c-input c-input--textarea",SMALL:"c-input--sm",LARGE:"c-input--lg",INVALID:"is-invalid",VALID:"is-valid",DISABLED:"is-disabled"}},ce={SELECTORS:{AVATAR:".c-avatar",IMAGE:".c-avatar__image",INITIALS:".c-avatar__initials",ICON:".c-avatar__icon"},CLASSES:{BASE:"c-avatar",XS:"c-avatar--xs",SM:"c-avatar--sm",MD:"c-avatar--md",LG:"c-avatar--lg",XL:"c-avatar--xl",CIRCLE:"c-avatar--circle"}},de={SELECTORS:{GROUP:".c-avatar-group",MORE:".c-avatar-group__more"},CLASSES:{BASE:"c-avatar-group",STACKED:"c-avatar-group--stacked",MORE:"c-avatar-group__more"}},ue={SELECTORS:{MODAL:".c-modal",OPEN_BUTTON:".js-modal-open",CLOSE_BUTTONS:".js-modal-close",DIALOG:".c-modal__dialog",BACKDROP:".c-modal__backdrop"},CLASSES:{IS_OPEN:"is-open"},DEFAULT_OPTIONS:{openELm:".js-modal-open",closeELms:".js-modal-close",modalDialogELm:".c-modal__dialog",backdropELm:".c-modal__backdrop",backdrop:!0,keyboard:!0}},he={SELECTORS:{MESSAGES:".c-messages",BODY:".c-messages__body",CONTENT:".c-messages__content",AVATAR:".c-messages__avatar",ITEMS:".c-messages__items",TEXT:".c-messages__text",FILE:".c-messages__file",IMAGE:".c-messages__image",FORM:".c-messages__form",INPUT:".c-messages__input"},CLASSES:{BASE:"c-messages",BODY:"c-messages__body",CONTENT:"c-messages__content",CONTENT_SELF:"c-messages__content--self",AVATAR:"c-messages__avatar",ITEMS:"c-messages__items",NAME:"c-messages__name",TEXT:"c-messages__text",TIME:"c-messages__time",FILE:"c-messages__file",FILE_ICON:"c-messages__file-icon",FILE_DETAILS:"c-messages__file-details",FILE_NAME:"c-messages__file-name",FILE_SIZE:"c-messages__file-size",IMAGE:"c-messages__image",FORM:"c-messages__form",INPUT_GROUP:"c-messages__input-group",INPUT:"c-messages__input",OPTIONS:"c-messages__options",OPTION:"c-messages__option c-btn",OPTION_ICON:"c-messages__option-icon",SUBMIT:"c-messages__submit"}},me={SELECTORS:{DROPDOWN:".c-dropdown",TOGGLE:".c-dropdown__toggle",MENU:".c-dropdown__menu",MENU_WRAPPER:".c-dropdown__menu-wrapper",MENU_INNER:".c-dropdown__menu-inner",MENU_ITEM:".c-dropdown__menu-item",DIVIDER:".c-dropdown__divider",HEADER:".c-dropdown__header"},CLASSES:{IS_OPEN:"is-open",IS_ACTIVE:"is-active",IS_DISABLED:"is-disabled"},DEFAULTS:{PLACEMENT:"bottom-start",TRIGGER:"click",OFFSET:4,MIN_WIDTH:180,ANIMATION_DURATION:"0.25s",ANIMATION_TIMING:"cubic-bezier(0.16, 1, 0.3, 1)"}},pe={SELECTORS:{PROGRESS:".c-progress",BAR:".c-progress__bar"},CLASSES:{BASE:"c-progress",BAR:"c-progress__bar",SM:"c-progress--sm",MD:"c-progress--md",LG:"c-progress--lg"},ATTRIBUTES:{ARIA_VALUEMIN:"aria-valuemin",ARIA_VALUEMAX:"aria-valuemax",ARIA_VALUENOW:"aria-valuenow",ARIA_LABEL:"aria-label"},CSS_VARS:{PERCENTAGE:"--atomix-progress-percentage"},DEFAULTS:{ARIA_LABEL:"Progress bar"}},ge={SELECTORS:{VIDEO_PLAYER:".c-video-player",VIDEO:".c-video-player__video",CONTROLS:".c-video-player__controls",PROGRESS:".c-video-player__progress",VOLUME:".c-video-player__volume",SETTINGS:".c-video-player__settings"},CLASSES:{BASE:"c-video-player",VIDEO:"c-video-player__video",YOUTUBE:"c-video-player--youtube",LOADING:"c-video-player__loading",SPINNER:"c-video-player__spinner",CONTROLS:"c-video-player__controls",CONTROLS_VISIBLE:"c-video-player__controls--visible",PROGRESS_CONTAINER:"c-video-player__progress-container",PROGRESS_BAR:"c-video-player__progress-bar",PROGRESS_BUFFERED:"c-video-player__progress-buffered",PROGRESS_PLAYED:"c-video-player__progress-played",PROGRESS_THUMB:"c-video-player__progress-thumb",CONTROLS_ROW:"c-video-player__controls-row",CONTROLS_LEFT:"c-video-player__controls-left",CONTROLS_RIGHT:"c-video-player__controls-right",CONTROL_BUTTON:"c-video-player__control-button",VOLUME_CONTAINER:"c-video-player__volume-container",VOLUME_SLIDER:"c-video-player__volume-slider",VOLUME_BAR:"c-video-player__volume-bar",VOLUME_FILL:"c-video-player__volume-fill",TIME_DISPLAY:"c-video-player__time-display",SETTINGS_CONTAINER:"c-video-player__settings-container",SETTINGS_MENU:"c-video-player__settings-menu",SETTINGS_TABS:"c-video-player__settings-tabs",SETTINGS_TAB:"c-video-player__settings-tab",SETTINGS_TAB_ACTIVE:"c-video-player__settings-tab--active",SETTINGS_CONTENT:"c-video-player__settings-content",SETTINGS_OPTIONS:"c-video-player__settings-options",SETTINGS_OPTION:"c-video-player__settings-option",SETTINGS_OPTION_ACTIVE:"c-video-player__settings-option--active",AMBIENT:"c-video-player--ambient",AMBIENT_CANVAS:"c-video-player__ambient-canvas",GLASS:"c-video-player--glass",GLASS_OVERLAY:"c-video-player__glass-overlay",GLASS_CONTENT:"c-video-player__glass-content"},DEFAULTS:{CONTROLS_TIMEOUT:3e3,VOLUME:1,PLAYBACK_RATE:1,ASPECT_RATIO:"16:9"}},Se={classes:{container:"c-slider",containerModifierClass:"c-slider--",wrapper:"c-slider__wrapper",slide:"c-slider__slide",slideActive:"c-slider__slide--active",slidePrev:"c-slider__slide--prev",slideNext:"c-slider__slide--next",slideDuplicate:"c-slider__slide--duplicate",slideVisible:"c-slider__slide--visible",pagination:"c-slider__pagination",paginationBullet:"c-slider__pagination-bullet",paginationBulletActive:"c-slider__pagination-bullet--active",navigation:"c-slider__navigation",navigationPrev:"c-slider__navigation-prev",navigationNext:"c-slider__navigation-next",navigationDisabled:"c-slider__navigation--disabled",scrollbar:"c-slider__scrollbar",scrollbarDrag:"c-slider__scrollbar-drag",thumbs:"c-slider__thumbs",thumbsWrapper:"c-slider__thumbs-wrapper",thumbsSlide:"c-slider__thumbs-slide",thumbsSlideActive:"c-slider__thumbs-slide--active",zoomContainer:"c-slider__zoom-container",lazyPreloader:"c-slider__lazy-preloader"},defaults:{slidesToShow:1,slidesToScroll:1,spaceBetween:0,centeredSlides:!1,loop:!1,initialSlide:0,direction:"horizontal",speed:300,easing:"ease-out",allowTouchMove:!0,threshold:5,mousewheel:!1,keyboard:!1,grabCursor:!1,freeMode:!1,watchSlidesProgress:!1,watchOverflow:!0,resistanceRatio:.85,preventClicks:!0,preventClicksPropagation:!0,simulateTouch:!0,touchRatio:1,touchAngle:45,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchReleaseOnEdges:!1,resistance:!0,passiveListeners:!0},breakpoints:{sm:576,md:768,lg:992,xl:1200,xxl:1400},events:{init:"slider:init",destroy:"slider:destroy",slideChange:"slider:slideChange",slideChangeTransitionStart:"slider:slideChangeTransitionStart",slideChangeTransitionEnd:"slider:slideChangeTransitionEnd",touchStart:"slider:touchStart",touchMove:"slider:touchMove",touchEnd:"slider:touchEnd",reachBeginning:"slider:reachBeginning",reachEnd:"slider:reachEnd",progress:"slider:progress",autoplayStart:"slider:autoplayStart",autoplayStop:"slider:autoplayStop",beforeResize:"slider:beforeResize",resize:"slider:resize"}},Ee=Se,Ae={BASE_CLASS:"c-chart",ROOT_CLASS:"c-chart",HEADER_CLASS:"c-chart__header",HEADER_CONTENT_CLASS:"c-chart__header-content",TITLE_CLASS:"c-chart__title",SUBTITLE_CLASS:"c-chart__subtitle",TOOLBAR_CLASS:"c-chart__toolbar",ACTION_CLASS:"c-chart__action",EXPORT_GROUP_CLASS:"c-chart__export-group",EXPORT_DROPDOWN_CLASS:"c-chart__export-dropdown",EXPORT_OPTION_CLASS:"c-chart__export-option",SETTINGS_MENU_CLASS:"c-chart__settings-menu",TOOLBAR_GROUP_CLASS:"c-chart__toolbar-group",TOOLBAR_SEPARATOR_CLASS:"c-chart__toolbar-separator",TOOLBAR_LABEL_CLASS:"c-chart__toolbar-label",CONTENT_CLASS:"c-chart__content",CANVAS_CLASS:"c-chart__canvas",LEGEND_CLASS:"c-chart__legend",LEGEND_ITEM_CLASS:"c-chart__legend-item",LEGEND_LABEL_CLASS:"c-chart__legend-label",LEGEND_COLOR_CLASS:"c-chart__legend-color",TOOLTIP_CLASS:"c-chart__tooltip",TOOLTIP_TITLE_CLASS:"c-chart__tooltip-title",TOOLTIP_CONTENT_CLASS:"c-chart__tooltip-content",TOOLTIP_ITEM_CLASS:"c-chart__tooltip-item",TOOLTIP_LABEL_CLASS:"c-chart__tooltip-label",TOOLTIP_VALUE_CLASS:"c-chart__tooltip-value",AXIS_CLASS:"c-chart__axis",AXIS_LABEL_CLASS:"c-chart__axis-label",GRID_CLASS:"c-chart__grid",DATA_POINT_CLASS:"c-chart__data-point",CHART_SVG_CLASS:"c-chart__svg",LOADING_CLASS:"c-chart__loading",LOADING_SPINNER_CLASS:"c-chart__loading-spinner",LOADING_TEXT_CLASS:"c-chart__loading-text",ERROR_CLASS:"c-chart__error",ERROR_ICON_CLASS:"c-chart__error-icon",ERROR_CONTENT_CLASS:"c-chart__error-content",ERROR_MESSAGE_CLASS:"c-chart__error-message",ERROR_DETAILS_CLASS:"c-chart__error-details",EMPTY_CLASS:"c-chart__empty",EMPTY_ICON_CLASS:"c-chart__empty-icon",EMPTY_MESSAGE_CLASS:"c-chart__empty-message",EMPTY_DETAILS_CLASS:"c-chart__empty-details",DEFAULT_WIDTH:800,DEFAULT_HEIGHT:400,PIE_RADIUS_RATIO:.8,DEFAULT_COLORS:["var(--atomix-primary)","var(--atomix-secondary)","var(--atomix-success)","var(--atomix-info)","var(--atomix-warning)","var(--atomix-error)","var(--atomix-primary-5)","var(--atomix-primary-7)","var(--atomix-primary-3)","var(--atomix-gray-6)","var(--atomix-gray-8)","var(--atomix-gray-4)"],TYPE_PREFIX:"c-chart--",SIZE_PREFIX:"c-chart--",VARIANT_PREFIX:"c-chart--",LOADING_STATE_CLASS:"c-chart--loading",ERROR_STATE_CLASS:"c-chart--error",CLASSES:{LINE:"c-chart--line",AREA:"c-chart--area",BAR:"c-chart--bar",HORIZONTAL_BAR:"c-chart--horizontal-bar",PIE:"c-chart--pie",DONUT:"c-chart--donut",DOUGHNUT:"c-chart--doughnut",SCATTER:"c-chart--scatter",RADAR:"c-chart--radar",BUBBLE:"c-chart--bubble",CANDLESTICK:"c-chart--candlestick",GAUGE:"c-chart--gauge",FUNNEL:"c-chart--funnel",WATERFALL:"c-chart--waterfall",HEATMAP:"c-chart--heatmap",TREEMAP:"c-chart--treemap",SM:"c-chart--sm",MD:"c-chart--md",LG:"c-chart--lg",XL:"c-chart--xl",FULL:"c-chart--full",PRIMARY:"c-chart--primary",SECONDARY:"c-chart--secondary",SUCCESS:"c-chart--success",ERROR:"c-chart--error",WARNING:"c-chart--warning",INFO:"c-chart--info",LOADING:"c-chart--loading",INTERACTIVE:"c-chart--interactive",DISABLED:"c-chart--disabled",FULLSCREEN:"c-chart--fullscreen",MINIMIZED:"c-chart--minimized",ADVANCED:"c-chart--advanced",TOOLBAR_SM:"c-chart__toolbar--sm",TOOLBAR_MD:"c-chart__toolbar--md",TOOLBAR_LG:"c-chart__toolbar--lg",TOOLBAR_TOP:"c-chart__toolbar--top",TOOLBAR_BOTTOM:"c-chart__toolbar--bottom",TOOLBAR_LEFT:"c-chart__toolbar--left",TOOLBAR_RIGHT:"c-chart__toolbar--right",ACTION_ACTIVE:"c-chart__action--active",ACTION_DISABLED:"c-chart__action--disabled",ACTION_PRIMARY:"c-chart__action--primary",ACTION_SECONDARY:"c-chart__action--secondary",ACTION_SUCCESS:"c-chart__action--success",ACTION_INFO:"c-chart__action--info",ACTION_WARNING:"c-chart__action--warning",ACTION_ERROR:"c-chart__action--error"},TOOLBAR:{SIZES:["sm","md","lg"],POSITIONS:["top","bottom","left","right"],ACTION_VARIANTS:["primary","secondary","success","info","warning","error"]}},Ne={BASE_CLASS:"o-block",SPACING_PREFIX:"o-block--",CLASSES:{SPACING_XS:"o-block--xs",SPACING_SM:"o-block--sm",SPACING_MD:"o-block--md",SPACING_LG:"o-block--lg",SPACING_XL:"o-block--xl",SPACING_NONE:"o-block--no-spacing",FULL_WIDTH:"o-block--full-width",BG_PRIMARY:"o-block--primary",BG_SECONDARY:"o-block--secondary",BG_TERTIARY:"o-block--tertiary",BG_INVERT:"o-block--invert",BG_BRAND:"o-block--brand",BG_ERROR:"o-block--error",BG_SUCCESS:"o-block--success",BG_WARNING:"o-block--warning",BG_INFO:"o-block--info",BG_LIGHT:"o-block--light",BG_DARK:"o-block--dark"},SPACING:{SIZES:["xs","sm","md","lg","xl","none"],DEFAULT:"md"}},_e={SELECTORS:{FOOTER:".c-footer",CONTAINER:".c-footer__container",SECTIONS:".c-footer__sections",BRAND:".c-footer__brand",BRAND_LOGO:".c-footer__brand-logo",BRAND_NAME:".c-footer__brand-name",BRAND_DESCRIPTION:".c-footer__brand-description",SECTION:".c-footer__section",SECTION_HEADER:".c-footer__section-header",SECTION_TITLE:".c-footer__section-title",SECTION_CONTENT:".c-footer__section-content",SECTION_TOGGLE:".c-footer__section-toggle",LINK:".c-footer__link",SOCIAL:".c-footer__social",SOCIAL_LINK:".c-footer__social-link",NEWSLETTER:".c-footer__newsletter",NEWSLETTER_FORM:".c-footer__newsletter-form",NEWSLETTER_INPUT:".c-footer__newsletter-input",NEWSLETTER_BUTTON:".c-footer__newsletter-button",BOTTOM:".c-footer__bottom",COPYRIGHT:".c-footer__copyright",BACK_TO_TOP:".c-footer__back-to-top",DIVIDER:".c-footer__divider"},CLASSES:{BASE:"c-footer",CONTAINER:"c-footer__container",SECTIONS:"c-footer__sections",BRAND:"c-footer__brand",BRAND_LOGO:"c-footer__brand-logo",BRAND_NAME:"c-footer__brand-name",BRAND_DESCRIPTION:"c-footer__brand-description",SECTION:"c-footer__section",SECTION_HEADER:"c-footer__section-header",SECTION_TITLE:"c-footer__section-title",SECTION_CONTENT:"c-footer__section-content",SECTION_TOGGLE:"c-footer__section-toggle",SECTION_COLLAPSIBLE:"c-footer__section--collapsible",SECTION_COLLAPSED:"c-footer__section--collapsed",LINK:"c-footer__link",LINK_ACTIVE:"c-footer__link--active",LINK_DISABLED:"c-footer__link--disabled",SOCIAL:"c-footer__social",SOCIAL_LINK:"c-footer__social-link",NEWSLETTER:"c-footer__newsletter",NEWSLETTER_FORM:"c-footer__newsletter-form",NEWSLETTER_INPUT:"c-footer__newsletter-input",NEWSLETTER_BUTTON:"c-footer__newsletter-button",BOTTOM:"c-footer__bottom",COPYRIGHT:"c-footer__copyright",BACK_TO_TOP:"c-footer__back-to-top",DIVIDER:"c-footer__divider",COLUMNS:"c-footer--columns",CENTERED:"c-footer--centered",MINIMAL:"c-footer--minimal",STACKED:"c-footer--stacked",FLEXIBLE:"c-footer--flexible",SIDEBAR:"c-footer--sidebar",WIDE:"c-footer--wide",SM:"c-footer--sm",MD:"c-footer--md",LG:"c-footer--lg",STICKY:"c-footer--sticky"},DEFAULTS:{LAYOUT:"columns",VARIANT:"primary",SIZE:"md",SHOW_NEWSLETTER:!1,SHOW_BACK_TO_TOP:!1,SHOW_DIVIDER:!0,STICKY:!1,NEWSLETTER_TITLE:"Stay Updated",NEWSLETTER_DESCRIPTION:"Subscribe to our newsletter for the latest updates.",NEWSLETTER_PLACEHOLDER:"Enter your email",NEWSLETTER_BUTTON_TEXT:"Subscribe",BACK_TO_TOP_TEXT:"Back to Top"}},ve={BASE_CLASS:"c-atomix-glass",CONTAINER_CLASS:"c-atomix-glass__container",INNER_CLASS:"c-atomix-glass__inner",FILTER_CLASS:"c-atomix-glass__filter",FILTER_OVERLAY_CLASS:"c-atomix-glass__filter-overlay",FILTER_SHADOW_CLASS:"c-atomix-glass__filter-shadow",CONTENT_CLASS:"c-atomix-glass__content",BORDER_1_CLASS:"c-atomix-glass__border-1",BORDER_2_CLASS:"c-atomix-glass__border-2",HOVER_1_CLASS:"c-atomix-glass__hover-1",HOVER_2_CLASS:"c-atomix-glass__hover-2",HOVER_3_CLASS:"c-atomix-glass__hover-3",BASE_LAYER_CLASS:"c-atomix-glass__base",OVERLAY_LAYER_CLASS:"c-atomix-glass__overlay",OVERLAY_HIGHLIGHT_CLASS:"c-atomix-glass__overlay-highlight",BACKGROUND_LAYER_CLASS:"c-atomix-glass__background-layer",BACKGROUND_LAYER_DARK_CLASS:"c-atomix-glass__background-layer--dark",BACKGROUND_LAYER_BLACK_CLASS:"c-atomix-glass__background-layer--black",BACKGROUND_LAYER_OVER_LIGHT_CLASS:"c-atomix-glass__background-layer--over-light",BACKGROUND_LAYER_HIDDEN_CLASS:"c-atomix-glass__background-layer--hidden",VARIANT_PREFIX:"c-atomix-glass--",MODE_PREFIX:"c-atomix-glass--",CLASSES:{BASE:"c-atomix-glass",CONTAINER:"c-atomix-glass__container",INNER:"c-atomix-glass__inner",FILTER:"c-atomix-glass__filter",CONTENT:"c-atomix-glass__content",ACTIVE:"active",OVER_LIGHT:"c-atomix-glass__container--over-light",STANDARD:"c-atomix-glass--standard",POLAR:"c-atomix-glass--polar",PROMINENT:"c-atomix-glass--prominent",SHADER:"c-atomix-glass--shader"},DEFAULTS:{DISPLACEMENT_SCALE:20,BLUR_AMOUNT:1,SATURATION:140,ABERRATION_INTENSITY:2.5,ELASTICITY:.05,CORNER_RADIUS:16,PADDING:"0 0",MODE:"standard",OVER_LIGHT:!1,ENABLE_OVER_LIGHT_LAYERS:!0},CONSTANTS:{ACTIVATION_ZONE:200,MIN_BLUR:.1,MOUSE_INFLUENCE_DIVISOR:100,EDGE_FADE_PIXELS:2,DEFAULT_CORNER_RADIUS:16,MAX_SIZE:4096,GRADIENT:{BASE_ANGLE:135,ANGLE_MULTIPLIER:1.2,BORDER_STOP_1:{MIN:10,BASE:33,MULTIPLIER:.3},BORDER_STOP_2:{MAX:90,BASE:66,MULTIPLIER:.4},BORDER_OPACITY:{BASE_1:.12,BASE_2:.4,BASE_3:.32,BASE_4:.6,MULTIPLIER_LOW:.008,MULTIPLIER_HIGH:.012},CENTER_POSITION:50,HOVER_POSITION:{DIVISOR_1:2,DIVISOR_2:1.5,MULTIPLIER_3:1},BASE_LAYER_MULTIPLIER:.5},GRADIENT_OPACITY:{HOVER_1:{BLACK_START:.3,BLACK_MID:.1,BLACK_STOP:30,BLACK_END:60,WHITE_START:.5,WHITE_STOP:50},HOVER_2:{BLACK_START:.4,BLACK_MID:.15,BLACK_STOP:40,BLACK_END:80,WHITE_START:1,WHITE_STOP:80},HOVER_3:{BLACK_START:.5,BLACK_MID:.2,BLACK_STOP:50,BLACK_END:100,WHITE_START:1,WHITE_STOP:100}},BASE_GRADIENT:{ANGLE:135,BLACK_START_BASE:.15,BLACK_START_MULTIPLIER:.003,BLACK_MID_BASE:.1,BLACK_MID_MULTIPLIER:.002,BLACK_MID_STOP:50,BLACK_END_BASE:.18,BLACK_END_MULTIPLIER:.004,WHITE_OPACITY:.1},OVERLAY_GRADIENT:{BLACK_START_BASE:.12,BLACK_START_MULTIPLIER:.003,BLACK_MID:.06,BLACK_MID_STOP:40,BLACK_END_BASE:.15,BLACK_END_MULTIPLIER:.003,WHITE_OPACITY:.05},OVERLAY_HIGHLIGHT:{POSITION_X:20,POSITION_Y:20,WHITE_OPACITY:.4,STOP:60,OPACITY_MULTIPLIER:.7},MULTIPLIERS:{SHADER_DISPLACEMENT:.8,OVER_LIGHT_DISPLACEMENT:.6,SHADER_ABERRATION:.7},SATURATION:{HIGH_CONTRAST:200}}};function fe(e){const t={defaultOpen:!1,disabled:!1,iconPosition:"right",...e},a="boolean"==typeof t.isOpen,[n,s]=i(t.defaultOpen||!1),l=a?t.isOpen:n,[c,d]=i(l?"auto":"0px"),u=r(null),h=r(null),m=()=>{if(h.current&&u.current){const e=l?`${h.current.clientHeight}px`:"0px";u.current.style.setProperty(w.CSS_VARS.PANEL_HEIGHT,e),d(e)}};o((()=>{m()}),[l]),o((()=>{const e=()=>{l&&m()};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[l]);return{state:{isOpen:l,panelHeight:c},toggle:()=>{t.disabled||(a?t.onOpenChange&&t.onOpenChange(!l):s((e=>!e)))},updatePanelHeight:m,panelRef:u,contentRef:h,generateClassNames:(e="")=>`c-accordion ${l?w.CLASSES.IS_OPEN:""} ${t.disabled?w.CLASSES.IS_DISABLED:""} ${e}`.trim(),generateHeaderClassNames:()=>`c-accordion__header ${"left"===t.iconPosition?"c-accordion__header--icon-left":""}`.trim()}}const be=0,Te=255,Le=8e-4,Ce=4096,Ie=(e,t,a)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a)return 0;const n=Math.max(0,Math.min(1,(a-e)/(t-e)));return n*n*(3-2*n)},ye=(e,t)=>{if("number"!=typeof e||"number"!=typeof t||isNaN(e)||isNaN(t))return 0;const a=Math.max(Math.abs(e),Math.abs(t));if(0===a)return 0;const n=e/a,i=t/a;return a*Math.sqrt(n*n+i*i)},xe=(e,t,a,n,i)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||"number"!=typeof i)return 0;const r=Math.abs(e)-a+i,o=Math.abs(t)-n+i;return Math.min(Math.max(r,o),0)+ye(Math.max(r,0),Math.max(o,0))-i},Re=(e,t)=>({x:"number"!=typeof e||isNaN(e)?.5:Math.max(0,Math.min(1,e)),y:"number"!=typeof t||isNaN(t)?.5:Math.max(0,Math.min(1,t))}),Oe=e=>e&&"number"==typeof e.x&&"number"==typeof e.y&&!isNaN(e.x)&&!isNaN(e.y),Me=(e,t,a)=>"number"!=typeof e||"number"!=typeof t||"number"!=typeof a||isNaN(e)?t:isNaN(t)?0:isNaN(a)?1:Math.max(t,Math.min(a,e)),we=e=>{if("number"!=typeof e||isNaN(e))return 0;const t=Math.max(0,Math.min(1,e));return t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2},De=e=>{if("number"!=typeof e||isNaN(e))return 0;const t=Math.max(0,Math.min(1,e));return 1-Math.pow(1-t,4)},Be=(e,t)=>{if("number"!=typeof e||"number"!=typeof t||isNaN(e)||isNaN(t))return 0;const a=255&Math.floor(e),n=255&Math.floor(t),i=e-Math.floor(e),r=t-Math.floor(t),o=we(i),s=we(r),l=(e,t)=>{if("number"!=typeof e||"number"!=typeof t)return 0;const a=e+57*t,n=43758.5453*Math.sin(12.9898*a+78.233);return n-Math.floor(n)},c=l(a,n),d=l(a+1,n),u=l(a,n+1),h=c+o*(d-c);return h+s*(u+o*(l(a+1,n+1)-u)-h)},Pe=(e,t,a=4)=>{if("number"!=typeof e||"number"!=typeof t||isNaN(e)||isNaN(t))return 0;const n=Math.max(1,Math.min(8,Math.floor(a)));let i=0,r=.5,o=1;for(let a=0;a<n;a++)i+=r*Be(e*o,t*o),o*=2,r*=.5;return i},ke=(e,t,a,n=0,i=0)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||"number"!=typeof i||isNaN(e)||isNaN(t)||isNaN(a)||isNaN(n)||isNaN(i))return{x:0,y:0};const r=Math.min(.02*a,.1);return{x:(e-n)*r,y:(t-i)*r}},Ue={liquidGlass:(e,t)=>{if(!Oe(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*Le,r=t&&Oe(t)?t.x-.5:0,o=t&&Oe(t)?t.y-.5:0,s=ye(r,o),l=De(1-Math.min(2*s,1)),c=Pe(12*(a+.5*r)+i,12*(n+.5*o)+.7*i,3)-.5,d=xe(a,n,.4,.3,.35),u=Ie(.8,0,d-.05),h=((e,t,a)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||isNaN(e)||isNaN(t)||isNaN(a))return{x:0,y:0};const n=ye(e,t),i=Math.pow(Math.min(n,10),2)*a;return{x:e*(1+i),y:t*(1+i)}})(a,n,.4*.1),m=1.2*(h.x-a)*u,p=1.2*(h.y-n)*u,g=.018*Math.sin(8*(a+2*r)+2*i),S=.018*Math.cos(8*(n+2*o)+1.5*i),E=(.015*Math.sin(12*(a-r)+12*(n-o)+3*i)+.012*Math.cos(10*(a+r)-10*(n-o)-2*i))*l*s,A=(Math.sin(15*a+i)*Math.cos(15*n-i)*.008+Math.sin(20*a-.5*i)*Math.cos(20*n+.5*i)*.006)*u,N=.85*(g+S+.025*c),_=m+N+E+A,v=p+.8*N+.9*E+A,f=((e,t,a)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||isNaN(e)||isNaN(t)||isNaN(a))return{x:0,y:0};const n=ye(e,t);if(0===n)return{x:0,y:0};const i=Math.atan2(t,e);return{x:Math.cos(i)*n*a,y:Math.sin(i)*n*a}})(a,n,.015*u),b=Ie(0,1,1.15*u),T=a+_+.5*f.x,L=n+v+.5*f.y;return Re(Me(T*b+.5,0,1),Me(L*b+.5,0,1))},appleFluid:(e,t)=>{if(!Oe(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*Le*.6,r=t&&Oe(t)?t.x-.5:0,o=t&&Oe(t)?t.y-.5:0,s=ye(r,o),l=De(1-Math.min(1.5*s,1)),c=Pe(10*(a+.3*r)+i,10*(n+.3*o),5)-.5,d=Pe(10*(a-.3*r),10*(n-.3*o)+.8*i,5)-.5,u=xe(a,n,.42,.32,.38),h=Ie(.85,-.1,u),m=Math.sin(6*a+2*i)*Math.cos(4*n-i)*.025,p=Math.cos(4*a-i)*Math.sin(6*n+2*i)*.025,g=Math.atan2(n-o,a-r),S=l*s*.08,E=Math.cos(g+i)*S,A=n+(.035*d+p+Math.sin(g+i)*S)*h;return Re(Me(a+(.035*c+m+E)*h+.5,0,1),Me(A+.5,0,1))},premiumGlass:(e,t)=>{if(!Oe(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*Le*.4,r=t&&Oe(t)?t.x-.5:0,o=t&&Oe(t)?t.y-.5:0,s=ye(r,o),l=ye(a,n),c=.3*Math.pow(Math.min(l,1),1.5),d=Math.atan2(n,a);let u=0,h=0;for(let e=0;e<3;e++){const t=5*(e+1),r=i*(1+.3*e),o=.01/(e+1);u+=Math.sin(a*t+r)*o,h+=Math.cos(n*t-r)*o}const m=Math.cos(d)*c*(1+.5*s),p=Math.sin(d)*c*(1+.5*s),g=Pe(8*a+i,8*n-i,2)-.5,S=xe(a,n,.43,.33,.36),E=Ie(.9,-.05,S),A=n+(p+h+.015*g)*E;return Re(Me(a+(m+u+.015*g)*E+.5,0,1),Me(A+.5,0,1))},liquidMetal:(e,t)=>{if(!Oe(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*Le*1.2,r=t&&Oe(t)?t.x-.5:0,o=t&&Oe(t)?t.y-.5:0,s=Math.sin(20*a+4*i)*Math.cos(15*n-3*i)*.02,l=Math.cos(15*a-2*i)*Math.sin(20*n+5*i)*.015,c=.025*Pe(25*a+2*i,25*n-2*i,4),d=Math.atan2(n-o,a-r),u=ye(a-r,n-o),h=.02*Math.sin(15*u-6*i)*De(1-Math.min(2*u,1)),m=xe(a,n,.41,.31,.37),p=Ie(.88,-.08,m),g=a+(s+c+Math.cos(d)*h)*p,S=n+(l+.8*c+Math.sin(d)*h)*p;return Re(Me(g+.5,0,1),Me(S+.5,0,1))},basiBasi:(e,t)=>{if(!Oe(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*Le*.5,r=t&&Oe(t)?t.x-.5:0,o=t&&Oe(t)?t.y-.5:0,s=ye(r,o),l=De(1-Math.min(1.2*s,1)),c=((e,t,a,n=1)=>"number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||isNaN(e)||isNaN(t)||isNaN(a)||isNaN(n)?.5:.5*(Math.sin(8*e+2*a)*Math.cos(8*t-2*a)*.5+Math.sin(8*(e+.5)*1.3-2*a*.8)*Math.cos(8*(t-.3)*1.3+2*a*.8)*.3+Math.sin(8*(e-.3)*.7+2*a*1.2)*Math.cos(8*(t+.4)*.7-2*a*1.2)*.2+1)*n)(a,n,i,.8),d=.02*(c-.5),u=Math.atan2(n,a),h=((e,t,a,n)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||isNaN(e)||isNaN(t)||isNaN(a)||isNaN(n))return{r:{x:0,y:0},g:{x:0,y:0},b:{x:0,y:0}};const i=ye(e,t),r=Math.min(i*n,1),o=.8*r,s=1*r,l=1.2*r;return{r:{x:Math.cos(a)*o,y:Math.sin(a)*o},g:{x:Math.cos(a)*s,y:Math.sin(a)*s},b:{x:Math.cos(a)*l,y:Math.sin(a)*l}}})(a,n,u,.025),m=(h.r.x+h.g.x+h.b.x)/3,p=(h.r.y+h.g.y+h.b.y)/3;let g=0,S=0;for(let e=0;e<7;e++){const t=ke(a,n,(e+1)/7,r,o),s=Pe((a+t.x)*(8+2*e)+i*(.5+.1*e),(n+t.y)*(8+2*e)-i*(.5+.1*e),3)-.5,l=1/(e+1);g+=(t.x+.01*s)*l,S+=(t.y+.01*s)*l}g/=7,S/=7;const E=((e,t,a,n)=>"number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||isNaN(e)||isNaN(t)||isNaN(a)||isNaN(n)?.5:Pe(5*e+.5*n,5*t-.5*n,3)*Math.exp(2*-Math.max(0,a))*.5+.5)(a,n,.5,i),A=Math.cos(u)*E*.015,N=Math.sin(u)*E*.015,_=((e,t,a,n=5)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||isNaN(e)||isNaN(t)||isNaN(a)||isNaN(n))return 0;const i=Math.max(1,Math.min(8,Math.floor(n)));let r=0,o=1,s=1;for(let n=0;n<i;n++)r+=Math.abs(Be(e*s+a,t*s-a))*o,s*=2,o*=.5;return r})(6*a,6*n,i,6),v=.012*Math.cos(_*Math.PI*2),f=.012*Math.sin(_*Math.PI*2),b=((e,t,a)=>"number"!=typeof e||"number"!=typeof t||"number"!=typeof a||isNaN(e)||isNaN(t)||isNaN(a)?.5:.5*(.7*Pe(40*e+.3*a,40*t-.3*a,6)+.3*Pe(80*e,80*t,4)))(a,n,i),T=.008*(b-.5),L=.008*(b-.5),C=ye(a,n),I=.35*Math.pow(Math.min(C,1),1.8)*(1+l*s*.8),y=Math.cos(u)*I,x=Math.sin(u)*I,R=Math.atan2(n-o,a-r),O=ye(a-r,n-o),M=l*Math.sin(10*O-3*i)*.025,w=Math.cos(R+2*i)*M,D=Math.sin(R+2*i)*M,B=Math.sin(10*a+5*r+2.5*i)*Math.cos(8*n-2*i)*.018,P=Math.cos(8*a-2*i)*Math.sin(10*n+5*o+2.5*i)*.018,k=(.012*Math.sin(15*Math.min(C,10)-4*i)+.008*Math.cos(20*Math.min(C,10)+3*i))*l,U=Math.cos(u)*k,G=Math.sin(u)*k,z=xe(a,n,.44,.34,.39),F=Ie(.92,-.12,z),V=Ie(.85,.1,z),H=n+.85*((1.2*x+.8*p+1.5*S+.9*N+1*f+.6*L+1.3*D+1.1*P+.7*G+.8*d)*F*V);return Re(Me(a+.85*((1.2*y+.8*m+1.5*g+.9*A+1*v+.6*T+1.3*w+1.1*B+.7*U+d)*F*V)+.5,0,1),Me(H+.5,0,1))}};class Ge{constructor(e){if(this.options=e,this.canvasDPI=1,!this.validateOptions(e))throw new Error("Invalid shader options provided");this.canvas=document.createElement("canvas"),this.canvas.width=Math.max(1,Math.min(Ce,Math.round(e.width*this.canvasDPI||256))),this.canvas.height=Math.max(1,Math.min(Ce,Math.round(e.height*this.canvasDPI||256))),this.canvas.style.display="none";const t=this.canvas.getContext("2d");if(!t)throw new Error("AtomixGlass: Could not get 2D canvas context");this.context=t}validateOptions(e){try{return e&&"number"==typeof e.width&&e.width>0&&e.width<=Ce&&"number"==typeof e.height&&e.height>0&&e.height<=Ce&&"function"==typeof e.fragment}catch(e){return!1}}updateShader(e){try{const t=this.options.width*this.canvasDPI,a=this.options.height*this.canvasDPI;let n=0;const i=[];for(let r=0;r<a;r++)for(let o=0;o<t;o++){const s={x:o/t,y:r/a},l=this.options.fragment(s,e);let c=l.x*t-o,d=l.y*a-r;const u=2*Math.min(o/t,(t-o)/t),h=2*Math.min(r/a,(a-r)/a),m=Math.min(u,h);c*=Ie(0,.2,m),d*=Ie(0,.2,m),n=Math.max(n,Math.abs(c),Math.abs(d)),i.push(c,d)}n=Math.max(n,1);const r=this.context.createImageData(t,a),o=r.data;let s=0;for(let e=0;e<a;e++)for(let r=0;r<t;r++){const l=i[s++]||0,c=i[s++]||0,d=Math.min(r,e,t-r-1,a-e-1),u=Math.min(1,d/2),h=l*u/n+.5,m=c*u/n+.5,p=4*(e*t+r);o[p]=Me(255*h,be,Te),o[p+1]=Me(255*m,be,Te),o[p+2]=Me(255*m,be,Te),o[p+3]=255}return this.context.putImageData(r,0,0),this.canvas.toDataURL()}catch(e){return""}}destroy(){try{this.canvas.remove()}catch(e){}}getScale(){return this.canvasDPI}}const{CONSTANTS:ze}=ve,Fe=(e,t)=>{if(!e||!t||"number"!=typeof e.x||"number"!=typeof e.y||"number"!=typeof t.x||"number"!=typeof t.y)return 0;const a=e.x-t.x,n=e.y-t.y;return Math.sqrt(a*a+n*n)},Ve=e=>e?{x:e.left+e.width/2,y:e.top+e.height/2}:{x:0,y:0},He=e=>{if(!e||"number"!=typeof e.x||"number"!=typeof e.y)return 0;const t=Math.sqrt(e.x*e.x+e.y*e.y)/ze.MOUSE_INFLUENCE_DIVISOR;return Math.min(1.5,t)},Ye=e=>"number"!=typeof e||isNaN(e)?ze.MIN_BLUR:Math.max(ze.MIN_BLUR,Math.min(50,e)),Ke=e=>e&&"number"==typeof e.width&&"number"==typeof e.height&&e.width>0&&e.height>0&&e.width<=ze.MAX_SIZE&&e.height<=ze.MAX_SIZE,We=e=>{if("number"==typeof e)return Math.max(0,e);if("string"!=typeof e||!e.trim())return ze.DEFAULT_CORNER_RADIUS;const t=e.trim();if(t.endsWith("px")){const e=parseFloat(t);return isNaN(e)?ze.DEFAULT_CORNER_RADIUS:Math.max(0,e)}if(t.endsWith("rem")){const e=parseFloat(t);return isNaN(e)?ze.DEFAULT_CORNER_RADIUS:Math.max(0,16*e)}if(t.endsWith("em")){const e=parseFloat(t);return isNaN(e)?ze.DEFAULT_CORNER_RADIUS:Math.max(0,16*e)}if(t.endsWith("%")){const e=parseFloat(t);return isNaN(e)?ze.DEFAULT_CORNER_RADIUS:Math.max(0,e/100*200)}const a=parseFloat(t);return isNaN(a)?ze.DEFAULT_CORNER_RADIUS:Math.max(0,a)},$e=e=>{if(!e||!e.props)return null;if(e.props.style){const t=(e=>{if(!e)return null;const t=e.borderRadius||e.borderTopLeftRadius||e.borderTopRightRadius||e.borderBottomLeftRadius||e.borderBottomRightRadius;if(void 0!==t)return We(t);return null})(e.props.style);if(null!==t&&t>0)return t}if(e.props.children){const t=Qe(e.props.children);if(t>0&&t!==ze.DEFAULT_CORNER_RADIUS)return t}return null},Qe=e=>{if(!e)return ze.DEFAULT_CORNER_RADIUS;try{const t=n.Children.toArray(e);for(let e=0;e<t.length;e++){const a=t[e];if(n.isValidElement(a)){const e=$e(a);if(null!==e)return e}}}catch(e){}return ze.DEFAULT_CORNER_RADIUS},Ze=(e,t,a,n,i)=>{switch(e){case"standard":default:return t;case"polar":return a;case"prominent":return n;case"shader":return i||t}},qe=({id:a,displacementScale:n,aberrationIntensity:i,mode:r,shaderMapUrl:o})=>e("svg",{style:{position:"absolute",width:"100%",height:"100%",inset:0,visibility:"hidden",opacity:0},"aria-hidden":"true",children:t("defs",{children:[t("radialGradient",{id:`${a}-edge-mask`,cx:"50%",cy:"50%",r:"50%",children:[e("stop",{offset:"0%",stopColor:"black",stopOpacity:"0"}),e("stop",{offset:`${Math.max(30,80-2*i)}%`,stopColor:"black",stopOpacity:"0"}),e("stop",{offset:"100%",stopColor:"white",stopOpacity:"1"})]}),t("filter",{id:a,x:"-35%",y:"-35%",width:"170%",height:"170%",colorInterpolationFilters:"sRGB",children:[e("feImage",{id:"feimage",x:"0",y:"0",width:"100%",height:"100%",result:"DISPLACEMENT_MAP",href:Ze(r,"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/2wCEAAQDAwMDAwQDAwQGBAMEBgcFBAQFBwgHBwcHBwgLCAkJCQkICwsMDAwMDAsNDQ4ODQ0SEhISEhQUFBQUFBQUFBQBBQUFCAgIEAsLEBQODg4UFB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QlQ9Qfk/10NiVkNiNiVGXiPxj4x8Q9IfCFCPRCwC84oA3nFQFM5KBKJIMKEIUWRoUUJWJUJ0BUPUH5L9dDZFYigjYjZHRF0x8Q9IvEHRHojQjQhecUAUAkEkziomgGgkoxZGgxZFQFQlYnQHRdPfj/10KCSCKESCNiVkViPSLpD0h6I0Q0I0A2IoBWBIJIBKBIJoJIJ2R2J0JWBUJ0JUB0XTv479dFZDYiglYigkhEgjZFQjRFQjRFQjQigFYigHYigmgEgmglYlYnQlQlYlQHQlQnQ9P/kf1yVkNiNCNkNiVENiNiViNEViNkVCVgKCViViViSCViSCVgdCViVCViVCdgVCVCdD1D+U/XBWQ2I0I2Q2JUQ2I0JWQ0I2JUQ2JUI2JUI2J0JWJWJWA2R0BWJ0I2JUJ2BUJUJ0P//EABkQAQEBAQEBAAAAAAAAAAAAAAECABEDEP/aAAgBAQABAgB1atWrVq1atWrVq1atWrVq1atWrVq1atWrVq+OrVq1atWrVq1atWrVq1atWrVq1atWrVq1atXxVppppppdWrVq1atWrVq1NNNNNNNNNNNPVWmmmmms6tWrVq1atWpppppppppppppp6q0000uc51atWrVq1ammmmmmmmmmmmmt1Vpppc5znVq1atWrVqaaaaaaaaaaaaaeqtNLnOc51atWrVq1ammmmmmmmmmmmmnqrS5znOc6tWrVq16222mmmmmmlVppp6tKuc5znOrVq1a9TbbbbTTTTTSq000qtLnOc5zq1atWrW0222200000qqqtKqrnOc5zq1atTbbbbbbbbTTTSqqqqqq5znOc6tTTTbbbbbbbbTTTSqqqqrlVznOctNNNtttttttttNNNNKqqqrqznKqrTTTTbbbbbbbbbTTTSqqqqrqznOc5aaaabbbbbbbbbaaaaVVVVVdWc5znVq1NNttttttttttNNKqqqqudWc5znVq16tbbbbbbbbbbTTSqqqq5XVnOc6tWrVrb1tttttttttNNKqqqqrWrK5VWmmm2230bbbbbbaaaXOc5zlVa1KuVVppptttt9G22222mmlzlVznK6tWVVWmmmm2222222222mlznOc5znLWppVVWmmm22222229bTWrOc5znOcq1qaaVpWmm222222229erVqznOc5znKtatStK0rTbTTbbbberXr1as5znOc5aVpppppWlabaabbbb1ta9WrVnOc5znU0rTTTTTTTTTbTTbbbTWvVq1as5znOdTTStNNNNNNNNNtNNtttN6tWvVq1ZznOrU00rTTTTTTTTTTTTTbTWvVq1atWrOc6tTTTStNNNNNNNNNNtNNtNa9WrVq1Z1Z1NNNNNK1q1NNNNNNNNNNNtNatWrVq1atWrU00000rWrVq1atWrVq1alaaa1atWrVq1NNNammmmla1atWrVq1aterVq16tWrVnVqa1NK1qaaaVX/xAAWEAADAAAAAAAAAAAAAAAAAAAhgJD/2gAIAQEAAz8AaExf/8QAGhEBAQEBAQEBAAAAAAAAAAAAAQISEQADEP/aAAgBAgEBAgDx48ePHjx48ePHjx48ePHjx48ePHjx48ePHj86IiIiIiInjx48ePHjx48IiIiIj0oooooooooRERER73ve60UUUUUUVrWiiiiiihERERER73ve97ooooorRWiiiiihKERERER73ve973RRRRWtFFFFFFCIiIiIiPe973ve60UUVrRRRRRRQiIlCIiI973ve973pRRWiiiiiiiiiiiiiiihEe973ve973RRWtFFFFFFFFFFFFFFFFFFa13ve973WitaKKKKKKKKKKKKKKKKKK1rWtd1rutFa1oooooooooooosssooorWta1rWta1rRRRRRRRRRRZZZZZZZZZWta1rWta1rRRRRRRRRZZZZZZZZZZZZe9a1rWta1rWitaKLLLLLLLLLLLLLLLLL3rWta1rWtFbLLLLLLLLLLLLLLLLLLLL3vWta1rWita1ssssssss+hZZZZZZZZe961rWta0Vre97LLLLLLLLLLLPoWWWWWXrWta1oorWta3ssss+hZZZZ9Cyyyyyyyyiita1orWta1ve9llllllllllllllllFFa0VorWta1ve9llllllllllllllllllFFFaK1rWta1rWiyyyyyyyyyyyyiiiiiiitFFa1rWta1oosoosssssoooosoooorRRRWta1rWta0UUUUUWUUUUUUUUUUUVoooorWta1rWtaKKKKKKmiiiiiiiiiiiiiiitd73ve61oSiiipoqaKKKKKKKKKK0UUUVrve973vREREZoSihEooooor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viCv0LUzAU7rmBXZgdHqRmjzjwZYU1+iFnIzSv8x3uqfE6AJCeCw7QxOSGVS4O6Bxorv5XYca9laN3PBImlGAfG5/uqplYR3plzjBu5GYIfZZLCtbAL++LtUfeePa3YUC+BJF1ueewlg0OfG2if3HLv7ztYy06p1+BHpkgp6R/bhNQ14e2Tgm5JUotvXOq1gn0NPBKued71nTgrrq47u4DENe/at5CXyBuxYiSwu1pnB8sjED3QIDn0+Oer7plgp4t3Z5tDrTvAt2jP6G5gG/VRvtnPlg2Xj5AmUgMmSoI66Eqp4iDjM9R5Tdp0Hb0KN1duIZ+bmbFGy8oje5GgM6KSbFKvxcUQbwIAJSWPRPUI0qAfsoBeg6wg34beqRT0qDBU6Ea44gLxZ9H58oho4ojVM1s0IcbqGFBmyQ+KVq+Rn9zuTr9ff+q++PaWy9IGkSgG7aYe/ePqBamIBu6xruTznWI5egLDnwxGs4/Ye97bpQhKZJqv7/7GfkgF+rEBGfCVWZCTPnOjwxnPWcyxAqtLMZanXyfSv/Hz46iWQl6ryEc6KdaQ3440BkBh1qeRon4sTqGC2liNQdGdUra0xL+H/kMAsbYr+iHAAAAAElFTkSuQmCC",o),preserveAspectRatio:"xMidYMid slice"}),e("feColorMatrix",{in:"DISPLACEMENT_MAP",type:"matrix",values:"0.3 0.3 0.3 0 0\n 0.3 0.3 0.3 0 0\n 0.3 0.3 0.3 0 0\n 0 0 0 1 0",result:"EDGE_INTENSITY"}),e("feComponentTransfer",{in:"EDGE_INTENSITY",result:"EDGE_MASK",children:e("feFuncA",{type:"discrete",tableValues:`0 ${.05*i} 1`})}),e("feOffset",{in:"SourceGraphic",dx:"0",dy:"0",result:"CENTER_ORIGINAL"}),e("feDisplacementMap",{in:"SourceGraphic",in2:"DISPLACEMENT_MAP",scale:n*("shader"===r?1:-1),xChannelSelector:"R",yChannelSelector:"B",result:"RED_DISPLACED"}),e("feColorMatrix",{in:"RED_DISPLACED",type:"matrix",values:"1 0 0 0 0\n 0 0 0 0 0\n 0 0 0 0 0\n 0 0 0 1 0",result:"RED_CHANNEL"}),e("feDisplacementMap",{in:"SourceGraphic",in2:"DISPLACEMENT_MAP",scale:n*(("shader"===r?1:-1)-.02*i),xChannelSelector:"R",yChannelSelector:"B",result:"GREEN_DISPLACED"}),e("feColorMatrix",{in:"GREEN_DISPLACED",type:"matrix",values:"0 0 0 0 0\n 0 1 0 0 0\n 0 0 0 0 0\n 0 0 0 1 0",result:"GREEN_CHANNEL"}),e("feDisplacementMap",{in:"SourceGraphic",in2:"DISPLACEMENT_MAP",scale:n*(("shader"===r?1:-1)-.03*i),xChannelSelector:"R",yChannelSelector:"B",result:"BLUE_DISPLACED"}),e("feColorMatrix",{in:"BLUE_DISPLACED",type:"matrix",values:"0 0 0 0 0\n 0 0 0 0 0\n 0 0 1 0 0\n 0 0 0 1 0",result:"BLUE_CHANNEL"}),e("feBlend",{in:"GREEN_CHANNEL",in2:"BLUE_CHANNEL",mode:"screen",result:"GB_COMBINED"}),e("feBlend",{in:"RED_CHANNEL",in2:"GB_COMBINED",mode:"screen",result:"RGB_COMBINED"}),e("feComposite",{in:"ABERRATED_BLURRED",in2:"EDGE_MASK",operator:"in",result:"EDGE_ABERRATION"}),e("feComponentTransfer",{in:"EDGE_MASK",result:"INVERTED_MASK",children:e("feFuncA",{type:"table",tableValues:"1 0"})}),e("feComposite",{in:"CENTER_ORIGINAL",in2:"INVERTED_MASK",operator:"in",result:"CENTER_CLEAN"}),e("feComposite",{in:"EDGE_ABERRATION",in2:"CENTER_CLEAN",operator:"over"})]})]})});qe.displayName="GlassFilter";const Xe=s((({children:a,className:n="",style:s,displacementScale:d=25,blurAmount:u=.0625,saturation:h=180,aberrationIntensity:m=2,mouseOffset:p={x:0,y:0},globalMousePosition:g={x:0,y:0},onMouseEnter:S,onMouseLeave:E,onMouseDown:A,onMouseUp:N,active:_=!1,isHovered:v=!1,isActive:f=!1,overLight:b=!1,cornerRadius:T=0,padding:L="0 0",glassSize:C={width:0,height:0},onClick:I,mode:y="standard",effectiveDisableEffects:x=!1,effectiveReducedMotion:R=!1,shaderVariant:O="liquidGlass",enableLiquidBlur:M=!1,elasticity:w=0,contentRef:D},B)=>{const P=l(),[k,U]=i(""),G=r(null);o((()=>{if("shader"===y&&C&&Ke(C))try{G.current?.destroy();const e=Ue[O]||Ue.liquidGlass;G.current=new Ge({width:C.width,height:C.height,fragment:e});const t=G.current.updateShader();U(t)}catch(e){U("")}return()=>{try{G.current?.destroy()}catch(e){}finally{G.current=null}}}),[y,C,O]),o((()=>{if(!B||"function"==typeof B)return;const e=B.current;if(!e)return;const t=setTimeout((()=>{try{e.offsetHeight}catch(e){}}),0);return()=>clearTimeout(t)}),[T,C?.width,C?.height,B]);const[z,F]=i(null);o((()=>{if(!B||"function"==typeof B)return;const e=B.current;if(e)try{F(e.getBoundingClientRect())}catch(e){F(null)}}),[B,C]);const V=c((()=>{const e={baseBlur:u,edgeBlur:1.25*u,centerBlur:1.1*u,flowBlur:1.2*u};if(!M||!z||!g||"number"!=typeof g.x||"number"!=typeof g.y||isNaN(g.x)||isNaN(g.y))return e;try{const e=Ve(z),t=Fe(g,e),a=Math.sqrt(z.width*z.width+z.height*z.height)/2,n=Math.min(t/a,1),i=He(p),r=u+i*u*.4,o=r*(.8+.6*(1.5*n+.3*i)),s=r*(.3+.4*(.3*(1-n)+.2*i)),l=g.x-e.x,c=g.y-e.y,d=Math.atan2(c,l),h=r*(.4+.6*(.5*Math.sin(d+i*Math.PI)+.5)),m=(v?1.2:1)*(f?1.4:1);return{baseBlur:Ye(r*m),edgeBlur:Ye(o*m),centerBlur:Ye(s*m),flowBlur:Ye(h*m)}}catch(t){return e}}),[M,u,g,p,v,f,z,s,C]),H=c((()=>{try{const e=h+20*(V.baseBlur||0),t="number"!=typeof V.baseBlur||isNaN(V.baseBlur)?0:V.baseBlur,a="number"!=typeof V.edgeBlur||isNaN(V.edgeBlur)?0:V.edgeBlur,n="number"!=typeof V.centerBlur||isNaN(V.centerBlur)?0:V.centerBlur,i="number"!=typeof V.flowBlur||isNaN(V.flowBlur)?0:V.flowBlur;return{backdropFilter:`${[`blur(${t}px)`,`blur(${a}px)`,`blur(${n}px)`,`blur(${i}px)`].join(" ")} saturate(${Math.min(e,200)}%) `}}catch(e){return{backdropFilter:`blur(${u}px) saturate(${h}%)`}}}),[P,V,h,u]),Y=c((()=>{try{const e=p&&"number"==typeof p.x&&!isNaN(p.x)?p.x:0,t=p&&"number"==typeof p.y&&!isNaN(p.y)?p.y:0;return{"--atomix-glass-container-width":`${C?.width}`,"--atomix-glass-container-height":`${C?.height}`,"--atomix-glass-container-padding":L||"0 0","--atomix-glass-container-radius":`${"number"!=typeof T||isNaN(T)?0:T}px`,"--atomix-glass-container-backdrop":H?.backdropFilter||"none","--atomix-glass-container-shadow":b?[`inset 0 1px 0 rgba(255, 255, 255, ${.4+.002*e})`,`inset 0 -1px 0 rgba(0, 0, 0, ${.2+.001*Math.abs(t)})`,`inset 0 0 20px rgba(0, 0, 0, ${.08+.001*Math.abs(e+t)})`,`0 2px 12px rgba(0, 0, 0, ${.12+.002*Math.abs(t)})`].join(", "):"0 0 20px rgba(0, 0, 0, 0.15) inset, 0 4px 8px rgba(0, 0, 0, 0.08) inset","--atomix-glass-container-shadow-opacity":x?0:1,"--atomix-glass-container-bg":b?`linear-gradient(${180+.5*e}deg, rgba(255, 255, 255, 0.1) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.05) 100%)`:"none","--atomix-glass-container-text-shadow":b?"0px 2px 12px rgba(0, 0, 0, 0)":"0px 2px 12px rgba(0, 0, 0, 0.4)","--atomix-glass-container-box-shadow":b?"0px 16px 70px rgba(0, 0, 0, 0.75)":"0px 12px 40px rgba(0, 0, 0, 0.25)"}}catch(e){return{"--atomix-glass-container-padding":"0 0","--atomix-glass-container-radius":"0px","--atomix-glass-container-backdrop":"none","--atomix-glass-container-shadow":"none","--atomix-glass-container-shadow-opacity":1,"--atomix-glass-container-bg":"none","--atomix-glass-container-text-shadow":"none"}}}),[C,L,T,H,p,b,x]);return e("div",{ref:B,className:`${ve.CONTAINER_CLASS} ${n} ${_?ve.CLASSES.ACTIVE:""} ${b?ve.CLASSES.OVER_LIGHT:""}`,style:{...s,...Y},onClick:I,children:t("div",{className:ve.INNER_CLASS,style:{padding:"var(--atomix-glass-container-padding)",borderRadius:"var(--atomix-glass-container-radius)",boxShadow:"var(--atomix-glass-container-box-shadow)"},onMouseEnter:S,onMouseLeave:E,onMouseDown:A,onMouseUp:N,children:[t("div",{className:ve.FILTER_CLASS,children:[e(qe,{mode:y,id:P,displacementScale:"number"!=typeof d||isNaN(d)?0:d,aberrationIntensity:"number"!=typeof m||isNaN(m)?0:m,shaderMapUrl:k}),e("span",{className:ve.FILTER_OVERLAY_CLASS,style:{filter:`url(#${P})`,backdropFilter:"var(--atomix-glass-container-backdrop)",borderRadius:"var(--atomix-glass-container-radius)"}}),e("div",{className:ve.FILTER_SHADOW_CLASS,style:{boxShadow:"var(--atomix-glass-container-shadow)",opacity:"var(--atomix-glass-container-shadow-opacity)",background:"var(--atomix-glass-container-bg)",borderRadius:"var(--atomix-glass-container-radius)"}})]}),e("div",{ref:D,className:ve.CONTENT_CLASS,style:{position:"relative",textShadow:"var(--atomix-glass-container-text-shadow)",...w>0?{zIndex:100}:{}},children:a})]})})}));Xe.displayName="AtomixGlassContainer";const{CONSTANTS:je}=ve;function Je({glassRef:e,contentRef:t,cornerRadius:a,globalMousePosition:n,mouseOffset:s,mouseContainer:l,overLight:u=ve.DEFAULTS.OVER_LIGHT,reducedMotion:h=!1,highContrast:m=!1,disableEffects:p=!1,elasticity:g=.05,onClick:S,debugCornerRadius:E=!1,debugOverLight:A=!1,enablePerformanceMonitoring:N=!1,children:_}){const[v,f]=i(!1),[b,T]=i(!1),[L,C]=i({width:270,height:69}),[I,y]=i({x:0,y:0}),[x,R]=i({x:0,y:0}),[O,M]=i(je.DEFAULT_CORNER_RADIUS),[w,D]=i(!1),[B,P]=i(!1),[k,U]=i(!1),G=c((()=>{if(void 0!==a){return Math.max(0,a)}return Math.max(0,O)}),[a,O,E]),z=c((()=>h||w),[h,w]),F=c((()=>m||B),[m,B]),V=c((()=>p||z),[p,z]),H=c((()=>n||I),[n,I]),Y=c((()=>s||x),[s,x]);o((()=>{const e=()=>{try{let e=null,a="default";if(t.current){const n=t.current.firstElementChild;if(n){const t=(e=>{if(!e||"undefined"==typeof window)return null;try{const t=window.getComputedStyle(e),a=t.borderRadius||t.borderTopLeftRadius||t.borderTopRightRadius||t.borderBottomLeftRadius||t.borderBottomRightRadius;if(a&&"0px"!==a&&"auto"!==a){const e=We(a);return e>0?e:null}return null}catch(e){return null}})(n);null!==t&&t>0&&(e=t,a="DOM element")}}if(null===e){const t=Qe(_);t>0&&t!==je.DEFAULT_CORNER_RADIUS&&(e=t,a="React children")}null!==e&&e>0&&M(e)}catch(e){}};e();const a=setTimeout(e,100);return()=>clearTimeout(a)}),[_,E,t]),o((()=>{if(("auto"===u||"object"==typeof u&&null!==u)&&e.current){const t=setTimeout((()=>{try{const t=e.current;if(!t)return void U(!1);if("undefined"==typeof window||"function"!=typeof window.getComputedStyle)return void U(!1);let a=0,n=0,i=!1,r=t.parentElement,o=0;const s=20,l=10;for(;r&&n<l&&o<s;){try{const e=window.getComputedStyle(r);if(!e){r=r.parentElement,o++;continue}const t=e.backgroundColor,s=e.backgroundImage;if(t&&"rgba(0, 0, 0, 0)"!==t&&"transparent"!==t&&"initial"!==t&&"none"!==t){const e=t.match(/\d+/g);if(e&&e.length>=3){const t=Number(e[0]),r=Number(e[1]),o=Number(e[2]);if(!isNaN(t)&&!isNaN(r)&&!isNaN(o)&&isFinite(t)&&isFinite(r)&&isFinite(o)&&t>=0&&t<=255&&r>=0&&r<=255&&o>=0&&o<=255&&(t>10||r>10||o>10)){const e=(.299*t+.587*r+.114*o)/255;!isNaN(e)&&isFinite(e)&&(a+=e,n++,i=!0)}}}s&&"none"!==s&&"initial"!==s&&(a+=.5,n++,i=!0)}catch(e){process.env.NODE_ENV}if(!r)break;r=r.parentElement,o++}if(i&&n>0){const e=a/n;if(!isNaN(e)&&isFinite(e)){let t=.7;if("object"==typeof u&&null!==u){const e=u;if(void 0!==e.threshold){const a="number"==typeof e.threshold&&!isNaN(e.threshold)&&isFinite(e.threshold)?e.threshold:.7;t=Math.min(.9,Math.max(.1,a))}}U(e>t)}else U(!1)}else U(!1)}catch(e){process.env.NODE_ENV,U(!1)}}),150);return()=>clearTimeout(t)}if("boolean"==typeof u&&U(!1),"function"==typeof window.matchMedia)try{const e=window.matchMedia("(prefers-reduced-motion: reduce)"),t=window.matchMedia("(prefers-contrast: high)");D(e.matches),P(t.matches);const a=e=>{D(e.matches)},n=e=>{P(e.matches)};return e.addEventListener?(e.addEventListener("change",a),t.addEventListener("change",n)):e.addListener&&(e.addListener(a),t.addListener(n)),()=>{try{e.removeEventListener?(e.removeEventListener("change",a),t.removeEventListener("change",n)):e.removeListener&&(e.removeListener(a),t.removeListener(n))}catch(e){}}}catch(e){return}}),[u,e,A]);const K=r(null),W=r(null),$=d((t=>{W.current=t,null===K.current&&(K.current=requestAnimationFrame((()=>{const t=W.current;if(!t)return void(K.current=null);const a=l?.current||e.current;if(!a)return void(K.current=null);const n=N?performance.now():0,i=a.getBoundingClientRect();if(0===i.width||0===i.height)return void(K.current=null);const r=Ve(i);if(R({x:(t.clientX-r.x)/i.width*100,y:(t.clientY-r.y)/i.height*100}),y({x:t.clientX,y:t.clientY}),N){performance.now()}K.current=null})))}),[l,e,N]);o((()=>{if(n&&s)return;if(V)return;const t=l?.current||e.current;return t?(t.addEventListener("mousemove",$,{passive:!0}),()=>{t.removeEventListener("mousemove",$),K.current&&(cancelAnimationFrame(K.current),K.current=null)}):void 0}),[$,l,e,n,s,V]);const Q=d((()=>{if(!(H.x&&H.y&&e.current&&Ke(L)))return"scale(1)";const t=e.current.getBoundingClientRect(),a=Ve(t),n=H.x-a.x,i=H.y-a.y,r=Math.max(0,Math.abs(n)-L.width/2),o=Math.max(0,Math.abs(i)-L.height/2),s=Fe({x:r,y:o},{x:0,y:0});if(s>je.ACTIVATION_ZONE)return"scale(1)";const l=1-s/je.ACTIVATION_ZONE,c=Fe(H,a);if(0===c)return"scale(1)";const d=n/c,u=i/c,h=Math.min(c/300,1)*g*l,m=1+Math.abs(d)*h*.3-Math.abs(u)*h*.15,p=1+Math.abs(u)*h*.3-Math.abs(d)*h*.15;return`scaleX(${Math.max(.8,m)}) scaleY(${Math.max(.8,p)})`}),[H,g,L,e]),Z=d((()=>{if(!(H.x&&H.y&&e.current&&Ke(L)))return 0;const t=e.current.getBoundingClientRect(),a=Ve(t),n=Math.max(0,Math.abs(H.x-a.x)-L.width/2),i=Math.max(0,Math.abs(H.y-a.y)-L.height/2),r=Fe({x:n,y:i},{x:0,y:0});return r>je.ACTIVATION_ZONE?0:1-r/je.ACTIVATION_ZONE}),[H,L,e]),q=d((()=>{if(!e.current)return{x:0,y:0};const t=Z(),a=e.current.getBoundingClientRect(),n=Ve(a);return{x:(H.x-n.x)*g*.1*t,y:(H.y-n.y)*g*.1*t}}),[H,g,Z,e]),X=c((()=>V?{x:0,y:0}:q()),[q,V]),j=c((()=>V?"scale(1)":Q()),[Q,V]),J=c((()=>V?b&&Boolean(S)?"scale(0.98)":"scale(1)":`translate(${X.x}px, ${X.y}px) ${b&&Boolean(S)?"scale(0.96)":j}`),[X,b,S,j,V]);o((()=>{const t=e=>null!==e&&e instanceof HTMLElement&&e.isConnected;let a=null,n={width:0,height:0},i=G;const r=(r=!1)=>{null!==a&&cancelAnimationFrame(a),a=requestAnimationFrame((()=>{if(!t(e.current))return void(a=null);const o=e.current.getBoundingClientRect();if(o.width<=0||o.height<=0)return void(a=null);const s=Math.max(0,Math.min(.1*G,10)),l={width:Math.round(o.width+s),height:Math.round(o.height+s)},c=i!==G,d=Math.abs(l.width-n.width)>1||Math.abs(l.height-n.height)>1;var u;(r||c||d)&&(Ke(u=l)&&u.width<=je.MAX_SIZE&&u.height<=je.MAX_SIZE)&&(n=l,i=G,C(l)),a=null}))};let o=null;const s=()=>{o&&clearTimeout(o),o=setTimeout((()=>r(!1)),16)},l=setTimeout((()=>r(!0)),0);let c=null,d=null;if("undefined"!=typeof ResizeObserver&&t(e.current))try{c=new ResizeObserver((t=>{for(const a of t)if(a.target===e.current){r(!1);break}})),c.observe(e.current)}catch{d=setInterval((()=>t(e.current)&&r(!1)),100)}else d=setInterval((()=>t(e.current)&&r(!1)),100);return window.addEventListener("resize",s,{passive:!0}),()=>{clearTimeout(l),null!==a&&cancelAnimationFrame(a),o&&clearTimeout(o),d&&clearInterval(d),window.removeEventListener("resize",s),c?.disconnect()}}),[G,e]);const ee=d((()=>"boolean"==typeof u?u:("auto"===u||"object"==typeof u&&null!==u)&&k),[u,k]),te=d(((e,t,a,n)=>"number"!=typeof e||isNaN(e)||!isFinite(e)?n:Math.min(a,Math.max(t,e))),[]),ae=c((()=>{const e=ee(),t=He(Y),a=v?1.4:1,n=b?1.6:1,i={isOverLight:e,threshold:.7,opacity:e?Math.min(.6,Math.max(.2,.5*a*n)):0,contrast:Math.min(1.8,Math.max(1,1.4+.3*t)),brightness:Math.min(1.2,Math.max(.7,.85+.15*t)),saturationBoost:Math.min(2,Math.max(1,1.3+.4*t)),shadowIntensity:Math.min(1.5,Math.max(.5,.9+.5*t)),borderOpacity:Math.min(1,Math.max(.3,.7+.3*t))};if("object"==typeof u&&null!==u){const e=u,r=te(e.threshold,.1,1,i.threshold),o=te(e.opacity,.1,1,i.opacity),s=te(e.contrast,.5,2.5,i.contrast),l=te(e.brightness,.5,2,i.brightness),c=te(e.saturationBoost,.5,3,i.saturationBoost);return{...i,threshold:r,opacity:o*a*n,contrast:s+.3*t,brightness:l+.15*t,saturationBoost:c+.4*t}}return i}),[u,ee,Y,v,b,te,A]),ne=d((()=>f(!0)),[]),ie=d((()=>f(!1)),[]),re=d((()=>T(!0)),[]),oe=d((()=>T(!1)),[]),se=d((e=>{!S||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),S())}),[S]);return{isHovered:v,isActive:b,glassSize:L,dynamicCornerRadius:O,effectiveCornerRadius:G,effectiveReducedMotion:z,effectiveHighContrast:F,effectiveDisableEffects:V,detectedOverLight:k,globalMousePosition:H,mouseOffset:Y,overLightConfig:ae,elasticTranslation:X,directionalScale:j,transformStyle:J,handleMouseEnter:ne,handleMouseLeave:ie,handleMouseDown:re,handleMouseUp:oe,handleMouseMove:$,handleKeyDown:se}}function et({children:n,displacementScale:i=ve.DEFAULTS.DISPLACEMENT_SCALE,blurAmount:o=ve.DEFAULTS.BLUR_AMOUNT,saturation:s=ve.DEFAULTS.SATURATION,aberrationIntensity:l=ve.DEFAULTS.ABERRATION_INTENSITY,elasticity:d=ve.DEFAULTS.ELASTICITY,cornerRadius:u,globalMousePosition:h,mouseOffset:m,mouseContainer:p=null,className:g="",padding:S=ve.DEFAULTS.PADDING,overLight:E=ve.DEFAULTS.OVER_LIGHT,style:A={},mode:N=ve.DEFAULTS.MODE,onClick:_,shaderVariant:v="liquidGlass","aria-label":f,"aria-describedby":b,role:T,tabIndex:L,reducedMotion:C=!1,highContrast:I=!1,disableEffects:y=!1,enableLiquidBlur:x=!1,enableBorderEffect:R=!0,enableOverLightLayers:O=ve.DEFAULTS.ENABLE_OVER_LIGHT_LAYERS,enablePerformanceMonitoring:M=!1,debugCornerRadius:w=!1,debugOverLight:D=!1}){const B=r(null),P=r(null),{isHovered:k,isActive:U,glassSize:G,effectiveCornerRadius:z,effectiveReducedMotion:F,effectiveHighContrast:V,effectiveDisableEffects:H,overLightConfig:Y,globalMousePosition:K,mouseOffset:W,transformStyle:$,handleMouseEnter:Q,handleMouseLeave:Z,handleMouseDown:q,handleMouseUp:X,handleKeyDown:j}=Je({glassRef:B,contentRef:P,cornerRadius:u,globalMousePosition:h,mouseOffset:m,mouseContainer:p,overLight:E,reducedMotion:C,highContrast:I,disableEffects:y,elasticity:d,onClick:_,debugCornerRadius:w,debugOverLight:D,enablePerformanceMonitoring:M,children:n}),J=Y.isOverLight,ee=O&&J,te=c((()=>F?"none":"var(--atomix-transition-duration, 0.2s) ease-out"),[F]),ae=c((()=>({...A,...0!==d&&!H&&{transform:$,willChange:"transform"},...H&&{willChange:"auto"}})),[A,$,H,d]),ne=c((()=>[ve.BASE_CLASS,F&&`${ve.BASE_CLASS}--reduced-motion`,V&&`${ve.BASE_CLASS}--high-contrast`,H&&`${ve.BASE_CLASS}--disabled-effects`,g].filter(Boolean).join(" ")),[F,V,H,g]),ie=ae.position,re=ae.top,oe=ae.left,se=c((()=>({position:ie||"absolute",top:re||0,left:oe||0})),[ie,re,oe]),le=ae.width,ce=ae.height,de=G.width,ue=G.height,he=c((()=>({width:"fixed"!==ie?"100%":le||Math.max(de,0),height:"fixed"!==ie?"100%":ce||Math.max(ue,0)})),[ie,le,ce,de,ue]),me=W.x,pe=W.y,ge=c((()=>{const e=me,t=pe,{GRADIENT:a}=ve.CONSTANTS,n=a.BASE_ANGLE+e*a.ANGLE_MULTIPLIER,i=Math.max(a.BORDER_STOP_1.MIN,a.BORDER_STOP_1.BASE+t*a.BORDER_STOP_1.MULTIPLIER),r=Math.min(a.BORDER_STOP_2.MAX,a.BORDER_STOP_2.BASE+t*a.BORDER_STOP_2.MULTIPLIER),o=a.BORDER_OPACITY.BASE_1+Math.abs(e)*a.BORDER_OPACITY.MULTIPLIER_LOW,s=a.BORDER_OPACITY.BASE_2+Math.abs(e)*a.BORDER_OPACITY.MULTIPLIER_HIGH,l=a.BORDER_OPACITY.BASE_3+Math.abs(e)*a.BORDER_OPACITY.MULTIPLIER_LOW,c=a.BORDER_OPACITY.BASE_4+Math.abs(e)*a.BORDER_OPACITY.MULTIPLIER_HIGH,d=a.CENTER_POSITION+e/a.HOVER_POSITION.DIVISOR_1,u=a.CENTER_POSITION+t/a.HOVER_POSITION.DIVISOR_1,h=a.CENTER_POSITION+e/a.HOVER_POSITION.DIVISOR_2,m=a.CENTER_POSITION+t/a.HOVER_POSITION.DIVISOR_2,p=a.CENTER_POSITION+e*a.HOVER_POSITION.MULTIPLIER_3,g=a.CENTER_POSITION+t*a.HOVER_POSITION.MULTIPLIER_3,S=a.CENTER_POSITION+e*a.BASE_LAYER_MULTIPLIER,E=a.CENTER_POSITION+t*a.BASE_LAYER_MULTIPLIER;return{isOverLight:J,mx:e,my:t,borderGradientAngle:n,borderStop1:i,borderStop2:r,borderOpacity1:o,borderOpacity2:s,borderOpacity3:l,borderOpacity4:c,hover1X:d,hover1Y:u,hover2X:h,hover2Y:m,hover3X:p,hover3Y:g,baseX:S,baseY:E}}),[me,pe,J]),Se=Y.opacity,Ee=c((()=>{let e=.5,t=.4,a=.8,n=0;if("undefined"!=typeof window&&B.current)try{const i=window.getComputedStyle(B.current),r=i.getPropertyValue("--atomix-opacity-50").trim(),o=i.getPropertyValue("--atomix-opacity-40").trim(),s=i.getPropertyValue("--atomix-opacity-80").trim(),l=i.getPropertyValue("--atomix-opacity-0").trim();r&&(e=parseFloat(r)||.5),o&&(t=parseFloat(o)||.4),s&&(a=parseFloat(s)||.8),l&&(n=parseFloat(l)||0)}catch(e){}return{hover1:k||U?e:n,hover2:U?e:n,hover3:k?t:U?a:n,base:J?Se||t:n,over:J?1.1*(Se||t):n}}),[k,U,J,Se,B]),Ae=ge.isOverLight,Ne=ge.mx,_e=ge.my,fe=ge.borderGradientAngle,be=ge.borderStop1,Te=ge.borderStop2,Le=ge.borderOpacity1,Ce=ge.borderOpacity2,Ie=ge.borderOpacity3,ye=ge.borderOpacity4,xe=ge.hover1X,Re=ge.hover1Y,Oe=ge.hover2X,Me=ge.hover2Y,we=ge.hover3X,De=ge.hover3Y,Be=ge.baseX,Pe=ge.baseY,ke=se.position,Ue=se.top,Ge=se.left,ze=he.width,Fe=he.height,Ve=ae.transform,He=Ee.hover1,Ye=Ee.hover2,Ke=Ee.hover3,We=Ee.base,$e=Ee.over,Qe=c((()=>{const e="255, 255, 255",t="0, 0, 0";return{"--atomix-glass-radius":`${z}px`,"--atomix-glass-transform":Ve||"none","--atomix-glass-transition":F?"none":te,"--atomix-glass-position":ke,"--atomix-glass-top":"fixed"!==Ue?`${Ue}px`:"0","--atomix-glass-left":"fixed"!==Ge?`${Ge}px`:"0","--atomix-glass-width":"fixed"!==ie?ze:`${ze}px`,"--atomix-glass-height":"fixed"!==ie?Fe:`${Fe}px`,"--atomix-glass-border-width":"var(--atomix-spacing-0-5, 0.09375rem)","--atomix-glass-blend-mode":Ae?"multiply":"overlay","--atomix-glass-border-gradient-1":`linear-gradient(${fe}deg, rgba(${e}, 0) 0%, rgba(${e}, ${Le}) ${be}%, rgba(${e}, ${Ce}) ${Te}%, rgba(${e}, 0) 100%)`,"--atomix-glass-border-gradient-2":`linear-gradient(${fe}deg, rgba(${e}, 0) 0%, rgba(${e}, ${Ie}) ${be}%, rgba(${e}, ${ye}) ${Te}%, rgba(${e}, 0) 100%)`,"--atomix-glass-hover-1-opacity":He,"--atomix-glass-hover-1-gradient":Ae?`radial-gradient(circle at ${xe}% ${Re}%, rgba(${t}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_1.BLACK_START}) 0%, rgba(${t}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_1.BLACK_MID}) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_1.BLACK_STOP}%, rgba(${t}, 0) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_1.BLACK_END}%)`:`radial-gradient(circle at ${xe}% ${Re}%, rgba(${e}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_1.WHITE_START}) 0%, rgba(${e}, 0) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_1.WHITE_STOP}%)`,"--atomix-glass-hover-2-opacity":Ye,"--atomix-glass-hover-2-gradient":Ae?`radial-gradient(circle at ${Oe}% ${Me}%, rgba(${t}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_2.BLACK_START}) 0%, rgba(${t}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_2.BLACK_MID}) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_2.BLACK_STOP}%, rgba(${t}, 0) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_2.BLACK_END}%)`:`radial-gradient(circle at ${Oe}% ${Me}%, rgba(${e}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_2.WHITE_START}) 0%, rgba(${e}, 0) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_2.WHITE_STOP}%)`,"--atomix-glass-hover-3-opacity":Ke,"--atomix-glass-hover-3-gradient":Ae?`radial-gradient(circle at ${we}% ${De}%, rgba(${t}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_3.BLACK_START}) 0%, rgba(${t}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_3.BLACK_MID}) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_3.BLACK_STOP}%, rgba(${t}, 0) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_3.BLACK_END}%)`:`radial-gradient(circle at ${we}% ${De}%, rgba(${e}, ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_3.WHITE_START}) 0%, rgba(${e}, 0) ${ve.CONSTANTS.GRADIENT_OPACITY.HOVER_3.WHITE_STOP}%)`,"--atomix-glass-base-opacity":We,"--atomix-glass-base-gradient":Ae?`linear-gradient(${ve.CONSTANTS.BASE_GRADIENT.ANGLE}deg, rgba(${t}, ${ve.CONSTANTS.BASE_GRADIENT.BLACK_START_BASE+Ne*ve.CONSTANTS.BASE_GRADIENT.BLACK_START_MULTIPLIER}) 0%, rgba(${t}, ${ve.CONSTANTS.BASE_GRADIENT.BLACK_MID_BASE+_e*ve.CONSTANTS.BASE_GRADIENT.BLACK_MID_MULTIPLIER}) ${ve.CONSTANTS.BASE_GRADIENT.BLACK_MID_STOP}%, rgba(${t}, ${ve.CONSTANTS.BASE_GRADIENT.BLACK_END_BASE+Math.abs(Ne)*ve.CONSTANTS.BASE_GRADIENT.BLACK_END_MULTIPLIER}) 100%)`:`rgba(${e}, ${ve.CONSTANTS.BASE_GRADIENT.WHITE_OPACITY})`,"--atomix-glass-overlay-opacity":$e,"--atomix-glass-overlay-gradient":Ae?`radial-gradient(circle at ${Be}% ${Pe}%, rgba(${t}, ${ve.CONSTANTS.OVERLAY_GRADIENT.BLACK_START_BASE+Math.abs(Ne)*ve.CONSTANTS.OVERLAY_GRADIENT.BLACK_START_MULTIPLIER}) 0%, rgba(${t}, ${ve.CONSTANTS.OVERLAY_GRADIENT.BLACK_MID}) ${ve.CONSTANTS.OVERLAY_GRADIENT.BLACK_MID_STOP}%, rgba(${t}, ${ve.CONSTANTS.OVERLAY_GRADIENT.BLACK_END_BASE+Math.abs(_e)*ve.CONSTANTS.OVERLAY_GRADIENT.BLACK_END_MULTIPLIER}) 100%)`:`rgba(${e}, ${ve.CONSTANTS.OVERLAY_GRADIENT.WHITE_OPACITY})`}}),[ke,Ue,Ge,ze,Fe,Ve,ie,z,F,te,Ae,Ne,_e,fe,be,Te,Le,Ce,Ie,ye,xe,Re,Oe,Me,we,De,Be,Pe,He,Ye,Ke,We,$e]);return t("div",{className:ne,style:Qe,role:T||(_?"button":void 0),tabIndex:_?L??0:L,"aria-label":f,"aria-describedby":b,"aria-disabled":!(!_||!H)||!_&&void 0,"aria-pressed":!(!_||!U)||!_&&void 0,onKeyDown:_?j:void 0,children:[e(Xe,{ref:B,contentRef:P,className:g,style:ae,cornerRadius:z,displacementScale:H?0:"shader"===N?i*ve.CONSTANTS.MULTIPLIERS.SHADER_DISPLACEMENT:Y.isOverLight?i*ve.CONSTANTS.MULTIPLIERS.OVER_LIGHT_DISPLACEMENT:i,blurAmount:H?0:o,saturation:V?ve.CONSTANTS.SATURATION.HIGH_CONTRAST:Y.isOverLight?s*Y.saturationBoost:s,aberrationIntensity:H?0:"shader"===N?l*ve.CONSTANTS.MULTIPLIERS.SHADER_ABERRATION:l,glassSize:G,padding:S,mouseOffset:H?{x:0,y:0}:W,globalMousePosition:H?{x:0,y:0}:K,onMouseEnter:Q,onMouseLeave:Z,onMouseDown:q,onMouseUp:X,active:U,isHovered:k,isActive:U,overLight:Y.isOverLight,onClick:_,mode:N,transform:ae.transform,effectiveDisableEffects:H,effectiveReducedMotion:F,shaderVariant:v,elasticity:d,enableLiquidBlur:x,children:n}),Boolean(_)&&t(a,{children:[e("div",{className:ve.HOVER_1_CLASS}),e("div",{className:ve.HOVER_2_CLASS}),e("div",{className:ve.HOVER_3_CLASS})]}),e("div",{className:[ve.BACKGROUND_LAYER_CLASS,ve.BACKGROUND_LAYER_DARK_CLASS,J?ve.BACKGROUND_LAYER_OVER_LIGHT_CLASS:ve.BACKGROUND_LAYER_HIDDEN_CLASS].filter(Boolean).join(" "),style:{...se,height:he.height,width:he.width,borderRadius:`${z}px`,transform:ae.transform}}),e("div",{className:[ve.BACKGROUND_LAYER_CLASS,ve.BACKGROUND_LAYER_BLACK_CLASS,J?ve.BACKGROUND_LAYER_OVER_LIGHT_CLASS:ve.BACKGROUND_LAYER_HIDDEN_CLASS].filter(Boolean).join(" "),style:{...se,height:he.height,width:he.width,borderRadius:`${z}px`,transform:ae.transform}}),ee&&t(a,{children:[e("div",{className:ve.BASE_LAYER_CLASS}),e("div",{className:ve.OVERLAY_LAYER_CLASS}),e("div",{className:ve.OVERLAY_HIGHLIGHT_CLASS,style:{opacity:Ee.over*ve.CONSTANTS.OVERLAY_HIGHLIGHT.OPACITY_MULTIPLIER,background:`radial-gradient(circle at ${ve.CONSTANTS.OVERLAY_HIGHLIGHT.POSITION_X}% ${ve.CONSTANTS.OVERLAY_HIGHLIGHT.POSITION_Y}%, rgba(255, 255, 255, ${ve.CONSTANTS.OVERLAY_HIGHLIGHT.WHITE_OPACITY}) 0%, transparent ${ve.CONSTANTS.OVERLAY_HIGHLIGHT.STOP}%)`}})]}),R&&t(a,{children:[e("span",{className:ve.BORDER_1_CLASS}),e("span",{className:ve.BORDER_2_CLASS})]})]})}const tt=({title:a,children:n,defaultOpen:i=!1,isOpen:r,onOpenChange:o,disabled:s=!1,iconPosition:c="right",icon:d,className:u="",style:h,glass:m})=>{const p=l(),g=`accordion-header-${p}`,S=`accordion-panel-${p}`,{state:E,toggle:A,updatePanelHeight:N,panelRef:_,contentRef:v,generateClassNames:f,generateHeaderClassNames:b}=fe({defaultOpen:i,disabled:s,iconPosition:c,isOpen:r,onOpenChange:o}),T=e("i",{className:"c-accordion__icon","aria-hidden":"true",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",children:e("polyline",{points:"6 9 12 15 18 9"})})}),L=t("div",{className:f(u)+(m?" c-accordion--glass":""),style:h,children:[t("button",{id:g,className:b(),onClick:A,"aria-expanded":E.isOpen,"aria-controls":S,"aria-disabled":s,disabled:s,type:"button",children:[e("span",{className:"c-accordion__title",children:a}),d||T]}),e("div",{id:S,className:w.SELECTORS.PANEL.replace(".",""),ref:_,role:"region","aria-labelledby":g,children:e("div",{className:w.SELECTORS.BODY.replace(".",""),ref:v,children:n})})]});if(m){const t={displacementScale:20,elasticity:0},a=!0===m?t:{...t,...m};return e(et,{...a,children:L})}return L};tt.displayName="Accordion";const at=({height:a=24,width:n=24,color:i="currentColor",...r})=>t("svg",{width:n,height:a,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:[e("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z",fill:i}),e("path",{d:"M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z",fill:i})]}),nt={xs:16,sm:20,md:24,lg:32,xl:40},it=({name:t,size:a="md",weight:n="regular",color:i,className:r="",style:o,alt:s})=>{const l=A[t];if(!l)return null;return e("span",{className:`c-icon c-icon--${a} ${r}`,style:o,"aria-hidden":!s,title:s,children:e(l,{size:"string"==typeof a?nt[a]||24:a,weight:n,color:i,"aria-label":s})})};it.displayName="Icon";const rt=({src:t,alt:a="Avatar",initials:n,icon:r,size:o="md",circle:s=!1,className:l="",disabled:c=!1,onClick:d,style:u,glass:h})=>{const[m,p]=i(!1),g=[ce.CLASSES.BASE,"md"!==o&&`c-avatar--${o}`,s&&ce.CLASSES.CIRCLE,c&&"is-disabled",l].filter(Boolean).join(" ");return e("div",{className:g,onClick:d?e=>{!c&&d&&d(e)}:void 0,role:d?"button":void 0,tabIndex:d&&!c?0:void 0,"aria-disabled":c||void 0,style:u,children:t&&!m?e("img",{src:t,alt:a,className:"c-avatar__image",onError:()=>{p(!0)}}):e("span",n?{className:"c-avatar__initials",children:n}:r?{className:"c-avatar__icon",children:r}:{className:"c-avatar__icon",children:e(it,{name:"User",size:"xs"===o?"xs":"sm"===o?"sm":"md"})})})};rt.displayName="Avatar";const ot=({children:a,max:n,stacked:i=!1,className:r="",style:o,moreText:s})=>{const l=[de.CLASSES.BASE,i&&de.CLASSES.STACKED,r].filter(Boolean).join(" "),c=u.toArray(a).filter((e=>h(e)&&e.type===rt)),d=void 0!==n&&c.length>n,p=d?c.slice(0,n):c,g=c.length-(n||0),S=h(c[0])?c[0].props:null,E=S?.size||"md",A=S?.circle||!1,N=[ce.CLASSES.BASE,de.CLASSES.MORE,"md"!==E&&`c-avatar--${E}`,A&&"c-avatar--circle"].filter(Boolean).join(" ");return t("div",{className:l,style:o,children:[p.map(((e,t)=>h(e)?m(e,{key:t,...e.props}):null)),d&&e("div",{className:N,children:s||`+${g}`})]})};function st(e){const t={variant:"primary",size:"md",disabled:!1,...e};return{defaultProps:t,generateBadgeClass:e=>{const{variant:a=t.variant,size:n=t.size,disabled:i=t.disabled,className:r=""}=e;return`${D.BASE_CLASS} ${a?`${D.VARIANT_PREFIX}${a}`:""} ${"md"===n?"":`${D.SIZE_PREFIX}${n}`} ${i?"c-badge--disabled":""} ${r}`.trim()}}}ot.displayName="AvatarGroup";const lt=({label:a,variant:n="primary",size:i="md",disabled:o=!1,icon:s,className:l="",glass:c,style:d})=>{const{generateBadgeClass:u}=st({variant:n,size:i,disabled:o}),h=r(null),m=u({variant:n,size:i,disabled:o,className:`${l} ${c?"c-badge--glass":""}`.trim()}),p=t("span",{className:m,"aria-disabled":o,ref:h,style:d,children:[s&&e("span",{className:D.ICON_CLASS,children:s}),e("span",{children:a})]});if(c){const t={displacementScale:20,cornerRadius:h.current?.getBoundingClientRect().width?h.current?.getBoundingClientRect().width/2:16,className:"c-badge--glass",elasticity:0},a=!0===c?t:{...t,...c};return e(et,{...a,children:p})}return p};lt.displayName="Badge";const ct=s((({children:t,className:a="",type:n,...i},r)=>{let o="o-container";return n&&(o=`o-container-${n}`),e("div",{ref:r,className:`${o} ${a}`.trim(),...i,children:t})}));ct.displayName="Container";const dt=()=>({generateBlockClass:({spacing:e=Ne.SPACING.DEFAULT,background:t="",fullWidth:a=!1,className:n=""})=>{const i=[Ne.BASE_CLASS];if(e&&"none"!==e&&i.push(`${Ne.SPACING_PREFIX}${e}`),t){const e=Ne.CLASSES[`BG_${t.toUpperCase()}`];e&&i.push(e)}return a&&i.push(Ne.CLASSES.FULL_WIDTH),n&&i.push(n),i.filter(Boolean).join(" ")}}),ut=s((({children:t,as:a="section",spacing:n="md",container:i={},fullWidth:r=!1,className:o="",style:s,background:l="",...c},d)=>{const{generateBlockClass:u}=dt(),h=u({spacing:n,background:l,fullWidth:r,className:o});return e(a,{ref:d,className:h,style:s,...c,children:r?t:e(ct,{type:i.type,className:i.className,children:t})})}));ut.displayName="Block";const ht=({items:n,divider:i,className:r="",ariaLabel:o="Breadcrumb",LinkComponent:s,style:l})=>{const c=[k.CLASSES.BASE,r].filter(Boolean).join(" ");return e("nav",{"aria-label":o,style:l,children:e("ol",{className:c,children:n.map(((i,r)=>{const o=r===n.length-1,l=[k.CLASSES.ITEM,i.active||o?k.CLASSES.ACTIVE:""].filter(Boolean).join(" "),c=t(a,{children:[i.icon&&e("span",{className:"c-breadcrumb__icon",children:i.icon}),i.label]}),d={href:i.href,className:k.CLASSES.LINK,onClick:i.onClick,style:i.style};return e("li",{className:l,style:i.style,children:i.href&&!i.active?e(s||"a",{...d,children:c}):e("span",{className:k.CLASSES.LINK,children:c})},r)}))})})};function mt(e){const t={variant:"primary",size:"md",disabled:!1,rounded:!1,loading:!1,fullWidth:!1,block:!1,active:!1,selected:!1,...e};return{defaultProps:t,generateButtonClass:e=>{const{variant:a=t.variant,size:n=t.size,disabled:i=t.disabled,rounded:r=t.rounded,iconOnly:o=!1,glass:s=t.glass,loading:l=t.loading,fullWidth:c=t.fullWidth,block:d=t.block,active:u=t.active,selected:h=t.selected,className:m=""}=e,p="md"===n?"":`c-btn--${n}`,g=o?"c-btn--icon":"",S=r?"c-btn--rounded":"",E=i?"c-btn--disabled":"",A=s?"c-btn--glass":"",N=l?M.CLASSES.LOADING:"",_=c?M.CLASSES.FULL_WIDTH:"",v=d?M.CLASSES.BLOCK:"",f=u?M.CLASSES.ACTIVE:"",b=h?M.CLASSES.SELECTED:"";return[M.BASE_CLASS,`c-btn--${a}`,p,g,S,E,A,N,_,v,f,b,m].filter(Boolean).join(" ")},handleClick:e=>a=>{t.disabled||t.loading||!e||e(a)}}}function pt(e){const t={variant:"primary",size:"md",fullscreen:!1,...e};return{defaultProps:t,generateSpinnerClass:e=>{const{variant:a=t.variant,size:n=t.size,fullscreen:i=t.fullscreen,className:r=""}=e,o="c-spinner";return`${o} ${a?`${o}--${a}`:""} ${"md"!==n?`${o}--${n}`:""} ${i?`${o}--fullscreen`:""} ${r}`.trim()}}}ht.displayName="Breadcrumb";const gt=({size:t="md",variant:a="primary",fullscreen:n=!1,className:i="",style:r,glass:o})=>{const{generateSpinnerClass:s}=pt({size:t,variant:a,fullscreen:n}),l=s({size:t,variant:a,fullscreen:n,className:`${i} ${o?"c-spinner--glass":""}`.trim()}),c=e("div",{className:l,style:r,role:"status",children:e("span",{className:K.VISUALLY_HIDDEN,children:"Loading..."})});if(o){const t={displacementScale:20,blurAmount:1,cornerRadius:999,mode:"shader"},a=!0===o?t:{...t,...o};return e(et,{...a,children:c})}return c};gt.displayName="Spinner";const St=n.memo(s((({label:n,children:i,onClick:r,variant:o="primary",size:s="md",disabled:l=!1,loading:u=!1,loadingText:h,icon:m,iconPosition:p="start",iconOnly:g=!1,rounded:S=!1,fullWidth:E=!1,block:A=!1,active:N=!1,selected:_=!1,type:v="button",className:f="",as:b="button",glass:T,onHover:L,onFocus:C,onBlur:I,ariaLabel:y,ariaDescribedBy:x,ariaExpanded:R,ariaControls:O,tabIndex:w,style:D,...B},P)=>{const k=l||u,{generateButtonClass:U,handleClick:G}=mt({variant:o,size:s,disabled:k,rounded:S,glass:T,loading:u,fullWidth:E,block:A,active:N,selected:_}),z=c((()=>U({variant:o,size:s,disabled:k,rounded:S,iconOnly:g,glass:T,loading:u,fullWidth:E,block:A,active:N,selected:_,className:f})),[o,s,k,S,g,T,u,E,A,N,_,f,U]),F=d((e=>{k?e.preventDefault():r?.(e)}),[k,r]),V=d((e=>{k||L?.(e)}),[k,L]),H=d((e=>{k||C?.(e)}),[k,C]),Y=d((e=>{k||I?.(e)}),[k,I]),K=c((()=>u&&h?h:n||i),[u,h,n,i]),W=c((()=>"sm"===s?"sm":"lg"===s?"md":"sm"),[s]),$=c((()=>{const n=m&&!u&&e("span",{className:M.ICON_CLASS,"aria-hidden":"true",children:m}),i=u&&e("span",{className:M.SPINNER_CLASS,"aria-hidden":"true",children:e(gt,{size:W,variant:"link"===o||"string"==typeof o&&o.startsWith("outline-")?"primary":"danger"===o?"error":o})}),r=!g&&K&&e("span",{className:M.LABEL_CLASS,children:K});return t(a,"end"===p?{children:[r,i,n]}:{children:[i,n,r]})}),[m,p,g,K,u,W,o]),Q=c((()=>({ref:P,className:z,type:"button"===b?v:void 0,onClick:F,onMouseEnter:L?V:void 0,onFocus:C?H:void 0,onBlur:I?Y:void 0,disabled:k&&"button"===b,"aria-disabled":k,"aria-busy":u,"aria-label":y||(g?n||i:void 0),"aria-describedby":x,"aria-expanded":R,"aria-controls":O,tabIndex:void 0!==w?w:k?-1:0,style:D,...B})),[P,z,b,v,F,V,H,Y,k,u,y,g,n,i,x,R,O,w,D,B]);if(T){const t={displacementScale:20,blurAmount:0,saturation:200,elasticity:0},a=!0===T?t:{...t,...T};return e(et,{...a,children:e(b,{...Q,children:$})})}return e(b,{...Q,children:$})})));St.displayName="Button";const Et=({title:n,children:i,icon:r,variant:o="primary",onClose:s,actions:l,oneLine:c=!1,toast:d=!1,glass:u,className:h,style:m,...p})=>{const{generateCalloutClass:g,handleClose:S}=function(e){const t={variant:"primary",oneLine:!1,toast:!1,glass:!1,...e};return{defaultProps:t,generateCalloutClass:e=>{const{variant:a=t.variant,oneLine:n=t.oneLine,toast:i=t.toast,glass:r=t.glass,className:o=""}=e;return`c-callout ${a?`c-callout--${a}`:""} ${n?"c-callout--oneline":""} ${i?"c-callout--toast":""} ${r?"c-callout--glass":""} ${o}`.trim()},handleClose:e=>()=>{e&&e()}}}({variant:o,oneLine:c,toast:d,glass:u,className:h,style:m}),E=()=>{const e={role:"region"};return d?(e.role="alert",e["aria-live"]="polite"):["warning","error"].includes(o)?(e.role="alert",e["aria-live"]="assertive"):["info","success"].includes(o)&&(e.role="status",e["aria-live"]="polite"),e},A=t(a,{children:[t("div",{className:"c-callout__content",children:[r&&e("div",{className:"c-callout__icon",children:r}),t("div",{className:"c-callout__message",children:[n&&e("div",{className:"c-callout__title",children:n}),i&&e("div",{className:"c-callout__text",children:i})]})]}),l&&e("div",{className:"c-callout__actions",children:l}),s&&e("button",{className:"c-callout__close-btn",onClick:S(s),"aria-label":"Close",children:e(it,{name:"X",size:"md"})})]});if(u){const t={displacementScale:30,cornerRadius:8,elasticity:0},a=!0===u?t:{...t,...u};return e("div",{className:g({variant:o,oneLine:c,toast:d,glass:u,className:h}),...E(),...p,style:m,children:e(et,{...a,children:e("div",{className:"c-callout__glass-content",style:{borderRadius:a.cornerRadius},children:A})})})}return e("div",{className:g({variant:o,oneLine:c,toast:d,glass:u,className:h}),...E(),...p,style:m,children:A})};Et.displayName="Callout";const At=n.memo(s((({size:n="md",variant:i="primary",appearance:r="filled",elevation:o="none",row:s=!1,flat:l=!1,active:u=!1,disabled:h=!1,loading:m=!1,selected:p=!1,interactive:g=!1,header:S,image:E,imageAlt:A="",title:N,text:_,actions:v,icon:f,footer:b,children:T,onClick:L,onHover:C,onFocus:I,href:y,target:x,glass:R,role:O,ariaLabel:M,ariaDescribedBy:w,tabIndex:D,className:B="",style:P,...k},U)=>{const G=Boolean(L||y||g),z=h||m,F=c((()=>[oe.CLASSES.BASE,"sm"===n?oe.CLASSES.SM:"","md"===n?oe.CLASSES.MD:"","lg"===n?oe.CLASSES.LG:"",i?`c-card--${i}`:"","filled"===r?oe.CLASSES.FILLED:"","outlined"===r?oe.CLASSES.OUTLINED:"","ghost"===r?oe.CLASSES.GHOST:"","elevated"===r?oe.CLASSES.ELEVATED:"","none"===o?oe.CLASSES.ELEVATION_NONE:"","sm"===o?oe.CLASSES.ELEVATION_SM:"","md"===o?oe.CLASSES.ELEVATION_MD:"","lg"===o?oe.CLASSES.ELEVATION_LG:"","xl"===o?oe.CLASSES.ELEVATION_XL:"",s?oe.CLASSES.ROW:"",l?oe.CLASSES.FLAT:"",u?oe.CLASSES.ACTIVE:"",h?oe.CLASSES.DISABLED:"",m?oe.CLASSES.LOADING:"",p?oe.CLASSES.SELECTED:"",g||G?oe.CLASSES.INTERACTIVE:"",R?oe.CLASSES.GLASS:"",B].filter(Boolean).join(" ")),[n,i,r,o,s,l,u,h,m,p,g,G,R,B]),V=c((()=>O||(y?"link":G?"button":"article")),[O,y,G]),H=d((e=>{z?e.preventDefault():L?.(e)}),[z,L]),Y=d((e=>{z?e.preventDefault():!G||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),L&&L(e))}),[z,G,L]),K=d((e=>{z||C?.(e)}),[z,C]),W=d((e=>{z||I?.(e)}),[z,I]),$=c((()=>void 0!==D?D:z?-1:G?0:void 0),[D,z,G]),Q=c((()=>t(a,{children:[m&&e("div",{className:"c-card__loading","aria-label":"Loading",children:e("div",{className:"c-card__spinner"})}),(E||f||S)&&t("div",{className:oe.SELECTORS.HEADER.substring(1),children:[S,E&&e("img",{src:E,alt:A,className:oe.SELECTORS.IMAGE.substring(1),loading:"lazy"}),f&&e("div",{className:oe.SELECTORS.ICON.substring(1),children:f})]}),t("div",{className:oe.SELECTORS.BODY.substring(1),children:[N&&e("h3",{className:oe.SELECTORS.TITLE.substring(1),children:N}),_&&e("p",{className:oe.SELECTORS.TEXT.substring(1),children:_}),T]}),v&&e("div",{className:oe.SELECTORS.ACTIONS.substring(1),children:v}),b&&e("div",{className:oe.SELECTORS.FOOTER.substring(1),children:b})]})),[m,E,A,f,S,N,_,T,v,b]),Z={ref:U,className:F,style:P,role:V,"aria-label":M,"aria-describedby":w,"aria-disabled":!!z||void 0,tabIndex:$,onClick:G?H:void 0,onKeyDown:G?Y:void 0,onMouseEnter:C?K:void 0,onFocus:I?W:void 0,...k};if(y&&!z){const t=e("a",{...Z,href:y,target:x,rel:"_blank"===x?"noopener noreferrer":void 0,children:Q});if(R){return e(et,{...!0===R?{}:R,elasticity:0,children:t})}return t}const q=e("div",{...Z,children:Q});if(R){return e(et,{...!0===R?{}:R,elasticity:0,children:q})}return q})));At.displayName="Card";const Nt=(e={})=>{const{elevationEffect:t=!1,elevationClass:a=oe.CLASSES.ACTIVE,flipEffect:n=!1,flipTrigger:o="click",focusEffect:s=!1,clickable:l=!1,onClick:c}=e,u=r(null),h=r(null),m=r(null),[p,g]=i(!1),[S,E]=i(!1),[A,N]=i(!1),[_,v]=i(!1),f=d((e=>{n&&"click"===o&&g((e=>!e)),c&&c(e)}),[n,o,c]),b=d((e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),n&&"click"===o&&g((e=>!e)),c&&c(e))}),[n,o,c]),T=d((()=>{v(!0),t&&E(!0),n&&"hover"===o&&g(!0)}),[t,n,o]),L=d((()=>{v(!1),t&&E(!1),n&&"hover"===o&&g(!1)}),[t,n,o]),C=d((()=>{N(!0)}),[]),I=d((()=>{N(!1)}),[]),y=d((()=>({className:[oe.CLASSES.BASE,S?a:"",p?oe.CLASSES.FLIPPED:"",A&&s?oe.CLASSES.FOCUSED:"",l?oe.CLASSES.CLICKABLE:""].filter(Boolean).join(" "),ref:u,tabxwIndex:l||n?0:-1,role:l?"button":void 0,onMouseEnter:T,onMouseLeave:L,onFocus:C,onBlur:I,onClick:f,onKeyDown:b})),[S,p,A,a,s,l,T,L,C,I,f,b,n]);return{cardRef:u,frontRef:h,backRef:m,isFlipped:p,isElevated:S,isFocused:A,isHovered:_,handleClick:f,handleKeyDown:b,handleMouseEnter:T,handleMouseLeave:L,handleFocus:C,handleBlur:I,getCardProps:y}},_t=({elevationClass:t="is-elevated",className:a="",style:n,children:i,onClick:r,...o})=>{const{getCardProps:s}=Nt({elevationEffect:!0,elevationClass:t,clickable:Boolean(r),onClick:r,focusEffect:!0}),l=s();return e("div",{className:`${a} ${l.className}`,ref:l.ref,style:n,tabIndex:l.tabIndex,role:l.role,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave,onFocus:l.onFocus,onBlur:l.onBlur,onClick:l.onClick,onKeyDown:l.onKeyDown,children:e(At,{...o,className:"",onClick:void 0,children:i})})};function vt(e){const[t,a]=i({hoveredPoint:null,selectedPoints:[],zoomLevel:1,panOffset:{x:0,y:0},panEnabled:!1,isAnimating:!1,isDragging:!1,dragStart:null,crosshair:null,brushSelection:null,focusedPointIndex:0,touchState:{touches:[],lastDistance:0,isPinching:!1,isTouch:!1,lastTouchTime:0},penState:{isPen:!1,pressure:0,tiltX:0,tiltY:0}}),n=r(null);o((()=>()=>{n.current&&cancelAnimationFrame(n.current)}),[]);const s=d(((e,t,n,i,r,o)=>{a((a=>({...a,hoveredPoint:{datasetIndex:e,pointIndex:t,x:n,y:i,clientX:r,clientY:o}})))}),[]),l=d((()=>{a((e=>({...e,hoveredPoint:null})))}),[]),c=d(((e,t)=>{a((a=>{const n=a.selectedPoints.some((a=>a.datasetIndex===e&&a.pointIndex===t));return{...a,selectedPoints:n?a.selectedPoints.filter((a=>!(a.datasetIndex===e&&a.pointIndex===t))):[...a.selectedPoints,{datasetIndex:e,pointIndex:t}]}}))}),[]),u=d(((e,t,n)=>{a((a=>{const i=1-.001*e,r=Math.max(.1,Math.min(10,a.zoomLevel*i)),o=r/a.zoomLevel,s={x:t?t-(t-a.panOffset.x)*o:a.panOffset.x,y:n?n-(n-a.panOffset.y)*o:a.panOffset.y};return{...a,zoomLevel:r,panOffset:s}}))}),[]),h=d(((e,t)=>{a((a=>({...a,panOffset:{x:a.panOffset.x+e,y:a.panOffset.y+t}})))}),[]),m=d(((e,t)=>{a((a=>({...a,isDragging:!0,dragStart:{x:e,y:t}})))}),[]),p=d((()=>{a((e=>({...e,isDragging:!1,dragStart:null})))}),[]),g=d(((e,t)=>{a((a=>({...a,crosshair:{x:e,y:t}})))}),[]),S=d((()=>{a((e=>({...e,crosshair:null})))}),[]),E=d((e=>{const t=Array.from(e.touches).map((e=>({id:e.identifier,x:e.clientX,y:e.clientY})));a((a=>{const n={...a,touchState:{...a.touchState,touches:t,isTouch:!0,lastTouchTime:Date.now()}};if(1===t.length&&t[0]&&a.panEnabled){const a=e.target.getBoundingClientRect(),i=t[0].x-a.left,r=t[0].y-a.top;return{...n,isDragging:!0,dragStart:{x:i,y:r}}}if(2===t.length&&t[0]&&t[1]){const e=Math.sqrt(Math.pow(t[1].x-t[0].x,2)+Math.pow(t[1].y-t[0].y,2));return{...n,touchState:{...n.touchState,lastDistance:e,isPinching:!0},isDragging:!1}}return n}))}),[]),A=d((e=>{e.preventDefault();const t=Array.from(e.touches).map((e=>({id:e.identifier,x:e.clientX,y:e.clientY})));a((a=>{const n=e.target.getBoundingClientRect();if(1===t.length&&t[0]&&a.isDragging&&a.dragStart&&a.panEnabled){const e=t[0].x-n.left,i=t[0].y-n.top,r=a.touchState.touches[0];let o,s;if(r){o=e-(r.x-n.left),s=i-(r.y-n.top)}else o=e-a.dragStart.x,s=i-a.dragStart.y;const l=.6,c=o*l,d=s*l;return Math.abs(c)>1||Math.abs(d)>1?{...a,panOffset:{x:a.panOffset.x+c,y:a.panOffset.y+d},touchState:{...a.touchState,touches:t}}:{...a,touchState:{...a.touchState,touches:t}}}if(2===t.length&&t[0]&&t[1]&&a.touchState.isPinching){const e=Math.sqrt(Math.pow(t[1].x-t[0].x,2)+Math.pow(t[1].y-t[0].y,2));if(a.touchState.lastDistance>0){const i=e/a.touchState.lastDistance,r=Math.max(.1,Math.min(10,a.zoomLevel*i)),o=(t[0].x+t[1].x)/2-n.left,s=(t[0].y+t[1].y)/2-n.top,l=r/a.zoomLevel,c={x:o-(o-a.panOffset.x)*l,y:s-(s-a.panOffset.y)*l};return{...a,zoomLevel:r,panOffset:c,touchState:{...a.touchState,touches:t,lastDistance:e}}}return{...a,touchState:{...a.touchState,touches:t,lastDistance:e}}}return{...a,touchState:{...a.touchState,touches:t}}}))}),[]),N=d((e=>{const t=Array.from(e.touches).map((e=>({id:e.identifier,x:e.clientX,y:e.clientY})));a((a=>{if(0===t.length)return{...a,isDragging:!1,dragStart:null,touchState:{...a.touchState,touches:[],isPinching:!1,lastDistance:0,isTouch:!1}};if(1===t.length&&a.panEnabled){const n=e.target.getBoundingClientRect(),i=t[0].x-n.left,r=t[0].y-n.top;return{...a,dragStart:{x:i,y:r},touchState:{...a.touchState,touches:t,isPinching:!1,lastDistance:0}}}if(2===t.length){const e=Math.sqrt(Math.pow(t[1].x-t[0].x,2)+Math.pow(t[1].y-t[0].y,2));return{...a,touchState:{...a.touchState,touches:t,lastDistance:e,isPinching:!0},isDragging:!1}}return{...a,touchState:{...a.touchState,touches:t}}}))}),[]),_=d((e=>{"pen"===e.pointerType&&a((t=>({...t,penState:{...t.penState,isPen:!0,pressure:e.pressure,tiltX:e.tiltX,tiltY:e.tiltY}})))}),[]),v=d((e=>{"pen"===e.pointerType&&a((t=>({...t,penState:{...t.penState,pressure:e.pressure,tiltX:e.tiltX,tiltY:e.tiltY}})))}),[]),f=d((e=>{"pen"===e.pointerType&&a((e=>({...e,penState:{...e.penState,isPen:!1,pressure:0,tiltX:0,tiltY:0}})))}),[]),b=d(((e,t=Ae.DEFAULT_WIDTH,a=Ae.DEFAULT_HEIGHT,n={top:20,right:20,bottom:30,left:40},i)=>{if(!e||0===e.length)return null;const r=e.flatMap((e=>e.data));if(0===r.length)return null;const o=Math.min(...r.map((e=>e.value))),s=Math.max(...r.map((e=>e.value))),l=s-o||1,c=t-n.left-n.right,d=a-n.top-n.bottom;return{xScale:(e,t=r.length)=>t<=1?n.left+c/2:n.left+e/(t-1)*c,yScale:e=>n.top+d-(e-o)/l*d,minValue:o,maxValue:s,valueRange:l,innerWidth:c,innerHeight:d,width:t,height:a,padding:n}}),[]),T=d((e=>{if(e<=0)return[];const t=[];for(let a=0;a<e;a++){const e=a%Ae.DEFAULT_COLORS.length;t.push(Ae.DEFAULT_COLORS[e])}return t}),[]),L=r(null);return{interactionState:t,setInteractionState:a,handlePointHover:s,handlePointLeave:l,handlePointClick:c,handleZoom:u,handlePan:h,handleDragStart:m,handleDragEnd:p,handleCrosshair:g,clearCrosshair:S,handleTouchStart:E,handleTouchMove:A,handleTouchEnd:N,handlePointerDown:_,handlePointerMove:v,handlePointerUp:f,calculateScales:b,getChartColors:T,svgRef:L}}_t.displayName="ElevationCard";const ft=p(s((({chartType:a="line",groups:n=[],enableDefaults:s=!0,defaults:l={refresh:!0,export:!0,fullscreen:!0,settings:!0,zoom:!0,pan:!0,reset:!0},exportFormats:c=["png","svg","csv"],size:u="md",position:h="top",onRefresh:m,onExport:p,onFullscreen:g,onSettings:S,onZoomIn:E,onZoomOut:A,onZoomReset:N,onPanToggle:_,onReset:v,onGridToggle:f,onLegendToggle:b,onTooltipsToggle:T,onAnimationsToggle:L,state:C={},className:I="",...y},x)=>{const[R,O]=i(!1),[M,w]=i(!1),D=r(null),B=r(null),P=r(null),k=r(null),U=n&&n.length>0?{refresh:l.refresh??!0,export:l.export??!0,fullscreen:l.fullscreen??!0,settings:l.settings??!0,zoom:n.some((e=>e.actions.some((e=>"zoom-in"===e.id||"zoom-out"===e.id)))),pan:n.some((e=>e.actions.some((e=>"pan"===e.id)))),reset:n.some((e=>e.actions.some((e=>"reset"===e.id)))),grid:l.grid??!0,legend:l.legend??!0,tooltips:l.tooltips??!0,animations:l.animations??!0}:l;o((()=>{const e=e=>{D.current&&!D.current.contains(e.target)&&P.current&&!P.current.contains(e.target)&&O(!1),B.current&&!B.current.contains(e.target)&&k.current&&!k.current.contains(e.target)&&w(!1)};if(R||M)return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[R,M]),o((()=>{const e=e=>{e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLElement&&e.target.isContentEditable||((e.ctrlKey||e.metaKey)&&"r"===e.key&&U.refresh&&m&&(e.preventDefault(),m()),(e.ctrlKey||e.metaKey)&&"e"===e.key&&U.export&&p&&(e.preventDefault(),O(!R)),"F11"===e.key&&U.fullscreen&&g&&(e.preventDefault(),g(!C.isFullscreen))," "===e.key&&U.pan&&_&&(e.preventDefault(),_(!C.panEnabled)),"r"!==e.key&&"R"!==e.key||e.ctrlKey||e.metaKey||!U.reset||(e.preventDefault(),N?.(),v?.()),"+"!==e.key&&"="!==e.key||U.zoom&&E&&(e.preventDefault(),E()),"-"!==e.key&&"_"!==e.key||U.zoom&&A&&(e.preventDefault(),A()),"Escape"===e.key&&(O(!1),w(!1)))};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[U,m,p,g,_,N,v,E,A,C,R]);const G=d((()=>{const e=[];return U.refresh&&m&&e.push({id:"refresh",label:"Refresh",icon:"ArrowClockwise",onClick:m,disabled:C.isRefreshing,tooltip:"Refresh chart data (Ctrl+R)",shortcut:"Ctrl+R"}),U.export&&p&&e.push({id:"export",label:"Export",icon:"Download",onClick:()=>O(!R),disabled:C.isExporting,variant:"primary",tooltip:"Export chart (Ctrl+E)",shortcut:"Ctrl+E"}),[{id:"data-actions",label:"Data",actions:e,separator:!0}]}),[U,m,p,C,R]),z=d((()=>{const e=[];return U.zoom&&(E||A)&&e.push({id:"zoom-in",label:"Zoom In",icon:"MagnifyingGlassPlus",onClick:()=>E?.(),tooltip:"Zoom in (+)",shortcut:"+"},{id:"zoom-out",label:"Zoom Out",icon:"MagnifyingGlassMinus",onClick:()=>A?.(),tooltip:"Zoom out (-)",shortcut:"-"}),U.pan&&_&&e.push({id:"pan",label:"Pan",icon:"ArrowsOutCardinal",onClick:()=>_?.(!C.panEnabled),active:C.panEnabled,tooltip:"Toggle pan mode (Space)",shortcut:"Space"}),U.reset&&(N||v)&&e.push({id:"reset",label:"Reset View",icon:"ArrowCounterClockwise",onClick:()=>{N?.(),v?.()},tooltip:"Reset view (R)",shortcut:"R"}),U.fullscreen&&g&&e.push({id:"fullscreen",label:C.isFullscreen?"Exit Fullscreen":"Fullscreen",icon:C.isFullscreen?"ArrowsIn":"ArrowsOut",onClick:()=>g?.(!C.isFullscreen),variant:"success",tooltip:(C.isFullscreen?"Exit":"Enter")+" fullscreen (F11)",shortcut:"F11"}),e.length>0?[{id:"view-actions",label:"View",actions:e,separator:!0}]:[]}),[U,E,A,_,N,v,g,C]),F=d((()=>{const e=[];return U.grid&&f&&e.push({id:"grid",label:"Grid",icon:"GridFour",onClick:()=>f(!C.showGrid),active:C.showGrid,tooltip:"Toggle grid lines"}),U.legend&&b&&e.push({id:"legend",label:"Legend",icon:"List",onClick:()=>b(!C.showLegend),active:C.showLegend,tooltip:"Toggle legend"}),U.tooltips&&T&&e.push({id:"tooltips",label:"Tooltips",icon:"CursorText",onClick:()=>T(!C.showTooltips),active:C.showTooltips,tooltip:"Toggle tooltips"}),U.animations&&L&&e.push({id:"animations",label:"Animations",icon:"Sparkle",onClick:()=>L(!C.animationsEnabled),active:C.animationsEnabled,tooltip:"Toggle animations"}),e.length>0?[{id:"display-actions",label:"Display",actions:e,separator:!0}]:[]}),[U,f,b,T,L,C]),V=d((()=>{const e=[];return U.settings&&S&&e.push({id:"settings",label:"Settings",icon:"Gear",onClick:()=>w(!M),active:M,tooltip:"Chart settings"}),e.length>0?[{id:"tool-actions",label:"Tools",actions:e}]:[]}),[U,S,M]),H=n&&n.length>0?n:s?[...G(),...z(),...F(),...V()]:[],Y=a=>{const n="export"===a.id?P:"settings"===a.id?k:null;return t("button",{ref:n,className:`${Ae.ACTION_CLASS} ${a.variant?`${Ae.ACTION_CLASS}--${a.variant}`:""} ${a.active?"is-active":""}`,onClick:()=>{if(a.onClick)a.onClick();else if("export"===a.id&&p)O(!R);else if("settings"===a.id&&S)w(!M);else switch(a.id){case"zoom-in":E?.();break;case"zoom-out":A?.();break;case"pan":_?.(!C.panEnabled);break;case"reset":N?.(),v?.();break;case"fullscreen":g?.(!C.isFullscreen);break;case"refresh":m?.()}},disabled:a.disabled,title:a.tooltip,type:"button","aria-label":a.label,"aria-pressed":a.active?"true":"false","aria-expanded":"export"===a.id?R:"settings"===a.id?M:void 0,children:[e(it,{name:a.icon,size:"sm"}),"lg"===u&&e("span",{className:`${Ae.ACTION_CLASS}-label`,children:a.label})]},a.id)},K=`${Ae.TOOLBAR_CLASS} ${Ae.TOOLBAR_CLASS}--${u} ${Ae.TOOLBAR_CLASS}--${h} ${I}`.trim();return e("div",{ref:x,className:K,...y,children:H.map(((n,i)=>t("div",{className:`${Ae.TOOLBAR_CLASS}-group`,children:[n.separator&&i>0&&e("div",{className:`${Ae.TOOLBAR_CLASS}-separator`}),n.label&&"lg"===u&&e("span",{className:`${Ae.TOOLBAR_CLASS}-group-label`,children:n.label}),t("div",{className:`${Ae.TOOLBAR_CLASS}-actions`,children:[n.actions.map(Y),n.actions.some((e=>"export"===e.id))&&(R&&p?t("div",{ref:D,className:`${Ae.EXPORT_DROPDOWN_CLASS}`,role:"menu","aria-label":"Export formats",children:[e("div",{className:`${Ae.EXPORT_DROPDOWN_CLASS}-title`,children:"Export Formats"}),c.map((t=>e("button",{className:`${Ae.EXPORT_OPTION_CLASS}`,onClick:()=>{p(t),O(!1)},disabled:C.isExporting,type:"button",role:"menuitem","aria-label":`Export as ${t.toUpperCase()}`,children:t.toUpperCase()},t)))]}):null),n.actions.some((e=>"settings"===e.id))&&(M?t("div",{ref:B,className:`${Ae.SETTINGS_MENU_CLASS}`,role:"menu","aria-label":"Chart settings",children:[e("div",{className:`${Ae.SETTINGS_MENU_CLASS}-title`,children:"Chart Settings"}),t("div",{className:`${Ae.SETTINGS_MENU_CLASS}-content`,children:[U.grid&&f&&e("div",{className:`${Ae.SETTINGS_MENU_CLASS}-item`,children:t("label",{className:`${Ae.SETTINGS_MENU_CLASS}-toggle`,children:[e("input",{type:"checkbox",checked:C.showGrid??!1,onChange:e=>f(e.target.checked),"aria-label":"Toggle grid lines"}),e("span",{className:`${Ae.SETTINGS_MENU_CLASS}-label`,children:"Show Grid"})]})}),U.legend&&b&&e("div",{className:`${Ae.SETTINGS_MENU_CLASS}-item`,children:t("label",{className:`${Ae.SETTINGS_MENU_CLASS}-toggle`,children:[e("input",{type:"checkbox",checked:C.showLegend??!1,onChange:e=>b(e.target.checked),"aria-label":"Toggle legend"}),e("span",{className:`${Ae.SETTINGS_MENU_CLASS}-label`,children:"Show Legend"})]})}),U.tooltips&&T&&e("div",{className:`${Ae.SETTINGS_MENU_CLASS}-item`,children:t("label",{className:`${Ae.SETTINGS_MENU_CLASS}-toggle`,children:[e("input",{type:"checkbox",checked:C.showTooltips??!1,onChange:e=>T(e.target.checked),"aria-label":"Toggle tooltips"}),e("span",{className:`${Ae.SETTINGS_MENU_CLASS}-label`,children:"Show Tooltips"})]})}),U.animations&&L&&e("div",{className:`${Ae.SETTINGS_MENU_CLASS}-item`,children:t("label",{className:`${Ae.SETTINGS_MENU_CLASS}-toggle`,children:[e("input",{type:"checkbox",checked:C.animationsEnabled??!1,onChange:e=>L(e.target.checked),"aria-label":"Toggle animations"}),e("span",{className:`${Ae.SETTINGS_MENU_CLASS}-label`,children:"Enable Animations"})]})}),void 0!==C.zoomLevel&&t("div",{className:`${Ae.SETTINGS_MENU_CLASS}-item ${Ae.SETTINGS_MENU_CLASS}-item--info`,children:[e("span",{className:`${Ae.SETTINGS_MENU_CLASS}-label`,children:"Zoom Level"}),t("span",{className:`${Ae.SETTINGS_MENU_CLASS}-value`,children:[Math.round(100*(C.zoomLevel||1)),"%"]})]}),t("div",{className:`${Ae.SETTINGS_MENU_CLASS}-item ${Ae.SETTINGS_MENU_CLASS}-item--info`,children:[e("span",{className:`${Ae.SETTINGS_MENU_CLASS}-label`,children:"Chart Type"}),e("span",{className:`${Ae.SETTINGS_MENU_CLASS}-value`,children:a})]})]})]}):null)]})]},n.id)))})})));ft.displayName="ChartToolbar";const bt=g(null),Tt=p(s((({children:a,type:n="line",size:s="md",variant:l="primary",title:u,subtitle:h,loading:m=!1,error:p,className:g="","aria-label":S,onFullscreen:E,onExport:A,onRefresh:N,showToolbar:_=!1,enableFullscreen:v=!1,enableExport:f=!1,enableRefresh:b=!1,exportFormats:T=["png","svg","csv"],datasets:L,config:C,toolbarConfig:I,customToolbarActions:y,customToolbarGroups:x,data:R,showLegend:O,interactive:M,fullscreen:w,onDataPointClick:D,onLegendItemClick:B,glass:P,...k},U)=>{const[G,z]=i(!1),[F,V]=i(!1),H=r(null),[Y,K]=i(1),[W,$]=i({x:0,y:0}),[Q,Z]=i(!1),q=d((e=>{z(e),E?.(e)}),[E]),X=d((()=>{K((e=>Math.min(1.2*e,5)))}),[]),j=d((()=>{K((e=>Math.max(e/1.2,.2)))}),[]),J=d((()=>{K(1),$({x:0,y:0})}),[]),ee=d((e=>{Z(e)}),[]),te=d((()=>{K(1),$({x:0,y:0}),Z(!1)}),[]),ae=c((()=>({onRefresh:N,onExport:A,onFullscreen:q,onZoomIn:X,onZoomOut:j,onZoomReset:J,onPanToggle:ee,onReset:te})),[N,A,q,X,j,J,ee,te]),{state:ne,handlers:ie,toolbarGroups:re}=function(e,t={},a={}){const[n,r]=i({isFullscreen:!1,isExporting:!1,isRefreshing:!1,zoomLevel:1,panEnabled:!1,showGrid:!0,showLegend:!0,showTooltips:!0,animationsEnabled:!0}),{enableDefaults:s=!0,defaults:l={},exportFormats:u=["png","svg","csv"],customActions:h=[],customGroups:m=[]}=t,p=d((()=>{const t={refresh:!0,export:!0,fullscreen:!0,settings:!0,grid:!0,legend:!0,tooltips:!0,animations:!0,zoom:!1,pan:!1,reset:!1};switch(e){case"interactive":case"advanced":case"line":case"area":case"bar":case"horizontal-bar":case"scatter":case"bubble":case"funnel":case"waterfall":case"candlestick":return{...t,zoom:!0,pan:!0,reset:!0};case"realtime":return{...t,refresh:!0,export:!1,animations:!1};case"pie":case"donut":case"gauge":return{...t,zoom:!1,pan:!1,grid:!1};default:return t}}),[e]),g=c((()=>({...p(),...l})),[p,l]),S={onRefresh:d((()=>{r((e=>({...e,isRefreshing:!0}))),a.onRefresh?.(),setTimeout((()=>{r((e=>({...e,isRefreshing:!1})))}),1e3)}),[a.onRefresh]),onExport:d((async e=>{r((e=>({...e,isExporting:!0})));try{await(a.onExport?.(e))}finally{r((e=>({...e,isExporting:!1})))}}),[a.onExport]),onFullscreen:d((e=>{r((t=>({...t,isFullscreen:e}))),a.onFullscreen?.(e)}),[a.onFullscreen]),onZoomIn:d((()=>{r((e=>({...e,zoomLevel:Math.min(1.2*e.zoomLevel,5)}))),a.onZoomIn?.()}),[a.onZoomIn]),onZoomOut:d((()=>{r((e=>({...e,zoomLevel:Math.max(e.zoomLevel/1.2,.2)}))),a.onZoomOut?.()}),[a.onZoomOut]),onZoomReset:d((()=>{r((e=>({...e,zoomLevel:1}))),a.onZoomReset?.()}),[a.onZoomReset]),onPanToggle:d((e=>{r((t=>({...t,panEnabled:e}))),a.onPanToggle?.(e)}),[a.onPanToggle]),onReset:d((()=>{r((e=>({...e,zoomLevel:1,panEnabled:!1}))),a.onReset?.()}),[a.onReset]),onGridToggle:d((e=>{r((t=>({...t,showGrid:e}))),a.onGridToggle?.(e)}),[a.onGridToggle]),onLegendToggle:d((e=>{r((t=>({...t,showLegend:e}))),a.onLegendToggle?.(e)}),[a.onLegendToggle]),onTooltipsToggle:d((e=>{r((t=>({...t,showTooltips:e}))),a.onTooltipsToggle?.(e)}),[a.onTooltipsToggle]),onAnimationsToggle:d((e=>{r((t=>({...t,animationsEnabled:e}))),a.onAnimationsToggle?.(e)}),[a.onAnimationsToggle]),onSettings:d((()=>{}),[])},E=d((()=>{const e=[],t=[];g.refresh&&t.push({id:"refresh",label:"Refresh",icon:"ArrowClockwise",onClick:S.onRefresh,disabled:n.isRefreshing,tooltip:"Refresh chart data"}),g.export&&t.push({id:"export",label:"Export",icon:"Download",onClick:()=>S.onExport("png"),disabled:n.isExporting,variant:"primary",tooltip:"Export chart"}),t.length>0&&e.push({id:"data-actions",label:"Data",actions:t,separator:!0});const a=[];g.zoom&&a.push({id:"zoom-in",label:"Zoom In",icon:"MagnifyingGlassPlus",onClick:S.onZoomIn,tooltip:"Zoom in"},{id:"zoom-out",label:"Zoom Out",icon:"MagnifyingGlassMinus",onClick:S.onZoomOut,tooltip:"Zoom out"}),g.pan&&a.push({id:"pan",label:"Pan",icon:"ArrowsOutCardinal",onClick:()=>S.onPanToggle(!n.panEnabled),active:n.panEnabled,tooltip:"Toggle pan mode"}),g.reset&&a.push({id:"reset",label:"Reset",icon:"ArrowCounterClockwise",onClick:S.onReset,tooltip:"Reset view"}),g.fullscreen&&a.push({id:"fullscreen",label:n.isFullscreen?"Exit Fullscreen":"Fullscreen",icon:n.isFullscreen?"ArrowsIn":"ArrowsOut",onClick:()=>S.onFullscreen(!n.isFullscreen),variant:"success",tooltip:(n.isFullscreen?"Exit":"Enter")+" fullscreen"}),a.length>0&&e.push({id:"view-actions",label:"View",actions:a,separator:!0});const i=[];if(g.grid&&i.push({id:"grid",label:"Grid",icon:"GridFour",onClick:()=>S.onGridToggle(!n.showGrid),active:n.showGrid,tooltip:"Toggle grid"}),g.legend&&i.push({id:"legend",label:"Legend",icon:"List",onClick:()=>S.onLegendToggle(!n.showLegend),active:n.showLegend,tooltip:"Toggle legend"}),g.tooltips&&i.push({id:"tooltips",label:"Tooltips",icon:"ChatCircle",onClick:()=>S.onTooltipsToggle(!n.showTooltips),active:n.showTooltips,tooltip:"Toggle tooltips"}),g.animations&&i.push({id:"animations",label:"Animations",icon:"Play",onClick:()=>S.onAnimationsToggle(!n.animationsEnabled),active:n.animationsEnabled,tooltip:"Toggle animations"}),i.length>0&&e.push({id:"display-actions",label:"Display",actions:i,separator:!0}),g.settings&&e.push({id:"settings-actions",label:"Settings",actions:[{id:"settings",label:"Settings",icon:"Gear",onClick:S.onSettings,tooltip:"Chart settings"}]}),e.push(...m),h.length>0)if(e.length>0){if(e.length>0){const t=e[e.length-1];t&&t.actions.push(...h)}}else e.push({id:"custom-actions",label:"Custom",actions:h});return e}),[e,g,n,S,h,m]);return o((()=>{const e=e=>{if(e.ctrlKey||e.metaKey)switch(e.key.toLowerCase()){case"r":g.refresh&&(e.preventDefault(),S.onRefresh());break;case"e":g.export&&(e.preventDefault(),S.onExport("png"));break;case"f":g.fullscreen&&(e.preventDefault(),S.onFullscreen(!n.isFullscreen))}else switch(e.key){case"+":case"=":g.zoom&&(e.preventDefault(),S.onZoomIn());break;case"-":g.zoom&&(e.preventDefault(),S.onZoomOut());break;case"r":g.reset&&(e.preventDefault(),S.onReset());break;case" ":g.pan&&(e.preventDefault(),S.onPanToggle(!n.panEnabled));break;case"F11":g.fullscreen&&(e.preventDefault(),S.onFullscreen(!n.isFullscreen))}};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)}),[g,n,S]),{state:n,setState:r,handlers:S,toolbarGroups:E(),config:{enableDefaults:s,defaults:g,exportFormats:u}}}(n,{enableDefaults:_,defaults:{refresh:b,export:f,fullscreen:v,grid:!0,legend:!0,tooltips:!0,animations:!0,settings:!0},exportFormats:T},ae);vt(),o((()=>{K(ne.zoomLevel)}),[ne.zoomLevel]),o((()=>{Z(ne.panEnabled)}),[ne.panEnabled]),o((()=>{ne.zoomLevel}),[Y,ne.zoomLevel]);const oe=Lt({type:n,size:s,variant:l,loading:m,error:p,className:g,interactive:M,panEnabled:Q});d((()=>{ie.onFullscreen(!ne.isFullscreen)}),[ie,ne.isFullscreen]),d((async e=>{await ie.onExport(e)}),[ie]),d((()=>{ie.onRefresh()}),[ie]),o((()=>{z(ne.isFullscreen),V(ne.isExporting)}),[ne.isFullscreen,ne.isExporting]);const se=`${oe}${G?` ${Ae.CLASSES.FULLSCREEN}`:""}${P?" c-chart--glass":""}`,le=c((()=>({displacementScale:25,blurAmount:0,saturation:180,aberrationIntensity:1.5,elasticity:0,enableLiquidBlur:!1,enableBorderEffect:!0,mode:"standard",mouseContainer:H,reducedMotion:!1})),[]),ce=c((()=>P?!0===P?le:{...le,...P}:null),[P,le]),de=c((()=>ce?.cornerRadius||void 0),[ce?.cornerRadius]),ue=c((()=>({zoomLevel:Y,panOffset:W,panEnabled:Q,onZoomIn:X,onZoomOut:j,onZoomReset:J,onPanToggle:ee,onReset:te,setZoomLevel:K,setPanOffset:$,setPanEnabled:Z,toolbarState:{showTooltips:ne.showTooltips,showLegend:ne.showLegend,animationsEnabled:ne.animationsEnabled,showGrid:ne.showGrid}})),[Y,W,Q,X,j,J,ee,te,Z,ne.showTooltips,ne.showLegend,ne.animationsEnabled,ne.showGrid]),he=t("div",{ref:H,className:se,"aria-label":S||`${n} chart`,role:"img",tabIndex:0,...k,children:[(u||h||_)&&t("div",{className:`${Ae.HEADER_CLASS} u-d-flex u-justify-between u-align-items-start u-gap-4`,children:[t("div",{className:`${Ae.HEADER_CONTENT_CLASS} u-flex-1`,children:[u&&e("h3",{className:`${Ae.TITLE_CLASS} u-mb-1`,children:u}),h&&e("p",{className:`${Ae.SUBTITLE_CLASS} u-mb-0`,children:h})]}),(()=>{if(!_)return null;const t=!re||0===re.length;return e(ft,{chartType:n,groups:re,defaults:{refresh:b,export:f,fullscreen:v,zoom:void 0!==ne.zoomLevel,pan:void 0!==ne.panEnabled,reset:!0,grid:!0,legend:!0,tooltips:!0,animations:!0,settings:!0},exportFormats:T,state:{isFullscreen:ne.isFullscreen,isExporting:ne.isExporting,isRefreshing:ne.isRefreshing,zoomLevel:Y,panEnabled:Q,showGrid:ne.showGrid,showLegend:ne.showLegend,showTooltips:ne.showTooltips,animationsEnabled:ne.animationsEnabled},...t?{onRefresh:ie.onRefresh,onExport:ie.onExport,onFullscreen:ie.onFullscreen,onZoomIn:X,onZoomOut:j,onZoomReset:J,onPanToggle:ee,onReset:te,onSettings:ie.onSettings,onGridToggle:ie.onGridToggle,onLegendToggle:ie.onLegendToggle,onTooltipsToggle:ie.onTooltipsToggle,onAnimationsToggle:ie.onAnimationsToggle}:{}})})()]}),t("div",{className:Ae.CONTENT_CLASS,children:[m&&t("div",{className:Ae.LOADING_CLASS,children:[e("div",{className:Ae.LOADING_SPINNER_CLASS}),e("span",{className:Ae.LOADING_TEXT_CLASS,children:ne.isExporting?"Exporting chart...":ne.isRefreshing?"Refreshing chart...":"Loading chart..."})]}),p&&t("div",{className:Ae.ERROR_CLASS,children:[e("div",{className:Ae.ERROR_ICON_CLASS,children:"⚠"}),t("div",{className:Ae.ERROR_CONTENT_CLASS,children:[e("div",{className:Ae.ERROR_MESSAGE_CLASS,children:"Chart Error"}),e("div",{className:Ae.ERROR_DETAILS_CLASS,children:p})]})]}),!m&&!p&&!a&&t("div",{className:Ae.EMPTY_CLASS,children:[e("div",{className:Ae.EMPTY_ICON_CLASS,children:"📊"}),e("div",{className:Ae.EMPTY_MESSAGE_CLASS,children:"No data available"}),e("div",{className:Ae.EMPTY_DETAILS_CLASS,children:"Add data to your chart to see visualizations"})]}),!m&&!p&&a&&e("div",{className:Ae.CANVAS_CLASS,children:a})]})]}),me=ce?e(et,{...ce,cornerRadius:de,style:{width:"100%",height:"100%",...ce.style},children:he}):he;return e(bt.Provider,{value:ue,children:e("div",{ref:U,style:{width:"100%",height:"100%"},children:me})})}))),Lt=({type:e,size:t,variant:a,loading:n,error:i,className:r,interactive:o,panEnabled:s})=>{const l=[Ae.ROOT_CLASS];if(e){const t=e.toUpperCase(),a=Ae.CLASSES[t]||`${Ae.TYPE_PREFIX}${e}`;l.push(a)}if(t){const e=t.toUpperCase(),a=Ae.CLASSES[e]||`${Ae.SIZE_PREFIX}${t}`;l.push(a)}if(a){const e=a.toUpperCase(),t=Ae.CLASSES[e]||`${Ae.VARIANT_PREFIX}${a}`;l.push(t)}return(o||s)&&l.push(Ae.CLASSES.INTERACTIVE),n&&l.push(Ae.LOADING_STATE_CLASS),i&&l.push(Ae.ERROR_STATE_CLASS),r&&l.push(r),l.join(" ")};Tt.displayName="Chart";const Ct=p(s((({datasets:n=[],config:s,width:l=Ae.DEFAULT_WIDTH,height:u=Ae.DEFAULT_HEIGHT,onDataPointClick:h,interactive:m=!0,enableRealTime:p=!1,enableAccessibility:g=!0,enablePerformanceOptimization:E=!0,renderContent:A},N)=>{const _=S(bt),{calculateScales:v,getChartColors:f}=vt(),{processedData:b,isProcessing:T}=function(e,t){const[a,n]=i(e),[r,s]=i(!1),{enableDecimation:l=!1,maxDataPoints:c=1e3,enableRealTime:u=!1,realTimeInterval:h=1e3}=t||{},m=d(((e,t)=>{if(!l||!e.length)return e;const a=e[0]?.data?.length||0;if(a<=t)return e;const n=Math.ceil(a/t);return e.map((e=>({...e,data:e.data?.filter(((e,t)=>t%n==0))||[]})))}),[l]),p=d(((e,t)=>{const a=[];for(let n=0;n<e.length;n++)if(n<t-1)a.push(null);else{const i=e.slice(n-t+1,n+1).reduce(((e,t)=>e+t),0);a.push(i/t)}return a}),[]),g=d((e=>{const t=e.length;if(t<2)return e.map((()=>null));const a=e.reduce(((e,t,a)=>e+a),0),n=e.reduce(((e,t)=>e+t),0),i=(t*e.reduce(((e,t,a)=>e+a*t),0)-a*n)/(t*e.reduce(((e,t,a)=>e+a*a),0)-a*a),r=(n-i*a)/t;return e.map(((e,t)=>i*t+r))}),[]);return o((()=>{s(!0),(async()=>{let t=[...e];l&&c&&(t=m(t,c)),n(t),s(!1)})()}),[e,m,l,c]),o((()=>{if(!u)return;const e=setInterval((()=>{n((e=>[...e]))}),h);return()=>clearInterval(e)}),[u,h]),{processedData:a,isProcessing:r,decimateData:m,calculateMovingAverage:p,calculateTrendLine:g,setProcessedData:n}}(n,{enableRealTime:p,enableDecimation:E,maxDataPoints:1e3}),{isOptimizing:L,memoizedScales:C}=function(e,t){const{enableVirtualization:a=!1,enableMemoization:n=!0,debounceMs:s=100}=t||{},[l,u]=i(!1),h=r(null),m=c((()=>n?e.map((e=>{const t=e.data?.map((e=>e.value)).filter((e=>"number"==typeof e))||[],a=t.length>0?t:[0];return{label:e.label,dataLength:e.data?.length||0,minValue:Math.min(...a),maxValue:Math.max(...a)}})):null),[e,n]),p=d((e=>{h.current&&clearTimeout(h.current),h.current=setTimeout((()=>{e(),u(!1)}),s),u(!0)}),[s]),g=d(((t,n,i)=>{if(!a)return{start:0,end:e[0]?.data?.length||0};const r=Math.floor(t/n),o=Math.ceil(i/n),s=Math.min(r+o+1,e[0]?.data?.length||0);return{start:Math.max(0,r-1),end:s}}),[a,e]);return o((()=>()=>{h.current&&clearTimeout(h.current)}),[]),{isOptimizing:l,memoizedScales:m,debouncedUpdate:p,getVisibleRange:g}}(b,{enableVirtualization:!1,enableMemoization:E,debounceMs:100}),{announcement:I,focusedPoint:y}=function(e,t){const{enableKeyboardNavigation:a=!0,enableScreenReader:n=!0,announceDataChanges:r=!0}=t||{},[s,l]=i({datasetIndex:0,pointIndex:0}),[c,u]=i(""),h=d(((t,n)=>{if(!a||!e.length)return;const i=e.length-1,r=(e[s.datasetIndex]?.data?.length||1)-1;switch(t.key){case"ArrowLeft":t.preventDefault(),l((e=>({...e,pointIndex:Math.max(0,e.pointIndex-1)})));break;case"ArrowRight":t.preventDefault(),l((e=>({...e,pointIndex:Math.min(r,e.pointIndex+1)})));break;case"ArrowUp":t.preventDefault(),l((e=>({...e,datasetIndex:Math.max(0,e.datasetIndex-1)})));break;case"ArrowDown":t.preventDefault(),l((e=>({...e,datasetIndex:Math.min(i,e.datasetIndex+1)})));break;case"Home":t.preventDefault(),l((e=>({...e,pointIndex:0})));break;case"End":t.preventDefault(),l((e=>({...e,pointIndex:r})));break;case"Enter":case" ":t.preventDefault(),n?.(s.datasetIndex,s.pointIndex)}}),[a,e,s]),m=d((e=>{n&&(u(e),setTimeout((()=>u("")),1e3))}),[n]);o((()=>{if(!r||!e.length)return;const t=e.reduce(((e,t)=>e+(t.data?.length||0)),0);m(`Chart updated with ${e.length} datasets and ${t} data points`)}),[e,r,m]);const p=d((()=>{if(!e.length)return"Empty chart";const t=e.map(((e,t)=>{const a=e.data?.length||0,n=e.data?.map((e=>e.value)).filter((e=>"number"==typeof e))||[],i=n.length>0?Math.min(...n):0,r=n.length>0?Math.max(...n):0;return`Dataset ${t+1}: ${e.label}, ${a} points, range ${i} to ${r}`})).join(". ");return`Chart with ${e.length} datasets. ${t}`}),[e]);return{focusedPoint:s,announcement:c,handleKeyDown:h,announceData:m,getAccessibleDescription:p,setFocusedPoint:l}}(b,{enableScreenReader:g,enableKeyboardNavigation:g,announceDataChanges:g}),x=r({isDragging:!1,dragStart:{x:0,y:0},lastPan:{x:0,y:0}}),[R,O]=i(null),M=r(null),w=r(null),[D,B]=i(!1),[P,k]=i({width:0,height:0});o((()=>{const e=w.current;if(!e)return;const t=()=>{const t=e.getBoundingClientRect();t.width>0&&t.height>0&&(k({width:Math.floor(t.width),height:Math.floor(t.height)}),B(!0))};t();const a=requestAnimationFrame((()=>{t()})),n=new ResizeObserver((e=>{for(const t of e){const{width:e,height:a}=t.contentRect;e>0&&a>0&&(k({width:Math.floor(e),height:Math.floor(a)}),B(!0))}}));return n.observe(e),()=>{cancelAnimationFrame(a),n.disconnect()}}),[]),o((()=>{l===Ae.DEFAULT_WIDTH&&u===Ae.DEFAULT_HEIGHT||(k({width:l,height:u}),B(!0))}),[l,u]);const U=d(((e,t,a,n,i,r)=>{O({datasetIndex:e,pointIndex:t,x:a,y:n,clientX:i,clientY:r})}),[]),G=d((()=>{O(null)}),[]),z=r(null),F=d((e=>{m&&_&&_.panEnabled&&x.current.isDragging&&(z.current||(z.current=requestAnimationFrame((()=>{const t=M.current;if(!t)return void(z.current=null);const a=t.getBoundingClientRect(),n=e.clientX-a.left,i=e.clientY-a.top,r=n-x.current.dragStart.x,o=i-x.current.dragStart.y;_.setPanOffset({x:x.current.lastPan.x+r,y:x.current.lastPan.y+o}),z.current=null}))))}),[m,_]),V=d((e=>{if(!m||!_||!_.panEnabled)return;const t=M.current;if(!t)return;const a=t.getBoundingClientRect(),n=e.clientX-a.left,i=e.clientY-a.top;x.current.isDragging=!0,x.current.dragStart={x:n,y:i},x.current.lastPan={..._.panOffset}}),[m,_]),H=d((()=>{x.current.isDragging=!1}),[]),Y=c((()=>({onDataPointClick:h,onPointHover:U,onPointLeave:G,onMouseMove:F,onMouseDown:V,onMouseUp:H,onWheel:()=>{}})),[h,U,G,F,V,H]),K=c((()=>({announcement:I,focusedPoint:y,getAccessibleDescription:()=>"Chart description"})),[I,y]),W=c((()=>_?`translate(${_.panOffset.x}px, ${_.panOffset.y}px) scale(${_.zoomLevel})`:""),[_?.panOffset.x,_?.panOffset.y,_?.zoomLevel]),$=c((()=>{if(!D||0===P.width||0===P.height)return null;const e=v(b,P.width,P.height,void 0,s);if(!e)return null;const t=f(b.length).filter((e=>void 0!==e));return{scales:e,colors:t,datasets:b.map(((e,a)=>({...e,color:e.color||t[a]})))}}),[b,s,P.width,P.height,D,v,f]);if(o((()=>()=>{z.current&&cancelAnimationFrame(z.current)}),[]),o((()=>{const e=M.current;if(!e||!m||!_)return;const t=e=>{if(void 0===_.zoomLevel)return;e.preventDefault();const t=.001*-e.deltaY,a=Math.max(.2,Math.min(5,_.zoomLevel+t));_.setZoomLevel(a)};return e.addEventListener("wheel",t,{passive:!1}),()=>{e.removeEventListener("wheel",t)}}),[m,_]),L)return t("div",{className:`${Ae.CONTENT_CLASS} ${Ae.LOADING_CLASS}`,children:[e("div",{className:Ae.LOADING_SPINNER_CLASS}),e("span",{className:Ae.LOADING_TEXT_CLASS,children:"Optimizing chart..."})]});if(!D||0===P.width||0===P.height)return e("div",{ref:w,className:Ae.CANVAS_CLASS,style:{width:"100%",height:"100%",minHeight:"200px",display:"flex",alignItems:"center",justifyContent:"center"}});if(!$)return null;const Q=P.width,Z=P.height;return t(a,{children:[e("div",{ref:w,className:Ae.CANVAS_CLASS,style:{width:"100%",height:"100%"},children:t("svg",{ref:M,width:Q,height:Z,viewBox:`0 0 ${Q} ${Z}`,preserveAspectRatio:"xMidYMid meet",role:"img","aria-label":"Chart visualization",tabIndex:0,style:{width:"100%",height:"100%",transform:W,transformOrigin:"center center",willChange:_?.panEnabled?"transform":"auto"},className:"c-chart__svg",onMouseMove:F,onMouseDown:V,onMouseUp:H,onMouseLeave:H,children:[t("g",{className:"c-chart__grid-group",children:[$.datasets[0]?.data.map(((t,a)=>e("line",{x1:$.scales.xScale(a,$.datasets[0]?.data.length),y1:0,x2:$.scales.xScale(a,$.datasets[0]?.data.length),y2:Z,className:"c-chart__grid c-chart__grid--vertical"},`x-grid-${a}`))),Array.from({length:5}).map(((t,a)=>{const n=$.scales.minValue+($.scales.maxValue-$.scales.minValue)*(a/4);return e("line",{x1:0,y1:$.scales.yScale(n),x2:Q,y2:$.scales.yScale(n),className:"c-chart__grid c-chart__grid--horizontal"},`y-grid-${a}`)}))]}),A({scales:$.scales,colors:$.colors,datasets:$.datasets,interactionState:{hoveredIndex:R?.pointIndex??null,selectedIndex:null},handlers:Y,accessibility:K,hoveredPoint:R,toolbarState:_?{showTooltips:_.toolbarState?.showTooltips,showLegend:_.toolbarState?.showLegend,animationsEnabled:_.toolbarState?.animationsEnabled,showGrid:_.toolbarState?.showGrid}:void 0,config:s}),m&&_?.panEnabled&&t("g",{className:"c-chart__crosshair",children:[e("line",{x1:0,y1:Z/2,x2:Q,y2:Z/2,className:"c-chart__crosshair-line c-chart__crosshair-line--horizontal"}),e("line",{x1:Q/2,y1:0,x2:Q/2,y2:Z,className:"c-chart__crosshair-line c-chart__crosshair-line--vertical"})]})]})}),e("div",{"aria-live":"polite",className:"u-visually-hidden",children:I})]})})));Ct.displayName="ChartRenderer";const It=p(s((({type:t,datasets:a=[],config:n={},renderContent:i,interactive:r=!0,enableRealTime:o=!1,enableAccessibility:s=!0,enablePerformanceOptimization:l=!0,onDataPointClick:c,...u},h)=>{const m=d((e=>i(e)),[i]);return e(Tt,{ref:h,type:t,datasets:a,config:n,...u,children:e(Ct,{datasets:a,config:n,interactive:r,enableRealTime:o,enableAccessibility:s,enablePerformanceOptimization:l,onDataPointClick:c,renderContent:m})})})));It.displayName="BaseChart";const yt=p(s((({datasets:t=[],config:a={},chartType:n="line",particleEffects:i,onDataPointClick:s,...l},c)=>{const u=r(0),h=r(0),m=r([]),p=d((({scales:t,colors:a,datasets:r,handlers:s,hoveredPoint:l,toolbarState:c,config:d})=>{if(o((()=>{const e=t=>{h.current=t,u.current=requestAnimationFrame(e)};return u.current=requestAnimationFrame(e),()=>{u.current&&cancelAnimationFrame(u.current)}}),[]),!r.length)return null;const p=40,g=t.width-80,S=t.height-80,E=[];if(r.forEach(((t,i)=>{const r=t.color||a[i%a.length];if("bar"===n)t.data.forEach(((a,n)=>{const o=g/t.data.length*.8,l=p+n*(g/t.data.length)+(g/t.data.length-o)/2,c=a.value/100*S,d=p+S-c;E.push(e("rect",{x:l,y:d,width:o,height:c,fill:r,style:{transform:`scaleY(${.1*Math.sin(.01*h.current+.2*n)+.9})`,transformOrigin:"bottom"},onClick:()=>s.onDataPointClick?.(a,i,n)},`bar-${i}-${n}`))}));else{const a=t.data.map(((e,a)=>({x:p+a/(t.data.length-1)*g,y:p+S-e.value/100*S})));if(a.length>0){const o=`M ${a.map((e=>`${e.x},${e.y}`)).join(" L ")}`;if("area"===n){const t=`${o} L ${p+g},${p+S} L 40,${p+S} Z`;E.push(e("path",{d:t,fill:r,fillOpacity:"0.3",style:{transform:`translateY(${2*Math.sin(.01*h.current)}px)`}},`area-${i}`))}E.push(e("path",{d:o,stroke:r,fill:"none",className:"c-chart__data-line",style:{transform:`translateY(${2*Math.sin(.01*h.current)}px)`}},`line-${i}`)),a.forEach(((a,n)=>{E.push(e("circle",{cx:a.x,cy:a.y,r:"4",fill:r,style:{transform:`scale(${1+.2*Math.sin(.01*h.current+n)})`},onClick:()=>s.onDataPointClick?.(t.data[n],i,n)},`point-${i}-${n}`))}))}}})),i?.enabled)for(let t=0;t<i.count;t++){const a=m.current[t];a&&E.push(e("circle",{cx:a.x,cy:a.y,r:a.size,fill:a.color,style:{opacity:a.life}},`particle-${t}`))}return e("g",{children:E})}),[n,i]);return e(It,{ref:c,type:"animated",datasets:t,config:a,renderContent:p,onDataPointClick:s,...l})})));yt.displayName="AnimatedChart";const xt=p((({dataPoint:n,datasetLabel:s,datasetColor:l,position:c,visible:d,customRenderer:u})=>{const h=r(null),[m,p]=i(c);return o((()=>{if(!d||!h.current)return;const e=h.current.getBoundingClientRect(),t=window.innerWidth,a=window.innerHeight;let n=c.x,i=c.y;n=n+e.width>t-16?c.x-e.width-12:c.x+12,i=i+e.height>a-16?c.y-e.height-12:c.y-e.height/2,n=Math.max(16,Math.min(n,t-e.width-16)),i=Math.max(16,Math.min(i,a-e.height-16)),p({x:n,y:i})}),[c,d]),d&&n?R(e("div",{ref:h,className:"c-chart__tooltip",style:{left:`${m.x}px`,top:`${m.y}px`,opacity:d?1:0,visibility:d?"visible":"hidden",transition:"opacity 0.2s ease, transform 0.2s ease",transform:"translateZ(0)",position:"fixed",zIndex:1e3,pointerEvents:"none"},children:u?u(n):t(a,{children:[e("div",{className:"c-chart__tooltip-title",children:n.label}),t("div",{className:"c-chart__tooltip-content",children:[s&&t("div",{className:"c-chart__tooltip-dataset",children:[l&&e("div",{className:"c-chart__tooltip-color-indicator",style:{backgroundColor:l}}),t("span",{className:"c-chart__tooltip-dataset-label",children:[s,":"]}),e("span",{className:"c-chart__tooltip-value",children:n.value})]}),n.metadata&&e("div",{className:"c-chart__tooltip-metadata",children:Object.entries(n.metadata).map((([a,n])=>t("div",{className:"c-chart__tooltip-metadata-item",children:[t("span",{className:"c-chart__tooltip-metadata-key",children:[a,":"]}),e("span",{className:"c-chart__tooltip-metadata-value",children:String(n)})]},a)))})]})]})}),document.body):null}));xt.displayName="ChartTooltip";const Rt=p(s((({datasets:n=[],config:i={},areaOptions:r={},onDataPointClick:o,...s},l)=>{const c={showArea:!0,fillOpacity:.3,useGradient:!0,...r};return e(It,{ref:l,type:"area",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:r,handlers:o,hoveredPoint:s,toolbarState:l,config:d})=>{if(!r.length)return null;const u=l?.showTooltips??d?.showTooltips??!0;return t(a,{children:[r.map(((a,r)=>{const l=a.color||i[r],d=a.data||[];if(0===d.length)return null;const u=d.map(((e,t)=>({x:n.xScale(t,d.length),y:n.yScale(e.value)}))),h=`M ${u.map((e=>`${e.x},${e.y}`)).join(" L ")} L ${u[u.length-1]?.x},${n.height} L ${u[0]?.x},${n.height} Z`;return t("g",{children:[e("path",{d:h,fill:l,fillOpacity:c.fillOpacity||.3,className:"c-chart__area-fill"}),d.map(((t,a)=>{const i=n.xScale(a,d.length),c=n.yScale(t.value),u=s?.datasetIndex===r&&s?.pointIndex===a;return e("circle",{cx:i,cy:c,r:u?6:4,fill:l,stroke:"white",strokeWidth:u?2:1,className:"c-chart__area-point "+(u?"c-chart__area-point--hovered":""),onClick:()=>o.onDataPointClick?.(t,r,a),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();o.onPointHover(r,a,i,c,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:o.onPointLeave,style:{cursor:"pointer"}},`point-${a}`)}))]},`dataset-${r}`)})),u&&s&&e(xt,{dataPoint:r[s.datasetIndex]?.data?.[s.pointIndex],datasetLabel:r[s.datasetIndex]?.label,datasetColor:r[s.datasetIndex]?.color||i[s.datasetIndex],position:{x:s.clientX,y:s.clientY},visible:!0})]})},onDataPointClick:o,...s})})));function Ot(e,t={}){const[a,n]=i(null),[r,o]=i(0),[s,l]=i(!1),c=d(((e,a,n,i={top:20,right:30,bottom:40,left:50},r=!1)=>{if(!e.length)return[];const o=a-i.left-i.right,s=n-i.top-i.bottom,l=e[0]?.data?.length||0,c=e.length;if(0===l)return[];const d=e.flatMap((e=>e.data?.map((e=>e.value)).filter((e=>"number"==typeof e))||[])),u=Math.min(0,...d),h=Math.max(...d)-u,m=[],p=Array(l).fill(0);return e.forEach(((e,d)=>{e.data?.forEach(((e,g)=>{const S="number"==typeof e.value?e.value:0;if(isNaN(S)||!isFinite(S))return;let E,A,N,_;if(r){const e=s/l,a=e*(1-(t.groupPadding||.2));_=t.stacked?a:a/c,A=i.top+g*e+(e-a)/2,t.stacked||(A+=d*_*(1+(t.barPadding||.05))),E=i.left,N=(S-u)/h*o,t.stacked&&d>0?(E=i.left+(p[g]-u)/h*o,p[g]+=S):t.stacked&&(p[g]=S)}else{const e=o/l,a=e*(1-(t.groupPadding||.2));if(N=t.stacked?a:a/c,E=i.left+g*e+(e-a)/2,t.stacked||(E+=d*N*(1+(t.barPadding||.05))),_=(S-u)/h*s,A=n-i.bottom-_,t.stacked&&d>0){const e=(p[g]-u)/h*s;A=n-i.bottom-e-_,p[g]+=S}else t.stacked&&(p[g]=S)}if(t.minBarHeight&&(r?N:_)<t.minBarHeight&&(r?N=t.minBarHeight:(_=t.minBarHeight,A=n-i.bottom-_)),t.maxBarWidth&&(r?_:N)>t.maxBarWidth)if(r)_=t.maxBarWidth,A=i.top+g*(s/l)+(s/l-_)/2;else{N=t.maxBarWidth;const e=(a-i.left-i.right)/l;E=i.left+g*e+(e-N)/2}m.push({x:Math.max(E,0),y:Math.max(A,0),width:Math.max(N,0),height:Math.max(_,0),value:S,datasetIndex:d,pointIndex:g})}))})),m}),[t.stacked,t.groupPadding,t.barPadding,t.minBarHeight,t.maxBarWidth]),u=d((()=>{if(!t.enableAnimations)return;l(!0),o(0);const e=t.animationDuration||1e3,a=Date.now(),n=()=>{const t=Date.now()-a,i=Math.min(t/e,1),r=1-Math.pow(1-i,3);o(r),i<1?requestAnimationFrame(n):l(!1)};requestAnimationFrame(n)}),[t.enableAnimations,t.animationDuration]),h=d(((e,t,a,i,r,o)=>{n({datasetIndex:e,pointIndex:t,chartX:a,chartY:i,clientX:r,clientY:o})}),[]),m=d((()=>{n(null)}),[]),p=d((e=>t.useGradients?e.map(((e,t)=>{const a=e.color||`var(--atomix-color-${t+1})`;return{id:`bar-gradient-${t}`,stops:[{offset:"0%",color:a,opacity:.8},{offset:"100%",color:a,opacity:.4}]}})):[]),[t.useGradients]),g=d((e=>t.valueFormatter?t.valueFormatter(e):e.toString()),[t.valueFormatter]);return{hoveredBar:a,animationProgress:r,isAnimating:s,calculateBarDimensions:c,generateGradients:p,getDataLabelPosition:d(((e,a=!1)=>{const{x:n,y:i,width:r,height:o}=e;switch(t.dataLabelPosition){case"inside":case"center":default:return{x:n+r/2,y:i+o/2};case"outside":return{x:a?n+r+5:n+r/2,y:a?i+o/2:i-5}}}),[t.dataLabelPosition]),handleBarHover:h,handleBarLeave:m,startAnimation:u,formatValue:g,setHoveredBar:n,setAnimationProgress:o,setIsAnimating:l}}Rt.displayName="AreaChart";const Mt=p(s((({datasets:n=[],config:i={},barOptions:r={},horizontal:o=!1,onDataPointClick:s,...l},c)=>{const{calculateBarDimensions:d,handleBarHover:u,handleBarLeave:h,hoveredBar:m,formatValue:p}=Ot(0,r);return e(It,{ref:c,type:"bar",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:s,handlers:l,hoveredPoint:c,toolbarState:u,config:h})=>{if(!s.length)return null;const m=u?.showTooltips??h?.showTooltips??!0,g=d(s,n.width,n.height,n.padding,o);return t(a,{children:[g.map(((a,n)=>{const o=s[a.datasetIndex],d=o.data?.[a.pointIndex],u=o.color||i[a.datasetIndex],h=c?.datasetIndex===a.datasetIndex&&c?.pointIndex===a.pointIndex;return t("g",{children:[e("rect",{x:a.x,y:a.y,width:a.width,height:a.height,fill:u,className:"c-chart__bar "+(h?"c-chart__bar--hovered":""),onClick:()=>d&&l.onDataPointClick?.(d,a.datasetIndex,a.pointIndex),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();l.onPointHover(a.datasetIndex,a.pointIndex,a.x,a.y,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:l.onPointLeave}),r.showValues&&e("text",{x:a.x+a.width/2,y:a.y-5,textAnchor:"middle",className:"c-chart__bar-value-label",children:p(a.value)})]},`bar-${n}`)})),m&&c&&e(xt,{dataPoint:s[c.datasetIndex]?.data?.[c.pointIndex],datasetLabel:s[c.datasetIndex]?.label,datasetColor:s[c.datasetIndex]?.color,position:{x:c.clientX,y:c.clientY},visible:!0})]})},onDataPointClick:s,...l})})));Mt.displayName="BarChart";const wt=p(s((({bubbleData:n=[],config:i={},bubbleOptions:r={},onDataPointClick:o,...s},l)=>{const{minBubbleSize:c=5,maxBubbleSize:d=50,bubbleOpacity:u=.7,showLabels:h=!0,labelPosition:m="center",enableAnimations:p=!0,animationDuration:g=1e3,showSizeLegend:S=!0,sizeLegendTitle:E="Size",colorScheme:A=["var(--atomix-primary)","var(--atomix-secondary)","var(--atomix-success)","var(--atomix-warning)","var(--atomix-error)","var(--atomix-info)"],sizeBasedColoring:N=!1}=r;return e(It,{ref:l,type:"bubble",datasets:[{label:"Bubbles",data:n}],config:i,renderContent:({scales:i,colors:r,datasets:o,handlers:s,hoveredPoint:l,toolbarState:S,config:E})=>{if(!n.length)return null;const _=S?.showTooltips??E?.showTooltips??!0,v=n.map((e=>e.size)),f=Math.min(...v),b=Math.max(...v)-f||1,T=n.map(((a,n)=>{const r=c+(a.size-f)/b*(d-c),o=i.padding.left+a.x/100*i.innerWidth,S=i.padding.top+i.innerHeight-a.y/100*i.innerHeight;let E=a.color;if(!E)if(N){const e=Math.floor((A.length-1)*((a.size-f)/b));E=A[e]}else E=A[n%A.length];return t("g",{children:[e("circle",{cx:o,cy:S,r:r,fill:E,opacity:u,className:"c-chart__bubble "+(l?.pointIndex===n?"c-chart__bubble--hovered":""),style:p?{transition:`all ${g}ms ease`}:{},onClick:()=>s.onDataPointClick?.(a,0,n),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();s.onPointHover(0,n,o,S,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:s.onPointLeave}),h&&e("text",{x:o,y:S,textAnchor:"middle",dominantBaseline:"center"===m?"middle":"top"===m?"text-before-edge":"text-after-edge",className:"c-chart__bubble-label",children:a.label})]},`bubble-${n}`)}));return t(a,{children:[T,_&&l&&l.pointIndex<n.length&&e(xt,{dataPoint:n[l.pointIndex],datasetLabel:"Bubbles",datasetColor:n[l.pointIndex]?.color||A[l.pointIndex%A.length],position:{x:l.clientX,y:l.clientY},visible:!0})]})},onDataPointClick:o,...s})})));wt.displayName="BubbleChart";const Dt=p(s((({candlestickData:n=[],config:i={},candlestickOptions:r={},onDataPointClick:o,...s},l)=>{const{showVolume:c=!0,volumeHeightRatio:d=.2,upColor:u="var(--atomix-success-bg-subtle)",downColor:h="var(--atomix-error-bg-subtle)",wickColor:m="var(--atomix-brand-border-subtle)",borderColor:p="var(--atomix-primary-border-subtle)",showMovingAverages:g=!1,movingAveragePeriods:S=[7,21],movingAverageColors:E=["var(--atomix-warning-bg-subtle)","var(--atomix-warning-border-subtle)"],dateFormat:A="short",dateFormatter:N,showGrid:_=!0,gridColor:v="var(--atomix-brand-text-emphasis)",showTooltips:f=!0}=r;return e(It,{ref:l,type:"candlestick",datasets:[{label:"Candlestick Data",data:n.map((e=>({label:e.date.toString(),value:e.close,metadata:{open:e.open,high:e.high,low:e.low,close:e.close,volume:e.volume}})))}],config:i,renderContent:({scales:i,colors:o,datasets:s,handlers:l,hoveredPoint:A,toolbarState:N,config:f})=>{if(!n.length)return null;const b=N?.showTooltips??f?.showTooltips??r.showTooltips??!0,T=40,L=i.width-80,C=i.height-80,I=c?C*d:0,y=C-I,x=n.map((e=>e.high)),R=n.map((e=>e.low)),O=Math.min(...R),M=Math.max(...x),w=M-O||1,D=n.map((e=>e.volume||0)),B=Math.max(...D)||1,P=[];if(_){for(let t=0;t<=5;t++){const a=T+t/5*y;P.push(e("line",{x1:T,y1:a,x2:T+L,y2:a,stroke:v,strokeWidth:"0.5",strokeDasharray:"4 2"},`price-grid-${t}`))}const t=Math.max(1,Math.floor(n.length/10));for(let a=0;a<n.length;a+=t){const t=T+a/(n.length-1)*L;P.push(e("line",{x1:t,y1:T,x2:t,y2:T+y,stroke:v,strokeWidth:"0.5",strokeDasharray:"4 2"},`time-grid-${a}`))}}const k=n.map(((a,i)=>{const r=a.close>=a.open?u:h,o=T+i/(n.length-1)*L,s=T+(M-a.high)/w*y,c=T+(M-a.low)/w*y,d=T+(M-a.open)/w*y,g=T+(M-a.close)/w*y,S=Math.min(d,g),E=Math.abs(d-g),A=Math.max(1,L/n.length*.8);return t("g",{children:[e("line",{x1:o,y1:s,x2:o,y2:c,stroke:m,strokeWidth:"1",className:"c-chart__candlestick-wick"}),e("rect",{x:o-A/2,y:S,width:A,height:E||1,fill:r,stroke:p,strokeWidth:"1",className:"c-chart__candlestick-candle",onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();l.onPointHover(0,i,o,s,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:l.onPointLeave,onClick:()=>l.onDataPointClick?.(a,0,i)})]},`candle-${i}`)})),U=[];if(c){const t=T+y+20;n.forEach(((a,i)=>{if(!a.volume)return;const r=a.close>=a.open?u:h,o=T+i/(n.length-1)*L,s=a.volume/B*(I-20),l=Math.max(1,L/n.length*.6);U.push(e("rect",{x:o-l/2,y:t+I-s,width:l,height:s,fill:r,fillOpacity:"0.7",className:"c-chart__candlestick-volume"},`volume-${i}`))}))}const G=[];return g&&S.forEach(((t,a)=>{const i=((e,t)=>{const a=[];for(let n=0;n<e.length;n++){if(n<t-1){a.push(NaN);continue}const i=e.slice(n-t+1,n+1).reduce(((e,t)=>e+t.close),0);a.push(i/t)}return a})(n,t),r=E?.[a]||"var(--atomix-warning)",o=i.map(((e,t)=>{if(isNaN(e))return null;return{x:T+t/(n.length-1)*L,y:T+(M-e)/w*y}})).filter(Boolean);if(o.length>1){const a=`M ${o.map((e=>`${e.x},${e.y}`)).join(" L ")}`;G.push(e("path",{d:a,stroke:r,strokeWidth:"1",fill:"none",strokeDasharray:"5,5"},`ma-${t}`))}})),t(a,{children:[P,k,U,G,b&&A&&n[A.pointIndex]&&e(xt,{dataPoint:n[A.pointIndex],datasetLabel:"Candlestick",position:{x:A.clientX,y:A.clientY},visible:!0})]})},onDataPointClick:o,...s})})));Dt.displayName="CandlestickChart";const Bt=p(s((({datasets:n=[],config:i={},pieOptions:r={showValues:!1,showPercentages:!0,showLabels:!1,startAngle:0,sortByValue:!1,padAngle:1},donutOptions:o={innerRadiusRatio:.6,showTotal:!0,centerLabel:"Total",centerValue:void 0,roundedCorners:!0},onDataPointClick:s,...l},d)=>{const u=n.length>0?n[0]:{label:"",data:[]},h=c((()=>{if(!u?.data?.length)return null;const e=u?.data?.filter((e=>"number"==typeof e.value&&!isNaN(e.value)&&isFinite(e.value)&&e.value>0));return e.length?{validDataPoints:e}:null}),[u]);return e(It,{ref:d,type:"donut",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:s,handlers:l,hoveredPoint:c,toolbarState:d,config:m})=>{if(!h)return null;const p=n.width,g=n.height,S=Math.min(p,g)/2*.8,E=S*(o.innerRadiusRatio??.6),A=p/2,N=g/2,_=["var(--atomix-primary-2)","var(--atomix-primary-3)","var(--atomix-primary-4)","var(--atomix-primary-5)","var(--atomix-primary-6)","var(--atomix-primary-7)","var(--atomix-primary-8)","var(--atomix-primary-9)"],v=u?.color?[u.color]:u?.data?.map(((e,t)=>_[t%_.length]))||_,f=h.validDataPoints.reduce(((e,t)=>e+t.value),0),b=(r.padAngle||1)*Math.PI/180;let T=(r.startAngle||0)*Math.PI/180;const L=h.validDataPoints.map(((e,t)=>{const a=e.value/f*(2*Math.PI)-b,n=T,i=T+a,r=(n+i)/2,o=.75*S,s=A+Math.cos(r)*o,l=N+Math.sin(r)*o,c=A+E*Math.cos(n),d=N+E*Math.sin(n),u=A+S*Math.cos(n),h=N+S*Math.sin(n),m=A+S*Math.cos(i),p=N+S*Math.sin(i),g=A+E*Math.cos(i),_=N+E*Math.sin(i),L=a>Math.PI?1:0,C=[`M ${c} ${d}`,`L ${u} ${h}`,`A ${S} ${S} 0 ${L} 1 ${m} ${p}`,`L ${g} ${_}`,`A ${E} ${E} 0 ${L} 0 ${c} ${d}`,"Z"].join(" ");return T=i+b,{path:C,color:e.color||v[t],labelPosition:{x:s,y:l},dataPoint:e,value:e.value,percentage:e.value/f*100}})),C=d?.showTooltips??m?.showTooltips??!0;return t(a,{children:[L.map(((a,n)=>{const i=c?.pointIndex===n;return t("g",{children:[e("path",{d:a.path,fill:a.color,className:"c-chart__donut-slice "+(i?"c-chart__donut-slice--hovered":""),onClick:()=>l.onDataPointClick?.(a.dataPoint,0,n),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();l.onPointHover(0,n,a.labelPosition.x,a.labelPosition.y,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:l.onPointLeave}),r.showLabels&&e("text",{x:a.labelPosition.x,y:a.labelPosition.y,textAnchor:"middle",className:"c-chart__donut-label",children:a.dataPoint.label}),r.showPercentages&&t("text",{x:a.labelPosition.x,y:a.labelPosition.y+20,textAnchor:"middle",className:"c-chart__donut-percentage",children:[a.percentage.toFixed(1),"%"]})]},`slice-${n}`)})),o.showTotal&&t("g",{children:[e("text",{x:A,y:N-10,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__donut-center-label",children:o.centerLabel}),e("text",{x:A,y:N+20,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__donut-center-value",children:void 0!==o.centerValue?o.centerValue:f.toLocaleString()})]}),C&&c&&c.pointIndex<L.length&&L[c.pointIndex]&&e(xt,{dataPoint:L[c.pointIndex].dataPoint,datasetLabel:u?.label,datasetColor:L[c.pointIndex]?.color,position:{x:c.clientX,y:c.clientY},visible:!0})]})},onDataPointClick:s,...l})})));Bt.displayName="DonutChart";const Pt=p(s((({funnelData:n=[],config:i={},funnelOptions:r={},onDataPointClick:o,...s},l)=>{const{direction:c="vertical",showLabels:d=!0,showValues:u=!0,showPercentages:h=!1,labelPosition:m="outside",neckWidth:p=.3,neckHeight:g=.2,segmentGap:S=2,colorScheme:E=["var(--atomix-primary)","var(--atomix-secondary)","var(--atomix-success)","var(--atomix-warning)","var(--atomix-error)","var(--atomix-info)"],useGradient:A=!0,animate:N=!0,animationDuration:_=1e3,animationDelay:v=200,valueFormatter:f=e=>e.toLocaleString(),showConversionRates:b=!0,conversionRatePosition:T="between",proportional:L=!0,minSegmentRatio:C=.1}=r;return e(It,{ref:l,type:"funnel",datasets:[{label:"Funnel Data",data:n}],config:i,renderContent:({scales:i,colors:r,datasets:o,handlers:s,hoveredPoint:l,toolbarState:m,config:g})=>{if(!n.length)return null;const A=m?.showTooltips??g?.showTooltips??!0,I=i.width-120,y=i.height-120,x=Math.max(...n.map((e=>e.value))),R=n.map(((e,t)=>{const a=e.value/x*100,i=t>0&&n[t-1]?e.value/n[t-1].value*100:100;return{...e,percentage:a,conversionRate:i,index:t}})),O=[];if("vertical"===c){const a=(y-(n.length-1)*S)/n.length;R.forEach(((i,r)=>{const o=60+r*(a+S);let l;if(L){const e=Math.max(i.percentage/100,C);l=I*e}else{const e=Math.max(1-r/(n.length-1)*(1-p),C);l=I*e}const c=60+(I-l)/2;let m=i.color||E[r%E.length];const g=R[r+1];let A;if(g)if(L){const e=Math.max(g.percentage/100,C);A=I*e}else{const e=Math.max(1-(r+1)/(n.length-1)*(1-p),C);A=I*e}else A=l*p;const y=60+(I-A)/2,x=o+a,M=`\n M ${c} ${o}\n L ${c+l} ${o}\n L ${y+A} ${x}\n L ${y} ${x}\n Z\n `;O.push(t("g",{children:[e("path",{d:M,fill:m,className:"c-chart__funnel-segment",style:{transition:N?`all ${_}ms cubic-bezier(0.25, 0.1, 0.25, 1) ${r*v}ms`:"none"},onClick:()=>s.onDataPointClick?.(i,0,r)}),(d||u||h)&&t("text",{x:c+l/2,y:o+a/2,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__funnel-label",children:[d&&i.label,u&&e("tspan",{x:c+l/2,dy:"1.2em",children:f(i.value)}),h&&t("tspan",{x:c+l/2,dy:"1.2em",children:[i.percentage.toFixed(1),"%"]})]})]},`segment-${r}`)),b&&g&&"between"===T&&O.push(t("text",{x:c+l/2,y:o+a+S/2,textAnchor:"middle",className:"c-chart__funnel-conversion",children:["↓ ",i.conversionRate.toFixed(1),"%"]},`conversion-${r}`))}))}return t(a,{children:[e("g",{children:O}),A&&l&&n[l.pointIndex]&&e(xt,{dataPoint:n[l.pointIndex],datasetLabel:"Funnel Data",datasetColor:n[l.pointIndex]?.color||r[l.pointIndex%r.length],position:{x:l.clientX,y:l.clientY},visible:!0})]})},onDataPointClick:o,...s})})));Pt.displayName="FunnelChart";const kt=p(s((({value:a,min:n=0,max:i=100,config:r={},gaugeOptions:o={},onDataPointClick:s,...l},c)=>{const{startAngle:d=180,endAngle:u=0,thickness:h=.2,showNeedle:m=!0,needleColor:p="var(--atomix-brand-text-emphasis)",showValue:g=!0,valueFormatter:S=e=>e.toFixed(1),showMinMaxLabels:E=!0,showTicks:A=!0,majorTicks:N=5,minorTicks:_=4,colorZones:v=[],animate:f=!0,animationDuration:b=1e3,animationEasing:T="easeOutCubic",useGradient:L=!1,label:C="",labelPosition:I="bottom"}=o;return e(It,{ref:c,type:"gauge",datasets:[{label:"Gauge Value",data:[{label:"Value",value:a}]}],config:r,renderContent:({scales:r,colors:o,datasets:s,handlers:l,hoveredPoint:c,toolbarState:L,config:y})=>{const x=r.width,R=L?.animationsEnabled??y?.animate??f,O=r.height,M=x/2,w=O/2,D=Math.min(x,O)/2*.9,B=-d*Math.PI/180,P=-u*Math.PI/180,k=P-B,U=Math.min(Math.max(a,n),i),G=B+(U-n)/(i-n)*k,z=(e,t,a,n,i,r)=>{const o=a*(1-r),s=e+a*Math.cos(n),l=t+a*Math.sin(n),c=e+a*Math.cos(i),d=t+a*Math.sin(i),u=e+o*Math.cos(i),h=t+o*Math.sin(i),m=e+o*Math.cos(n),p=t+o*Math.sin(n),g=Math.abs(i-n)>Math.PI?1:0,S=i>n?1:0;return`M ${s} ${l} \n A ${a} ${a} 0 ${g} ${S} ${c} ${d}\n L ${u} ${h}\n A ${o} ${o} 0 ${g} ${1-S} ${m} ${p}\n Z`},F=[];for(const t of v){const a=B+(t.from-n)/(i-n)*k,r=B+(t.to-n)/(i-n)*k;F.push(e("path",{d:z(M,w,D,a,r,h),fill:t.color},`zone-${t.from}-${t.to}`))}const V=[];if(A){for(let t=0;t<=N;t++){const a=n+t/N*(i-n),r=B+t/N*k,o=.95*D,s=.05*D,l=M+o*Math.cos(r),c=w+o*Math.sin(r),d=M+(o-s)*Math.cos(r),u=w+(o-s)*Math.sin(r);if(V.push(e("line",{x1:l,y1:c,x2:d,y2:u,stroke:"var(--atomix-brand-border-subtle)",strokeWidth:"2"},`major-tick-${t}`)),E){const n=M+(o-s-10)*Math.cos(r),i=w+(o-s-10)*Math.sin(r);V.push(e("text",{x:n,y:i,textAnchor:"middle",dominantBaseline:"middle",fontSize:"12",fill:"var(--atomix-brand-text-emphasis)",children:a},`label-${t}`))}}for(let t=0;t<N*_;t++){const a=B+t/(N*_)*k,n=.95*D,i=.025*D,r=M+n*Math.cos(a),o=w+n*Math.sin(a),s=M+(n-i)*Math.cos(a),l=w+(n-i)*Math.sin(a);V.push(e("line",{x1:r,y1:o,x2:s,y2:l,stroke:"var(--atomix-brand-border-subtle)",strokeWidth:"1"},`minor-tick-${t}`))}}const H=m?t("g",{children:[e("line",{x1:M,y1:w,x2:M+.8*D*Math.cos(G),y2:w+.8*D*Math.sin(G),stroke:p,strokeWidth:"3",strokeLinecap:"round"}),e("circle",{cx:M,cy:w,r:"8",fill:p})]}):null,Y=g?e("text",{x:M,y:w+10,textAnchor:"middle",fontSize:"24",fontWeight:"bold",fill:"var(--atomix-primary-text-emphasis)",children:S(U)}):null,K=C?e("text",{x:M,y:"top"===I?w-.7*D:w+.7*D,textAnchor:"middle",fontSize:"16",fill:"var(--atomix-brand-text-emphasis)",children:C}):null;return t("g",{children:[e("path",{d:z(M,w,D,B,P,h),fill:"var(--atomix-secondary-bg-subtle)"}),F,e("path",{d:z(M,w,D,B,G,h),fill:"var(--atomix-brand-bg-subtle)",style:{transition:R?`all ${b}ms ${T}`:"none"}}),V,H,Y,K]})},onDataPointClick:s,...l})})));kt.displayName="GaugeChart";const Ut={viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],plasma:["#0d0887","#5302a3","#8b0aa5","#b83289","#db5c68","#f48849","#febd2a","#f0f921"],inferno:["#000004","#1b0c41","#4b0c6b","#781c6d","#a52c60","#cf4446","#ed6925","#fb9b06","#fcffa4"],magma:["#000004","#1c1044","#4f127b","#812581","#b5367a","#e55964","#fb8761","#fec287","#fcfdbf"],blues:["var(--atomix-blue-1)","var(--atomix-blue-2)","var(--atomix-blue-3)","var(--atomix-blue-4)","var(--atomix-blue-5)","var(--atomix-blue-6)","var(--atomix-blue-7)","var(--atomix-blue-8)","var(--atomix-blue-9)"],reds:["var(--atomix-red-1)","var(--atomix-red-2)","var(--atomix-red-3)","var(--atomix-red-4)","var(--atomix-red-5)","var(--atomix-red-6)","var(--atomix-red-7)","var(--atomix-red-8)","var(--atomix-red-9)"],greens:["var(--atomix-green-1)","var(--atomix-green-2)","var(--atomix-green-3)","var(--atomix-green-4)","var(--atomix-green-5)","var(--atomix-green-6)","var(--atomix-green-7)","var(--atomix-green-8)","var(--atomix-green-9)"],github:["var(--atomix-gray-2)","var(--atomix-green-3)","var(--atomix-green-4)","var(--atomix-green-5)","var(--atomix-green-6)"]},Gt=p(s((({data:n=[],config:r={},colorScale:o={scheme:"viridis",steps:9},cellConfig:s={width:40,height:40,spacing:2,borderRadius:4,showLabels:!1},showColorLegend:l=!0,showGrid:u=!0,onDataPointClick:h,...m},p)=>{const[g,S]=i(null),E=c((()=>{if(!n.length)return{matrix:[],xLabels:[],yLabels:[]};const e=Array.from(new Set(n.map((e=>e.x)))).sort(),t=Array.from(new Set(n.map((e=>e.y)))).sort(),a=[];return t.forEach((t=>{const i=[];e.forEach((e=>{const a=n.find((a=>a.x===e&&a.y===t));i.push(a||null)})),a.push(i)})),{matrix:a,xLabels:e,yLabels:t}}),[n]),A=d((e=>{if(!E.matrix.length)return"var(--atomix-secondary-bg-subtle)";let t,a=o.min,i=o.max;if(void 0===a||void 0===i){const e=n.filter((e=>void 0!==e.value)).map((e=>e.value));void 0===a&&(a=Math.min(...e)),void 0===i&&(i=Math.max(...e))}if("custom"===o.scheme&&o.colors)t=o.colors;else{const e=o.scheme;t=Ut[e]||Ut.viridis}const r=o.steps||t.length,s=i-a;if(0===s)return t[0];const l=(e-a)/s,c=Math.min(Math.floor(l*r),r-1);return t[Math.floor(c/r*(t.length-1))]}),[E,o,n]),N=[{label:"Heatmap Data",data:n.map((e=>({...e,label:e.label||`${e.x}, ${e.y}`,value:e.value})))}];return e(It,{ref:p,type:"heatmap",datasets:N,config:r,renderContent:({scales:n,colors:i,datasets:r,handlers:c,hoveredPoint:d,toolbarState:u,config:h})=>{const{matrix:m,xLabels:p,yLabels:N}=E,_=u?.showTooltips??h?.showTooltips??!0;if(!m.length)return null;const v=s.width||40,f=s.height||40,b=s.spacing||2,T=s.borderRadius||4;p.length,N.length;return t(a,{children:[t("g",{children:[e("defs",{children:l&&(()=>{const t=Ut[o.scheme]||Ut.viridis;return t&&0!==t.length?e("linearGradient",{id:"heatmap-legend-gradient",x1:"0%",y1:"100%",x2:"0%",y2:"0%",children:t.map(((a,n)=>e("stop",{offset:n/(t.length-1)*100+"%",stopColor:a},n)))}):null})()}),m.map(((a,n)=>a.map(((a,i)=>{if(!a)return null;const r=100+i*(v+b),o=50+n*(f+b),l=A(a.value),d=g===a;return t("g",{children:[e("rect",{x:r,y:o,width:v,height:f,rx:T,ry:T,fill:l,className:"c-chart__heatmap-cell "+(d?"c-chart__heatmap-cell--hovered":""),style:{transition:"all 0.2s ease",transform:d?"scale(1.05)":"scale(1)",transformOrigin:"center"},onClick:()=>{a&&c.onDataPointClick?.({...a,label:a.label||`${a.x}, ${a.y}`,value:a.value},n,i)},onMouseEnter:e=>{S(a)},onMouseLeave:()=>S(null)}),s.showLabels&&a.label&&e("text",{x:r+v/2,y:o+f/2,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__heatmap-label",children:a.label})]},`cell-${n}-${i}`)})))),p.map(((t,a)=>{const n=100+a*(v+b)+v/2,i=50+m.length*(f+b)+20;return e("text",{x:n,y:i,textAnchor:"middle",className:"c-chart__heatmap-axis-label",children:String(t)},`x-label-${a}`)})),N.map(((t,a)=>e("text",{x:80,y:50+a*(f+b)+f/2,textAnchor:"end",dominantBaseline:"middle",className:"c-chart__heatmap-axis-label",children:String(t)},`y-label-${a}`))),l&&t("g",{transform:"translate(600, 100)",children:[e("rect",{x:"0",y:"0",width:"20",height:"200",fill:"url(#heatmap-legend-gradient)",stroke:"var(--atomix-border-color)",className:"c-chart__grid"}),e("text",{x:"-10",y:"-10",className:"c-chart__heatmap-legend-title",children:"Values"}),e("text",{x:"25",y:"5",textAnchor:"start",className:"c-chart__heatmap-legend-label",children:"High"}),e("text",{x:"25",y:"200",textAnchor:"start",className:"c-chart__heatmap-legend-label",children:"Low"})]})]}),_&&d&&r[d.datasetIndex]?.data?.[d.pointIndex]&&e(xt,{dataPoint:r[d.datasetIndex].data[d.pointIndex],datasetLabel:r[d.datasetIndex]?.label,datasetColor:r[d.datasetIndex]?.color||i[d.datasetIndex%i.length],position:{x:d.clientX,y:d.clientY},visible:!0})]})},onDataPointClick:h,...m})})));function zt(e,t={}){const[a,n]=i(1),[r,o]=i({x:0,y:0}),[s,l]=i(null),u=d(((e,t)=>{const a=[];for(let n=t-1;n<e.length;n++){const i=e.slice(n-t+1,n+1).reduce(((e,t)=>e+t.value),0)/t,r=e[n];r&&a.push({label:r.label,value:i,color:"rgba(255, 255, 255, 0.5)"})}return a}),[]),h=d((e=>{const t=e.length;if(t<2)return e.map((()=>null));const a=e.reduce(((e,t,a)=>e+a),0),n=e.reduce(((e,t)=>e+t.value),0),i=(t*e.reduce(((e,t,a)=>e+a*t.value),0)-a*n)/(t*e.reduce(((e,t,a)=>e+a*a),0)-a*a),r=(n-i*a)/t;return e.map(((e,t)=>({label:e.label,value:i*t+r,color:"rgba(255, 255, 255, 0.3)"})))}),[]),m=d(((e,t=.4)=>{if(e.length<2)return"";const a=e.map(((a,n)=>{if(0===n||n===e.length-1)return{cp1x:a.x,cp1y:a.y,cp2x:a.x,cp2y:a.y};const i=e[n-1],r=e[n+1];if(!i||!r)return{cp1x:a.x,cp1y:a.y,cp2x:a.x,cp2y:a.y};const o=r.x-i.x,s=r.y-i.y;return{cp1x:a.x-o*t,cp1y:a.y-s*t,cp2x:a.x+o*t,cp2y:a.y+s*t}})),n=e[0];if(!n)return"";let i=`M ${n.x},${n.y}`;for(let t=1;t<e.length;t++){const n=a[t-1],r=a[t],o=e[t];n&&r&&o&&(i+=` C ${n.cp2x},${n.cp2y} ${r.cp1x},${r.cp1y} ${o.x},${o.y}`)}return i}),[]),p=d(((e,i,r)=>{if(!t.enableZoom)return;const s=e>0?.9:1.1,l=Math.max(.1,Math.min(10,a*s));n(l);const c=l/a;o((e=>({x:i-(i-e.x)*c,y:r-(r-e.y)*c})))}),[a,t.enableZoom]),g=d(((e,a)=>{t.enablePan&&o((t=>({x:t.x+e,y:t.y+a})))}),[t.enablePan]),S=d((()=>{n(1),o({x:0,y:0})}),[]),E=d(((e,t,a,n,i,r)=>{l({datasetIndex:e,pointIndex:t,x:a,y:n,clientX:i,clientY:r})}),[]),A=d((()=>{l(null)}),[]),N=c((()=>e.map((e=>{const a={...e};return t.showMovingAverages&&t.movingAveragePeriods&&(a.movingAverages=t.movingAveragePeriods.map((t=>({period:t,data:u(e.data,t)})))),t.showTrendLines&&(a.trendLine=h(e.data)),a}))),[e,t.showMovingAverages,t.movingAveragePeriods,t.showTrendLines,u,h]);return{zoomLevel:a,panOffset:r,hoveredPoint:s,processedDatasets:N,handleZoom:p,handlePan:g,resetView:S,handlePointHover:E,handlePointLeave:A,calculateMovingAverage:u,calculateTrendLine:h,generateSmoothPath:m,setZoomLevel:n,setPanOffset:o,setHoveredPoint:l}}Gt.displayName="HeatmapChart";const Ft=p(s((({datasets:n=[],config:i={},lineOptions:r={},onDataPointClick:o,onRealTimeUpdate:s,onZoomChange:l,onPanChange:c,onBrushSelection:d,...u},h)=>{const m={showDataPoints:!0,lineWidth:2,pointRadius:4,smooth:!1,tension:.4,showArea:!1,fillOpacity:.3,showPointLabels:!1,...r},{processedDatasets:p,generateSmoothPath:g,calculateMovingAverage:S,handlePointHover:E,handlePointLeave:A,hoveredPoint:N}=zt(n,m);return e(It,{ref:h,type:"line",datasets:p,config:i,renderContent:({scales:n,colors:i,datasets:r,handlers:o,hoveredPoint:s,toolbarState:l,config:c})=>{if(!r.length)return null;const d=l?.showTooltips??c?.showTooltips??!0;return l?.animationsEnabled??c?.animate??m.smooth,t(a,{children:[r.map(((a,r)=>{const l=a.color||i[r],c=a.data?.length||0;if(0===c)return null;const d=a.data?.map(((e,t)=>({x:n.xScale(t,c),y:n.yScale(e.value)})))||[],u=m.smooth?g(d):`M ${d.map((e=>`${e.x},${e.y}`)).join(" L ")}`;return t("g",{children:[m.showArea&&e("path",{d:`${u} L ${d[d.length-1]?.x||0},${n.yScale(0)} L ${d[0]?.x||0},${n.yScale(0)} Z`,fill:l,fillOpacity:m.fillOpacity||.3,className:"c-chart__area-path"}),e("path",{d:u,stroke:l,strokeWidth:m.lineWidth||2,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",className:"c-chart__line-path"}),m.showDataPoints&&a.data?.map(((a,i)=>{const d=n.xScale(i,c),u=n.yScale(a.value),h=s?.datasetIndex===r&&s?.pointIndex===i;return t("g",{children:[e("circle",{cx:d,cy:u,r:h?1.5*m.pointRadius:m.pointRadius,fill:l,stroke:"white",strokeWidth:h?2:1,className:"c-chart__data-point "+(h?"c-chart__data-point--hovered":""),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();o.onPointHover(r,i,d,u,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:o.onPointLeave,onClick:()=>o.onDataPointClick?.(a,r,i),style:{cursor:"pointer"}}),m.showPointLabels&&e("text",{x:d,y:u-15,textAnchor:"middle",fontSize:"12",fill:l,className:"c-chart__point-label",children:a.value})]},`point-${i}`)}))]},`dataset-${r}`)})),d&&s&&r[s.datasetIndex]?.data?.[s.pointIndex]&&e(xt,{dataPoint:r[s.datasetIndex].data[s.pointIndex],datasetLabel:r[s.datasetIndex]?.label,datasetColor:r[s.datasetIndex]?.color,position:{x:s.clientX,y:s.clientY},visible:!0})]})},onDataPointClick:o,interactive:!0,enableAccessibility:!0,...u})})));Ft.displayName="LineChart";const Vt=p(s((({datasets:a=[],config:n={},yAxes:i=[],xAxes:r=[],multiAxisOptions:o={},onDataPointClick:s,...l},c)=>{const{showLegend:d=!0,legendPosition:u="top",syncAxes:h=!1,axisPadding:m=20,showTooltips:p=!0,tooltipPosition:g="nearest",interpolation:S="linear",showArea:E=!1,areaOpacity:A=.3,showDataPoints:N=!0,pointRadius:_=4,spanGaps:v=!1}=o;return e(It,{ref:c,type:"line",datasets:a,config:n,renderContent:({scales:n,colors:o,datasets:s,handlers:l,hoveredPoint:c,toolbarState:h,config:m})=>{if(!a.length)return null;const p=h?.showGrid??!0,g=60,S=n.width-120,v=n.height-120,f=i.length?i:[{id:"y-axis-1",position:"left",label:"Y Axis"}],b=r.length?r:[{id:"x-axis-1",position:"bottom",label:"X Axis"}],T={};a.forEach(((e,t)=>{const a=e.yAxisId||f[0]?.id||"y-axis-1";T[a]||(T[a]=[]),T[a].push({...e,index:t})}));const L={};Object.entries(T).forEach((([e,t])=>{const a=t.flatMap((e=>e.data.map((e=>e.value)))),n=Math.min(...a),i=Math.max(...a),r=i-n||1;L[e]={min:n,max:i,scale:v/r}}));const C=[];if(p)for(let t=0;t<=5;t++){const a=g+t/5*v;C.push(e("line",{x1:g,y1:a,x2:g+S,y2:a,className:"c-chart__grid"},`grid-${t}`))}if(a.forEach(((t,a)=>{const n=t.yAxisId||f[0]?.id||"y-axis-1",i=L[n],r=t.color||o[a%o.length],s=t.data.map(((e,a)=>({x:g+a/(t.data.length-1)*S,y:i?g+v-(e.value-i.min)*i.scale:0})));let c="";if(s.length>0&&(c=`M ${s.map((e=>`${e.x},${e.y}`)).join(" L ")}`),E&&c){const t=`${c} L ${g+S},${g+v} L 60,${g+v} Z`;C.push(e("path",{d:t,fill:r,fillOpacity:A},`area-${a}`))}C.push(e("path",{d:c,stroke:r,fill:"none",className:"c-chart__data-line"},`line-${a}`)),N&&s.forEach(((n,i)=>{const o=t.data[i];o&&C.push(e("circle",{cx:n.x,cy:n.y,r:_,fill:r,onClick:()=>l.onDataPointClick?.(o,a,i)},`point-${a}-${i}`))}))})),f.forEach((t=>{C.push(e("line",{x1:g,y1:g,x2:g,y2:g+v,stroke:t.color||"var(--atomix-text-primary)",className:"c-chart__axis-line"},`y-axis-${t.id}`))})),b.forEach((t=>{C.push(e("line",{x1:g,y1:g+v,x2:g+S,y2:g+v,stroke:t.color||"var(--atomix-text-primary)",className:"c-chart__axis-line"},`x-axis-${t.id}`))})),d){const i="top"===u?20:n.height-30;a.forEach(((n,r)=>{const s=n.color||o[r%o.length],l=g+r*S/a.length;C.push(t("g",{children:[e("rect",{x:l,y:i,width:"12",height:"12",fill:s,className:"c-chart__legend-item-color"}),e("text",{x:l+16,y:i+10,className:"c-chart__legend-item-text",children:n.label})]},`legend-${r}`))}))}return e("g",{children:C})},onDataPointClick:s,...l})})));function Ht(e,t={}){const[a,n]=i(null),[r,o]=i(new Set),[s,l]=i(0),[u,h]=i(!1),m=c((()=>{const a=e.filter((e=>"number"==typeof e.value&&!isNaN(e.value)&&isFinite(e.value)&&e.value>0));return a.length?t.sortByValue?[...a].sort(((e,t)=>t.value-e.value)):a:[]}),[e,t.sortByValue]),p=c((()=>m.reduce(((e,t)=>e+t.value),0)),[m]),g=c((()=>{if(!m.length||p<=0)return[];const e=400,a=200,n=150,i=n*(t.innerRadius||0),r=["#7AFFD7","#1AFFD2","#00E6C3","#4DFF9F","#1AFF85","#00E66B","#DD6061","#FF1A1A","#E60000","#FFCC00","#E6B800","#B38F00"];let o=(t.startAngle||0)*Math.PI/180;const s=(t.padAngle||1)*Math.PI/180;return m.map(((t,l)=>{const c=t.value/p,d=2*c*Math.PI-s,u=o+d,h=o+d/2,m=e+n*Math.cos(o),g=a+n*Math.sin(o),S=e+n*Math.cos(u),E=a+n*Math.sin(u),A=d>Math.PI?1:0;let N;if(i>0){const t=e+i*Math.cos(u),n=a+i*Math.sin(u),r=e+i*Math.cos(o),s=a+i*Math.sin(o);N=[`M ${m},${g}`,`A 150,150 0 ${A},1 ${S},${E}`,`L ${t},${n}`,`A ${i},${i} 0 ${A},0 ${r},${s}`,"Z"].join(" ")}else N=["M 400,200",`L ${m},${g}`,`A 150,150 0 ${A},1 ${S},${E}`,"Z"].join(" ");const _=(n+i)/2||105,v=e+_*Math.cos(h),f=a+_*Math.sin(h),b={dataPoint:t,index:l,startAngle:o,endAngle:u,midAngle:h,color:t.color||r[l%r.length],percentage:100*c,value:t.value,label:t.label,path:N,labelPosition:{x:v,y:f}};return o=u+s,b}))}),[m,p,t.innerRadius,t.startAngle,t.padAngle]),S=d((()=>{if(!t.enableAnimations)return;h(!0),l(0);const e=t.animationDuration||1e3,a=Date.now(),n=()=>{const t=Date.now()-a,i=Math.min(t/e,1),r=1-Math.pow(1-i,3);l(r),i<1?requestAnimationFrame(n):h(!1)};requestAnimationFrame(n)}),[t.enableAnimations,t.animationDuration]),E=d(((e,t,a)=>{n(e)}),[]),A=d((()=>{n(null)}),[]),N=d((e=>{t.enableSelection&&o((t=>{const a=new Set(t);return a.has(e)?a.delete(e):a.add(e),a}))}),[t.enableSelection]),_=d((e=>{if(t.labelFormatter)return t.labelFormatter(e.value,e.percentage,e.label);const a=[];return!1!==t.showLabels&&a.push(e.label),t.showPercentages&&a.push(`${Math.round(e.percentage)}%`),t.showValues&&a.push(e.value.toString()),a.join(" - ")}),[t.labelFormatter,t.showLabels,t.showPercentages,t.showValues]),v=d(((e,a)=>{if(!a||!t.enableHoverEffects||!t.hoverOffset)return"";return`translate(${Math.cos(e.midAngle)*t.hoverOffset}, ${Math.sin(e.midAngle)*t.hoverOffset})`}),[t.enableHoverEffects,t.hoverOffset]),f=d((e=>r.has(e)),[r]);return{processedData:m,slices:g,totalValue:p,hoveredSlice:a,selectedSlices:r,animationProgress:s,isAnimating:u,handleSliceHover:E,handleSliceLeave:A,handleSliceClick:N,startAnimation:S,formatLabel:_,getSliceTransform:v,isSliceSelected:f,setHoveredSlice:n,setSelectedSlices:o,setAnimationProgress:l,setIsAnimating:h}}Vt.displayName="MultiAxisChart";const Yt=p(s((({datasets:n=[],config:i={},pieOptions:r={},onDataPointClick:o,...s},l)=>{const c=n[0]?.data||[],{slices:d,handleSliceHover:u,handleSliceLeave:h,handleSliceClick:m,formatLabel:p,hoveredSlice:g,selectedSlices:S}=Ht(c,r);return e(It,{ref:l,type:"pie",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:o,handlers:s,hoveredPoint:l,toolbarState:u,config:h})=>{if(!d.length)return null;const g=n.width,S=n.height,E=g/2,A=S/2,N=Math.min(g,S)/2*.8,_=d.map((e=>{const t=E+N*Math.cos(e.startAngle),a=A+N*Math.sin(e.startAngle),n=E+N*Math.cos(e.endAngle),i=A+N*Math.sin(e.endAngle),r=e.endAngle-e.startAngle>Math.PI?1:0,o=[`M ${E},${A}`,`L ${t},${a}`,`A ${N},${N} 0 ${r},1 ${n},${i}`,"Z"].join(" "),s=.7*N,l=E+s*Math.cos(e.midAngle),c=A+s*Math.sin(e.midAngle);return{...e,path:o,labelPosition:{x:l,y:c}}})),v=u?.showTooltips??h?.showTooltips??!0;return t(a,{children:[_.map(((a,n)=>{const i=l?.pointIndex===n;return t("g",{children:[e("path",{d:a.path,fill:a.color,className:"c-chart__pie-slice "+(i?"c-chart__pie-slice--hovered":""),onClick:()=>{m(n),s.onDataPointClick?.(a.dataPoint,0,n)},onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();s.onPointHover(0,n,a.labelPosition.x,a.labelPosition.y,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:s.onPointLeave}),r.showLabels&&e("text",{x:a.labelPosition.x,y:a.labelPosition.y,textAnchor:"middle",className:"c-chart__pie-label",children:p(a)})]},`slice-${n}`)})),v&&l&&c[l.pointIndex]&&e(xt,{dataPoint:c[l.pointIndex],datasetLabel:o[0]?.label,datasetColor:d[l.pointIndex]?.color,position:{x:l.clientX,y:l.clientY},visible:!0})]})},onDataPointClick:o,...s})})));Yt.displayName="PieChart";const Kt=p(s((({datasets:n=[],config:i={},radarOptions:r={},onDataPointClick:o,...s},l)=>{const{gridLevels:c=5,showGrid:d=!0,showAxisLabels:u=!0,fillArea:h=!0,fillOpacity:m=.3,showDataPoints:p=!0,pointRadius:g=4,lineWidth:S=2,smooth:E=!1,scaleType:A="linear",scaleMin:N=0,scaleMax:_}=r;return e(It,{ref:l,type:"radar",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:r,handlers:o,hoveredPoint:s,toolbarState:l,config:A})=>{if(!r.length)return null;const v=l?.showTooltips??A?.showTooltips??!0,f=n.width/2,b=n.height/2,T=.8*Math.min(f,b),L=r[0].data||[],C=2*Math.PI/L.length;let I=N,y=_;if(void 0===I||void 0===y){const e=r.flatMap((e=>e.data?.map((e=>e.value))||[]));void 0===I&&(I=Math.min(N,...e)),void 0===y&&(y=Math.max(_||0,...e))}const x=y-I,R=[];if(d){for(let t=1;t<=c;t++){const a=T*t/c;R.push(e("circle",{cx:f,cy:b,r:a,className:"c-chart__radar-grid-line",fill:"none",stroke:"var(--atomix-border-color)",strokeWidth:"1"},`grid-circle-${t}`))}for(let t=0;t<L.length;t++){const a=t*C-Math.PI/2,n=f+T*Math.cos(a),i=b+T*Math.sin(a);R.push(e("line",{x1:f,y1:b,x2:n,y2:i,className:"c-chart__radar-grid-line",stroke:"var(--atomix-border-color)",strokeWidth:"1"},`grid-radial-${t}`))}}const O=[];if(u)for(let t=0;t<L.length;t++){const a=t*C-Math.PI/2,n=f+(T+20)*Math.cos(a),i=b+(T+20)*Math.sin(a);O.push(e("text",{x:n,y:i,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__radar-axis-label",children:L[t]?.label},`label-${t}`))}const M=r.map(((a,n)=>{const r=a.color||i[n%i.length],l=[];for(let e=0;e<a.data?.length;e++){const t=a.data[e]?.value||0,n=T*(x>0?(t-I)/x:0),i=e*C-Math.PI/2,r=f+n*Math.cos(i),o=b+n*Math.sin(i);l.push({x:r,y:o,value:t,point:a.data[e]})}if(0===l.length)return null;let c="";if(E&&l.length>2){c=`M ${l[0].x},${l[0].y}`;for(let e=1;e<l.length;e++)c+=` L ${l[e].x},${l[e].y}`;c+=` L ${l[0].x},${l[0].y} Z`}else{c=`M ${l[0].x},${l[0].y}`;for(let e=1;e<l.length;e++)c+=` L ${l[e].x},${l[e].y}`;c+=` L ${l[0].x},${l[0].y} Z`}return t("g",{children:[h&&e("path",{d:c,fill:r,fillOpacity:m,className:"c-chart__radar-area"}),e("path",{d:c,fill:"none",stroke:r,strokeWidth:S,className:"c-chart__radar-line"}),p&&l.map(((t,a)=>{const i=s?.datasetIndex===n&&s?.pointIndex===a;return e("g",{children:e("circle",{cx:t.x,cy:t.y,r:i?1.5*g:g,fill:r,className:"c-chart__radar-point "+(i?"c-chart__radar-point--hovered":""),onClick:()=>o.onDataPointClick?.(t.point,n,a),onMouseEnter:e=>{const i=e.currentTarget.getBoundingClientRect();o.onPointHover(n,a,t.x,t.y,i.left+i.width/2,i.top+i.height/2)},onMouseLeave:o.onPointLeave})},`point-${n}-${a}`)}))]},`dataset-${n}`)}));return t(a,{children:[t("g",{children:[R,M,O]}),v&&s&&e(xt,{dataPoint:r[s.datasetIndex]?.data?.[s.pointIndex],datasetLabel:r[s.datasetIndex]?.label,datasetColor:r[s.datasetIndex]?.color||i[s.datasetIndex],position:{x:s.clientX,y:s.clientY},visible:!0})]})},onDataPointClick:o,...s})})));Kt.displayName="RadarChart";const Wt=p(s((({datasets:n=[],config:i={},scatterOptions:r={pointRadius:4,showLabels:!1,enableHoverEffects:!0},onDataPointClick:o,...s},l)=>e(It,{ref:l,type:"scatter",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:o,handlers:s,hoveredPoint:l,toolbarState:c,config:d})=>{if(!o.length)return null;const u=c?.showTooltips??d?.showTooltips??!0,h=[];return o.forEach(((a,o)=>{const l=a.color||i[o%i.length];a.data?.forEach(((i,c)=>{const d=void 0!==i.x?n.padding.left+i.x/100*n.innerWidth:n.xScale(c,a.data?.length),u=void 0!==i.y?n.padding.top+n.innerHeight-i.y/100*n.innerHeight:n.yScale(i.value);h.push(t("g",{children:[e("circle",{cx:d,cy:u,r:i.size||r.pointRadius||4,fill:i.color||l,className:"c-chart__scatter-point",onClick:()=>s.onDataPointClick?.(i,o,c),onMouseEnter:e=>{if(r.enableHoverEffects){const t=Math.max(0,1.5*(i.size||r.pointRadius||4));e.currentTarget.setAttribute("r",String(t))}const t=e.currentTarget.getBoundingClientRect();s.onPointHover(o,c,d,u,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:e=>{if(r.enableHoverEffects){const t=Math.max(0,i.size||r.pointRadius||4);e.currentTarget.setAttribute("r",String(t))}s.onPointLeave()}}),r.showLabels&&i.label&&e("text",{x:d,y:u-10,textAnchor:"middle",className:"c-chart__scatter-label",children:String(i.label).replace(/[<>&"']/g,(e=>({"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;","'":"&#x27;"}[e]||e)))})]},`point-${o}-${c}`))}))})),t(a,{children:[h,u&&l&&e(xt,{dataPoint:o[l.datasetIndex]?.data?.[l.pointIndex],datasetLabel:o[l.datasetIndex]?.label,datasetColor:o[l.datasetIndex]?.color||i[l.datasetIndex],position:{x:l.clientX,y:l.clientY},visible:!0})]})},onDataPointClick:o,...s}))));Wt.displayName="ScatterChart";const $t=p(s((({data:n=[],algorithm:r="squarified",colorConfig:o={scheme:"category"},labelConfig:s={showLabels:!0,minSize:1e3,fontSize:12,textColor:"white"},onDataPointClick:l,config:u={},...h},m)=>{const[p,g]=i(null),[S,E]=i(null);i({x:0,y:0}),c((()=>{if(!n.length)return null;const e=new Map;n.forEach((t=>e.set(t.id,t)));const t=[],a=new Set,i=e=>{if(a.has(e.id))return e;a.add(e.id);const t=n.filter((t=>t.parent===e.id));return t.length>0&&(e.children=t.map((e=>i(e))),e.value=e.children.reduce(((e,t)=>e+t.value),0)),e};return n.forEach((a=>{a.parent&&e.has(a.parent)||t.push(i(a))})),1===t.length?t[0]:{id:"root",label:"Root",value:t.reduce(((e,t)=>e+t.value),0),children:t}}),[n]);const A=d(((e,t,a)=>{if(e.color)return e.color;const{scheme:i,palette:r}=o,s=r||["var(--atomix-primary)","var(--atomix-error)","var(--atomix-success)","var(--atomix-warning)","var(--atomix-primary-5)","var(--atomix-info)","var(--atomix-success-5)","var(--atomix-warning-7)","var(--atomix-primary-3)","var(--atomix-primary-7)"];switch(i){case"category":default:return s[a%s.length];case"depth":const i=["var(--atomix-blue-9)","var(--atomix-blue-6)","var(--atomix-blue-5)","var(--atomix-blue-4)","var(--atomix-blue-2)"];return i[Math.min(t,i.length-1)];case"value":if(n.length>0){const t=Math.max(...n.map((e=>e.value))),a=Math.min(...n.map((e=>e.value))),i=(e.value-a)/(t-a);return`hsl(${220+100*i}, 70%, ${30+40*i}%)`}return s[0]}}),[o,n]),N=d(((e,t,a,n,i)=>{if(0===e.length)return;const r=e.reduce(((e,t)=>e+t.value),0);if(1===e.length){const r=e[0];return void(r&&(r.x=t,r.y=a,r.width=n,r.height=i))}const o=[...e].sort(((e,t)=>t.value-e.value)),s=e=>Math.max(e.width/e.height,e.height/e.width);let l=[],c=[...o],d=t,u=a,h=n,m=i;for(;c.length>0;){const e=c.shift();if(!e)break;l.push(e);const t=l.reduce(((e,t)=>e+t.value),0),a=t/r;let n,i;h>=m?(n=h*a,i=m):(n=h,i=m*a);let o=!1;if(c.length>0){const e=c[0];if(!e)break;const a=[...l,e],d=a.reduce(((e,t)=>e+t.value),0),u=d/r;let p,g;h>=m?(p=h*u,g=m):(p=h,g=m*u);const S=Math.max(...l.filter((e=>e)).map((e=>{const a=e.value/t;return s({width:h>=m?n:n*a,height:h>=m?i*a:i})})));o=Math.max(...a.filter((e=>e)).map((e=>{const t=e.value/d;return s({width:h>=m?p:p*t,height:h>=m?g*t:g})})))<=S}if(!o){let e=d,a=u;l.forEach((r=>{const o=r.value/t;h>=m?(r.x=e,r.y=a,r.width=n,r.height=m*o,a+=r.height):(r.x=e,r.y=a,r.width=h*o,r.height=i,e+=r.width)})),h>=m?(d+=n,h-=n):(u+=i,m-=i),l=[]}}}),[]);return e(It,{ref:m,type:"treemap",datasets:[{label:"Treemap Data",data:n}],config:u,renderContent:({scales:i,colors:o,datasets:l,handlers:c,hoveredPoint:d})=>{if(!n.length)return null;const u=i.width-40,h=i.height-40,m=n.filter((e=>!e.children||0===e.children.length));if(!m.length)return null;const _=m.reduce(((e,t)=>e+t.value),0),v=m.map(((e,t)=>({id:e.id,label:e.label,value:e.value,color:A(e,0,t)||"transparent",x:0,y:0,width:0,height:0,depth:0,children:[],originalData:e})));if("squarified"===r&&_>0)N(v,20,20,u,h);else{const e=Math.ceil(Math.sqrt(m.length)),t=Math.ceil(m.length/e),a=u/e,n=h/t;v.forEach(((t,i)=>{const r=i%e,o=Math.floor(i/e);t.x=20+r*a,t.y=20+o*n,t.width=a,t.height=n}))}return e(a,{children:v.map((a=>{const n=p===a,i=S===a,r=a.width*a.height,o=s.showLabels&&r>=(s.minSize||1e3);return t("g",{children:[e("rect",{x:a.x,y:a.y,width:a.width,height:a.height,fill:a.color,className:`c-chart__treemap-node ${n?"c-chart__treemap-node--hovered":""} ${i?"c-chart__treemap-node--selected":""}`,onClick:()=>{E(a),c.onDataPointClick?.(a.originalData,0,0)},onMouseEnter:e=>{g(a);const t=e.currentTarget.getBoundingClientRect();c.onPointHover(0,0,a.x,a.y,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:()=>{g(null),c.onPointLeave()}}),o&&e("text",{x:a.x+a.width/2,y:a.y+a.height/2,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__treemap-label",style:{fontSize:s.fontSize,fill:s.textColor},children:a.label})]},a.id)}))})},onDataPointClick:l,interactive:!0,...h})})));$t.displayName="TreemapChart";const Qt=p(s((({waterfallData:t=[],config:a={},waterfallOptions:n={},onDataPointClick:i,...r},o)=>{const{showConnectors:s=!0,connectorColor:l="var(--atomix-gray-1)",connectorStyle:c="dashed",showValues:d=!0,valuePosition:u="top",colors:h={positive:"var(--atomix-success)",negative:"var(--atomix-error)",total:"var(--atomix-primary)",subtotal:"var(--atomix-secondary)"},barWidth:m=.6,showCumulativeLine:p=!1,cumulativeLineColor:g="var(--atomix-primary)",animate:S=!0,animationDuration:E=1e3,animationDelay:A=100,valueFormatter:N=e=>e.toLocaleString(),showBaseline:_=!0,baselineColor:v="var(--atomix-gray-2)"}=n;return e(It,{ref:o,type:"waterfall",datasets:[{label:"Waterfall Data",data:t}],config:a,renderContent:({scales:a,colors:n,datasets:i,handlers:r,hoveredPoint:o,toolbarState:E,config:f})=>{if(!t.length)return null;const b=E?.animationsEnabled??f?.animate??S,T=60,L=a.width-120,C=a.height-120;let I=0;const y=t.map(((e,t)=>{const a="total"===e.type||"subtotal"===e.type?0:I;let n;return"total"===e.type||"subtotal"===e.type?(n=e.value,I=e.value):(n=I+e.value,I=n),{...e,startValue:a,endValue:n,cumulativeValue:I,index:t}})),x=y.flatMap((e=>[e.startValue,e.endValue])),R=Math.min(0,...x),O=Math.max(...x)-R,M=L/t.length*m,w=L/t.length,D=e=>T+e*w+w/2,B=e=>T+C-(e-R)/O*C,P=[];if(_){const t=B(0);P.push(e("line",{x1:T,y1:t,x2:a.width-T,y2:t,stroke:v,className:"c-chart__axis-line",opacity:"0.7"},"baseline"))}if(y.forEach(((t,a)=>{const n=D(a),i=Math.min(B(t.startValue),B(t.endValue)),o=Math.max(B(t.startValue),B(t.endValue)),m=o-i;let p=t.color;if(p||(p="total"===t.type?h.total:"subtotal"===t.type?h.subtotal:t.value>=0?h.positive:h.negative),P.push(e("rect",{x:n-M/2,y:i,width:M,height:Math.max(m,2),fill:p,className:"c-chart__waterfall-bar "+(b?"c-chart__waterfall-bar--animated":""),style:{animationDelay:b?a*A+"ms":"0ms"},onClick:()=>r.onDataPointClick?.(t,0,a),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();r.onPointHover(0,a,n,i,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:r.onPointLeave},`bar-${a}`)),d){let r=i,s=t.value;r="center"===u?i+m/2:"bottom"===u?o+15:i-5,"total"!==t.type&&"subtotal"!==t.type||(s=t.endValue),P.push(e("text",{x:n,y:r,textAnchor:"middle",dominantBaseline:"center"===u?"middle":"auto",className:"c-chart__waterfall-value "+("center"===u?"c-chart__waterfall-value--center":"c-chart__waterfall-value--outside"),children:N(s)},`value-${a}`))}if(s&&a<y.length-1){const i=y[a+1];if(i){const r=B(t.endValue),o=B(i.startValue),s=D(a+1);if(Math.abs(t.endValue-i.startValue)>.01){const t="dashed"===c?"5,5":"dotted"===c?"2,2":"none";P.push(e("line",{x1:n+M/2,y1:r,x2:s-M/2,y2:o,stroke:l,strokeDasharray:t,className:"c-chart__waterfall-connector"},`connector-${a}`))}}}})),p){const t=y.map(((e,t)=>({x:D(t),y:B(e.cumulativeValue)}))),a=`M ${t.map((e=>`${e.x},${e.y}`)).join(" L ")}`;P.push(e("path",{d:a,fill:"none",stroke:g,className:"c-chart__waterfall-cumulative-line"},"cumulative-line")),t.forEach(((t,a)=>{P.push(e("circle",{cx:t.x,cy:t.y,r:"4",fill:g,className:"c-chart__waterfall-cumulative-point"},`line-point-${a}`))}))}return P.push(e("line",{x1:T,y1:a.height-T,x2:a.width-T,y2:a.height-T,stroke:"var(--atomix-gray-4)",strokeWidth:"2"},"x-axis")),P.push(e("line",{x1:T,y1:T,x2:T,y2:a.height-T,stroke:"var(--atomix-gray-4)",className:"c-chart__axis-line"},"y-axis")),y.forEach(((t,n)=>{const i=T+n*w+w/2;P.push(e("text",{x:i,y:a.height-T+20,textAnchor:"middle",className:"c-chart__axis-label",fill:"var(--atomix-gray-6)",transform:`rotate(-45, ${i}, ${a.height-T+20})`,children:t.label},`x-label-${n}`))})),e("g",{children:P})},onDataPointClick:i,...r})})));Qt.displayName="WaterfallChart";const Zt={sm:16,md:24,lg:32},qt=({className:t="",style:a,value:n,defaultValue:r="light",onChange:s,lightIcon:l,darkIcon:c,size:u="md",disabled:h=!1,storageKey:m="atomix-color-mode",dataAttribute:p="data-atomix-color-mode",disableStorage:g=!1,disableSystemPreference:S=!1,"aria-label":E,showTooltip:A=!0})=>{const N=void 0!==n,[_,v]=i(r),f=N?n:_;o((()=>{if(!N&&"undefined"!=typeof window){if(!g)try{const e=localStorage.getItem(m);if("light"===e||"dark"===e)return void v(e)}catch(e){}if(!S&&window.matchMedia){window.matchMedia("(prefers-color-scheme: dark)").matches&&v("dark")}}}),[N,g,S,m]),o((()=>{if("undefined"==typeof window)return;const e="dark"===f?"dark":"light";if(document.body.setAttribute(p,e),!g)try{localStorage.setItem(m,e)}catch(e){}}),[f,p,g,m]),o((()=>{if(N||S||"undefined"==typeof window)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),t=e=>{if(g)v(e.matches?"dark":"light");else try{localStorage.getItem(m)||v(e.matches?"dark":"light")}catch(e){}};return e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}}),[N,S,g,m]);const b=d((()=>{if(h)return;const e="light"===f?"dark":"light";N||v(e),s?.(e)}),[h,f,N,s]),T=Zt[u],L="light"===f?"dark":"light",C=E||`Switch to ${L} mode`,I=A?`Switch to ${L} mode`:void 0,y=e("svg",{viewBox:"0 0 24 24",width:T,height:T,fill:"currentColor","aria-hidden":"true",children:e("path",{d:"M9.37 5.51c-.18.64-.27 1.31-.27 1.99 0 4.08 3.32 7.4 7.4 7.4.68 0 1.35-.09 1.99-.27C17.45 17.19 14.93 19 12 19c-3.86 0-7-3.14-7-7 0-2.93 1.81-5.45 4.37-6.49zM12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z"})}),x=e("svg",{viewBox:"0 0 24 24",width:T,height:T,fill:"currentColor","aria-hidden":"true",children:e("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41L5.99 4.58zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41l-1.06-1.06zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41.39.39 1.03.39 1.41 0l1.06-1.06zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41.39.39 1.03.39 1.41 0l1.06-1.06z"})});return e("button",{type:"button",className:`c-color-mode-toggle c-color-mode-toggle--${u} ${h?"c-color-mode-toggle--disabled":""} ${t}`,onClick:b,disabled:h,"aria-label":C,"aria-pressed":"dark"===f,title:I,style:a,children:"light"===f?l||y:c||x})};qt.displayName="ColorModeToggle";const Xt=s((({target:a,show:r=["days","hours","minutes","seconds"],separator:s=":",focused:l=!1,className:c="",style:d,onComplete:u},h)=>{const m="string"==typeof a?new Date(a):a,[p,g]=i((()=>new Date)),[S,E]=i(!1);o((()=>{if(S)return;const e=setInterval((()=>{g(new Date)}),1e3);return()=>clearInterval(e)}),[S]);const A=m.getTime()-p.getTime(),{days:N,hours:_,minutes:v,seconds:f}=function(e){const t=Math.max(0,Math.floor(e/1e3));return{days:Math.floor(t/86400),hours:Math.floor(t%86400/3600),minutes:Math.floor(t%3600/60),seconds:t%60}}(A);o((()=>{A<=0&&!S&&(E(!0),u&&u())}),[A,S,u]);const b=[];return r.includes("days")&&b.push({label:"Days",value:N}),r.includes("hours")&&b.push({label:"Hours",value:_}),r.includes("minutes")&&b.push({label:"Minutes",value:v}),r.includes("seconds")&&b.push({label:"Seconds",value:f}),e("div",{ref:h,className:`c-countdown${l?" c-countdown--focused":""} ${c}`.trim(),style:d,children:b.map(((a,i)=>t(n.Fragment,{children:[t("div",{className:"c-countdown__time",children:[e("span",{className:"c-countdown__time-count",children:String(a.value).padStart(2,"0")}),e("span",{className:"c-countdown__time-label",children:a.label})]}),i<b.length-1&&e("span",{className:"c-countdown__separator",children:s})]},a.label)))})}));function jt({data:e=[],columns:t=[],sortable:a=!1,paginated:n=!1,pageSize:r=10,onSort:s,initialSortConfig:l}){const[u,h]=i(l||null),[m,p]=i(1),[g,S]=i(""),E=d((e=>{if(!a)return;let t="asc";u&&u.key===e&&"asc"===u.direction&&(t="desc");const n={key:e,direction:t};h(n),s&&s(n)}),[a,u,s]),A=d((t=>{t<1||t>Math.ceil(e.length/r)||p(t)}),[e.length,r]),N=d((e=>{S(e),p(1)}),[]),_=c((()=>{if(!g)return e;const a=g.toLowerCase();return e.filter((e=>t.some((t=>{const n=e[t.key];return null!=n&&String(n).toLowerCase().includes(a)}))))}),[e,t,g]),v=c((()=>u&&a?[..._].sort(((e,t)=>{const a=e[u.key],n=t[u.key];return null==a?"asc"===u.direction?-1:1:null==n?"asc"===u.direction?1:-1:"string"==typeof a&&"string"==typeof n?"asc"===u.direction?a.localeCompare(n):n.localeCompare(a):"asc"===u.direction?a>n?1:-1:a>n?-1:1})):_),[_,u,a]),f=c((()=>{if(!n)return v;const e=(m-1)*r;return v.slice(e,e+r)}),[v,n,m,r]),b=c((()=>n?Math.max(1,Math.ceil(v.length/r)):1),[v.length,n,r]);return o((()=>{p(1)}),[e]),o((()=>{m>b&&p(Math.max(1,b))}),[m,b]),{displayData:f,sortConfig:u,currentPage:m,totalPages:b,handleSort:E,handlePageChange:A,handleSearch:N}}Xt.displayName="Countdown";const Jt="...",ea=(e,t)=>{const a=t-e+1;return Array.from({length:a},((t,a)=>a+e))},ta=({currentPage:e,totalPages:t,siblingCount:a=1,onPageChange:n})=>{const i=c((()=>{if(a+5>=t)return ea(1,t);const n=Math.max(e-a,1),i=Math.min(e+a,t),r=n>2,o=i<t-2,s=t;if(!r&&o){return[...ea(1,3+2*a),Jt,t]}if(r&&!o){let e=ea(t-(3+2*a)+1,t);return[1,Jt,...e]}if(r&&o){let e=ea(n,i);return[1,Jt,...e,Jt,s]}return[]}),[t,a,e]),r=a=>{a>=1&&a<=t&&a!==e&&n(a)};return{paginationRange:i,currentPage:e,totalPages:t,goToPage:r,nextPage:()=>{r(e+1)},prevPage:()=>{r(e-1)},firstPage:()=>{r(1)},lastPage:()=>{r(t)},DOTS:Jt}},aa=({type:t,onClick:a,disabled:n,label:i,iconName:r})=>e("li",{className:`c-pagination__item c-pagination__item--${t} ${n?"is-disabled":""}`,"aria-disabled":n,children:e("button",{type:"button",className:"c-pagination__link",onClick:a,disabled:n,"aria-label":i,children:e(it,{name:r,size:"sm","aria-hidden":"true"})})}),na=({currentPage:a=ee.currentPage,totalPages:n=ee.totalPages,onPageChange:i,siblingCount:r=ee.siblingCount,showFirstLastButtons:o=ee.showFirstLastButtons,showPrevNextButtons:s=ee.showPrevNextButtons,size:l=ee.size,className:c="",style:d,ariaLabel:u="Pagination",glass:h})=>{const{paginationRange:m,goToPage:p,nextPage:g,prevPage:S,firstPage:E,lastPage:A}=ta({currentPage:a,totalPages:n,siblingCount:r,onPageChange:i});if(0===a||m.length<2)return null;const N=e("nav",{className:`c-pagination c-pagination--${l} ${c}`,style:d,"aria-label":u,children:t("ul",{className:"c-pagination__items",children:[o&&e(aa,{type:"first",onClick:E,disabled:1===a,label:"Go to first page",iconName:"SkipBack"}),s&&e(aa,{type:"prev",onClick:S,disabled:1===a,label:"Go to previous page",iconName:"CaretLeft"}),m.map(((t,n)=>{if(t===Jt)return e("li",{className:"c-pagination__item c-pagination__item--dots","aria-hidden":"true",children:"…"},`dots-${n}`);const i=t===a;return e("li",{className:"c-pagination__item "+(i?"is-active":""),"aria-current":i?"page":void 0,children:e("button",{type:"button",className:"c-pagination__link",onClick:()=>p(t),"aria-label":`Page ${t}`,"aria-current":i?"page":void 0,children:t})},t)})),s&&e(aa,{type:"next",onClick:g,disabled:a===n,label:"Go to next page",iconName:"CaretRight"}),o&&e(aa,{type:"last",onClick:A,disabled:a===n,label:"Go to last page",iconName:"SkipForward"})]})});if(h){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===h?t:{...t,...h};return e(et,{...a,children:N})}return N};na.displayName="Pagination";const ia=({data:a,columns:n,className:i,style:o,sortable:s=!1,filterable:l=!1,paginated:c=!1,pageSize:d=10,striped:u=!1,bordered:h=!1,dense:m=!1,loading:p=!1,emptyMessage:g="No data available",onRowClick:S,onSort:E,...A})=>{const N=r(null),{displayData:_,sortConfig:v,currentPage:f,totalPages:b,handleSort:T,handlePageChange:L,handleSearch:C}=jt({data:a,columns:n,sortable:s,paginated:c,pageSize:d,onSort:E}),I=[J.base,u&&J.striped,h&&J.bordered,m&&J.dense,p&&J.loading,i].filter(Boolean).join(" ");return t("div",{className:J.container,style:o,...A,children:[l?e("div",{className:J.toolbar,children:e("div",{className:J.search,children:e("input",{type:"text",placeholder:"Search...",className:`${J.searchInput} c-input`,onChange:e=>C(e.target.value),"aria-label":"Search table"})})}):null,e("div",{className:J.tableWrapper,children:t("table",{ref:N,className:I,children:[e("thead",{className:J.header,children:e("tr",{children:n.map(((a,n)=>e("th",{className:`${J.headerCell} ${!1!==a.sortable&&s?J.sortable:""}`,onClick:()=>!1!==a.sortable&&s?T(a.key):null,"aria-sort":v?.key===a.key?"asc"===v.direction?"ascending":"descending":void 0,children:t("div",{className:J.headerContent,children:[e("span",{children:a.title}),!1!==a.sortable&&s&&e("span",{className:J.sortIcon,children:v?.key===a.key?"asc"===v.direction?e(it,{name:"CaretUp",size:"sm"}):e(it,{name:"CaretDown",size:"sm"}):null})]})},`header-${n}`)))})}),p?e("tbody",{children:e("tr",{children:e("td",{colSpan:n.length,className:J.loadingCell,children:e("div",{className:J.loadingIndicator,children:e(gt,{size:"md",variant:"primary"})})})})}):0===_.length?e("tbody",{children:e("tr",{children:e("td",{colSpan:n.length,className:J.emptyCell,children:g})})}):e("tbody",{children:_.map(((t,a)=>e("tr",{className:J.row,onClick:S?()=>S(t):void 0,tabIndex:S?0:void 0,role:S?"button":void 0,children:n.map(((n,i)=>e("td",{className:J.cell,children:n.render?n.render(t[n.key],t):t[n.key]},`cell-${a}-${i}`)))},`row-${a}`)))})]})}),!c||b<=1?null:e("div",{className:J.pagination,children:e(na,{currentPage:f,totalPages:b,onPageChange:L,showFirstLastButtons:!0,showPrevNextButtons:!0,size:"sm",ariaLabel:"Data table pagination",className:"c-data-table__pagination"})})]})};function ra(e){const t=new Date;return t.setMonth(e),t.toLocaleString("default",{month:"long"})}function oa(e,t){return new Date(e,t+1,0).getDate()}function sa(e,t){if(!e)return"";const a=e.getDate(),n=e.getMonth()+1,i=e.getFullYear();return t.replace("yyyy",i.toString()).replace("MM",n.toString().padStart(2,"0")).replace("M",n.toString()).replace("dd",a.toString().padStart(2,"0")).replace("d",a.toString())}function la({value:e,onChange:t,selectionMode:a="single",startDate:n,endDate:s,onRangeChange:l,format:c="MM/dd/yyyy",minDate:u,maxDate:h,inline:m=!1}={}){const[p,g]=i(m),[S,E]=i(e?sa(e,c):""),[A,N]=i(n&&s?`${sa(n,c)} - ${sa(s,c)}`:n?`${sa(n,c)} - Select end date`:""),[_,v]=i(e||n||new Date),[f,b]=i("days"),[T,L]=i(!n||n&&s?"start":"end"),C=r(null),I=r(null),y=new Date,x=_.getMonth(),R=_.getFullYear(),O=oa(R,x),M=new Date(R,x,1).getDay();o((()=>{"single"===a?E(e?sa(e,c):""):(N(n&&s?`${sa(n,c)} - ${sa(s,c)}`:n?`${sa(n,c)} - Select end date`:""),L(!n||n&&s?"start":"end"))}),[e,n,s,c,a]);const w=d((e=>{const i=new Date(R,x,e);if(!(u&&i<u||h&&i>h))if("single"===a)t&&t(i),E(sa(i,c)),m||g(!1);else if("start"===T)l&&l({startDate:i,endDate:null}),N(`${sa(i,c)} - Select end date`),L("end");else{if(!n)return;i<n?(l&&l({startDate:i,endDate:n}),N(`${sa(i,c)} - ${sa(n,c)}`)):(l&&l({startDate:n,endDate:i}),N(`${sa(n,c)} - ${sa(i,c)}`)),m||g(!1),L("start")}}),[R,x,u,h,t,l,c,m,a,T,n]),D=d((()=>{v(new Date(R,x-1,1))}),[R,x]),B=d((()=>{v(new Date(R,x+1,1))}),[R,x]),P=d((()=>{v(new Date(R-1,x,1))}),[R,x]),k=d((()=>{v(new Date(R+1,x,1))}),[R,x]),U=d((()=>{b("months")}),[]),G=d((()=>{b("years")}),[]),z=d((e=>{v(new Date(R,e,1)),b("days")}),[R]),F=d((e=>{v(new Date(e,x,1)),b("months")}),[x]),V=d((()=>{const e=new Date;v(e),"single"===a?w(e.getDate()):v(new Date)}),[w,a]),H=d((()=>{"single"===a?(E(""),t&&t(null)):(N(""),L("start"),l&&l({startDate:null,endDate:null}))}),[t,l,a]),Y=d((e=>{if("single"===a){E(e.target.value);const a=new Date(e.target.value);isNaN(a.getTime())||(t&&t(a),v(a))}else{N(e.target.value);const t=e.target.value.split("-");if(2===t.length){const e=t[0]?.trim(),a=t[1]?.trim();if(!e||!a)return;const n=new Date(e);if(isNaN(n.getTime())||v(n),e&&a){const t=new Date(e),n=new Date(a);isNaN(t.getTime())||isNaN(n.getTime())||l&&l({startDate:t,endDate:n})}}}}),[t,l,a]),K=d((()=>{m||g(!0)}),[m]),W=d((e=>{C.current&&!C.current.contains(e.target)&&I.current&&!I.current.contains(e.target)&&g(!1)}),[]);o((()=>(p&&!m?document.addEventListener("mousedown",W):document.removeEventListener("mousedown",W),()=>{document.removeEventListener("mousedown",W)})),[p,W,m]);const $=d((()=>{const e=[],t=oa(0===x?R-1:R,0===x?11:x-1);for(let a=M-1;a>=0;a--)e.push({day:t-a,month:0===x?11:x-1,year:0===x?R-1:R,isCurrentMonth:!1});for(let t=1;t<=O;t++)e.push({day:t,month:x,year:R,isCurrentMonth:!0});const a=42-e.length;for(let t=1;t<=a;t++)e.push({day:t,month:11===x?0:x+1,year:11===x?R+1:R,isCurrentMonth:!1});return e}),[O,M,x,R]),Q=d((()=>{const e=[];for(let t=0;t<12;t++)e.push({month:t,name:ra(t)});return e}),[]),Z=d((()=>{const e=[],t=R-6;for(let a=0;a<12;a++)e.push(t+a);return e}),[R]),q=d(((e,t,a)=>function(e,t,a){return!(!e||t&&e<t||a&&e>a)}(new Date(e,t,a),u,h)),[u,h]),X=d(((t,i,r)=>{if("single"===a)return!!e&&(e.getFullYear()===t&&e.getMonth()===i&&e.getDate()===r);if(!n&&!s)return!1;if(n&&!s)return n.getFullYear()===t&&n.getMonth()===i&&n.getDate()===r;if(n&&s){const e=n.getFullYear()===t&&n.getMonth()===i&&n.getDate()===r,a=s.getFullYear()===t&&s.getMonth()===i&&s.getDate()===r;return e||a}return!1}),[e,a,n,s]),j=d(((e,t,i)=>{if("range"!==a||!n||!s)return!1;const r=new Date(e,t,i);return r>n&&r<s}),[a,n,s]),J=d(((e,t,a)=>y.getFullYear()===e&&y.getMonth()===t&&y.getDate()===a),[y]),ee=d((e=>{const t=new Date(e.valueOf()),a=(e.getDay()+6)%7;t.setDate(t.getDate()-a+3);const n=t.valueOf();return t.setMonth(0,1),4!==t.getDay()&&t.setMonth(0,1+(4-t.getDay()+7)%7),1+Math.ceil((n-t.valueOf())/6048e5)}),[]);return{isOpen:p,inputValue:S,rangeInputValue:A,viewDate:_,viewMode:f,currentMonth:x,currentYear:R,selectionMode:a,rangeSelectionState:T,datePickerRef:C,inputRef:I,startDate:n,endDate:s,setIsOpen:g,handleDateSelect:w,handlePrevMonth:D,handleNextMonth:B,handlePrevYear:P,handleNextYear:k,handleTodayClick:V,handleClear:H,handleInputChange:Y,handleInputFocus:K,switchToMonthView:U,switchToYearView:G,selectMonth:z,selectYear:F,generateDays:$,generateMonths:Q,generateYears:Z,isDateSelectable:q,isDateSelected:X,isDateInSelectedRange:j,isToday:J,getWeekNumber:ee}}ia.displayName="DataTable";const ca=s((({value:n,onChange:i,selectionMode:r="single",startDate:o,endDate:s,onRangeChange:l,format:c="MM/dd/yyyy",minDate:d,maxDate:u,placeholder:h="Select date...",disabled:m=!1,readOnly:p=!1,clearable:g=!0,showTodayButton:S=!0,showWeekNumbers:A=!1,inline:N=!1,id:_,name:v,className:f="",placement:b="bottom-start",inputClassName:T="",size:L="md",style:C,glass:I,...y},x)=>{const{isOpen:R,inputValue:O,rangeInputValue:M,viewMode:w,currentMonth:D,currentYear:B,selectionMode:P,rangeSelectionState:k,datePickerRef:U,inputRef:G,startDate:z,endDate:F,setIsOpen:V,handleInputChange:H,handleInputFocus:Y,handleClear:K,handleDateSelect:W,handleTodayClick:$,handlePrevMonth:Q,handleNextMonth:Z,handlePrevYear:q,handleNextYear:X,switchToMonthView:j,switchToYearView:J,selectMonth:ee,selectYear:te,generateDays:ae,generateMonths:ne,generateYears:ie,isDateSelectable:re,isDateSelected:oe,isDateInSelectedRange:se,isToday:le,getWeekNumber:ce}=la({value:n,onChange:i,selectionMode:r,startDate:o,endDate:s,onRangeChange:l,minDate:d,maxDate:u,format:c,inline:N});E(x,(()=>({open:()=>V(!0),close:()=>V(!1),clear:K,focus:()=>G.current?.focus()})));const de=`c-datepicker ${f} ${N?"c-datepicker--inline":""}`.trim(),ue=`c-datepicker__input c-input c-input--${L} ${T}`.trim(),he=_||`datepicker-${Math.random().toString(36).substring(2,9)}`,me=`${he}-calendar`,pe="single"===r?O:M,ge=e=>["January","February","March","April","May","June","July","August","September","October","November","December"][e]||"",Se=()=>{},Ee=()=>{},Ae=()=>{},Ne=()=>t(a,{children:[t("div",{className:"c-datepicker__header",children:["days"===w&&t(a,{children:[e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-year",onClick:q,"aria-label":"Previous year",children:e(it,{name:"CaretDoubleLeft",size:"sm"})}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-month",onClick:Q,"aria-label":"Previous month",children:e(it,{name:"CaretLeft",size:"sm"})}),t("button",{type:"button",className:"c-datepicker__view-switch",onClick:j,"aria-label":`${ge(D)} ${B}`,children:[ge(D)," ",B]}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-month",onClick:Z,"aria-label":"Next month",children:e(it,{name:"CaretRight",size:"sm"})}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-year",onClick:X,"aria-label":"Next year",children:e(it,{name:"CaretDoubleRight",size:"sm"})})]}),"months"===w&&t(a,{children:[e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-year",onClick:q,"aria-label":"Previous year",children:e(it,{name:"CaretDoubleLeft",size:"sm"})}),e("button",{type:"button",className:"c-datepicker__view-switch",onClick:J,"aria-label":`Year ${B}`,children:B}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-year",onClick:X,"aria-label":"Next year",children:e(it,{name:"CaretDoubleRight",size:"sm"})})]}),"years"===w&&t(a,{children:[e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-decade",onClick:Se,"aria-label":"Previous decade",children:e(it,{name:"CaretDoubleLeft",size:"sm"})}),t("button",{type:"button",className:"c-datepicker__view-switch",onClick:Ae,children:[ie()[0]," - ",ie()[ie().length-1]]}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-decade",onClick:Ee,"aria-label":"Next decade",children:e(it,{name:"CaretDoubleRight",size:"sm"})})]})]}),t("div",{className:"c-datepicker__body",children:["days"===w&&t(a,{children:[t("div",{className:"c-datepicker__weekdays"+(A?" c-datepicker__weekdays--has-weeknumber":""),role:"row",children:[A&&e("div",{className:"c-datepicker__weekday",children:"Wk"}),["Su","Mo","Tu","We","Th","Fr","Sa"].map((t=>e("div",{className:"c-datepicker__weekday",role:"columnheader",children:t},t)))]}),e("div",{className:"c-datepicker__days"+(A?" c-datepicker__days--has-weeknumber":""),role:"grid",children:(()=>{const t=[],a=ae();for(let n=0;n<a.length;n++){const i=a[n];if(!i)continue;const r=new Date(i.year,i.month,i.day),o=re(i.year,i.month,i.day),s=oe(i.year,i.month,i.day),l=le(i.year,i.month,i.day),c=se(i.year,i.month,i.day);if(A&&n%7==0){const a=ce(r);t.push(e("div",{className:"c-datepicker__weeknumber",role:"rowheader",children:a},`weeknumber-${Math.floor(n/7)}`))}t.push(e("button",{type:"button",className:`c-datepicker__day\n ${i.isCurrentMonth?"":"c-datepicker__day--outside"}\n ${s?"c-datepicker__day--selected":""}\n ${c?"c-datepicker__day--in-range":""}\n ${l?"c-datepicker__day--today":""}\n ${o?"":"c-datepicker__day--disabled"}`,onClick:()=>o&&W(i.day),disabled:!o,tabIndex:i.isCurrentMonth?0:-1,"aria-label":r.toLocaleDateString(),"aria-selected":s?"true":"false",role:"gridcell",children:i.day},`day-${n}`))}return t})()})]}),"months"===w&&e("div",{className:"c-datepicker__months",role:"grid",children:ne().map(((t,a)=>{const i=n&&n.getMonth()===t.month&&n.getFullYear()===B;return e("button",{type:"button",className:"c-datepicker__month "+(i?"c-datepicker__month--selected":""),onClick:()=>ee(t.month),"aria-selected":i?"true":"false",role:"gridcell",children:t.name.substring(0,3)},`month-${a}`)}))}),"years"===w&&e("div",{className:"c-datepicker__years",role:"grid",children:ie().map(((t,a)=>{const i=n&&n.getFullYear()===t;return e("button",{type:"button",className:"c-datepicker__year "+(i?"c-datepicker__year--selected":""),onClick:()=>te(t),"aria-selected":i?"true":"false",role:"gridcell",children:t},`year-${a}`)}))})]}),"days"===w&&t("div",{className:"c-datepicker__footer",children:["range"===r&&t("div",{className:"c-datepicker__range-status c-badge c-badge--sm c-badge--info u-w-100",children:["Selecting ","start"===k?"start":"end"," date"]}),S&&e("button",{type:"button",className:"c-datepicker__today-button c-btn c-btn--sm c-btn--outline-primary",onClick:$,"aria-label":"Go to today",children:"Today"}),!N&&e("button",{type:"button",className:"c-datepicker__close-button c-btn c-btn--sm c-btn--outline-error",onClick:()=>V(!1),"aria-label":"Close calendar",children:"Close"})]})]});return t("div",{className:de,ref:U,style:C,...y,children:[!N&&t("div",{className:"c-datepicker__input-wrapper",children:[e("input",{id:he,name:v,ref:G,type:"text",className:ue,placeholder:"single"===r?h:"start"===k?"Select start date...":z?`${sa(z,c)} - Select end date...`:"Select date range...",value:pe,onChange:H,onFocus:Y,disabled:m,readOnly:p,"aria-haspopup":"dialog","aria-expanded":R,"aria-controls":me}),g&&pe&&e("button",{type:"button",className:"c-datepicker__clear-button",onClick:K,"aria-label":"Clear date",children:e(it,{name:"X",size:"sm"})}),e("span",{className:"c-datepicker__calendar-icon","aria-hidden":"true",children:e(it,{name:"Calendar",size:"sm",color:"var(--atomix-secondary-text-emphasis)"})})]}),(R||N)&&e(a,{children:e("div",I?{id:me,className:`c-datepicker__calendar c-datepicker__calendar--${b} c-datepicker__calendar--glass`,role:"dialog","aria-modal":N?void 0:"true","aria-label":"Date picker",children:e(et,{...!0===I?{displacementScale:20}:I,children:e("div",{className:"c-datepicker__glass-content",children:Ne()})})}:{id:me,className:`c-datepicker__calendar c-datepicker__calendar--${b}`,role:"dialog","aria-modal":N?void 0:"true","aria-label":"Date picker",children:Ne()})})]})}));ca.displayName="DatePicker";const da=g({isOpen:!1,close:()=>{},id:"",trigger:"click"}),ua=({children:a,menu:n,placement:s="bottom-start",trigger:l="click",offset:c=me.DEFAULTS.OFFSET,isOpen:u,onOpenChange:h,closeOnClickOutside:m=!0,closeOnEscape:p=!0,maxHeight:g,minWidth:S=me.DEFAULTS.MIN_WIDTH,variant:E,className:A="",style:N,glass:_,...v})=>{const[f,b]=i(!1),T=void 0!==u,L=T?u:f,C=r(null),I=r(null),y=r(null),x=r(`dropdown-${Math.random().toString(36).substring(2,9)}`).current,R=d((e=>{T||b(e),h&&h(e)}),[T,h]),O=d((()=>R(!L)),[L,R]),M=d((()=>{R(!1),setTimeout((()=>{I.current?.focus()}),0)}),[R]);o((()=>{if(!L||!m)return;const e=e=>{C.current&&!C.current.contains(e.target)&&M()};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)}),[L,m,M]),o((()=>{if(!L||!p)return;const e=e=>{"Escape"===e.key&&M()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[L,p,M]);const w=d((e=>{if(!y.current)return;const t=y.current.querySelectorAll('[role="menuitem"]:not([disabled])');if(!t.length)return;const a=Array.from(t).findIndex((e=>e===document.activeElement));switch(e.key){case"ArrowDown":e.preventDefault(),a<t.length-1?t[a+1]?.focus():t[0]?.focus();break;case"ArrowUp":e.preventDefault(),a>0?t[a-1]?.focus():t[t.length-1]?.focus();break;case"Home":e.preventDefault(),t[0]?.focus();break;case"End":e.preventDefault(),t[t.length-1]?.focus()}}),[]),D=d((e=>{"click"===l&&(e.preventDefault(),e.stopPropagation(),O())}),[l,O]),B=d((e=>{"Enter"!==e.key&&" "!==e.key&&"ArrowDown"!==e.key||L?"Escape"===e.key&&L&&(e.preventDefault(),M()):(e.preventDefault(),R(!0),"ArrowDown"===e.key&&y.current&&setTimeout((()=>{const e=y.current?.querySelector('[role="menuitem"]');e?.focus()}),100))}),[L,R,M]),P=d((()=>{"hover"===l&&R(!0)}),[l,R]),k=["c-dropdown","click"===l?"c-dropdown--onclick":"",E?`c-dropdown--${E}`:"",L?"is-open":"",_?"c-dropdown--glass":"",A].filter(Boolean).join(" "),U={};g&&(U.maxHeight=g),void 0!==S&&(U.minWidth="number"==typeof S?`${S}px`:S);const G=e("div",{className:"c-dropdown__menu-inner",style:U,children:e(da.Provider,{value:{isOpen:L,close:M,id:x,trigger:l},children:e("ul",{className:"c-dropdown__menu "+(_?"c-dropdown__menu--glass":""),children:n})})});return t("div",{ref:C,className:k,style:N,onMouseEnter:"hover"===l?P:void 0,...v,children:[e("div",{ref:I,className:"c-dropdown__toggle",onClick:D,onKeyDown:B,"aria-haspopup":"menu","aria-expanded":L,"aria-controls":x,tabIndex:0,children:a}),e("div",{ref:y,id:x,className:`c-dropdown__menu-wrapper c-dropdown__menu-wrapper--${s} ${L?"is-open":""} ${_?"is-glass":""}`,role:"menu","aria-orientation":"vertical","aria-hidden":!L,onKeyDown:w,children:_?(()=>{const t={displacementScale:20,elasticity:0},a=!0===_?t:{...t,..._};return e(et,{...a,children:G})})():G})]})};function ha(e){const t={position:"start",mode:"slide",isOpen:!1,backdrop:!0,closeOnBackdropClick:!0,closeOnEscape:!0,glass:void 0,...e},[a,n]=i(t.isOpen||!1),s=r(null),l=r(null),c=d((()=>{if(!s.current||"push"!==t.mode)return;const{position:e}=t,a="top"===e||"bottom"===e?s.current.clientHeight:s.current.clientWidth;let n;switch(e){case"start":n="paddingLeft";break;case"end":n="paddingRight";break;default:n=`padding${e.charAt(0).toUpperCase()+e.slice(1)}`}document.body.style[n]=`${a}px`,document.body.classList.add("is-pushed")}),[t.mode,t.position]),u=d((()=>{if("push"!==t.mode)return;const{position:e}=t;let a;switch(e){case"start":a="paddingLeft";break;case"end":a="paddingRight";break;default:a=`padding${e.charAt(0).toUpperCase()+e.slice(1)}`}document.body.style[a]="",document.body.classList.remove("is-pushed")}),[t.mode,t.position]),h=d(((e=!1)=>{if(n(!0),document.body.classList.add("is-edgepanel-open"),s.current){const{mode:a}=t;if("none"!==a)if(e){s.current.classList.add("is-fade-animating"),s.current.offsetHeight;const e=s.current;setTimeout((()=>{e&&e.classList.remove("is-fade-animating")}),j.ANIMATION_DURATION)}else{s.current.classList.add("is-animating"),s.current.offsetHeight;const e=s.current;setTimeout((()=>{e&&e.classList.remove("is-animating")}),j.ANIMATION_DURATION)}e?(s.current.style.opacity="1",s.current.style.transform=""):s.current.style.transform="translate(0)","push"===t.mode&&c()}t.onOpenChange&&t.onOpenChange(!0)}),[t,c]),m=d(((e=!1)=>{if(s.current){const{position:a,mode:i}=t;if("none"!==i)if(e){s.current.classList.add("is-fade-animating-out");const e=s.current;setTimeout((()=>{e&&e.classList.remove("is-fade-animating-out")}),j.ANIMATION_DURATION)}else{s.current.classList.add("is-animating-out");const e=s.current;setTimeout((()=>{e&&e.classList.remove("is-animating-out")}),j.ANIMATION_DURATION)}e?(s.current.style.opacity="0",s.current.style.transform=""):s.current.style.transform=a?j.TRANSFORM_VALUES[a]:"","push"===t.mode&&u();setTimeout((()=>{n(!1),document.body.classList.remove("is-edgepanel-open"),t.onOpenChange&&t.onOpenChange(!1)}),"none"===i?0:j.ANIMATION_DURATION)}else n(!1),document.body.classList.remove("is-edgepanel-open"),t.onOpenChange&&t.onOpenChange(!1)}),[t,u]),p=d((e=>{t.closeOnEscape&&"Escape"===e.key&&a&&m()}),[m,t.closeOnEscape,a]),g=d((e=>{t.closeOnBackdropClick&&e.target===e.currentTarget&&m()}),[m,t.closeOnBackdropClick]);return o((()=>(a&&t.closeOnEscape&&document.addEventListener("keydown",p),()=>{document.removeEventListener("keydown",p)})),[a,p,t.closeOnEscape]),o((()=>{if(s.current){const{position:e,mode:n}=t;a||"slide"!==n&&"push"!==n||!e||(s.current.style.transform=j.TRANSFORM_VALUES[e],t.glass&&(s.current.style.opacity="0"))}}),[t.mode,t.position,t.glass,a]),o((()=>{void 0!==t.isOpen&&t.isOpen!==a&&(t.isOpen?h(!!t.glass):m(!!t.glass))}),[t.isOpen,m,a,h,t.glass]),{isOpen:a,containerRef:s,backdropRef:l,generateEdgePanelClass:e=>{const{position:n=t.position,className:i="",isOpen:r}=e,o=j.CLASSES.BASE;return`${o} ${n?`${o}--${n}`:""} ${r??a?j.CLASSES.IS_OPEN:""} ${i}`.trim()},openPanel:h,closePanel:m,handleBackdropClick:g}}ua.displayName="Dropdown";const ma=({title:n,children:i,position:o="start",mode:s="slide",isOpen:l=!1,onOpenChange:c,backdrop:d=!0,closeOnBackdropClick:u=!0,closeOnEscape:h=!0,className:m="",style:p,glass:g})=>{const{isOpen:S,containerRef:E,backdropRef:A,generateEdgePanelClass:N,closePanel:_,handleBackdropClick:v}=ha({position:o,mode:s,isOpen:l,onOpenChange:c,backdrop:d,closeOnBackdropClick:u,closeOnEscape:h,glass:g}),f=r(null),b=N({position:o,isOpen:l,className:g?`${m} c-edge-panel--glass`:m});if(!S&&!1===l)return null;const T={elasticity:0},L=!0===g?T:{...T,...g},C=t(a,{children:[t("div",{className:"c-edge-panel__header",children:[e("h4",{children:n}),e("button",{className:"c-edge-panel__close c-btn c-btn--icon",onClick:()=>_(),"aria-label":"Close panel",children:e(it,{name:"X"})})]}),e("div",{className:"c-edge-panel__body",children:i})]});return t("div",{className:b,"data-position":o,"data-mode":s,style:p,children:[d&&e("div",{ref:A,className:"c-edge-panel__backdrop",onClick:v}),e("div",{ref:E,className:"c-edge-panel__container",children:g?e(et,{...L,className:"c-edge-panel__glass-wrapper",style:{position:"fixed",width:f.current?.offsetWidth,height:f.current?.offsetHeight,top:E.current?.offsetTop,left:E.current?.offsetLeft,bottom:E.current?.style.bottom,right:E.current?.style.right},children:e("div",{ref:f,className:"c-edge-panel__glass-content",style:{borderRadius:E.current?.style.borderRadius},children:C})}):C})]})};ma.displayName="EdgePanel";const pa="c-checkbox",ga="is-error",Sa="is-valid",Ea="is-disabled",Aa="c-checkbox--mixed";function Na(e){const t={disabled:!1,invalid:!1,valid:!1,indeterminate:!1,...e},a=r(null);o((()=>{a.current&&(a.current.indeterminate=Boolean(t.indeterminate))}),[t.indeterminate]);return{defaultProps:t,generateCheckboxClass:e=>{const{disabled:a=t.disabled,invalid:n=t.invalid,valid:i=t.valid,indeterminate:r=t.indeterminate,className:o=""}=e;let s="";n?s=ga:i&&(s=Sa);return`${pa} ${s} ${a?Ea:""} ${r?Aa:""} ${o}`.trim()},checkboxRef:a}}const _a=({label:a,checked:n=!1,onChange:i,className:r="",style:o,disabled:s=!1,required:l=!1,id:c,name:d,value:u,invalid:h=!1,valid:m=!1,indeterminate:p=!1,ariaLabel:g,ariaDescribedBy:S,glass:E})=>{const{generateCheckboxClass:A,checkboxRef:N}=Na({indeterminate:p,disabled:s,invalid:h,valid:m}),_=A({className:`${r} ${E?"c-checkbox--glass":""}`.trim(),disabled:s,invalid:h,valid:m,indeterminate:p}),v=t("div",{className:_,style:o,children:[e("input",{ref:N,type:"checkbox",className:"c-checkbox__input",checked:n,onChange:i,disabled:s,required:l,id:c,name:d,value:u,"aria-label":a?void 0:g,"aria-describedby":S,"aria-invalid":h}),a&&e("label",{className:"c-checkbox__label",htmlFor:c,children:a})]});if(E){const t={displacementScale:40,blurAmount:1,saturation:160,aberrationIntensity:.3,cornerRadius:6,mode:"shader"},a=!0===E?t:{...t,...E};return e(et,{...a,children:v})}return v};function va(e){const t={disabled:!1,...e};return{defaultProps:t,generateFormClass:e=>{const{disabled:a=t.disabled,className:n=""}=e,i=a?ae.CLASSES.DISABLED:"";return`${ae.CLASSES.BASE} ${i} ${n}`.trim()},handleSubmit:e=>a=>{a.preventDefault(),!t.disabled&&e&&e(a)},handleReset:e=>a=>{!t.disabled&&e&&e(a)}}}_a.displayName="Checkbox";const fa=({children:t,onSubmit:a,onReset:n,className:i="",style:r,disabled:o=!1,id:s,method:l="post",encType:c,noValidate:d=!1,autoComplete:u="on"})=>{const{generateFormClass:h,handleSubmit:m,handleReset:p}=va({disabled:o}),g=h({className:i,disabled:o});return e("form",{id:s,className:g,style:r,onSubmit:m(a),onReset:p(n),method:l,encType:c,noValidate:d,autoComplete:u,children:t})};function ba(e){const t={size:"md",disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateFormGroupClass:e=>{const{size:a=t.size,disabled:n=t.disabled,invalid:i=t.invalid,valid:r=t.valid,className:o=""}=e,s="md"===a?"":"sm"===a?ne.CLASSES.SMALL:ne.CLASSES.LARGE,l=i?ne.CLASSES.INVALID:r?ne.CLASSES.VALID:"",c=n?ne.CLASSES.DISABLED:"";return`${ne.CLASSES.BASE} ${s} ${l} ${c} ${o}`.trim()}}}fa.displayName="Form";const Ta=({children:a,label:n,helperText:i,htmlFor:r,className:o="",style:s,disabled:l=!1,required:c=!1,invalid:d=!1,valid:u=!1,size:h="md"})=>{const{generateFormGroupClass:m}=ba({size:h,disabled:l,invalid:d,valid:u}),p=m({className:o,disabled:l,invalid:d,valid:u,size:h});return t("div",{className:p,style:s,children:[n&&t("label",{className:"c-form-group__label",htmlFor:r,children:[n,c&&e("span",{className:"c-form-group__required",children:"*"})]}),e("div",{className:"c-form-group__field",children:a}),i&&e("div",{className:"c-form-group__helper",children:i})]})};function La(e){const t={size:"md",disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateInputClass:e=>{const{size:a=t.size,variant:n=t.variant,disabled:i=t.disabled,invalid:r=t.invalid,valid:o=t.valid,className:s="",type:l}=e,c="md"===a?"":"sm"===a?ie.CLASSES.SMALL:ie.CLASSES.LARGE,d=n?`c-input--${n}`:"",u="textarea"===l?"c-input--textarea":"";let h="";r?h=ie.CLASSES.INVALID:o&&(h=ie.CLASSES.VALID);const m=i?ie.CLASSES.DISABLED:"";return`${ie.CLASSES.BASE} ${c} ${d} ${u} ${h} ${m} ${s}`.trim()},generateWrapperClass:t=>{const{className:a=""}=t,{prefixIcon:n=!1,suffixIcon:i=!1,clearable:r=!1,showCounter:o=!1,showPasswordToggle:s=!1,fullWidth:l=!1}=e||{},c=[ie.ELEMENTS.WRAPPER];return n&&c.push(ie.CLASSES.PREFIX_ICON),(i||r||s)&&c.push(ie.CLASSES.SUFFIX_ICON),r&&c.push(ie.CLASSES.CLEARABLE),o&&c.push(ie.CLASSES.WITH_COUNTER),s&&c.push(ie.CLASSES.PASSWORD_TOGGLE),l&&c.push(ie.CLASSES.FULL_WIDTH),a&&c.push(a),c.filter(Boolean).join(" ")}}}Ta.displayName="FormGroup";const Ca=s((({type:t="text",value:a,onChange:n,onBlur:i,onFocus:r,placeholder:o,className:s="",style:l,disabled:c=!1,required:d=!1,readOnly:u=!1,id:h,name:m,autoComplete:p,autoFocus:g=!1,size:S="md",variant:E,invalid:A=!1,valid:N=!1,maxLength:_,minLength:v,pattern:f,min:b,max:T,step:L,ariaLabel:C,ariaDescribedBy:I,glass:y},x)=>{const{generateInputClass:R}=La({size:S,variant:E,disabled:c,invalid:A,valid:N}),O=R({className:`${s} ${y?"c-input--glass":""}`.trim(),size:S,variant:E,disabled:c,invalid:A,valid:N,type:t}),M=e("input",{ref:x,type:t,className:O,value:a,onChange:n,onBlur:i,onFocus:r,placeholder:o,disabled:c,required:d,readOnly:u,id:h,name:m,autoComplete:p,autoFocus:g,maxLength:_,minLength:v,pattern:f,min:b,max:T,step:L,"aria-label":C,"aria-describedby":I,"aria-invalid":A,style:y?{...{},...l}:l});if(y){const t={displacementScale:60,blurAmount:1,saturation:180,aberrationIntensity:.2,cornerRadius:12,mode:"shader"},a=!0===y?t:{...t,...y};return e(et,{...a,children:M})}return M}));function Ia(e){const t=r(null),a=r(null),s=r(null),l={alignment:"left",imageColSize:7,contentColSize:5,imageAlt:"Hero image",showOverlay:!0,fullViewportHeight:!1,contentWidth:void 0,parallax:!1,parallaxIntensity:.5,...e},u=!!l.backgroundSlider,h=u&&l.backgroundSlider?function(e){const{slides:t,autoplay:a,loop:s=!0,transition:l="fade",transitionDuration:u=1e3}=e,[h,m]=i(0),[p,g]=i(!1),S=r(null),E=r(!1),A=c((()=>t.map((()=>n.createRef()))),[t.length]),N=c((()=>t.map((()=>n.createRef()))),[t.length]),_=d((e=>{if(e===h||p)return;if(e<0||e>=t.length)return;g(!0),m(e);const a=N[e]?.current;a&&"video"===t[e].type&&!1!==(t[e].videoOptions||{}).autoplay&&a.play().catch((()=>{}));const n=N[h]?.current;n&&"video"===t[h].type&&n.pause(),setTimeout((()=>{g(!1)}),u)}),[h,p,t,N,u]),v=d((()=>{if(0===t.length)return;let e;e=s?(h+1)%t.length:Math.min(h+1,t.length-1),_(e)}),[h,t.length,s,_]),f=d((()=>{E.current=!0,S.current&&(clearInterval(S.current),S.current=null)}),[]),b=d((()=>{if(E.current&&a&&t.length>1){E.current=!1;const e="object"==typeof a?a.delay:3e3;S.current||(S.current=setInterval((()=>{E.current||p||v()}),e))}}),[a,t.length,v,p]);return o((()=>{if(!a||t.length<=1)return;const e="object"==typeof a?a.delay:3e3;return"object"==typeof a&&a.pauseOnHover,S.current&&(clearInterval(S.current),S.current=null),E.current||(S.current=setInterval((()=>{E.current||p||v()}),e)),()=>{S.current&&(clearInterval(S.current),S.current=null)}}),[a,t.length,v,p]),o((()=>{if(t.length>0&&"video"===t[h]?.type){const e=N[h]?.current;e&&!1!==(t[h].videoOptions||{}).autoplay&&e.play().catch((()=>{}))}}),[h,t,N]),o((()=>()=>{S.current&&(clearInterval(S.current),S.current=null)}),[]),{currentIndex:h,isTransitioning:p,slideRefs:A,videoRefs:N,handleSlideTransition:_,pauseAutoplay:f,resumeAutoplay:b}}(l.backgroundSlider):void 0,m=!!u||(!!l.backgroundImageSrc||!!l.videoBackground),p=!!l.imageSrc,g=p&&"center"!==l.alignment,S=(e,t=.5)=>{if(!e)return;const a=Math.max(0,Math.min(1,t));e.classList.add("c-hero--parallax");const n=()=>{const t=window.pageYOffset*a,n=e.querySelector(U.SELECTORS.BG);n&&(n.style.transform=`translateY(${t}px)`)};s.current=n,window.addEventListener("scroll",n),n()},E=e=>{if(!e)return;e.classList.remove("c-hero--parallax");const t=e.querySelector(U.SELECTORS.BG);t&&(t.style.transform=""),s.current&&(window.removeEventListener("scroll",s.current),s.current=null)};o((()=>{const e=t.current;return e&&l.parallax&&m&&!u&&S(e,l.parallaxIntensity),()=>{e&&s.current&&E(e)}}),[l.parallax,l.parallaxIntensity,m,u]);return{generateHeroClassNames:(e="")=>{const t=[U.SELECTORS.HERO.replace(".","")];return"center"===l.alignment?t.push(U.CLASSES.CENTER):"right"===l.alignment?t.push(U.CLASSES.RIGHT):"left"===l.alignment&&t.push(U.CLASSES.LEFT),l.fullViewportHeight&&t.push(U.CLASSES.FULL_VH),l.parallax&&t.push("c-hero--parallax"),l.videoBackground&&t.push("c-hero--video"),e&&t.push(e),t.join(" ")},generateImageColClass:(e=l.imageColSize||7)=>{const t=[`o-grid__col o-grid__col--md-${e}`];return"left"===l.alignment&&t.push("u-mt-5 u-mt-md-0"),t.join(" ")},generateContentColClass:(e=l.contentColSize||5)=>`o-grid__col o-grid__col--md-${e}`,hasBackgroundImage:m,hasForegroundImage:p,useGridLayout:g,heroRef:t,videoRef:a,applyParallaxEffect:S,removeParallaxEffect:E,backgroundSlider:h,hasBackgroundSlider:u}}function ya(e){const t={center:!1,breakout:!1,reverse:!1,imageAlt:"Image",showOverlay:!0,...e};return{generateRiverClassNames:(e="")=>{const a=[$.SELECTORS.RIVER.replace(".","")];return t.center&&a.push($.CLASSES.CENTER),t.breakout&&a.push($.CLASSES.BREAKOUT),t.reverse&&a.push($.CLASSES.REVERSE),e&&a.push(e),a.join(" ")},generateContentClass:()=>$.SELECTORS.CONTENT.replace(".",""),generateVisualClass:()=>$.SELECTORS.VISUAL.replace(".",""),hasBackgroundImage:!!t.backgroundImageSrc,hasForegroundImage:!!t.imageSrc,textContent:"string"==typeof t.text?[t.text]:t.text||[]}}function xa(e){const t={position:"static",collapsible:!0,backdrop:!1,closeOnOutsideClick:!0,closeOnEscape:!0,ariaLabel:"Main navigation",...e},[a,n]=i(t.expanded||!1);return{defaultProps:t,isExpanded:a,setIsExpanded:n,generateNavbarClass:e=>{const{position:a=t.position,variant:n,collapsible:i=t.collapsible,className:r=""}=e;return`c-navbar ${"static"!==a?`c-navbar--${a}`:""} ${n?`c-navbar--${n}`:""} ${i?"c-navbar--collapsible":""} ${r}`.trim()},generateContainerStyle:e=>e?{maxWidth:e}:{},generateCollapseClass:e=>("c-navbar__collapse "+(e?"is-expanded":"")).trim(),toggleExpanded:()=>{const e=!a;n(e),t.onToggle&&t.onToggle(e)},getExpandedState:e=>void 0!==e?e:a}}function Ra(e){const t={alignment:"start",variant:"default",...e};return{defaultProps:t,generateNavClass:e=>{const{alignment:a=t.alignment,variant:n=t.variant,className:i=""}=e;return`c-nav ${"start"!==a?`c-nav--${a}`:""} ${"default"!==n?`c-nav--${n}`:""} ${i}`.trim()}}}function Oa(e){const t={dropdown:!1,megaMenu:!1,active:!1,...e};return{defaultProps:t,generateNavItemClass:e=>{const{dropdown:a=t.dropdown,megaMenu:n=t.megaMenu,active:i=t.active,disabled:r=t.disabled,className:o=""}=e;return`c-nav__item ${a&&!n?Z.SELECTORS.DROPDOWN.replace(".",""):""} ${n?"c-nav__item--mega-menu":""} ${i?Z.CLASSES.ACTIVE:""} ${r?Z.CLASSES.DISABLED:""} ${o}`.trim()},generateNavLinkClass:(e=!1,t=!1,a="")=>`c-nav__link ${e?Z.CLASSES.ACTIVE:""} ${t?"c-nav__link--disabled":""} ${a}`.trim(),handleClick:e=>a=>{!t.disabled&&e?e():a.preventDefault()}}}function Ma(e){const t={alignment:"start",megaMenu:!1,...e},a=()=>null!==document.querySelector(".c-navbar--fixed-bottom");return{defaultProps:t,generateDropdownMenuClass:e=>{const{alignment:a=t.alignment,megaMenu:n=t.megaMenu,className:i=""}=e,r=n?Z.SELECTORS.MEGA_MENU.replace(".",""):Z.SELECTORS.DROPDOWN_MENU.replace(".","");let o="";return"center"===a?o=`${r}--center`:"end"===a&&(o=`${r}--end`),`${r} ${o} ${i}`.trim()},isInFixedBottomNavbar:a,getIconClass:(e=!1)=>"c-nav__icon "+(a()?"icon-lux-caret-up":"icon-lux-caret-down"),getIconName:(e=!1)=>a()?"CaretUp":"CaretDown"}}function wa(e){const t={collapsible:!0,isOpen:!1,...e},[a,n]=i(t.isOpen||!1),s=r(null),l=r(null);o((()=>{void 0!==t.isOpen&&n(t.isOpen)}),[t.isOpen]),o((()=>{const e=()=>{const e=window.innerWidth<768;if(!e&&t.collapsible)"function"==typeof t.onToggle?t.onToggle(!0):n(!0),s.current&&(s.current.style.height="auto");else if(e&&s.current&&l.current){const e=void 0!==t.isOpen?t.isOpen:a;s.current.style.height=e?`${l.current.scrollHeight}px`:"0px"}};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t.collapsible,t.isOpen,t.onToggle,a]),o((()=>{if(window.innerWidth<768&&s.current&&l.current&&t.collapsible){const e=void 0!==t.isOpen?t.isOpen:a;s.current.style.height=e?`${l.current.scrollHeight}px`:"0px"}}),[t.isOpen,a,t.collapsible]);const c=()=>void 0!==t.isOpen?t.isOpen:a;return{defaultProps:t,isOpenState:c(),wrapperRef:s,innerRef:l,generateSideMenuClass:e=>{const{className:t="",isOpen:a=!1}=e,n=a?q.CLASSES.IS_OPEN:"";return`${q.CLASSES.BASE} ${n} ${t}`.trim()},generateWrapperClass:()=>q.CLASSES.WRAPPER,handleToggle:()=>{if(t.disabled)return;const e=void 0!==t.isOpen?!t.isOpen:!a;"function"==typeof t.onToggle?t.onToggle(e):n(e)},getCurrentOpenState:c}}function Da(e){const t={active:!1,disabled:!1,...e};return{defaultProps:t,generateSideMenuItemClass:()=>{const{active:e=t.active,disabled:a=t.disabled,className:n=""}=t,i=e?q.CLASSES.ACTIVE:"",r=a?q.CLASSES.DISABLED:"";return`${q.CLASSES.LINK} ${i} ${r} ${n}`.trim()},handleClick:e=>a=>{t.disabled?a.preventDefault():e&&e(a)}}}function Ba(e,t){return e.classList.contains(t)}Ca.displayName="Input";const Pa={House:"M240 121.6V240h-48v-72a24 24 0 0 0-24-24h-80a24 24 0 0 0-24 24v72H16V121.6a16 16 0 0 1 5.4-12L111.4 29a16 16 0 0 1 21.2 0l90 80.6a16 16 0 0 1 5.4 12Z",Package:"M223.68 66.15 135.68 18a15.88 15.88 0 0 0-15.36 0l-88 48.13a16 16 0 0 0-8.32 14v95.64a16 16 0 0 0 8.32 14l88 48.17a15.88 15.88 0 0 0 15.36 0l88-48.17a16 16 0 0 0 8.32-14V80.18a16 16 0 0 0-8.32-14.03ZM128 32.59l74.12 40.55-32 17.56-74.12-40.55ZM96 68.08l73.56 40.23-32.04 17.53L64 85.64ZM40 95.83l72 39.39v79.23l-72-39.4Zm144 79.22v-79.23l72-39.39v79.22Z",Folder:"M216 72h-84.7L104.4 44.2A16.05 16.05 0 0 0 92.7 40H40a16 16 0 0 0-16 16v144.3a15.91 15.91 0 0 0 15.9 15.7h176.2a15.91 15.91 0 0 0 15.9-15.7V88a16 16 0 0 0-16-16Z",Tag:"M246.15 128.6 183.06 65.5l.09-24.21A16.05 16.05 0 0 0 167 25.14l-24.1.09L79.4 88.85a16 16 0 0 0 0 22.63l67.26 67.27a16 16 0 0 0 22.63 0l76.86-76.86a16 16 0 0 0 0-23.29ZM160 152l-56-56 56-56 56 56Zm-16-72a16 16 0 1 1-16 16 16 16 0 0 1 16-16Z",CaretRight:"M181.66 133.66l-80 80A8 8 0 0 1 88 208V48a8 8 0 0 1 13.66-5.66l80 80a8 8 0 0 1 0 11.32Z",CaretDown:"M208 96v16a8 8 0 0 1-2.34 5.66l-80 80a8 8 0 0 1-11.32 0l-80-80A8 8 0 0 1 32 112V96a8 8 0 0 1 8-8h160a8 8 0 0 1 8 8Z",User:"M230.92 212c-15.23-26.33-38.7-45.21-66.09-54.16a72 72 0 1 0-73.66 0c-27.39 8.94-50.86 27.82-66.09 54.16a8 8 0 1 0 13.85 8c18.84-32.56 52.14-52 89.07-52s70.23 19.44 89.07 52a8 8 0 1 0 13.85-8ZM72 96a56 56 0 1 1 56 56 56.06 56.06 0 0 1-56-56Z",Home:"M224 115.55V208a16 16 0 0 1-16 16h-40a16 16 0 0 1-16-16v-40a8 8 0 0 0-8-8h-32a8 8 0 0 0-8 8v40a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16v-92.45a16 16 0 0 1 5.17-11.78l80-75.48a16 16 0 0 1 21.66 0l80 75.48a16 16 0 0 1 5.17 11.78Z",X:"M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128 50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128l66.35 66.34Z",Calendar:"M208 32h-24v-8a8 8 0 0 0-16 0v8H88v-8a8 8 0 0 0-16 0v8H48a16 16 0 0 0-16 16v160a16 16 0 0 0 16 16h160a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16ZM72 48v8a8 8 0 0 0 16 0v-8h80v8a8 8 0 0 0 16 0v-8h24v32H48V48Zm136 160H48V96h160v112Z",CaretDoubleLeft:"M181.66 181.66a8 8 0 0 1-11.32 0L120 131.31V160a8 8 0 0 1-13.66 5.66l-48-48a8 8 0 0 1 0-11.32l48-48A8 8 0 0 1 120 64v28.69l50.34-50.35a8 8 0 0 1 11.32 11.32l-56 56a8 8 0 0 1-11.32 0L102.63 98 64 128l38.63 30L114.34 146.63a8 8 0 0 1 11.32 0l56 56a8 8 0 0 1 0 11.32Z",CaretDoubleRight:"M74.34 181.66a8 8 0 0 0 11.32 0L136 131.31V160a8 8 0 0 0 13.66 5.66l48-48a8 8 0 0 0 0-11.32l-48-48A8 8 0 0 0 136 64v28.69L85.66 42.34a8 8 0 0 0-11.32 11.32l56 56a8 8 0 0 0 11.32 0l11.71-11.71L192 128l-38.63 30-11.71-11.71a8 8 0 0 0-11.32 0l-56 56a8 8 0 0 0 0 11.32Z"};function ka(e,t=16){const a=Pa[e]||"";return`<svg xmlns="http://www.w3.org/2000/svg" width="${t}" height="${t}" fill="currentColor" viewBox="0 0 256 256">\n <path d="${a}"></path>\n </svg>`}function Ua(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function Ga(e){const t=e.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/);return t?t[1]:null}function za(e){return/(?:youtube\.com|youtu\.be)/.test(e)}var Fa=Object.freeze({__proto__:null,addClass:function(e,t){Ba(e,t)||e.classList.add(t)},cn:function(...e){return O(...e)},createIconElement:function(e,t=16,a=""){const n=document.createElement("span");return n.className=a||"c-icon",n.style.display="inline-flex",n.style.alignItems="center",n.style.justifyContent="center",n.innerHTML=ka(e,t),n},createPhosphorIcon:ka,extractYouTubeId:Ga,generateUUID:Ua,getAvailableIcons:function(){return Object.keys(Pa)},hasClass:Ba,isYouTubeUrl:za,removeClass:function(e,t){Ba(e,t)&&e.classList.remove(t)},toggleClass:function(e,t,a){e.classList.toggle(t,a)}});function Va(e){const t={items:[],title:"Todo List",size:"md",placeholder:"Add a new todo",showCompleted:!0,...e},[a,n]=i(t.items||[]),[r,o]=i(""),s=e=>{if(!e.trim())return null;const t={id:Ua(),text:e.trim(),completed:!1};return n((e=>[...e,t])),o(""),t};return{items:a,inputText:r,setInputText:o,addTodo:s,toggleTodo:e=>{let t=null;return n((a=>a.map((a=>a.id===e?(t={...a,completed:!a.completed},t):a)))),t},deleteTodo:e=>{const t=a.length;return n((t=>t.filter((t=>t.id!==e)))),a.length!==t},handleSubmit:(e,t)=>{if(e.preventDefault(),!r.trim())return;const a=s(r);a&&t&&t(a.text)},generateTodoClasses:e=>{const{size:a=t.size,className:n="",disabled:i=!1}=e,r="md"===a?"":`c-todo--${a}`,o=i?"c-todo--disabled":"";return`${te.CLASSES.BASE} ${r} ${o} ${n}`.trim()},generateItemClasses:e=>{const t=e.completed?te.CLASSES.COMPLETED:"";return`${te.CLASSES.ITEM} ${t}`.trim()},getFilteredItems:(e=!0)=>e?a:a.filter((e=>!e.completed))}}function Ha(e){const t={disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateRadioClass:e=>{const{disabled:a=t.disabled,invalid:n=t.invalid,valid:i=t.valid,className:r=""}=e;let o="";n?o=re.CLASSES.INVALID:i&&(o=re.CLASSES.VALID);const s=a?re.CLASSES.DISABLED:"";return`${re.CLASSES.BASE} ${o} ${s} ${r}`.trim()}}}function Ya(e){const t={size:"md",disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateSelectClass:e=>{const{size:a=t.size,disabled:n=t.disabled,invalid:i=t.invalid,valid:r=t.valid,className:o=""}=e,s="md"===a?"":"sm"===a?se.CLASSES.SMALL:se.CLASSES.LARGE;let l="";i?l=se.CLASSES.INVALID:r&&(l=se.CLASSES.VALID);const c=n?se.CLASSES.DISABLED:"";return`${se.CLASSES.BASE} ${s} ${l} ${c} ${o}`.trim()}}}function Ka(e){const t={size:"md",disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateTextareaClass:e=>{const{size:a=t.size,variant:n=t.variant,disabled:i=t.disabled,invalid:r=t.invalid,valid:o=t.valid,className:s=""}=e,l="md"===a?"":"sm"===a?le.CLASSES.SMALL:le.CLASSES.LARGE,c=n?`c-input--${n}`:"";let d="";r?d=le.CLASSES.INVALID:o&&(d=le.CLASSES.VALID);const u=i?le.CLASSES.DISABLED:"";return`${le.CLASSES.BASE} ${l} ${c} ${d} ${u} ${s}`.trim()}}}function Wa(e){const{slides:t,slidesToShow:a=1,spaceBetween:n=0,loop:s=!1,initialSlide:l=0,direction:u="horizontal",speed:h=300,allowTouchMove:m=!0,threshold:p=50,autoplay:g,onSlideChange:S}=e,E=r(null),A=r(null),N=r(!1),_=r(null),[v,f]=i(!1),[b,T]=i(l),[L,C]=i(0),[I,y]=i(!1),[x,R]=i(0),[O,M]=i(!1),[w,D]=i(0),[B,P]=i(0),k=c((()=>0===x?0:(x-n*(a-1))/a),[x,n,a]),U=c((()=>{if(!s||0===t.length)return t;return[...t.map(((e,t)=>({...e,id:`set1-${e.id||t}`}))),...t.map(((e,t)=>({...e,id:`set2-${e.id||t}`}))),...t.map(((e,t)=>({...e,id:`set3-${e.id||t}`})))]}),[t,s]),G=t.length,z=c((()=>0===k?0:-L*k+B),[k,L,B]);o((()=>{if(!g)return _.current&&(clearInterval(_.current),_.current=null),void f(!1);const e="boolean"==typeof g?{delay:3e3}:g,{delay:n=3e3,pauseOnMouseEnter:i=!1,disableOnInteraction:r=!1,reverseDirection:o=!1}=e;_.current&&clearInterval(_.current),_.current=setInterval((()=>{T((e=>{if(I)return e;let n;if(r&&_.current&&(clearInterval(_.current),_.current=null,f(!1)),n=s?(e+1)%t.length:Math.min(e+1,t.length-a),o){const a=s?0===e?t.length-1:e-1:Math.max(e-1,0);return C(s?t.length+a:a),y(!0),P(0),setTimeout((()=>{y(!1),S?.(a)}),h),a}return C(s?t.length+n:n),y(!0),P(0),setTimeout((()=>{y(!1),S?.(n),s&&n>=2*t.length&&(N.current=!0,C(t.length+n),setTimeout((()=>{N.current=!1}),0))}),h),n}))}),n),f(!0);let l=null;const c=()=>{_.current&&(clearInterval(_.current),_.current=null,f(!1))},d=()=>{_.current&&clearInterval(_.current),_.current=setInterval((()=>{T((e=>{if(I)return e;let n;return n=s?(e+1)%t.length:Math.min(e+1,t.length-a),C(s?t.length+n:n),y(!0),P(0),setTimeout((()=>{y(!1),S?.(n),s&&n>=2*t.length&&(N.current=!0,C(t.length+n),setTimeout((()=>{N.current=!1}),0))}),h),n}))}),n),f(!0)};return i&&E.current&&(l=E.current,l.addEventListener("mouseenter",c),l.addEventListener("mouseleave",d)),()=>{_.current&&(clearInterval(_.current),_.current=null),l&&(l.removeEventListener("mouseenter",c),l.removeEventListener("mouseleave",d)),f(!1)}}),[g,t.length,s,a,I,h,S,N]),o((()=>{C(s?t.length+l:l)}),[s,t.length,l]),o((()=>{const e=()=>{if(E.current){const e="horizontal"===u?E.current.offsetWidth:E.current.offsetHeight;R(e)}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[u]);const F=d((()=>{if(!I)if(g&&"object"==typeof g&&g.disableOnInteraction&&_.current&&(clearInterval(_.current),_.current=null,f(!1)),s){const e=(b+1)%t.length,a=L+1;T(e),C(a),y(!0),P(0),setTimeout((()=>{y(!1),S?.(e),a>=2*t.length&&(N.current=!0,C(t.length+e),setTimeout((()=>{N.current=!1}),0))}),h)}else{const e=Math.min(b+1,t.length-a);T(e),C(e),y(!0),P(0),setTimeout((()=>{y(!1),S?.(e)}),h)}}),[b,L,t.length,a,s,I,h,S,U.length,G,g]),V=d((()=>{if(!I)if(g&&"object"==typeof g&&g.disableOnInteraction&&_.current&&(clearInterval(_.current),_.current=null,f(!1)),s){const e=0===b?t.length-1:b-1,a=L-1;T(e),C(a),y(!0),P(0),setTimeout((()=>{y(!1),S?.(e),a<t.length&&(N.current=!0,C(t.length+e),setTimeout((()=>{N.current=!1}),0))}),h)}else{const e=Math.max(b-1,0);T(e),C(e),y(!0),P(0),setTimeout((()=>{y(!1),S?.(e)}),h)}}),[b,L,t.length,s,I,h,S,U.length,G,g]),H=d((e=>{I||e===b||(g&&"object"==typeof g&&g.disableOnInteraction&&_.current&&(clearInterval(_.current),_.current=null,f(!1)),y(!0),P(0),T(e),C(s?t.length+e:e),setTimeout((()=>{y(!1),S?.(e)}),h))}),[b,I,h,S,s,G,g]),Y=d((e=>{if(!m)return;g&&"object"==typeof g&&g.disableOnInteraction&&_.current&&(clearInterval(_.current),_.current=null,f(!1));const t="horizontal"===u?"touches"in e?e.touches[0]?.clientX||0:e.clientX:"touches"in e?e.touches[0]?.clientY||0:e.clientY;D(t),M(!0),P(0)}),[m,u,g]),K=d((e=>{if(!O||!m)return;const t="horizontal"===u?"touches"in e?e.touches[0]?.clientX||0:e.clientX:"touches"in e?e.touches[0]?.clientY||0:e.clientY,a=w-t;Math.abs(a)>10&&(e.preventDefault(),P(.5*-a))}),[O,w,m,u]),W=d((e=>{if(!O||!m)return;const t="horizontal"===u?"changedTouches"in e?e.changedTouches[0]?.clientX||0:e.clientX:"changedTouches"in e?e.changedTouches[0]?.clientY||0:e.clientY,a=w-t;M(!1),P(0),Math.abs(a)>p&&(a>0?F():V())}),[O,w,p,F,V,m,u]),$=s||b<t.length-a,Q=s||b>0;return{activeIndex:b,realIndex:b,previousIndex:b,isBeginning:!s&&0===b,isEnd:!s&&b>=t.length-a,progress:t.length>0?b/(t.length-1):0,autoplayRunning:v,transitioning:I,touching:O,translate:z,slidesPerView:a,slidesCount:t.length,isLocked:!1,destroyed:!1,size:x,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},allowSlideNext:$,allowSlidePrev:Q,allowTouchMove:m,animating:I,enabled:!0,initialized:!0,slideNext:F,slidePrev:V,goToSlide:H,canSlideNext:$,canSlidePrev:Q,containerRef:E,wrapperRef:A,handleTouchStart:Y,handleTouchMove:K,handleTouchEnd:W,allSlides:U,translateValue:z,slideWidth:k,currentSlidesToShow:a,loopedSlides:G,repositioningRef:N}}var $a=Object.freeze({__proto__:null,DOTS:Jt,useAccordion:fe,useAtomixGlass:Je,useBadge:st,useBarChart:Ot,useBlock:dt,useBreadcrumb:function(e){return{defaultOptions:{items:[],divider:k.DEFAULTS.DIVIDER,className:"",ariaLabel:"Breadcrumb",...e},generateBreadcrumbClass:e=>{const{className:t=""}=e;return[k.CLASSES.BASE,t].filter(Boolean).join(" ").trim()},generateItemClass:(e,t)=>[k.CLASSES.ITEM,e.active||t?k.CLASSES.ACTIVE:""].filter(Boolean).join(" ").trim(),isItemLink:(e,t)=>Boolean(e.href&&!e.active&&!t),parseItemsFromJson:e=>{try{return JSON.parse(e)}catch(e){return[]}}}},useButton:mt,useCard:Nt,useChartData:function(e){const t=c((()=>e.length?e.map(((e,t)=>({...e,value:"number"==typeof e.value?e.value:0,label:e.label||`Point ${t+1}`}))):[]),[e]),a=c((()=>{if(!t.length)return{min:0,max:0,total:0,average:0};const e=t.map((e=>e.value)),a=Math.min(...e),n=Math.max(...e),i=e.reduce(((e,t)=>e+t),0);return{min:a,max:n,total:i,average:i/e.length}}),[t]);return{data:t,stats:a,isEmpty:0===t.length}},useChartInteraction:function(){const[e,t]=i({hoveredIndex:null,selectedIndex:null});return{interaction:e,handlePointHover:d((e=>{t((t=>({...t,hoveredIndex:e})))}),[]),handlePointClick:d((e=>{t((t=>({...t,selectedIndex:t.selectedIndex===e?null:e})))}),[]),clearInteraction:d((()=>{t({hoveredIndex:null,selectedIndex:null})}),[])}},useChartScale:function(e,t=400,a=300){return c((()=>{const n={top:20,right:20,bottom:40,left:40},i=t-n.left-n.right,r=a-n.top-n.bottom;if(!e.length)return{xScale:()=>n.left,yScale:()=>n.top+r,width:t,height:a,padding:n};const o=e.map((e=>e.value)),s=Math.min(0,...o),l=Math.max(...o)-s||1;return{xScale:t=>n.left+t/Math.max(e.length-1,1)*i,yScale:e=>n.top+r-(e-s)/l*r,width:t,height:a,padding:n}}),[e,t,a])},useCheckbox:Na,useDataTable:jt,useEdgePanel:ha,useForm:va,useFormGroup:ba,useGlassContainer:function(e){const{glassSize:t={width:270,height:69},elasticity:a=.15,mouseContainer:n,globalMousePos:s,mouseOffset:c}=e,u=l(),h=r(null),[m,p]=i(!1),[g,S]=i(!1),[E,A]=i(t),[N,_]=i({x:0,y:0}),[v,f]=i({x:0,y:0}),b=s||N,T=c||v,L=d((e=>{const t=n?.current||h.current;if(!t)return;const a=t.getBoundingClientRect(),i=a.left+a.width/2,r=a.top+a.height/2;f({x:(e.clientX-i)/a.width*100,y:(e.clientY-r)/a.height*100}),_({x:e.clientX,y:e.clientY})}),[n]);o((()=>{if(s&&c)return;const e=n?.current||h.current;return e?(e.addEventListener("mousemove",L),()=>e.removeEventListener("mousemove",L)):void 0}),[L,n,s,c]);const C=d((()=>{if(!b.x||!b.y||!h.current)return"scale(1)";const e=h.current.getBoundingClientRect(),t=e.left+e.width/2,n=e.top+e.height/2,i=E.width,r=E.height,o=b.x-t,s=b.y-n,l=Math.max(0,Math.abs(o)-i/2),c=Math.max(0,Math.abs(s)-r/2),d=Math.sqrt(l*l+c*c);if(d>200)return"scale(1)";const u=1-d/200,m=Math.sqrt(o*o+s*s);if(0===m)return"scale(1)";const p=o/m,g=s/m,S=Math.min(m/300,1)*a*u,A=1+Math.abs(p)*S*.3-Math.abs(g)*S*.15,N=1+Math.abs(g)*S*.3-Math.abs(p)*S*.15;return`scaleX(${Math.max(.8,A)}) scaleY(${Math.max(.8,N)})`}),[b,a,E]),I=d((()=>{if(!h.current)return{x:0,y:0};const e=h.current.getBoundingClientRect(),t=e.left+e.width/2,n=e.top+e.height/2,i=E.width,r=E.height,o=Math.max(0,Math.abs(b.x-t)-i/2),s=Math.max(0,Math.abs(b.y-n)-r/2),l=Math.sqrt(o*o+s*s),c=l>200?0:1-l/200;return{x:(b.x-t)*a*.1*c,y:(b.y-n)*a*.1*c}}),[b,a,E]);o((()=>{const e=()=>{if(h.current){const e=h.current.getBoundingClientRect();A({width:e.width,height:e.height})}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[]);const y=d((()=>{p(!0)}),[]),x=d((()=>{p(!1)}),[]),R=d((()=>{S(!0)}),[]),O=d((()=>{S(!1)}),[]);return{filterId:u,glassRef:h,isHovered:m,isActive:g,currentGlassSize:E,globalMousePos:b,mouseOffset:T,calculateDirectionalScale:C,calculateElasticTranslation:I,handleMouseEnter:y,handleMouseLeave:x,handleMouseDown:R,handleMouseUp:O}},useHero:Ia,useInput:La,useLineChart:zt,useModal:function({isOpen:e,onOpenChange:t,onOpen:a,onClose:n}={}){const[r,s]=i(!1),l=void 0!==e,c=l?!!e:r;o((()=>{l&&s(!!e)}),[e,l]);const u=d((e=>{l||s(e),t&&t(e),e&&a?a():!e&&n&&n()}),[l,t,a,n]),h=d((()=>{u(!0)}),[u]),m=d((()=>{u(!1)}),[u]),p=d((()=>{u(!c)}),[c,u]);return{isOpen:c,open:h,close:m,toggle:p}},useNav:Ra,useNavDropdown:Ma,useNavItem:Oa,useNavbar:xa,usePagination:ta,usePieChart:Ht,useRadio:Ha,useRiver:ya,useSelect:Ya,useSideMenu:wa,useSideMenuItem:Da,useSlider:Wa,useSpinner:pt,useTextarea:Ka,useTodo:Va});const Qa=({options:a=[],value:n,onChange:s,onBlur:l,onFocus:c,placeholder:d="Select an option",className:u="",style:h,disabled:m=!1,required:p=!1,id:g,name:S,size:E="md",invalid:A=!1,valid:N=!1,multiple:_=!1,ariaLabel:v,ariaDescribedBy:f,glass:b})=>{const{generateSelectClass:T}=Ya({size:E,disabled:m,invalid:A,valid:N}),L=T({className:`${u} ${b?"c-select--glass":""}`.trim(),size:E,disabled:m,invalid:A,valid:N}),[C,I]=i(!1),[y,x]=i(d),R=r(null),O=r(null),M=r(null),w=r(null);o((()=>{if(n){const e=a.find((e=>e.value===n));e&&x(e.label)}else x(d)}),[n,a,d]),o((()=>{const e=e=>{R.current&&!R.current.contains(e.target)&&(I(!1),M.current&&(M.current.style.height="0px"))};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[]);const D=t("div",{className:`${L} ${C?se.CLASSES.IS_OPEN:""}`,ref:R,style:h,"aria-expanded":C,children:[t("select",{ref:w,value:n,onChange:s,onBlur:l,onFocus:c,disabled:m,required:p,id:g,name:S,multiple:_,"aria-label":v,"aria-describedby":f,"aria-invalid":A,style:{display:"none"},children:[d&&e("option",{value:"",disabled:!0,children:d}),a.map((t=>e("option",{value:t.value,disabled:t.disabled,children:t.label},t.value)))]}),e("div",{className:se.CLASSES.SELECTED,onClick:()=>{m||(!C&&M.current&&O.current?M.current.style.height=`${O.current.clientHeight}px`:M.current&&(M.current.style.height="0px"),I(!C))},"aria-disabled":m,children:y}),e("i",{className:`${se.CLASSES.ICON_CARET} ${se.CLASSES.TOGGLE_ICON}`}),e("div",{className:se.CLASSES.SELECT_BODY,ref:M,style:{height:0},children:e("div",{className:se.CLASSES.SELECT_PANEL,ref:O,children:e("ul",{className:se.CLASSES.SELECT_ITEMS,children:a.map(((a,i)=>e("li",{className:se.CLASSES.SELECT_ITEM,"data-value":a.value,onClick:()=>!a.disabled&&(e=>{if(x(e.label),I(!1),M.current&&(M.current.style.height="0px"),w.current&&(w.current.value=e.value),s){const t={target:{name:S,value:e.value}};s(t)}})(a),children:t("label",{htmlFor:`SelectItem${i}`,className:"c-checkbox",children:[e("input",{type:"checkbox",id:`SelectItem${i}`,className:"c-checkbox__input c-select__item-input",checked:n===a.value,readOnly:!0,disabled:a.disabled}),e("div",{className:"c-select__item-label",children:a.label})]})},a.value)))})})})]});if(b){const t={displacementScale:60,blurAmount:1,saturation:180,aberrationIntensity:.2,cornerRadius:12,mode:"shader"},a=!0===b?t:{...t,...b};return e(et,{...a,children:D})}return D};Qa.displayName="Select";const Za=({label:a,checked:n=!1,onChange:i,className:r="",style:o,disabled:s=!1,required:l=!1,id:c,name:d,value:u,invalid:h=!1,valid:m=!1,ariaLabel:p,ariaDescribedBy:g,glass:S})=>{const{generateRadioClass:E}=Ha({disabled:s,invalid:h,valid:m}),A=E({className:`${r} ${S?"c-radio--glass":""}`.trim(),disabled:s,invalid:h,valid:m}),N=t("div",{className:A,style:o,children:[e("input",{type:"radio",className:"c-radio__input",checked:n,onChange:i,disabled:s,required:l,id:c,name:d,value:u,"aria-label":a?void 0:p,"aria-describedby":g,"aria-invalid":h}),a&&e("label",{className:"c-radio__label",htmlFor:c,children:a})]});if(S){const t={displacementScale:40,blurAmount:1,saturation:160,aberrationIntensity:.3,cornerRadius:6,mode:"shader"},a=!0===S?t:{...t,...S};return e(et,{...a,children:N})}return N};Za.displayName="Radio";const qa=s((({value:t,onChange:a,onBlur:n,onFocus:i,placeholder:r,className:o="",style:s,disabled:l=!1,required:c=!1,readOnly:d=!1,id:u,name:h,rows:m=4,cols:p,maxLength:g,minLength:S,size:E="md",variant:A,invalid:N=!1,valid:_=!1,autoFocus:v=!1,ariaLabel:f,ariaDescribedBy:b,glass:T},L)=>{const{generateTextareaClass:C}=Ka({size:E,variant:A,disabled:l,invalid:N,valid:_}),I=C({className:`${o} ${T?"c-input--glass":""}`.trim(),size:E,variant:A,disabled:l,invalid:N,valid:_}),y=e("textarea",{ref:L,className:I,value:t,onChange:a,onBlur:n,onFocus:i,placeholder:r,disabled:l,required:c,readOnly:d,id:u,name:h,rows:m,cols:p,maxLength:g,minLength:S,autoFocus:v,"aria-label":f,"aria-describedby":b,"aria-invalid":N,style:T?{...{},...s}:s});if(T){const t={displacementScale:60,blurAmount:1,saturation:180,aberrationIntensity:1,cornerRadius:8,mode:"shader"},a=!0===T?t:{...t,...T};return e(et,{...a,children:y})}return y}));qa.displayName="Textarea";const Xa=s((({platform:a,url:n,icon:i,label:r,size:o="md",variant:s="default",disabled:l=!1,className:c="",...d},u)=>{const h=["c-footer__social-link",`c-footer__social-link--${a}`,`c-footer__social-link--${o}`,`c-footer__social-link--${s}`,l&&"c-footer__social-link--disabled",c].filter(Boolean).join(" "),m=r||`Follow us on ${(e=>({facebook:"Facebook",twitter:"Twitter",instagram:"Instagram",linkedin:"LinkedIn",youtube:"YouTube",github:"GitHub",discord:"Discord",tiktok:"TikTok",pinterest:"Pinterest",snapchat:"Snapchat",whatsapp:"WhatsApp",telegram:"Telegram",reddit:"Reddit",twitch:"Twitch",spotify:"Spotify",dribbble:"Dribbble",behance:"Behance",medium:"Medium",dev:"Dev.to",codepen:"CodePen"}[e]||e))(a)}`;return t("a",{ref:u,href:l?void 0:n,className:h,target:"_blank",rel:"noopener noreferrer","aria-label":m,"aria-disabled":l,...d,children:[e("span",{className:"c-footer__social-link-icon",children:i||(t=>{const a={facebook:"FacebookLogo",twitter:"TwitterLogo",instagram:"InstagramLogo",linkedin:"LinkedinLogo",youtube:"YoutubeLogo",github:"GithubLogo",discord:"DiscordLogo",tiktok:"TiktokLogo",pinterest:"PinterestLogo",snapchat:"SnapchatLogo",whatsapp:"WhatsappLogo",telegram:"TelegramLogo",reddit:"RedditLogo",twitch:"TwitchLogo",spotify:"SpotifyLogo",dribbble:"DribbbleLogo",behance:"BehanceLogo",medium:"MediumLogo",dev:"DevToLogo",codepen:"CodepenLogo"}[t];return e(it,a?{name:a}:{name:"Link"})})(a)}),e("span",{className:"c-footer__social-link-label u-visually-hidden",children:m})]})}));Xa.displayName="FooterSocialLink";const ja=s((({children:t,className:a="",justifyContent:n,alignItems:i,noGutters:r,direction:o,wrap:s,...l},c)=>{const d=["o-grid"];return n&&d.push(`u-justify-content-${n}`),i&&d.push(`u-align-items-${i}`),r&&d.push("o-grid--no-gutters"),o&&d.push(`u-flex-direction-${o}`),s&&d.push(`u-flex-wrap-${s}`),a&&d.push(a),e("div",{ref:c,className:d.join(" "),...l,children:t})}));ja.displayName="Grid";const Ja=s((({children:t,className:a="",xs:n,sm:i,md:r,lg:o,xl:s,xxl:l,offsetXs:c,offsetSm:d,offsetMd:u,offsetLg:h,offsetXl:m,offsetXxl:p,grow:g,shrink:S,basis:E,align:A,...N},_)=>{const v=!(n||i||r||o||s||l)?["o-grid__col","o-grid__col--auto"]:["o-grid__col"],f=(e,t)=>{void 0!==e&&(!0!==e?!1!==e&&("xs"===t?"auto"===e?v.push("o-grid__col--auto"):v.push(`o-grid__col--${e}`):"auto"===e?v.push(`o-grid__col--${t}-auto`):v.push(`o-grid__col--${t}-${e}`)):v.push("xs"===t?"o-grid__col--auto":`o-grid__col--${t}-auto`))};return f(n,"xs"),f(i,"sm"),f(r,"md"),f(o,"lg"),f(s,"xl"),f(l,"xxl"),c&&v.push(`o-grid__offset--${c}`),d&&v.push(`o-grid__offset--sm-${d}`),u&&v.push(`o-grid__offset--md-${u}`),h&&v.push(`o-grid__offset--lg-${h}`),m&&v.push(`o-grid__offset--xl-${m}`),p&&v.push(`o-grid__offset--xxl-${p}`),void 0!==g&&v.push(g?"u-flex-grow-1":"u-flex-grow-0"),void 0!==S&&v.push(S?"u-flex-shrink-1":"u-flex-shrink-0"),E&&v.push(`u-flex-basis-${E}`),A&&v.push(`u-align-self-${A}`),a&&v.push(a),e("div",{ref:_,className:v.join(" "),...N,children:t})}));Ja.displayName="GridCol";const en=s((({children:t,className:a="",justifyContent:n,alignItems:i,noGutters:r,...o},s)=>{const l=["o-grid"];return n&&l.push(`u-justify-content-${n}`),i&&l.push(`u-align-items-${i}`),r&&l.push("o-grid--no-gutters"),a&&l.push(a),e("div",{ref:s,className:l.join(" "),...o,children:t})}));en.displayName="Row";const tn=s((({brand:a,brandLogo:i,brandDescription:r,copyright:o,layout:s="columns",variant:l="primary",size:c="md",showNewsletter:d=!1,newsletterTitle:u="Stay Updated",newsletterDescription:h="Subscribe to our newsletter for the latest updates.",newsletterPlaceholder:m="Enter your email",newsletterButtonText:p="Subscribe",onNewsletterSubmit:g,socialLinks:S=[],showBackToTop:E=!1,backToTopText:A="Back to Top",onBackToTop:N,showDivider:_=!0,sticky:v=!1,children:f,className:b="",disabled:T=!1,glass:L,...C},I)=>{const{footerClass:y,containerClass:x,brandClass:R,sectionsClass:O,bottomClass:M,handleNewsletterSubmit:w,handleBackToTop:D,socialLinks:B}=function(e={}){const{layout:t=_e.DEFAULTS.LAYOUT,variant:a=_e.DEFAULTS.VARIANT,size:n=_e.DEFAULTS.SIZE,sticky:i=_e.DEFAULTS.STICKY,showNewsletter:r=_e.DEFAULTS.SHOW_NEWSLETTER,showBackToTop:o=_e.DEFAULTS.SHOW_BACK_TO_TOP,socialLinks:s=[],onNewsletterSubmit:l,onBackToTop:c,className:d=""}=e;return{footerClass:[_e.CLASSES.BASE,_e.CLASSES[t.toUpperCase()]||_e.CLASSES.COLUMNS,`c-footer--${a}`,_e.CLASSES[n.toUpperCase()]||_e.CLASSES.MD,i&&_e.CLASSES.STICKY,r&&"c-footer--with-newsletter",d].filter(Boolean).join(" "),containerClass:_e.CLASSES.CONTAINER,brandClass:_e.CLASSES.BRAND,sectionsClass:[_e.CLASSES.SECTIONS,"columns"===t&&"c-footer__sections--columns","centered"===t&&"c-footer__sections--centered","stacked"===t&&"c-footer__sections--stacked"].filter(Boolean).join(" "),bottomClass:_e.CLASSES.BOTTOM,handleNewsletterSubmit:e=>{l&&l(e)},handleBackToTop:()=>{c?c():window.scrollTo({top:0,behavior:"smooth"})},socialLinks:s,showNewsletter:r}}({layout:s,variant:l,size:c,sticky:v,showNewsletter:d,showBackToTop:E,socialLinks:S,onNewsletterSubmit:g,onBackToTop:N,className:b}),P=(()=>{switch(s){case"columns":default:return{brand:4,content:d?4:8,newsletter:d?4:0};case"centered":case"minimal":case"stacked":return{brand:12,content:12,newsletter:d?12:0};case"flexible":return{brand:"auto",content:"auto",newsletter:"auto"};case"sidebar":return{brand:3,content:9,newsletter:d?9:0};case"wide":return{brand:3,content:6,newsletter:d?3:0}}})(),k=e=>{const t="columns"===s||"sidebar"===s||"wide"===s?P[e]:12;return"flexible"===s&&"auto"===P[e]?{xs:12,sm:!0,md:!0}:{xs:12,md:t}},U=t("div",{className:x,children:[t(ja,{className:O,alignItems:"start",justifyContent:"centered"===s?"center":void 0,children:[(a||i||r)&&t(Ja,{...k("brand"),className:R,children:[i&&e("div",{className:"c-footer__brand-logo",children:"string"==typeof i?e("img",{src:i,alt:"Brand Logo"}):i}),a&&e("div",{className:"c-footer__brand-name",children:"string"==typeof a?e("h3",{children:a}):a}),r&&e("div",{className:"c-footer__brand-description",children:r}),S.length>0&&e("div",{className:"c-footer__social","data-testid":"footer-social-links",children:S.map(((t,a)=>e(Xa,{platform:t.platform,url:t.url,icon:t.icon,label:t.label,size:c},`${t.platform}-${a}`)))})]}),f&&e(Ja,{...k("content"),className:"c-footer__content",children:e(ja,{className:"c-footer__sections",alignItems:"centered"===s||"stacked"===s?"center":void 0,children:n.Children.map(f,(e=>n.isValidElement(e)?n.cloneElement(e,{showNewsletter:d}):e))})}),d&&t(Ja,{...k("newsletter"),className:"c-footer__newsletter",children:[e("h4",{className:"c-footer__newsletter-title",children:u}),h&&e("p",{className:"c-footer__newsletter-description",children:h}),e(fa,{className:"c-footer__newsletter-form",onSubmit:e=>{e.preventDefault();const t=new FormData(e.currentTarget).get("email");t&&w(t)},children:t("div",{className:"c-footer__newsletter-input-group",children:[e(Ca,{type:"email",name:"email",className:"c-footer__newsletter-input",placeholder:m,required:!0}),e(St,{type:"submit",className:"c-footer__newsletter-button",children:p})]})})]})]}),(o||E)&&t("div",{className:M,children:[o&&e("div",{className:"c-footer__copyright",children:o}),E&&t(St,{variant:"ghost",className:"c-footer__back-to-top",onClick:D,disabled:T,"aria-label":A,children:[e("span",{className:"c-footer__back-to-top-icon",children:"↑"}),e("span",{className:"c-footer__back-to-top-text",children:A})]})]})]});return e("footer",{ref:I,className:y+" c-footer "+(L?"c-footer--glass":""),...C,children:L?e(et,{...L,elasticity:0,children:e("div",{className:"c-footer__glass",children:U})}):U})}));tn.displayName="Footer";const an=s((({children:t,className:a="",xs:s=1,sm:l,md:c,lg:m,xl:p,xxl:g,gap:S=16,animate:A=!0,imagesLoaded:N=!0,onLayoutComplete:_,onImageLoad:v,...f},b)=>{const[T,L]=i(s),[C,I]=i([]),[y,x]=i(!1),[R,O]=i(!1),M=r(null),w=r([]),D=r(0),B=r(0),P=r(new Map);o((()=>{O(!!N)}),[T,N]),E(b,(()=>M.current));const k=d((()=>{const e=window.innerWidth;return e>=1400&&void 0!==g?g:e>=1200&&void 0!==p?p:e>=992&&void 0!==m?m:e>=768&&void 0!==c?c:e>=576&&void 0!==l?l:s}),[s,l,c,m,p,g]);o((()=>{const e=()=>L(k());return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[k]);const[U,G]=i([]);o((()=>{const e=[];u.forEach(t,((t,a)=>{h(t)&&e.push({id:t.key?.toString()||`masonry-item-${a}`,element:t,position:null,ref:n.createRef()})})),G(e)}),[t]);const z=d((e=>{if(!P.current.get(e)){if(P.current.set(e,!0),D.current+=1,M.current&&N){const t=e.closest(".o-masonry-grid > div");t&&(t.offsetHeight,t.classList.add("o-masonry-grid__item-loaded"),t.classList.remove("o-masonry-grid__item-loading"))}requestAnimationFrame((()=>{requestAnimationFrame((()=>{V()}))})),v?.(D.current,B.current),D.current>=B.current&&B.current>0&&(x(!0),O(!1),requestAnimationFrame((()=>{requestAnimationFrame((()=>{V(),O(!1)}))})),_?.())}}),[v,_,N]),F=d((()=>{if(!N||!M.current)return;P.current.clear(),D.current=0;const e=M.current.querySelectorAll("img");return B.current=e.length,0===e.length?(x(!0),O(!1),void _?.()):(O(!0),e.forEach((e=>{const t=e,a=e.closest(".o-masonry-grid > div");if(a&&a.classList.add("o-masonry-grid__item-loading"),e.complete)z(e);else{const a=()=>z(e);e.addEventListener("load",a),e.addEventListener("error",a),t._masonryLoadHandler=a}})),()=>{e.forEach((e=>{const t=e;t._masonryLoadHandler&&(e.removeEventListener("load",t._masonryLoadHandler),e.removeEventListener("error",t._masonryLoadHandler),delete t._masonryLoadHandler)}))})}),[N,z,_]),V=d((()=>{if(!M.current||0===U.length)return;const e=(M.current.offsetWidth-S*(T-1))/T;w.current=Array(T).fill(0);const t=[];U.forEach(((a,n)=>{if(a.ref.current){const i=w.current.indexOf(Math.min(...w.current)),r=i*(e+S),o=w.current[i]??0,s=a.ref.current.offsetHeight;w.current[i]=o+s+S,t[n]={left:r,top:o,width:e,height:s}}})),I(t)}),[U,T,S]);o((()=>{if(!M.current)return;let e=null;const t=new ResizeObserver((()=>{e&&cancelAnimationFrame(e),e=requestAnimationFrame((()=>V()))}));return t.observe(M.current),()=>{t.disconnect(),e&&cancelAnimationFrame(e)}}),[V]),n.useLayoutEffect((()=>{if(N){return F()}return V(),x(!0),void O(!1)}),[U,T,V,N,F]),n.useEffect((()=>{const e=[];return U.forEach((t=>{if(t.ref.current){const a=new ResizeObserver((()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{V()}))}))}));a.observe(t.ref.current),e.push(a)}})),()=>{e.forEach((e=>e.disconnect()))}}),[U,V]);const H=w.current.length>0?Math.max(...w.current):0,Y=["o-masonry-grid",a,A?"o-masonry-grid--animate":"",R?"o-masonry-grid--loading-images":""].filter(Boolean).join(" ");return e("div",{ref:M,className:Y,style:{position:"relative",width:"100%",height:`${H}px`,...f.style},...f,children:U.map(((t,a)=>{const n=C[a];return e("div",n?{ref:t.ref,className:"o-masonry-grid__item",style:{position:"absolute",left:`${n.left}px`,top:`${n.top}px`,width:`${n.width}px`,opacity:1},children:t.element}:{ref:t.ref,style:{opacity:0,position:"absolute"},children:t.element},t.id)}))})}));an.displayName="MasonryGrid";const nn=s((({children:t,className:a="",...n},i)=>{const r=["o-masonry-grid__item-inner"];return a&&r.push(a),e("div",{ref:i,className:r.join(" "),...n,children:t})}));nn.displayName="MasonryGridItem";var rn=Object.freeze({__proto__:null,Container:ct,Grid:ja,GridCol:Ja,MasonryGrid:an,MasonryGridItem:nn,Row:en});const on=s((({title:a,icon:i,collapsible:r=!1,defaultCollapsed:o=!1,showNewsletter:s=!1,children:l,className:c="",...d},u)=>{const[h,m]=n.useState(o),p=["c-footer__section",r&&"c-footer__section--collapsible",h&&"c-footer__section--collapsed",c].filter(Boolean).join(" ");return e(Ja,{xs:12,md:s?6:3,className:"c-footer__section-col",children:t("div",{ref:u,className:p,...d,children:[a&&e("div",{className:"c-footer__section-header",children:r?t("button",{type:"button",className:"c-footer__section-toggle",onClick:()=>{r&&m(!h)},"aria-expanded":!h,"aria-controls":`footer-section-${a.toString().toLowerCase().replace(/\s+/g,"-")}`,children:[i&&e("span",{className:"c-footer__section-icon",children:i}),e("h4",{className:"c-footer__section-title",children:a}),e("span",{className:"c-footer__section-chevron",children:h?"▼":"▲"})]}):t("div",{className:"c-footer__section-header-content",children:[i&&e("span",{className:"c-footer__section-icon",children:i}),e("h4",{className:"c-footer__section-title",children:a})]})}),e("div",{className:"c-footer__section-content",id:a?`footer-section-${a.toString().toLowerCase().replace(/\s+/g,"-")}`:void 0,style:{display:r&&h?"none":"flex"},children:l})]})})}));on.displayName="FooterSection";const sn=s((({href:a,icon:n,external:i=!1,active:r=!1,disabled:o=!1,onClick:s,children:l,className:c="",LinkComponent:d,...u},h)=>{const m={className:["c-footer__link",r&&"c-footer__link--active",o&&"c-footer__link--disabled",c].filter(Boolean).join(" "),onClick:o?void 0:s,"aria-disabled":o,...i&&{target:"_blank",rel:"noopener noreferrer"},...u};return d?t(d,{ref:h,to:a,...m,children:[n&&e("span",{className:"c-footer__link-icon",children:n}),e("span",{className:"c-footer__link-text",children:l}),i&&e("span",{className:"c-footer__link-external",children:"↗"})]}):t("a",{ref:h,href:o?void 0:a,...m,children:[n&&e("span",{className:"c-footer__link-icon",children:n}),e("span",{className:"c-footer__link-text",children:l}),i&&e("span",{className:"c-footer__link-external",children:"↗"})]})}));sn.displayName="FooterLink";const ln=({title:n,subtitle:i,text:r,imageSrc:o,imageAlt:s="Hero image",alignment:l="left",backgroundImageSrc:c,showOverlay:d=!0,fullViewportHeight:u=!1,actions:h,imageColSize:m=7,contentColSize:p=5,contentWidth:g,className:S="",style:E,parallax:A=!1,parallaxIntensity:N=.5,videoBackground:_,children:v,glass:f,videoOptions:b={autoplay:!0,loop:!0,muted:!0},backgroundSlider:T})=>{const{generateHeroClassNames:L,generateImageColClass:C,generateContentColClass:I,hasBackgroundImage:y,hasForegroundImage:x,useGridLayout:R,heroRef:O,videoRef:M,backgroundSlider:w,hasBackgroundSlider:D}=Ia({alignment:l,imageColSize:m,contentColSize:p,imageSrc:o,backgroundImageSrc:c,showOverlay:d,fullViewportHeight:u,contentWidth:g,parallax:A,parallaxIntensity:N,videoBackground:_,backgroundSlider:T}),B={...g?{"--atomix-hero-content-width":g}:{},...E},P=()=>{if(!_)return null;const{autoplay:a,loop:n,muted:i,posterUrl:r}=b;return t("video",{ref:M,className:"c-hero__video",autoPlay:a,loop:n,muted:i,playsInline:!0,poster:r,children:[e("source",{src:_,type:`video/${_.split(".").pop()||"mp4"}`}),"Your browser does not support the video tag."]})},k=()=>{const a=t("div",{className:U.SELECTORS.CONTENT.replace(".",""),children:[i&&e("p",{className:U.SELECTORS.SUBTITLE.replace(".",""),children:i}),e("h1",{className:U.SELECTORS.TITLE.replace(".",""),children:n}),r&&e("p",{className:U.SELECTORS.TEXT.replace(".",""),children:r}),h&&e("div",{className:U.SELECTORS.ACTIONS.replace(".",""),children:h})]});return!1===f?a:f?e("div",!0===f?{className:U.SELECTORS.CONTENT.replace(".",""),children:e(et,{displacementScale:60,blurAmount:3,saturation:180,aberrationIntensity:0,cornerRadius:8,overLight:!1,mode:"standard",children:t("div",{className:"u-p-4",children:[i&&e("p",{className:U.SELECTORS.SUBTITLE.replace(".",""),children:i}),e("h1",{className:U.SELECTORS.TITLE.replace(".",""),children:n}),r&&e("p",{className:U.SELECTORS.TEXT.replace(".",""),children:r}),h&&e("div",{className:U.SELECTORS.ACTIONS.replace(".",""),children:h})]})})}:{className:U.SELECTORS.CONTENT.replace(".",""),children:e(et,{...f,children:t("div",{className:"u-p-4",children:[i&&e("p",{className:U.SELECTORS.SUBTITLE.replace(".",""),children:i}),e("h1",{className:U.SELECTORS.TITLE.replace(".",""),children:n}),r&&e("p",{className:U.SELECTORS.TEXT.replace(".",""),children:r}),h&&e("div",{className:U.SELECTORS.ACTIONS.replace(".",""),children:h})]})})}):a},G=()=>x?e("div","center"===l?{className:U.SELECTORS.IMAGE_WRAPPER.replace(".",""),children:e("img",{src:o,alt:s,className:U.SELECTORS.IMAGE.replace(".","")})}:{className:C(),children:e("img",{src:o,alt:s,className:U.SELECTORS.IMAGE.replace(".","")})}):null;return t("div",{ref:O,className:L(S),style:B,"data-parallax":A?"true":void 0,"data-parallax-intensity":A?N:void 0,children:[(()=>{if(D&&T&&w){const{slides:a,transition:n="fade",transitionDuration:i=1e3}=T,{currentIndex:r,slideRefs:o,videoRefs:s}=w;let l=U.CLASSES.SLIDER_FADE;return"slide"===n?l=U.CLASSES.SLIDER_SLIDE:"custom"===n&&(l=U.CLASSES.SLIDER_CUSTOM),t("div",{className:`${U.SELECTORS.SLIDER.replace(".","")} ${l}`,style:{"--slider-transition-duration":`${i}ms`},onMouseEnter:()=>{T.autoplay?.pauseOnHover&&w.pauseAutoplay()},onMouseLeave:()=>{T.autoplay?.pauseOnHover&&w.resumeAutoplay()},children:[a.map(((a,n)=>{const i=n===r,l=o[n],c=s[n];return e("div",{ref:l,className:`${U.SELECTORS.SLIDER_ITEM.replace(".","")} ${i?U.CLASSES.SLIDER_ITEM_ACTIVE:""}`,children:"image"===a.type?e("img",{src:a.src,alt:a.alt||"Background slide",className:U.SELECTORS.BG_IMAGE.replace(".","")}):t("video",{ref:c,className:"c-hero__video",autoPlay:!1!==a.videoOptions?.autoplay,loop:!1!==a.videoOptions?.loop,muted:!1!==a.videoOptions?.muted,playsInline:!0,poster:a.videoOptions?.posterUrl,children:[e("source",{src:a.src,type:`video/${a.src.split(".").pop()||"mp4"}`}),"Your browser does not support the video tag."]})},n)})),d&&e("div",{className:U.SELECTORS.OVERLAY.replace(".","")})]})}return y||_?t("div",{className:U.SELECTORS.BG.replace(".",""),children:[c&&e("img",{src:c,alt:"Background",className:U.SELECTORS.BG_IMAGE.replace(".","")}),P(),d&&e("div",{className:U.SELECTORS.OVERLAY.replace(".","")})]}):null})(),e("div",{className:`${U.SELECTORS.CONTAINER.replace(".","")} o-container`,children:v?e("div",{className:U.SELECTORS.GRID.replace(".",""),children:v}):R?e("div",{className:`${U.SELECTORS.GRID.replace(".","")} o-grid`,children:t(a,"left"===l?{children:[e("div",{className:I(),children:k()}),G()]}:{children:[G(),e("div",{className:I(),children:k()})]})}):t(a,{children:[k(),G()]})})]})};ln.displayName="Hero";const cn=({children:t,variant:a="default",className:i="",style:r,...o})=>{const s=[B.BASE_CLASS,"default"!==a&&`c-list--${a}`,i].filter(Boolean).join(" "),l=["number","text"].includes(a)?"ol":"ul";return e(l,{className:s,style:r,...o,children:n.Children.map(t,(t=>(n.isValidElement(t),e("li",{className:"c-list__item",children:t}))))})};cn.displayName="List";const dn=({children:t,className:a="",style:i,variant:r="default"})=>{const o=O(P.BASE_CLASS,a),s=n.Children.toArray(t).filter((e=>n.isValidElement(e)&&e.type===cn));return e("div",{className:o,style:i,children:s.map(((e,t)=>{const a=e.props;return n.cloneElement(e,{key:t,variant:a?.variant??r})}))})};dn.displayName="ListGroup";const un=({messages:n=[],otherAvatar:r,selfAvatar:o,otherName:s,width:l="100%",onSendMessage:c,placeholder:d="Type a message",className:u="",style:h,bodyHeight:m,disabled:p=!1,id:g,glass:S})=>{const{inputValue:E,handleInputChange:A,handleSubmit:N,handleKeyDown:_}=(({onSendMessage:e}={})=>{const[t,a]=i(""),n=n=>{n.preventDefault(),t.trim()&&e&&(e(t.trim()),a(""))};return{inputValue:t,setInputValue:a,handleInputChange:e=>{a(e.target.value)},handleSubmit:n,handleKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),n(e))}}})({onSendMessage:c}),v=g||`messages-${Math.random().toString(36).substr(2,9)}`,f=`${v}-input`,b={displacementScale:150,cornerRadius:12,elasticity:0,aberrationIntensity:2},T=`${he.CLASSES.BASE} ${S?"c-messages--glass":""} ${p?"is-disabled":""} ${u}`,L=t(a,{children:[e("div",{className:he.CLASSES.BODY,style:m?{"--atomix-messages-body-height":m}:void 0,children:n.map((a=>t("div",{className:`${he.CLASSES.CONTENT} ${a.isSelf?he.CLASSES.CONTENT_SELF:""}`,"aria-label":`${a.isSelf?"You":s||"Other person"} sent a message at ${a.time}`,children:[e(rt,{src:a.isSelf?o:r,size:"xl",circle:!0,className:he.CLASSES.AVATAR,alt:a.isSelf?"Your avatar":`${s||"Other person"}'s avatar`}),t("div",{className:he.CLASSES.ITEMS,children:[!a.isSelf&&s&&e("div",{className:he.CLASSES.NAME,children:s}),a.text&&t("div",{className:he.CLASSES.TEXT,children:[a.text,e("span",{className:he.CLASSES.TIME,"aria-label":`Sent at ${a.time}`,children:a.time})]}),a.image&&e("img",{className:he.CLASSES.IMAGE,src:a.image,alt:"Message attachment",loading:"lazy"}),a.file&&t("div",{className:he.CLASSES.FILE,"aria-label":`File attachment: ${a.file.name}, size: ${a.file.size}`,children:[e("span",{className:he.CLASSES.FILE_ICON,children:e(it,{name:"File","aria-hidden":"true"})}),t("div",{className:he.CLASSES.FILE_DETAILS,children:[e("div",{className:he.CLASSES.FILE_NAME,children:a.file.name}),e("div",{className:he.CLASSES.FILE_SIZE,children:a.file.size})]})]})]})]},a.id)))}),t("form",{className:he.CLASSES.FORM,onSubmit:N,"aria-label":"Message input form",children:[t("div",{className:he.CLASSES.INPUT_GROUP,children:[e("label",{htmlFor:f,className:"u-visually-hidden",children:"Type a message"}),e("input",{id:f,type:"text",className:he.CLASSES.INPUT,placeholder:d,value:E,onChange:A,onKeyDown:_,disabled:p,"aria-label":"Message input"}),t("div",{className:he.CLASSES.OPTIONS,"aria-label":"Message options",children:[e("button",{type:"button",className:he.CLASSES.OPTION,"aria-label":"Attach file",disabled:p,children:e(it,{name:"PaperclipHorizontal","aria-hidden":"true",className:he.CLASSES.OPTION_ICON})}),e("button",{type:"button",className:he.CLASSES.OPTION,"aria-label":"Attach image",disabled:p,children:e(it,{name:"Image","aria-hidden":"true",className:he.CLASSES.OPTION_ICON})}),e("button",{type:"button",className:he.CLASSES.OPTION,"aria-label":"Insert link",disabled:p,children:e(it,{name:"Link","aria-hidden":"true",className:he.CLASSES.OPTION_ICON})})]})]}),e("button",{type:"submit",className:he.CLASSES.SUBMIT,"aria-label":"Send message",disabled:p,children:e(it,{name:"PaperPlaneTilt","aria-hidden":"true",size:24})})]})]});if(S){const t=!0===S?b:{...b,...S};return e("div",{className:T,style:{"--atomix-messages-width":l,...h},id:v,"aria-label":"Chat messages",role:"log","aria-live":"polite",children:e(et,{...t,children:e("div",{className:"c-messages__glass-content",style:{borderRadius:t.cornerRadius},children:L})})})}return e("div",{className:T,style:{"--atomix-messages-width":l,...h},id:v,"aria-label":"Chat messages",role:"log","aria-live":"polite",children:L})};un.displayName="Messages";const hn=({children:a,isOpen:n=!1,onOpenChange:s,onClose:l,onOpen:c,title:u,subtitle:h,size:m="md",backdrop:p=!0,keyboard:g=!0,className:S="",style:E,closeButton:A=!0,footer:N,glass:_,...v})=>{const f=r(null),b=r(null),T=r(null),{isOpen:L,open:C,close:I}=function({isOpen:e,onOpenChange:t,onOpen:a,onClose:n}={}){const[r,s]=i(!1),l=void 0!==e,c=l?!!e:r;o((()=>{l&&s(!!e)}),[e,l]);const u=d((e=>{l||s(e),t&&t(e),e&&a?a():!e&&n&&n()}),[l,t,a,n]),h=d((()=>{u(!0)}),[u]),m=d((()=>{u(!1)}),[u]),p=d((()=>{u(!c)}),[c,u]);return{isOpen:c,open:h,close:m,toggle:p}}({isOpen:n,onOpenChange:s,onClose:l,onOpen:c});o((()=>{if(!g)return;const e=e=>{"Escape"===e.key&&L&&I()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[L,I,g]);const y=["c-modal",L?ue.CLASSES.IS_OPEN:"",m?`c-modal--${m}`:"",_?"c-modal--glass":"",S].filter(Boolean).join(" "),x=t("div",{className:"c-modal__content",children:[(u||A)&&t("div",{className:"c-modal__header",children:[t("div",{className:"c-modal__header-content",children:[u&&e("h3",{className:"c-modal__title",children:u}),h&&e("p",{className:"c-modal__sub",children:h})]}),A&&e("button",{type:"button",className:"c-modal__close c-btn js-modal-close",onClick:I,"aria-label":"Close modal",children:e("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M16.0672 15.1828C16.1253 15.2409 16.1713 15.3098 16.2028 15.3857C16.2342 15.4615 16.2504 15.5429 16.2504 15.625C16.2504 15.7071 16.2342 15.7884 16.2028 15.8643C16.1713 15.9402 16.1253 16.0091 16.0672 16.0672C16.0091 16.1252 15.9402 16.1713 15.8643 16.2027C15.7885 16.2342 15.7071 16.2503 15.625 16.2503C15.5429 16.2503 15.4616 16.2342 15.3857 16.2027C15.3098 16.1713 15.2409 16.1252 15.1828 16.0672L10 10.8836L4.8172 16.0672C4.69992 16.1844 4.54086 16.2503 4.37501 16.2503C4.20916 16.2503 4.0501 16.1844 3.93282 16.0672C3.81555 15.9499 3.74966 15.7908 3.74966 15.625C3.74966 15.4591 3.81555 15.3001 3.93282 15.1828L9.11642 9.99998L3.93282 4.81717C3.81555 4.69989 3.74966 4.54083 3.74966 4.37498C3.74966 4.20913 3.81555 4.05007 3.93282 3.93279C4.0501 3.81552 4.20916 3.74963 4.37501 3.74963C4.54086 3.74963 4.69992 3.81552 4.8172 3.93279L10 9.11639L15.1828 3.93279C15.3001 3.81552 15.4592 3.74963 15.625 3.74963C15.7909 3.74963 15.9499 3.81552 16.0672 3.93279C16.1845 4.05007 16.2504 4.20913 16.2504 4.37498C16.2504 4.54083 16.1845 4.69989 16.0672 4.81717L10.8836 9.99998L16.0672 15.1828Z",fill:"#141414"})})})]}),e("div",{className:"c-modal__body",children:a}),N&&e("div",{className:"c-modal__footer",children:N})]});return t("div",{ref:f,className:y,style:{display:L?"block":"none",...E},role:"dialog","aria-modal":"true","aria-hidden":!L,...v,children:[e("div",{ref:T,className:"c-modal__backdrop",onClick:e=>{p&&e.target===e.currentTarget&&I()}}),e("div",{ref:b,className:"c-modal__dialog",children:_?(()=>{const t={displacementScale:100,blurAmount:2,aberrationIntensity:1,cornerRadius:12,mode:"shader"},a=!0===_?t:{...t,..._};return e(et,{...a,children:x})})():x})]})};hn.displayName="Modal";const mn=s((({children:t,alignment:a="start",variant:i="default",className:r="",disabled:o=!1,glass:s},l)=>{const{generateNavClass:c}=Ra({alignment:a,variant:i}),d=c({alignment:a,variant:i,className:r}),u=e("ul",{ref:l,className:d+(s?" c-nav--glass":""),role:"menubar","aria-orientation":"horizontal",children:n.Children.map(t,(e=>{if(n.isValidElement(e)){const t=e.props;return n.cloneElement(e,{...t,disabled:!!o||t?.disabled})}return e}))});if(s){const t={displacementScale:60,blurAmount:1.5,cornerRadius:8,mode:"shader"},a=!0===s?t:{...t,...s};return e(et,{...a,children:u})}return u}));mn.displayName="Nav";const pn=s((({children:a,dropdown:s=!1,megaMenu:l=!1,active:c=!1,href:d,onClick:u,className:h="",disabled:m=!1,"aria-expanded":p,LinkComponent:g},S)=>{const{generateNavItemClass:E,generateNavLinkClass:A,handleClick:N}=Oa({dropdown:s,megaMenu:l,active:c,disabled:m}),[_,v]=i(!1),f=r(null);o((()=>{if(!s&&!l||!_)return;const e=e=>{if(f.current&&!f.current.contains(e.target)){window.innerWidth<768||v(!1)}};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[s,l,_]),o((()=>{if(!s&&!l)return;const e=()=>{!(window.innerWidth<768)&&_&&v(!1)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[s,l,_]);const b=E({dropdown:s,megaMenu:l,active:c,disabled:m,className:h})+(_?" is-active":""),T=A(c,m,s||l?"c-nav__dropdown-toggle":""),L=n.Children.toArray(a),C=void 0!==p?p:_,I={ref:f,href:d||"#",className:T,onClick:s||l?e=>{(s||l)&&(e.preventDefault(),v(!_))}:N(u),"aria-disabled":m,"aria-expanded":s||l?C:void 0,"aria-current":!c||s||l?void 0:"page"};return t("li",{ref:S,className:b,role:"menuitem","aria-haspopup":s||l,children:[e(g||"a",{...I,children:s||l?L[0]:a}),(s||l)&&L.length>1&&L[1]]})}));pn.displayName="NavItem";const gn=s((({brand:a,children:n,variant:s,position:l="static",containerWidth:c,collapsible:d=!0,expanded:u,onToggle:h,className:m="",style:p,disabled:g=!1,backdrop:S=!1,closeOnOutsideClick:E=!0,closeOnEscape:A=!0,ariaLabel:N="Main navigation",id:_,glass:v},f)=>{const{generateNavbarClass:b,generateContainerStyle:T,generateCollapseClass:L}=xa({position:l,collapsible:d,expanded:u,onToggle:h}),[C,I]=i(u||!1),y=r(null);o((()=>{void 0!==u&&I(u)}),[u]),o((()=>{const e=()=>{!(window.innerWidth<768)&&d&&("function"==typeof h?u&&h(!1):I(!1))};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[d,u,h]);const x=b({position:l,variant:s,collapsible:d,className:m}),R=T(c),O=L(C),M=t("div",{className:"c-navbar__container",style:R,children:[a&&("string"==typeof a?e("a",{href:"/",className:"c-navbar__brand",children:a}):e("div",{className:"c-navbar__brand",children:a})),d&&e("button",{className:"c-navbar__toggler",onClick:()=>{if(g)return;const e=!C;"function"==typeof h?h(e):I(e)},"aria-expanded":C,"aria-label":"Toggle navigation","aria-controls":"navbar-collapse",disabled:g,type:"button",children:e("span",{className:"c-navbar__toggler-icon"})}),e("div",{id:"navbar-collapse",className:O,ref:y,children:n})]});if(v){const t={displacementScale:30,blurAmount:2,cornerRadius:0,elasticity:0,mode:"shader",shaderVariant:"premiumGlass"},a=!0===v?t:{...t,...v};return e(et,{...a,style:{..."fixed"===l&&{position:"fixed"},left:0,right:0,top:0,zIndex:1e3},children:e("nav",{ref:f,className:x+" c-navbar--glass","aria-label":N,id:_,style:p,children:M})})}return e("nav",{ref:f,className:x,"aria-label":N,id:_,style:p,children:M})}));gn.displayName="Navbar";const Sn=s((({title:n,children:i,isOpen:r,onToggle:o,collapsible:s=!0,className:l="",style:c,disabled:d=!1,toggleIcon:u,id:h,glass:m},p)=>{const{isOpenState:g,wrapperRef:S,innerRef:E,generateSideMenuClass:A,generateWrapperClass:N,handleToggle:_}=wa({isOpen:r,onToggle:o,collapsible:s,disabled:d}),v=A({className:l,isOpen:g}),f=N(),b=e(it,{name:"CaretRight",size:"xs"}),T=t(a,{children:[n&&s&&t("div",{className:"c-side-menu__toggler",onClick:_,role:"button",tabIndex:d?-1:0,"aria-expanded":g,"aria-controls":h?`${h}-content`:void 0,"aria-disabled":d,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||d||(e.preventDefault(),_())},children:[e("span",{className:"c-side-menu__title",children:n}),e("span",{className:"c-side-menu__toggler-icon",children:u||b})]}),n&&!s&&e("h3",{className:"c-side-menu__title",children:n}),e("div",{ref:S,className:f,id:h?`${h}-content`:void 0,"aria-hidden":!!s&&!g,children:e("div",{ref:E,className:"c-side-menu__inner",children:i})})]});if(m){const t={displacementScale:70,blurAmount:2,cornerRadius:12,mode:"shader"},a=!0===m?t:{...t,...m};return e(et,{...a,children:e("div",{ref:p,className:v+" c-side-menu--glass",id:h,style:c,children:T})})}return e("div",{ref:p,className:v,id:h,style:c,children:T})}));Sn.displayName="SideMenu";const En=s((({children:a,href:n,onClick:i,active:r=!1,disabled:o=!1,icon:s,className:l="",target:c,rel:d,LinkComponent:u},h)=>{const{generateSideMenuItemClass:m,handleClick:p}=Da({active:r,disabled:o,className:l}),g=m(),S={ref:h,href:o?void 0:n,className:g,onClick:p(i),"aria-disabled":o,"aria-current":r?"page":void 0,target:c,rel:d,tabIndex:o?-1:0};return n?t(u||"a",{...S,children:[s&&e("span",{className:"c-side-menu__link-icon",children:s}),e("span",{className:"c-side-menu__link-text",children:a})]}):t("button",{ref:h,type:"button",className:g,onClick:p(i),disabled:o,"aria-current":r?"page":void 0,tabIndex:o?-1:0,children:[s&&e("span",{className:"c-side-menu__link-icon",children:s}),e("span",{className:"c-side-menu__link-text",children:a})]})}));En.displayName="SideMenuItem";const An=s((({children:t,className:a=""},i)=>{const r=`c-side-menu__list ${a}`.trim();return e("ul",{ref:i,className:r,role:"list",children:n.Children.map(t,((t,a)=>n.isValidElement(t)?e("li",{className:"c-side-menu__item",role:"listitem",children:t},a):t))})}));An.displayName="SideMenuList";const Nn=s((({children:t,className:a="",style:i,disabled:r=!1},o)=>e("div",{ref:o,className:`c-menu ${a}`,style:i,children:e("ul",{className:"c-menu__list",role:"menu",children:n.Children.map(t,(e=>{if(n.isValidElement(e)){const t=e.props;return n.cloneElement(e,{...t,disabled:!!r||t?.disabled})}return e}))})}))),_n=s((({children:a,href:n="#",icon:i,active:r=!1,disabled:o=!1,onClick:s,className:l=""},c)=>e("li",{ref:c,className:`c-menu__item ${r?"is-active":""} ${o?"is-disabled":""} ${l}`,role:"menuitem",children:t("a",{href:n,className:"c-menu__link",onClick:e=>{o?e.preventDefault():s&&s()},"aria-disabled":o,"aria-current":r?"page":void 0,children:[i&&("string"==typeof i?i.startsWith("c-icon-")?e(it,{name:vn(i.replace("c-icon-","")),size:"sm",className:"c-menu__icon"}):e("i",{className:`c-menu__icon ${i}`,children:"string"!=typeof i&&i}):e("span",{className:"c-menu__icon",children:i})),a]})}))),vn=e=>({circle:"Circle","caret-down":"CaretDown","caret-up":"CaretUp","caret-right":"CaretRight",user:"User",settings:"Gear","sign-out":"SignOut",file:"File",bookmark:"Bookmark","question-circle":"Question",bell:"Bell",search:"MagnifyingGlass"}[e]||"Circle"),fn=s((({className:t=""},a)=>e("li",{ref:a,className:`c-menu__divider ${t}`,role:"separator"}))),bn=s((({children:t,className:a="",style:i,disabled:r=!1},o)=>e("div",{ref:o,className:`c-menu c-menu--mega ${a}`,style:i,children:e("div",{className:"c-menu__container",children:e("div",{className:"c-menu__grid o-grid",children:n.Children.map(t,(e=>{if(n.isValidElement(e)){const t=e.props;return n.cloneElement(e,{...t,disabled:!!r||t?.disabled})}return e}))})})}))),Tn=s((({title:a,icon:i,children:r,width:o="auto",className:s="",disabled:l=!1},c)=>t("div",{ref:c,className:`o-grid__col o-grid__col--${o} ${s}`,children:[(a||i)&&t("div",{className:"c-menu__header",children:[i&&("string"==typeof i?i.startsWith("c-icon-")?e(it,{name:vn(i.replace("c-icon-","")),size:"sm",className:"c-menu__header-icon"}):e("i",{className:`c-menu__header-icon ${i}`,children:"string"!=typeof i&&i}):e("span",{className:"c-menu__header-icon",children:i})),a&&e("div",{className:"c-menu__header-title",children:a})]}),e("ul",{className:"c-menu__subitems-list",role:"menu",children:n.Children.map(r,(t=>{if(n.isValidElement(t)){const a=t.props;return e("li",{className:"c-menu__subitem",role:"menuitem",children:n.cloneElement(t,{...a,disabled:!!l||a?.disabled})})}return null}))})]}))),Ln=s((({href:t,children:a,className:n="",disabled:i=!1,onClick:r},o)=>e("a",{ref:o,href:t,className:`c-menu__subitem-link ${i?"is-disabled":""} ${n}`,onClick:e=>{i?e.preventDefault():r&&r()},"aria-disabled":i,children:a}))),Cn=s((({title:n,children:s,alignment:l="start",megaMenu:c=!1,className:d="",style:u,disabled:h=!1},m)=>{const{generateDropdownMenuClass:p,getIconName:g}=Ma({alignment:l,megaMenu:c}),[S,E]=i(!1),A=r(null),N=p({alignment:l,megaMenu:c,className:d}),_=g(c);o((()=>{if(!S)return;const e=e=>{window.innerWidth<768||!A.current||A.current.contains(e.target)||E(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[S]),o((()=>{if(!S)return;const e=e=>{"Escape"===e.key&&E(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[S]);const v=t(a,{children:[n,e(it,{name:_,size:"sm",className:"c-nav__icon"})]}),f=e("div",{className:N,ref:A,"aria-hidden":!S,children:s});return t(pn,{dropdown:!c,megaMenu:c,disabled:h,className:S?"is-active":"",href:"#",onClick:()=>{h||E(!S)},"aria-expanded":S,style:u,children:[v,f]})}));Cn.displayName="NavDropdown";const In=({currentIndex:a,imagesLength:n,onZoomOut:i,onResetZoom:r,onZoomIn:o,onToggleFullscreen:s,onClose:l,isFullscreen:c,zoomLevel:d,onRotate:u,onDownload:h,onShare:m,showInfo:p,onToggleInfo:g,currentImage:S})=>t("div",{className:"c-photo-viewer__header",children:[t("div",{className:"c-photo-viewer__header-left",children:[e(lt,{label:`${a+1} / ${n}`,variant:"primary",size:"sm"}),S?.title&&e("h3",{className:"c-photo-viewer__image-title",children:S.title})]}),t("div",{className:"c-photo-viewer__actions",children:[e(St,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:i,disabled:d<=.1,"aria-label":"Zoom out",className:"c-photo-viewer__action-button",icon:e(it,{name:"Minus",size:"sm"})}),e(St,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:r,disabled:1===d,"aria-label":"Reset zoom",className:"c-photo-viewer__action-button",icon:e(it,{name:"MagnifyingGlass",size:"sm"})}),e(St,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:o,disabled:d>=5,"aria-label":"Zoom in",className:"c-photo-viewer__action-button",icon:e(it,{name:"Plus",size:"sm"})}),e("div",{className:"c-photo-viewer__divider"}),e(St,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:u,"aria-label":"Rotate image",className:"c-photo-viewer__action-button",icon:e(it,{name:"ArrowsClockwise",size:"sm"})}),e(St,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:h,"aria-label":"Download image",className:"c-photo-viewer__action-button",icon:e(it,{name:"Download",size:"sm"})}),"share"in navigator&&"function"==typeof navigator.share&&e(St,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:m,"aria-label":"Share image",className:"c-photo-viewer__action-button",icon:e(it,{name:"Share",size:"sm"})}),e(St,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:g,"aria-label":"Toggle info panel",className:"c-photo-viewer__action-button "+(p?"is-active":""),icon:e(it,{name:"Info",size:"sm"})}),e("div",{className:"c-photo-viewer__divider"}),e(St,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:s,"aria-label":c?"Exit fullscreen":"Enter fullscreen",className:"c-photo-viewer__action-button",icon:e(it,{name:c?"ArrowsIn":"ArrowsOut",size:"sm"})}),e(St,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:l,"aria-label":"Close viewer",className:"c-photo-viewer__action-button c-photo-viewer__close-button",icon:e(it,{name:"X",size:"sm"})})]})]}),yn=({show:n,onPrev:i,onNext:r,currentIndex:s,imagesLength:l,enableKeyboardNav:c,onClose:d})=>(o((()=>{if(!c)return;const e=e=>{"ArrowLeft"===e.key&&i(),"ArrowRight"===e.key&&r(),"Escape"===e.key&&d()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)}),[c,i,r,d]),n?t(a,{children:[e(St,{iconOnly:!0,size:"md",variant:"ghost",rounded:!0,onClick:i,disabled:0===s,"aria-label":"Previous image",className:"c-photo-viewer__nav-button c-photo-viewer__nav-button--prev",icon:e(it,{name:"CaretLeft",size:"md"})}),e(St,{iconOnly:!0,size:"md",variant:"ghost",rounded:!0,onClick:r,disabled:s===l-1,"aria-label":"Next image",className:"c-photo-viewer__nav-button c-photo-viewer__nav-button--next",icon:e(it,{name:"CaretRight",size:"md"})})]}):null),xn=({imageRef:t,containerRef:a,src:n,alt:s,zoomLevel:l,dragPosition:c,isDragging:d,rotationAngle:u,isTransitioning:h=!1,onMouseDown:m,onMouseMove:p,onMouseUp:g,onWheel:S,onTouchStart:E,onTouchMove:A,onTouchEnd:N,onDoubleClick:_})=>{const v=r(null),f=a||v,[b,T]=i(!1);o((()=>(T(!0),()=>T(!1))),[]);return o((()=>{const e=f.current;if(!e)return;const t=t=>{b&&e&&S&&S(t)},a=t=>{b&&e&&E&&E(t)},n=t=>{b&&e&&A&&A(t)},i=t=>{b&&e&&N&&N(t)};return b&&(e.addEventListener("wheel",t,{passive:!1}),e.addEventListener("touchstart",a,{passive:!1}),e.addEventListener("touchmove",n,{passive:!1}),e.addEventListener("touchend",i,{passive:!1})),()=>{e.removeEventListener("wheel",t),e.removeEventListener("touchstart",a),e.removeEventListener("touchmove",n),e.removeEventListener("touchend",i)}}),[b,S,E,A,N,f]),e("div",{ref:f,className:"c-photo-viewer__image-container "+(h?"is-transitioning":""),style:{cursor:d?"grabbing":l>1?"grab":"default",opacity:h?.7:1,touchAction:"none"},onMouseDown:m,onMouseMove:p,onMouseUp:g,onMouseLeave:g,onDoubleClick:e=>{b&&_&&_(e)},children:e("img",{ref:t,src:n,alt:s,className:"c-photo-viewer__image",style:{transform:`scale(${l}) translate(${c.x}px, ${c.y}px) rotate(${u}deg)`,transition:d?"none":h?"opacity 0.15s ease-out":"transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)",transformOrigin:"center center",willChange:d?"transform":"auto",touchAction:"none"},draggable:!1,onContextMenu:e=>e.preventDefault()})})},Rn=({images:a,currentIndex:n,goToImage:i})=>a.length<=1?null:e("div",{className:"c-photo-viewer__thumbnails",children:e("div",{className:"c-photo-viewer__thumbnails-container",children:a.map(((a,r)=>{const o=a.thumbnail||a.src,s=r===n;return e(St,{variant:"ghost",className:"c-photo-viewer__thumbnail "+(s?"is-active":""),onClick:()=>i(r),"aria-label":`View image ${r+1}${a.title?`: ${a.title}`:""}`,"aria-current":s,children:t("div",{className:"c-photo-viewer__thumbnail-wrapper",children:[e("img",{loading:"lazy",src:o,alt:a.alt||`Thumbnail ${r+1}`,className:"c-photo-viewer__thumbnail-img"}),s&&e("div",{className:"c-photo-viewer__thumbnail-indicator"})]})},r)}))})}),On=({show:a,image:n,onClose:i})=>a&&n?t("div",{className:"c-photo-viewer__info-panel",children:[t("div",{className:"c-photo-viewer__info-header",children:[e("h4",{className:"c-photo-viewer__info-panel-title",children:"Image Details"}),e(St,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:i,"aria-label":"Close info panel",className:"c-photo-viewer__info-close",icon:e(it,{name:"X",size:"sm"})})]}),t("div",{className:"c-photo-viewer__info-content",children:[n.title&&e("div",{className:"c-photo-viewer__info-section",children:e("h5",{className:"c-photo-viewer__info-title",children:n.title})}),n.description&&e("div",{className:"c-photo-viewer__info-section",children:e("p",{className:"c-photo-viewer__info-description",children:n.description})}),(n.date||n.author)&&e("div",{className:"c-photo-viewer__info-section",children:t("div",{className:"c-photo-viewer__info-meta",children:[n.date&&t("div",{className:"c-photo-viewer__info-meta-item",children:[e(it,{name:"Calendar",size:14}),e("span",{children:n.date})]}),n.author&&t("div",{className:"c-photo-viewer__info-meta-item",children:[e(it,{name:"User",size:14}),e("span",{children:n.author})]})]})}),n.tags&&n.tags.length>0&&t("div",{className:"c-photo-viewer__info-section",children:[e("h6",{className:"c-photo-viewer__info-section-title",children:"Tags"}),e("div",{className:"c-photo-viewer__info-tags",children:n.tags.map(((t,a)=>e(lt,{label:t,variant:"secondary",size:"sm"},a)))})]})]})]}):null,Mn=({images:a,startIndex:n=0,className:s="",disabled:l=!1,enableKeyboardNavigation:u=!0,enableGestures:h=!0,enableFullscreen:m=!0,thumbnailPosition:p="bottom",onImageChange:g,onClose:S})=>{const{currentIndex:E,zoomLevel:A,imagePosition:N,isDragging:_,isFullscreen:v,rotationAngle:f,showInfo:b,imageRef:T,containerRef:L,isTransitioning:C,setZoomLevel:I,setImagePosition:y,setIsDragging:x,setIsFullscreen:R,setRotationAngle:O,setShowInfo:M,closeModal:w,goToPrevious:D,goToNext:B,setCurrentIndex:P,handleMouseDown:k,handleMouseMove:U,handleMouseUp:G,handleWheel:z,handleTouchStart:F,handleTouchMove:V,handleTouchEnd:H,handleDoubleClick:Y,resetImageState:K}=(({images:e,startIndex:t=0,enableGestures:a=!0,onImageChange:n,onClose:s})=>{const[l,c]=i(t),[u,h]=i(!1),[m,p]=i(!1),[g,S]=i({x:0,y:0}),[E,A]=i(!1),[N,_]=i(!1),[v,f]=i({}),[b,T]=i(!1),[L,C]=i(!1),[I,y]=i({velocity:0,timestamp:0}),x=r(null),R=r(null),O=r([]),M=r(null),w=r(null),D=r(0),B=r(null),P=d(((e,t)=>{if(!L||!x.current||!R.current)return{minX:0,maxX:0,minY:0,maxY:0};const a=x.current,n=R.current;if(!a.naturalWidth&&!a.width)return{minX:0,maxX:0,minY:0,maxY:0};const i=a.naturalWidth||a.width||800,r=a.naturalHeight||a.height||600;try{const a=n.getBoundingClientRect();if(!a||0===a.width||0===a.height)return{minX:0,maxX:0,minY:0,maxY:0};const o=a.width,s=a.height,l=t*Math.PI/180,c=Math.abs(Math.cos(l)),d=Math.abs(Math.sin(l)),u=i/r;let h,m;o/s>u?(m=Math.min(.9*s,r),h=m*u):(h=Math.min(.9*o,i),m=h/u);const p=(h*c+m*d)*e,g=(h*d+m*c)*e,S=Math.max(0,(p-o)/2),E=Math.max(0,(g-s)/2);return{minX:-S,maxX:S,minY:-E,maxY:E}}catch(e){return{minX:0,maxX:0,minY:0,maxY:0}}}),[L]),k=d(((e,t)=>({x:Math.max(t.minX,Math.min(t.maxX,e.x)),y:Math.max(t.minY,Math.min(t.maxY,e.y))})),[]);o((()=>(C(!0),t<0||t>=e.length?c(0):c(t),()=>C(!1))),[e,t]),o((()=>{u?document.body.classList.add("is-open-photoviewer"):document.body.classList.remove("is-open-photoviewer")}),[u]),o((()=>{u&&f((e=>e[l]?e:{...e,[l]:{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}}}))}),[u,l]),o((()=>{n&&n(l)}),[l,n]),o((()=>{const e=x.current,t=R.current,a=()=>{L&&e&&t&&f((e=>{const t=e[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},a=P(t.zoomLevel,t.rotation),n=k(t.position,a);return{...e,[l]:{...t,bounds:a,position:n}}}))};if(!(e&&t&&e.complete&&L))return e&&t&&L?(e.addEventListener("load",a),()=>e.removeEventListener("load",a)):void 0;a()}),[l,P,k,L]),o((()=>{const e=()=>{L&&x.current&&R.current&&f((e=>{const t=e[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},a=P(t.zoomLevel,t.rotation),n=k(t.position,a);return{...e,[l]:{...t,bounds:a,position:n}}}))};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[l,P,k,L]);const U=d((()=>{h(!0)}),[]),G=d((()=>{h(!1),s&&s()}),[s]),z=d((()=>{l>0&&(T(!0),setTimeout((()=>{c((e=>e-1)),T(!1)}),150))}),[l]),F=d((()=>{l<e.length-1&&(T(!0),setTimeout((()=>{c((e=>e+1)),T(!1)}),150))}),[l,e.length]),V=d((e=>{f((t=>{const a=t[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},n="function"==typeof e?e(a.zoomLevel):e,i=Math.max(.1,Math.min(5,n)),r=P(i,a.rotation),o=k(a.position,r);return{...t,[l]:{...a,zoomLevel:i,bounds:r,position:o}}}))}),[L,l,P,k]),H=d((e=>{f((t=>{const a=t[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},n="function"==typeof e?e(a.position):e,i=k(n,a.bounds);return{...t,[l]:{...a,position:i}}}))}),[l,k]),Y=d((e=>{f((t=>{const a=t[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},n=(("function"==typeof e?e(a.rotation):e)%360+360)%360,i=P(a.zoomLevel,n),r=k(a.position,i);return{...t,[l]:{...a,rotation:n,bounds:i,position:r}}}))}),[L,l,P,k]),K=d((e=>{if(!L||!e||!e.currentTarget)return;const t=e.currentTarget;if(t&&"function"==typeof t.getBoundingClientRect){if("undefined"!=typeof window&&window.location?.href?.includes("storybook"))try{const e=t.getBoundingClientRect();if(!e||0===e.width||0===e.height)return}catch(e){return}f((a=>{const n=a[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},i=/Mac|iPod|iPhone|iPad/.test(navigator.platform),r=e.ctrlKey&&i,o=Math.abs(e.deltaX)>0,s=!e.ctrlKey&&o&&i,c=!e.ctrlKey&&!o&&i,d=!i;let u,h=!1;if(r)u=-.02*e.deltaY,h=!0;else if(s){if(!(n.zoomLevel>1))return a;u=-.003*e.deltaY,h=!0}else c?(u=-.004*e.deltaY,h=!0):d?(u=-.006*e.deltaY,h=!0):(u=-.005*e.deltaY,h=!0);h&&(e.preventDefault(),e.stopPropagation());const m=Date.now(),p=m-D.current;if(D.current=m,r&&p<100){const e=Math.abs(u)/p;y({velocity:e,timestamp:m}),B.current&&clearTimeout(B.current),B.current=setTimeout((()=>{const e=()=>{y((t=>{if(t.velocity<.001)return t;const a=.95*t.velocity,n=a*(u>0?1:-1);return f((e=>{const t=e[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},a=Math.max(.1,Math.min(5,t.zoomLevel+n));if(a===t.zoomLevel)return e;const i=P(a,t.rotation),r=k(t.position,i);return{...e,[l]:{...t,zoomLevel:a,bounds:i,position:r}}})),a>=.001&&requestAnimationFrame(e),{velocity:a,timestamp:Date.now()}}))};requestAnimationFrame(e)}),50)}let g;try{g=t.getBoundingClientRect()}catch(e){return a}if(!g||0===g.width||0===g.height)return a;const S=g.width/2,E=g.height/2,A=e.clientX-g.left-S,N=e.clientY-g.top-E,_=n.zoomLevel,v=Math.max(.1,Math.min(5,_+u));if(v!==_){const e=v/_,t=P(v,n.rotation),i={x:n.position.x+A*(1-e)*.5,y:n.position.y+N*(1-e)*.5},r=k(i,t);return{...a,[l]:{...n,zoomLevel:v,bounds:t,position:r}}}return a}))}}),[L,l,P,k]),W=d((e=>{if(!L||!e||!e.currentTarget)return;const t=e.currentTarget;t&&"function"==typeof t.getBoundingClientRect&&f((a=>{const n=a[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};let i;try{i=t.getBoundingClientRect()}catch(e){return a}if(!i||0===i.width||0===i.height)return a;const r=i.width/2,o=i.height/2,s=e.clientX-i.left-r,c=e.clientY-i.top-o;let d,u={x:0,y:0};n.zoomLevel<1.5?(d=2,u={x:.5*-s,y:.5*-c}):n.zoomLevel<3?(d=4,u={x:.75*-s,y:.75*-c}):(d=1,u={x:0,y:0});const h=P(d,n.rotation),m=k(u,h);return{...a,[l]:{...n,zoomLevel:d,bounds:h,position:m}}}))}),[L,l,P,k]),$=d((e=>{f((t=>{const a=t[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};return a.zoomLevel>1&&(e.preventDefault(),p(!0),S({x:e.clientX-a.position.x,y:e.clientY-a.position.y})),t}))}),[l]),Q=d((e=>{m&&f((t=>{const a=t[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},n=Math.min(1,1/a.zoomLevel),i=(e.clientX-g.x)*n,r=(e.clientY-g.y)*n,o=k({x:i,y:r},a.bounds);return{...t,[l]:{...a,position:o}}}))}),[m,g,l,k]),Z=d((()=>{p(!1)}),[]),q=d((e=>{if(!a)return;const t=e.touches;t.length>1&&(e.preventDefault(),e.stopPropagation()),O.current=Array.from(t).map((e=>({x:e.clientX,y:e.clientY}))),f((e=>{const a=e[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};if(1===t.length&&a.zoomLevel>1){p(!0);const e=t[0];e&&S({x:e.clientX-a.position.x,y:e.clientY-a.position.y})}else if(2===t.length){const e=t[0],a=t[1];if(e&&a){const t=e.clientX-a.clientX,n=e.clientY-a.clientY;M.current=Math.sqrt(t*t+n*n),w.current={x:(e.clientX+a.clientX)/2,y:(e.clientY+a.clientY)/2}}}return e}))}),[a,l]),X=d((e=>{if(!a)return;const t=e.touches;t.length>1&&(e.preventDefault(),e.stopPropagation()),f((a=>{const n=a[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};n.zoomLevel>1&&1===t.length&&e.preventDefault();let i=null,r=0,o=null;if(1===t.length&&m&&n.zoomLevel>1){const e=t[0];if(e){const t=Math.min(1,1/n.zoomLevel);i={x:(e.clientX-g.x)*t,y:(e.clientY-g.y)*t}}if(i){const e=k(i,n.bounds);return{...a,[l]:{...n,position:e}}}}else if(2===t.length&&null!==M.current){const i=t[0],s=t[1];if(i&&s){const t=i.clientX-s.clientX,c=i.clientY-s.clientY,d=Math.sqrt(t*t+c*c);r=.005*(d-M.current),M.current=d,o={x:(i.clientX+s.clientX)/2,y:(i.clientY+s.clientY)/2};const u=n.zoomLevel,h=Math.max(.1,Math.min(5,u+r));if(h!==u&&w.current&&o){let t;try{t=e.currentTarget.getBoundingClientRect()}catch(e){return a}if(!t||0===t.width||0===t.height)return a;const i=t.width/2,r=t.height/2,s=o.x-t.left-i,c=o.y-t.top-r,d=h/u,m=P(h,n.rotation),p={x:n.position.x+s*(1-d)*.5,y:n.position.y+c*(1-d)*.5},g=k(p,m);return w.current=o,{...a,[l]:{...n,zoomLevel:h,bounds:m,position:g}}}o&&(w.current=o)}}return a}))}),[L,a,m,g,l,k,P]),j=d((()=>{p(!1),M.current=null,w.current=null}),[]),J=v[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};return{currentIndex:l,isModalOpen:u,zoomLevel:J.zoomLevel,imagePosition:J.position,isDragging:m,isFullscreen:E,rotationAngle:J.rotation,showInfo:N,imageRef:x,containerRef:R,isTransitioning:b,setCurrentIndex:c,setZoomLevel:V,setImagePosition:H,setIsDragging:p,setIsFullscreen:A,setRotationAngle:Y,setShowInfo:_,openModal:U,closeModal:G,goToPrevious:z,goToNext:F,handleWheel:K,handleMouseDown:$,handleMouseMove:Q,handleMouseUp:Z,handleTouchStart:q,handleTouchMove:X,handleTouchEnd:j,handleDoubleClick:W,resetImageState:()=>{f((e=>({...e,[l]:{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}}})))}}})({images:a,startIndex:n,enableGestures:h,onImageChange:g,onClose:S||(()=>{})}),W=c((()=>a.map((e=>"string"==typeof e?{src:e}:e))),[a]),$=W[E],Q=c((()=>["c-photo-viewer",`c-photo-viewer--thumbnails-${p}`,_?"c-photo-viewer--dragging":"",v?"c-photo-viewer--fullscreen":"",b?"c-photo-viewer--info-open":"",l?"is-disabled":"",s].filter(Boolean).join(" ")),[_,v,b,l,p,s]);return o((()=>{const e=()=>{R(!!document.fullscreenElement)};return document.addEventListener("fullscreenchange",e),()=>document.removeEventListener("fullscreenchange",e)}),[R]),o((()=>(document.body.classList.add("is-open-photoviewer"),()=>{document.body.classList.remove("is-open-photoviewer")})),[]),a.length?t("div",{className:Q,role:"dialog","aria-modal":"true","aria-label":"Photo viewer",children:[e("div",{className:"c-photo-viewer__backdrop",onClick:w}),t("div",{className:"c-photo-viewer__container",children:[e(In,{currentIndex:E,imagesLength:a.length,onZoomOut:()=>I((e=>Math.max(e-.25,.1))),onResetZoom:()=>{K()},onZoomIn:()=>I((e=>Math.min(e+.25,5))),onToggleFullscreen:()=>{if(m){if(v)document.exitFullscreen&&document.exitFullscreen();else{const e=document.documentElement;e.requestFullscreen&&e.requestFullscreen()}R(!v)}},onClose:S||w,isFullscreen:v,zoomLevel:A,onRotate:()=>{O((e=>(e+90)%360))},onDownload:()=>{if(!$?.src)return;const e=document.createElement("a");e.href=$.src;const t=($.title||`image-${E+1}`).replace(/[^a-zA-Z0-9.-]/g,"_");e.download=t,document.body.appendChild(e),e.click(),document.body.removeChild(e)},onShare:async()=>{if(navigator.share&&$?.src)try{await navigator.share({title:$.title||"Shared Image",text:$.description||"Check out this image",url:$.src})}catch(e){}},showInfo:b,onToggleInfo:()=>M(!b),currentImage:$}),t("div",{className:"c-photo-viewer__content",children:[e(yn,{show:a.length>1,onPrev:D,onNext:B,currentIndex:E,imagesLength:a.length,enableKeyboardNav:u,onClose:S||w}),$?.src&&e(xn,{imageRef:T,containerRef:L,src:$.src,alt:$?.alt||`Image ${E+1}`,zoomLevel:A,dragPosition:N,isDragging:_,rotationAngle:f,isTransitioning:C,onMouseDown:k,onMouseMove:U,onMouseUp:G,onWheel:z,onTouchStart:F,onTouchMove:V,onTouchEnd:H,onDoubleClick:Y})]}),"none"!==p&&e(Rn,{images:W,currentIndex:E,goToImage:P}),e(On,{show:b,image:$,onClose:()=>M(!1)})]})]}):null};Mn.displayName="PhotoViewer";const wn=g({isOpen:!1,setIsOpen:()=>{},triggerRef:{current:null},popoverId:"",triggerType:"click"}),Dn=({content:a,position:n="top",trigger:s="click",className:l="",style:c,delay:d=0,offset:u=12,defaultOpen:h=!1,isOpen:m,onOpenChange:p,closeOnClickOutside:g=!0,closeOnEscape:S=!0,id:E,children:A,glass:N})=>{const{isOpen:_,setIsOpen:v,triggerRef:f,popoverRef:b,arrowRef:T,popoverId:L,currentPosition:C,updatePosition:I}=(({position:e="top",trigger:t="click",offset:a=12,delay:n=0,defaultOpen:s=!1,isOpen:l,onOpenChange:c,closeOnClickOutside:d=!0,closeOnEscape:u=!0,id:h})=>{const[m,p]=i(s),[g,S]=i("auto"===e?"top":e),E=r(null),A=r(null),N=r(null),_=r(null),v=h||`popover-${Math.random().toString(36).slice(2,11)}`,f=void 0!==l,b=f?l:m,T=e=>{f||p(e),c&&c(e)};o((()=>{if("hover"!==t||!E.current||!A.current)return;const e=()=>{null!==_.current&&(clearTimeout(_.current),_.current=null),n>0?_.current=setTimeout((()=>{T(!0)}),n):T(!0)},a=()=>{null!==_.current&&(clearTimeout(_.current),_.current=null),_.current=setTimeout((()=>{A.current?.matches(":hover")||T(!1)}),100)},i=()=>{null!==_.current&&(clearTimeout(_.current),_.current=null)},r=()=>{T(!1)};return E.current.addEventListener("mouseenter",e),E.current.addEventListener("mouseleave",a),A.current.addEventListener("mouseenter",i),A.current.addEventListener("mouseleave",r),()=>{E.current&&(E.current.removeEventListener("mouseenter",e),E.current.removeEventListener("mouseleave",a)),A.current&&(A.current.removeEventListener("mouseenter",i),A.current.removeEventListener("mouseleave",r)),null!==_.current&&window.clearTimeout(_.current)}}),[t,n,b]);const L=t=>{if(!E.current||!A.current)return;const n=E.current.getBoundingClientRect(),i=A.current.getBoundingClientRect(),r=window.innerWidth,o=window.innerHeight,s=n.top<50||n.bottom>o-50||n.left<50||n.right>r-50;if("scroll"===t?.type&&!s)return;const l=n.top,c=o-n.bottom,d=n.left,u=r-n.right;let h="auto"===e?"top":e;if("auto"===e){const e=[{position:"top",space:l},{position:"right",space:u},{position:"bottom",space:c},{position:"left",space:d}];e.sort(((e,t)=>t.space-e.space)),h=e[0]?.position}else("top"===e&&l<i.height+a&&c>=i.height+a||"bottom"===e&&c<i.height+a&&l>=i.height+a||"left"===e&&d<i.width+a&&u>=i.width+a||"right"===e&&u<i.width+a&&d>=i.width+a)&&(h={top:"bottom",bottom:"top",left:"right",right:"left",auto:"bottom"}[e]);S(h);let m=0,p=0;switch(h){case"top":m=n.top-i.height-a,p=n.left+n.width/2-i.width/2;break;case"bottom":m=n.bottom+a,p=n.left+n.width/2-i.width/2;break;case"left":m=n.top+n.height/2-i.height/2,p=n.left-i.width-a;break;case"right":m=n.top+n.height/2-i.height/2,p=n.right+a}p<0?p=5:p+i.width>r&&(p=r-i.width-5),m<0?m=5:m+i.height>o&&(m=o-i.height-5);const g=m+window.scrollY,N=p+window.scrollX;A.current.style.position="absolute",A.current.style.top=`${g}px`,A.current.style.left=`${N}px`};return o((()=>{if(!b||!E.current||!A.current)return;L(),window.addEventListener("resize",L);let e=null;const t=t=>{e||(e=setTimeout((()=>{L(t),e=null}),100))};window.addEventListener("scroll",t,{passive:!0});const a=setInterval((()=>{L()}),500);return()=>{window.removeEventListener("resize",L),window.removeEventListener("scroll",t),e&&clearTimeout(e),clearInterval(a)}}),[b,e,a]),o((()=>{if(!b||!d)return;const e=e=>{A.current&&!A.current.contains(e.target)&&E.current&&!E.current.contains(e.target)&&T(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[b,d]),o((()=>{if(!b||!u)return;const e=e=>{"Escape"===e.key&&T(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[b,u]),o((()=>()=>{null!==_.current&&window.clearTimeout(_.current)}),[]),{isOpen:b,setIsOpen:T,triggerRef:E,popoverRef:A,arrowRef:N,popoverId:v,currentPosition:g,updatePosition:L}})({position:n,trigger:s,offset:u,delay:d,defaultOpen:h,isOpen:m,onOpenChange:p,closeOnClickOutside:g,closeOnEscape:S,id:E});return t(wn.Provider,{value:{isOpen:_,setIsOpen:v,triggerRef:f,popoverId:L,triggerType:s},children:[A,"undefined"!=typeof document&&R(t("div",{ref:b,className:`c-popover c-popover--${C} ${_?z.CLASSES.IS_OPEN:""} ${N?"c-popover--glass":""} ${l}`,style:c,id:L,role:"tooltip","aria-hidden":!_,children:[N?(()=>{const t={displacementScale:50,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},n=!0===N?t:{...t,...N};return e(et,{...n,children:e("div",{className:"c-popover__content",children:e("div",{className:"c-popover__content-inner",children:a})})})})():e("div",{className:"c-popover__content",children:e("div",{className:"c-popover__content-inner",children:a})}),e("div",{ref:T,className:"c-popover__arrow"})]}),document.body)]})};s((({children:e,trigger:t},a)=>{const{isOpen:i,setIsOpen:r,triggerRef:o,popoverId:s,triggerType:l}=n.useContext(wn),c=t||l,d=()=>{r(!i)},u=()=>{r(!0)},h=()=>{r(!1)},m=n.Children.only(e),p={ref:a||o,"aria-describedby":s,"aria-expanded":i};return"click"===c?p.onClick=d:"hover"===c&&(p.onMouseEnter=u,p.onMouseLeave=h),n.cloneElement(m,p)})),Dn.displayName="Popover";function Bn(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Pn(e,t){return n.useMemo((()=>null==e&&null==t?null:a=>{Bn(e,a),Bn(t,a)}),[e,t])}const kn=s((({value:a=0,defaultValue:n,maxValue:s=5,allowHalf:l=!1,readOnly:c=!1,size:u="md",color:h,onChange:m,className:p="",style:g,label:S,id:E,useVanillaJS:A=!1,glass:N,..._},v)=>{const f=r(null),b=r(null),{currentValue:T,hoverValue:L,focusedIndex:C,setHoverValue:I,setFocused:y,handleKeyDown:x}=(({value:e=0,maxValue:t=5,allowHalf:a=!1,readOnly:n=!1,onChange:r})=>{const o=void 0!==r,[s,l]=i(e),[c,u]=i(null),[h,m]=i(null),p=o?e:s,g=d((e=>{n||u(e)}),[n]),S=d((()=>{n||u(null)}),[n]),E=d((e=>{n||(o||l(e),r?.(e))}),[n,r,o]),A=d(((e,i)=>{if(n)return;const s=a?.5:1;let c=p;switch(e.key){case"ArrowRight":case"ArrowUp":c=Math.min(t,p+s),e.preventDefault();break;case"ArrowLeft":case"ArrowDown":c=Math.max(0,p-s),e.preventDefault();break;case"Home":c=0,e.preventDefault();break;case"End":c=t,e.preventDefault();break;case" ":case"Enter":c=i,e.preventDefault();break;default:return}c!==p&&(o||l(c),r?.(c))}),[p,t,a,n,r,o]);return{currentValue:p,hoverValue:c,focusedIndex:h,handleMouseEnter:g,handleMouseLeave:S,handleClick:E,handleKeyDown:A,setFocused:m,setHoverValue:u,isControlled:o}})({value:void 0!==a?a:n,maxValue:s,allowHalf:l,readOnly:c,onChange:m}),R=d(((e,t)=>{if(!c)if(l){const a=e.currentTarget.getBoundingClientRect(),n=a.left+a.width/2,i=e.clientX<n?t-.5:t;I(Math.max(.5,i))}else I(t)}),[c,l,I]),O=d(((e,t)=>{if(c||!l)return;const a=e.currentTarget.getBoundingClientRect(),n=a.left+a.width/2,i=e.clientX<n?t-.5:t;I(Math.max(.5,i))}),[c,l,I]),M=d((()=>{c||I(null)}),[c,I]),w=d(((e,t)=>{if(c)return;let a=t;if(l){const n=e.currentTarget.getBoundingClientRect(),i=n.left+n.width/2;a=e.clientX<i?t-.5:t,a=Math.max(.5,a)}m?.(a)}),[c,m,l]);o((()=>{if(A&&"undefined"!=typeof window&&f.current)return()=>{b.current&&b.current.destroy()}}),[A,a,n,s,l,c,u,h,m]),o((()=>{A&&b.current&&b.current.updateOptions({value:void 0!==a?a:n,maxValue:s,allowHalf:l,readOnly:c,size:u,color:h})}),[A,a,n,s,l,c,u,h]);const D=["c-rating","sm"===u?X.CLASSES.SMALL:"","lg"===u?X.CLASSES.LARGE:"",h?`c-rating--${h}`:"",p].filter(Boolean).join(" ");if(A)return e("div",{className:D,ref:Pn(f,v),id:E,..._});const B=null!==L?L:T,P=e("div",{className:D,ref:Pn(f,v),id:E,style:g,"data-readonly":c?"true":"false",onMouseLeave:M,role:c?"img":"radiogroup","aria-label":S||`Rating: ${T} out of ${s} stars`,..._,children:(()=>{const a=[],n=l?Math.floor(2*B)/2:Math.round(B),i=E||`rating-${Math.random().toString(36).substring(2,9)}`;for(let r=1;r<=s;r++){const o=r<=Math.floor(n),d=l&&r-.5===n,u=["c-rating__star",o?X.CLASSES.FULL:"",d?X.CLASSES.HALF:"",h?`c-rating__star--${h}`:"",C===r?"c-rating__star--focused":""].filter(Boolean).join(" "),m=`${i}-star-${r}`;a.push(e("div",{id:m,className:u,"data-value":r,role:c?"presentation":"button",tabIndex:c?-1:0,"aria-label":`${r} ${1===r?"star":"stars"}`,"aria-checked":r<=n,"aria-setsize":s,"aria-posinset":r,onClick:e=>w(e,r),onMouseEnter:e=>R(e,r),onMouseMove:e=>O(e,r),onFocus:()=>y(r),onBlur:()=>y(null),onKeyDown:e=>x(e,r),children:t("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:[e("path",{className:"c-rating__star-outline",d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",strokeWidth:"1"}),e("path",{className:"c-rating__star-full",d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),e("path",{className:"c-rating__star-half",d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",clipPath:`url(#half-star-clip-${i}-${r})`}),e("defs",{children:e("clipPath",{id:`half-star-clip-${i}-${r}`,children:e("rect",{x:"0",y:"0",width:"12",height:"24"})})})]})},r))}return a})()});if(N){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===N?t:{...t,...N};return e(et,{...a,children:P})}return P}));kn.displayName="Rating";const Un=({productName:a,productImage:n,initialRating:s=0,maxRating:l=5,allowHalf:c=!0,ratingColor:d="warning",onSubmit:u,className:h="",style:m})=>{const[p,g]=i(s),[S,E]=i(""),[A,N]=i(!1),_=r(null),v=r(null);o((()=>{if("undefined"!=typeof window&&_.current)return()=>{v.current&&v.current.destroy()}}),[a,n,s,l,c,d,u]);const f=e=>{e.preventDefault(),u&&u(p,S),N(!0)},b=["c-product-review",h].filter(Boolean).join(" ");return A?e("div",{className:b,ref:_,style:m,children:t("div",{className:"c-product-review__success",children:[e("h3",{children:"Thank you for your review!"}),e("p",{children:"Your feedback helps us improve our products."}),e(St,{variant:"secondary",label:"Write another review",onClick:()=>{N(!1),g(0),E("")}})]})}):t("div",{className:b,ref:_,style:m,children:[t("div",{className:"c-product-review__header",children:[t("h3",{className:"c-product-review__title",children:["Review ",a]}),n&&e("div",{className:"c-product-review__image-wrapper",children:e("img",{src:n,alt:a,className:"c-product-review__image"})})]}),t("form",{className:"c-product-review__form",onSubmit:f,children:[t("div",{className:"c-product-review__rating-container",children:[e("label",{className:"c-product-review__label",children:"Your Rating"}),t("div",{className:"c-rating-container",children:[e(kn,{value:p,onChange:g,allowHalf:c,maxValue:l,size:"lg",color:d}),e("span",{className:"c-rating__value",children:p>0?p.toFixed(1):"Select a rating"})]})]}),t("div",{className:"c-product-review__comment-container",children:[e("label",{htmlFor:"review-comment",className:"c-product-review__label",children:"Your Review"}),e("textarea",{id:"review-comment",className:"c-product-review__textarea",value:S,onChange:e=>E(e.target.value),placeholder:"Share your experience with this product...",rows:5})]}),e("div",{className:"c-product-review__actions",children:e(St,{variant:"primary",label:"Submit Review",disabled:0===p,onClick:()=>f(new Event("click"))})})]})]})};Un.displayName="ProductReview";const Gn=s((({value:t,variant:a="primary",size:n="md",className:i="",style:r,disabled:o=!1,ariaLabel:s=pe.DEFAULTS.ARIA_LABEL,glass:l},c)=>{const{progressValue:d,progressStyle:u,progressClasses:h}=(({value:e,variant:t="primary",size:a="md",className:n=""})=>{const i=Math.min(Math.max(e,0),100),r="c-progress";return{progressValue:i,progressStyle:{"--atomix-progress-percentage":`${i}%`},progressClasses:[r,t?`${r}--${t}`:"",a?`${r}--${a}`:"",n||""].filter(Boolean).join(" ")}})({value:t,variant:a,size:n,className:i}),m=e("div",{ref:c,className:h+(l?" c-progress--glass":""),style:{...u,...r},role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":d,"aria-label":s,"aria-disabled":o,children:e("div",{className:pe.CLASSES.BAR})});if(l){const t={displacementScale:30,blurAmount:.5,cornerRadius:8,mode:"shader"},a=!0===l?t:{...t,...l};return e(et,{...a,children:m})}return m})),zn=({title:a,text:n,actions:i,imageSrc:r,imageAlt:o="Image",center:s=!1,breakout:l=!1,reverse:c=!1,contentColumns:d,backgroundImageSrc:u,showOverlay:h=!0,contentWidth:m,className:p="",style:g})=>{const{generateRiverClassNames:S,generateContentClass:E,generateVisualClass:A,hasBackgroundImage:N,hasForegroundImage:_,textContent:v}=ya({title:a,text:n,imageSrc:r,imageAlt:o,center:s,breakout:l,reverse:c,backgroundImageSrc:u,showOverlay:h,contentWidth:m}),f={...m?{[$.ATTRIBUTES.CONTENT_WIDTH]:m}:{},...g},b=()=>N?t("div",{className:$.SELECTORS.BG.replace(".",""),children:[e("img",{src:u,alt:"Background",className:$.SELECTORS.BG_IMAGE.replace(".","")}),h&&e("div",{className:$.SELECTORS.OVERLAY.replace(".","")})]}):null,T=()=>_?e("div",{className:A(),children:e("div",{className:$.SELECTORS.IMAGE_WRAPPER.replace(".",""),children:e("img",{src:r,alt:o,className:$.SELECTORS.IMAGE.replace(".","")})})}):null;return d&&d.length>0?t("div",{className:S(p),style:f,children:[b(),e("div",{className:`${$.SELECTORS.CONTAINER.replace(".","")} o-container`,children:t("div",{className:$.SELECTORS.ROW.replace(".",""),children:[!c&&T(),t("div",{className:E(),children:[d.map(((t,a)=>e("div",{className:`${$.SELECTORS.CONTENT_COL.replace(".","")} ${$.SELECTORS[`CONTENT_COL_${t.type.toUpperCase()}`].replace(".","")}`,children:t.content},a))),i&&e("div",{className:$.SELECTORS.ACTIONS.replace(".",""),children:i})]}),c&&T()]})})]}):t("div",{className:S(p),style:f,children:[b(),e("div",{className:`${$.SELECTORS.CONTAINER.replace(".","")} o-container`,children:t("div",{className:$.SELECTORS.ROW.replace(".",""),children:[!c&&T(),t("div",{className:E(),children:[a&&e("h2",{className:$.SELECTORS.TITLE.replace(".",""),children:a}),v.map(((t,a)=>e("p",{className:$.SELECTORS.TEXT.replace(".",""),children:t},a))),i&&e("div",{className:$.SELECTORS.ACTIONS.replace(".",""),children:i})]}),c&&T()]})})]})};zn.displayName="River";const Fn=({title:a,label:n,text:i,actions:s,alignment:l="left",backgroundImageSrc:c,showOverlay:d=!1,imageSrc:u,imageAlt:h="Section image",size:m="md",skeleton:p=!1,className:g="",style:S})=>{const E=r(null),A=r(null);o((()=>{if("undefined"!=typeof window&&E.current)return()=>{A.current&&A.current.destroy()}}),[l,c,d,m,p]);const N=["c-sectionintro","center"===l?W.CLASSES.CENTER:"","sm"===m?W.CLASSES.SMALL:"","lg"===m?W.CLASSES.LARGE:"",c?"c-sectionintro--has-bg":"",g].filter(Boolean).join(" ");if(p)return e("div",{className:N,ref:E,style:S,children:t("div",{className:"c-sectionintro__container",children:[n&&e("div",{className:"c-sectionintro__label",children:e("span",{className:"c-skeleton u-w-25"})}),e("div",{className:"c-sectionintro__title",children:e("span",{className:"c-skeleton"})}),i&&t("div",{className:"c-sectionintro__text",children:[e("span",{className:"c-skeleton"}),e("span",{className:"c-skeleton"}),e("span",{className:"c-skeleton u-w-75"})]}),s&&e("div",{className:"c-sectionintro__actions",children:e("span",{className:"c-skeleton u-w-25"})}),u&&e("div",{className:"c-sectionintro__image-wrapper",children:e("div",{className:"c-sectionintro__image c-skeleton"})})]})});return t("div",{className:N,ref:E,style:S,children:[c?t("div",{className:"c-sectionintro__bg",children:[e("img",{src:c,alt:"Background",className:"c-sectionintro__bg-image"}),d&&e("div",{className:"c-sectionintro__overlay"})]}):null,n&&e("div",{className:"c-sectionintro__label",children:n}),e("h2",{className:"c-sectionintro__title",children:a}),i&&e("div",{className:"c-sectionintro__text",children:i}),s&&e("div",{className:"c-sectionintro__actions",children:s}),u&&e("div",{className:"c-sectionintro__image-wrapper",children:e("img",{src:u,alt:h,className:"c-sectionintro__image"})})]})};Fn.displayName="SectionIntro";const Vn=s(((a,n)=>{const{slides:i=[],height:r=300,width:o="100%",slidesToShow:s=1,spaceBetween:l=0,loop:d=!1,initialSlide:u=0,direction:h="horizontal",speed:m=300,allowTouchMove:p=!0,threshold:g=50,grabCursor:S=!0,autoplay:E,navigation:A,pagination:N,className:_,style:v,onSlideChange:f,...b}=a;if(!i||0===i.length)return e("div",{className:"c-slider c-slider--empty",style:{height:r,width:o,...v},children:e("div",{className:"c-slider__empty-message",children:"No slides available"})});const T=Wa({slides:i,slidesToShow:s,spaceBetween:l,loop:d,initialSlide:u,direction:h,speed:m,allowTouchMove:p,threshold:g,autoplay:E,onSlideChange:f}),{containerRef:L,wrapperRef:C,allSlides:I,realIndex:y,translateValue:x,slideWidth:R,transitioning:O,touching:M,slideNext:w,slidePrev:D,goToSlide:B,canSlideNext:P,canSlidePrev:k,handleTouchStart:U,handleTouchMove:G,handleTouchEnd:z,loopedSlides:F}=T,V=c((()=>0===R?0:I.length*(R+l)-l),[I.length,R,l]),H=["c-slider","vertical"===h&&"c-slider--vertical",S&&"c-slider--grab-cursor",M&&"c-slider--grabbing",d&&"c-slider--loop",_].filter(Boolean).join(" ");return t("div",{ref:n||L,className:H,style:{height:"number"==typeof r?`${r}px`:r,width:"number"==typeof o?`${o}px`:o,overflow:"hidden",position:"relative",cursor:S&&!M?"grab":M?"grabbing":"default",...v},onTouchStart:U,onTouchMove:G,onTouchEnd:z,onMouseDown:U,onMouseMove:G,onMouseUp:z,onMouseLeave:z,children:[e("div",{ref:C,className:"c-slider__wrapper",style:{display:"flex",flexDirection:"vertical"===h?"column":"row",width:"horizontal"===h?`${V}px`:"100%",height:"vertical"===h?`${V}px`:"100%",transform:"horizontal"===h?`translateX(${x}px)`:`translateY(${x}px)`,transition:O&&!T.repositioningRef?.current?`transform ${m}ms ease-out`:"none",willChange:"transform"},children:I.map(((a,n)=>t("div",{className:["c-slider__slide",(d?n%i.length===y:n===y)&&"c-slider__slide--active",a.isClone&&"c-slider__slide--duplicate"].filter(Boolean).join(" "),style:{width:"vertical"===h?"100%":`${R}px`,height:"vertical"===h?`${R}px`:"100%",flexShrink:0,marginRight:"horizontal"===h&&n<I.length-1?`${l}px`:0,marginBottom:"vertical"===h&&n<I.length-1?`${l}px`:0},children:[a.video?e("video",{src:a.video.src,poster:a.video.poster,autoPlay:a.video.autoplay,loop:a.video.loop,muted:a.video.muted,style:{width:"100%",height:"100%",objectFit:"cover"}}):a.backgroundImage?e("div",{style:{width:"100%",height:"100%",backgroundImage:`url(${a.backgroundImage})`,backgroundSize:"cover",backgroundPosition:"center"},children:a.content}):a.image?e("img",{src:a.image,alt:a.alt||a.title||"",style:{width:"100%",height:"100%",objectFit:"cover"}}):a.content,(a.title||a.description)&&t("div",{className:"c-slider__slide-content",children:[a.title&&e("h3",{children:a.title}),a.description&&e("p",{children:a.description})]})]},a.id||n)))}),A&&t("div",{className:"c-slider__navigation",children:[e("button",{type:"button",className:"c-slider__navigation-prev",onClick:D,disabled:!k,"aria-label":"Previous slide"}),e("button",{type:"button",className:"c-slider__navigation-next",onClick:w,disabled:!P,"aria-label":"Next slide"})]}),N&&e("div",{className:"c-slider__pagination",children:i.map(((t,a)=>e("button",{type:"button",className:"c-slider__pagination-bullet "+(a===y?"c-slider__pagination-bullet--active":""),onClick:()=>B(a),"aria-label":`Go to slide ${a+1}`},a)))})]})}));Vn.displayName="Slider";const Hn=({items:a,activeIndex:n=0,vertical:r=!1,onStepChange:s,className:l="",style:c,glass:d})=>{const[u,h]=i(n);o((()=>{u!==n&&h(n)}),[n]);const m=e("div",{className:`c-steps ${r?H.CLASSES.VERTICAL:""} ${l}`,style:c,role:"navigation","aria-label":"Steps",children:a.map(((a,n)=>t("div",{className:`c-steps__item ${n<=u?H.CLASSES.ACTIVE:""} ${n<u?H.CLASSES.COMPLETED:""}`,"aria-current":n===u?"step":void 0,children:[e("div",{className:"c-steps__line"}),t("div",{className:"c-steps__content",children:[e("div",{className:"c-steps__number",children:a.number}),e("div",{className:"c-steps__text",children:a.text}),a.content&&e("div",{className:"c-steps__custom-content",children:a.content})]})]},`step-${n}`)))});if(d){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===d?t:{...t,...d};return e(et,{...a,children:m})}return m};Hn.displayName="Steps";const Yn=({items:a,activeIndex:n=V.DEFAULTS.ACTIVE_INDEX,onTabChange:r,className:o="",style:s,glass:l})=>{const[c,d]=i(n),u=t("div",{className:`c-tabs js-atomix-tab ${o}`,style:s,children:[e("ul",{className:"c-tabs__nav",children:a.map(((t,a)=>e("li",{className:"c-tabs__nav-item",children:e("button",{className:`c-tabs__nav-btn ${a===c?V.CLASSES.ACTIVE:""}`,onClick:()=>(e=>{d(e),r&&r(e)})(a),"data-tabindex":a,role:"tab","aria-selected":a===c,"aria-controls":`tab-panel-${a}`,children:t.label})},`tab-nav-${a}`)))}),e("div",{className:"c-tabs__panels",children:a.map(((t,a)=>e("div",{className:`c-tabs__panel ${a===c?V.CLASSES.ACTIVE:""}`,"data-tabindex":a,id:`tab-panel-${a}`,role:"tabpanel","aria-labelledby":`tab-nav-${a}`,style:{height:a===c?"auto":"0px",opacity:a===c?1:0,overflow:"hidden",transition:"height 0.3s ease, opacity 0.3s ease"},children:e("div",{className:"c-tabs__panel-body",children:t.content})},`tab-panel-${a}`)))})]});if(l){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===l?t:{...t,...l};return e(et,{...a,children:u})}return u};Yn.displayName="Tabs";const Kn=({quote:a,author:n,size:i="",skeleton:s=!1,className:l="",style:c})=>{const d=r(null),u=r(null);o((()=>{if("undefined"!=typeof window&&d.current)return()=>{u.current&&u.current.destroy()}}),[i,s]);const h=["c-testimonial","sm"===i?Y.CLASSES.SMALL:"","lg"===i?Y.CLASSES.LARGE:"",l].filter(Boolean).join(" ");return t("div",s?{className:h,ref:d,style:c,children:[t("blockquote",{className:"c-testimonial__quote",children:[e("span",{className:"c-skeleton"}),e("span",{className:"c-skeleton"}),e("span",{className:"c-skeleton u-w-75"}),e("span",{className:"c-skeleton u-w-25"})]}),t("div",{className:"c-testimonial__author",children:[e("span",{className:"c-testimonial__author-avatar c-avatar c-avatar--xxl c-avatar--circle c-skeleton"}),t("div",{className:"c-testimonial__info u-w-75",children:[e("p",{className:"c-testimonial__author-name",children:e("span",{className:"c-skeleton u-w-25"})}),e("p",{className:"c-testimonial__author-role",children:e("span",{className:"c-skeleton u-w-25"})})]})]})]}:{className:h,ref:d,style:c,children:[e("blockquote",{className:"c-testimonial__quote",children:a}),n&&t("div",{className:"c-testimonial__author",children:[n.avatarSrc&&e("img",{src:n.avatarSrc,alt:n.avatarAlt||"",className:"c-testimonial__author-avatar c-avatar c-avatar--xxl c-avatar--circle"}),t("div",{className:"c-testimonial__info",children:[e("p",{className:"c-testimonial__author-name",children:n.name}),e("p",{className:"c-testimonial__author-role",children:n.role})]})]})]})};Kn.displayName="Testimonial";const Wn=({items:a=[],title:n="Todo List",onAddTodo:r,onToggleTodo:s,onDeleteTodo:l,size:c="md",placeholder:d="Add a new todo",showCompleted:u=!0,className:h="",style:m,disabled:p=!1})=>{const{inputText:g,setInputText:S,addTodo:E,generateTodoClasses:A,generateItemClasses:N}=Va({items:a,title:n,size:c,placeholder:d,showCompleted:u,disabled:p}),[_,v]=i(a);o((()=>{v(a)}),[a]);const f=u?_:_.filter((e=>!e.completed)),b=A({size:c,className:h,disabled:p});return t("div",{className:b,style:m,children:[n&&e("h2",{className:"c-todo__title",children:n}),e("form",{className:"c-todo__form",onSubmit:e=>{if(e.preventDefault(),p||!g.trim())return;const t={id:Ua(),text:g.trim(),completed:!1};v((e=>[...e,t])),r&&r(g),S("")},children:t("div",{className:"c-todo__form-group",children:[e("input",{type:"text",className:"c-todo__input c-input",placeholder:d,value:g,onChange:e=>S(e.target.value),disabled:p,"aria-label":"Add a new todo"}),e("button",{type:"submit",className:"c-todo__add-btn c-btn c-btn--primary",disabled:p||!g.trim(),"aria-label":"Add todo",children:e(it,{name:"Plus",size:"sm"})})]})}),e("ul",{className:"c-todo__list",children:0===f.length?e("li",{className:"c-todo__empty",children:"No items to display"}):f.map((a=>e("li",{className:N(a),children:t("div",{className:"c-todo__item-content",children:[t("label",{className:"c-todo__checkbox-label",children:[e("input",{type:"checkbox",className:"c-todo__checkbox c-checkbox",checked:a.completed,onChange:()=>{return e=a.id,void(p||(v((t=>t.map((t=>t.id===e?{...t,completed:!t.completed}:t)))),s&&s(e)));var e},disabled:p,"aria-label":`Mark "${a.text}" as ${a.completed?"incomplete":"complete"}`}),e("span",{className:"c-todo__item-text",children:a.text})]}),e("button",{type:"button",className:"c-todo__delete-btn c-btn c-btn--error c-btn--sm",onClick:()=>{return e=a.id,void(p||(v((t=>t.filter((t=>t.id!==e)))),l&&l(e)));var e},disabled:p,"aria-label":`Delete "${a.text}"`,children:e(it,{name:"Trash",size:"sm"})})]})},a.id)))})]})};Wn.displayName="Todo";const $n=({initialOn:t=!1,onToggleOn:a,onToggleOff:n,disabled:r=!1,className:o="",style:s,glass:l})=>{const[c,d]=i(t),u=()=>{if(r)return;const e=!c;d(e),e?a&&a():n&&n()},h=e("div",{className:`c-toggle ${c?F.CLASSES.IS_ON:""} ${r?"is-disabled":""} ${o}`,style:s,onClick:u,onKeyDown:e=>{r||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),u())},role:"switch","aria-checked":c,tabIndex:r?-1:0,"aria-disabled":r,children:e("div",{className:"c-toggle__switch"})});if(l){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===l?t:{...t,...l};return e(et,{...a,children:h})}return h};$n.displayName="Toggle";const Qn=({content:a,children:o,position:s=G.DEFAULTS.POSITION,trigger:l=G.DEFAULTS.TRIGGER,className:c="",style:d,delay:u=G.DEFAULTS.DELAY,offset:h=G.DEFAULTS.OFFSET,glass:m})=>{const[p,g]=i(!1),S=r(null),E=n.useId(),A=()=>{S.current&&clearTimeout(S.current),u>0?S.current=setTimeout((()=>{g(!0)}),u):g(!0)},N=()=>{S.current&&clearTimeout(S.current),g(!1)},_=()=>{p?N():A()},v={},f={"aria-describedby":p?E:void 0};"hover"===l?(v.onMouseEnter=A,v.onMouseLeave=N,f.onFocus=A,f.onBlur=N):"click"===l&&(f.onClick=_);return t("div",{className:"u-position-relative u-d-inline-block",style:d,...v,children:[e("div",{className:`${G.SELECTORS.TRIGGER.substring(1)}${c?` ${c}`:""}`,...f,children:o}),p&&e("div",{id:E,role:"tooltip",className:`c-tooltip ${G.SELECTORS.TOOLTIP.substring(1)} ${{top:"c-tooltip--top",bottom:"c-tooltip--bottom",left:"c-tooltip--left",right:"c-tooltip--right","top-left":"c-tooltip--top-left","top-right":"c-tooltip--top-right","bottom-left":"c-tooltip--bottom-left","bottom-right":"c-tooltip--bottom-right"}[s]||"c-tooltip--top"} ${m?"c-tooltip--glass":""}`,"data-tooltip-position":s,"data-tooltip-trigger":l,style:{"--atomix-tooltip-offset":`${h}px`},children:(()=>{const n=t("div",{className:`c-tooltip__content ${G.SELECTORS.CONTENT.substring(1)} ${p&&"is-active"}`,children:[e("span",{className:G.SELECTORS.ARROW.substring(1)}),a]});if(m){const t={displacementScale:40,blurAmount:1,saturation:160,aberrationIntensity:.3,cornerRadius:6,mode:"shader"},a=!0===m?t:{...t,...m};return e(et,{...a,children:n})}return n})()})]})};Qn.displayName="Tooltip";const Zn=({disabled:a=!1,size:n="md",maxSizeInMB:o=5,acceptedFileTypes:s=["application/pdf","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","image/jpeg","image/png"],multiple:l=!1,title:c="Drag and Drop files here",supportedFilesText:d="Files supported: PDF, XSLS, JPEG, PNG, Scanner",buttonText:u="Choose File",helperText:h=`Maximum size: ${o}MB`,icon:m=e("i",{className:"icon-lux-cloud-arrow-up-fill"}),onFileSelect:p,onFileUpload:g,onFileUploadComplete:S,onFileUploadError:E,className:A="",style:N})=>{const _=r(null),[v,f]=i("idle"),[b,T]=i(!1),[L,C]=i(null),[I,y]=i(0),[x,R]=i(null),[O,M]=i(null),[w,D]=i(null),B=r(0),P=()=>{_.current&&!a&&_.current.click()},k=e=>{if(!e.length)return;const t=(l?e:[e[0]]).filter((e=>void 0!==e&&U(e)));t.length&&p&&p(t),t.length&&(C(t[0]||null),t[0]&&G(t[0]))},U=e=>{const t=1024*o*1024;if(e.size>t)return f("error"),M(`File too large. Maximum size is ${o}MB.`),!1;if(s?.length){if(!s.some((t=>{if(t.endsWith("/*")){const a=t.split("/")[0];return e.type.startsWith(`${a}/`)}return e.type===t})))return f("error"),M("File type not supported."),!1}return!0},G=e=>{f("loading"),y(0);let t=0;const a=setInterval((()=>{t+=5,t<100?(y(t),R(`${Math.ceil((100-t)/5)} seconds left`),g&&g(e,t)):(clearInterval(a),f("success"),D("Upload successful"),S&&S(e))}),500)},z=["c-upload","md"!==n&&`c-upload--${n}`,b&&Q.CLASSES.DRAGGING,a&&Q.CLASSES.DISABLED,"loading"===v&&"c-upload--loading","success"===v&&"c-upload--success","error"===v&&"c-upload--error",A].filter(Boolean).join(" ");return t("div",{className:z,style:N,onDragEnter:e=>{e.preventDefault(),e.stopPropagation(),a||(B.current++,1===B.current&&T(!0))},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),a||(B.current--,0===B.current&&T(!1))},onDragOver:e=>{e.preventDefault(),e.stopPropagation()},onDrop:e=>{if(e.preventDefault(),e.stopPropagation(),a)return;if(B.current=0,T(!1),!e.dataTransfer.files?.length)return;const t=Array.from(e.dataTransfer.files);k(t)},children:[t("div",{className:"c-upload__inner",role:"button",tabIndex:a?-1:0,"aria-label":`${c}. ${d}. ${h}`,"aria-disabled":a,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||a||(e.preventDefault(),P())},children:[e("input",{type:"file",ref:_,className:"c-upload__input",onChange:e=>{if(!e.target.files?.length)return;const t=Array.from(e.target.files);k(t)},disabled:a,accept:s.join(","),multiple:l,"aria-hidden":"true"}),e("div",{className:"c-upload__icon",children:m}),e("h3",{className:"c-upload__title",children:c}),e("p",{className:"c-upload__text",children:d}),e("button",{type:"button",className:"c-upload__btn c-btn",onClick:P,disabled:a,children:u}),e("p",{className:"c-upload__helper-text",children:h})]}),"idle"!==v&&t("div",{className:"c-upload__loader",style:{"--upload-loader-percentage":I},children:[L&&t("div",{className:"c-upload__loader-status",children:[e("h5",{className:"c-upload__loader-title",children:L.name}),t("div",{className:"c-upload__loader-progress",children:[t("div",{className:"c-upload__loader-par",children:[I,"%"]}),e("div",{className:"c-upload__loader-time",children:x})]})]}),("loading"===v||"error"===v||"success"===v)&&t("div",{className:"c-upload__loader-control",children:[e("div",{className:"c-upload__loader-bar",children:t("svg",{children:[e("circle",{cx:"10",cy:"10",r:"10"}),e("circle",{cx:"10",cy:"10",r:"10"})]})}),e("button",{type:"button",className:"c-upload__loader-close",onClick:()=>{f("idle"),C(null),y(0),R(null),M(null),D(null)},"aria-label":"Close upload progress",children:e("i",{className:"icon-lux-x"})})]})]})]})};Zn.displayName="Upload";const qn=s((({src:n,type:s="video",youtubeId:l,poster:c,autoplay:u=!1,loop:h=!1,muted:m=!1,controls:p=!0,preload:g="metadata",width:S,height:E,aspectRatio:A="16:9",className:R="",onPlay:O,onPause:M,onEnded:w,onTimeUpdate:D,onVolumeChange:B,onFullscreenChange:P,onError:k,showDownload:U=!1,showShare:G=!1,showSettings:z=!0,playbackRates:F=[.5,.75,1,1.25,1.5,2],subtitles:V,quality:H,ambientMode:Y=!1,glass:K=!1,glassOpacity:W=1,glassContent:$,style:Q,...Z},q)=>{const X=r(null),j=r(null),J=r(null),ee=r(null),[te,ae]=i(8),ne="youtube"===s||l||n&&za(n),ie=l||(ne&&n?Ga(n):null),{isPlaying:re,currentTime:oe,duration:se,volume:le,isMuted:ce,isFullscreen:de,isLoading:ue,playbackRate:he,currentQuality:me,showControls:pe,play:Se,pause:Ee,togglePlay:Ae,seek:Ne,setVolume:_e,toggleMute:ve,toggleFullscreen:fe,togglePictureInPicture:be,setPlaybackRate:Te,setQuality:Le,formatTime:Ce,getProgressPercentage:Ie,getBufferedPercentage:ye}=function({videoRef:e,containerRef:t,onPlay:a,onPause:n,onEnded:s,onTimeUpdate:l,onVolumeChange:c,onFullscreenChange:u,onError:h,playbackRates:m=[.5,.75,1,1.25,1.5,2],quality:p}){const[g,S]=i(!1),[E,A]=i(0),[N,_]=i(0),[v,f]=i(1),[b,T]=i(!1),[L,C]=i(!1),[I,y]=i(!1),[x,R]=i(!1),[O,M]=i(0),[w,D]=i(1),[B,P]=i(p?.[0]||null),[k,U]=i(!0),G=r(null),z=d((()=>{G.current&&clearTimeout(G.current),U(!0),G.current=setTimeout((()=>{g&&U(!1)}),3e3)}),[g]),F=d((async()=>{if(e.current)try{await e.current.play(),S(!0),a?.()}catch(e){h?.(e),S(!1)}}),[e,a,h]),V=d((()=>{e.current&&(e.current.pause(),S(!1),n?.())}),[e,n]),H=d((()=>{g?V():F()}),[g,F,V]),Y=d((t=>{e.current&&(e.current.currentTime=Math.max(0,Math.min(t,N)))}),[e,N]),K=d((t=>{const a=Math.max(0,Math.min(1,t));e.current&&(e.current.volume=a,f(a),T(0===a),c?.(a))}),[e,c]),W=d((()=>{if(e.current){const t=!b;e.current.muted=t,T(t)}}),[e,b]),$=d((async()=>{if(t.current)try{L?document.exitFullscreen&&await document.exitFullscreen():t.current.requestFullscreen&&await t.current.requestFullscreen()}catch(e){}}),[t,L]),Q=d((async()=>{if(e.current)try{I?document.exitPictureInPicture&&await document.exitPictureInPicture():e.current.requestPictureInPicture&&await e.current.requestPictureInPicture()}catch(e){}}),[e,I]),Z=d((t=>{e.current&&m.includes(t)&&(e.current.playbackRate=t,D(t))}),[e,m]),q=d((t=>{if(e.current&&p){const a=e.current.currentTime,n=!e.current.paused,i=String(t.src).replace(/[<>"']/g,"");i&&(i.startsWith("http://")||i.startsWith("https://")||i.startsWith("blob:")||i.startsWith("data:"))&&(e.current.src=i,e.current.currentTime=a,n&&e.current.play(),P(t))}}),[e,p]),X=d((e=>{const t=Math.floor(e/3600),a=Math.floor(e%3600/60),n=Math.floor(e%60);return t>0?`${t}:${a.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}`:`${a}:${n.toString().padStart(2,"0")}`}),[]),j=d((()=>N>0?E/N*100:0),[E,N]),J=d((()=>N>0?O/N*100:0),[O,N]);o((()=>{const t=e.current;if(!t)return;const i=()=>R(!0),r=()=>R(!1),o=()=>{_(t.duration),f(t.volume),T(t.muted)},d=()=>{A(t.currentTime),l?.(t.currentTime)},u=()=>{t.buffered.length>0&&M(t.buffered.end(t.buffered.length-1))},m=()=>{S(!0),a?.()},p=()=>{S(!1),n?.()},g=()=>{S(!1),s?.()},E=()=>{f(t.volume),T(t.muted),c?.(t.volume)},N=e=>{R(!1),h?.(e)},v=()=>y(!0),b=()=>y(!1);return t.addEventListener("loadstart",i),t.addEventListener("canplay",r),t.addEventListener("loadedmetadata",o),t.addEventListener("timeupdate",d),t.addEventListener("progress",u),t.addEventListener("play",m),t.addEventListener("pause",p),t.addEventListener("ended",g),t.addEventListener("volumechange",E),t.addEventListener("error",N),t.addEventListener("enterpictureinpicture",v),t.addEventListener("leavepictureinpicture",b),()=>{t.removeEventListener("loadstart",i),t.removeEventListener("canplay",r),t.removeEventListener("loadedmetadata",o),t.removeEventListener("timeupdate",d),t.removeEventListener("progress",u),t.removeEventListener("play",m),t.removeEventListener("pause",p),t.removeEventListener("ended",g),t.removeEventListener("volumechange",E),t.removeEventListener("error",N),t.removeEventListener("enterpictureinpicture",v),t.removeEventListener("leavepictureinpicture",b)}}),[e,a,n,s,l,c,h]),o((()=>{const e=()=>{const e=!!document.fullscreenElement;C(e),u?.(e)};return document.addEventListener("fullscreenchange",e),()=>document.removeEventListener("fullscreenchange",e)}),[u]);const ee=d((e=>{if(t.current?.contains(document.activeElement))switch(e.code){case"Space":e.preventDefault(),H();break;case"ArrowLeft":e.preventDefault(),Y(E-10);break;case"ArrowRight":e.preventDefault(),Y(E+10);break;case"ArrowUp":e.preventDefault(),K(Math.min(1,v+.1));break;case"ArrowDown":e.preventDefault(),K(Math.max(0,v-.1));break;case"KeyM":e.preventDefault(),W();break;case"KeyF":e.preventDefault(),$()}}),[H,Y,E,K,v,W,$,t]);o((()=>(document.addEventListener("keydown",ee),()=>document.removeEventListener("keydown",ee))),[ee]);const te=d((()=>z()),[z]),ae=d((()=>{G.current&&clearTimeout(G.current),g&&U(!1)}),[g]);return o((()=>{const e=t.current;if(e)return e.addEventListener("mousemove",te),e.addEventListener("mouseleave",ae),()=>{e.removeEventListener("mousemove",te),e.removeEventListener("mouseleave",ae),G.current&&clearTimeout(G.current)}}),[t,te,ae]),{isPlaying:g,currentTime:E,duration:N,volume:v,isMuted:b,isFullscreen:L,isPictureInPicture:I,isLoading:x,buffered:O,playbackRate:w,currentQuality:B,showControls:k,play:F,pause:V,togglePlay:H,seek:Y,setVolume:K,toggleMute:W,toggleFullscreen:$,togglePictureInPicture:Q,setPlaybackRate:Z,setQuality:q,formatTime:X,getProgressPercentage:j,getBufferedPercentage:J}}({videoRef:X,containerRef:j,onPlay:O,onPause:M,onEnded:w,onTimeUpdate:D,onVolumeChange:B,onFullscreenChange:P,onError:k,playbackRates:F,quality:H});!function({videoRef:e,canvasRef:t,enabled:a,blur:n=60,opacity:i=.6,scale:s=1.2}){const l=r(60);o((()=>{if(!a||!e.current||!t.current)return;const r=e.current,o=t.current,c=o.getContext("2d");if(!c)return;const d=()=>{if(!r||!o||!c)return;const e=r.getBoundingClientRect();o.width=e.width*s,o.height=e.height*s,c.filter=`blur(${n}px)`,c.globalAlpha=i;try{c.drawImage(r,0,0,o.width,o.height)}catch(e){}a&&(l.current=requestAnimationFrame(d))},u=()=>{a&&d()},h=()=>{l.current&&cancelAnimationFrame(l.current)};return r.addEventListener("play",u),r.addEventListener("pause",h),r.addEventListener("ended",h),r.paused||u(),()=>{r.removeEventListener("play",u),r.removeEventListener("pause",h),r.removeEventListener("ended",h),l.current&&cancelAnimationFrame(l.current)}}),[a,n,i,s,e,t])}({videoRef:X,canvasRef:J,enabled:Y});const[xe,Re]=i(!1),[Oe,Me]=i("quality"),[we,De]=i(V?.find((e=>e.default))?.srcLang||null),[Be,Pe]=i({width:0,height:0}),ke=d((e=>{const t=e.currentTarget.getBoundingClientRect(),a=(e.clientX-t.left)/t.width;Ne(a*se)}),[se,Ne]),Ue=d((e=>{const t=e.currentTarget.getBoundingClientRect(),a=(e.clientX-t.left)/t.width;_e(a)}),[_e]),Ge=d((()=>{if(n){const e=document.createElement("a");e.href=n,e.download="video",e.click()}}),[n]),ze=d((async()=>{if(navigator.share)try{await navigator.share({title:"Video",url:window.location.href})}catch(e){}}),[]),Fe=d((e=>{const t=X.current;if(t){const a=t.textTracks;for(let e=0;e<a.length;e++){const t=a[e];t&&(t.mode="hidden")}if(e)for(let t=0;t<a.length;t++){const n=a[t];if(n&&n.language===e){n.mode="showing";break}}De(e)}}),[X]);o((()=>{const e=X.current;if(e&&V){const t=()=>{setTimeout((()=>{const e=V.find((e=>e.default));e&&Fe(e.srcLang)}),100)},a=()=>{if(e.textTracks.length>0){const e=V.find((e=>e.default));e&&Fe(e.srcLang)}};return e.addEventListener("loadeddata",t),e.addEventListener("canplay",a),()=>{e.removeEventListener("loadeddata",t),e.removeEventListener("canplay",a)}}}),[V,Fe,X]),o((()=>{const e=()=>{if(ne&&ee.current){const e=ee.current.getBoundingClientRect();Pe({width:e.width,height:e.height})}else if(X.current){const e=X.current.getBoundingClientRect();Pe({width:e.width,height:e.height})}},t=setTimeout(e,100),a=new ResizeObserver(e);if(ne&&ee.current){const n=ee.current;a.observe(n);const i=()=>e();return n.addEventListener("load",i),()=>{clearTimeout(t),a.disconnect(),n.removeEventListener("load",i)}}if(X.current){const n=X.current;a.observe(n);const i=()=>e();return n.addEventListener("loadedmetadata",i),()=>{clearTimeout(t),a.disconnect(),n.removeEventListener("loadedmetadata",i)}}return window.addEventListener("resize",e),()=>{clearTimeout(t),a.disconnect(),window.removeEventListener("resize",e)}}),[ne,X,ee]);const Ve=d((()=>{j.current&&j.current.focus()}),[]);o((()=>{const e=()=>{if(!j.current)return;const e=window.getComputedStyle(j.current),t=e.borderRadius||e.borderTopLeftRadius,a=parseFloat(t);isNaN(a)||ae(a)};e();let t=null;return"undefined"!=typeof ResizeObserver&&j.current&&(t=new ResizeObserver(e),t.observe(j.current)),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),t&&j.current&&(t.unobserve(j.current),t.disconnect())}}),[]);const He=d((e=>{switch(e.key){case" ":case"k":e.preventDefault(),Ae();break;case"ArrowLeft":e.preventDefault(),Ne(oe-10);break;case"ArrowRight":e.preventDefault(),Ne(oe+10);break;case"ArrowUp":e.preventDefault(),_e(Math.min(1,le+.1));break;case"ArrowDown":e.preventDefault(),_e(Math.max(0,le-.1));break;case"m":e.preventDefault(),ve();break;case"f":e.preventDefault(),fe()}}),[Ae,oe,Ne,le,_e,ve,fe]);return t("div",{ref:j,className:`${ge.CLASSES.BASE} ${ne?ge.CLASSES.YOUTUBE:""} ${Y?ge.CLASSES.AMBIENT:""} ${K?ge.CLASSES.GLASS:""} ${R}`,style:{width:S,height:E,aspectRatio:A?A.replace(":","/"):void 0,...Q},tabIndex:0,onClick:Ve,onKeyDown:He,role:"application","aria-label":"Video player",...Z,children:[Y&&e("canvas",{ref:J,className:ge.CLASSES.AMBIENT_CANVAS,"aria-hidden":"true"}),ne&&ie?e("iframe",{ref:ee,className:ge.CLASSES.VIDEO,src:`https://www.youtube.com/embed/${ie}?${new URLSearchParams({autoplay:u?"1":"0",loop:h?"1":"0",mute:m?"1":"0",controls:p?"1":"0",modestbranding:"1",rel:"0",...h&&{playlist:ie}}).toString()}`,title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}):e("video",{ref:e=>{X&&X.current!==e&&(X.current=e),"function"==typeof q?q(e):q&&q.current!==e&&(q.current=e)},className:ge.CLASSES.VIDEO,src:n,poster:c,autoPlay:u,loop:h,muted:m,preload:g,controls:!1,crossOrigin:"anonymous",children:V&&V.map((t=>e("track",{kind:"subtitles",src:t.src,srcLang:t.srcLang,label:t.label,default:t.default},t.srcLang)))}),ue&&e("div",{className:ge.CLASSES.LOADING,children:e("div",{className:ge.CLASSES.SPINNER})}),K&&e("div",{className:ge.CLASSES.GLASS_OVERLAY,children:e(et,{..."boolean"==typeof K?{}:K,style:{borderRadius:"inherit"},mouseContainer:j,displacementScale:30,blurAmount:0,saturation:100,aberrationIntensity:0,cornerRadius:te,elasticity:0,children:!$&&e("div",{style:{width:Be.width>0?`${Be.width}px`:"100%",height:Be.height>0?`${Be.height}px`:"100%",display:"flex",alignItems:"center",justifyContent:"center",background:"transparent"}})})}),K&&$&&e("div",{className:ge.CLASSES.GLASS_CONTENT,style:{display:"flex",alignItems:"center",justifyContent:"center"},children:$}),p&&!ne&&t("div",{className:`${ge.CLASSES.CONTROLS} ${pe?ge.CLASSES.CONTROLS_VISIBLE:""}`,style:{zIndex:K?3:"auto"},children:[e("div",{className:ge.CLASSES.PROGRESS_CONTAINER,children:t("div",{className:ge.CLASSES.PROGRESS_BAR,onClick:ke,children:[e("div",{className:ge.CLASSES.PROGRESS_BUFFERED,style:{width:`${ye()}%`}}),e("div",{className:ge.CLASSES.PROGRESS_PLAYED,style:{width:`${Ie()}%`}}),e("div",{className:ge.CLASSES.PROGRESS_THUMB,style:{left:`${Ie()}%`}})]})}),t("div",{className:ge.CLASSES.CONTROLS_ROW,children:[t("div",{className:ge.CLASSES.CONTROLS_LEFT,children:[e("button",{className:ge.CLASSES.CONTROL_BUTTON,onClick:Ae,"aria-label":re?"Pause":"Play",children:e(re?N:_,{size:20})}),e("button",{className:ge.CLASSES.CONTROL_BUTTON,onClick:()=>Ne(oe-10),"aria-label":"Skip back 10 seconds",children:e(v,{size:20})}),e("button",{className:ge.CLASSES.CONTROL_BUTTON,onClick:()=>Ne(oe+10),"aria-label":"Skip forward 10 seconds",children:e(f,{size:20})}),t("div",{className:ge.CLASSES.VOLUME_CONTAINER,children:[e("button",{className:ge.CLASSES.CONTROL_BUTTON,onClick:ve,"aria-label":ce?"Unmute":"Mute",children:e(ce||0===le?b:T,{size:20})}),e("div",{className:ge.CLASSES.VOLUME_SLIDER,children:e("div",{className:ge.CLASSES.VOLUME_BAR,onClick:Ue,children:e("div",{className:ge.CLASSES.VOLUME_FILL,style:{width:100*le+"%"}})})})]}),t("div",{className:ge.CLASSES.TIME_DISPLAY,children:[e("span",{children:Ce(oe)}),e("span",{children:"/"}),e("span",{children:Ce(se)})]})]}),t("div",{className:ge.CLASSES.CONTROLS_RIGHT,children:[z&&t("div",{className:ge.CLASSES.SETTINGS_CONTAINER,children:[e("button",{className:ge.CLASSES.CONTROL_BUTTON,onClick:()=>Re(!xe),"aria-label":"Settings",children:e(L,{size:20})}),xe&&t("div",{className:ge.CLASSES.SETTINGS_MENU,children:[t("div",{className:ge.CLASSES.SETTINGS_TABS,children:[H&&H.length>1&&e("button",{className:`${ge.CLASSES.SETTINGS_TAB} ${"quality"===Oe?ge.CLASSES.SETTINGS_TAB_ACTIVE:""}`,onClick:()=>Me("quality"),children:"Quality"}),e("button",{className:`${ge.CLASSES.SETTINGS_TAB} ${"speed"===Oe?ge.CLASSES.SETTINGS_TAB_ACTIVE:""}`,onClick:()=>Me("speed"),children:"Speed"}),e("button",{className:`${ge.CLASSES.SETTINGS_TAB} ${"subtitles"===Oe?ge.CLASSES.SETTINGS_TAB_ACTIVE:""}`,onClick:()=>Me("subtitles"),children:"Subtitles"})]}),t("div",{className:ge.CLASSES.SETTINGS_CONTENT,children:["quality"===Oe&&H&&e("div",{className:ge.CLASSES.SETTINGS_OPTIONS,children:H.map((t=>e("button",{className:`${ge.CLASSES.SETTINGS_OPTION} ${me?.label===t.label?ge.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Le(t),children:t.label},t.label)))}),"speed"===Oe&&e("div",{className:ge.CLASSES.SETTINGS_OPTIONS,children:F.map((e=>t("button",{className:`${ge.CLASSES.SETTINGS_OPTION} ${he===e?ge.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Te(e),children:[e,"x"]},e)))}),"subtitles"===Oe&&e("div",{className:ge.CLASSES.SETTINGS_OPTIONS,children:V&&V.length>0?t(a,{children:[e("button",{className:`${ge.CLASSES.SETTINGS_OPTION} ${null===we?ge.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Fe(null),children:"Off"}),V.map((t=>e("button",{className:`${ge.CLASSES.SETTINGS_OPTION} ${we===t.srcLang?ge.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Fe(t.srcLang),children:t.label},t.srcLang)))]}):e("div",{className:ge.CLASSES.SETTINGS_OPTION,style:{opacity:.6,cursor:"default"},children:"No subtitles available"})})]})]})]}),U&&e("button",{className:ge.CLASSES.CONTROL_BUTTON,onClick:Ge,"aria-label":"Download video",children:e(C,{size:20})}),G&&e("button",{className:ge.CLASSES.CONTROL_BUTTON,onClick:ze,"aria-label":"Share video",children:e(I,{size:20})}),e("button",{className:ge.CLASSES.CONTROL_BUTTON,onClick:be,"aria-label":"Picture in Picture",children:e("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor",children:e("path",{d:"M19 7h-8v6h8V7zm2-4H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14z"})})}),e("button",{className:ge.CLASSES.CONTROL_BUTTON,onClick:fe,"aria-label":de?"Exit fullscreen":"Enter fullscreen",children:e(de?y:x,{size:20})})]})]})]})]})}));qn.displayName="VideoPlayer";var Xn=Object.freeze({__proto__:null,Accordion:tt,AnimatedChart:yt,AreaChart:Rt,AtomixGlass:et,AtomixLogo:at,Avatar:rt,AvatarGroup:ot,Badge:lt,BarChart:Mt,Block:ut,Breadcrumb:ht,BubbleChart:wt,Button:St,Callout:Et,CandlestickChart:Dt,Card:At,Chart:Tt,ChartRenderer:Ct,Checkbox:_a,ColorModeToggle:qt,Countdown:Xt,DataTable:ia,DatePicker:ca,DonutChart:Bt,Dropdown:ua,EdgePanel:ma,ElevationCard:_t,Footer:tn,FooterLink:sn,FooterSection:on,FooterSocialLink:Xa,Form:fa,FormGroup:Ta,FunnelChart:Pt,GaugeChart:kt,HeatmapChart:Gt,Hero:ln,Icon:it,Input:Ca,LineChart:Ft,List:cn,ListGroup:dn,MegaMenu:bn,MegaMenuColumn:Tn,MegaMenuLink:Ln,Menu:Nn,MenuDivider:fn,MenuItem:_n,Messages:un,Modal:hn,MultiAxisChart:Vt,Nav:mn,NavDropdown:Cn,NavItem:pn,Navbar:gn,Pagination:na,PhotoViewer:Mn,PieChart:Yt,Popover:Dn,ProductReview:Un,Progress:Gn,RadarChart:Kt,Radio:Za,Rating:kn,River:zn,ScatterChart:Wt,SectionIntro:Fn,Select:Qa,SideMenu:Sn,SideMenuItem:En,SideMenuList:An,Slider:Vn,Spinner:gt,Steps:Hn,Tabs:Yn,Testimonial:Kn,Textarea:qa,Todo:Wn,Toggle:$n,Tooltip:Qn,TreemapChart:$t,Upload:Zn,VideoPlayer:qn,WaterfallChart:Qt});const jn=$a,Jn=Fa,ei=Object.freeze({__proto__:null}),ti=Object.freeze({__proto__:null,ACCORDION:w,ATOMIX_GLASS:ve,AVATAR:ce,AVATAR_GROUP:de,BADGE:D,BLOCK:Ne,BREADCRUMB:k,BUTTON:M,CALLOUT:{BASE_CLASS:"c-callout",CONTENT_CLASS:"c-callout__content",ICON_CLASS:"c-callout__icon",MESSAGE_CLASS:"c-callout__message",TITLE_CLASS:"c-callout__title",TEXT_CLASS:"c-callout__text",ACTIONS_CLASS:"c-callout__actions",CLOSE_BTN_CLASS:"c-callout__close-btn",VARIANT_PREFIX:"c-callout--",CLASSES:{ONELINE:"c-callout--oneline",TOAST:"c-callout--toast",HIDE:"is-hide"}},CARD:oe,CHART:Ae,CLASS_PREFIX:{COMPONENT:"c-",UTILITY:"u-",LAYOUT:"l-",OBJECT:"o-"},CODE_SNIPPET:{BASE_CLASS:"c-code-snippet",CONTAINER_CLASS:"c-code-snippet__container",HEADER_CLASS:"c-code-snippet__header",LANGUAGE_CLASS:"c-code-snippet__language",ACTIONS_CLASS:"c-code-snippet__actions",ACTION_CLASS:"c-code-snippet__action",CONTENT_CLASS:"c-code-snippet__content",CODE_CLASS:"c-code-snippet__content__code",LINE_NUMBER_CLASS:"c-code-snippet__content__line-number",COPY_FEEDBACK_CLASS:"c-code-snippet__copy-feedback",MODIFIERS:{FULLSCREEN:"c-code-snippet__container--fullscreen",WRAP:"c-code-snippet__content--wrap",LIGHT:"c-code-snippet__container--light",DARK:"c-code-snippet__container--dark"},ACTION_STATES:{ACTIVE:"c-code-snippet__action--active",DISABLED:"c-code-snippet__action--disabled"},COPY_FEEDBACK_STATES:{VISIBLE:"c-code-snippet__copy-feedback--visible"},THEMES:{LIGHT:"light",DARK:"dark",AUTO:"auto"},DEFAULTS:{SHOW_LINE_NUMBERS:!0,WRAP_LINES:!1,ENABLE_FULLSCREEN:!0,ENABLE_COPY:!0,SHOW_TOOLBAR:!0,THEME:"light"},ARIA_LABELS:{COPY:"Copy code to clipboard",WRAP_LINES:"Toggle line wrapping",FULLSCREEN:"Toggle fullscreen mode",LANGUAGE:"Code language"}},COUNTDOWN:{SELECTORS:{COUNTDOWN:".c-countdown",TIME:".c-countdown__time",TIME_COUNT:".c-countdown__time-count",TIME_LABEL:".c-countdown__time-label",SEPARATOR:".c-countdown__separator"},CLASSES:{BASE:"c-countdown",FOCUSED:"c-countdown--focused"},DEFAULTS:{SEPARATOR:":",SHOW:["days","hours","minutes","seconds"]}},DATA_TABLE_CLASSES:J,DATA_TABLE_SELECTORS:{TABLE:".c-data-table",HEADER:".c-data-table__header",HEADER_CELL:".c-data-table__header-cell",ROW:".c-data-table__row",CELL:".c-data-table__cell",PAGINATION:".c-data-table__pagination",PAGINATION_BUTTON:".c-data-table__pagination-button",SEARCH_INPUT:".c-data-table__search-input"},DATEPICKER:{SELECTORS:{DATEPICKER:".c-datepicker",INPUT:".c-datepicker__input",CALENDAR:".c-datepicker__calendar",DAY:".c-datepicker__day",MONTH:".c-datepicker__month",YEAR:".c-datepicker__year",HEADER:".c-datepicker__header",BODY:".c-datepicker__body",FOOTER:".c-datepicker__footer",WEEKDAYS:".c-datepicker__weekdays",TODAY_BUTTON:".c-datepicker__today-button",CLEAR_BUTTON:".c-datepicker__clear-button",CLOSE_BUTTON:".c-datepicker__close-button",NAV_BUTTON:".c-datepicker__nav-button",VIEW_SWITCH:".c-datepicker__view-switch"},CLASSES:{IS_OPEN:"is-open",IS_DISABLED:"is-disabled",IS_SELECTED:"is-selected",IS_TODAY:"is-today",INLINE:"c-datepicker--inline"},ATTRIBUTES:{FORMAT:"data-format",MIN_DATE:"data-min-date",MAX_DATE:"data-max-date",INLINE:"data-inline",PLACEMENT:"data-placement",CLEARABLE:"data-clearable",SHOW_TODAY:"data-show-today-button",SHOW_WEEK_NUMBERS:"data-show-week-numbers"},DEFAULTS:{FORMAT:"MM/dd/yyyy",PLACEMENT:"bottom-start",CLEARABLE:!0,SHOW_TODAY_BUTTON:!0,SHOW_WEEK_NUMBERS:!1,INLINE:!1}},DROPDOWN:me,EDGE_PANEL:j,FOOTER:_e,FORM:ae,FORM_GROUP:ne,GLASS_CONTAINER:{CLASSES:{BASE:"c-glass-container",GLASS:"c-glass-container__glass",WARP:"c-glass-container__warp",CONTENT:"c-glass-container__content",OVERLAY:"c-glass-container__overlay",OVERLAY_VISIBLE:"c-glass-container__overlay--visible",OVERLAY_HIDDEN:"c-glass-container__overlay--hidden",OVERLAY_BLEND:"c-glass-container__overlay-blend",BORDER:"c-glass-container__border",BORDER_OVERLAY:"c-glass-container__border-overlay",HOVER_EFFECT:"c-glass-container__hover-effect",ACTIVE_EFFECT:"c-glass-container__active-effect",INTERACTION_EFFECT:"c-glass-container__interaction-effect",ACTIVE:"c-glass-container--active",CLICKABLE:"c-glass-container--clickable"},DISPLACEMENT_MAPS:{STANDARD:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjcwIiBoZWlnaHQ9IjY5IiB2aWV3Qm94PSIwIDAgMjcwIDY5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxyYWRpYWxHcmFkaWVudCBpZD0iZ3JhZGllbnQiIGN4PSI1MCUiIGN5PSI1MCUiIHI9IjUwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzgwODA4MCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzgwODA4MCIvPjwvcmFkaWFsR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZGllbnQpIi8+PC9zdmc+",POLAR:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjcwIiBoZWlnaHQ9IjY5IiB2aWV3Qm94PSIwIDAgMjcwIDY5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxyYWRpYWxHcmFkaWVudCBpZD0icG9sYXIiIGN4PSI1MCUiIGN5PSI1MCUiIHI9IjUwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzQwNDA0MCIvPjxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjODA4MDgwIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjNDA0MDQwIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwb2xhcikiLz48L3N2Zz4=",PROMINENT:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjcwIiBoZWlnaHQ9IjY5IiB2aWV3Qm94PSIwIDAgMjcwIDY5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0icHJvbWluZW50IiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjNDA0MDQwIi8+PHN0b3Agb2Zmc2V0PSI1MCUiIHN0b3AtY29sb3I9IiNjMGMwYzAiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0MDQwNDAiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3Byb21pbmVudCkiLz48L3N2Zz4="}},HERO:U,INPUT:ie,LIST:B,LIST_GROUP:P,MESSAGES:he,MODAL:ue,NAV:Z,NAVBAR:{SELECTORS:{NAVBAR:".c-navbar",CONTAINER:".c-navbar__container",BRAND:".c-navbar__brand",COLLAPSE:".c-navbar__collapse",TOGGLER:".c-navbar__toggler",TOGGLER_ICON:".c-navbar__toggler-icon"},CLASSES:{BASE:"c-navbar",CONTAINER:"c-navbar__container",BRAND:"c-navbar__brand",COLLAPSE:"c-navbar__collapse",TOGGLER:"c-navbar__toggler",TOGGLER_ICON:"c-navbar__toggler-icon",FIXED:"c-navbar--fixed",FIXED_BOTTOM:"c-navbar--fixed-bottom",COLLAPSIBLE:"c-navbar--collapsible",EXPANDED:"is-expanded",BACKDROP:"c-navbar__backdrop"},ATTRIBUTES:{NAVBAR:"data-navbar",COLLAPSIBLE:"data-collapsible",EXPANDED:"data-expanded",POSITION:"data-position",BACKDROP:"data-backdrop",AUTO_CLOSE:"data-auto-close",KEYBOARD:"data-keyboard"},DEFAULTS:{POSITION:"static",COLLAPSIBLE:!0,EXPANDED:!1,BACKDROP:!1,AUTO_CLOSE:!0,KEYBOARD:!0,ARIA_LABEL:"Main navigation"}},PAGINATION_DEFAULTS:ee,PHOTOVIEWER:{SELECTOR:".c-photo-viewer",CLASS:"c-photo-viewer",DEFAULTS:{startIndex:0,zoomLevel:1,fullscreen:!1}},POPOVER:z,PROGRESS:pe,RADIO:re,RATING:X,RIVER:$,SECTION_INTRO:W,SELECT:se,SIDE_MENU:q,SIZES:["sm","md","lg"],SLIDER:Ee,SPINNER:K,STEPS:H,TAB:V,TESTIMONIAL:Y,TEXTAREA:le,THEME_COLORS:["primary","secondary","success","info","warning","error","light","dark"],TODO:te,TOGGLE:F,TOOLTIP:G,UPLOAD:Q,VIDEO_PLAYER:ge,sliderConstants:Se}),ai={...Xn,...rn,composables:jn,utils:Jn,constants:ti,types:ei};export{tt as Accordion,yt as AnimatedChart,Rt as AreaChart,et as AtomixGlass,at as AtomixLogo,rt as Avatar,ot as AvatarGroup,lt as Badge,Mt as BarChart,ut as Block,ht as Breadcrumb,wt as BubbleChart,St as Button,Et as Callout,Dt as CandlestickChart,At as Card,Tt as Chart,Ct as ChartRenderer,_a as Checkbox,qt as ColorModeToggle,ct as Container,Xt as Countdown,ia as DataTable,ca as DatePicker,Bt as DonutChart,ua as Dropdown,ma as EdgePanel,_t as ElevationCard,tn as Footer,sn as FooterLink,on as FooterSection,Xa as FooterSocialLink,fa as Form,Ta as FormGroup,Pt as FunnelChart,kt as GaugeChart,ja as Grid,Ja as GridCol,Gt as HeatmapChart,ln as Hero,it as Icon,Ca as Input,Ft as LineChart,cn as List,dn as ListGroup,an as MasonryGrid,nn as MasonryGridItem,bn as MegaMenu,Tn as MegaMenuColumn,Ln as MegaMenuLink,Nn as Menu,fn as MenuDivider,_n as MenuItem,un as Messages,hn as Modal,Vt as MultiAxisChart,mn as Nav,Cn as NavDropdown,pn as NavItem,gn as Navbar,na as Pagination,Mn as PhotoViewer,Yt as PieChart,Dn as Popover,Un as ProductReview,Gn as Progress,Kt as RadarChart,Za as Radio,kn as Rating,zn as River,en as Row,Wt as ScatterChart,Fn as SectionIntro,Qa as Select,Sn as SideMenu,En as SideMenuItem,An as SideMenuList,Vn as Slider,gt as Spinner,Hn as Steps,Yn as Tabs,Kn as Testimonial,qa as Textarea,Wn as Todo,$n as Toggle,Qn as Tooltip,$t as TreemapChart,Zn as Upload,qn as VideoPlayer,Qt as WaterfallChart,jn as composables,ti as constants,ai as default,ei as types,Jn as utils};
2
2
  //# sourceMappingURL=index.min.js.map